no auto for network interface?
Derek Broughton
news at pointerstop.ca
Wed Nov 16 15:45:09 UTC 2005
Sandip Bhattacharya wrote:
> Zach wrote:
>>
>> ------------------BEGIN /etc/network/interfaces-------------
>> auto lo
>> iface lo inet loopback
>>
>> mapping hotplug
>> script grep
>> map eth1
>> iface eth1 inet dhcp
>> wireless-essid XXXXX
>> wireless-key xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>> wireless-txpower 25mw
>> iface eth0 inet dhcp
>> auto eth1
>
> This is weird. You have the "auto" directive used twice. I remember
> seeing an error somewhere which said that I shouldn't use auto twice.
> So now I use "auto lo eth0" myself.
I don't _think_ it's wrong, but I can't see "auto" working on a wireless
interface.
Is ifplugd installed? OP suggests that unplugging the cable prevents the
interface from being configured, which implies ifplugd is monitoring it.
dpkg-reconfigure ifplugd, and change the monitored interfaces from "all" or
"eth0 eth1" to "eth1".
--
derek
More information about the ubuntu-users
mailing list