LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 09-23-2004, 04:20 AM   #1
zchoyt
Member
 
Registered: Feb 2003
Location: Boise ID
Distribution: fedora
Posts: 156

Rep: Reputation: 30
getting wifi to work with ndiswrapper


I have been using this guy's blog to help me out...
dell wifi

Well anyway I got ndiswrapper all installed and followed ihjis page.

I alredy have a 10/100 nic that is eth0

I tried to remove the wifi driver with the command:
ndiswrapper -e ....inf

It reports back and says that ...inf is not installed and to use -l to view a list of installed drivers.

that command reports badk:
"Installed ndis drivers:
bcmw15a hardware present"

Next he tells me to type:
ndiswrapper -m //This put an entry to /etc/modprobe.conf
that entry is "alias wlan0 ndiswrapper"

Now is where everything starts getting screwed up. He says to type:
"iwconfig eth1 Mode managed"
returns: "Error : unrecognised wireless request "MODE"
iwconfig eth1 end restricted
returns: "Error : unrecognised wireless request "end"
iwconfig eth1 key <your_key_here>
returns: Error for wireless request "Set Endoce" (8B2A)
iwconfig eth1 essid <home_network>
returns: bash: syntax erroir near unexpectedtoken 'newline'

now I type isconfig, but when I do it says:
lo no wireless connection
sit0 no wireless connection
eth0 no wireless connection

Does anyone have any iday how to help me? I need wifi for school and would really like to get this up. I know it dan be done, I just don't know how.
 
Old 09-23-2004, 04:43 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,973

Rep: Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343
Quote:
"alias wlan0 ndiswrapper"
The interface name is wlan0, so use iwconfig with wlan0 instead of eth1
Regards
 
Old 09-23-2004, 02:08 PM   #3
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 65
Moved: This thread is more suitable in Wireless Networking and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 09-23-2004, 03:35 PM   #4
zchoyt
Member
 
Registered: Feb 2003
Location: Boise ID
Distribution: fedora
Posts: 156

Original Poster
Rep: Reputation: 30
I did try to substiture that for eth0, but it didn't work either. I can't remember what it was telling me. I can post when I get home. I think it said something like "device doesn't exist". I also tried to change the name in that file to eth1. That didnt' work either.
 
Old 09-23-2004, 04:17 PM   #5
zchoyt
Member
 
Registered: Feb 2003
Location: Boise ID
Distribution: fedora
Posts: 156

Original Poster
Rep: Reputation: 30
OK, so on the link for the dell 8600
I get to the part in the wireless section that tells me start entering iwconfig commands.

It says to enter:
iwconfig eth1 Mode managed.
It didn't like eth1, so I substituted wlan0 (that's what the alias is in that /etc/modprobe.conf.
It spit an error "unrecogized wireless request "Mode".
I changed it to "mode" so the command looked like:
iwconfig wlan0 mode managed
it spit out "error for wireless request "Set Mode" (8b06) :
SET failed on device wlan0 ; no such device.

It is like it is not recognizing the wireless device, yet
ndiswrapper -l /outputs
Installed ndis drivers:
bcmwl5a hardware present

ndiswrapper -m /outputs
This put an entry to /etc/modprobe.conf


Anyone with a little XP in this, please help me. I can run any commands you want and post the outputs.
Let me know please.
Zakk
 
Old 09-23-2004, 04:25 PM   #6
zchoyt
Member
 
Registered: Feb 2003
Location: Boise ID
Distribution: fedora
Posts: 156

Original Poster
Rep: Reputation: 30
Also, check this out.....

if is use ndiswrapper -i /../bcmw15a.inf to reinstall it, it states that it is already installed, use -e to remove it.
if is use ndiswrapper -e /../bcmw15a .inf to remove it, it states that it is not installed, use -l to list installed drivers
if I use ndiwrapper -l it says "Installed ndis drivers", bcmw15a hardware present.


It is all confused. Should I try to uninstall the ndiswrapper rpm and start over?
 
Old 09-23-2004, 05:48 PM   #7
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,973

Rep: Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343
Does lsmod shows ndiswrapper loaded? You didn't mention about:
Code:
modprobe ndiswrapper
You can try a different version of ndiswrapper because there are some problems with different versions.
To remove the driver you have to to do:
Code:
ndiswrapper -e bcmw15a

Last edited by bathory; 09-24-2004 at 02:39 AM.
 
Old 09-23-2004, 06:46 PM   #8
zchoyt
Member
 
Registered: Feb 2003
Location: Boise ID
Distribution: fedora
Posts: 156

Original Poster
Rep: Reputation: 30
Yeah, I tried that (see my previous post). It won't let me because it says that it is not installed, but it is installed......Why does it have to be so difficult?
 
Old 09-23-2004, 08:47 PM   #9
w4rth0g
LQ Newbie
 
Registered: Nov 2003
Posts: 11

Rep: Reputation: 0
getting wifi to work

hey zchoyt,
check to see if you have "ifcfg-wlan0" file in the /etc/sysconfig/network-scripts/. As you know the file is needed if you call >wlan0 up<.
I just finished getting my realtek 8180 working with mandrake 10.0, I had to go through the install for ndiswrapper 3 times before it finally worked.
P.S. be careful with spelling when calling the iwconfig!
w4rth0g
 
Old 09-24-2004, 02:38 AM   #10
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,973

Rep: Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343
Quote:
Yeah, I tried that (see my previous post). It won't let me because it says that it is not installed
You must write: ndiswrapper -e bcmw15a (without the .inf).
Also before removing everything and start over do a:
Code:
modprobe ndiswrapper
to see if it loads OK, or there are errors on loading the module.
 
Old 09-24-2004, 11:36 AM   #11
zchoyt
Member
 
Registered: Feb 2003
Location: Boise ID
Distribution: fedora
Posts: 156

Original Poster
Rep: Reputation: 30
Ok, I tried
Code:
modprobe ndiswrapper
and it returned
Code:
FATAL" Module ndiswrapper not found.
What should I do from here? Or what do you suggest?

Zakk
 
Old 09-24-2004, 11:53 AM   #12
zchoyt
Member
 
Registered: Feb 2003
Location: Boise ID
Distribution: fedora
Posts: 156

Original Poster
Rep: Reputation: 30
Still,
Code:
# ./ndiswrapper -e bcmw15
Driver bcmw15 nis not installed. Use -l to list installed drivers.
so then I try that

Code:
# ./ndiswrapper -l
Installed ndis drivers:
bcmw15  hardware present
bcmw15a  hardware present

And still:
Code:
# modprobe ndiswrapper
FATAL: Module ndiswrapper not found.
and:
Code:
# iwconfig wlan0 mode managed                                  //where wlan0 is the alias in modprobe.conf
Error for wireless request "Set Mode" (8B06) : 
    Set failed on devide wlan0 ' Mo such device.

How do I remove ndiswrapper? It is possible that I installed the wrong version for fedora C2. I would like to start over.
 
Old 09-24-2004, 05:17 PM   #13
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,973

Rep: Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343
If you cannot remove the driver (with ndiswrapper -e ...) then you have not installed ndiswrapper correctly. That's why you don't have the module. As for the fact that it lists the 2 drivers, it reads the driver name from a file in /etc/ (I think it's /etc/ndiswrapper.conf or something, not sure and I don't have a linux box handy). Find that file and delete it and then start over:
In the link you mentioned there is nothing about installing the module. So after untaring the source, go into the newlly created directory (named ndiswraper-version-number) and do a:
Code:
make install
After that add the driver for your card: ndiswrapper -i /path/to/driver.inf
Then: modprobe ndiswrapper
and if there are no problems, as ndiswrapper has various problems from a version to another, you can use iwconfig to configure your card.
Good luck
 
Old 09-24-2004, 06:57 PM   #14
kersten78
Member
 
Registered: Nov 2003
Location: Minneapolis, MN
Distribution: Slackware, Debian, Gentoo, openSuSE
Posts: 357

Rep: Reputation: 30
Make sure you have root access when you install ndiswrapper.
 
  


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
Wifi configured with ndiswrapper now what? DeadPenguin Linux - Wireless Networking 8 04-20-2005 10:52 AM
WiFi Card WPC54G Driver problems, cant get ndiswrapper working Aval0n12 Linux - Wireless Networking 6 02-15-2005 07:55 PM
WiFi Card WPC54G Driver problems, cant get ndiswrapper working Aval0n12 Linux - Wireless Networking 1 02-14-2005 03:29 AM
wifi interface with ndiswrapper robinang Linux - Wireless Networking 2 09-14-2004 12:46 AM
Troubles installing WiFi PCMCIA /w NDISwrapper brianjorgensen2 Linux - Wireless Networking 2 05-02-2004 11:53 AM


All times are GMT -5. The time now is 04:15 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