|
Re: Assign the proper index for LAN ports
|
03/03/2016 9:55 AM
post115899
|
Re: Assign the proper index for LAN ports
You can try:
# ifconfig wm3 name foo0
On Thu, Mar 03, 2016 at 12:44:49AM -0500, Marcus Liang wrote:
> Dear all,
>
> I'm working on QNX6.6 and I got a device with 4 PCI LANs, 1 is Intel i218 and the rests are Intel I210, so all the
NICs use devnp-e1000 driver.
>
> After the "io-pkt--v6-hc -de1000" executes, all 4 ports can be recognized and work.
>
> However the index are not same with the label on the device shell. Here is what I got:
>
> Label on the shell ~ ifconfig shows
> LAN A ~ wm3
> LAN B ~ wm2
> LAN C ~ wm0
> LAN D ~ wm1
>
> Is it possible modified the name/index after driver runs? Or I can assign the proper name/index when the driver run?
> I want it to be like:
> LAN A ~ wm0
> LAN B ~ wm1
> LAN C ~ wm2
> LAN D ~ wm3
>
> Thanks!
>
>
>
> _______________________________________________
>
> QNX Momentics Community Support
> http://community.qnx.com/sf/go/post115895
> To cancel your subscription to this discussion, please e-mail momentics-community-unsubscribe@community.qnx.com
|
|
|