Saturday, November 18, 2006

gdm with multiple NICs

You may experience difficulties to log in with gdm when having more then one NIC in you system. I have two: one normal (eth0) and one build in WLAN (eth1).

Problem is that when booting up without cable plugged in I get only eth1 up (which in itself is OK). I can log in using a local account, but I cannot log in using a NIS account which gives the same symptoms as described in  https://launchpad.net/distros/ubuntu/+source/gnome-session/+bug/15443 .

Plugging in the cable and executing /etc/init.d/networking restart will not bring eth0 either.

I deducted the problem being the the file /etc/network/interfaces is missing a line

auto eth0

However, adding this will make start-up very slow if the interface is indeed there, but the cable is missing (which is probably the reason why it was omitted also). Reason why this works in normal case is that, if the interface is there and the cable is plugged in properly, the kernel will bring the interface eth0 up automatically without running 'ifup' (via '/etc/init.d/networking start' i.e.)

Please read comments to this issue for followups...

No comments:

Post a Comment