I'm testing NetworkManager using 2 keyfile: one keyfile for the wired connection and one keyfile for the wireless connection.
- The setup works great on Raspberry Pi 1 and Raspberry pi 2.
- On Raspberry Pi 3 is behaving incorrectly.
- I'm doing my tests by moving the very same SD card with the very same OS on it from one raspberry to another.
On Pi 3 the behavior is the following:
If the Raspberry is booted up WITH the ethernet cable connected and then after the boot I unplug the cable, the status of the ethernet connection remains connected and there is no way to make it change state.
On the other hand if the Raspberry is booted up WITHOUT the ethernet cable connected and after the boot i plug it in/out repeatedly, the state of the connection follows accordingly.
[connection] id=ethernet uuid=60d17e82-1be7-3d0f-b924-e980be41fcba type=ethernet [ipv6] method=ignore [ipv4] method=auto
What should I look into? ethernet driver? I'm really lost here.
UPDATE: I also tried to use NetworkManager with ifupdown plugin instead of keyfile plugin.
eth0 interface file:
allow-hotplug eth0 iface eth0 inet dhcp
The behavious is exactly the same:
- If I boot up the RasPi 3 with cable disconnected everything works perfect.
- If I boot up the RasPi 3 with cable connected NetworkManager doesn't recognize the cable disconnection event.