LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 04-15-2006, 03:11 PM   #1
mimithebrain
Member
 
Registered: Nov 2003
Location: ~
Distribution: Ubuntu 10.04
Posts: 843
Blog Entries: 1

Rep: Reputation: 30
wireless + initng + hibernation


I've got this Ubuntu box setup on someone else's computer, and I setup initng (to boot faster) on it.

I also updated the wireless drivers (madwifi) quite successfully.

When the computer hibernates, then comes out of hibernation, it doesn't connect to the router and get an IP address, as it would out of initng.

I could run more trials to see if it's specifically and only initng's fault, or a combination of things.

Can someone help me? Is there any initng comming-out-of-hibernations scripts that I could modify to call up the script to bring up the network card?


thanks.
 
Old 04-16-2006, 01:42 AM   #2
j_deb
LQ Newbie
 
Registered: Apr 2005
Distribution: Ubuntu
Posts: 10

Rep: Reputation: 0
I noticed a similar behavior on my laptop about an hour ago...

Anyway since I was using gtk wifi (http://www.ubuntuforums.org/forumdisplay.php?f=74)

All I had to do was using it's gui to reconnect and I was all set up.

Last edited by j_deb; 04-16-2006 at 01:50 AM.
 
Old 04-16-2006, 03:22 PM   #3
mimithebrain
Member
 
Registered: Nov 2003
Location: ~
Distribution: Ubuntu 10.04
Posts: 843
Blog Entries: 1

Original Poster
Rep: Reputation: 30
I can't make the user click on reconnect, it has to be automatic. So far, the reaction was that the PCMCIA madwifi card had better support than windows does. Hibernation with madwifi with normal init wasn't a problem: it would reconnect. I will have to browse around ubuntu and find those out-of-hibernation scripts, and call ifup ath0 in them.
 
Old 04-16-2006, 05:30 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,361

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
I have Ubuntu on this old Toshi laptop, with a Cisco 350 wifi Aironet card.
Had to play with the init scripts to get PCMCIA services initialized prior to the network starting. This was a general issue, not hibernation specific.

Hibernation works fine most of the time - occasionally I need to issue a network restart toget the interface working. Haven't bothered chasing why, as it only happens every 20 restarts or so.
I don't use init-ng, as I make generally go make a coffee while the box starts (whichever box I'm on).
 
Old 04-17-2006, 11:13 AM   #5
mimithebrain
Member
 
Registered: Nov 2003
Location: ~
Distribution: Ubuntu 10.04
Posts: 843
Blog Entries: 1

Original Poster
Rep: Reputation: 30
the scripts are at /etc/acpi/resume.d

make a file called 51-networkhack and add these lines:

#!/bin/bash
ngrestart net/ath0


there you go
 
  


Reply

Tags
madwifi, wireless


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
Initng broke internet SnowSurfAir Linux - Software 1 03-18-2006 09:54 PM
Did you ever installed initng on slackware? stormrider_may Slackware 3 03-15-2006 04:39 PM
Initng with Slackware mjjzf Slackware 1 01-12-2006 09:52 AM
SuSE 9.3 and InitNG mac57 Suse/Novell 0 10-03-2005 12:08 PM
initng dajomu Ubuntu 0 09-16-2005 07:13 PM


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