I’ve just a had laptop meltdown which resulted in the acquisition of a replacement (HP635) sporting a realtek wireless NIC. Found the drivers and installed them and all is well. HOWEVER, the card is not activated on wake from sleep mode. This is kind of astounding to me. Every crappy windows version that I’ve used can handle this situation. Many searches, however have failed to yield any help. After every resume from sleep mode I have to run ifup to start wlan0. Surely this is not the only way it can be? I have to assume that I’m not getting something simple, and someone here can point out my failing. Thanks, if you can help. or if you can just sympathize. running 11.4 here using the realtek 8192 driver set to start at boot time. Though none of the other settings have had any effect on this problem.
What driver module does this load, do you know? You could run the following command to see:
/usr/sbin/hwinfo --network_ctrl
You can also use a program like lsmod to see all loaded modules. I also have a nice script that can sort them in alpha order here:
S.K.I.M. - SuSE Kernel Installed Modules - A lsmod replacement - Creates an Alphabetized Mod Listing
I saw another message here in the forum that used the modprobe -r command to unload the wireless driver, just before the hibernate command then reloaded it on a restore. It not clean, but it worked for another forum user here. We try to formulate a work around here unless its a known problem. I might also say that doing a kernel upgrade, clear up to version 3.0.1 is also something you can do. I can provide more details if you want them.
Thank You,
driver is rtl8192ce
I saw another message here in the forum that used the modprobe -r command to unload the wireless driver, just before the hibernate command then reloaded it on a restore.,
I guess I really probably asked the wrong question. I don’t see why there would be a need to unload and reload the driver. When I open the lid and resume from sleep mode it’s a simple (but irritating) matter of running “ifup wlan0” I guess what I really need to know is how to create a script that will run on resume. More precisely where to put it and how to invoke it. (I know how to create it) Thanks for the response.
It looks like you could put a script here, which is run as root. An example exits there. It is said to run before and after sleep or hibernate mode:
/etc/pm/sleep.d
Thank You,
Thanks. Exactly what I needed to know. I put my “wirelesswakeup” script in …/sleep.d and it seems to work just fine. I’ve had both good advice and good friends from Austin.
Thanks. Exactly what I needed to know. I put my “wirelesswakeup” script in …/sleep.d and it seems to work just fine. I’ve had both good advice and good friends from Austin.
Happy to help TucsonBill. Austin has been good to me so far. I don’t work in a Linux shop myself, but there are signs all around town advertising work for people who know Linux. It makes me feel like Linux is a big deal in Austin. Please, if we can be of further service to you, just let me know.
Thank You,