You are not logged in.
Pages: 1
I managed to disable my wlan0 interface in the past with ifdown command i did not know that command got replaced with ip command. To my understanding the ifstate got changed by using the ifdown wlan0 which got disabled no matter the ifdown command failed.
What is the proper way to enable/disable wlan0 interface in command line?
Offline
From the ip man page:
ip link set x up
Bring up interface x.
ip link set x down
Bring down interface x.
Last edited by PackRat (2023-03-02 01:26:08)
You must unlearn what you have learned.
-- yoda
Offline
Thank you yes that works if i login as root, but if i put a command in autostart at openbox the network interface remain still enabled. The problem is what i got have 2 wifi because windows only works with wlan0 but linux loose connection with wlan0 i want to use wlan1 with linux. At the moment both interface is connected to the same wifi which is a problem because of wlan0. It would also solve the problem to remove the password from wlan0 have no idea how to do it.
Offline
If using NetworkManager then
you can try adjusting settings like the Device to be used for the connection or the priority of the connection that uses wlan1.
else
sudo is your friend
fi
NM WiFI passwords should be in the *.nmconnection files: /etc/NetworkManager/system-connections/
Offline
Thank you very much this is the information i was looking for just removed the nmconnection file and its solved brilliant.
Offline
Pages: 1