LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 12-20-2005, 11:26 AM   #1
slackhack
Senior Member
 
Registered: Jun 2004
Distribution: Arch, Debian, Slack
Posts: 1,016

Rep: Reputation: 47
ethernet gone after waking up


i have slackware 10.2 on a thinkpad R40. whenever i wake the laptop from Fn+F4 sleep (suspend?), the ethernet is dead. any ifconfig commands i try to run just stall and lock up. the only way to get the network back is to reboot. it used to only happen occasionally, once every 10 times maybe, enough to be a nuisance. now it's every time. what can i do to troubleshoot it?
 
Old 12-20-2005, 09:18 PM   #2
mjmwired
Member
 
Registered: Apr 2004
Distribution: CentOS6, CentOS5, F16, F15, Ubuntu, OpenSuse
Posts: 620

Rep: Reputation: 39
This is just an idea for a possible workaround.

Edit the script or tool that launches your 'sleep/suspend' in the following way. BEFORE suspending bring the ethernet device down ('ifdown') and removing the ethernet module ('modprobe -r'). AFTER waking, reload the module and bring it back up ('ifup').

This was the only way I can get my USB mouse to work after suspend.
 
Old 12-21-2005, 08:42 AM   #3
slackhack
Senior Member
 
Registered: Jun 2004
Distribution: Arch, Debian, Slack
Posts: 1,016

Original Poster
Rep: Reputation: 47
thanks! it's so simple and obvious i don't know why i didn't think of it. i kept trying to find the cause. so far it's been enough to take ifconfig down and kill dhcpcd. today i'll try just ifconfig eth0 down and see if that's enough, but i suspect it's the dhcp. if i can find out what options to give dhcpcd so it won't lock up i'll post back. thanks again.
 
  


Reply



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
ACPI shuting down when should be waking up navarre9 Linux - General 1 12-25-2005 02:18 AM
problems with waking up spx2 Linux - Newbie 9 12-25-2005 02:16 AM
Not waking from second suspend ritme909 Linux - Laptop and Netbook 0 01-29-2005 07:19 AM
dpms: stop from waking apberzerk Linux - General 1 10-17-2004 04:52 PM
Is it just me or is Linux waking up? orange400 Linux - General 2 03-03-2003 05:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 10:56 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration