N/W issue [was] Long boot

H.S.Rai hardeep.rai at gmail.com
Mon Dec 22 01:24:56 UTC 2008


On 12/22/08, John Hubbard <ender8282 at yahoo.com> wrote:
> It looks like the DHCP script is taking almost 70 seconds to run. Try
> running 'sudo /etc/init.d/networking restart'

My /etc/network/intefaces was:

auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet dhcp

# The primary network interface
#auto wlan0
#iface wlan0 inet dhcp

Which had wireless commented, and ethernet enabled. I was not using
LAN, but Wireless. So "time sudo /etc/init.d/networking restart"
through following output and took 1m 14.3s

wmaster0: unknown hardware address type 801
wmaster0: unknown hardware address type 801
Listening on LPF/eth0/00:16:d3:03:ce:ab
Sending on   LPF/eth0/00:16:d3:03:ce:ab
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 13
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 15
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
 * if-up.d/mountnfs[eth0]: waiting for interface lo before doing NFS mounts
                                                                         [ OK ]

real	1m14.297s
user	0m0.108s
sys	0m0.120s

Now I have commented all lines in interfaces file, and it take 0.255
sec. Wireless is still working. That mean on network connection,
"interfaces" has no effect. My this approach is wrong. Afetr
commenting all lines, stiff service runs. Is there mean, not to run
this command during bootup at all as it has no bearing. When all lines
are commented, which script or programme make wifi to run?

Following thread also seems to be related.

https://lists.ubuntu.com/archives/ubuntu-users/2008-November/167081.html

Thanks for investigation issue.

-- 
H.S.Rai




More information about the ubuntu-users mailing list