WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Wifi connection impossible after sce-update.  (Read 2533 times)

Offline sbaguz

  • Newbie
  • *
  • Posts: 42
Wifi connection impossible after sce-update.
« 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

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: Wifi connection impossible after sce-update.
« Reply #1 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
Download a copy and keep it handy: Core book ;)

Offline sbaguz

  • Newbie
  • *
  • Posts: 42
[SOLVED] Wifi connection impossible after sce-update.
« Reply #2 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?

 :)

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: Wifi connection impossible after sce-update.
« Reply #3 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
Download a copy and keep it handy: Core book ;)

Offline sbaguz

  • Newbie
  • *
  • Posts: 42
Re: Wifi connection impossible after sce-update.
« Reply #4 on: August 23, 2016, 05:46:54 AM »
Yes, a fix is needed, because I have to use this command again after every reboot...  :(

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: Wifi connection impossible after sce-update.
« Reply #5 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.
Download a copy and keep it handy: Core book ;)

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: Wifi connection impossible after sce-update.
« Reply #6 on: August 23, 2016, 06:33:57 AM »
Update the wifi package, should be good now.

Offline sbaguz

  • Newbie
  • *
  • Posts: 42
Re: Wifi connection impossible after sce-update.
« Reply #7 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!