I have two ethernet interfaces, eth0 (wired 10/100) and wlan0 (wireless). If I boot my machine at home where I have a wireless LAN it works fine. If I boot at work (where there is no wireless lan) with the ethernet cable plugged the DHCP picks up the IP address and the default route but does not replace the resolv.conf settings. Oddly, if I do an ifdown on both eth0 and wlan0 then do an ifup on just eth0 it works. Is there anything I can do too make this work automatically? -- Craig Altenburg
On Friday, 21 of May 2004 22:24, Craig Altenburg wrote:
I have two ethernet interfaces, eth0 (wired 10/100) and wlan0 (wireless).
If I boot my machine at home where I have a wireless LAN it works fine.
If I boot at work (where there is no wireless lan) with the ethernet cable plugged the DHCP picks up the IP address and the default route but does not replace the resolv.conf settings. Oddly, if I do an ifdown on both eth0 and wlan0 then do an ifup on just eth0 it works.
Is there anything I can do too make this work automatically?
scpm is your friend - read suse administrator guide use profile when booting -- Marek Chlopek
On Sat, May 22, 2004 at 08:10:03AM +0200, Marek Chlopek wrote:
On Friday, 21 of May 2004 22:24, Craig Altenburg wrote:
I have two ethernet interfaces, eth0 (wired 10/100) and wlan0 (wireless).
If I boot my machine at home where I have a wireless LAN it works fine.
If I boot at work (where there is no wireless lan) with the ethernet cable plugged the DHCP picks up the IP address and the default route but does not replace the resolv.conf settings. Oddly, if I do an ifdown on both eth0 and wlan0 then do an ifup on just eth0 it works.
Is there anything I can do too make this work automatically?
scpm is your friend - read suse administrator guide use profile when booting
Easier and more specific solution is to add DHCLIENT_PRIMARY_DEVICE=yes to all affected /etc/sysconfig/network/ifcfg-* files. There are some comments about it in /etc/sysconfig/network/ifcfg.template Peter
participants (3)
-
Craig Altenburg
-
Marek Chlopek
-
poeml@cmdline.net