upgrade to 10.4 and 2nd network interface does not auto start

NoOp glgxg at sbcglobal.net
Fri Jun 18 22:29:42 UTC 2010


On 06/18/2010 03:19 PM, stan wrote:
> On Fri, Jun 18, 2010 at 01:22:11PM -0700, NoOp wrote:
>> On 06/18/2010 10:59 AM, stan wrote:
>> > On Fri, Jun 18, 2010 at 12:37:28PM -0500, Tom Browder wrote:
>> >> On Fri, Jun 18, 2010 at 07:10, stan <stanb at panix.com> wrote:
>> >> > I just upgraded a machine from 9.04 to 10.04 and now the 2nd network
>> >> > interface s not brought up, when I boot the machine. If I manually run
>> >> > /etc/init.d/networking restart, after the machine is up, ?it comes up.
>> >> > Both interfaces are hardwired.
>> >> 
>> >> I solved all my network problems by installing wicd and removing
>> >> network manager (in that order).
>> > 
>> > Since this machine is a fixed installation, and simply has 2 dedicated
>> > hardwired networks, is there any danger in simply uninstalling network
>> > manager?
>> 
>> I have a test 10.04 machine with two nic's - both use a fixed IP address
>> (same one actually). I normally use wicd, but because it's a test
>> machine I am using NM. Both are configured as 'Manual' in NM. If I bring
>> up the machine with eth0 plugged into the network, that one is
>> connected. If I unplug and plug into eth1, that one is selected and
>> working. If I bring up the machine with eth1 plugged in, that one is
>> brought up & working, etc.
>> 
>> Now, as a test, I just changed the IP address on eth0 and plugged in
>> another cable; both interfaces are up and showing their proper IP's. VNC
>> into the machine...
>> $ ifconfig
>> eth0      Link encap:Ethernet  HWaddr [snipped]
>>           inet addr:192.168.4.107  Bcast:192.168.4.255
>> 
>> eth1      Link encap:Ethernet  HWaddr [snipped]
>>           inet addr:192.168.4.104  Bcast:192.168.4.255
>> 
>> 
>> $ cat /etc/network/interfaces
>> auto lo
>> iface lo inet loopback
>> 
>> auto eth1
>> 
>> auto eth0
>> 
>> As you can see there are not fixed IP entries in
>> /etc/network/interfaces. Connection information appears to be in
>> /etc/NetworkManger/system-connections (protected).
>> 
>> With that configuration (different fixed IP's & two network cables
>> plugged in) I rebooted to see if both nics come up simultaneously: they
>> do, both are up and running properly.
>> 
> 
> So, let me see if I understand. Are you saying I need to set the
> configuration up in 
> /etc/NetworkManger/system-connections (protected).
> iinstead if
> /etc/network/interfaces ?
> 

No. I'm saying you need to remove all except what I've shown you in
/etc/network/interfaces and setup profiles for both Auto eth0 and Auto
eth1 in Network Manager (Wired).





More information about the ubuntu-users mailing list