LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices



Reply
 
Search this Thread
Old 08-12-2006, 09:55 PM   #1
Glj12
LQ Newbie
 
Registered: Aug 2006
Posts: 9

Rep: Reputation: 0
Wireless wlan0/ndiswrapper problem


I have knoppix, and the realtek net8185.inf driver for my Gateway MX3230 Notebook. I used ndiswrapper to install the inf, and it states: net8185 driver present, hardware present. So far, so good. When I type modprobe ndiswrapper, it says FATAL: Error inserting ndiswrapper (/lib/modules/2.6.17/misc/ndiswrapper.ko): Invalid arguement. When I type: ifconfig, only lo shows up, (the local loopback). When I type ifconfig wlan0 up, it says that the there is no such device. Also, iwconfig shows eth0, lo, and sit0, all decribed as "no wireless extensions." Any help to get my wireless working, or at least being detected, would be great.

Many thanks in advance,
Glj12

By the by, the chipset maker is Realtek, and it is 8185.
 
Old 08-12-2006, 11:35 PM   #2
starcutter
LQ Newbie
 
Registered: Jun 2006
Posts: 14

Rep: Reputation: 0
What does lspci show for your NIC? I'm not familiar with the chipset used for the Realtek network cards in the Gateway MX3230.
 
Old 08-13-2006, 04:50 AM   #3
Rayman411
LQ Newbie
 
Registered: Aug 2006
Posts: 19

Rep: Reputation: 0
Take your net8185.inf file *AND* the .sys file(s) that you also have and organize it.
Go to your home directory, then go to your user directory from there. Now create a folder called drivers and put those files in there. Now type in your terminal:
1. cd /home/yourusernamehere/drivers
2. ndiswrapper -L
3. ndiswrapper -e (-e is remove, you want to remove, all of your drivers that are listed)
4. ndiswrapper -L

Now you shouldnt have any drivers installed.... because you removed them which is good because you wont have anything getting in your way I dont think.
Now in your terminal again type:

1. ndiswrapper -i net8185.inf
2. ndiswrapper -l (if it says driver present, hardware present... this is good)
3. ndiswrapper -m

Now reboot your computer and you can configure your internet.

When you reboot your computer type in ifconfig wlan0 up.
This prob should make sure you got it all setup properly. Type iwconfig to see if your wireless is listed there if you have any troubles.
 
Old 08-13-2006, 05:15 AM   #4
Glj12
LQ Newbie
 
Registered: Aug 2006
Posts: 9

Original Poster
Rep: Reputation: 0
I did exactly as you had said, and when I typed ifconfig wlan0 up, it said: wlan0: ERROR while getting interface flags: No such device. Also, under iwconfig, it shows lo, eth0, and sit0, all stating no wireless extensions. I tried ifconfig eth0 up, and sit0 up. No luck. Ideas?
Quote:
Originally Posted by Rayman411
Take your net8185.inf file *AND* the .sys file(s) that you also have and organize it.
Go to your home directory, then go to your user directory from there. Now create a folder called drivers and put those files in there. Now type in your terminal:
1. cd /home/yourusernamehere/drivers
2. ndiswrapper -L
3. ndiswrapper -e (-e is remove, you want to remove, all of your drivers that are listed)
4. ndiswrapper -L

Now you shouldnt have any drivers installed.... because you removed them which is good because you wont have anything getting in your way I dont think.
Now in your terminal again type:

1. ndiswrapper -i net8185.inf
2. ndiswrapper -l (if it says driver present, hardware present... this is good)
3. ndiswrapper -m

Now reboot your computer and you can configure your internet.

When you reboot your computer type in ifconfig wlan0 up.
This prob should make sure you got it all setup properly. Type iwconfig to see if your wireless is listed there if you have any troubles.
 
Old 08-13-2006, 05:19 AM   #5
Glj12
LQ Newbie
 
Registered: Aug 2006
Posts: 9

Original Poster
Rep: Reputation: 0
I did that, and it doesn't say anything about the NIC that I haven't already stated. Except that it gave the full company name of Realtek Semiconductor, and that it is an "unknown device."

Quote:
Originally Posted by starcutter
What does lspci show for your NIC? I'm not familiar with the chipset used for the Realtek network cards in the Gateway MX3230.
 
Old 08-13-2006, 06:17 AM   #6
beagle2
Member
 
Registered: Aug 2004
Location: Aberdeen Scotland
Distribution: elive,sidux,xp,pclinuxos super gamer, mandriva 2007
Posts: 417

Rep: Reputation: 30
Don't know which version of knoppix you have but if you go to the knoppix forum lots of people report same problem wth 5.0.1 and ndiswrapper. If it's h/d install suppose you could compile your own.
 
Old 08-13-2006, 07:18 AM   #7
Glj12
LQ Newbie
 
Registered: Aug 2006
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by beagle2
Don't know which version of knoppix you have but if you go to the knoppix forum lots of people report same problem wth 5.0.1 and ndiswrapper. If it's h/d install suppose you could compile your own.
I have the latest knoppix version... Any actual HELP would be appreciated.

Sorry for appearing hostile, but I mean, I just really need some help. I've tried multiple versions of ndiswrapper, knoppix, and kanotix. I really need some help with this, and I am exhausted.

Last edited by Glj12; 08-13-2006 at 09:48 AM.
 
Old 08-13-2006, 09:44 PM   #8
Rayman411
LQ Newbie
 
Registered: Aug 2006
Posts: 19

Rep: Reputation: 0
Ok let's get interactive here I'll ask some questions and give you some answers..... First off what does it say when you type:
ndiswrapper -l

Also.... Where it says net8185 does it say driver present, hardware present.
 
Old 08-14-2006, 05:32 AM   #9
Glj12
LQ Newbie
 
Registered: Aug 2006
Posts: 9

Original Poster
Rep: Reputation: 0
When I type ndiswrapper -l, as stated in my first post, it says: net8185 driver present, hardware present.
 
Old 08-14-2006, 12:22 PM   #10
2Gnu
Senior Member
 
Registered: Jan 2002
Location: Southern California
Distribution: Slackware 14.0
Posts: 1,874

Rep: Reputation: 49
Quote:
Originally Posted by Glj12
When I type modprobe ndiswrapper, it says FATAL: Error inserting ndiswrapper (/lib/modules/2.6.17/misc/ndiswrapper.ko): Invalid arguement.
You won't get anywhere until you get past that error. Irrespective of those other commands (ndiswrapper -i, -l, -m), you have no driver module loaded. The card won't work without a driver.

Try reinstalling ndiswrapper, compiling from source or moving to a different version. Check the output of dmesg for more clues.
 
Old 08-14-2006, 12:24 PM   #11
beagle2
Member
 
Registered: Aug 2004
Location: Aberdeen Scotland
Distribution: elive,sidux,xp,pclinuxos super gamer, mandriva 2007
Posts: 417

Rep: Reputation: 30
Wasn't clear in previous post, ndiswrapper is broken in knoppix 5.0.1 so I wouldn't waste your time trying to fix it. Regarding kanotix, first off give us the output of lspci -v and lspci -n just to confirm chipset.
 
Old 08-14-2006, 06:33 PM   #12
Glj12
LQ Newbie
 
Registered: Aug 2006
Posts: 9

Original Poster
Rep: Reputation: 0
Its alright, I got Kubuntu, and the wireless started working WITHOUT me doing anything. Cool eh? Alright, thanks for the attempt guys.
 
Old 08-15-2006, 02:43 PM   #13
MoMule
Member
 
Registered: Jul 2006
Posts: 134

Rep: Reputation: 15
Ndiswrapper Woes

You could have stuck it out and tried this:

Uninstall ndiswrapprer

locate /misc/ndiswrapper.ko (or any ndiswrapper.ko file) and remove it from your system.

Build ndiswrapper from source

On SUSE 10.1 I had the same problem (and same errors) until I followed these steps. Then again I was using Broadcomm drivers...

Deion "Mule" Christopher
 
Old 08-15-2006, 03:53 PM   #14
Glj12
LQ Newbie
 
Registered: Aug 2006
Posts: 9

Original Poster
Rep: Reputation: 0
Nope, done that before, twice. Once on Knoppix, and once on Kanotix. Nice try though.
 
Old 08-16-2006, 01:19 AM   #15
MoMule
Member
 
Registered: Jul 2006
Posts: 134

Rep: Reputation: 15
Ndiswrapper Woes - The Saga Continues...

Sorry to hear that you have tried everything and still can't get it to work...

After receiving the driver and hardware present message, are you sure you ran ndiswrapper -m? Also, did you restart your network services? Finally, did you make darn sure your WIFI info was correctly entered for your AP?

For you SUSE people: I also found that in order to get my Broadcomm card to work, I had to go into Yast/Network Devices/Network Card and configure the card from there. I also tested and could only get it to work by using "Traditional Method With Ifup" rather than using "Network Controlled With Network Manager."

Hope this helps those who haven't tried everything yet...

Deion "Mule" Christopher
 
  


Reply


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
Wireless network problems, ndiswrapper installed will not create wlan0 jackuss_169 Linux - Wireless Networking 6 08-14-2006 12:29 PM
[Gentoo] Ndiswrapper Problem - Failed to configure wireless for wlan0 freek sanders Linux - Software 8 11-11-2005 03:12 AM
Wireless Linksys -G type loading with dhclient wlan0 after ndiswrapper is loaded but Wireless-G-DSL Linux - Hardware 1 04-01-2005 10:45 PM
ndiswrapper! where is my wlan0? davestyle Linux - Wireless Networking 2 12-31-2004 12:32 PM
Broadcom wireless with ndiswrapper: ifconfig wlan0 works; ifup wlan0 fails orangechicken Linux - Wireless Networking 2 04-17-2004 06:39 PM


All times are GMT -5. The time now is 03:09 PM.

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