How to bring my wlan0 interface up without connect to any access point using command line?
Note: Ubuntu Server 14.04
13 Answers
ifconfig wlan0 upThat brings the interface up, but it probably won't even have an IP assigned yet.
1Based on the article Replacing ifconfig with ip the ip method is:
ip link set dev wlan0 upif ip a list your device as wlan0.
Remove everything in /etc/NetworkManager/system-connections folder to remove all network profiles and bring up wlan0.
You can do
sudo service network manager restartor
sudo sytemctl restart NetworkManagerOn 15.04 and later.
2