100 MBit / 1 GBit
100 MBit / 1 GBit
wie kann ich in der shell nachsehen ob meine NW karte 100 m oder 1 gbit hat ?
<<its like 10.000 spoons when all you need is a knife>>
Re: 100 MBit / 1 GBit
Hi.
Mit "ethtool"
Mit "ethtool"
Code: Alles auswählen
[root@testrechner ~]# ethtool eth0
Settings for eth0:
Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Advertised auto-negotiation: Yes
Speed: 100Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 1
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: pumbag
Wake-on: g
Current message level: 0x00000001 (1)
Link detected: yes
Georg
RTFM, LMGTFY, Orakel... Ach... Warum muss man suchen...
Schrödingers Backup --- "Der Zustand eines Backups ist unbekannt, solange man es nicht wiederherstellt" --- Quelle: Nixcraft
RTFM, LMGTFY, Orakel... Ach... Warum muss man suchen...
Schrödingers Backup --- "Der Zustand eines Backups ist unbekannt, solange man es nicht wiederherstellt" --- Quelle: Nixcraft
- Lord_Carlos
- Beiträge: 5578
- Registriert: 30.04.2006 17:58:52
- Lizenz eigener Beiträge: GNU Free Documentation License
- Wohnort: Dänemark
Re: 100 MBit / 1 GBit
oder mii-tool
Code: Alles auswählen
eth0: negotiated 1000baseT-FD flow-control, link ok
Code: Alles auswählen
╔═╗┬ ┬┌─┐┌┬┐┌─┐┌┬┐╔╦╗
╚═╗└┬┘└─┐ │ ├┤ │││ ║║
╚═╝ ┴ └─┘ ┴ └─┘┴ ┴═╩╝ rockt das Forum!
Re: 100 MBit / 1 GBit
Vor dem Problem stand ich neulich auch mal. Gibt es auch eine Lösung ohne root-Rechte?
Re: 100 MBit / 1 GBit
Als unpriviligierter User bleibt eigentlich nur eine Möglichkeit, bei der man kein Programm aufrufen muss, bei dem man etwas "setzen" kann.
Der Kernel gibt die Link-Infos aus, das ganze kann man sich dann per dmesg ansehen:
Beispiel:
Der Kernel gibt die Link-Infos aus, das ganze kann man sich dann per dmesg ansehen:
Beispiel:
Code: Alles auswählen
dmesg | grep eth0 | grep -i 'Link is up'
Georg
RTFM, LMGTFY, Orakel... Ach... Warum muss man suchen...
Schrödingers Backup --- "Der Zustand eines Backups ist unbekannt, solange man es nicht wiederherstellt" --- Quelle: Nixcraft
RTFM, LMGTFY, Orakel... Ach... Warum muss man suchen...
Schrödingers Backup --- "Der Zustand eines Backups ist unbekannt, solange man es nicht wiederherstellt" --- Quelle: Nixcraft
Re: 100 MBit / 1 GBit
dmesg liefert leider keine Infos zur Geschwindigkeit, jedenfalls nicht unter OpenSuse. Debian hab ich gerade nicht zur Hand.
Re: 100 MBit / 1 GBit
Hmm... das is blöd. Die biegen also doch noch mehr rum als ich dacht
Georg
RTFM, LMGTFY, Orakel... Ach... Warum muss man suchen...
Schrödingers Backup --- "Der Zustand eines Backups ist unbekannt, solange man es nicht wiederherstellt" --- Quelle: Nixcraft
RTFM, LMGTFY, Orakel... Ach... Warum muss man suchen...
Schrödingers Backup --- "Der Zustand eines Backups ist unbekannt, solange man es nicht wiederherstellt" --- Quelle: Nixcraft