Netzwerk
Aus Doku-Wiki
Version vom 23. August 2011, 14:59 Uhr von Uli (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „=Eigenschaften Netzwerkinterface bearbeiten / auslesen= * [http://sleepyhead.de/howto/?href=network Weiter Infos] # ethtool eth0 # Show the ethernet…“)
Eigenschaften Netzwerkinterface bearbeiten / auslesen
# ethtool eth0 # Show the ethernet status (replaces mii-diag) # ethtool -s eth0 speed 100 duplex full # Force 100Mbit Full duplex # ethtool -s eth0 autoneg off # Disable auto negotiation # ethtool -p eth1 # Blink the ethernet led - very useful when supported # ip link show # Display all interfaces on Linux (similar to ifconfig) # ip link set eth0 up # Bring device up (or down). Same as "ifconfig eth0 up" # ip addr show # Display all IP addresses on Linux (similar to ifconfig) # ip neigh show # Similar to arp -a
# dmesg | grep -i duplex eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
# mii-tool eth0: negotiated 100baseTx-FD flow-control, link ok