LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 12-16-2010, 02:37 AM   #1
piratesmack
Member
 
Registered: Feb 2009
Distribution: Slackware, Arch
Posts: 518

Rep: Reputation: 133Reputation: 133
Slackware takes longer to reconnect to internet after suspending.


I'm dual-booting Slackware and Jolicloud (Ubuntu-based) on my netbook, and noticed that Slackware takes much longer to reconnect to the internet after resuming from suspend to RAM.

Slackware takes about 35-40 seconds to reconnect, but Jolicloud reconnects instantly. This isn't a big enough problem for me to stop using Slackware, but I'd like to try and figure out what Jolicloud is doing to reconnect so fast. Any ideas?

My netbook connects to my router wirelessly (router is using WPA2 encryption), and the IP address is assigned via dhcp.

On Slackware I'm using Wicd, and it hangs the longest at "wpa_supplicant: validating authentication..."

On Jolicloud, I'm using NetworkManager

Note: I've tried using NetworkManager and just configuring my internet through inet1.conf on Slackware, but both took just as long as Wicd.

If you need any more info, let me know.

Thanks

EDIT:
I guess it would probably be a good idea to tell you about my wireless card
Code:
# lscpi -vnn | grep 14e4
03:00.0 Network controller [0280]: Broadcom Corporation BCM4312 802.11b/g [14e4:4315] (rev 01)
It's using the Broadcom STA driver (wl.ko) on both Slackware and Jolicloud

Last edited by piratesmack; 01-31-2011 at 06:05 AM.
 
Old 12-16-2010, 10:31 AM   #2
disturbed1
Senior Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware
Posts: 1,133
Blog Entries: 6

Rep: Reputation: 223Reputation: 223Reputation: 223
Compare the versions of wpa_suplicant, and look to see if Ubuntu Ubuntu-ized the app with any patches. wpa_supplicant was recently updated in Slackware current to 0.7.3 from 0.6.10.
 
1 members found this post helpful.
Old 01-31-2011, 06:05 AM   #3
piratesmack
Member
 
Registered: Feb 2009
Distribution: Slackware, Arch
Posts: 518

Original Poster
Rep: Reputation: 133Reputation: 133
I finally figured it out.

It's not that Slackware takes longer than Jolicloud to connect, they actually take about the same amount of time. It's just that Jolicloud stays connected during suspend.

Here's how I made Slackware do the same:
-Install NetworkManager/network-manager-applet (available on SBo)
-Disable this pm-utils hook that shuts down networking during suspend:
Code:
# Create empty file in /etc/pm/sleep.d (this will override the file in /usr/lib/pm-utils/sleep.d)
> /etc/pm/sleep.d/55NetworkManager

Last edited by piratesmack; 01-31-2011 at 08:57 PM.
 
2 members found this post helpful.
Old 01-31-2011, 07:08 AM   #4
mrclisdue
Senior Member
 
Registered: Dec 2005
Distribution: Slackware -current, 14.1
Posts: 1,049

Rep: Reputation: 170Reputation: 170
...interesting, possibly a workaround for wowlan.

cheers,
 
  


Reply


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
KDE takes longer and longer to load vbisis Slackware 26 10-10-2010 04:28 PM
LFS SVN takes a lot longer then it should David2010 Linux From Scratch 1 08-18-2009 03:46 PM
Benchmarking a tape drive, time to copy takes forever, time to append takes longer? jeriryan Linux - Hardware 2 06-15-2008 01:15 AM
what takes longer? system() or connect() (C/C++) Thinking Programming 6 03-03-2006 10:54 PM
java applet takes longer 2 download? Troubled Linux - Newbie 1 04-29-2005 11:07 AM


All times are GMT -5. The time now is 03:59 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