Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Renaming ethernet interfaace: (3 Items)
   
Renaming ethernet interfaace  
Hi,

I am testing some software on QNX 6.4.1, and I would like to rename the ethernet interface for testing purposes.

When I use "ifconfig", I get information on two interfaces: "lo0" and "en0".

I would like to rename "en0" to "eth0" using some command, and then be able to change it back afterwards.  Does anyone 
know of a way to do this?

Thanks a lot.
Re: Renaming ethernet interfaace  
This can only be done if the network driver supports it, most don't.

On 2014-10-29 08:35 AM, Jason Shrand wrote:
> Hi,
>
> I am testing some software on QNX 6.4.1, and I would like to rename the ethernet interface for testing purposes.
>
> When I use "ifconfig", I get information on two interfaces: "lo0" and "en0".
>
> I would like to rename "en0" to "eth0" using some command, and then be able to change it back afterwards.  Does anyone
 know of a way to do this?
>
> Thanks a lot.
>
>
>
> _______________________________________________
>
> OSTech
> http://community.qnx.com/sf/go/post112215
> To cancel your subscription to this discussion, please e-mail ostech-core_os-unsubscribe@community.qnx.com

Re: Renaming ethernet interfaace  
You'd need qnx 6.6 for that:

# ifconfig en0 name eth0

On Wed, Oct 29, 2014 at 08:35:59AM -0400, Jason Shrand wrote:
> Hi,
> 
> I am testing some software on QNX 6.4.1, and I would like to rename the ethernet interface for testing purposes.
> 
> When I use "ifconfig", I get information on two interfaces: "lo0" and "en0".
> 
> I would like to rename "en0" to "eth0" using some command, and then be able to change it back afterwards.  Does anyone
 know of a way to do this?
> 
> Thanks a lot.
> 
> 
> 
> _______________________________________________
> 
> OSTech
> http://community.qnx.com/sf/go/post112215
> To cancel your subscription to this discussion, please e-mail ostech-core_os-unsubscribe@community.qnx.com