Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Dec 2012 14:07:44 -0500
From:      Christian Campbell <dcamp@alumni.ufl.edu>
To:        questions@freebsd.org
Subject:   Why am I not getting network connectivity on boot?
Message-ID:  <CADbaceJ4R=cBiJ_mzcQeaEuhGoFk9vLp3A5HtZnQT5S3gs27pQ@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
I'm not sure I've ever built a FreeBSD box that got network connectivity
without my having to coax it. Below is a (verbose) session showing how I
get connectivity:

*# uname -a*
> FreeBSD freebsd 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:15:25
> UTC 2012     root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
>  i386
> *# ifconfig de0*
> de0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
>         ether 00:03:ff:d4:0f:51
>         nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
>         media: Ethernet autoselect (100baseTX)
>         status: active
> *# ping freebsd.org*
> ping: cannot resolve freebsd.org: Host name lookup failure
> *# dhclient de0*
> DHCPREQUEST on de0 to 255.255.255.255 port 67
> DHCPREQUEST on de0 to 255.255.255.255 port 67
> DHCPDISCOVER on de0 to 255.255.255.255 port 67 interval 3
> DHCPDISCOVER on de0 to 255.255.255.255 port 67 interval 7
> DHCPDISCOVER on de0 to 255.255.255.255 port 67 interval 9
> DHCPDISCOVER on de0 to 255.255.255.255 port 67 interval 9
> DHCPDISCOVER on de0 to 255.255.255.255 port 67 interval 9
> DHCPDISCOVER on de0 to 255.255.255.255 port 67 interval 9
> DHCPDISCOVER on de0 to 255.255.255.255 port 67 interval 11
> DHCPDISCOVER on de0 to 255.255.255.255 port 67 interval 4
> No DHCPOFFERS received.
> Trying recorded lease 192.168.1.68
> bound: renewal in 35849 seconds.
> *# ping freebsd.org*
> ping: cannot resolve freebsd.org: Host name lookup failure
> *# ifconfig de0 down
> # ifconfig de0 up
> # ping freebsd.org*
> ping: cannot resolve freebsd.org: Host name lookup failure
> *# dhclient de0*
> DHCPREQUEST on de0 to 255.255.255.255 port 67
> DHCPREQUEST on de0 to 255.255.255.255 port 67
> DHCPACK from 192.168.1.1
> bound to 192.168.1.68 -- renewal in 43200 seconds.
> *# ping freebsd.org*
> PING freebsd.org (8.8.178.135): 56 data bytes
> ...


I presume most folks don't su root, down/up the interface, and run
dhclientmanually every time they boot their box. What might be my
problem/solution?

Thank you!
Christian

_____________________________________________________
3425 SW 2nd Ave, #239                              cell (352) 514-7411
Gainesville, FL  32607-2813                   dcamp@alumni.ufl.edu

On this perfect day / Nothing's standing in my way...        -Hoku



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADbaceJ4R=cBiJ_mzcQeaEuhGoFk9vLp3A5HtZnQT5S3gs27pQ>