WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] ethtool to view and set network parameters

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] ethtool to view and set network parameters
From: "Fong Vang" <sudoyang@xxxxxxxxx>
Date: Fri, 11 May 2007 08:38:35 -0700
Delivery-date: Fri, 11 May 2007 08:37:07 -0700
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=DlBCn7jNPzNkORcVm8uYxi2/SSob/JGRTOe0eXy3Hs9VAax14akqczIy5tIFTseS30imnpLr/da3AWNkNMFEFNaeJZrjOTM/1VBfFYX556jcF3/QedsbBCpUkkrj5qo6LeMc/ayLN4AviharD8+CS1f4nNwplMBMMFeXwt6oBSc=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=Yp2AIihwnMHkslYOl+KliOCEctrx4EwknYgms4xyCyoTDrnw9qd8xYsnj/KySZKe0JWAFhd53WkhjmEja5ybikqMCYvU+2s9hLE3EeFVsgUACO2OyNfgRIHX0U7KoRc9MWzdp5AKNVId/HpSqnL4wv5OkQAhRSm7Puv0XvYqnqE=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
in dom0, how does one get and set the link information for a NIC?  In a non-xen kernel, we could get this info by simply running:

# ethtool eth0
Settings for eth0:
        Supported ports: [ TP MII ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
        Advertised auto-negotiation: Yes
        Speed: 100Mb/s
        Duplex: Full
        Port: Twisted Pair
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: d
        Wake-on: d
        Link detected: yes

But in a xen kernel (in dom0), a lot of the information is not available.

# ethtool eth0
Settings for eth0:
        Link detected: yes


How does one get (and set) this info on dom0?

Thanks for your help.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>