Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Change nic configuration at runtime?: (7 Items)
   
Change nic configuration at runtime?  
Is it possible to change the nic parameters like speed,duplex at run time? if yes what utility can i use to change these
 things? 
RE: Change nic configuration at runtime?  
If this is for 6.3.2, then the only way is to restart the driver with
the speed and duplex command line options. I cannot comment on the 6.4
drivers.


-----Original Message-----
From: Vijayanandham Kamalasekaran [mailto:community-noreply@qnx.com] 
Sent: Thursday, December 04, 2008 2:00 AM
To: drivers-networking
Subject: Change nic configuration at runtime?

Is it possible to change the nic parameters like speed,duplex at run
time? if yes what utility can i use to change these things? 

_______________________________________________
Networking Drivers
http://community.qnx.com/sf/go/post17899
RE: Change nic configuration at runtime?  
> for 6.3.2, then the only way is to restart 
> the driver with the speed and duplex command 
> line options. 
>
> I cannot comment on the 6.4 drivers

Actually 6.4 does have support to change the
speed, duplex etc during runtime.  See the
ifconfig utility - the mediaopt option.

Note that only native 6.4 drivers, and bsd
drivers, support this API - see bsd_media.c
in the source - to get and set the media options.

If you are running a 6.3 (io-net) driver
with the shim, since the underlying driver
does not support the changing of speed and
duplex during runtime, neither does the shim.

--
aboyd




Re: RE: Change nic configuration at runtime?  
Andrew,
           I will look into bsd_media.c.Thanks.

Hugh, 
        If i need to change configurations at runtime for io-net drivers can i implement those config changes as 
devctls().I beleive there is no change in ifconfig utility between 6.3.2 and 6.4.
Re: RE: Change nic configuration at runtime?  
Hugh,
        sorry for that stupid question about ifconfig across 6.3.2 and 6.4.0.I believe there should be lot of 
differences internally.Lets say iam writing my own utility can i use devctls() from it to control speed and duplex 
parameter.
RE: RE: Change nic configuration at runtime?  
Yes, you can do this, but the driver will have to be re-started to
implement the changes, unless you change the driver architecture.


-----Original Message-----
From: Vijayanandham Kamalasekaran [mailto:community-noreply@qnx.com] 
Sent: Friday, December 05, 2008 5:08 AM
To: drivers-networking
Subject: Re: RE: Change nic configuration at runtime?

Hugh,
        sorry for that stupid question about ifconfig across 6.3.2 and
6.4.0.I believe there should be lot of differences internally.Lets say
iam writing my own utility can i use devctls() from it to control speed
and duplex parameter.

_______________________________________________
Networking Drivers
http://community.qnx.com/sf/go/post17990
RE: RE: Change nic configuration at runtime?  
Well I don't see the mediaopts under the 6.3.2 version of ifconfig, so I
don't think that this is possible under 6.3.2.


-----Original Message-----
From: Vijayanandham Kamalasekaran [mailto:community-noreply@qnx.com] 
Sent: Friday, December 05, 2008 1:14 AM
To: drivers-networking
Subject: Re: RE: Change nic configuration at runtime?

Andrew,
           I will look into bsd_media.c.Thanks.

Hugh, 
        If i need to change configurations at runtime for io-net drivers
can i implement those config changes as devctls().I beleive there is no
change in ifconfig utility between 6.3.2 and 6.4.

_______________________________________________
Networking Drivers
http://community.qnx.com/sf/go/post17987