I have a little issue with the default NetworkManager reverting to a non-configured LAN eth0 interface when there is no DHCP present.
I read elsewhere that people have these issues with NetworkManager more and that there is also a substitute manager available that I now forgot about.
The thing is that if I manually configure a static IP address, it will constantly delete this address from the interface, no matter (usually) if it is at that point trying for DHCP, or apparently leaving it alone.
I now have a root shell open with watch ifconfig eth0 192.168.1.x where x is the local IP number for this subnet (obviously) that my laptop uses to connect to the static server I also have on static IP.
In other words, every 2 seconds it configures the eth0 again, this way I always have a link.
I may even have an open SSH connection to that other computer (it is not on the internet in any way now, although I am, though not on the static ethernet cable link....) and the IP address is removed by NetworkManager and then the link will stop responding (no more control in my SSH) until I reassign the IP address to the interface.
Killing NetworkManager is an option at that point but then I have to chmod a-x to make sure it doesn't run, because something "reboots" it constantly if I happen to kill it also.
I really don't know what to do about it. I have to run it for wifi links. But it also refuses /etc/network/interfaces completely. It doesn't even use that data on eth0 even when it is available (and functional for doing ifconfig).
I read elsewhere that people have these issues with NetworkManager more and that there is also a substitute manager available that I now forgot about.
The thing is that if I manually configure a static IP address, it will constantly delete this address from the interface, no matter (usually) if it is at that point trying for DHCP, or apparently leaving it alone.
I now have a root shell open with watch ifconfig eth0 192.168.1.x where x is the local IP number for this subnet (obviously) that my laptop uses to connect to the static server I also have on static IP.
In other words, every 2 seconds it configures the eth0 again, this way I always have a link.
I may even have an open SSH connection to that other computer (it is not on the internet in any way now, although I am, though not on the static ethernet cable link....) and the IP address is removed by NetworkManager and then the link will stop responding (no more control in my SSH) until I reassign the IP address to the interface.
Killing NetworkManager is an option at that point but then I have to chmod a-x to make sure it doesn't run, because something "reboots" it constantly if I happen to kill it also.
I really don't know what to do about it. I have to run it for wifi links. But it also refuses /etc/network/interfaces completely. It doesn't even use that data on eth0 even when it is available (and functional for doing ifconfig).
Comment