Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 01-09-2002, 02:24 PM   #1
LQ Newbie
Registered: Jan 2001
Location: Lund, Sweden
Posts: 6

Rep: Reputation: 0
Unhappy pcmcia nic loses network after suspend/resume

I have tried this with different cards and different laptops and the same thing happens all the time.
I am currently running debian/testing on an IBM T20 with a built-in 3com NIC.
When I boot up, the network works fine. But when resume the machine after having it suspended for a while, the network just goes dead after about a minute. The dhcp-assigned IP address stays, but I can't connect to anything...

any clues? i'd be most grateful...
Old 01-09-2002, 02:55 PM   #2
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986

Rep: Reputation: 30
That seems to be a common problem for laptops, and the fix is usually to restart your network services.
I found the following tip by doing a Google search using the keywords
laptop network linux suspend
To get the network device to come back after suspend, you need to reload the network driver. The Linux driver maintainer has not been provided information from 3COM to fix the problem in the driver. To get around the problem, edit /etc/sysconfig/apm-scripts. You want to unload the driver on suspend, and restore it on resume. Edit the two lines that contain $NET_RESTART to match the following:

[ "$NET_RESTART" = "yes" ] && /etc/rc.d/init.d/network stop &&
/sbin/rmmod 3c59x && logger "apmscript unloaded 3c59x network module"

[ "$NET_RESTART" = "yes" ] && modprobe 3c59x &&
logger "apmscript started 3c59x" && /etc/rc.d/init.d/network start
I can't guarantee that it will work for you, butr there are probably similar fixes for your specific distro and laptop.

Last edited by DMR; 01-09-2002 at 02:56 PM.


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
Suspend Fails to Resume dengel Linux - Laptop and Netbook 0 11-27-2005 09:58 AM
No resume from suspend mehlkelm Debian 3 11-22-2005 11:48 AM
Can't resume from ACPI S3 suspend cdhgee Fedora 3 08-18-2005 03:39 AM
pcmcia card freezes on suspend, and will not resume jdolluc Linux - Hardware 4 01-08-2004 06:16 PM
PCMCIA/Network Issues after Suspend organgtool Linux - Networking 0 03-29-2003 03:40 PM > Forums > Linux Forums > Linux - Networking

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

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