no auto for network interface?

Sandip Bhattacharya sandip at lug-delhi.org
Tue Nov 15 23:21:22 UTC 2005


<posted & mailed>

Zach wrote:

> Can anyone tell me how to configure my /etc/network/interfaces file to
> *not* configure an interface automatically on boot?
> 
> the following entry is in my interfaces file for eth0
> iface eth0 inet dhcp
> which I believe is correct, since I want eth0 to be configured with
> dhcp.
> 
> I do not have an auto entry for eth0, yet it still is configured
> automatically on boot, if the network cable is connected.  I only want
> to bring it up explicitly, because I have to bring down eth1 first?
> 
> Aside from not connecting the network cable, how can I have it not
> brought up automatically?

I had the same problem. I got by by *commenting* these lines
in /etc/network/interfaces:

===========================
mapping hotplug
        script grep
        map eth0
===========================


- Sandip

-- 
Sandip Bhattacharya  *    Puroga Technologies   *     sandip at puroga.com
Work: http://www.puroga.com  *   Home/Blog: http://www.sandipb.net/blog

PGP/GPG Signature: 51A4 6C57 4BC6 8C82 6A65 AE78 B1A1 2280 A129 0FF3





More information about the ubuntu-users mailing list