maks blog
   


About
maks blog, Hacks, fun around free software.

maximilian attems
email maks

Subscribe
Subscribe to a syndicated feed of my weblog, brought to you by the wonders of RSS.

Flavours
There's more than one way to view this weblog; try these flavours on for size.

Blogs
Other blogs in our institute or friends.

       
Wed, 15 Mar 2006

Ethtool - query or set your ethernet
Curious about which NIC hides in your box, use those commands, replace $iface with ethX:

$ sudo ethtool -i $iface
driver: tg3
version: 3.47
firmware-version: 
bus-info: 0000:40:00.0
Following command shows your NIC statistics:
$ sudo ethtool -S $iface
If your nic shows some aging signs, your may want to be sure:
$ sudo ethtool -t $iface
The test extra info:
nvram test     (online)          0
link test      (online)          0
register test  (offline)         0
memory test    (offline)         0
loopback test  (offline)         0
interrupt test (offline)         0
A friend had the crazy wish to have an 10MBs connection:
sudo ethtool -s $iface speed 10
which he could also have had while loading the 8139too media modul param:
insmod 8139too media=0x01
Disable TCP/UDP checksums
ethtool -K $iface tx off

[/tech] permanent link