pcnet-diag [options]


pcnet-diag is a program that you can use to diagnose problems with ethernet cards based on the National Semiconductor DP83820 chip series.


These programs follow the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included below.

-h, --help

Show summary of options.

-V, --version

Show version of program.

-v, --verbose

Verbose mode.

-q, --quiet

Be very unverbose.

-# <cardnum>

Use card number <cardnum>.

-a, --show_all_registers

Print all registers.

-e, --show-eeprom

Dump EEPROM contents to stdout.

-E, --emergency-rewrite

Re-write a corrupted EEPROM.

-p, --base-address <port>

Specify port to use.

-A, --Advertise <mediaype>

Advertise media type. Valid Options are: 10baseT, 100baseT4, 100baseTx, 100baseTx-FD, 100baseTx-HD, 10baseT-FD and 10baseHD.

-F, --new-interface <interface>

Interface number. Options that make sense are: 10baseT, 10base2, AUI, 100baseTx, 10baseT-FDX, 100baseTx-FDX, 100baseT4, 100baseFx, 100baseFx-FDX, HomePNA, MII and Autosense.

-H, --new-hwaddress <address>

Set card to a new hardware address.

-m, --show-mii

Dump MII management registers.

-R, --reset

Reset the transceiver.

-T, --test

Do register and SRAM test.

-w, --write-EEPROM <values>

Write to the EEPROMS with the specified values. Do not use this, if you do not know what you do!

-f, --force-detection

Try to identify the card, even if it is active.

-t, --chip-type <card>

Explicitly set the chip. To get all valid numbers, run pcnet-diag with the options '-t -1'.

RELATED TO pcnet-diag…



pcnet-diag was written and is still maintained by Donald Becker <[email protected]>. This manual page was written by Alain Schroeder <[email protected]>, for the Debian GNU/Linux system (but may be used by others).