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

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

To: "Fong Vang" <sudoyang@xxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Subject: RE: [Xen-users] ethtool to view and set network parameters
From: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
Date: Fri, 11 May 2007 17:40:38 +0200
Delivery-date: Fri, 11 May 2007 08:39:37 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <4f52331f0705110838p55bc7b00pb30f983fe84de361@xxxxxxxxxxxxxx>
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
Thread-index: AceT4oPWIrKt57RmRUOM2hH8N0V2bQAACRbA
Thread-topic: [Xen-users] ethtool to view and set network parameters
 

> -----Original Message-----
> From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx 
> [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Fong Vang
> Sent: 11 May 2007 16:39
> To: xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: [Xen-users] ethtool to view and set network parameters
> 
> 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

Try "ethtool peth0" if you want the REAL (physical) ethernet connection.


--
Mats
> 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>