You are Here:
Download Linux Lite 5.6 Final today - See Release Announcements



X Close Ad
X Close Ad
Shutdown Freeze after WPC54GX Ndiswrapper install

Author (Read 2928 times)

0 Members and 1 Guest are viewing this topic.

Shutdown Freeze after WPC54GX Ndiswrapper install
« on: March 21, 2014, 10:03:01 AM »
 

SkylineR34

  • Guest
Hello All,
After hours of researching I was able to install or make my wireless card work using NDISWRAPPER. Its a Linksys WPC54GX ver. 2 model. I surfed the net like a pro and celebrated with a nice hot chocolate at 2am. When I went to turn the laptop off it just froze. If i pullout the wireless card from the machine it shuts down with no problem.
I am stumped. I am computer savvy but new to linux.
Please Help!
 


Re: Shutdown Freeze after WPC54GX Ndiswrapper install
« Reply #1 on: March 21, 2014, 06:55:00 PM »
 

busprof

  • New to Forums
  • *
  • 23
    Posts
  • Reputation: 7
  • Linux Lite Member
Hi, SkylineR34

You might try adding the following to /etc/modules (this is from the Ubuntu wireless wiki, available at: https://help.ubuntu.com/community/WifiDocs/Driver/Ndiswrapper#autostart ):

If you are using the nm-applet to configure Wireless Network, ndiswrapper will not be started by the network manager alias setting. In order to ensure the ndiswrapper module is loaded at system startup. First, make a backup copy of the file:

/etc/modules

before manually editing it. Then, edit the /etc/modules file to add an entry for ndiswrapper at the end of the file. In Ubuntu:

gksudo gedit /etc/modules

In Kubuntu:

kdesu kate /etc/modules

and add the word ndiswrapper to the end of this file and save it.

The basic problem is that ndiswrapper is linking to the driver file, and this link needs to be unloaded for "proper" shutdown, otherwise the process will hang as the kernel does not know how to proceed.

I don't know whether this will work but it is worth a try.
 

Re: Shutdown Freeze after WPC54GX Ndiswrapper install
« Reply #2 on: March 22, 2014, 09:39:39 PM »
 

SkylineR34

  • Guest
Hello I added the word ndiswrapper to the end of the file and nothing happened.
 

Re: Shutdown Freeze after WPC54GX Ndiswrapper install
« Reply #3 on: March 23, 2014, 01:37:18 PM »
 

SkylineR34

  • Guest
Well it looks like I found a solution.
 ;D

It was on an old thread.
Basically all you have to do is add the following line of code to the /etc/init.d/halt script.

ifconfig wlan0 down
modprobe -r ndiswrapper

The old thread didn't specify where. I put it at the end and did not work. The I put it at the beginning and it worked like a charm.

I hope I am able to help some body.
Good Day!
 ;)
 


Tags:
 

X Close Ad
X Close Ad

Download Linux Lite 5.6 Final today - See Release Announcements