Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - New interface functionality added: (2 Items)
   
New interface functionality added  
For those of you not following the io-net migration forum,Sean has just added the capability to dynamically modify 
interface MAC addresses to the stack.  This uses the SIOCSIFADDR ioctl.

# ifconfig wm0 link 00:01:02:03:04:05         <- add (don't activate)
# ifconfig wm0 link 00:01:02:03:04:05 active  <- add and activate.
# ifconfig wm0 link 00:01:02:03:04:05 delete  <- delete.


As a side note to this, for those of you using the SIOCSIFLLADDR to set the MAC address with the atheros driver, this 
has now been removed in favour of the generic routine.  Note that this requires a complete clean and re-build in order 
to make things work.


This requires a clean re-build of everything.  The interface structures have been modified which results in binaries no 
longer being backwards compatible.
 
  Robert.

Re: New interface functionality added  
On Wed, May 21, 2008 at 12:37:31PM -0400, Robert Craig wrote:
> For those of you not following the io-net migration forum,Sean has just added the capability to dynamically modify 
interface MAC addresses to the stack.  This uses the SIOCSIFADDR ioctl.
> 
> # ifconfig wm0 link 00:01:02:03:04:05         <- add (don't activate)
> # ifconfig wm0 link 00:01:02:03:04:05 active  <- add and activate.
> # ifconfig wm0 link 00:01:02:03:04:05 delete  <- delete.
> 
> 
> As a side note to this, for those of you using the SIOCSIFLLADDR to set the MAC address with the atheros driver, this 
has now been removed in favour of the generic routine.  Note that this requires a complete clean and re-build in order 
to make things work.
> 
> 
> This requires a clean re-build of everything.  The interface structures have been modified which results in binaries 
no longer being backwards compatible.

Everything under sys.  Traditional userland apps are OK.

-seanb