Ron Kaye Jr on 9 Sep 2010 08:44:39 -0700


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[PLUG] eth0 at boot ubuntu 10.04


related issue
 
i changed eth0 to static in interfaces
 
ifup   and   networking restart     ...,work manually
 
how  can i bring up  eth0 at boot?
cant seem to find it
 
Ron Kaye Jr
914-7294734

Sep 3, 2010 12:40:14 PM, plug@lists.phillylinux.org wrote:
>Hello List,
>We have a problem here at work, largely due to our inexperience with NetworkManager
>and how it relates to the older network setup style. We have two hosts kishoreh
>and shaha both running Ubuntu 10.04 (both were upgraded from 8.04). Our machines
>need to have networking on startup in order to contact our NIS and NFS servers.
> The machine in question, kishoreh does not because its /etc/resolv.conf is empty.
> shaha works correctly whereas kishoreh does not.
>
>I compared the following files on kishoreh to shaha with no glaring omission
>
> * /etc/hosts
> * /etc/dhcp3/dhclient.conf
> * /etc/nsswitch.conf
>
>I noticed that NetworkManager was running on kishoreh, but not dhclient. On
>shaha dhclient is running. Restarting NetworkManager did not bring dhclient to
>life.
>
>Started up the Network Connections application under System -> Preferences
>(as root) and noticed that no wired connection was configured. So I tried creating
>the "Auto eth0" to match what I saw on my box. No joy.
>
>Bhaskar asked about /etc/network/interfaces
>
> root@kishoreh:~# cat /etc/network/interfaces
> # This file describes the network interfaces available on your system
> # and how to activate them. For more information, see interfaces(5).
>
> # The loopback network interface
> auto lo
> iface lo inet loopback
>
> # The primary network interface
> auto eth0
> iface eth0 inet dhcp
>
>On my machine, that last line is commented out. We tried that (service network-manager
>restart) with no joy. So I reverted the file back and did /etc/init.d/networking
>restart. Joy!
>
>So what's odd is why my machine shows "Auto eth0" in NetworkManager
>but kishoreh does not. I went looking for NetworkManager config files and this
>is what I found.
>
> [10:50am] [shaha:pts/11] : /gtc/staff/shaha > sudo find /etc/NetworkManager/
>-type f -ls
> 725137 4 -rw-r--r-- 1 root root 315 Apr 9 21:36 /etc/NetworkManager/nm-system-settings.conf
> 729613 4 -rw-r--r-- 1 root root 229 Apr 15 03:25 /etc/NetworkManager/VPN/nm-pptp-service.name
> 725136 4 -rwxr-xr-x 1 root root 1299 Apr 9 21:38 /etc/NetworkManager/dispatcher.d/01ifupdown
>
>
> root@kishoreh:~# find /etc/NetworkManager/ -type f -ls
> 1199811 4 -rw------- 1 root root 412 Sep 3 10:41 /etc/NetworkManager/system-connections/Auto\
>eth0
> 1178383 4 -rwxr-xr-x 1 root root 1299 Apr 9 21:38 /etc/NetworkManager/dispatcher.d/01ifupdown
> 1178384 4 -rw-r--r-- 1 root root 315 Apr 9 21:36 /etc/NetworkManager/nm-system-settings.conf
> 1201562 4 -rw-r--r-- 1 root root 229 Apr 15 22:19 /etc/NetworkManager/VPN/nm-vpnc-service.name
> 1201549 4 -rw-r--r-- 1 root root 251 Apr 15 22:01 /etc/NetworkManager/VPN/nm-openvpn-service.name
> 1203612 4 -rw-r--r-- 1 root root 229 Apr 15 03:25 /etc/NetworkManager/VPN/nm-pptp-service.name
>
>Huh? "Auth eth0" is a file on kishoreh but not my box. Nothing has
>that file open (lsof). Jim mentioned a few utilities to me:
>
> * nm-tool - inspect the active interface(s)
> * nm-applet - the applet in the gnome menu bar
> * nm-connection-editor - the GUI configuration editor
>
>
>Right now, Santosh is working so I don't want to mess around with his box.
> My hunch is that I need whack that "Auto eth0" file. But I should read
>some documentation first.
>
>thanks,
>Amul
>
>___________________________________________________________________________
>Philadelphia Linux Users Group -- http://www.phillylinux.org
>Announcements -
>target="_blank">
http://lists.phillylinux.org/mailman/listinfo/plug-announce
>General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
>
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug