[lxc-devel] [ lxc-Bugs-3483542 ] Physical WIFI NIC gets renamed on container start

SourceForge.net noreply at sourceforge.net
Fri Feb 3 06:24:48 UTC 2012


Bugs item #3483542, was opened at 2012-02-02 22:24
Message generated for change (Tracker Item Submitted) made by 
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=826303&aid=3483542&group_id=163076

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: netns
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: https://me.yahoo.com/a/wZWnCDI8 ()
Assigned to: Nobody/Anonymous (nobody)
Summary: Physical WIFI NIC gets renamed on container start

Initial Comment:
Having a config like so

lxc.network.type = phys
lxc.network.link = wlan0
lxc.network.name = wifi0

will cause the link on the host to be renamed upon container start. When then container is stopped,
the link will not be renamed to its original name.

Doing so using

ip link set wifi0 name wlan0

and then trying to ifup wlan0 again, will no longer work on the host, the interface
seems to be disfunct. AFAIK, only a reboot helps to get the card working again.

I do not know whether this is also true for non wireless adapters (this one is a 
an external usb card using a realtek 8191 chipset).


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=826303&aid=3483542&group_id=163076




More information about the lxc-devel mailing list