Author Topic: Wifi doesn't work after laptop battery dies (even on ac)  (Read 510 times)

Offline brtp

  • Jr. Member
  • **
  • Posts: 14
Wifi doesn't work after laptop battery dies (even on ac)
« on: November 02, 2012, 03:56:59 AM »
Hi, I have Acer aspire 6930

When my laptop battery dies, I start it connected to mains, I can not activate wifi. Wifi button doesn't do anything.
Battery needs to get some 'juice', than I have to reboot to get it working.

While ago I had old linux mint with gnome 2, I had no problem with that. My last distro (before PCL) was crunchbang and there I had the same problem,
so I guess it's not distro related or KDE related, more with kernel.

Anyone had a problem like that? Are any system files I could play with to fix it?
Maybe some simple command or script could fix it?

THanks

Offline DeBaas

  • Hero Member
  • *****
  • Posts: 1522
    • PCLinuxOS.nl
Re: Wifi doesn't work after laptop battery dies (even on ac)
« Reply #1 on: November 02, 2012, 04:04:03 AM »
If not on your Linux system, install from Synaptic
rfkill
Now open a root terminal
type
rfkill unblock all
enter
and try your WiFi again.

rfkill --help
Usage:   rfkill [options] command
Options:
   --version   show version (0.4)
Commands:
   help
   event
   list [IDENTIFIER]
   block IDENTIFIER
   unblock IDENTIFIER
where IDENTIFIER is the index no. of an rfkill switch or one of:
   <idx> all wifi wlan bluetooth uwb ultrawideband wimax wwan gps fm

Offline brtp

  • Jr. Member
  • **
  • Posts: 14
Re: Wifi doesn't work after laptop battery dies (even on ac)
« Reply #2 on: November 02, 2012, 04:59:51 AM »
Thank you very much for that.

I can get wifi working after running this command.

Strange thing is, sometimes I have to run this command more than once, even 5 times to start wifi.

It's a great step forward, I don't have to reboot anymore, but I still wonder why is it happening, wifi should work on AC regardless what is the battery state.

thanks.

Offline DeBaas

  • Hero Member
  • *****
  • Posts: 1522
    • PCLinuxOS.nl
Re: Wifi doesn't work after laptop battery dies (even on ac)
« Reply #3 on: November 02, 2012, 05:14:47 AM »
I think it's doing a reset to off position without battery power.
But that's only speculating.

Glad I could help you ;)