Re: Network Communication between "eth0" and "dhcp", only last for 1 minute. On NIC Vendor: Davicom Semiconductor, Inc. Device: 21x4x DEC-Tulip compatible 10/100 Ethernet. NIC Bus Type: PCI

From: Jesper Juhl
Date: Sun Mar 05 2006 - 16:36:22 EST


On 3/4/06, Joel Bryan T. Juliano <joelbryan.juliano@xxxxxxxxx> wrote:
> My DHCP is up and running, I have no problems acquiring IP address
> during boot. I can connect to the internet, but for just under 1 minute.
>
> I had experimented with the commands for reloading the network (ifdown
> eth0, ifup eth0, /etc/init.d/networking restart, dhclient), reacquiring
> DHCP and manually bringing it up, or use static IP to connect to my DSL
> modem.
> My DSL modem is ZyXel Prestige 600 Series DSL Router. I even kill
> running dhclient, dhcbdb (NetworkManager), and NetworkManager. And route
> the gateway manually, but even without DHCP, my connection disconnects
> after 1 minute.
>
> For the first few seconds, I can ping my Gateway/Router/DHCP server,
> until 1 minute elapse, then it disconnects. Then after 1 minute elapse I
> try to run dhclient and it does not work anymore this point.
>
> To bring up the network again, I manually unplugging and re-plugging the
> network cable. Then it works again, for just 1 minute.
>
> I fixed it using mii-diag, with -r option to resets autonegotiation,
>

I've seen a lot of NIC/Switch combinations over the years that don't
work properly with autonegotiation. Try forcing the card to 100mbit
full-duplex and then do the same on the switch so both ends are
forced to the proper speed/duplex setting instead of relying on
autoneg.

--
Jesper Juhl <jesper.juhl@xxxxxxxxx>
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please http://www.expita.com/nomime.html
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/