Re: Wifi fails after 14.1 update
Posted: 2. Apr 2014, 20:19
Or do
to access root user PATH. Apologies for the mistake.
Code: Select all
sudo su
Linux for the Lazy Slacker
https://forum.salixos.org/
Code: Select all
sudo su
I didn't even bother with the terminal. I just went to wicd and switched it from wlan1 to wlan0 to see what happened. Bingo, the wi-fi connections were all back. Really simple solution. I just had no idea what to look for. Thanks for the help.mimosa wrote:You should see either wlan0 or wlan1 in the output. Go back to wicd and check the settings are looking at the right one. I think this problem is more common with the ethernet (eth0 versus eth1) but it's worth checking.
I should probably be way more embarrassed about not realizing this sooner, than I currently am.laprjns wrote: That is because most of the commands that you use as root are not in the normal users PATH. Commands like reboot and spkg are in /sbin and when called with sudo need to have the full path. For example :
sudo /sbin/reboot
Wait... No. In 14.1, /sbin and /usr/sbin are in the user's PATH, if the user is in the wheel group.laprjns wrote:That is because most of the commands that you use as root are not in the normal users PATH. Commands like reboot and spkg are in /sbin and when called with sudo need to have the full path. For example :
sudo /sbin/reboot
You are of course correct. I made the assumption that since tab complete didn't work therefore the command itself would not work.gapan wrote:Wait... No. In 14.1, /sbin and /usr/sbin are in the user's PATH, if the user is in the wheel group.
Autocomplete doesn't work because the command is an argument to sudo and arguments don't autocomplete, ever. If you want autocomplete to work, you can always type the command first, without sudo, then press the Home button and add sudo in front.laprjns wrote:You are of course correct. I made the assumption that since tab complete didn't work therefore the command itself would not work.gapan wrote:laprjns wrote:Wait... No. In 14.1, /sbin and /usr/sbin are in the user's PATH, if the user is in the wheel group.