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, wlan0 not showing

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 10-01-2008   #1 (permalink)
Just Joined!
 
Join Date: Aug 2008
Posts: 9
ndiswrapper, wlan0 not showing

I just installed ndiswrapper with the driver I need. I don't know why it doesn't works though, after creating the alias (wlan0), I write "ifconfig" and wlan0 doesn't shows up.
Outcome:



What can I do to solve this?


Thanks in advance.
lcruz007 is offline  


Reply With Quote
Old 10-01-2008   #2 (permalink)
Super Moderator
 
Dapper Dan's Avatar
 
Join Date: Oct 2004
Location: The Sovereign State of South Carolina
Posts: 4,136
Send a message via AIM to Dapper Dan
Maybe try:
Code:
/sbin/ifconfig wlan0 up
Do you get anything when doing:
Code:
/sbin/iwlist wlan0 scan
?
__________________
CRUX 2.5 + IceWM Registered:#371367 New Members: click here
Dapper Dan is offline   Reply With Quote
Old 10-01-2008   #3 (permalink)
Linux Newbie
 
danielsmw's Avatar
 
Join Date: Nov 2006
Location: Clemson, SC / Charleston, SC
Posts: 110
Did you modprobe and rmmod ndiswrapper?
__________________
Registered Linux User: #479567
Asking a question? Read this page first.
Now... sudo make me a sandwich.
ratiocinativeroot.blogspot.com
danielsmw is offline   Reply With Quote
Old 10-01-2008   #4 (permalink)
Trusted Penguin
 
waterhead's Avatar
 
Join Date: Jul 2004
Location: Franklin, Wisconsin
Posts: 3,957
Why are you using NDISwrapper?

What type of chipset does your wireless have? There are most likely native Linux drivers for it. I would only recommend using NDISwrapper as a last resort.
__________________
Paul

Please do not PM me with requests for help. I will not reply.
waterhead is offline   Reply With Quote
Old 10-02-2008   #5 (permalink)
Just Joined!
 
Join Date: Aug 2008
Posts: 9
@Dapper Dan:

Code:
luis@luis-laptop:~$ /sbin/ifconfig wlan0 up
wlan0: ERROR while getting interface flags: No such device
luis@luis-laptop:~$ /sbin/iwlist wlan0 scan
wlan0     Interface doesn't support scanning.

@danielsmw:

I have tried, but my comp freezes

@waterhead:

Hmm I'll try to search for some linux drivers....
lcruz007 is offline   Reply With Quote
Old 10-02-2008   #6 (permalink)
Trusted Penguin
 
waterhead's Avatar
 
Join Date: Jul 2004
Location: Franklin, Wisconsin
Posts: 3,957
I've dropped my resistance to using NDISwrapper. Go ahead and use it if you want.

Have you installed it correctly? Run this command to give you all of the options.
Code:
ndiswrapper --help
You may need to first load the module (as root):
Code:
modprobe ndiswrapper
If here are no erreors, run these commands:
Code:
ndiswrapper -m
Code:
ndiswrapper -ma
Code:
ndiswrapper -mi
Check again to see if it is working;
Code:
ifconfig
__________________
Paul

Please do not PM me with requests for help. I will not reply.
waterhead is offline   Reply With Quote
Old 10-03-2008   #7 (permalink)
Just Joined!
 
Join Date: Aug 2008
Posts: 9
Outcome:
Code:
luis@luis-laptop:~$ ndiswrapper --help
install/manage Windows drivers for ndiswrapper

usage: ndiswrapper OPTION
-i inffile       install driver described by 'inffile'
-a devid driver  use installed 'driver' for 'devid' (dangerous)
-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
luis@luis-laptop:~$ modprobe ndiswrapper
FATAL: Error inserting ndiswrapper (/lib/modules/2.6.24-19-generic/ubuntu/misc/ndiswrapper/ndiswrapper.ko): Operation not permitted
luis@luis-laptop:~$
lcruz007 is offline   Reply With Quote
Old 10-03-2008   #8 (permalink)
Super Moderator
 
Dapper Dan's Avatar
 
Join Date: Oct 2004
Location: The Sovereign State of South Carolina
Posts: 4,136
Send a message via AIM to Dapper Dan
Quote:
Originally Posted by lcruz007 View Post
@Dapper Dan:

Code:
luis@luis-laptop:~$ /sbin/ifconfig wlan0 up
wlan0: ERROR while getting interface flags: No such device
luis@luis-laptop:~$ /sbin/iwlist wlan0 scan
wlan0     Interface doesn't support scanning.
You might have better luck doing those with root privileges. type 'su' in a terminal and press enter. Enter password and press enter again. Unless you are using Ubuntu in which case, these commands need to be preceeded with 'sudo.'
Code:
luis@luis-laptop:~$ modprobe ndiswrapper
FATAL: Error inserting ndiswrapper (/lib/modules/2.6.24-19-generic/ubuntu/misc/ndiswrapper/ndiswrapper.ko): Operation not permitted
luis@luis-laptop:~$
You need to be 'su' to do these commands too.

EDIT: I see from your /lib/modules above you ARE using Ubuntu so use sudo. See the sticky on sudo at the top of the Ubuntu section.
__________________
CRUX 2.5 + IceWM Registered:#371367 New Members: click here

Last edited by Dapper Dan; 10-03-2008 at 02:23 AM..
Dapper Dan is offline   Reply With Quote
Old 10-03-2008   #9 (permalink)
Just Joined!
 
Join Date: Aug 2008
Posts: 9
OK, I tried those commands using root, but my terminal gets crazy and starts printing some "nnnnnnnnnnnnnnnnnnnnnnnnnnn"... And then it freezes and I have to shut it down...
lcruz007 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 04:26 AM.






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

Content Relevant URLs by vBSEO 3.3.0 RC2