Man pages sections > man8 > rtl8139-diag

rtl8139-diag - EEPROM setup and diagnostic program for ethernet cards based on

RTL8139-DIAG(8) System Manager's Manual RTL8139-DIAG(8)


rtl8139-diag - EEPROM setup and diagnostic program for ethernet cards based on the Realtek 8129 and 8139 chips.


rtl8139-diag [options]


rtl8139-diag is a program that you can use to diagnose problems with ethernet cards based on the Realtek 8129 or 8139 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, MII, Autosense and Autonegotiate.
-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 rtl8139-diag with the options '-t -1'.




rtl8139-diag was written and is still maintained by Donald Becker <>. This manual page was written by Alain Schroeder <>, for the Debian GNU/Linux system (but may be used by others).
February 18, 2002 Debian Sid