RE: Ethernet troubles with DHCP by anonymous
anonymous
Tue Feb 01 20:11:02 CST 2005
The connection indication is generally run by MediaSense calls from the
driver which are generally based on link status.
You could have problems with the autonegotiation process and feeding that
back to the NIC/PHY or problems with the NIC having gotten into troubles with
the transmitter while the cable was removed. Since it works at power up,
these seem most likely.
The simpliest solution is probably to download EtherReal network sniffer and
see what your CEPC is outputting after the cable is reinserted. Does it send
valid DHCP packets on the network ? Are they answered by the DHCP server ?
If yes in both cases, then if you are the developer of the Ethernet driver,
then dump the packets before you pass them up the stack.
"Boyd Mills" wrote:
> Hi,
>
> When I start up a WinCE 4.1 CEPC image with the Ethernet cable removed it
> fails to establish connection with DHCP and defaults to some preset values.
> When I connect the cable, the icon in the lower right tray removes it's red
> X indicating the Ethernet is now working.
> But 'properties' still show default values and the 'renew' button fails to
> get updated information from the DHCP server.
> A reboot of the unit results in proper connectivity.
> What can/should be done to establish DHCP connectivity after booting when
> the DHCP server is unavailable? (This should be a 'common' occurance in
> embedded applications)
> /Boyd
>
>
>