Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Wireless Internet > Ndiswrapper works on initial setup, but fails after reboot.

Forgot Password?
 Wireless Internet   Anything related to getting wireless set up in Linux. WLAN, WiFi, etc.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 12-20-2007   #1 (permalink)
Just Joined!
 
Join Date: Dec 2007
Posts: 1
Ndiswrapper works on initial setup, but fails after reboot.

I'm using the most recent version of DamnSmallLinux, and when I initially install it to a USB drive it works great. I can modify files, get online via wifi, etc. But when I reboot, my network card stops working. Nothing shows up in iwconfig/ifconfig except the loopback and ndiswrapper -l is empty. I'd used the ndiswrapper script that comes with DSL to set up the card initially, but when I do it again with the same exact settings I get 'Connection failed'. Doing it via the script and also doing it manually puts the driver in the 'ndiswrapper -l' list, but it still doesn't show up in iwconfig/ifconfig. Any ideas on what I should do?
Terron is offline  


Reply With Quote
Old 12-20-2007   #2 (permalink)
Linux Newbie
 
Join Date: Oct 2006
Posts: 101
Send a message via AIM to ibanex22
try:

Code:
lsmod | grep ndiswrapper
to see if the module has been loaded. If not, as root, you can try:

Code:
modprobe ndiswrapper
good luck.
__________________
--Erik
ibanex22 is offline   Reply With Quote
Old 12-20-2007   #3 (permalink)
Trusted Penguin
 
waterhead's Avatar
 
Join Date: Jul 2004
Location: Franklin, Wisconsin
Posts: 3,957
The best way to set up NDISwrapper is through the good ol' terminal. To see the commands that are available, enter this in a terminal (as root).
Code:
# ndiswrapper
You should get this:
Code:
# ndiswrapper
install/manage Windows drivers for ndiswrapper

usage: ndiswrapper OPTION
-i inffile       install driver described by 'inffile'
-a devid driver  use installed 'driver' for 'devid'
-r driver        remove 'driver'
-l               list installed drivers
-m               write configuration for modprobe
-ma              write module alias configuration for all devices
-mi              write module install configuration for all devices
-v               report version information

where 'devid' is either PCIID or USBID of the form XXXX:XXXX,
as reported by 'lspci -n' or 'lsusb' for the card
When you install the driver, you should then modprobe all of the choices individually.
Code:
# modprobe ndiswrapper
# modprobe ndiswrapper -m
# modprobe ndiswrapper -ma
# modprobe ndiswrapper -mi
It may still not load after a reboot. Then you may need to add it to a config file that contains the modules that are to be loaded at boot. Which file this is in DSL, I don't know.
__________________
Paul

Please do not PM me with requests for help. I will not reply.
waterhead is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 03:55 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2