This is a static archive of the old Zorin Forum.

The information below may be outdated. Visit the new Zorin Forum here ›

If you have registered on the old forum, you will need to create an account on the new forum.

WiFi Problems

TheNate

Thu Nov 29, 2012 3:57:27 am

This is something that has been an issue for awhile. I'm somewhat new to Zorin and Linux, so try to put any advice in laymans terms.
My problem is this:

Almost everytime I close my lid to go into suspended mode, when I resume my wifi won't work. It's not my network, the computer says that my wifi is disabled by a hardware switch. I know it's not though because the wifi light is on. It's really annoying to keep having to reboot, and it's making me want to switch to a different OS.

Any help would be very much appreciated:)

Wolfman

Thu Nov 29, 2012 6:54:02 am

Hi,

I know you said that you are a newbie to Linux but this is really all I found:

http://askubuntu.com/questions/81411/wi ... blinks-whe

I hope it helps.

Have you also fully updated??:

viewtopic.php?f=6&t=2247

Regards Wolfman :D

madvinegar

Thu Nov 29, 2012 7:03:28 am

Kindly post the results of
Code:
lspci -nn
lsusb
sudo lshw -c network
sudo rfkill list all


I think I can make your network spring to life after you close/open the lid.

TheNate

Thu Nov 29, 2012 4:10:22 pm

Here's what I got:

Code:
nate@Nates-Laptop:~$ lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub [8086:27a0] (rev 03)
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller [8086:27a2] (rev 03)
00:02.1 Display controller [0380]: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller [8086:27a6] (rev 03)
00:1b.0 Audio device [0403]: Intel Corporation N10/ICH 7 Family High Definition Audio Controller [8086:27d8] (rev 02)
00:1c.0 PCI bridge [0604]: Intel Corporation N10/ICH 7 Family PCI Express Port 1 [8086:27d0] (rev 02)
00:1c.1 PCI bridge [0604]: Intel Corporation N10/ICH 7 Family PCI Express Port 2 [8086:27d2] (rev 02)
00:1d.0 USB controller [0c03]: Intel Corporation N10/ICH 7 Family USB UHCI Controller #1 [8086:27c8] (rev 02)
00:1d.1 USB controller [0c03]: Intel Corporation N10/ICH 7 Family USB UHCI Controller #2 [8086:27c9] (rev 02)
00:1d.2 USB controller [0c03]: Intel Corporation N10/ICH 7 Family USB UHCI Controller #3 [8086:27ca] (rev 02)
00:1d.3 USB controller [0c03]: Intel Corporation N10/ICH 7 Family USB UHCI Controller #4 [8086:27cb] (rev 02)
00:1d.7 USB controller [0c03]: Intel Corporation N10/ICH 7 Family USB2 EHCI Controller [8086:27cc] (rev 02)
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev e2)
00:1f.0 ISA bridge [0601]: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge [8086:27b9] (rev 02)
00:1f.1 IDE interface [0101]: Intel Corporation 82801G (ICH7 Family) IDE Controller [8086:27df] (rev 02)
00:1f.2 SATA controller [0106]: Intel Corporation 82801GBM/GHM (ICH7-M Family) SATA Controller [AHCI mode] [8086:27c5] (rev 02)
00:1f.3 SMBus [0c05]: Intel Corporation N10/ICH 7 Family SMBus Controller [8086:27da] (rev 02)
02:00.0 Ethernet controller [0200]: Marvell Technology Group Ltd. 88E8038 PCI-E Fast Ethernet Controller [11ab:4352] (rev 14)
03:00.0 Network controller [0280]: Broadcom Corporation BCM4311 802.11a/b/g [14e4:4312] (rev 01)
04:09.0 CardBus bridge [0607]: Texas Instruments PCIxx12 Cardbus Controller [104c:8039]
04:09.1 FireWire (IEEE 1394) [0c00]: Texas Instruments PCIxx12 OHCI Compliant IEEE 1394 Host Controller [104c:803a]
04:09.2 Mass storage controller [0180]: Texas Instruments 5-in-1 Multimedia Card Reader (SD/MMC/MS/MS PRO/xD) [104c:803b]


Code:
nate@Nates-Laptop:~$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub


Code:
nate@Nates-Laptop:~$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
nate@Nates-Laptop:~$ sudo lshw -c network
[sudo] password for nate:
  *-network               
       description: Ethernet interface
       product: 88E8038 PCI-E Fast Ethernet Controller
       vendor: Marvell Technology Group Ltd.
       physical id: 0
       bus info: pci@0000:02:00.0
       logical name: eth0
       version: 14
       serial: 00:e0:b8:ac:25:d4
       capacity: 100Mbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm vpd msi pciexpress bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=sky2 driverversion=1.30 firmware=N/A latency=0 link=no multicast=yes port=twisted pair
       resources: irq:43 memory:d4000000-d4003fff ioport:2000(size=256)
  *-network
       description: Network controller
       product: BCM4311 802.11a/b/g
       vendor: Broadcom Corporation
       physical id: 0
       bus info: pci@0000:03:00.0
       version: 01
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list
       configuration: driver=b43-pci-bridge latency=0
       resources: irq:17 memory:d6000000-d6003fff
  *-network
       description: Wireless interface
       physical id: 2
       logical name: wlan0
       serial: 00:14:a5:aa:af:32
       capabilities: ethernet physical wireless
       configuration: broadcast=yes driver=b43 driverversion=3.2.0-33-generic-pae firmware=508.1084 ip=192.168.1.4 link=yes multicast=yes wireless=IEEE 802.11bg


Code:
nate@Nates-Laptop:~$ sudo rfkill list all
0: phy0: Wireless LAN
   Soft blocked: no
   Hard blocked: no


This means nothing to me, so if anyone can help please do.

TheNate

Thu Nov 29, 2012 4:12:19 pm

Wolfman wrote:Hi,

I know you said that you are a newbie to Linux but this is really all I found:

http://askubuntu.com/questions/81411/wi ... blinks-whe

I hope it helps.

Have you also fully updated??:

viewtopic.php?f=6&t=2247

Regards Wolfman :D


I'll try this, but it says it's for HP laptops mainly, and mine is gateway.

madvinegar

Thu Nov 29, 2012 4:45:43 pm

TheNate wrote:This means nothing to me, so if anyone can help please do.


It means a lot to me though... :lol:

Please try the following. Open terminal and write:
Code:
sudo gedit /etc/pm/config.d/modules

a black document will open. Inside it add the line
Code:
SUSPEND_MODULES="b43"

Save, exit, reboot and then try to close/open your lid to see if your wireless will become operative. After opening the lid, wait for at least 10-15 seconds, ok?

If that will not work, we can try something else.

TheNate

Fri Dec 07, 2012 11:47:16 pm

madvinegar wrote:
TheNate wrote:This means nothing to me, so if anyone can help please do.


It means a lot to me though... :lol:

Please try the following. Open terminal and write:
Code:
sudo gedit /etc/pm/config.d/modules

a black document will open. Inside it add the line
Code:
SUSPEND_MODULES="b43"

Save, exit, reboot and then try to close/open your lid to see if your wireless will become operative. After opening the lid, wait for at least 10-15 seconds, ok?

If that will not work, we can try something else.


Sorry it took me so long:( I tried this and it seemed to be working, but now it's even worse it seems, with basically every suspend having this problem. Also, I dual boot with Mint 13, and it now has the same problem :shock: I'm really annoyed with it, and would appreciate any other ideas you have:)

madvinegar

Sat Dec 08, 2012 8:11:36 pm

Sorry I was out of my home all day today.
Ok, do this.
Open terminal and write
Code:
sudo gedit /usr/lib/pm-utils/sleep.d/0000wireless

A file will open.
Copy and paste inside it the following lines
#!/bin/sh

# reload b43 to get wireless to recover properly

case "$1" in
resume|thaw)
rmmod b43
modprobe b43
;;
esac

Save and exit.
Then in terminal write
Code:
sudo chmod a+x /usr/lib/pm-utils/sleep.d/0000wireless

Reboot and then try again to close the lid of the laptop, open it and wait 10-15 seconds to see if your wireless will reload automatically.

TheNate

Sun Dec 09, 2012 5:51:10 am

madvinegar wrote:Sorry I was out of my home all day today.
Ok, do this.
Open terminal and write
Code:
sudo gedit /usr/lib/pm-utils/sleep.d/0000wireless

A file will open.
Copy and paste inside it the following lines
#!/bin/sh

# reload b43 to get wireless to recover properly

case "$1" in
resume|thaw)
rmmod b43
modprobe b43
;;
esac

Save and exit.
Then in terminal write
Code:
sudo chmod a+x /usr/lib/pm-utils/sleep.d/0000wireless

Reboot and then try again to close the lid of the laptop, open it and wait 10-15 seconds to see if your wireless will reload automatically.


I tried this and it didn't work. I think whatever I put in the document keeps getting deleted when I exit the terminal (tried the second part after closing the terminal and it wouldn't work, but it did when I used the same terminal). I'm not sure if it's supposed to do this. Sorry for bugging you so much, this is just really a problem for me (my computer boots rather slow) :cry:

madvinegar

Sun Dec 09, 2012 7:42:59 am

Lets check one thing.
If you open terminal and do
Code:
sudo rmmod b43
sudo modprobe b43

does your wifi close (with the 1st command) and open again (with the second command)?

For your info, we have exactly the same wireless card (BCM4311). Can you please tell me how did you get it to work in the first place? (Just to check that it was done properly)

TheNate

Sun Dec 09, 2012 9:05:44 pm

madvinegar wrote:Lets check one thing.
If you open terminal and do
Code:
sudo rmmod b43
sudo modprobe b43

does your wifi close (with the 1st command) and open again (with the second command)?

For your info, we have exactly the same wireless card (BCM4311). Can you please tell me how did you get it to work in the first place? (Just to check that it was done properly)


That worked. I can't remember exactly what I did, but I think it involved removing the restricted drivers, and then taking b43cutter off the black list. Sorry I can't give more details, it took me a while to get it right, and I was mostly copy and pasting.

TheNate

Sun Dec 09, 2012 10:38:11 pm

swarfendor437 wrote:Will mark as solved - and another 60 blue jewels to madvinegar!


But that isn't really ideal as I'd have to type that in every time I resume. If it's the only way I'll make do, but it's not really what I was hoping for

madvinegar

Mon Dec 10, 2012 8:04:49 am

Since the above works, could you try again then what I said in my below post?

madvinegar wrote:Sorry I was out of my home all day today.
Ok, do this.
Open terminal and write
Code:
sudo gedit /usr/lib/pm-utils/sleep.d/0000wireless

A file will open.
Copy and paste inside it the following lines
#!/bin/sh

# reload b43 to get wireless to recover properly

case "$1" in
resume|thaw)
rmmod b43
modprobe b43
;;
esac

Save and exit.
Then in terminal write
Code:
sudo chmod a+x /usr/lib/pm-utils/sleep.d/0000wireless

Reboot and then try again to close the lid of the laptop, open it and wait 10-15 seconds to see if your wireless will reload automatically.