Tiny Core Linux

dCore Import Debian Packages to Mountable SCE extensions => dCore X86 => Topic started by: sbaguz on August 22, 2016, 03:29:43 AM

Title: Wifi connection impossible after sce-update.
Post by: sbaguz on August 22, 2016, 03:29:43 AM
Hi,

this morning I made a sce-update -snar.
Everything went fine... apparently.
Now I can't connect anymore with sudo wifi.sh or its menu link: the network is seen as usual, but after trying for long it fails the connection.
I noticed that before checking for the available networks, the script shows an error message saying that /etc/sysconfig/wifi-wpadrv doesn't exist.
What do you suggest?

Thanks

Bye
Title: Re: Wifi connection impossible after sce-update.
Post by: Misalf on August 22, 2016, 04:33:48 AM
Code: [Select]
echo wext | sudo tee /etc/sysconfig/wifi-wpadrv
or
Code: [Select]
echo nl80211 | sudo tee /etc/sysconfig/wifi-wpadrv
Title: [SOLVED] Wifi connection impossible after sce-update.
Post by: sbaguz on August 23, 2016, 04:57:28 AM
Thanks Misalf: it worked!
But I would like to better understand: what happened? And what the command here above did to solve the problem?

 :)
Title: Re: Wifi connection impossible after sce-update.
Post by: Misalf on August 23, 2016, 05:22:22 AM
I guess the startup script for the wifi extension in dCore got somehow messed up due to the update. Jason probably needs to fix it?

From  wifi.tcz.info
Quote
                wpa_supplicant driver is defined by /etc/sysconfig/wifi-wpadrv
                default is wext. Add it to backup if changed.
                Available drivers wext,nl80211
Title: Re: Wifi connection impossible after sce-update.
Post by: sbaguz on August 23, 2016, 05:46:54 AM
Yes, a fix is needed, because I have to use this command again after every reboot...  :(
Title: Re: Wifi connection impossible after sce-update.
Post by: Misalf on August 23, 2016, 06:00:53 AM
Then add  /etc/sysconfig/wifi-wpadrv  to  /opt/.filetool.lst  for now.
Code: [Select]
echo "etc/sysconfig/wifi-wpadrv" >> /opt/.filetool.lst
Note: Omitting the leading "/" is intentional.
Title: Re: Wifi connection impossible after sce-update.
Post by: Jason W on August 23, 2016, 06:33:57 AM
Update the wifi package, should be good now.
Title: Re: Wifi connection impossible after sce-update.
Post by: sbaguz on August 24, 2016, 08:38:06 AM
@Misalf:
Yes, I know: I was also thinking about adding echo wext | sudo tee /etc/sysconfig/wifi-wpadrv to bootlocal.sh, but this would haven't been a real solution, not having worked on the cause of the issue...  ;)

@Jason:
Thanks: updating the wireless packages did the trick!