-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Michael Biebl schrieb:
> Am 14.07.2016 um 15:04 schrieb Norbert Schulz:
> 
> Try that instead
> 
> #!/bin/sh
> mount -oremount,rw /
> ethtool $iface > /ethtool.txt
> mount -oremount,ro /
> 

The output is as follow:
Settings for eth0:
        Supported ports: [ TP ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Supported pause frame use: No
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Advertised pause frame use: No
        Advertised auto-negotiation: Yes
        Speed: Unknown!
        Duplex: Unknown! (255)
        Port: Twisted Pair
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        MDI-X: Unknown (auto)
        Supports Wake-on: pumbg
        Wake-on: g
        Current message level: 0x00000007 (7)
                               drv probe link
        Link detected: no

There are some values which are 'Unknown' yet.

Regards
Norbert Schulz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAleHpToACgkQ6oHfnvuuOndSZACfZix83ma2CIWDRLv92qIIKD+N
CjEAmQHWumuD842QJ+opnQNHn/A6fzC4
=SHe4
-----END PGP SIGNATURE-----

Reply via email to