LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 05-03-2010, 01:09 PM   #1
franksjacket
LQ Newbie
 
Registered: May 2010
Posts: 2

Rep: Reputation: 0
Wifi won't reconnect after standby or hibernate


I am using WICD as my wireless network manager and it works connecting to a network for the first time. But when I resume my laptop from hibernate or standby, WICD will not reconnect to the network and gets stuck on obtaining an IP address. And if I try to change networks without hibernating I get the same problem.

Also, I notice that the network name is stagnant. I connect to multiple wifi networks a day because of school. When I leave my "home" network and connect to my "school" network WICD still says "Homebtaining IP address" even thought it should say "schoolbtaining IP address."

My thoughts are that it isn't releasing the network properly and when its trying to connect it can't because it still thinks it's connected. The only solution I have found is to restart my laptop every time I want to connect to a new network, or shut down every time I am done using my laptop, which is a major inconvenience. Please help.

Here is what I am using:
HP tx2000
Broadcom BCM4322
Ubuntu 10.04
WICD 1.7.0
 
Old 05-03-2010, 01:39 PM   #2
maxmcbyte
LQ Newbie
 
Registered: Apr 2009
Posts: 2

Rep: Reputation: 0
You could restart the network.

1. /etc/init.d/networking restart

or restart the interface bound to your wireless adapter

2. sudo ifdown eth0 && sudo ifup eth0

You can use ifconfig to get info on your interfaces.

3. ifconfig

You can create a shell script to automate this and provide a link to it on your desktop. This way you can execute it whenever you need.

Hope this helps...
 
Old 05-04-2010, 01:50 AM   #3
franksjacket
LQ Newbie
 
Registered: May 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by maxmcbyte View Post
You could restart the network.

1. /etc/init.d/networking restart

or restart the interface bound to your wireless adapter

2. sudo ifdown eth0 && sudo ifup eth0

You can use ifconfig to get info on your interfaces.

3. ifconfig

You can create a shell script to automate this and provide a link to it on your desktop. This way you can execute it whenever you need.

Hope this helps...
Unfortunately this didn't solve the problem. I cannot switch between networks while the computer is on. Still looking for a solution.
 
Old 05-07-2010, 06:09 PM   #4
maxmcbyte
LQ Newbie
 
Registered: Apr 2009
Posts: 2

Rep: Reputation: 0
"I am using WICD as my wireless network manager and it works connecting to a network for the first time. But when I resume my laptop from hibernate or standby, WICD will not reconnect to the network and gets stuck on obtaining an IP address."

If you issue the command without the quotes "/etc/init.d/networking restart"
that will restart your network.

"I cannot switch between networks while the computer is on"
I'll assume you are getting an IP address issued via DHCP. So, if you were using Network-A and then hibernated and then wanted to connect to Network-B you should be able to use your "WICD as my wireless network manager" *** AFTER ISSUING *** "/etc/init.d/networking restart" to connect.

Hope that helps...
 
Old 10-06-2010, 08:01 PM   #5
SomeoneE1se
LQ Newbie
 
Registered: Oct 2010
Posts: 1

Rep: Reputation: 0
I had the same problem I solved it by reloading the kernel module

this solved my problem,

1) disconnect from all APs via WICD

2) run script

#!/bin/bash
#reload-bcm-wireless
modprobe -r b43 ssb wl
modprobe wl

3) connect as normal.

but I only had this problem when coming from a secure ap to an insecure ap.

Let me know if this works for you.
 
Old 11-19-2010, 09:10 AM   #6
firehawk256
LQ Newbie
 
Registered: Nov 2004
Location: Austin, TX
Distribution: Debian testing/sid
Posts: 20

Rep: Reputation: 1
Just wanted to say I am having the exact same problem with wicd and the bcm4322 on debian. The solution of reloading the "wl" driver also worked for me.

Could this be a bug in the wl driver?
 
Old 08-29-2011, 03:33 PM   #7
Geremia
Member
 
Registered: Apr 2011
Distribution: Slackware 14.1
Posts: 208

Rep: Reputation: 5
DHCP Client at Fault

Quote:
Originally Posted by franksjacket View Post
Igets stuck on obtaining an IP address
I have the same problem, too, when waking from suspend. The only way I can correct it is to disconnect from all networks, change the DHCP Client in Preferences-->External Programs, then reconnect again... Sometimes that works, and sometimes it doesn't...

No one has found an automatic fix to this problem? It appears to have something to do with the DHCP client. Thanks
 
Old 09-22-2011, 02:52 PM   #8
Gerwar
LQ Newbie
 
Registered: Dec 2010
Location: Cancun
Distribution: Slackware 13.37-x86_64
Posts: 27

Rep: Reputation: 0
I have a similar problem, but that happen to me also when the access-point goes down and goes up again, and i want to reconnect to it. I think the bug is either on the wl module, or in the wicd program, because, it seems (at least from what i have seen), that wicd goes through the hand shaking without receiving an acknowledgement.
 
Old 09-22-2011, 04:11 PM   #9
redw0lfx
LQ Newbie
 
Registered: Aug 2011
Distribution: FreeBSD 8, Arch Linux, Debian, CentOS 5.4, CentOS 6, Fedora
Posts: 10

Rep: Reputation: Disabled
I have had similar problem when I had my Compaq laptop which had a broadcom wireless card on it. I believe the way I got around that was for the system to run a small script to stop the wireless interface, unload the wireless driver and then go to sleep. When it resumed from sleep, it would reload the wireless driver, and re-enable the wireless interface (Connect to the AP and issue a DHCP request).
 
Old 03-09-2012, 09:17 AM   #10
layr
Member
 
Registered: Jan 2011
Location: Estonia
Distribution: Debian Wheezy
Posts: 38

Rep: Reputation: 0
Quote:
Originally Posted by redw0lfx View Post
I have had similar problem when I had my Compaq laptop which had a broadcom wireless card on it. I believe the way I got around that was for the system to run a small script to stop the wireless interface, unload the wireless driver and then go to sleep. When it resumed from sleep, it would reload the wireless driver, and re-enable the wireless interface (Connect to the AP and issue a DHCP request).
Could you please share your scripts?
 
Old 03-10-2012, 09:17 AM   #11
Geremia
Member
 
Registered: Apr 2011
Distribution: Slackware 14.1
Posts: 208

Rep: Reputation: 5
eth0 connected during standby freezes when waking up

If my machine's in standby and I connect ethernet, waking it from standby causes it to hang. Why is that? Thanks
 
Old 03-13-2012, 04:39 PM   #12
layr
Member
 
Registered: Jan 2011
Location: Estonia
Distribution: Debian Wheezy
Posts: 38

Rep: Reputation: 0
Bump for original subject.

Last edited by layr; 03-20-2012 at 07:45 AM.
 
Old 03-20-2012, 07:45 AM   #13
layr
Member
 
Registered: Jan 2011
Location: Estonia
Distribution: Debian Wheezy
Posts: 38

Rep: Reputation: 0
Bump2.
 
Old 03-26-2012, 07:01 AM   #14
layr
Member
 
Registered: Jan 2011
Location: Estonia
Distribution: Debian Wheezy
Posts: 38

Rep: Reputation: 0
The problem has self-healed. Only thing that has been changed, is removing 'connect automatically' from the networks concerned. But that's unconfirmed as of now.
 
  


Reply

Tags
wicd, wifi


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Tool for auto resume after hibernate/standby ubuntuv Linux - Software 1 01-29-2010 10:05 PM
How to reconnect to wifi on resume from hibernate/suspend? Slackware 12.1, madwifi thesk8ingtoad Slackware 1 08-22-2008 07:15 AM
What are the standby and hibernate commands? spiffytech Linux - Software 1 07-27-2006 01:56 AM
How to setup Standby and Hibernate as options during shutdown murkin Linux - Distributions 0 09-08-2005 12:16 PM
hibernate, standby phoenix7 Linux - General 3 05-06-2005 05:03 AM


All times are GMT -5. The time now is 05:33 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration