Go to advanced search

by epoch1970
Wed Dec 01, 2021 6:18 pm
Forum: Troubleshooting
Topic: dhcpcd vs interfaces file
Replies: 9
Views: 223

Re: dhcpcd vs interfaces file

ianc9 wrote:
Wed Dec 01, 2021 3:45 pm
@epoch1970 Using "Option 1" with the delay works.
Thanks :)

I didn't realise I'd trigger such a hot debate!
As far as I can tell dhcpcd5 is not running on my system
That’s ok. I’m standing by my guns :)
Have fun.
(dhcpcd is the same as dhcpcd5, it’s installed by default on Raspios)
by epoch1970
Wed Dec 01, 2021 6:16 pm
Forum: Troubleshooting
Topic: dhcpcd vs interfaces file
Replies: 9
Views: 223

Re: dhcpcd vs interfaces file

Ifupdown is not event driven. It needs help from udev to manage usb network devices. It is obsolete. Before that, it was well known to be slow and buggy. All general purpose distros are moving away from ifupdown. In the wake of switching to systemd. Because event-driven. Embedded systems or servers ...
by epoch1970
Wed Dec 01, 2021 10:52 am
Forum: Troubleshooting
Topic: dhcpcd vs interfaces file
Replies: 9
Views: 223

Re: dhcpcd vs interfaces file

Just remove dhcld5, it isn't required on a computer running a dhcp server.. Might be true but very bad advice. Do not remove dhcpcd from your system it will only complicate matters further on. Ifupdown was born shortly after Debian was created. It was great 20 years ago when USB wasn’t invented and...
by epoch1970
Wed Dec 01, 2021 9:51 am
Forum: Troubleshooting
Topic: dhcpcd vs interfaces file
Replies: 9
Views: 223

Re: dhcpcd vs interfaces file

Don’t use /etc/network/interfaces it’s obsolete.
In raspi-config there is an option to wait for network before finishing booting. I would try that.
by epoch1970
Tue Nov 30, 2021 9:24 pm
Forum: Beginners
Topic: Very New, Very Frustrated
Replies: 26
Views: 1319

Re: Very New, Very Frustrated

December 2019 and still open…
https://github.com/opencv/opencv/issues/16262
by epoch1970
Tue Nov 30, 2021 8:35 pm
Forum: Beginners
Topic: is it possible to boot over wifi yet?
Replies: 16
Views: 445

Re: is it possible to boot over wifi yet?

Does anyone actually use such a feature? I've never heard of it being used. At least AAPL have that in their firmwares, since they canceled Ethernet and about every other useful ports on their products. Over WiFi, you can bare-metal restore a host from a local Time Machine backup, and it takes an e...
by epoch1970
Mon Nov 29, 2021 11:23 pm
Forum: Français
Topic: Raspberry Pi 4 crash ( surcharge processeur ?? )
Replies: 8
Views: 297

Re: Raspberry Pi 4 crash ( surcharge processeur ?? )

Si la machine s’arrête en restant allumée c’est sans doute le noyau Linux qui a planté. Toutes les causes sont possibles y compris un problème avec la SD. Mieux vaudrait un écran pour voir ce qui s'affiche lors du blocage. Je croyais qu’il ne fallait pas toucher aux réglages de mémoire vidéo sur un ...
by epoch1970
Mon Nov 29, 2021 3:50 pm
Forum: Troubleshooting
Topic: Network non-functional directly after soft reboot
Replies: 19
Views: 546

Re: Network non-functional directly after soft reboot

The counters start to make sense if you can correlate an increase with some other known event.

Run dhclient on the interface and run iptables -v -L repeatedly to see which counters increase.

"iptables -Z" will zero the counters, I think, that should help make the output easiser to read.
by epoch1970
Mon Nov 29, 2021 2:53 pm
Forum: Troubleshooting
Topic: Network non-functional directly after soft reboot
Replies: 19
Views: 546

Re: Network non-functional directly after soft reboot

So, after extensive testing, it appears my issue is isolated to the docker bridge network / containers. I removed the bridge containers, kept the host ones and the Pi seems to successfully boot every time. Would you happen to know how I would go about fixing the bridge ones? Here is my compose file...
by epoch1970
Mon Nov 29, 2021 12:02 pm
Forum: Troubleshooting
Topic: Bullseye: Dnsmasq not working
Replies: 16
Views: 394

Re: Bullseye: Dnsmasq not working

Ok. What dnsmasq does, is query 8.8.8.8 or 1.1.1.1 or whatever internet server you configured over port 53/udp (DNS), then cache results and send them to the requestor on the LAN. If the computer running dnsmasq cannot reach, e.g. 8.8.8.8, or if DNS is filtered, that won't work. "ping 8.8.8.8&q...
by epoch1970
Mon Nov 29, 2021 9:50 am
Forum: General discussion
Topic: SD Card Imaging Not Working
Replies: 11
Views: 407

Re: SD Card Imaging Not Working

32 GB SD cards aren’t exactly identical, esp. between 2 brands or 2 cards manufactured some time apart. They don’t have the exact same size in general. The direct restore operation you expect to work might end in a short write, and the partition table or the filesystem of the last partition may be b...
by epoch1970
Mon Nov 29, 2021 9:27 am
Forum: Troubleshooting
Topic: System time reset to some old date (14th march 2021)
Replies: 7
Views: 207

Re: System time reset to some old date (14th march 2021)

The past but not so distant date might be the build date of the kernel or systemd.
by epoch1970
Sun Nov 28, 2021 9:31 pm
Forum: General discussion
Topic: SD Card Imaging Not Working
Replies: 11
Views: 407

Re: SD Card Imaging Not Working

On macOS with dd you should use device “rdiskX”, not “diskX”.
Not sure why. Rdisk is faster, for one thing.
by epoch1970
Sun Nov 28, 2021 9:19 pm
Forum: Troubleshooting
Topic: Bullseye: Dnsmasq not working
Replies: 16
Views: 394

Re: Bullseye: Dnsmasq not working

Not sure the link is the right one? Google drive??

And to continue the side discussion with the OP, having a correct resolv.conf file with internet servers in it is no proof the machine is actually connected to the internet…
by epoch1970
Sun Nov 28, 2021 7:40 pm
Forum: Troubleshooting
Topic: Bullseye: Dnsmasq not working
Replies: 16
Views: 394

Re: Bullseye: Dnsmasq not working

Does the machine have access to the internet?
Dnsmasq appears to be running…
by epoch1970
Sun Nov 28, 2021 6:49 pm
Forum: Troubleshooting
Topic: Octoprint on Raspberry pi: The server is not reachable
Replies: 1
Views: 37

Re: Octoprint on Raspberry pi: The server is not reachable

Since “ping 8.8.8.8” fails, 8.8.8.8 being a public IP address, your Pi is not connected to the internet. It happens that 8.8.8.8 is a public DNS server. Public DNS servers are often used as ping targets (to test internet connectivity), because i. their IP addresses are fixed and ii. public DNS serve...
by epoch1970
Sat Nov 27, 2021 8:10 pm
Forum: Troubleshooting
Topic: Raspberry Pi not updating
Replies: 1
Views: 64

Re: Raspberry Pi not updating

Something made you choose Debian over RaspiOS in particular?
If not I’d suggest you install Raspios. It is made specifically for the Pi platform so it’s not going to pull in some random nvidia driver, and it’s Debian-based.
https://www.raspberrypi.com/software/
by epoch1970
Sat Nov 27, 2021 6:01 pm
Forum: General discussion
Topic: put 2 ip to eth0
Replies: 1
Views: 96

Re: put 2 ip to eth0

This should work: https://forums.raspberrypi.com/viewtopic.php?t=273004#p1658251 See here for the various $reason values and other variables (such as $interface) you can test against. https://manpages.debian.org/bullseye/dhcpcd5/dhcpcd-run-hooks.8.en.html You script will run every time any interface...
by epoch1970
Sat Nov 27, 2021 4:42 pm
Forum: Networking and servers
Topic: Rpi 3a+ as AP and client
Replies: 5
Views: 238

Re: Rpi 3a+ as AP and client

Dual mode is possible, it’s just not a good solution. Take that apart if you want. Ethernet bridging a WiFi interface in station mode (client to an AP) is not possible, on any host. That’s how the WiFi alliance designed infrastructure mode: bridging is done only on the AP side. The workarounds are: ...
by epoch1970
Sat Nov 27, 2021 3:51 pm
Forum: Français
Topic: Routeur 4G ou wifi sur usb0 et dhcp pour le port eth0.
Replies: 26
Views: 863

Re: Routeur 4G ou wifi sur usb0 et dhcp pour le port eth0.

Alors : - usb0 c’est bon. Il a l’air géré par dhcpcd (les routes ont une métrique) - wlan0 et eth0 indiquent “master br0” et n’ont pas de configuration IP. C’est bon et ça veut dire aussi que hostapd fonctionne. - br0 a l’air aussi configuré par dhcpcd, il essaie par défaut DHCP et comme il n’y a pe...
by epoch1970
Sat Nov 27, 2021 3:33 pm
Forum: Troubleshooting
Topic: Network non-functional directly after soft reboot
Replies: 19
Views: 546

Re: Network non-functional directly after soft reboot

Cloudflare is your public DNS? If firewalling is the cause, it’s probably better to explore what Docker has to say about it first. https://docs.docker.com/network/iptables/ I’m not crazy about iptables, so my own machines I tend to use “iptables = false;” in daemon.json. It’s simple, but having that...
by epoch1970
Sat Nov 27, 2021 2:13 pm
Forum: Troubleshooting
Topic: Network non-functional directly after soft reboot
Replies: 19
Views: 546

Re: Network non-functional directly after soft reboot

The addition to dhcpcd.conf was effective since the veth links don’t have an ipv4ll address anymore. Another thing Docker does by default is take control of the firewall configuration on the host. Something might not be right there. To test that I think I would disable docker, reboot and see if netw...
by epoch1970
Sat Nov 27, 2021 1:33 pm
Forum: Troubleshooting
Topic: Requiring root password instructions don't work as expected
Replies: 4
Views: 180

Re: Requiring root password instructions don't work as expected

“apt_get” is a command on your system?
Normally “apt-get” should be. But using “apt” instead is the recommended replacement.

Go to advanced search