Open oxoocoffee opened 6 days ago
Yes this is expected behaviour, basically the same if a WiFi network is not in rage. Such plug&play for network requires additional tools, like ifplugd
for events on Ethernet cable connection: https://packages.debian.org/ifplugd
... oh that one supports WiFi as well, so yeah, the de facto standard on Debian, actually.
I am currently not sure what it does by default, but on our forum you will find some threads where it is used to automatically switch between WiFi and Ethernet, depending on connection/availability: https://dietpi.com/forum/search?q=ifplugd
From the configs, maybe you get the idea how just have it configuring eth0
automatically, once a cable is connected, if this is not its default behaviour anyway. Else feel free to ask.
Creating a bug report/issue
Required Information
G_DIETPI_VERSION_CORE=9 G_DIETPI_VERSION_SUB=8 G_DIETPI_VERSION_RC=0 G_GITBRANCH='master' G_GITOWNER='MichaIng'
bookworm 0
Linux rpi-cam-ap 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux
RPi 4 Model B (aarch64)
or (EG: RPi3)Additional Information (if applicable)
Fresh
Yes
d714ba79-6dc9-4de3-9515-fd8e92223326
Steps to reproduce
ifconfig
orip address show
. The IP address in never assigned from DHCP server.sudo ifconfig eth0 down
followedifconfig eth0 up
never gets a new address. After full reboot, with linkable is plugged in will get IP address assigned.Expected behaviour
sudo ifconfig eth0 down
and change IP address reservation on DHCP server and bring the network up or just plug in the cable, it should get new address.Actual behaviour
Extra details