I've just installed Arch Linux on my old PC, to do the installation I used wifi-menu wlan0
, now I've reboot but if I type:
ifconfig wlan0 up
I have as a result:
wlan0: ERROR while getting interface flag: no such device
I read that after the installation Arch changes the name of wlan
, how can I find the new name and how could I change it?
Best Answer
From
systemd
v197 predictable network names were introduced.You can use
ip link
to show all of your devices.You then have the choice of renaming any or all of those devices or continuing to use the ones that systemd/udev provide.
Should you wish to rename it/them to something that you feel more comfortable with, you can place a
udev
rule in/etc/udev/rules.d/
called10-net-naming.rules
, for example:would rename wireless and ethernet to, imaginatively,
wifi
andether
. You then need to update your network manager to use the new names.There is a very detailed post on the Arch Mailing Lists announcing the change.
1.http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames