Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Nov 2011 21:16:46 -0700 (MST)
From:      Warren Block <wblock@wonkity.com>
To:        Xihong Yin <xyin@gmx.com>
Cc:        FreeBSD <freebsd-questions@freebsd.org>
Subject:   Re: network problem on 8.2 stable
Message-ID:  <alpine.BSF.2.00.1111172112310.66706@wonkity.com>
In-Reply-To: <alpine.BSF.2.00.1111172038390.50183@whcvgre.zlubzr.jrfgryy.pbz>
References:  <alpine.BSF.2.00.1111172038390.50183@whcvgre.zlubzr.jrfgryy.pbz>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 17 Nov 2011, Xihong Yin wrote:

> Hi,
>
> I upgraded from 8.0 stable to 8.2 stable today. Now I can't connect to the 
> network through the network adapter. I've set DCHP and SYNCDHCP in 
> /etc/rc.conf and it worked in 8.0. It seems the dhclient problem. The ip 
> address can't be obtained.
>
> When I run 'dhclient em0' manually, it shows that an ip address is leased. 
> But actually it is not. The 'ifconfig em0' always shows an address of 0.0.0.0 
> with active status.
>
> $dhclient em0
> DHCPREQUEST on em0 to 255.255.255.255 port 67
> DHCPACK from 192.168.3.1
> bound to 192.168.3.39 -- renewal in 43200 seconds
>
> But
>
> $ifconfig em0
> em0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
>        options=389b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_UCAST,WOL_MCAST,WOL_MAGIC>
>        ether 6c:62:6d:03:16:31
>        inet 0.0.0.0 netmask 0xffffff00 broadcast 255.255.255.255
>        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
>        media: Ethernet autoselect (10baseT/UTP <half-duplex>)
>        status: active
>
> Any help would be appreciated.

The interface is down: no "UP" in the flags.  What happens if you just 
do it manually:

   ifconfig em0 up



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1111172112310.66706>