How to bring wlan0 up without connect to any access point?

How to bring my wlan0 interface up without connect to any access point using command line?

Note: Ubuntu Server 14.04

1

3 Answers

ifconfig wlan0 up

That brings the interface up, but it probably won't even have an IP assigned yet.

1

Based on the article Replacing ifconfig with ip the ip method is:

ip link set dev wlan0 up

if 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 restart

or

sudo sytemctl restart NetworkManager

On 15.04 and later.

2

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like