[SOLVED] Wireless not functional without charger plugged in

Questions about WIFI networks and devices
Forum rules
Before you post please read this

[SOLVED] Wireless not functional without charger plugged in

Postby sqdk on Mon Sep 03, 2012 1:03 am

Hey everyone,

I just installed Mint 13 Cinnamon on my laptop for school use this semester. I have been having intermittent problems with my wireless connections like some others on this forum. I have tried the fix for dnsmasq as stated here http://forums.linuxmint.com/viewtopic.php?f=53&t=108075&p=609989, but without luck.

I seem to only be able to resolve DNS while I am connected to my charger. Otherwise, I get DNS errors when browsing. Wireless doesn't indicate that it is being turned off, it simply just won't resolve DNS which seems really weird to me. Wired ethernet works everytime. I really don't know where to start with this.

This is the dmesg output when i plug and unplug my charger a couple of times:

Code: Select all
[   14.028251] e1000e 0000:00:19.0: PCI INT A disabled
[   14.028260] e1000e 0000:00:19.0: PME# enabled
[   49.888050] eth1: no IPv6 routers present
[  128.660068] e1000e 0000:00:19.0: BAR 0: set to [mem 0xf6ae0000-0xf6afffff] (PCI address [0xf6ae0000-0xf6afffff])
[  128.660076] e1000e 0000:00:19.0: BAR 1: set to [mem 0xf6adb000-0xf6adbfff] (PCI address [0xf6adb000-0xf6adbfff])
[  128.660082] e1000e 0000:00:19.0: BAR 2: set to [io  0xefe0-0xefff] (PCI address [0xefe0-0xefff])
[  128.660099] e1000e 0000:00:19.0: restoring config space at offset 0xf (was 0x100, writing 0x10a)
[  128.660122] e1000e 0000:00:19.0: restoring config space at offset 0x1 (was 0x100000, writing 0x100107)
[  128.660160] e1000e 0000:00:19.0: PME# disabled
[  128.660241] e1000e 0000:00:19.0: irq 44 for MSI/MSI-X
[  225.883510] init: anacron main process (2683) killed by TERM signal
[  227.032848] e1000e 0000:00:19.0: PME# enabled
[  274.568107] e1000e 0000:00:19.0: BAR 0: set to [mem 0xf6ae0000-0xf6afffff] (PCI address [0xf6ae0000-0xf6afffff])
[  274.568116] e1000e 0000:00:19.0: BAR 1: set to [mem 0xf6adb000-0xf6adbfff] (PCI address [0xf6adb000-0xf6adbfff])
[  274.568124] e1000e 0000:00:19.0: BAR 2: set to [io  0xefe0-0xefff] (PCI address [0xefe0-0xefff])
[  274.568146] e1000e 0000:00:19.0: restoring config space at offset 0xf (was 0x100, writing 0x10a)
[  274.568172] e1000e 0000:00:19.0: restoring config space at offset 0x1 (was 0x100000, writing 0x100107)
[  274.568220] e1000e 0000:00:19.0: PME# disabled
[  274.568356] e1000e 0000:00:19.0: irq 44 for MSI/MSI-X
[  293.236741] init: anacron main process (3072) killed by TERM signal
[  294.392678] e1000e 0000:00:19.0: PME# enabled
[  303.180077] e1000e 0000:00:19.0: BAR 0: set to [mem 0xf6ae0000-0xf6afffff] (PCI address [0xf6ae0000-0xf6afffff])
[  303.180084] e1000e 0000:00:19.0: BAR 1: set to [mem 0xf6adb000-0xf6adbfff] (PCI address [0xf6adb000-0xf6adbfff])
[  303.180091] e1000e 0000:00:19.0: BAR 2: set to [io  0xefe0-0xefff] (PCI address [0xefe0-0xefff])
[  303.180108] e1000e 0000:00:19.0: restoring config space at offset 0xf (was 0x100, writing 0x10a)
[  303.180132] e1000e 0000:00:19.0: restoring config space at offset 0x1 (was 0x100000, writing 0x100107)
[  303.180171] e1000e 0000:00:19.0: PME# disabled
[  303.180255] e1000e 0000:00:19.0: irq 44 for MSI/MSI-X
[  329.628082] init: anacron main process (3371) killed by TERM signal
[  330.777027] e1000e 0000:00:19.0: PME# enabled
[  354.892053] e1000e 0000:00:19.0: BAR 0: set to [mem 0xf6ae0000-0xf6afffff] (PCI address [0xf6ae0000-0xf6afffff])
[  354.892061] e1000e 0000:00:19.0: BAR 1: set to [mem 0xf6adb000-0xf6adbfff] (PCI address [0xf6adb000-0xf6adbfff])
[  354.892067] e1000e 0000:00:19.0: BAR 2: set to [io  0xefe0-0xefff] (PCI address [0xefe0-0xefff])
[  354.892084] e1000e 0000:00:19.0: restoring config space at offset 0xf (was 0x100, writing 0x10a)
[  354.892108] e1000e 0000:00:19.0: restoring config space at offset 0x1 (was 0x100000, writing 0x100107)
[  354.892145] e1000e 0000:00:19.0: PME# disabled
[  354.892225] e1000e 0000:00:19.0: irq 44 for MSI/MSI-X
[  964.374561] init: anacron main process (3847) killed by TERM signal
[  965.528862] e1000e 0000:00:19.0: PME# enabled
[  968.788051] e1000e 0000:00:19.0: BAR 0: set to [mem 0xf6ae0000-0xf6afffff] (PCI address [0xf6ae0000-0xf6afffff])
[  968.788059] e1000e 0000:00:19.0: BAR 1: set to [mem 0xf6adb000-0xf6adbfff] (PCI address [0xf6adb000-0xf6adbfff])
[  968.788065] e1000e 0000:00:19.0: BAR 2: set to [io  0xefe0-0xefff] (PCI address [0xefe0-0xefff])
[  968.788083] e1000e 0000:00:19.0: restoring config space at offset 0xf (was 0x100, writing 0x10a)
[  968.788106] e1000e 0000:00:19.0: restoring config space at offset 0x1 (was 0x100000, writing 0x100107)
[  968.788144] e1000e 0000:00:19.0: PME# disabled
[  968.788225] e1000e 0000:00:19.0: irq 44 for MSI/MSI-X
[  972.717536] e1000e 0000:00:19.0: PME# enabled


Output of mintwifi WITH charger:
Code: Select all
* I. scanning WIFI PCI devices...
  -- Broadcom Corporation BCM4322 802.11a/b/g/n Wireless LAN Controller (rev 01)
      ==> PCI ID = 14e4:432b (rev 01)
-------------------------
* II. querying ndiswrapper...
-------------------------
* III. querying iwconfig...
lo        no wireless extensions.

eth1      IEEE 802.11  Access Point: Not-Associated   
          Link Quality:5  Signal level:221  Noise level:169
          Rx invalid nwid:0  invalid crypt:1  invalid misc:0

eth0      no wireless extensions.

-------------------------
* IV. querying ifconfig...
eth0      Link encap:Ethernet  HWaddr 00:21:70:e8:2b:32 
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:22 Memory:f6ae0000-f6b00000

eth1      Link encap:Ethernet  HWaddr 00:23:4e:7e:de:c0 
          inet addr:10.1.1.196  Bcast:10.1.1.255  Mask:255.255.255.0
          inet6 addr: fe80::223:4eff:fe7e:dec0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3211 errors:0 dropped:0 overruns:0 frame:64919
          TX packets:3534 errors:17 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2142950 (2.1 MB)  TX bytes:593233 (593.2 KB)
          Interrupt:17 Base address:0xc000

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:107 errors:0 dropped:0 overruns:0 frame:0
          TX packets:107 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:9135 (9.1 KB)  TX bytes:9135 (9.1 KB)

-------------------------
* V. querying DHCP...
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service smbd reload

Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the reload(8) utility, e.g. reload smbd
RTNETLINK answers: File exists
-------------------------
* VI. querying nslookup google.com...
Server:      62.61.130.1
Address:   62.61.130.1#53

Non-authoritative answer:
Name:   google.com
Address: 173.194.69.113
Name:   google.com
Address: 173.194.69.102
Name:   google.com
Address: 173.194.69.139
Name:   google.com
Address: 173.194.69.138
Name:   google.com
Address: 173.194.69.101
Name:   google.com
Address: 173.194.69.100


Mintwifi output WITHOUT charger:

Code: Select all
sq@sq-mint ~ $ mintwifi
-------------------------
* I. scanning WIFI PCI devices...
  -- Broadcom Corporation BCM4322 802.11a/b/g/n Wireless LAN Controller (rev 01)
      ==> PCI ID = 14e4:432b (rev 01)
-------------------------
* II. querying ndiswrapper...
-------------------------
* III. querying iwconfig...
lo        no wireless extensions.

eth1      IEEE 802.11  Access Point: Not-Associated   
          Link Quality:5  Signal level:222  Noise level:168
          Rx invalid nwid:0  invalid crypt:1  invalid misc:0

eth0      no wireless extensions.

-------------------------
* IV. querying ifconfig...
eth0      Link encap:Ethernet  HWaddr 00:21:70:e8:2b:32 
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:22 Memory:f6ae0000-f6b00000

eth1      Link encap:Ethernet  HWaddr 00:23:4e:7e:de:c0 
          inet addr:10.1.1.196  Bcast:10.1.1.255  Mask:255.255.255.0
          inet6 addr: fe80::223:4eff:fe7e:dec0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3232 errors:0 dropped:0 overruns:0 frame:76855
          TX packets:3578 errors:17 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2144630 (2.1 MB)  TX bytes:598207 (598.2 KB)
          Interrupt:17 Base address:0xc000

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:107 errors:0 dropped:0 overruns:0 frame:0
          TX packets:107 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:9135 (9.1 KB)  TX bytes:9135 (9.1 KB)

-------------------------
* V. querying DHCP...
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service smbd reload

Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the reload(8) utility, e.g. reload smbd
RTNETLINK answers: File exists
-------------------------
* VI. querying nslookup google.com...
;; connection timed out; no servers could be reached



Any help guys?
sqdk
Level 1
Level 1
 
Posts: 2
Joined: Mon Sep 03, 2012 12:43 am

Linux Mint is funded by ads and donations.
 

Re: [SOLVED] Wireless not functional without charger plugged

Postby sqdk on Sat Sep 15, 2012 10:06 am

Hey Everyone,

I finally found a solution The power management features break wireless functionality when on battery. This happens with some broadcom chipsets. I found a temporary fix by disabling the wireless power management script in /usr/lib/pm-utils/power.d/.

Website where i found it: http://uselessuseofcat.com/?p=67


Cheers
sqdk
Level 1
Level 1
 
Posts: 2
Joined: Mon Sep 03, 2012 12:43 am

Re: [SOLVED] Wireless not functional without charger plugged

Postby gonnaditchmintsoon on Sat Dec 29, 2012 4:09 pm

Arghhhhhhhh!
Thanks a lot sqdk!

It took me 4 hrs to figure out what my problem was! I was running over all the huge wide web searching from DNS lookup problems to wireless drivers reinstallations to kernel updates!
Just when my fully charged battery needed a recharge I plug it in and voila!

I was searching for 4 hrs on post which were totally unhelpful because I did not know the exact problem. Just so that other people with similar problems reach this post after googling, I would like to add lot of details here.

I have Linux mint 14 Nadia with Cinnamon on my Dell Inspiron 1525. I installed the wireless drivers for my Broadcomm card from "Additional drivers" tab in Software sources. I have a BCM4312 [14e4:4315] wireless card. Wireless worked immediately after installing these drivers.

After that, I did not test wireless until a week later. And this time, my laptop connected to my wireless router, it had an IP address assigned by my router but my browsers(FF and chrome) were not working. In all this time, it always connected to internet via ethernet cable.

I found the 'mintwifi' command on these forums and when I used it, it always got stuck at 'querying DHCP' .

After lot of struggle, I plug the power supply into my laptop and it worked. Thus, I realized the problem and came here.

P.S: Looks like I am not gonna ditch mint so soon after all :)
gonnaditchmintsoon
Level 1
Level 1
 
Posts: 8
Joined: Sat Dec 29, 2012 1:55 pm


Return to Wireless

Who is online

Users browsing this forum: iAN123 and 6 guests