PDA

View Full Version : How to ndiswrapper in Fedora


Pages : 1 [2] 3

Deltadeltafee
2006-02-19, 01:07 AM CST
For lspci
I get a long line of devices however, for wireless lan controller I get a Broadcom BCM4306 803.11b/g
Where Can I get a broadcom BCM4306 driver?

Trev
2006-02-19, 04:05 PM CST
Hello i am using a BCM4318 Drivers with ndiswrapper i get everything installed and configured i go into Network create a new wireless network then go to Activate and i get the following error, oh and my wireless card light is on and flashing but not conecting.

Error:
Error : unrecognised wireless request "Mb/s"
Error for wireless request "Set Encode" (8B2A) :
SET failed on device wlan0 ; Invalid argument.

Determining IP information for wlan0...

Error : unrecognised wireless request "Mb/s"
Error for wireless request "Set Encode" (8B2A) :
SET failed on device wlan0 ; Invalid argument.

Determining IP information for wlan0... failed; no link present. Check cable?

Deltadeltafee
2006-02-19, 08:37 PM CST
Hello i am using a BCM4318 Drivers with ndiswrapper i get everything installed and configured i go into Network create a new wireless network then go to Activate and i get the following error, oh and my wireless card light is on and flashing but not conecting.

Error:
Error : unrecognised wireless request "Mb/s"
Error for wireless request "Set Encode" (8B2A) :
SET failed on device wlan0 ; Invalid argument.

Determining IP information for wlan0...

Error : unrecognised wireless request "Mb/s"
Error for wireless request "Set Encode" (8B2A) :
SET failed on device wlan0 ; Invalid argument.

Determining IP information for wlan0... failed; no link present. Check cable?

DID you connect to the wlan with the right channel?

Deltadeltafee
2006-02-19, 09:42 PM CST
Okay perhaps I should try it installing ndiswrapper through source.
I am sorta of confused on how to install through source???

Darkmage
2006-02-20, 10:15 PM CST
For lspci
I get a long line of devices however, for wireless lan controller I get a Broadcom BCM4306 803.11b/g
Where Can I get a broadcom BCM4306 driver?

I posted a broadcom zip driver on page 1 and 13 of this how to, try them and see if it works.

Darkmage
2006-02-20, 10:23 PM CST
Hello i am using a BCM4318 Drivers with ndiswrapper i get everything installed and configured i go into Network create a new wireless network then go to Activate and i get the following error, oh and my wireless card light is on and flashing but not conecting.

Error:
Error : unrecognised wireless request "Mb/s"
Error for wireless request "Set Encode" (8B2A) :
SET failed on device wlan0 ; Invalid argument.

Determining IP information for wlan0...

Error : unrecognised wireless request "Mb/s"
Error for wireless request "Set Encode" (8B2A) :
SET failed on device wlan0 ; Invalid argument.

Determining IP information for wlan0... failed; no link present. Check cable?

For "Error : unrecognised wireless request "Mb/s" see my response to toolazy2p on page 17
and for the rest of the errors, do you have an encryption key set for your wireless connect ion, else post your /etc/sysconfig/network-scripts/ifcfg-wlan0 and make sure you remove sensitive information.

jac0b
2006-02-21, 04:44 AM CST
Thanks Darkimage for this great guide for getting my WiFi card working with NDISwrapper

Trev
2006-02-22, 09:38 AM CST
For "Error : unrecognised wireless request "Mb/s" see my response to toolazy2p on page 17
and for the rest of the errors, do you have an encryption key set for your wireless connect ion, else post your /etc/sysconfig/network-scripts/ifcfg-wlan0 and make sure you remove sensitive information.


# NDIS Wrapper Configuration: Broadcom Bcmwl
DEVICE=wlan0
ONBOOT=yes
BOOTPROTO=dhcp
TYPE=Wireless
MODE=Managed
SSID="t1189gt1"
CHANNEL=11
USERCTL=yes
PEERDNS=no
RATE=Auto
NICK=wlan0
NETMASK=
DHCP_HOSTNAME=
IPADDR=
DOMAIN=
HWADDR=
GATEWAY=
IPV6INIT=no
ESSID=t1189gt1


The Error Code Currently is:

Error for wireless request "Set Encode" (8B2A) :
SET failed on device wlan0 ; Invalid argument.

Determining IP information for wlan0... failed; no link present. Check cable?

I tried changing trasfer rate but it doesnt let me change it.

Hope you can help
-Trev

Edit: Where do i put the value for my WEP key??

yannis_uk
2006-02-22, 08:23 PM CST
I have a Broadcom BCM4306 chipset on a HP nx9105. I have installed ndiswrapper and kernel-module-ndiswrapper-$(uname -r)

I have tried both bcmwl5.inf and bcmwl5a.inf driver files. With any of them "ndiswrapper -l" returns "driver present, hardware present". I have followed and the remaining steps in your description with no error messages. Then I used the System Settings->Network tool to configure. I have tried various settings trying to get it working but I couldn't connect to my access point. I have also tried setting it without encryption or with encryption, but nothing changed. In any case when pressing the "activate" button in "Network Configuration" the wlan0 device won't activate (error message "Determining IP information for wlan0... failed; no link present. Check cable?"). I then specified a static IP for my laptop and when pressing the "activate" button the wlan0 device says "Active"! however I still can't even ping my access point.

When I run "/sbin/iwlist scanning" I get:
wlan0 Scan completed :
Cell 01 - Address: 00:12:BF:00:D4:AA
ESSID:"belkin54g"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.462 GHz (Channel 11)
Quality:0/100 Signal level:-54 dBm Noise level:-256 dBm
Encryption key:on
Bit Rate:1 Mb/s
Bit Rate:2 Mb/s
Bit Rate:5.5 Mb/s
Bit Rate:11 Mb/s
Bit Rate:6 Mb/s
Bit Rate:9 Mb/s
Bit Rate:12 Mb/s
Bit Rate:18 Mb/s
Bit Rate:24 Mb/s
Bit Rate:36 Mb/s
Bit Rate:48 Mb/s
Bit Rate:54 Mb/s
Extra:bcn_int=100
Extra:atim=0

The values of Address and ESSID are the correct values of my access point! However, if I do "/sbin/iwconfig" I get:
lo no wireless extensions.

eth0 no wireless extensions.

wlan0 IEEE 802.11g ESSID:off/any Nickname:"Autonomy"
Mode:Auto Frequency:2.462 GHz Access Point: 00:00:00:00:00:00
Bit Rate=54 Mb/s Tx-Power:25 dBm
RTS thr=2347 B Fragment thr=2346 B
Encryption key:****-****-****-****-****-****-** Security mode:restricted

Please, see the difference on the value of ESSID and Address. I am not sure if this is of any importance to my problem. I would appreciate any help. I thank you in advance.

Yannis

Darkmage
2006-02-22, 10:28 PM CST
@yannis_uk
Please post the output of
dmesg |grep ndiswrapper from a terminal

@yannis_uk & Trev
On the first page, I posted screenshots of the Network configuration, what I will do is on the Network name check Auto and change the Transmit rate to Auto. Go back to the Network name ssid and change it to specified and type in your ssid, then configure your WEP key. Remember you have to use 0x before the encryption key

Trev
2006-02-23, 03:58 AM CST
Thanks i have it working now i can connect to my router fine even login to my router admin the only problem is i cannot connect to the internet at all thorugh any browser?

-Trev

yannis_uk
2006-02-23, 12:11 PM CST
dmesg returns
# dmesg | grep ndiswrapper
ndiswrapper version 1.7 loaded (preempt=no,smp=no)
ndiswrapper: driver bcmwl5a (Broadcom,02/11/2005, 3.100.64.0) loaded
ndiswrapper: using irq 11
wlan0: ndiswrapper ethernet device 00:90:4b:b8:23:43 using driver bcmwl5a, 14E4:4320.5.conf

I also did the other settings you suggested, thank you.

Darkmage
2006-02-23, 08:52 PM CST
Thanks i have it working now i can connect to my router fine even login to my router admin the only problem is i cannot connect to the internet at all thorugh any browser?

-Trev

Do you have firestarter installed as your firewall

Darkmage
2006-02-23, 08:54 PM CST
dmesg returns
# dmesg | grep ndiswrapper
ndiswrapper version 1.7 loaded (preempt=no,smp=no)
ndiswrapper: driver bcmwl5a (Broadcom,02/11/2005, 3.100.64.0) loaded
ndiswrapper: using irq 11
wlan0: ndiswrapper ethernet device 00:90:4b:b8:23:43 using driver bcmwl5a, 14E4:4320.5.conf

I also did the other settings you suggested, thank you.

Do you have it up and running ?

yannis_uk
2006-02-24, 12:41 AM CST
yes it is running.

Trev
2006-02-24, 01:24 AM CST
Do you have firestarter installed as your firewall

I'm not shure ill try and look not shure how though?

Edit i've looked and i dont have it running never used it i set my firewall to be active on instalation and thats it!

-Trev

Darkmage
2006-02-24, 05:52 AM CST
@Trev
do you have eth0 and wlan0 up at the same time?
click on Applications -> System Tools -> Network Device control and the check the status of eth0 and wlan0. Only one should be active

yannis_uk
2006-02-24, 08:27 AM CST
To avoid confusion: in the previous posting I mean that the driver is running. But still I have the problem as mentioned previously.

yannis_uk
2006-02-24, 08:30 AM CST
My previous answer might have been confusing: in the previous posting I mean that the driver is running. But still I have the problem as mentioned previously.

Trev
2006-02-24, 09:31 AM CST
My previous answer might have been confusing: in the previous posting I mean that the driver is running. But still I have the problem as mentioned previously.

I have the same driver, do you have a wireless card light if so is it on?

Trev
2006-02-24, 10:12 AM CST
Edit: All fixed i needed to create an entry for resolv.conf in /ect/ for my name server on my router all works great now thanks for you're help Darkmage.

-Trev

yannis_uk
2006-02-25, 08:50 PM CST
Yes I have wireless card light and it is on.

Darkmage
2006-02-25, 11:33 PM CST
Yes I have wireless card light and it is on.

Post your /etc/sysconfig/network-scripts/ifcfg-wlan0

Darkmage
2006-02-25, 11:34 PM CST
Edit: All fixed i needed to create an entry for resolv.conf in /ect/ for my name server on my router all works great now thanks for you're help Darkmage.

-Trev

You are welcome and I am glad you got it working :D

yannis_uk
2006-02-26, 01:28 AM CST
Here we go:

# Please read /usr/share/doc/initscripts-*/sysconfig.txt
# for the documentation of these parameters.
IPV6INIT=no
ONBOOT=yes
USERCTL=no
PEERDNS=yes
GATEWAY=192.168.2.1
TYPE=Wireless
DEVICE=wlan0
HWADDR=00:90:4b:b8:23:43
BOOTPROTO=none
NETMASK=255.255.255.0
DHCP_HOSTNAME=
IPADDR=192.168.2.10
DOMAIN=
ESSID=belkin54g
CHANNEL=11
MODE=Managed
RATE=Auto

Darkmage
2006-02-26, 08:59 AM CST
Here we go:

# Please read /usr/share/doc/initscripts-*/sysconfig.txt
# for the documentation of these parameters.
IPV6INIT=no
ONBOOT=yes
USERCTL=no
PEERDNS=yes
GATEWAY=192.168.2.1
TYPE=Wireless
DEVICE=wlan0
HWADDR=00:90:4b:b8:23:43
BOOTPROTO=none
NETMASK=255.255.255.0
DHCP_HOSTNAME=
IPADDR=192.168.2.10
DOMAIN=
ESSID=belkin54g
CHANNEL=11
MODE=Managed
RATE=Auto

That configuration is right. what error messages are you getting from /sbin/ifup wlan0. Trying the connection without any encryption.

yannis_uk
2006-02-26, 09:23 AM CST
Observation 1: after boot I open a terminal and type dmesg and the last line I get is:

"wlan0: no IPv6 routers present"

Observation 2: I run /sbin/ifup wlan0 while having encryption active and I do not get any error messages. It just returns to command prompt. I am unable to try without encryption now because my flatemates will get mad. I will try it and post results in about 10 hours (when it is night here).

Darkmage
2006-02-26, 09:28 AM CST
Observation 1: after boot I open a terminal and type dmesg and the last line I get is:

"wlan0: no IPv6 routers present"


Observation 2: I run /sbin/ifup wlan0 while having encryption active and I do not get any error messages. It just returns to command prompt. I am unable to try without encryption now because my flatemates will get mad. I will try it and post results in about 10 hours (when it is night here).

From your configuration IPV6 is turned off and what kind of encryption are you using WEP/WPA/WPA2?

yannis_uk
2006-02-26, 12:24 PM CST
I am using WEP

ifwntrends
2006-02-26, 04:39 PM CST
Hi, having a problem with modprobe. i do :

modprobe ndiswrapper
bash: modprobe: command not found

which modprobe
/usr/bin/which: no modprobe in (/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/ifwntrends/bin)

am i missing something?

Darkmage
2006-02-26, 09:52 PM CST
I am using WEP

Do you type an 0x before the encryption key?

Darkmage
2006-02-26, 09:54 PM CST
Hi, having a problem with modprobe. i do :

modprobe ndiswrapper
bash: modprobe: command not found

which modprobe
/usr/bin/which: no modprobe in (/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/ifwntrends/bin)

am i missing something?

It should be /sbin/modprobe

yannis_uk
2006-02-26, 11:45 PM CST
yes I did use 0x.

I also deactivated encryption on my router and and on my FC4 and tried the connection without encryption. I run /sbin/ifup wlan0 and again I do not get any error messages. It just returns to command prompt. I tried ping to my router but it does not do it.

ifwntrends
2006-02-26, 11:57 PM CST
It should be /sbin/modprobe

thanks, that worked. i don't know why that isn't in my path by default.

yannis_uk
2006-03-01, 09:08 PM CST
Hi Darkmage, I haven't heard from you the last few days. Shall I assume that there is no known way to solve my problem?

Darkmage
2006-03-01, 09:27 PM CST
Hi Darkmage, I haven't heard from you the last few days. Shall I assume that there is no known way to solve my problem?

I went back and read your original post and I was wondering is DHCP enabled on your access point? The reason I asked is you were not able to connect untill you assigned your wifi a static ip. Try the drivers I posted on page 13, I believe.

What version of ndiswrapper are you using?

Apart from that I really don't know why it is not working for you.

yannis_uk
2006-03-01, 09:38 PM CST
The DHCP is enabled on my access point, because the windows machines we have at my home do not have static IPs and they are automaticaly getting them from the access point. I am using ndiswrapper 1.7. I am going to try now the drivers you have posted on page 13 and I will let you know.

yannis_uk
2006-03-01, 10:13 PM CST
I have a problem I couldn't unzip the drivers you have posted. Which program did you use for zipping the file?

Darkmage
2006-03-01, 10:27 PM CST
I have a problem I couldn't unzip the drivers you have posted. Which program did you use for zipping the file?

use the file browser and navigate to the location, right click and extract. Also try using ndiswrapper 1.10

yannis_uk
2006-03-02, 12:08 AM CST
1. I installed ndiswrapper 1.10 and the driver files you have posted.
2. GOOD NEWS: Without using encryption, I rebooted several times my laptop and I realised that sometimes establishes wireless connection with the router after reboot! and I can access the internet! When it does not establish connection it does it if as root I run: /sbin/iwconfig wlan0 essid "belkin54g"
Typing this after each startup is not a problem :)
3. Maybe is useful to mention that if it does not establish connection and I shutdown the laptop it stops on the line: Unloading iptables modules... and never completes shutdown.
4. With WEP encryption activated the trick of section 2 does not work and connection is never established. What can I do for using WEP encryption? I use 0x before my key.

Thanks

Darkmage
2006-03-02, 08:32 PM CST
1. I installed ndiswrapper 1.10 and the driver files you have posted.
2. GOOD NEWS: Without using encryption, I rebooted several times my laptop and I realised that sometimes establishes wireless connection with the router after reboot! and I can access the internet! When it does not establish connection it does it if as root I run: /sbin/iwconfig wlan0 essid "belkin54g"
Typing this after each startup is not a problem :)
3. Maybe is useful to mention that if it does not establish connection and I shutdown the laptop it stops on the line: Unloading iptables modules... and never completes shutdown.
4. With WEP encryption activated the trick of section 2 does not work and connection is never established. What can I do for using WEP encryption? I use 0x before my key.

Thanks

You should not have to go through those procedures to get ndiswrapper to work. While configuring wlan0 using Network Configuration, it gives you the option to activate wlan0 when the laptop starts and it also gives you the option to allow users to activate wlan0 instead of just root.

Did you delete the old broadcom drivers at /etc/ndiswrapper before using the new one?
The limitation of ndiswrapper for encryption is that you have to specify the ssid instead of selecting auto.

yannis_uk
2006-03-02, 09:38 PM CST
You should not have to go through those procedures to get ndiswrapper to work. While configuring wlan0 using Network Configuration, it gives you the option to activate wlan0 when the laptop starts and it also gives you the option to allow users to activate wlan0 instead of just root.
I used Network Configuration but does not do the trick.

Did you delete the old broadcom drivers at /etc/ndiswrapper before using the new one?
Yes I did and then I delete and your driver and did a fresh install, but the same things happen again.....

The limitation of ndiswrapper for encryption is that you have to specify the ssid instead of selecting auto.
I have specified the ssid.

I also tried both WEP 128bits and 64bits but they don't work. I do not know what is the problem. I also observed that when it connects (without encryption) it losses the connection if I move few meters away from the router, it seems that the signal is too low. This is strange because under MSWindows it works fine.

I do not like to give up, I will not :D

Yannis

Darkmage
2006-03-02, 10:50 PM CST
@yannis_uk
Have you tried activating wlan0 with Network Configuration gui? Do you get any error message?

yannis_uk
2006-03-03, 11:00 AM CST
Yes I activate it using the GUI, and it says that it is activated, I don't get any error messages.

Ospreyeagle
2006-03-03, 11:11 AM CST
There has to be a small annoying problem in WEP. I am sure you would have tried these already. if not give a shot:
You can try removing WEP first(if you can) and see if you can connect succesfully.
you can also see if removing 0x makes any difference....

yannis_uk
2006-03-03, 06:57 PM CST
I have the solution to my problem and suppose more people's problem. The problem is that my
wireless-router supports only shared key. In contrast your setup works only for restricted key. This is because the Network Configuration GUI does not have an option
for chosing shared or restricted key and by default restricted key is
used. The solution is simple: in the Network Configuration window
select the WLAN interface and click on Edit, on the Wireless Settings
tab put in the text box "Key (use 0x for hex)" the text "open
XXXXXXXXXXXXXXXXX" without the double quotes, where XXXXXXXXXXXXXXXXX your hex
key without 0x at the beginning. What this does is that all this string of text
is passed as a parameter to iwconfig and sets up a shared key instead
of restricted. I believe your advice in the first page should be
updated to include this information. Thank you very much for your
help!

I believe we should send an email to the fedora people suggesting that they should place an option on the Network Configuration GUI so that users can easily chose shared or restricted key. However I am not sure where to send the email, do you know Darkmage?

Yannis

Darkmage
2006-03-03, 11:09 PM CST
I have the solution to my problem and suppose more people's problem. The problem is that my
wireless-router supports only shared key. In contrast your setup works only for restricted key. This is because the Network Configuration GUI does not have an option
for chosing shared or restricted key and by default restricted key is
used. The solution is simple: in the Network Configuration window
select the WLAN interface and click on Edit, on the Wireless Settings
tab put in the text box "Key (use 0x for hex)" the text "open
XXXXXXXXXXXXXXXXX" without the double quotes, where XXXXXXXXXXXXXXXXX your hex
key without 0x at the beginning. What this does is that all this string of text
is passed as a parameter to iwconfig and sets up a shared key instead
of restricted. I believe your advice in the first page should be
updated to include this information. Thank you very much for your
help!

I believe we should send an email to the fedora people suggesting that they should place an option on the Network Configuration GUI so that users can easily chose shared or restricted key. However I am not sure where to send the email, do you know Darkmage?

Yannis

WEP has two forms of keys open or shared -called restricted in linux. For those that do not understand the meaning of both " With WEP encryption, "open key" setting will enable a client device to connect to ANY strong WEP signal, whether it has the correct password or not. Using the "shared key" setting, the client checks to make sure it's password matches the host (router/access points) password BEFORE connecting to it. This would keep your client from connecting to someone else's network and would keep it connected to your router/access point.
Setting your router/access point to "shared key" will also prevent it from accepting a connection from a client that doesn't have the correct password "- taken from www.dslreports.com

Now my router does not have that option in WEP, so I am going to assume it uses shared/restricted key. Yes the gui interface does not have the option to set the type you want but, the commnad line interface does.
The blueprint of /etc/sysconfig/network-scripts/ifcfg-wlan0 comes from /etc/sysconfig/network-scripts/ifup-wireless and in ifup-wireless that is a line called # SECURITYMODE: Security mode, e.g: 'open' or 'restricted' which can be added to /etc/sysconfig/network-scripts/ifcfg-wlan0.

The best way to solve the gui problem is to file a bug report against Network Configuration

uptonm
2006-03-06, 06:55 PM CST
well I'd like to follow your instructions but i don't want to install the package from livna. the reason being is that i installed Fedora according to the instructions here: http://stanton-finley.net/fedora_core_4_installation_notes.html
and they explicitly say not to mix livna with freshrpms, which i am using. well, i looked at the instructions for Ndiswrapper here: http://ndiswrapper.sourceforge.net/mediawiki/index.php/Fedora
which show you how to create your own RPM. Should this RPM package that you create be as good as the one from Livna? Thanks for your help,

Mike Upton

Darkmage
2006-03-06, 09:20 PM CST
well I'd like to follow your instructions but i don't want to install the package from livna. the reason being is that i installed Fedora according to the instructions here: http://stanton-finley.net/fedora_core_4_installation_notes.html
and they explicitly say not to mix livna with freshrpms, which i am using. well, i looked at the instructions for Ndiswrapper here: http://ndiswrapper.sourceforge.net/mediawiki/index.php/Fedora
which show you how to create your own RPM. Should this RPM package that you create be as good as the one from Livna? Thanks for your help,

Mike Upton

You are only installing 2 packages from livna, which will not break anything but, you can always create your own rpm. The instructions for creating an rpm is new to me and I, use the spec file provided by ndiswrapper to create an rpm.
So try it out. :D

kurtwisener
2006-03-15, 10:59 AM CST
So I followed the steps outlined (save for compiling from source on ndiswrapper) and was having a ball up until I installed the drivers. I the drivers install and then report as invalid. Is this an architecture issue? I am running an athlon 64. See below for outputs.

kurtwisener
2006-03-15, 11:16 AM CST
Here is what I end up with:

couldn't copy /bcmwl5/bcmwl5.inf at /usr/sbin/ndiswrapper line 135

Then I get:

ndiswrapper -l
bcmwl5 invalid driver

kurtwisener
2006-03-15, 11:38 AM CST
I have come to the conclusion that I have the wrong drivers. Where do I get the right ones?

jkhg
2006-03-15, 09:22 PM CST
couldn't copy /bcmwl5/bcmwl5.inf at /usr/sbin/ndiswrapper line 135

I had this happen, too. I solved it by using a driver I downloaded, instead of from the manufacturer's CD. As best I could tell, the driver files were identical. I suspect it might have something do with file permissions/owner/group, etc., but I'm way too much of a newbie to know for sure!

I have also read about others in various forums having the exact same problem -- always line 135. I'd love for some of the experts to chime in and answer this one, because I've never seen a definitive answer to this.

Darkmage
2006-03-15, 09:41 PM CST
Here is what I end up with:

couldn't copy /bcmwl5/bcmwl5.inf at /usr/sbin/ndiswrapper line 135

Then I get:

ndiswrapper -l
bcmwl5 invalid driver

What is the location of your bcmwl5.inf files and are you executing the commands as superuser/root?

Kevin.mccauley
2006-03-18, 02:22 AM CST
I tried using the NDIS wrapper (both from the source code, and from the FC4 install), and FC4 detected the device, but dose not have the drivers for it. Thus it would not activate. Is this just a problem with it being a USB device (a Belkin USB F5D7050) or did I just make a mistake?

Darks_Night
2006-03-31, 03:43 PM CST
I'm trying to install a D-Link DWL-G510 on FC4.
I get up to entering 'modprobe ndiswrapper', and then it freezes.

Im using '206.11-1.1369_FC4' and 'ndiswrapper-1.11'.

jonjon737
2006-04-01, 04:19 PM CST
I'm using FC5 and I'm trying to install a NETGEAR WG511v1.

I followed the directions on the first page of this post and I get all the way down to

"Here comes the easy part "

When I create a new wireless connection, it has "intersil Corporation ISL3890 [Prism GT/Prism Duette] (eth0)" highlighted and not "ndiswrapper(wlan0)"

When I ran [root@*]# /usr/bin/ndiswrapper -i /*path*/netwg511.inf
I get the results: Installing netwg511

When I ran [root@*]# /usr/bin/ndiswrapper -l
I get the results:
Installed drivers:
netwg511 driver installed, hardware present

How do I get from installing the driver to configuring the hardware?

EDIT

I added the following lines to /etc/modprobe.conf
alias wlan0 ndiswrapper
options ndiswrapper if_name=wlan0

Now when I acivate my device in the Network Configuration i get the following message:
"ndiswrapper
ndiswrapper device wlan0 does not seem to be
present, delaying initilization"

how can I get my card to work? Thanks for the help.

Darkmage
2006-04-02, 04:06 AM CDT
@jonjon737
what is the output of /sbin/lspci

Darkmage
2006-04-02, 04:10 AM CDT
I'm trying to install a D-Link DWL-G510 on FC4.
I get up to entering 'modprobe ndiswrapper', and then it freezes.

Im using '206.11-1.1369_FC4' and 'ndiswrapper-1.11'.

Trying using ndiswrapper-1.10

Darkmage
2006-04-02, 04:12 AM CDT
I tried using the NDIS wrapper (both from the source code, and from the FC4 install), and FC4 detected the device, but dose not have the drivers for it. Thus it would not activate. Is this just a problem with it being a USB device (a Belkin USB F5D7050) or did I just make a mistake?

You have to use your windows driver with ndiswrapper as stated in the How to

Darks_Night
2006-04-02, 05:48 AM CDT
Trying using ndiswrapper-1.10
Tried it with ndiswrapper-1.10, no luck. :mad:

jonjon737
2006-04-02, 11:53 AM CDT
@jonjon737
what is the output of /sbin/lspci

[root@localhost ~]# /sbin/lspci
00:00.0 Host bridge: VIA Technologies, Inc. P/KN266 Host Bridge
00:01.0 PCI bridge: VIA Technologies, Inc. VT8633 [Apollo Pro266 AGP]
00:0a.0 CardBus bridge: O2 Micro, Inc. OZ601/6912/711E0 CardBus/SmartCardBus Controller
00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge
00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 50)
00:11.6 Communication controller: VIA Technologies, Inc. AC'97 Modem Controller (rev 80)
00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 74)
01:00.0 VGA compatible controller: S3 Inc. VT8375 [ProSavage8 KM266/KL266]
02:00.0 Network controller: Intersil Corporation ISL3890 [Prism GT/Prism Duette] (rev 01)

Darkmage
2006-04-02, 11:07 PM CDT
@jonjon737
Looks like you need the Orinoco driver which I am not fimiliar with. Do a search here to that driver

jonjon737
2006-04-04, 01:08 PM CDT
@jonjon737
Looks like you need the Orinoco driver which I am not fimiliar with. Do a search here to that driver


Thanks, I'll try that

vifa84
2006-04-05, 05:29 AM CDT
I have had this laptop and pcmcia card working before with driverloader but when I updated the kernel to fc4 it stopped working. I want to use ndiswrapper and followed the instructions at the begining but when I try to activate it gives:
Determining IP information for wlan0... failed; no link present. Check cable?

I went through this thread and tried each one of the commands darkimage told other people to do and I'll post here to save time.

dmesg | grep ndiswrappper gives:


dmesg | grep ndiswrapper
ndiswrapper version 1.8 loaded (preempt=no,smp=no)
ndiswrapper: driver lstinds (Linksys,03/10/2004,6.0.0.18) loaded
ndiswrapper (IoCreateUnprotectedSymbolicLink:744): --UNIMPLEMENTED--
ndiswrapper: using ir/sbin/lspci
00:00.0 Host bridge: Intel Corporation 82845 845 (Brookdale) Chipset Host Bridge (rev 04)
00:01.0 PCI bridge: Intel Corporation 82845 845 (Brookdale) Chipset AGP Bridge (rev 04)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 05)
00:1f.0 ISA bridge: Intel Corporation 82801BA ISA Bridge (LPC) (rev 05)
00:1f.1 IDE interface: Intel Corporation 82801BA IDE U100 (rev 05)
00:1f.2 USB Controller: Intel Corporation 82801BA/BAM USB (Hub #1) (rev 05)
00:1f.3 SMBus: Intel Corporation 82801BA/BAM SMBus (rev 05)
00:1f.4 USB Controller: Intel Corporation 82801BA/BAM USB (Hub #2) (rev 05)
00:1f.5 Multimedia audio controller: Intel Corporation 82801BA/BAM AC'97 Audio (rev 05)
00:1f.6 Modem: Intel Corporation 82801BA/BAM AC'97 Modem (rev 05)
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility M6 LY
02:00.0 CardBus bridge: Texas Instruments PCI1420
02:00.1 CardBus bridge: Texas Instruments PCI1420
02:08.0 Ethernet controller: Intel Corporation 82801BA/BAM/CA/CAM Ethernet Controller (rev 03)
07:00.0 Network controller: Texas Instruments ACX 111 54Mbps Wireless Interface
q 11
wlan0: ndiswrapper ethernet device 00:12:17:2c:b4:3b using driver lstinds, 104C:9066:1737:0033.5.conf

# Please read /usr/share/doc/initscripts-*/sysconfig.txt
# for the documentation of these parameters.
IPV6INIT=no
ONBOOT=no
USERCTL=no
PEERDNS=yes
GATEWAY=
TYPE=Wireless
DEVICE=wlan0
HWADDR=00:12:17:2c:b4:3b
BOOTPROTO=dhcp
NETMASK=
DHCP_HOSTNAME=
IPADDR=
DOMAIN=
ESSID=Bigdog
CHANNEL=6
MODE=Managed
RATE=54Mb/s
~
~
~
~
"/etc/sysconfig/network-scripts/ifcfg-wlan0" 19L, 311C

[root@localhost ~]# rpm -qa |grep kernel |sort
kernel-2.6.12-1.1381_FC3.stk16
kernel-doc-2.6.12-1.1381_FC3
kernel_ppp_mppe-0.0.5-2dkms
kernel-utils-2.4-13.1.49_FC3
Don't understand this I thought I upgraded to fc4?
Dont quite u




Any help would be appreciated.

infernon
2006-04-10, 09:52 AM CDT
Hello Darkmage,

Thank you for putting this together for everyone. I found it very helpful and I'm very new to Linux, so it's definitely appreciated.

The portion of the setup that was 'pre-gui' worked great for me. The problem that I have is that the GUI won't find the card. When I open the network setup window and choose the options for a new wireless connection, the card is not present (I only have an option for 'Other Wireless Card').

Running ndiswrapper with the -l option shows that the driver is loaded and present and running ndiswrapper -m gives a message about the alias being added to /etc/modprobe.d/ndiswrapper, but /etc/modprobe.conf does not seem to have an alias. Here are the contents:

alias eth0 b44
alias snd-card-0 snd-intel8x0
options snd-card-0 index=0
options snd-intel8x0 index=0
remove snd-intel8x0 { /usr/sbin/alsactl store 0 >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove snd-intel8x0

Did I miss something? Is this just as simple as adding a line to /etc/modprobe.conf?

blue13130
2006-04-10, 10:52 AM CDT
infernon,

adding the following line to /etc/modprobe.conf should work
alias ndiswrapper wlan0
you may have to reboot before the gui recognizes it.

You can type the following command as root to do the same thing
# echo "alias wlan0 ndiswrapper" >> /etc/modprobe.conf

infernon
2006-04-11, 07:02 AM CDT
Thanks for responding, blue13130, but this did not seem to make things work. The line has been added to my /etc/modprobe.conf, but the problem that I posted about is still there-- the only network card selectable when attempting to add a new card is "Other Wireless Card".

Is there something else I should be looking at or trying?

Darkmage
2006-04-11, 03:06 PM CDT
Thanks for responding, blue13130, but this did not seem to make things work. The line has been added to my /etc/modprobe.conf, but the problem that I posted about is still there-- the only network card selectable when attempting to add a new card is "Other Wireless Card".

Is there something else I should be looking at or trying?

Try this
depmod -a
modprobe ndiswrapper

infernon
2006-04-12, 06:51 AM CDT
Hello Darkmage,

depmod -a works great with no errors, but modprobe ndiswrapper displays:

FATAL: Module wlan0 not found

So I removed the line from modprobe.conf that blue had me add and the second command ran successfully. The bad news is that the wireless card still isn't showing up after I reboot the machine. Is there anything else that I can try?

Edit: Also, I checked modprobe.conf afterwards and found that there wasn't a line added for wlan0. Is this important?

samk
2006-04-12, 07:42 AM CDT
I have followed the instructions and all went well till i dmesg.
I have FC5_64 running, the drivers that came with the computer are the same as those in the instructions(at least the files are the same name) this is the line from dmesg

ndiswrapper version 1.13 loaded (preempt=no,smp=yes)
ndiswrapper (check_nt_hdr:149): Windows driver is not 64-bit; bad magic: 010B
ndiswrapper (load_sys_files:213): couldn't prepare driver 'bcmwl5'
ndiswrapper (load_wrap_driver:111): loadndiswrapper failed (65280); check system

Thanks for any info you can give
samk

Darkmage
2006-04-12, 09:52 AM CDT
I have followed the instructions and all went well till i dmesg.
I have FC5_64 running, the drivers that came with the computer are the same as those in the instructions(at least the files are the same name) this is the line from dmesg

ndiswrapper version 1.13 loaded (preempt=no,smp=yes)
ndiswrapper (check_nt_hdr:149): Windows driver is not 64-bit; bad magic: 010B
ndiswrapper (load_sys_files:213): couldn't prepare driver 'bcmwl5'
ndiswrapper (load_wrap_driver:111): loadndiswrapper failed (65280); check system

Thanks for any info you can give
samk

Did you try the driver that came with your notebook? Or which driver did you us?
Also try this out and see if it works because this is what I am using now. FC5 using bcm43xx (http://forums.fedoraforum.org/showthread.php?t=102697)

samk
2006-04-12, 10:00 AM CDT
Thanks for replying Darkmage
I have used both, the driver that came with the notebook and the one in your tutorial with the same results, I also tried broadcom 64 bit drivers from broadcom, ndiswrapper loads the driver but doesnt recognize the hardware at /usr/sbin/ndiswrapper -l.
I'll try your bcm43xx suggestion next

infernon
2006-04-12, 10:05 AM CDT
Darkmage,

Did you have a chance to look at my last post? Do you know what else I could try?

Darkmage
2006-04-12, 11:18 AM CDT
Darkmage,

Did you have a chance to look at my last post? Do you know what else I could try?

Please post the output of /bin/dmesg |grep ndiswrapper from a terminal

Lightarrow
2006-04-12, 04:07 PM CDT
hey darkmage, im a noob that juste switched to linux as figured.



i get the ndiswrapper device wlan0 does not seem to be present, delaying initialization error, did evrything but nothing seems to work


i have a broadcom and i used the inf from the internet for my card

anyway to fix this ?

thank you

Darkmage
2006-04-12, 06:59 PM CDT
hey darkmage, im a noob that juste switched to linux as figured.



i get the ndiswrapper device wlan0 does not seem to be present, delaying initialization error, did evrything but nothing seems to work


i have a broadcom and i used the inf from the internet for my card

anyway to fix this ?

thank you

From a console/terminal, post the output of these commands
ndiswrapper -l
depmod -a
modprobe ndiswrapper
dmesg |grep ndiswrapper

At each command, if you get any error message, post the error message

Lightarrow
2006-04-12, 09:17 PM CDT
really noop question ..

in under fedora 5 and if i input the things u said i get

[root@localhost jovani]# depmod -a
bash: /usr/sbin/depmod: No such file or directory

this might sound basic but what do i do ?

Lightarrow
2006-04-12, 09:23 PM CDT
Code:
[jovani@localhost ~]$ /usr/sbin/ndiswrapper -l
Installed drivers:
bcmwl5 driver installed, hardware present
bcmwl5a driver installed, hardware present
[jovani@localhost ~]$

Code:

[root@localhost /]# dmesg |grep ndiswrapper
ndiswrapper: disagrees about version of symbol struct_module
ndiswrapper: disagrees about version of symbol struct_module
ndiswrapper: disagrees about version of symbol struct_module
ndiswrapper: disagrees about version of symbol struct_module
ndiswrapper: disagrees about version of symbol struct_module
ndiswrapper: disagrees about version of symbol struct_module
ndiswrapper: disagrees about version of symbol struct_module
ndiswrapper: disagrees about version of symbol struct_module
ndiswrapper: disagrees about version of symbol struct_module
ndiswrapper: disagrees about version of symbol struct_module
[root@localhost /]#


Code:

[root@localhost /]# modprobe ndiswrapper
bash: modprobe: command not found
[root@localhost /]#


anything from this ?

Darkmage
2006-04-12, 09:37 PM CDT
Code:
[jovani@localhost ~]$ /usr/sbin/ndiswrapper -l
Installed drivers:
bcmwl5 driver installed, hardware present
bcmwl5a driver installed, hardware present
[jovani@localhost ~]$

Code:

[root@localhost /]# dmesg |grep ndiswrapper
ndiswrapper: disagrees about version of symbol struct_module
ndiswrapper: disagrees about version of symbol struct_module
ndiswrapper: disagrees about version of symbol struct_module
ndiswrapper: disagrees about version of symbol struct_module
ndiswrapper: disagrees about version of symbol struct_module
ndiswrapper: disagrees about version of symbol struct_module
ndiswrapper: disagrees about version of symbol struct_module
ndiswrapper: disagrees about version of symbol struct_module
ndiswrapper: disagrees about version of symbol struct_module
ndiswrapper: disagrees about version of symbol struct_module
[root@localhost /]#


Code:

[root@localhost /]# modprobe ndiswrapper
bash: modprobe: command not found
[root@localhost /]#


anything from this ?

Even though ndiswrapper says hardware present, dmesg says you have the wrong drivers, so try another driver or else try this bcm43xx in FC5 (http://forums.fedoraforum.org/showthread.php?t=102697). This is what I am using as of now.

Lightarrow
2006-04-12, 09:45 PM CDT
any way i can remove these drivers prior to installing the new ones ?

btw .. thx lots for your support time .. i really want this to work with my laptop :) get me off these damn games lol

Darkmage
2006-04-12, 09:48 PM CDT
any way i can remove these drivers prior to installing the new ones ?

btw .. thx lots for your support time .. i really want this to work with my laptop :) get me off these damn games lol

Open a terminal and as root del this folder /etc/ndiswrapper/bcmwl5
rm -fr /etc/ndiswrapper/bcmwl5

samk
2006-04-13, 04:10 AM CDT
Well after several attempts i'm still without a working wireless card. Tried the bcm43xx suggestion and even the Linuxant route. lspci reveals the card to be a Broadcom Corp Dell Wireless 1470 DualBand WLAN (rev 02) card id 4319. There are some who have it working using ndiswrapper, on debian (most likely 32 bit), it seems the 4319 isnt supported by bcm43xx at this time. If someone has this card working under FC5_64 I would sure hear how it was done, I'm thinking right now I mat try FC5_32 to see if that will work.

Darkmage
2006-04-13, 06:40 AM CDT
Well after several attempts i'm still without a working wireless card. Tried the bcm43xx suggestion and even the Linuxant route. lspci reveals the card to be a Broadcom Corp Dell Wireless 1470 DualBand WLAN (rev 02) card id 4319. There are some who have it working using ndiswrapper, on debian (most likely 32 bit), it seems the 4319 isnt supported by bcm43xx at this time. If someone has this card working under FC5_64 I would sure hear how it was done, I'm thinking right now I mat try FC5_32 to see if that will work.

Can you post the error message you get when you tried bcm43xx in that thread.

infernon
2006-04-13, 07:14 AM CDT
Please post the output of /bin/dmesg |grep ndiswrapper from a terminal

Hrm... When I run this command, nothing happens. No error messages or anything at all.

samk
2006-04-13, 07:33 AM CDT
I'm away from the computer right now, but there wasnt any error message,
from what i remember on the last line of dmesg was
bcm43xx and nothing else, also in the network device window only other wireless card was available

I really appreciate your help

samk

Darkmage
2006-04-13, 06:12 PM CDT
Hello Darkmage,

depmod -a works great with no errors, but modprobe ndiswrapper displays:

FATAL: Module wlan0 not found

So I removed the line from modprobe.conf that blue had me add and the second command ran successfully. The bad news is that the wireless card still isn't showing up after I reboot the machine. Is there anything else that I can try?

Edit: Also, I checked modprobe.conf afterwards and found that there wasn't a line added for wlan0. Is this important?

This is what I want you to do at a terminal
/usr/sbin/ndiswrapper -l
/sbin/depmod -a
/sbin/modprobe ndiswrapper
/bin/dmesg |grep ndiswrapper
/usr/sbin/ndiswrapper -m

If you get any error message post the error message

Darkmage
2006-04-13, 06:18 PM CDT
I'm away from the computer right now, but there wasnt any error message,
from what i remember on the last line of dmesg was
bcm43xx and nothing else, also in the network device window only other wireless card was available

I really appreciate your help

samk

I will like to keep ndiswrapper thread and bcm43xx thread separate, so post in the bcm43xx thread the output of
/sbin/depmod -a
/sbin/modprobe bcm43xx
/bin/dmesg |grep bcm43xx

navigate to /etc/modprobe.d and do you have a file called modprobe.bcm43xx
Please all messages from the terminal.

JimComfort
2006-04-13, 11:37 PM CDT
I set up the wireless card as per the instructions given at the start of this thread, and I'm fine until I get to the network gui activate step, then I get

Link not present. Check cable?

as an error. The strange thing is that I can then go to the wassistant gui and it detects my network (open, I live in the boonies) and I can click connect and it does. Can this be fixed?

Also, when I'm on the wired LAN, I can "see" the other computers on the network, but not when I'm running the wireless. What would cause that?

My setup is:
Averatec 5400 series
Wireless 802.11g card using RT2500 drivers in ndiswrapper
FC5 with the updated .2080 kernel

I updated the kernel immediately after install, before I started tweaking anything, so it isn't a change of kernels issue. Anyone? :confused:

infernon
2006-04-14, 06:00 AM CDT
Hello Darkmage,

Here is the output of what I've keyed in as per your instructions (thanks again for your continued assistance with this problem!!!).

[root@dms-standby02 Bagadonuts]# /usr/sbin/ndiswrapper -l
Installed drivers:
bcmwl5 driver installed, hardware present
[root@dms-standby02 Bagadonuts]# /sbin/depmod -a
[root@dms-standby02 Bagadonuts]# /sbin/modprobe ndiswrapper
[root@dms-standby02 Bagadonuts]# /bin/dmesg |grep ndiswrapper
ndiswrapper version 1.11 loaded (preempt=no,smp=no)
ndiswrapper: driver bcmwl5 (Broadcom,10/28/2003, 3.40.25.3) loaded
ndiswrapper: using irq 11
wlan0: ndiswrapper ethernet device 00:90:96:b5:59:59 using driver bcmwl5, 14E4:4320.5.conf
[root@dms-standby02 Bagadonuts]# /usr/sbin/ndiswrapper -m
Adding "alias wlan0 ndiswrapper" to /etc/modprobe.d/ndiswrapper
[root@dms-standby02 Bagadonuts]#


I should note that the card still isn't found in the GUI after a reboot.

Darkmage
2006-04-14, 06:24 AM CDT
Hello Darkmage,

Here is the output of what I've keyed in as per your instructions (thanks again for your continued assistance with this problem!!!).

[root@dms-standby02 Bagadonuts]# /usr/sbin/ndiswrapper -l
Installed drivers:
bcmwl5 driver installed, hardware present
[root@dms-standby02 Bagadonuts]# /sbin/depmod -a
[root@dms-standby02 Bagadonuts]# /sbin/modprobe ndiswrapper
[root@dms-standby02 Bagadonuts]# /bin/dmesg |grep ndiswrapper
ndiswrapper version 1.11 loaded (preempt=no,smp=no)
ndiswrapper: driver bcmwl5 (Broadcom,10/28/2003, 3.40.25.3) loaded
ndiswrapper: using irq 11
wlan0: ndiswrapper ethernet device 00:90:96:b5:59:59 using driver bcmwl5, 14E4:4320.5.conf
[root@dms-standby02 Bagadonuts]# /usr/sbin/ndiswrapper -m
Adding "alias wlan0 ndiswrapper" to /etc/modprobe.d/ndiswrapper
[root@dms-standby02 Bagadonuts]#


I should note that the card still isn't found in the GUI after a reboot.

Good, this tell me ndiswrapper is able to associate wlan0 with the driver bcmwl5 and there are no error messages. Now, try to configure wlan0 with Network Configuration, when you get to the wireless part, you should see Other wireless and ndiswrapper(wlan0)

infernon
2006-04-14, 06:34 AM CDT
That's what I was getting at. There is nothing other than 'Other Wireless' listed. That's what I can't figure out. I don't see anything else in the list.

Is there another way to configure the card?

Darkmage
2006-04-14, 06:50 AM CDT
That's what I was getting at. There is nothing other than 'Other Wireless' listed. That's what I can't figure out. I don't see anything else in the list.

Is there another way to configure the card?

Restart and post the contents of /etc/modprobe.conf

infernon
2006-04-14, 06:58 AM CDT
Here you go:

alias eth0 b44
alias snd-card-0 snd-intel8x0
options snd-card-0 index=0
options snd-intel8x0 index=0
remove snd-intel8x0 { /usr/sbin/alsactl store 0 >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove snd-intel8x0

Darkmage
2006-04-14, 07:19 AM CDT
Here you go:

alias eth0 b44
alias snd-card-0 snd-intel8x0
options snd-card-0 index=0
options snd-intel8x0 index=0
remove snd-intel8x0 { /usr/sbin/alsactl store 0 >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove snd-intel8x0

As root type in # echo "alias wlan0 ndiswrapper" >> /etc/modprobe.conf
When you do a ndiswrapper -m it displays "Adding "alias wlan0 ndiswrapper" to /etc/modprobe.d/ndiswrapper" instead of Adding "alias wlan0 ndiswrapper" to /etc/modprobe.conf"
After this changes restart and try again

samk
2006-04-14, 07:30 AM CDT
Darkmage,
Ok, I gave up on FC5_64 and installed FC5_32, installed ndiswrapper 1.13.1, kmod_ndiswrapper, and kernel-devel for 2.6.16-1.2080_FC5. I used the drivers that came with the notebook. The drivers and hardware are present. /usr/sbin/ndiswrapper -m returns "Adding "alias wlan0 ndiswrapper" to /etc/modprobe.d/ndiswrapper". The ndiswrapper selection wasn't available in network config do i copied "alias wlan0 ndiswrapper" without quotes to /etc/modprobe.conf.
The selection was then available and i conigured the card. At this time when i try to activate the card i get this message

"Determining IP information for wlan0... failed; no link present. Check cable?"


iwlist wlan0 scan Returns
[root@samk-hplap samk]# /sbin/iwlist wlan0 scan
wlan0 Scan completed :
Cell 01 - Address: 00:30:BD:F0:AB:B9
ESSID:"kernhome"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.462 GHz (Channel 11)
Quality:0/100 Signal level:-33 dBm Noise level:-256 dBm
Encryption key:on
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
12 Mb/s; 48 Mb/s
Extra:bcn_int=100
Extra:atim=0
Cell 02 - Address: 00:0C:41:A0:5F:22
ESSID:"linksys"
Protocol:IEEE 802.11b
Mode:Managed
Frequency:2.437 GHz (Channel 6)
Quality:0/100 Signal level:-84 dBm Noise level:-256 dBm
Encryption key:off
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s
Extra:bcn_int=100
Extra:atim=0
Cell 03 - Address: 00:0F:B5:27:57:C6
ESSID:"NETGEAR_JCICHB"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.437 GHz (Channel 6)
Quality:0/100 Signal level:-87 dBm Noise level:-256 dBm
Encryption key:on
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
12 Mb/s; 24 Mb/s; 36 Mb/s; 9 Mb/s; 18 Mb/s
48 Mb/s; 54 Mb/s
Extra:bcn_int=100
Extra:atim=0
Cell 1 is my network, I have tried connecting with encryption off but still the same message.

these are the ndiswrapper lines from dmesg
ndiswrapper version 1.13 loaded (preempt=no,smp=no)
ndiswrapper: driver bcmwl5 (Broadcom,07/21/2005, 3.140.16.0) loaded
ACPI: PCI Interrupt 0000:06:02.0[A] -> GSI 21 (level, low) -> IRQ 22
ndiswrapper: using irq 22
wlan0: vendor: ''
wlan0: ndiswrapper ethernet device 00:14:a5:4e:5b:cb using driver bcmwl5, 14E4:4319.5.conf
wlan0: encryption modes supported: WEP; TKIP with WPA, WPA2, WPA2PSK; AES/CCMP with WPA, WPA2, WPA2PSK
ndiswrapper (iw_set_bitrate:539): setting bit rate failed (C00000BB)
the last line looks intersting

thanks for any help

Darkmage
2006-04-14, 07:38 AM CDT
@samk
Check your bit rate settings for the wireless connection. I have included a sceenshot

infernon
2006-04-14, 07:54 AM CDT
It works great Darkmage!!! Thanks so much for your help!!!

Darkmage
2006-04-14, 08:16 AM CDT
@infernon
You are welcome and I am glad it worked. :D

infernon
2006-04-14, 08:22 AM CDT
Darkmage,

My problem has been resolved. Thank you for your help. I really appreciate it.

samk
2006-04-14, 08:55 AM CDT
i adjusted the bit rate and that cleared up the last line if the ndiswrapper lines in dmesg.
I'm still getting the original error though

Determining IP information for wlan0... failed; no link present. Check cable?

amirjpl
2006-04-14, 11:42 AM CDT
i adjusted the bit rate and that cleared up the last line if the ndiswrapper lines in dmesg.
I'm still getting the original error though

Determining IP information for wlan0... failed; no link present. Check cable?

yep
i have the same error.
the machine detected the device fine, the light is on, on the adapter, the device is present in the network configuration window, but when i try to activate the device, and it start to auto config the ip, it then says:

Determining IP information for wlan0... failed; no link present. Check cable?

PLEASE HELP, WHAT DO I DO?[COLOR=Red]

http://www.freewebtown.com/aphyz/Screenshot.png

Darkmage
2006-04-14, 11:53 AM CDT
@samk
Check your bit rate settings for the wireless connection. I have included a sceenshot

@samk and amirjpl

In the screenshot posted, did you specify the ssid. Change the ssid to whatever name your ssid is. I use Auto because wpa_gui is my interface.

samk
2006-04-14, 12:37 PM CDT
yes mine is set to the correct ssid,
i do notice on boot that something along the line of not being able to find /sbin/dhclient-script

Darkmage
2006-04-14, 03:32 PM CDT
yes mine is set to the correct ssid,
i do notice on boot that something along the line of not being able to find /sbin/dhclient-script

do a query on the rpm database
rpm -qa |grep dhclient
you should have dhclient-3.0.3-26 installed else yum -y install dhclient

amirjpl
2006-04-14, 05:04 PM CDT
i check for what dhclient i had and i had 3.0.3-26

my SSID is on Auto
and is the bitrate the same thing as the transmit rate?

and what are some solutions to fix this.
i will do some research and post some more, but i am not a linux pro, so those that are please help out.

Darkmage
2006-04-14, 07:33 PM CDT
i check for what dhclient i had and i had 3.0.3-26

my SSID is on Auto
and is the bitrate the same thing as the transmit rate?

and what are some solutions to fix this.
i will do some research and post some more, but i am not a linux pro, so those that are please help out.

What you have to do is change Auto, to the name of you ssid

dfaj21
2006-04-15, 04:22 AM CDT
Well I got my ndiswrappet to work, my wlan0 is a netgear wg111 usb. I have it working for approximately 1 hour or maybe less, then it cuts out. I tried to restart but it do not work. I have to boot my toaster with winxp check if the connection exist than restart and boot in FC4. As the connection is alright, I got my FC4 wireless and ndiswrapper working again. But it happened several times... after 40 minutes or an hour, the connection drops. I tried to deactivate and reactivate wlan0 but it does not work. The only way I get it to work is to reboot with XP and then boot back in FC4 (I have 2 harddisk, one in XP and one in FC4).

By the way, during start up and setting up ip of wlan0, it says something (SSCIUD - can remember.... but something like that) was not configured properly, but the sign on the right hand side says it is OK.

Any body had any idea whether they are related? I would like to get a stable wireless connection for a whole day without having to reboot in XP.

Help please.... Thanks

amirjpl
2006-04-15, 05:29 AM CDT
check for any updates, on your computer, and see if you have the latest version of ndiswrapper.

then delete the windows driver then start all over againg with the driver installation.

it could help, and its worth a try, but its a pain

amirjpl
2006-04-15, 02:03 PM CDT
thank you darmage.

i set it to managed, and put in my SSID and it worked
now how can i scan for wifi connections.
do you recommend any programs, or does fedora have one already

thank you

vifa84
2006-04-15, 07:41 PM CDT
Darkimage, you seem to be the most knowledgable around here in getting wireless to work so I am hoping you can helpl me out. I read through the thread and am going to post the output of some of the commands you have given to others. I installed the fc5 kernel from source file following another persons helpful advice in another thread and then did a make and make install with ndiswrapper. Then an /usr/sbin/ndiswrapper -m but it seemed to install the alias to ndiswrapper.d/ndiswrapper instead of etc/modprobe.conf and it didn't show up in network configuration. So I manually added alias wlan0 ndiswrapper to etc/modprobe.conf and then wlan0 was listed. However after setting it up with the ssid and channel and so forth it just says something to the effect of can't deternine ip failed check cable as one of the previous post. So anyway here is what i get:

[root@localhost ~]# /usr/sbin/ndiswrapper -l
Installed drivers:
lstinds driver installed, hardware present
[root@localhost ~]# /sbin/depmod -a
[root@localhost ~]# /sbin/modprobe ndiswrapper
FATAL: Module wlan0 not found.
[root@localhost ~]# /bin/dmesg |grep ndiswrapper
ndiswrapper version 1.13 loaded (preempt=no,smp=no)
ndiswrapper: driver lstinds (Linksys,03/10/2004,6.0.0.18) loaded
ndiswrapper: using irq 11
wlan0: ndiswrapper ethernet device 00:12:17:2c:b4:3b using driver lstinds, 104C:9066:1737:0033.5.conf
[root@localhost ~]# /usr/sbin/ndiswrapper -m
modprobe config already contains alias directive

modprobe config already contains alias directive

modprobe config already contains alias directive

modprobe config already contains alias directive

Darkmage
2006-04-15, 11:17 PM CDT
thank you darmage.

i set it to managed, and put in my SSID and it worked
now how can i scan for wifi connections.
do you recommend any programs, or does fedora have one already

thank you

Fedora has Network Manager but, it is still in its infancy IMHO. For now I use wpa_supplicant for my wifi connection. I created a how to at How to wpa_supplicant (http://forums.fedoraforum.org/showthread.php?t=100788) and it has a gui interface.

Darkmage
2006-04-15, 11:24 PM CDT
Darkimage, you seem to be the most knowledgable around here in getting wireless to work so I am hoping you can helpl me out. I read through the thread and am going to post the output of some of the commands you have given to others. I installed the fc5 kernel from source file following another persons helpful advice in another thread and then did a make and make install with ndiswrapper. Then an /usr/sbin/ndiswrapper -m but it seemed to install the alias to ndiswrapper.d/ndiswrapper instead of etc/modprobe.conf and it didn't show up in network configuration. So I manually added alias wlan0 ndiswrapper to etc/modprobe.conf and then wlan0 was listed. However after setting it up with the ssid and channel and so forth it just says something to the effect of can't deternine ip failed check cable as one of the previous post. So anyway here is what i get:

[root@localhost ~]# /usr/sbin/ndiswrapper -l
Installed drivers:
lstinds driver installed, hardware present
[root@localhost ~]# /sbin/depmod -a
[root@localhost ~]# /sbin/modprobe ndiswrapper
FATAL: Module wlan0 not found.
[root@localhost ~]# /bin/dmesg |grep ndiswrapper
ndiswrapper version 1.13 loaded (preempt=no,smp=no)
ndiswrapper: driver lstinds (Linksys,03/10/2004,6.0.0.18) loaded
ndiswrapper: using irq 11
wlan0: ndiswrapper ethernet device 00:12:17:2c:b4:3b using driver lstinds, 104C:9066:1737:0033.5.conf
[root@localhost ~]# /usr/sbin/ndiswrapper -m
modprobe config already contains alias directive

modprobe config already contains alias directive

modprobe config already contains alias directive

modprobe config already contains alias directive

Is your ssid been broadcasted?
Are you using any kind of encryption?
Check your router settings to make sure it matches the linux configuration

vifa84
2006-04-16, 09:34 PM CDT
Is your ssid been broadcasted?
Are you using any kind of encryption?
Check your router settings to make sure it matches the linux configuration

I went through the whole process again, reintslled ndiswrapper and now at least it doesn't give me a wlan0 not found at /sbin/modprobe/ndiswrapper.

When I do a /sbin/iwlist scanning I can see my AP and others in my area but I still get the Determining IP information for wlan0... failed; no link present. Check cable?

I have tried with WEP enabled and disabled and checked the ssid

Darkmage
2006-04-16, 09:56 PM CDT
I went through the whole process again, reintslled ndiswrapper and now at least it doesn't give me a wlan0 not found at /sbin/modprobe/ndiswrapper.

When I do a /sbin/iwlist scanning I can see my AP and others in my area but I still get the Determining IP information for wlan0... failed; no link present. Check cable?

I have tried with WEP enabled and disabled and checked the ssid

Check your router settings for extra features enabled like for my router I was not able to connect because I had frame bursting feature enabled. After disabling it I was able to connect.

Darkmage
2006-04-16, 10:11 PM CDT
@vifa84
On post 345, I posted a screenshot of my Wireless Device Configuration, can you do the same

vifa84
2006-04-16, 10:58 PM CDT
@vifa84
On post 345, I posted a screenshot of my Wireless Device Configuration, can you do the same

Ok, I took a screenshot and saved it to a file but how do I get it into this post?

I looked at the router settings and disabled super g with dynamic turbo but no help.

this is the ifcfg-wlan0 file in profiles

# Please read /usr/share/doc/initscripts-*/sysconfig.txt
# for the documentation of these parameters.
ONBOOT=no
USERCTL=no
IPV6INIT=no
PEERDNS=yes
TYPE=Wireless
DEVICE=wlan0
HWADDR=00:12:17:2c:b4:3b
BOOTPROTO=dhcp
NETMASK=
DHCP_HOSTNAME=
IPADDR=
DOMAIN=
ESSID=Bigdog
CHANNEL=6
MODE=Auto
RATE=Auto

Darkmage
2006-04-17, 03:59 AM CDT
Ok, I took a screenshot and saved it to a file but how do I get it into this post?

I looked at the router settings and disabled super g with dynamic turbo but no help.

this is the ifcfg-wlan0 file in profiles

# Please read /usr/share/doc/initscripts-*/sysconfig.txt
# for the documentation of these parameters.
ONBOOT=no
USERCTL=no
IPV6INIT=no
PEERDNS=yes
TYPE=Wireless
DEVICE=wlan0
HWADDR=00:12:17:2c:b4:3b
BOOTPROTO=dhcp
NETMASK=
DHCP_HOSTNAME=
IPADDR=
DOMAIN=
ESSID=Bigdog
CHANNEL=6
MODE=Auto
RATE=Auto

When you reply to a post with "quote", scroll down the page and there is a "Manage Attachments" section. This is where you attach the screenshot.
I am assuming you are doing this without any encryption.

vifa84
2006-04-17, 12:23 PM CDT
When you reply to a post with "quote", scroll down the page and there is a "Manage Attachments" section. This is where you attach the screenshot.
I am assuming you are doing this without any encryption.

Ok, thanks I see it. I am at work and will post it when I get home. I can't remember whether i had wep enabled when I posted the file contents but I'm thinking I did. What line should be in there for wep being enabled? I know you have the other file which actually contains the key, right?

Darkmage
2006-04-17, 04:37 PM CDT
Ok, thanks I see it. I am at work and will post it when I get home. I can't remember whether i had wep enabled when I posted the file contents but I'm thinking I did. What line should be in there for wep being enabled? I know you have the other file which actually contains the key, right?

RATE: 0x

I say try first without any encryption, if it works then try with encryption.

vifa84
2006-04-18, 05:54 AM CDT
RATE: 0x

I say try first without any encryption, if it works then try with encryption.

ok, turned off wep on my router and still no go. here is what iwconfig gives

/sbin/iwconfig wlan0
wlan0 IEEE 802.11g ESSID:"Bigdog" Nickname:"localhost.localdomain"
Mode:Ad-Hoc Frequency:2.437 GHz Cell: Not-Associated
Bit Rate=54 Mb/s Tx-Power:10 dBm Sensitivity=0/3
RTS thr=4096 B Fragment thr=4096 B
Encryption key:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0


iwlist gives

/sbin/iwlist scanning
lo Interface doesn't support scanning.

eth0 Interface doesn't support scanning.

sit0 Interface doesn't support scanning.

wlan0 Scan completed :
Cell 01 - Address: 00:11:95:0C:DF:B2
ESSID:"Bigdog"
Protocol:IEEE 802.11b
Mode:Managed
Frequency:2.437 GHz (Channel 6)
Quality:0/100 Signal level:-29 dBm Noise level:-256 dBm
Encryption key:off
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Extra:bcn_int=100
Extra:atim=0
Cell 02 - Address: 00:05:F0:05:06:9C
ESSID:"Bigdog"
Protocol:IEEE 802.11b
Mode:Ad-Hoc
Frequency:2.437 GHz (Channel 6)
Quality:0 Signal level:0 Noise level:0
Encryption key:off
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 22 Mb/s
6 Mb/s; 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s
36 Mb/s; 48 Mb/s; 54 Mb/s
Extra:bcn_int=200
Extra:atim=0
Cell 03 - Address: 00:0D:72:5B:76:01
ESSID:"2WIRE357"
Protocol:IEEE 802.11b
Mode:Managed
Frequency:2.437 GHz (Channel 6)
Quality:0/100 Signal level:-87 dBm Noise level:-256 dBm
Encryption key:on
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 22 Mb/s
Extra:bcn_int=100
Extra:atim=0
Cell 04 - Address: 00:01:46:02:BD:1B
ESSID:"Ken Hme"
Protocol:IEEE 802.11b
Mode:Managed
Frequency:2.437 GHz (Channel 6)
Quality:0/100 Signal level:-88 dBm Noise level:-256 dBm
Encryption key:off
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Extra:bcn_int=100
Extra:atim=0


I noticed my ap shows up twice, not sure why that is? I'll post a screen shot.

Darkmage
2006-04-18, 08:09 AM CDT
@ vifa84
I noticed your ap shows up twice, one with Mode:Managed and another Mode:Ad-hoc. Do you have two routers? else make sure Mode in the router settings is set to Managed else change your ssid to something different

vifa84
2006-04-18, 08:33 AM CDT
@ vifa84
I noticed your ap shows up twice, one with Mode:Managed and another Mode:Ad-hoc. Do you have two routers? else make sure Mode in the router settings is set to Managed else change your ssid to something different

Yes, I noticed that too. No I only have one router(dlink-di-624). The only thing I can think of is that I remember changing the wireless settings to extended mode(whatever that does). I will try changing the ssid when I get home. I have two dlink media players, one that connects wirelessly and the other wired, and they have no problem.

BTW I'm glad you asked about frame bursting in the router settings because I was having hanging issues, losing audio etc with my wireless video media player (dlink-dsm-520) especially with higher bitrate mpeg2 videos and after i disabled dynamic turbo all the problems dissappeared.

Darkmage
2006-04-18, 09:33 AM CDT
@vifa84
I am glad one problem solved another problem :D
The wireless dlink media player, does it have the same ssid as the router, if it does then that might be the problem.

vifa84
2006-04-18, 04:01 PM CDT
@vifa84
I am glad one problem solved another problem :D
The wireless dlink media player, does it have the same ssid as the router, if it does then that might be the problem.

Yes it has the same ssid, but I thought it just receives. the two cells do have different mac addresses though so I will turn if off and see what happens when I get home.

vifa84
2006-04-18, 05:02 PM CDT
@vifa84
I am glad one problem solved another pro blem :D
The wireless dlink media player, does it have the same ssid as the router, if it does then that might be the problem.

I turned off the media player and I only get one address now but still not up. Here is what I get:

/sbin/iwlist scan
lo Interface doesn't support scanning.

eth0 Interface doesn't support scanning.

sit0 Interface doesn't support scanning.

wlan0 Scan completed :
Cell 01 - Address: 00:11:95:0C:DF:B2
ESSID:"Bigdog"
Protocol:IEEE 802.11b
Mode:Managed
Frequency:2.437 GHz (Channel 6)
Quality:0/100 Signal level:-30 dBm Noise level:-256 dBm
Encryption key:off
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Extra:bcn_int=100
Extra:atim=0

[root@localhost ~]# /sbin/ifup wlan0

Determining IP information for wlan0... failed; no link present. Check cable?
[root@localhost ~]#

The above mac address matches my router.
DHCP is encabled and working fine because I have my son's laptop which can connect ok with winxp.

Something else I tried from one of your earlier post

# rpm -qa |grep kernel |sort
kernel-2.6.15-1.2054_FC5

[root@localhost ~]# /bin/uname -r
2.6.16-prep

2.6.16-prep is the kernel I compiled but the previous kernel is listed above. Should both kernels be listed?

Darkmage
2006-04-18, 11:50 PM CDT
I turned off the media player and I only get one address now but still not up. Here is what I get:

/sbin/iwlist scan
lo Interface doesn't support scanning.

eth0 Interface doesn't support scanning.

sit0 Interface doesn't support scanning.

wlan0 Scan completed :
Cell 01 - Address: 00:11:95:0C:DF:B2
ESSID:"Bigdog"
Protocol:IEEE 802.11b
Mode:Managed
Frequency:2.437 GHz (Channel 6)
Quality:0/100 Signal level:-30 dBm Noise level:-256 dBm
Encryption key:off
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Extra:bcn_int=100
Extra:atim=0

[root@localhost ~]# /sbin/ifup wlan0

Determining IP information for wlan0... failed; no link present. Check cable?
[root@localhost ~]#

The above mac address matches my router.
DHCP is encabled and working fine because I have my son's laptop which can connect ok with winxp.

Something else I tried from one of your earlier post

# rpm -qa |grep kernel |sort
kernel-2.6.15-1.2054_FC5

[root@localhost ~]# /bin/uname -r
2.6.16-prep

2.6.16-prep is the kernel I compiled but the previous kernel is listed above. Should both kernels be listed?
Both kernels should be listed, here is my output

$ rpm -qa |grep kernel |sort
kernel-2.6.16-1.2112_FC6
kernel-2.6.16-1.2134_FC6
kernel-devel-2.6.16-1.2112_FC6
kernel-devel-2.6.16-1.2134_FC6
$ uname -r
2.6.16-1.2134_FC6


Please post the output of /sbin/lspci

Darkmage
2006-04-18, 11:56 PM CDT
@vifa84
Just curious, any special reason you are using a custom kernel?

vifa84
2006-04-19, 05:43 AM CDT
@vifa84
Just curious, any special reason you are using a custom kernel? po

It was direction from another thread because I couldn't get ndiswrapper to insall by doing make install or yum.I would be willing to try anything though.

vifa84
2006-04-19, 02:48 PM CDT
Both kernels should be listed, here is my output

$ rpm -qa |grep kernel |sort
kernel-2.6.16-1.2112_FC6
kernel-2.6.16-1.2134_FC6
kernel-devel-2.6.16-1.2112_FC6
kernel-devel-2.6.16-1.2134_FC6
$ uname -r
2.6.16-1.2134_FC6


Please post the output of /sbin/lspci

/sbin/lspci
00:00.0 Host bridge: Intel Corporation 82845 845 (Brookdale) Chipset Host Bridge (rev 04)
00:01.0 PCI bridge: Intel Corporation 82845 845 (Brookdale) Chipset AGP Bridge (rev 04)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 05)
00:1f.0 ISA bridge: Intel Corporation 82801BA ISA Bridge (LPC) (rev 05)
00:1f.1 IDE interface: Intel Corporation 82801BA IDE U100 (rev 05)
00:1f.2 USB Controller: Intel Corporation 82801BA/BAM USB (Hub #1) (rev 05)
00:1f.3 SMBus: Intel Corporation 82801BA/BAM SMBus (rev 05)
00:1f.4 USB Controller: Intel Corporation 82801BA/BAM USB (Hub #2) (rev 05)
00:1f.5 Multimedia audio controller: Intel Corporation 82801BA/BAM AC'97 Audio (rev 05)
00:1f.6 Modem: Intel Corporation 82801BA/BAM AC'97 Modem (rev 05)
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility M6 LY
02:00.0 CardBus bridge: Texas Instruments PCI1420
02:00.1 CardBus bridge: Texas Instruments PCI1420
02:08.0 Ethernet controller: Intel Corporation 82801BA/BAM/CA/CAM Ethernet Controller (rev 03)
07:00.0 Network controller: Texas Instruments ACX 111 54Mbps Wireless Interface

Finially got it working. Here is what I did

/sbin/iwconfig wlan0 key open xxxxxxxxxxxxxxxxxxxxxx (my wep key)
/sbin/iwconfig wlan0 essid Bigdog (My ssid name)
dhclient wlan0(not sure what this does but saw it in another post and figured what the hell)
Then I pinged 192.168.0.1 and it pinged
Opened browser and it was working.

Spoke too soon. It was up after these commands but rebooted the computer and it's down again with teh the same message. Seems like the settings change on their own.
How is it that if I delete the wlan0 profile in the gui and check etc/sysconfig/networking the wlan0 files are gone, but If I add a new profile it automaticlly pulls the wep key. Is there anywhere else that saves profiles settings except etc/sysconfig/networking/default and profiles directories?

Ok update: I have to go through this process every time I reboot. the ssid changes to off/any and the security mode changes to restricted. It must be reseting the file when I boot up.

Darkmage
2006-04-19, 08:09 PM CDT
/sbin/lspci
00:00.0 Host bridge: Intel Corporation 82845 845 (Brookdale) Chipset Host Bridge (rev 04)
00:01.0 PCI bridge: Intel Corporation 82845 845 (Brookdale) Chipset AGP Bridge (rev 04)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 05)
00:1f.0 ISA bridge: Intel Corporation 82801BA ISA Bridge (LPC) (rev 05)
00:1f.1 IDE interface: Intel Corporation 82801BA IDE U100 (rev 05)
00:1f.2 USB Controller: Intel Corporation 82801BA/BAM USB (Hub #1) (rev 05)
00:1f.3 SMBus: Intel Corporation 82801BA/BAM SMBus (rev 05)
00:1f.4 USB Controller: Intel Corporation 82801BA/BAM USB (Hub #2) (rev 05)
00:1f.5 Multimedia audio controller: Intel Corporation 82801BA/BAM AC'97 Audio (rev 05)
00:1f.6 Modem: Intel Corporation 82801BA/BAM AC'97 Modem (rev 05)
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility M6 LY
02:00.0 CardBus bridge: Texas Instruments PCI1420
02:00.1 CardBus bridge: Texas Instruments PCI1420
02:08.0 Ethernet controller: Intel Corporation 82801BA/BAM/CA/CAM Ethernet Controller (rev 03)
07:00.0 Network controller: Texas Instruments ACX 111 54Mbps Wireless Interface

Finially got it working. Here is what I did

/sbin/iwconfig wlan0 key open xxxxxxxxxxxxxxxxxxxxxx (my wep key)
/sbin/iwconfig wlan0 essid Bigdog (My ssid name)
dhclient wlan0(not sure what this does but saw it in another post and figured what the hell)
Then I pinged 192.168.0.1 and it pinged
Opened browser and it was working.

Spoke too soon. It was up after these commands but rebooted the computer and it's down again with teh the same message. Seems like the settings change on their own.
How is it that if I delete the wlan0 profile in the gui and check etc/sysconfig/networking the wlan0 files are gone, but If I add a new profile it automaticlly pulls the wep key. Is there anywhere else that saves profiles settings except etc/sysconfig/networking/default and profiles directories?

Ok update: I have to go through this process every time I reboot. the ssid changes to off/any and the security mode changes to restricted. It must be reseting the file when I boot up.

I am not going to say anything about Texas Instruments :mad: support in Linux
The place where wlan0 config file is at /etc/sysconfig/network-scripts/ifcfg-wlan0. The master file is at /etc/sysconfig/network-scripts/ifup-wireless.
edit /etc/sysconfig/network-scripts/ifcfg-wlan0 and add SECURITYMODE: open to the end of file.

Having a security open means the encryption key is not fully authenticated, you type in the wrong encryption key, it still grants you access. Restrictive is the opposite, encryption key is wrong no access

vifa84
2006-04-20, 07:56 AM CDT
I am not going to say anything about Texas Instruments :mad: support in Linux
The place where wlan0 config file is at /etc/sysconfig/network-scripts/ifcfg-wlan0. The master file is at /etc/sysconfig/network-scripts/ifup-wireless.
edit /etc/sysconfig/network-scripts/ifcfg-wlan0 and add SECURITYMODE: open to the end of file.

Having a security open means the encryption key is not fully authenticated, you type in the wrong encryption key, it still grants you access. Restrictive is the opposite, encryption key is wrong no access

So if my ap security is set to open I could enter any 26 character hex key and it would work?

For some reason the network GUI doesn't seem to be working correctly as the only way I've been able to get it up is to do it through the terninal.

What does dhcilent do?

Darkmage
2006-04-21, 10:09 AM CDT
So if my ap security is set to open I could enter any 26 character hex key and it would work?

For some reason the network GUI doesn't seem to be working correctly as the only way I've been able to get it up is to do it through the terninal.

What does dhcilent do?

Yes that is what an open security is. Check /etc/modprobe.conf and make sure that alias ndiswrapper wlan0 is present

For dhclient, do a man dhclient from a terminal. I think it issue a request from your router dhcp server asking for an ip address only if dhcp is turned on.

harlander3000
2006-04-22, 05:03 AM CDT
Can you help please. I get the following error when I try to run

yum -y install kmod-ndiswrapper-$(uname -r)

[root@localhost ~]# yum -y install kmod-ndiswrapper-$(uname -r)
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
core [1/3]
core 100% |=========================| 1.1 kB 00:00
extras [2/3]
extras 100% |=========================| 1.1 kB 00:00
updates [3/3]
updates 100% |=========================| 951 B 00:00
Reading repository metadata in from local files
Parsing package install arguments
No Match for argument: kmod-ndiswrapper-2.6.16-1.2080_FC5
Nothing to do

vifa84
2006-04-22, 09:01 PM CDT
Yes that is what an open security is. Check /etc/modprobe.conf and make sure that alias ndiswrapper wlan0 is present

For dhclient, do a man dhclient from a terminal. I think it issue a request from your router dhcp server asking for an ip address only if dhcp is turned on.

I have it listed as alias wlan0 ndiswrapper in modprobe.conf
I'm not sure what the problem is but the gui just doesn't work. I can enter the ssid, mode, key etc but when I do a /sbiniwconfig it shows ssid off/any and the only way to get it up is to issue the key, ssid, and then dhclient through the terminal, which sucks if you have a laptop and want to set up a profile for different hot spots.

I got the vpn working and can remote desktop to my office computer now. It would freeze imediatly and was due to mtu setting whcih I change in the pptp options.

There has go to be a way to make the gui take control of the card.

vifa84
2006-04-27, 08:08 AM CDT
Ok, Here is an update:
I went into services and made sure the two top services were checked having to do with network manager, I'm at work and can't remember exactly what their called but it put an icon in the upper right hand corner that looks like a mouse. If I click on it, all the available ap's show up and you can click on one to get it working.

Something I think that's causing me a problem is when I created the first wirless profile with the network manager I set it to dhcp, managed, ssid name, channel, wep and hit save. If i open it back up with edit it's listed just as I created it with dhcp checked and all the other settings as I created them. However, if I try to add a new wireless profile and go through the same setup and check dhcp and hit save, it doesn't keep the dhcp. If i open the new profile up with edit it has static ip checked and the dhcp settings greyed out. If I open the config file it has bootproto=none. I can change this to bootproto=dhcp but it's still greyed out in the network manager profile.
I don't understand why dhcp is being greyed out?
So in summary:
wlan0 = settings stay
wlan0:0 = dhcp greyed out
wlan0:1 = dhcp greyed out
and so on.

nicstevens42
2006-04-27, 09:46 AM CDT
Hi,

ndiswrapper is nice and it works real well -- but I prefer native kernel support for the network adapter... Guess what?!?!?!

2.6.16-1.2080_FC5 and 2.6.16-1.2096_FC5 both support the Broadcom wireless adapter!

This isn't a complete howto but is based on my experiences getting the native kernel modules to work.

Make sure you have either of the two kernels listed above.

This document assumes two things:

wlan0 is the device name that ndiswrapper assigns the broadcom device
eth1 is the device name that the native bcm43xx module assigns the broadcom device.

Disclaimer: This has been tested on my Compaq Presario 2570us laptop with the above conditions. I make no claims that this will work for you though it quite possibly might. If, however, it doesn't and it breaks things you own all the pieces.

Now... on with the show ....

Before getting started I suggest you back up the following files:
/etc/modprobe.conf
/etc/sysconfig/network-scripts/ifcfg-*
/etc/sysconfig/network-scripts/keys-*

Now, to make this work you will need to extract the firmware from the windows drivers.
BerliOS has a package to do this. To get the package run:


$ su -
Password: [enter password]
# cd /tmp
# svn checkout svn://svn.berlios.de/bcm43xx/trunk
# cd trunk/fwcutter
# make install
# cd /tmp
# rm -rf trunk


Now that you have the firmware cutter you need to a copy of your windows drivers for your Broadcom device which is almost always bcmwl5.sys. Assuming you have cp'd bcmwl5.sys to /tmp, now run:


# mkdir -p /lib/firmware
# bcm43xx-fwcutter -w /lib/firmware bcmwl5.sys


Now, we need to fix /etc/modprobe.conf by commenting out ndiswrapper and add the new alias for eth1 (or eth0 -- I don't know how linux comes up with the dev names)

change

alias wlan0 ndiswrapper
to
# alias wlan0 ndiswrapper


Now to make sure the eth1 device is brought up on startup, do the following:
$ cd /etc/sysconfig/network-scripts
# cat ifcfg-wlan0 | sed 's/wlan0/eth1/g' >ifcfg-eth1
# cp ifcfg-wlan0 tmp; cat tmp | sed 's/ONBOOT=yes/ONBOOT=no/g'>ifcfg-wlan0; rm -f tmp
# [ -f keys-wlan0 ] && cp keys-wlan0 keys-eth1
Now at this point I needed to reboot because doing the rmmod and modprobe commands to switch the drivers didn't seem to work. I think this is because of the state of the firmware after ndiswrapper loads the windows drivers.

Keep in mind that in this procedure the device name changed from wlan0 to eth1. Your devices may use different names.

If your device name has changed you may have to update other configuration files or programs -- for example I had to change the device for the Gnome Network Monitor Applet.

michaelh
2006-04-27, 12:27 PM CDT
I have a question.
I am going to use the NETGEAR WG111v2 WLAN adaptor.

1.Is my WLAN adaptor compatible with ndiswrapper?
2. The CD contains a folder for each Windows OS(98SE,ME,2000/XP), containing the drivers and inis. which folder do I select from?

Mike

vifa84
2006-04-27, 12:41 PM CDT
Hi,

ndiswrapper is nice and it works real well -- but I prefer native kernel support for the network adapter... Guess what?!?!?!

2.6.16-1.2080_FC5 and 2.6.16-1.2096_FC5 both support the Broadcom wireless adapter!

This isn't a complete howto but is based on my experiences getting the native kernel modules to work.

Make sure you have either of the two kernels listed above.

This document assumes two things:

wlan0 is the device name that ndiswrapper assigns the broadcom device
eth1 is the device name that the native bcm43xx module assigns the broadcom device.

Disclaimer: This has been tested on my Compaq Presario 2570us laptop with the above conditions. I make no claims that this will work for you though it quite possibly might. If, however, it doesn't and it breaks things you own all the pieces.

Now... on with the show ....

Before getting started I suggest you back up the following files:
/etc/modprobe.conf
/etc/sysconfig/network-scripts/ifcfg-*
/etc/sysconfig/network-scripts/keys-*

Now, to make this work you will need to extract the firmware from the windows drivers.
BerliOS has a package to do this. To get the package run:


$ su -
Password: [enter password]
# cd /tmp
# svn checkout svn://svn.berlios.de/bcm43xx/trunk
# cd trunk/fwcutter
# make install
# cd /tmp
# rm -rf trunk


Now that you have the firmware cutter you need to a copy of your windows drivers for your Broadcom device which is almost always bcmwl5.sys. Assuming you have cp'd bcmwl5.sys to /tmp, now run:


# mkdir -p /lib/firmware
# bcm43xx-fwcutter -w /lib/firmware bcmwl5.sys


Now, we need to fix /etc/modprobe.conf by commenting out ndiswrapper and add the new alias for eth1 (or eth0 -- I don't know how linux comes up with the dev names)

change

alias wlan0 ndiswrapper
to
# alias wlan0 ndiswrapper


Now to make sure the eth1 device is brought up on startup, do the following:
$ cd /etc/sysconfig/network-scripts
# cat ifcfg-wlan0 | sed 's/wlan0/eth1/g' >ifcfg-eth1
# cp ifcfg-wlan0 tmp; cat tmp | sed 's/ONBOOT=yes/ONBOOT=no/g'>ifcfg-wlan0; rm -f tmp
# [ -f keys-wlan0 ] && cp keys-wlan0 keys-eth1
Now at this point I needed to reboot because doing the rmmod and modprobe commands to switch the drivers didn't seem to work. I think this is because of the state of the firmware after ndiswrapper loads the windows drivers.

Keep in mind that in this procedure the device name changed from wlan0 to eth1. Your devices may use different names.

If your device name has changed you may have to update other configuration files or programs -- for example I had to change the device for the Gnome Network Monitor Applet.

My linksys pcmcia wireless card wpc54g v2 uses a texas instruments chipset and the inf file is LSTINDS.INF. I wonder if this would work with my card?

nicstevens42
2006-04-27, 12:56 PM CDT
My linksys pcmcia wireless card wpc54g v2 uses a texas instruments chipset and the inf file is LSTINDS.INF. I wonder if this would work with my card?

You need to know the actual chipset, then you can either google "linux tixxxx" or if you feel like a little spelunking you can dig thru the kernel sources to see if there is support.

I found the information out about the BCM support while looking for something totally unrelated.

nicstevens42
2006-04-27, 12:57 PM CDT
I have a question.
I am going to use the NETGEAR WG111v2 WLAN adaptor.

1.Is my WLAN adaptor compatible with ndiswrapper?
2. The CD contains a folder for each Windows OS(98SE,ME,2000/XP), containing the drivers and inis. which folder do I select from?

Mike

ndiswrapper implements some ntoskernl api stuff so I would use either 2000 or XP, preferring XP.

-n

michaelh
2006-04-27, 01:17 PM CDT
Thank you for helping me there.

s_esquibel
2006-04-28, 08:30 AM CDT
Here's the situation:

I have compiled and am running a 16K Stack version of 2096_FC5 kernel
Against that source, I compiled the latest stable ndiswrapper (1.15, i think)
I compiled ndiswrapper, and used modprobe to insert the module.
iwconfig and dmesg show up ok with no errors, and I am able to see networks
I open System>>Administration>>Network and the wlan0 shows up fine

With my router, I have WEP (128 bit) encryption and MAC filtering
I know the MAC address is ok, since I dual boot with WinXP and use the wireless for that
I know that the WEP key is fine since the same key is used for eth0 (wired connection to the router)

When I try and activate the connection, it cannot determine an IP address. All network (including DHCP) settings are basically copied from eth0.

Is there something that I am missing here?

nicstevens42
2006-04-28, 08:53 AM CDT
Does iwconfig show a key?

# iwconfig eth1
eth1 IEEE 802.11b/g ESSID:"myrouter" Nickname:"myhost.exampe.com"
Mode:Managed Frequency=2.462 GHz Access Point: 00:80:1F:1D:A3:2D
Bit Rate=11 Mb/s Tx-Power=15 dBm
RTS thr:off Fragment thr:off
Encryption key:1381-8304-6762-732D-3432-3135-39 Security mode:open

s_esquibel
2006-04-28, 09:09 AM CDT
Yep, the key shows up exactly as it should be. I noticed that I get errors (8B06, I believe) when I change the mode to Auto, and no errors when it is Managed. The channel and key are correct. But when I get home, I'll verify. Any other thoughts?

nicstevens42
2006-04-28, 09:56 AM CDT
Nah, I was hoping it was an encryption issue as I have had the system-config-network GUI corrupt my key values.

Other than that I got nothin :(

nicstevens42
2006-04-28, 11:53 AM CDT
Ok

I'm stumped now...

I'm trying to get the wireless card on my GF's laptop to work but to no avail ...

The card in question is a Cardbus Airlink+ AWLC3025 which uses an ACX 111 chipset.

It shows up in lspci:
06:00.0 Network controller: Texas Instruments ACX 111 54Mbps Wireless Interface

But ndiswrapper seems to not be able to load it ... I am using the XP drivers that came with the card... here is the ndiswrapper output:

ndiswrapper version 1.13 loaded (preempt=no,smp=no)
ndiswrapper: driver tnet1130 (Texas Instruments,03/10/2004,6.0.0.18) loaded
ndiswrapper (start_pdo:318): couldn't request PCI regions: fffffff0
ndiswrapper: probe of 0000:06:00.0 failed with error -22


Ideas?

-Nic

pengyou12345
2006-05-09, 07:45 PM CDT
I have a BCM4306 802.11b/g card in my HP ZV5450 Laptop. The installed kernel is 2.6.16-1.2108_FC4smp and ndiswrapper packages are ndiswrapper-1.13-1.1.lvn4 and kernel-module-ndiswrapper-2.6.16-1.2108_FC4smp-1.13-1.1.lvn4.

Then I followed your post instruction to configure it using ndiswrapper step by step without any problem. Here are the output messgaes,

# /usr/sbin/ndiswrapper -i <your home directory>/bcmwl/bcmwl5.inf
# /usr/sbin/ndiswrapper -l
#output: Installed drivers:
bcmwl5 driver installed, hardware present
# /sbin/depmod -a
#/sbin/modprobe ndiswrapper
# dmesg
#output: ndiswrapper version 1.13 loaded (preempt=no,smp=yes)
ndiswrapper: driver bcmwl5 (Broadcom,04/21/2005, 3.100.65.1) loaded
ACPI: PCI Interrupt 0000:02:02.0[A] -> GSI 18 (level, low) -> IRQ 201
ndiswrapper: using irq 201
wlan0: vendor: ''
wlan0: ndiswrapper ethernet device 00:90:4b:a3:34:4c using driver bcmwl5, 14E4:4320:103C:12F8.5.conf
wlan0: encryption modes supported: WEP; TKIP with WPA, WPA2, WPA2PSK; AES/CCMP with WPA, WPA2, WPA2PSK

# /usr/sbin/ndiswrapper -m

Unfortunately, I didn't find any alias to wlan0 in /etc/modprobe.conf and there is no the file of/etc/sysconfig/network-scripts/ifcfg-wlan0. In network setting windows, I can't find wlan0 in the box of "select wireless device".

then I ran iwconfig, here is the output:
------------------ begin --------------------------------
lo no wireless extensions.

eth0 no wireless extensions.

sit0 no wireless extensions.

wlan0 IEEE 802.11g ESSID:off/any
Mode:Managed Frequency:2.462 GHz Access Point: 00:00:00:00:00:00
Bit Rate:54 Mb/s Tx-Power:25 dBm
RTS thr:2347 B Fragment thr:2346 B
Encryption key:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
------------------ end ----------------------------------------

Could you tell what is wrong with my configuration and how to get over it? Thank you so much!

nicstevens42
2006-05-09, 08:49 PM CDT
You might want to try the native bcm43xx driver ... see my post http://forums.fedoraforum.org/showpost.php?p=515690&postcount=385

okplayer02
2006-05-09, 10:39 PM CDT
when i try to do the command modprobe ndiswrapper

i get the following error message FATAL: Module ndiswrapper not found


why am i getting this

Darkmage
2006-05-10, 05:08 AM CDT
when i try to do the command modprobe ndiswrapper

i get the following error message FATAL: Module ndiswrapper not found


why am i getting this

Do you have ndiswrapper installed for the kernel you are running
uname -r
rpm -qa |grep ndiswrapper

jaylakes
2006-05-10, 08:00 AM CDT
Just a quick heads up. It would seem that with the most recent update of the wpa_supplicant rpm, there is now a message showing up stating that the ndiswrapper driver is deprecated.
This eventually ended with my wireless connection failing to start this morning. After editing /etc/sysconfig/wpa_supplicant and changing -Dndiswrapper to -Dwext and restarting wpa_supplicant and running ifup wlan0, I was back in business.

Details:
ndiswrapper 1.16 with kernel 2.6.16-1.2111_FC5.i686

(NOTE: to be absolutely certain that there are no version conflicts between the livna prepackaged rpm and your latest kernel from RHN, I recommend downloading the ndiswrapper source but running 'make rpm' instead of 'make ; make install' this builds the ndiswrapper rpms in /usr/src/redhat/RPMS/i386)

wpa_supplicant verion
Name : wpa_supplicant Relocations: (not relocatable)
Version : 0.4.8 Vendor: Red Hat, Inc.
Release : 7.fc5 Build Date: Sun 02 Apr 2006 11:14:02 AM EDT

with a Linksys WPC11 802.11b NIC and the rtl8180 driver.

I saw the same problem on a friends machine with the WPC54G 1.2 NIC. I'll be trying this fix on his FC5 laptop tonight and will post the result.

aschreiber1
2006-05-14, 05:12 PM CDT
OK. So I did not heed the age old saying "leave well enough alone".

I installed FC5 like 6 weeks ago and after a few days of learning all about linux and ndiswrapper I was able to get WiFi working. The problem was that I also wanted to run Oracle 10g AS on this box and at least at the time it was not supported. Technically it's still not supported but I did find an article or two written by known Oracle gurus that have claimed successful installations on FC5 although I have yet to replicate it.

Anyhow, much to my dismay I decided to downgrade to FC4 only to find that I was not able to get Wifi working so I upgraded back to FC5 and now it's been like 2 weeks and I can't for the life of me figure out what I did to get it to work the first time around.

I know that most of my setup is correct. I am using a Belkin Pre-n Wireless card in my Dell Dimension 4700 SMP computer. I have the latest kernel installed (and yes I even tried formatting my hard drive and using the kernel that I first used to successfully get wifi working 6 weeks ago and that did not work either) which is currently version 2.6.16-1.2111_FC5.stk16smp. I recently patched the 2.6.16-1.2111_FC5smp version to incorporate the 16k stack (even though I was able to use the 4k one in my successful attempt several weeks ago b/c after so many failed attempts I figured it couldn't hurt).

So this is where I stand now:

1. Installed Fedora Core 5
2. Updated all packages, kernel etc. so I am running 2.6.16-1.2111_FC5.stk16smp
3. Downloaded and installed kernel-smp-devel-2.6.16-1.2111_FC5.stk16.i686.rpm
4. Installed latest version of ndiswrapper using the src files from the package noted above and got no errors during compilation/installation
5. Installed Windows "inf" driver (made sure to use the Netgear one instead of the Belkin one located on the CD just like I did the first time around when I successfully got WiFi to work).
6. Ran all the necessary commands (i.e. ndiswrapper -i /u01/wifi_drivers/NetAni.inf, ndiswrapper -l, ndiswrapper -m etc.)
7. Added necessary alias entry to etc/modprobe.conf file (i.e. alias wlan0 Belkin)
8. Added pci=assign-busses as new parameter to grub.conf
9. Ran command "iwconfig wlan0 essid gonzo" and witnessed that the device had bound itself to my AP (it had the MAC address for my Wifi router) and it also had the correct SSID name which is "gonzo".
10. Checked to make sure I could actually "see" Access Points by running iwlist wlan0 scan and it returned 4 nearby AP so I know the card is technically "working".

This is where the problem occurs:

11. I either run "dhclient wlan0" or I click on my Wifi card in the Network section under "System => Configuration => Network" and click "Activate" and it never gets an IP address from the router.

I have the correct channel set (my router is using 11) and I tried using both "managed" and "auto" for the wifi card configuration type.

So as you can see I have become somewhat of an "expert" on this subject. The REALLY irritating thing was that although configuring WiFi on FC5 was no picnic the first time around (it did take me like 2 days) it's absolutely driving me UP THE FREAKING WALL now that I can't figure it out the second, third, fourth etc. time around.

I basically need another set of eyes. The thing I don't get is that when I check my router's log it shows that this wifi card has made multiple "successful" connection attempts. The problem is it never actually assigns it an IP. I even have encryption disabled for the time being just to avoid any issues that could complicate communication between the router and the NIC card.

If there is anyone out there that could help me figure out what the heck I am doing wrong I would GREATLY appreciate it.

Thanks in advance.

Darkmage
2006-05-16, 06:43 AM CDT
@aschreiber1

what type of network interface driver?
/sbin/lspci

blakelock
2006-05-17, 10:48 AM CDT
Hi all,
I ran across many of the same problems reported in this thread. Here’s how I finally got it to work. I have a Dell Inspiron 1100 with a fresh fedora core 5 install and a SMC2635W (I think?) wireless pcmcia card. I installed the "developement" packages through the "add programs" GUI but the kernel build files didn’t seem to be where they were supposed to be. This resulted in errors when I tried to compile ndiswrapper from src. So I used yum.

I started by configuring for livna installs. On their site (rpm.livna.org) it suggested to run:
# rpm -ivh http://rpm.livna.org/livna-release-5.rpm

Then I REALLY installed the development package. The ndiswrapper wiki (http://ndiswrapper.sourceforge.net/mediawiki/index.php/Fedora) instructed to:
# yum install kernel-devel


This upgraded the kernel as well as installed the development package. Then I installed ndiswrapper like this
# yum install kmod-ndiswrapper

ndiswrapper and all dependencies were then downloaded and installed. Then I followed Darkimage’s kick-azz instructions which I will repeat here:
# mkdir /home/blakelock/smc
(copied all windows driver files from CD into this directory, then:)
# /usr/sbin/ndiswrapper –i /home/blakelock/smc/netsmc.inf
# /usr/sbin.ndiswrapper –l
# /sbin/depmod –a
# /sbin/modprobe ndiswrapper
# /usr/sbin/ndiswrapper –m

this last command was supposed to add an alias for ndiswrapper to the modprobe.conf file but it didn’t work (no listing in the network config GUI). So I just opened and edited the /etc/modprobe.conf file by adding the line “alias wlan0 ndiswrapper”.

Then (as per Darkimage's instructions):
close terminal and point your cursor to Desktop -->System Settings -->Network Configuration and type in the root's password when prompted. In Network Configuration, click on New and then "Select Device type box" shows, highlight Wireless connection and click on "Forward". This brings up the "Select Wireless Device box" window, which has ndiswrapper(wlan0) highlighted, then click "Forward". This bring up the "Configure Wireless Connection box" which allows you to set the mode, ssid, channel, rate and hex key. After you are done, click "Forward". This brings up the "Configure Network Settings box" which allows you to set the dhcp, dns and ip address. When you are done, then click forward. The next box "Create Wireless Device box" has all you settings for you to double check before hitting apply.

For my system, I used dhcp, the SSID name specific to my network, and I believe I used “managed” mode and no encryption key (left the line blank). The card works in windows so I just tried to use the same settings in linux that I use in windows. I restarted the system and the wireless card came up at boot time. I was initially getting the “error, check cable?” message until I finally found the proper settings.

Good luck!
blakelock

aschreiber1
2006-05-17, 03:07 PM CDT
@aschreiber1

what type of network interface driver?
/sbin/lspci

Belkin F5D8000

I read in a post on some other messageboard that one should not use the actual Belkin drivers that came on the CDROM, rather they should use specific NETGEAR drivers that have the same chipset. This is what I did (both currently and the first time around when I got it to work several weeks ago).

http://www.linuxquestions.org/questions/showthread.php?t=379814&page=2

Look at the posts by mchoy and ben666 about midway through the page.

aschreiber1
2006-05-17, 03:16 PM CDT
I seem to be getting to the same point you are but as you can see by my post either my card connects to my router and then disconnects like 2 seconds later or my router seems to have all of a sudden just rejected any attempts by my wifi card to connect altogether.

I know the card works b/c I am dual booting Windows Server 2003 and FC5 (same as before) and the card works in Win2k3 and as previously mentioned also worked in FC5 the first time around.

I have since installed and reinstalled FC5, FC4 and RHEL 4 like 10 times with no luck!!!

Can anyone out there help me? I will paypal anyone who is willing to help me get my wifi up and running $20. I promise not to pull anything like say your ideas didn't work when they really did to avoid payment.

Another thing I should add is that in the list of network devices I have ndiswrapper (wlan0) listed but it's status is "configured" as opposed to "OK" and I can't activate it b/c every time I try it says "unable to obtain IP address". There is nothing wrong with my router b/c as soon as I reboot into Windows it gives the Wifi card an IP immediately.

aschreiber1
2006-05-17, 04:19 PM CDT
I think I am a bit closer to figuring out what my problem might be. When I first got all this WiFi in FC5 working I didn't update my kernel or pay much attention to the fact that I could use the smp (symetric multi-processing) kernel or just the regular one. But then on my first (and subsequent installations) I got a little too smart for my own good. Once I figured out how to use yum (and also downloaded yumex so I could have a GUI for yum) I went update happy. Before I knew it I was running a newer kernel and none of the instructions anyone had posted dealt specifically with smp kernels. So I just blindly listened to other people's advice in postings all over the internet and without thinking that I was using an smp version of the kernel, I started downloading versions of ndiswrapper for the regular version of the kernel. Also I probably had so many different kernels, source files and broken symbolic links etc. that no wonder things weren't working.

Anyhow, here I am with my linux box back up and still no luck. I want to have the latest updates to my system but it seems like every time I update it I can't get WiFi to work.

Jo Cook
2006-05-18, 02:33 AM CDT
Hi,


I must say I found this article incredibly useful for setting up my wifi card in Fedora 4, so many thanks for it!

There were a few tiny things I had to do differently though, so I thought I'd add them in as a service to other n00bs passing this way... (apologies to non-n00bs for going through some really obvious things)

1: In order to set up the livna repository for yum I had to change the line "gpgcheck=1" to "gpgcheck=0", otherwise the installation wouldn't work because it didn't have the public key.

2: In order to find the exact drivers for my card I had to go here: http://ndiswrapper.sourceforge.net/mediawiki/index.php/Installation#Prerequisites

3: When I got to the bit about adding the alias for ndiswrapper the ndiswrapper -m command didn't seem to work. It said it had added the alias, but the network configuration interface didn't list the new device. After rebooting a few times to see if it worked (and it didn't) I had to manually add the alias to modprobe.conf, and that time it worked.


Again, many thanks for the great how-to


Jo

pengyou12345
2006-05-23, 07:39 AM CDT
I have posted my question for configuring my Broadcom wireless card in my laptop. So far I haven't fixed it. I updated my kernel and reinstalled ndiswrapper. I followed the steps as instructed by Darkmage. In /etc/modprobe.d/ndiswrapper, there is 'alias wlan0 ndiswrapper', and however, in /etc/modprobe.conf, there is no 'alias wlan0 ndiswrapper'.

Then I closed terminal and went to Desktop -->System Settings -->Network Configuration and typed in the root's password when prompted.
In Network Configuration, clicked on New and then "Select Device type box" showed, highlighted Wireless connection and clicked on "Forward".
This brought up the "Select Wireless Device box" window. Unforunately, there is no ndiswrapper(wlan0) highlighted, and only there is 'other wireless card' highlighted. I cann't go further any more. Would you do me a big favor to solve this problem?

In addition , my kernel is 2.6.16-1.2111_FC4smp. installed ndiswrapper rpms are kernel-module-ndiswrapper-2.6.16-1.2111_FC4smp-1.13-1.1.lvn4 and ndiswrapper-1.13-1.1.lvn4
Thank you!

Darkmage
2006-05-23, 02:25 PM CDT
I have posted my question for configuring my Broadcom wireless card in my laptop. So far I haven't fixed it. I updated my kernel and reinstalled ndiswrapper. I followed the steps as instructed by Darkmage. In /etc/modprobe.d/ndiswrapper, there is 'alias wlan0 ndiswrapper', and however, in /etc/modprobe.conf, there is no 'alias wlan0 ndiswrapper'.

Then I closed terminal and went to Desktop -->System Settings -->Network Configuration and typed in the root's password when prompted.
In Network Configuration, clicked on New and then "Select Device type box" showed, highlighted Wireless connection and clicked on "Forward".
This brought up the "Select Wireless Device box" window. Unforunately, there is no ndiswrapper(wlan0) highlighted, and only there is 'other wireless card' highlighted. I cann't go further any more. Would you do me a big favor to solve this problem?

In addition , my kernel is 2.6.16-1.2111_FC4smp. installed ndiswrapper rpms are kernel-module-ndiswrapper-2.6.16-1.2111_FC4smp-1.13-1.1.lvn4 and ndiswrapper-1.13-1.1.lvn4
Thank you!

edit /etc/modprobe.conf and add alias wlan0 ndiswrapper
save, restart laptop and the check if wlan0 is there when you try to configure the wireless connection

pengyou12345
2006-05-23, 09:05 PM CDT
it works now. Thank you so much!

anmolsethy
2006-05-24, 10:53 PM CDT
Hi all,
I ran across many of the same problems reported in this thread. Here’s how I finally got it to work. I have a Dell Inspiron 1100 with a fresh fedora core 5 install and a SMC2635W (I think?) wireless pcmcia card. I installed the "developement" packages through the "add programs" GUI but the kernel build files didn’t seem to be where they were supposed to be. This resulted in errors when I tried to compile ndiswrapper from src. So I used yum.

I started by configuring for livna installs. On their site (rpm.livna.org) it suggested to run:
# rpm -ivh http://rpm.livna.org/livna-release-5.rpm

Then I REALLY installed the development package. The ndiswrapper wiki (http://ndiswrapper.sourceforge.net/mediawiki/index.php/Fedora) instructed to:
# yum install kernel-devel


This upgraded the kernel as well as installed the development package. Then I installed ndiswrapper like this
# yum install kmod-ndiswrapper

ndiswrapper and all dependencies were then downloaded and installed. Then I followed Darkimage’s kick-azz instructions which I will repeat here:
# mkdir /home/blakelock/smc
(copied all windows driver files from CD into this directory, then:)
# /usr/sbin/ndiswrapper –i /home/blakelock/smc/netsmc.inf
# /usr/sbin.ndiswrapper –l
# /sbin/depmod –a
# /sbin/modprobe ndiswrapper
# /usr/sbin/ndiswrapper –m

this last command was supposed to add an alias for ndiswrapper to the modprobe.conf file but it didn’t work (no listing in the network config GUI). So I just opened and edited the /etc/modprobe.conf file by adding the line “alias wlan0 ndiswrapper”.

Then (as per Darkimage's instructions):
close terminal and point your cursor to Desktop -->System Settings -->Network Configuration and type in the root's password when prompted. In Network Configuration, click on New and then "Select Device type box" shows, highlight Wireless connection and click on "Forward". This brings up the "Select Wireless Device box" window, which has ndiswrapper(wlan0) highlighted, then click "Forward". This bring up the "Configure Wireless Connection box" which allows you to set the mode, ssid, channel, rate and hex key. After you are done, click "Forward". This brings up the "Configure Network Settings box" which allows you to set the dhcp, dns and ip address. When you are done, then click forward. The next box "Create Wireless Device box" has all you settings for you to double check before hitting apply.

For my system, I used dhcp, the SSID name specific to my network, and I believe I used “managed” mode and no encryption key (left the line blank). The card works in windows so I just tried to use the same settings in linux that I use in windows. I restarted the system and the wireless card came up at boot time. I was initially getting the “error, check cable?” message until I finally found the proper settings.

Good luck!
blakelock
i am also getting error check cable error, can you please tell me how to see the correct settings
here is my iwlist scan output::
wlan0 Scan completed :
Cell 01 - Address: 00:13:10:92:31:DA
ESSID:"linksys"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.462 GHz (Channel 11)
Quality:0/100 Signal level:-88 dBm Noise level:-256 dBm
Encryption key:off
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
12 Mb/s; 48 Mb/s
Extra:bcn_int=100
Extra:atim=0

Dzo
2006-05-25, 06:09 AM CDT
:( everything seems to be loading alright however it doesn't appear in the Network setup GUI as described in the guide? Any pointers?

Dzo
2006-05-25, 06:17 AM CDT
edit /etc/modprobe.conf and add alias wlan0 ndiswrapper
save, restart laptop and the check if wlan0 is there when you try to configure the wireless connection

That sorted it ;)

ashley349
2006-05-29, 08:49 AM CDT
Hi, I'm a linux newbie so be gentle with me.

I'm using kernel 2.6.16-1.2122_FC5 64-bit with the kernel-devel installed. I'm tyring to get my belkin F5D7050 working with it. I have been messing around with it for hours, doing the things suggested on this forum and elsewhere. I think I have managed to find the appropriate 64 bit driver for it. When I do "ndiswrapper -l", it just says that the driver installed. Then I told ndiswrapper to specifically use that driver for that piece of hardware ("ndiswrapper -d deviceID driver" I think), and have added "alias wlan0 ndiswrapper" to /etc/modprobe.conf. When I go to the network settings and add the wlan0 ndiswrapper and try to activate it, it says the device is not connected. I get an error message along the lines of "kernel tainted" when I do "dmesg |grep ndiswrapper". I'm not booted into fedora at the moment so I can't be more specific. Hopefully you can point me in the right direction and I'll provide more details then. May be some issue with 64 bit? Oh and I'm using SELinux if that is important...

aschreiber1
2006-05-29, 01:19 PM CDT
SUCCESS!!!

I finally got my WiFi card working again! I am such an idiot! All this time I thought I was using the Netgear drivers and somehow I must have copied over the Belkin drivers by mistake. I still cannot get WPA encryption to work. Each time I enable WPA_SUPPLICANT my pc freezes.

fcn00b
2006-05-29, 01:23 PM CDT
I got mine to work by manual configuration (the wireless key) but haven't touched wpa. See the excellent docs at ndiswrapper page.

aschreiber1
2006-05-29, 01:53 PM CDT
Hi, I'm a linux newbie so be gentle with me.

I'm using kernel 2.6.16-1.2122_FC5 64-bit with the kernel-devel installed. I'm tyring to get my belkin F5D7050 working with it. I have been messing around with it for hours, doing the things suggested on this forum and elsewhere. I think I have managed to find the appropriate 64 bit driver for it. When I do "ndiswrapper -l", it just says that the driver installed. Then I told ndiswrapper to specifically use that driver for that piece of hardware ("ndiswrapper -d deviceID driver" I think), and have added "alias wlan0 ndiswrapper" to /etc/modprobe.conf. When I go to the network settings and add the wlan0 ndiswrapper and try to activate it, it says the device is not connected. I get an error message along the lines of "kernel tainted" when I do "dmesg |grep ndiswrapper". I'm not booted into fedora at the moment so I can't be more specific. Hopefully you can point me in the right direction and I'll provide more details then. May be some issue with 64 bit? Oh and I'm using SELinux if that is important...
Hey Ashley. I am almost tempted to let you squirm for awhile considering how long it's taken me to get my WiFi up and running but then again I would have paid money to have someone get it working for me so I will try to do what I can to help you out.

First of all I highly recommend staying away from the 64bit kernels. I say this for several reasons. The primary ones being that there's no real justification for using 64bit b/c there's still so little software out there that utlizes the instruction set and secondly when things usually get developed they are developed for the most common platform, environment, architecture etc. first and then once all of the bugs are worked out they start development on stuff like 64bit. It's just like in the Windows/MAC world. Most stuff is available for Windows first and then MAC.

So I would actually go ahead and install the non-64bit kernel and edit /boot/grub/grub.conf to make sure that the non-64bit kernel is set as the default. You can always choose to boot into the 64bit kernel whenever you want and you always have the option to remove the non-64bit kernel using yum. Doing this will help diagnose any installation errors you may have trying to get ndiswrapper and your Belkin (or should I say Netgear) drivers to work.

Also, I always tell people to install yumex. It's a great GUI for YUM. Just type the following at the command line:

yum install yumex

When it's finished you can find the GUI under Applications=>System Tools.

This is great b/c it makes sure you download the correct stuff for updates.

Now here's the thing. First click on the "Repos" button on the left toolbar and make sure that core, updates, extras and development are all checked off. Then click refresh. Then click on Install and look for the non-64bit Kernel and also check off the development package as well. Once you have checked both of them off click "Add to Queue".

Make sure you get the right kernels. You have many different flavors depending on your system's architecture so before selecting any of them open up a terminal window and enter "uname -a" and hit enter. This will tell you all about the current version of your OS, kernel version, whether or not you have more than 1 CPU etc. The cpu thing is also important. There are different versions of the kernel for single or multiple CPUs. The ones that have SMP mean they are for multiple CPU machines (i.e. Symmetric Multi Processor).

Like my advice for steering clear of the 64bit version I would also first try to get your system configured correctly using the single CPU kernel version first. You can always install and try to configure the SMP version later.

Once you have the right kernel selected along with it's development package (you will need this later when compiling ndiswrapper) go to Queue and click "Process Queue".

Once you have done all that, restart your computer and make sure to select the most "bare bones" kernel from the Grub boot menu (i.e. no SMP and no 64bit).

Once you are logged into Fedora, open a browser window and go to http://rpm.livna.org/configuration.html and scroll down to where it says Fedora Core 5 (Bordeaux). Click on the link so you can start using the rpm.livna.org repository and install the package.

Now run yumex from Applications => System Tools and first get all the updates to the OS like you did before but make sure to first click "Repos" and select the newest repository which we just added, livna.

Once the updates have been installed, reboot your computer again always making sure to select the bare bones kernel. In fact, you might want to edit the grub.conf file so that the default is set to the regular kernel and also make sure to add the following parameter to each of the kernel entries.

pci=assign-busses

Each entry will begin with the word "Title". At the end of each line that starts with "kernel" add 'pci=assign-busses' -without the quotes.

Let's take a bit of a breather here. Once you've finished up everything I just mentioned above let me know and we'll continue.

ashley349
2006-05-30, 02:57 PM CDT
I used the 64 bit Fedora DVD and the normal kernels don't seem to be listed so I suppose I have to get the 32 bit edition.

aschreiber1
2006-05-30, 03:45 PM CDT
The url for the 32 bit edition is http://download.fedoraproject.org/pub/fedora/linux/core/5/i386/iso/. In order to download the DVD iso you will need to use an ftp client like SmartFTP (which is free).

ashley349
2006-05-30, 03:47 PM CDT
My internet connection is quite poor so I think I'll just order a disc of it. I'm going to be busy for the next week and a half and don't want to mess around with this stuff right now so I'll restart my efforts then.

rockdale
2006-06-03, 10:26 AM CDT
Where do I get the kernel-devel package, I have the same problem as post #20. I tried to do it by the instructions and couldn't make it work - due the fact that I had a developers package. Where do I get the kernal-devel package and take out the path. As mentioned in the answer from post #21

AlmereLinux
2006-06-05, 01:18 PM CDT
Hi,

I finally got around to installing my old (t)rusty WLAN-card. The tutorial helped me perfectly to install ndiswrapper and the kernel-module. The installation on my Fedore Core 4 couldn't follow the exact instructions, because the system-config screen could not find my card, even though I did not forget to use "ndiswrapper -m". In the end I tried to manually add my card by editing /etc/modprobe.conf. I added "alias wlan0 ndiswrapper" as the last line. After doing this, eveything worked as explained in the tutorial at the beginning.

Thanks for the help!

aschreiber1
2006-06-06, 05:52 PM CDT
Where do I get the kernel-devel package, I have the same problem as post #20. I tried to do it by the instructions and couldn't make it work - due the fact that I had a developers package. Where do I get the kernal-devel package and take out the path. As mentioned in the answer from post #21
if you install yumex and click on the repos button and select development and then click on the install button you will then see additional packages that are the development packages.

To install yumex open a terminal window and type:

yum install yumex

-Ami

TomasL
2006-06-07, 02:58 AM CDT
Having big troubles in FC4.
Using kernel 2.6.16-1.2108 compiled with 8k stack.
Network card is D-Link GWL-G630 Rev E1, using RT61 chipset.
Ndiswrapper compiles and installs okj without errors.
Win drivers installs fine, firmware located in /lib/firmware.

modprobing ndiswrapper without errors.

for some reason the card is called ra0 and not wlan0, don't know why though, and no rt2x00 drivers is not installed, neither any other RaLink linuxdrivers, only ndiswrapper and windows XP drivers.

I get the following dmesg: ra0 is reset.

I CAN'T set ssid, nor anything. ndiswrapper refuses any commands from iwconfig, just says ssid "default".
No AP's is found during scan.
wpa_supplicant tells me that "#association request with the driver failed.

I'm out of clues now, anyone having ideas?

rexus
2006-06-08, 08:58 AM CDT
how do I know that my kernel is 8k stack, 16k stack or anything else ?

s_esquibel
2006-06-08, 09:43 AM CDT
If you rebuild the standard Fedora kernel, there's an option to use 4k/8k stacks. You can visit Linuxant (http://www.linuxant.com/driverloader/wlan/full/downloads.php) for 16k stack compiled kernels or source if you wish to compile your own.

rexus
2006-06-08, 10:25 PM CDT
If I download the kernel from fedora.redhat.com/download, which stack am I downloading ?
how do I know the stack if I cannot see it in the file name ?

rexus
2006-06-09, 06:07 PM CDT
you'll be very surprised with this one.

[adhika@localhost ~]$ su
Password:
[root@localhost adhika]# ls -l *.rpm
-rwxr-xr-x 1 adhika adhika 14028788 May 9 09:46 kernel-2.6.16-1.2111_FC5.stk16.i686.rpm
-rwxr-xr-x 1 adhika adhika 4778486 May 9 09:46 kernel-devel-2.6.16-1.2111_FC5.stk16.i686.rpm
-rwxr-xr-x 1 adhika adhika 81507 Jun 9 21:08 kmod-ndiswrapper-1.13-3.2.6.16_1.2111_FC5.i686.rpm
-rwxr-xr-x 1 adhika adhika 28817 Jun 9 21:09 ndiswrapper-1.13-2.lvn5.i386.rpm
[root@localhost adhika]# uname -a
Linux localhost.localdomain 2.6.16-1.2111_FC5.stk16 #1 Mon May 8 10:49:23 EDT 2006 i686 athlon i386 GNU/Linux
[root@localhost adhika]# rpm -ivh kmod-ndiswrapper-1.13-3.2.6.16_1.2111_FC5.i686.rpm
warning: kmod-ndiswrapper-1.13-3.2.6.16_1.2111_FC5.i686.rpm: Header V3 DSA signature: NOKEY, key ID a109b1ec
error: Failed dependencies:
kernel-i686 = 2.6.16-1.2111_FC5 is needed by kmod-ndiswrapper-1.13-3.2.6.16_1.2111_FC5.i686
ndiswrapper-kmod-common >= 1.13 is needed by kmod-ndiswrapper-1.13-3.2.6.16_1.2111_FC5.i686
[root@localhost adhika]# rpm -ivh ndiswrapper-1.13-2.lvn5.i386.rpm
warning: ndiswrapper-1.13-2.lvn5.i386.rpm: Header V3 DSA signature: NOKEY, key ID a109b1ec
error: Failed dependencies:
ndiswrapper-kmod >= 1.13 is needed by ndiswrapper-1.13-2.lvn5.i386
[root@localhost adhika]#


I also have done this

rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY*


where did I go wrong on this one ?

coolsauron
2006-06-09, 07:24 PM CDT
alright... I have done everything, but when i go into the network configuration tool and try to add the wireless, it does not list ndiswrapper(wlan0). I just tried modprobe ndiswrapper the dmesg. It returned this:

ndiswrapper version 1.13 loaded (preempt=no,smp=no)
ndiswrapper: driver wg311v3 (NETGEAR,02/22/2005,3.1.1.7) loaded
ACPI: PCI Interrupt 0000:02:05.0[A] -> GSI 17 (level, low) -> IRQ 17
ndiswrapper: using irq 17
ndiswrapper (miniport_init:228): couldn't initialize device: C0000001
ndiswrapper (pnp_start_device:494): Windows driver couldn't initialize the device (C0000001)
ndiswrapper: probe of 0000:02:05.0 failed with error -22


This driver has been succesfully used before according to the ndiswrapper wiki. I was wondering what I need to do.

BTW:
I am using the FC5 kernel 2.6.16-1.2122_FC5 with a Netgear WG311v3 wireless card.

rexus
2006-06-10, 04:34 AM CDT
have you checked on the /etc/modprobe.conf ?
you have to make sure that you have this line

alias wlan0 ndiswrapper

tgoose
2006-06-10, 06:55 AM CDT
I'm on FC5 and can't get this to work.

I didn't enable livna because I've read of problems of using it at the same time as some others, but I downloaded the kmod-ndiswrapper RPM through the HTML interface and it says I need ndiswrapper-kmod-common, which I couldn't find either on livna or via google.

Any ideas? Thank you.

coolsauron
2006-06-10, 11:19 AM CDT
ok... alias wlan0 ndiswrapper wasnt in /etc/modprobe.conf so I added it.
and...

YAY~ ndiswrapper(wlan0) was in the wireless list. now only if my dad didnt change the WEP key I could test it...

rexus
2006-06-10, 01:12 PM CDT
good coolsauron :) I'm a newbie actually :)

tgoose, you could download these:
- kernel-devel for your current kernel
- ndiswrapper-1.13-2.lvn5.i386.rpm
1.13-2 is the ndiswrapper version I think
- kmod-ndiswrapper-1.13-3.2.6.16_1.2111_FC5.i686.rpm
2.6.16_1.2111 is the kernel version of this kmod-ndiswrapper, so you have to match this file with your current kernel. if it don't match, then find another.

you can find .rpm file in rpm.pbone.net

ndiswrapper and kmod-ndiswrapper cannot be installed separately, because the depend on each other. So what you have to do is:
# rpm -ivh kmod-ndiswrapper-1.13-3.2.6.16_1.2111_FC5.i686.rpm ndiswrapper-1.13-2.lvn5.i386.rpm

tgoose
2006-06-10, 03:35 PM CDT
Thank you! That's done the trick. I do now have the problem that I can't connect, with or without WEP:
I don't get anything beyond

# iwevent
Waiting for Wireless Events from interfaces...
22:32:21.712184 wlan0 Set Mode:Managed

using the wireless assistant, and


Error for wireless request "Set Encode" (8B2A) :
SET failed on device wlan0 ; Invalid argument.

Determining IP information for wlan0... failed; no link present. Check cable?

on the Network Configuration.


But perhaps this isn't the place for that, and at least now I can fiddle about with settings :)

edit: actually, does this sound like something to do with the 4k stack business?

rexus
2006-06-10, 09:58 PM CDT
ow, I had that error too actually.
but you know, the problem is solved very simple in my side.
if you see darkmage posting in ther first page, you can see some screen shots in the bottom of the posting. here is the picture I'm refering to..
http://www.fedoraforum.org/forum/attachment.php?attachmentid=7413
hopefully you could see that too.

In there, you need to makesure you have the correct SSID inputed in the field.
I'm not at home right now so I'm using windows now, and I cannot tell you exactly what you need to pick in the Mode field. but I think I also pick managed.

one more thing beside SSID, you need to have the same channel with the Access Point or Router that you're connecting too.

at home, I used a router to connect to internet and share my network with others.
even after fill in the same SSID and Channel I also need to know the DNS number of my internet provider or else I cannot get online.

well I hope this helps..
please don't use WEP first.
make sure you don't need WEP to connect to AP or Router.

rexus
2006-06-11, 02:39 AM CDT
btw, this one might consider as a junk, but I just want to show may greatful thanks to darkmage...
Darkmage, I'm posting through my FC 5 here :) thank you so much for the tutorial...

cesugden
2006-06-11, 11:44 AM CDT
Hello,
I'm a newbie to linux and have been struggling with wireless cards for months! I was trying to install a linksys wireless usb adapter but got so fed up with it I thought I would buy a wireless adapter that was easier to install (had a better chipset) and so got the Belkin f5d7050 usb adapter, however it turns out this is just as difficult!

I am currently trying to install it on Fedora Core 5. I have finally managed to get ndiswrapper installed but when I install my wireless adapters drivers using "ndiswrapper -i rt73.inf" it goes ok but upon looking at "ndiswrapper -l" It says the driver is present however it does not say the hardware is present even though it is connected to the computer. What am I doing wrong? I really would like to get it working because it is the only thing stopping me from using linux permanently.

Thank You
Chris

ashley349
2006-06-11, 03:06 PM CDT
I think you want to be using the rt2500usb.inf driver

rexus
2006-06-11, 06:57 PM CDT
if you type
lspci
what is shown for you USB WLAN ?

kglidh
2006-06-12, 01:59 PM CDT
I have an HP Pavilion dv8000. I had FC4 and had gotten the ndiswrapper working (woo-hoo to me). On not so much of a whim, I upgraded my machine to FC5 and have yummed it up to 2.6.16-1.2133_FC5-x86-64. I downloaded and compiled the latest version of ndiswrapper (1.17). When I do a: ndiswrapper -v, I get driver version 1.17 and vermagic 2.6.16-1.2133_FC5 SMP gcc-4.1. I took the Broadcom driver from my earlier install and ndiswrapper -i and it says it's installed and the hardware is present. I do the next steps of: depmod -a and modprobe ndiswrapper but nothing shows up in the dmesg. The light won't come on (so no one's home?) and the Microsoft reboot-and-everything-works method didn't work.

When I do the lspci, I see: Network Controller: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02). I feel like I'm really close. Did I miss a step? Am I using an incorrect or incompatible version of something?

kglidh
2006-06-13, 09:07 AM CDT
I have an HP Pavilion dv8000. I had FC4 and had gotten the ndiswrapper working (woo-hoo to me). On not so much of a whim, I upgraded my machine to FC5 and have yummed it up to 2.6.16-1.2133_FC5-x86-64. I downloaded and compiled the latest version of ndiswrapper (1.17). When I do a: ndiswrapper -v, I get driver version 1.17 and vermagic 2.6.16-1.2133_FC5 SMP gcc-4.1. I took the Broadcom driver from my earlier install and ndiswrapper -i and it says it's installed and the hardware is present. I do the next steps of: depmod -a and modprobe ndiswrapper but nothing shows up in the dmesg. The light won't come on (so no one's home?) and the Microsoft reboot-and-everything-works method didn't work.

When I do the lspci, I see: Network Controller: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02). I feel like I'm really close. Did I miss a step? Am I using an incorrect or incompatible version of something?

Well, I'm glad you asked, Kevin. The answer is that the latest driver provided by HP for your laptop isn't the right driver. Nor is, apparently, the one you used with FC4. But after going to www.partha.com (http://www.partha.com) , I found the correct driver (as he has the exact same computer as me) and it all works again. I just hope he realizes that he's become my new best friend.

cesugden
2006-06-14, 07:51 AM CDT
Hello,
I'm a newbie to linux and have been struggling with wireless cards for months! I was trying to install a linksys wireless usb adapter but got so fed up with it I thought I would buy a wireless adapter that was easier to install (had a better chipset) and so got the Belkin f5d7050 usb adapter, however it turns out this is just as difficult!

I am currently trying to install it on Fedora Core 5. I have finally managed to get ndiswrapper installed but when I install my wireless adapters drivers using "ndiswrapper -i rt73.inf" it goes ok but upon looking at "ndiswrapper -l" It says the driver is present however it does not say the hardware is present even though it is connected to the computer. What am I doing wrong? I really would like to get it working because it is the only thing stopping me from using linux permanently.

Thank You
Chris

I wrote this earlier and have been too busy to try the suggestions posted. I now have some spare time to get this problem sorted. I tried using the RT2500usb.inf driver and it came up with an error when typing "ndiswrapper -l" that it was an 'invalid driver'. Using the rt73.inf it did not say 'invalid driver' it said 'driver installed' but did not say 'hardware present' even though the F5D7050 was plugged in.
When I type lspci as root whilst the rt73.inf driver is installed it doesn't say anything about the USB WLAN.

jbird80
2006-06-15, 02:52 PM CDT
I have AMD64 Athlon every thing runs smooth untill i run dmesg and it says

ndiswrapper (check_nt_hdr:149): Windows driver is not 64-bit; bad magic: 010B
ndiswrapper (load_sys_files:213): couldn't prepare driver 'bcmwl5'
ndiswrapper (load_wrap_driver:111): loadndiswrapper failed (65280);

i've tried using the driver form this how-to and this driver
http://www.linuxant.com/driverloader/drivers.php


Any sugestions?

LeFou
2006-06-20, 12:44 PM CDT
My first question is how to get my wireless working. I had it going fine in FC3, then for some reason it kicked off a couple weeks after I got fiber optic service, which I hope is unrelated.

When I follow the instructions here, I get "Failed, no link present. check cable?" upond trying to activate wlan0. If I override the dhcp and set IP address to match the network settings of eth0, I do not get this error. But I can't ping anything. (I copy eth0 settings because when I use the wire access is fine. Here's iwconfig:

wlan0 IEEE 802.11g ESSID:off/any Nickname:"localhost.localdomain"
Mode:Managed Frequency:2.462 GHz Access Point: Not-Associated
Bit Rate=54 Mb/s Tx-Power:25 dBm
RTS thr=2347 B Fragment thr=2346 B
Encryption key:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

and here's ifconfig

eth0 Link encap:Ethernet HWaddr 00:0F:1F:2B:4A:A1
inet addr:192.168.0.5 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::20f:1fff:fe2b:4aa1/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3641 errors:0 dropped:0 overruns:0 frame:0
TX packets:2621 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2841789 (2.7 MiB) TX bytes:370204 (361.5 KiB)
Interrupt:7

My second question: who is responsible for making it so that every year something goes funky and I have to spend 20-30 hours fiddling around with this card? "No, no, no LeFou: 2.6.16-1.2133_FC5 won't work, silly boy! You have to build 2.6.16-1.2129_FC5!" (Sorry I'm a little frustrated and snippy. Break that conversation off into another thread, to be polite)

secretofnimh
2006-06-20, 03:43 PM CDT
I'm having major trouble with getting ndiswrapper working, and I think it has to do with the modules not being present. Here is what I posted in a thread, but had not replies... then I found this thread!!!

have an MN-720 Wireless card, which I can't seem to get running properly using ndiswrapper. I've installed ndiswrapper, and can get through every single step in installing the driver... except this line:

[root@craig craig]# /sbin/modprobe ndiswrapper
FATAL: Module ndiswrapper not found.

My /bin/uname -r looks like this:

[root@craig craig]# /bin/uname -r
2.6.15-1.2054_FC5

My kernel listing looks like this:

[root@craig craig]# rpm -qa |grep kernel |sort
kernel-2.6.15-1.2054_FC5
kernel-2.6.16-1.2133_FC5
kernel-devel-2.6.16-1.2133_FC5

I have even change my default=0 to default=1 in grub, still doesn't work... I get these same errors.

Any help would be greatly appreciated! I think it's just my modprobe can't find an ndiswrapper module, but i'm just not sure.

Thanks

Darkmage
2006-06-25, 09:38 AM CDT
I'm having major trouble with getting ndiswrapper working, and I think it has to do with the modules not being present. Here is what I posted in a thread, but had not replies... then I found this thread!!!

have an MN-720 Wireless card, which I can't seem to get running properly using ndiswrapper. I've installed ndiswrapper, and can get through every single step in installing the driver... except this line:

[root@craig craig]# /sbin/modprobe ndiswrapper
FATAL: Module ndiswrapper not found.

My /bin/uname -r looks like this:

[root@craig craig]# /bin/uname -r
2.6.15-1.2054_FC5

My kernel listing looks like this:

[root@craig craig]# rpm -qa |grep kernel |sort
kernel-2.6.15-1.2054_FC5
kernel-2.6.16-1.2133_FC5
kernel-devel-2.6.16-1.2133_FC5

I have even change my default=0 to default=1 in grub, still doesn't work... I get these same errors.

Any help would be greatly appreciated! I think it's just my modprobe can't find an ndiswrapper module, but i'm just not sure.

Thanks

How did you install ndiswrapper - from source or from livna?
I think you are booting into the wrong kernel that has the module, you will need to boot into kernel-2.6.16-1.2133_FC5 to get the ndiswrapper module

secretofnimh
2006-06-26, 11:17 AM CDT
k, now i have a new problem. had it all working perfect, and then my auto-update updated my kernel to 2.6.17, including the kernel-devel... so i tried re-installing it, and now it's completely messed. won't even recognize wlan0 as a device when i try and install it. I'm also getting an "This driver was compiled using version 20, but the program only supports to version 19. Some things may be broken."

How do I remove erroneous devices, so when I go to the network-manager there's nothing in there and i can start from scratch?

nt4cats
2006-06-26, 11:34 AM CDT
When I use my networking tools with my ndiswrapper-1.17 that I compiled myself I get the error message:

"Warning: Driver for device wlan0 has been compiled with version 20
of Wireless Extension, while this program supports up to version 19.
Some things may be broken..."

Everything appears to be working just fine, so I have ignored the message.

secretofnimh
2006-06-26, 01:59 PM CDT
ok, but when i go to re-install the ndiswrapper (wlan0) in the networking tools, it doesn't "recognize".

Also, it seems the status light on my wireless networking card isn't on anymore... did this thing happen to just take a dump? it was working not even 2 days ago, and now it's not.... btw, my dmesg log after installing the driver through ndiswrapper gives a lot of errors, about loading driver failed. i think it's because it can't recognize my adapter anymore...

any ideas?

wstahw
2006-06-27, 02:12 AM CDT
Kernel 2.6.16 works (for me) with wireless (bcm43xx & ndiswrapper);
however, kernel 2.6.17 broke both ndiswrapper & bcm43xx :-)

From the iwconfig and output (see below), I conclude we are waiting for a new
version of the wireless-tools.

>> iwconfig --version
iwconfig Wireless-Tools version 28
Compatible with Wireless Extension v11 to v19.

Kernel Currently compiled with Wireless Extension v20.

eth1 Recommend Wireless Extension v18 or later,
Currently compiled with Wireless Extension v20.

StephenH
2006-06-27, 11:24 PM CDT
Kernel 2.6.16 works (for me) with wireless (bcm43xx & ndiswrapper);
however, kernel 2.6.17 broke both ndiswrapper & bcm43xx :-)

From the iwconfig and output (see below), I conclude we are waiting for a new
version of the wireless-tools.

>> iwconfig --version
iwconfig Wireless-Tools version 28
Compatible with Wireless Extension v11 to v19.

Kernel Currently compiled with Wireless Extension v20.

eth1 Recommend Wireless Extension v18 or later,
Currently compiled with Wireless Extension v20.

Same experience here. On my laptop, 2.6.16 works and 2.6.17 doesn't. I also had some other "random features" that required me to do a hard reboot. IMHO, 2.6.17 was not quite ready for primetime.

Stephen

DMD
2006-07-02, 09:19 AM CDT
Same here, any clue how to fix this???

jftitan
2006-07-02, 03:12 PM CDT
Hi everyone... Here is another question for you guru's of NDISWRAPPER and the Broadcom 4309 series chipset/drivers. I currently have installed 2.6.17.1.2139_FC5 i686, I have been trying to build me a new MythTV box, I seem to have trouble with the wireless end of the networking.
I just purchased a Belkin Wireless G Desktop Card (F5D7000 rev 5), and pretty much decided to scrap that because I spent more time trying to figure out what model it was, when I realized that my spare Motorola WPCI810G 802.11b/g card used the Broadcom 43xx based drivers. (looking through the Wiki list, I noticed it was listed over the F5D7000). So I decided to swap wireless nics, and attempt trying to get my Motorola wifi card to work. Luckly when I first booted the Network configuration panel listed my Wireless Nic (Broadcom Corporation BCM4306 802.11b/g Wireless LAN Controller (eth1)) I tried configuring this multiple times, because trying anything that gets seen initally is where I want to head. But alas, there are no settings for WPA, nor could I get it to work. Well to get onto the description of the issue, Everything works as explained within the installation procedure (http://ndiswrapper.sourceforge.net/mediawiki/index.php/Installation#Installation) except one thing. When I perform the '# dmesg', the System log only lists:

ndiswrapper version 1.18 loaded (preempt=no,smp=no)

Nothing else, no driver loading or anything, just that single line. (I'll start from the beginning, maybe there is a step I missed, or something I'm not doing right)
My box:
P4 2.6Ghz, 1GB, 80GB HDD (Maxtor), Sony DVD+/-RW, 7 in 1 Card Reader, on a ShuttleX board with AC97 auto (5.1 w/ Optical Audio out) blah blah blah... NVIDIA Geforce 5200 w/ TVOut on a 60" Mitsubishi i1080 TV.
Now I'm trying to refrane from using a regular NIC because where this box will be located it will be in a spot where there is no network cable around.

OK here we go...

I had begun with the Motorola WPCI810S wireless nic installed, and I had downloaded the ndiswrapper-1.18.tar.gz, unpacked it, CDed into the Utils directory, performed

'# make distclean', no erros.
rm -f *~ *.o loadndisdriver
rm -f .\#*

I then performed the '# make', no errors.
gcc -g -Wall -DUTILS_VERSION=\"1.8\" -o loadndisdriver loadndisdriver.c

Then '# make install', no errors
install -D -m 755 loadndisdriver /sbin/loadndisdriver
install -D -m 755 ndiswrapper /usr/sbin/ndiswrapper
install -D -m 755 ndiswrapper-buginfo /usr/sbin/ndiswrapper-buginfo

Now at this point I copied my drivers that I extracted from the WN-WPCI-Web-Update-v1.1.exe (bcmwl5.inf & bcmwl5.sys) to the utils directory.

Now I ran the '# ndiswrapper -i bcmwl5.inf', with no errors
Installing bcmwl5
[root@mythtv utils]#

I then checked the directory /etc/ndiswrapper/ and located the bcmwl5 directory including 5 files (2 driver files, inf & sys, with 3 conf files)... Everything looks good so far. So I perform the '# ndiswrapper -l', with this response:
Installed drivers:
bcmwl5 driver installed, hardware present

Next command on the list, '# depmod -a', with no errors.
Then we move onto '# modprobe ndiswrapper', and here is where I encountered my first problem.
[root@mythtv utils]# modprobe ndiswrapper
FATAL: Module ndiswrapper not found.

At this point I could continue on, and the rest of the instructions seemed to work, however, no matter what I was always stuck, with the fact that that the modprobe command never worked, thus I knew I was going to be stuck. Luckly in searching the internet for help, I cam across this forum's thread. (http://forums.fedoraforum.org/forum/showthread.php?t=29659&page=1&pp=15&highlight=Belkin+Wireless)
So at this point I begin to follow the instructions on this thread. Since I'm using FC5, I pretty much follow the '# yum' instructions on the basis of it. With my prior experience with LIVNA through installing my MythTV setup, I already had the repo's setup. So I performed this command '# yum install ndiswrapper' instead of '# yum -y install kmod-ndiswrapper-$(uname -r) ' (I didn't attempt to uninstall or remove what I had done prior to using yum, because I figured anything that I performed prior would be redone by following the new instructions)

Installed: ndiswrapper.i386 0:1.18-1.lvn5
Dependency Installed: kmod-ndiswrapper.i686 0:1.18-2.2.6.17_1.2139_FC5
Complete!

So after YUMming ndiswrapper, I started over with the instructions based in the thread. I created the drivers directory '# mkdir bcmwl' in my root's home directory. cp'ed the two driver files .inf & sys.
Here we go again... '# /usr/sbin/ndiswrapper -i /root/bcmwl/bcmwl5.inf'. I get this...
[root@mythtv ~]# /usr/sbin/ndiswrapper -i /root/bcmwl/bcmwl5.inf
bcmwl5 is already installed. Use -e to remove it

So i perform the '# /usr/sbin/ndiswrapper -e bcmwl5' with no errors. I repeat the prior command '# /usr/sbin/ndiswrapper -i /root/bcmwl/bcmwl5.inf', with no errors...
[root@mythtv ~]# /usr/sbin/ndiswrapper -i /root/bcmwl/bcmwl5.inf
Installing bcmwl5

I next perform the '# /usr/sbin/ndiswrapper -l', and it lists the driver installed
[root@mythtv ~]# /usr/sbin/ndiswrapper -l
Installed drivers:
bcmwl5 driver installed, hardware present

On to the '# /sbin/depmod -a', with no errors. I finally get to '# /sbin/modprobe ndiswrapper', and I get no errors. (w00t!!!), so I move onto the '#dmesg' but I still get the same issue... only one line showing the ndiswrapper loading, but no drivers.

ndiswrapper version 1.18 loaded (preempt=no,smp=no)
APIC error on CPU0: 00(40)

But then I noticed this, this is the first time I've noticed this error APIC error on CPU0: 00(40). Now I dunno if this is related, but I continue. I use the '# /usr/sbin/ndiswrapper -m',
[root@mythtv ~]# /usr/sbin/ndiswrapper -m
modprobe config already contains alias directive

(this I assume is because of othre prior attempts I made before making this post)
But then I check my Network settings, and try to add a new wireless card (wlan0), unfortunately, I don't get anywhere from this point forward. the NDISWRAPPER never lists for new wireless devices, but just the original Broadcom wireless device, that doesn't work correctly anyways.

What am I missing... what can I do at this point.

Darkmage
2006-07-04, 11:42 PM CDT
So after YUMming ndiswrapper, I started over with the instructions based in the thread. I created the drivers directory '# mkdir bcmwl' in my root's home directory. cp'ed the two driver files .inf & sys.
Here we go again... '# /usr/sbin/ndiswrapper -i /root/bcmwl/bcmwl5.inf'. I get this...
[root@mythtv ~]# /usr/sbin/ndiswrapper -i /root/bcmwl/bcmwl5.inf
bcmwl5 is already installed. Use -e to remove it

So i perform the '# /usr/sbin/ndiswrapper -e bcmwl5' with no errors. I repeat the prior command '# /usr/sbin/ndiswrapper -i /root/bcmwl/bcmwl5.inf', with no errors...
[root@mythtv ~]# /usr/sbin/ndiswrapper -i /root/bcmwl/bcmwl5.inf
Installing bcmwl5

I next perform the '# /usr/sbin/ndiswrapper -l', and it lists the driver installed
[root@mythtv ~]# /usr/sbin/ndiswrapper -l
Installed drivers:
bcmwl5 driver installed, hardware present

On to the '# /sbin/depmod -a', with no errors. I finally get to '# /sbin/modprobe ndiswrapper', and I get no errors. (w00t!!!), so I move onto the '#dmesg' but I still get the same issue... only one line showing the ndiswrapper loading, but no drivers.

ndiswrapper version 1.18 loaded (preempt=no,smp=no)
APIC error on CPU0: 00(40)

But then I noticed this, this is the first time I've noticed this error APIC error on CPU0: 00(40). Now I dunno if this is related, but I continue. I use the '# /usr/sbin/ndiswrapper -m',
[root@mythtv ~]# /usr/sbin/ndiswrapper -m
modprobe config already contains alias directive

(this I assume is because of othre prior attempts I made before making this post)
But then I check my Network settings, and try to add a new wireless card (wlan0), unfortunately, I don't get anywhere from this point forward. the NDISWRAPPER never lists for new wireless devices, but just the original Broadcom wireless device, that doesn't work correctly anyways.

What am I missing... what can I do at this point.

As root edit /etc/modprobe.conf and add alias wlan0 ndiswrapper . Then restart and try again

Genecks
2006-07-06, 12:29 PM CDT
I'm using this: Broadcom Corporation BCM4306 802.11b/g Wireless LAN Controller (rev 03)
My computer is an Emachines M6811 laptop. THe WIreless network adapater is not one of those PCMIA cards or cards a person slides into a slot. It's probably soldered/embeeded to the motherboard somehow.

What I've been doing so far is listed here: http://forum.fedoraforum.org/forum/showthread.php?t=116039

I was pretty sure I did everything on DarkMage's post as read. However, I don't understand by some things on it. Nonetheless, the computer is telling me "bcmwl5 invalid driver!". This may be an invalid driver, but I wouldn't know. There were two .inf files in my WIndows Install DVD. bcmwl5.inf and bcmwl5a.inf. However, the .sys file was bcmwl5.sys. I really don't know what I'm doing wrong, and I think I will reinstall FC5 and start all over again.

I don't know if I downloaded that live-liva (or whatever) correctly, but the kernel-dev seemed to have installed correctly. I looked around the filesystem and saw the files and folders where there were to install. Most things seemed correct, and I restarted the computer here and there; however, you never listed when a person should restart his or her computer. I don't even know if restarts are necessary throughout this process.

I also installed the GCC thing. I don't know if that was required or not (you didn't say), but I decided to install that, too.

Also, I'm using the most recent kernel update, and I'm using the ndiswrapper update from July 1st, 2006.

Here's what I got in terminal.

[root@Washumputer ndiswrapper]# /usr/sbin/ndiswrapper -i /home/Genecks/Desktop/b cmwl/bcmwl5.inf
bcmwl5 is already installed. Use -e to remove it
[root@Washumputer ndiswrapper]# /usr/sbin/ndiswrapper -l
Installed drivers:
bcmwl5 invalid driver!
[root@Washumputer ndiswrapper]#


I don't understand why it says invalid driver.

I'm a total noob, so could we please leave out ambiguities? I feel like no one around here has taken English 101 nor understands technical writing.

I recently installed Fedora Core 5. I did the bare-bones type setup with preselected things, and the only thing I added was KDE. I'll probably reformat the /ext3 partition and try from scratch again. However, I wonder if DarkMage's guide was for someone with total noob experience and an "out-of-the-box" Fedora Core 5 setup. I don't understand what people mean by "source" or "install it with the other files" unless you're talking about dark magic or accounting.

Also, I was modifying modprobe.conf and it crashed on me. :( It seems all the information from that was deleted. If anyone knows how I can restore that, please help.

Thank you for taking the time to read this.

On the link I gave, a person commented this to me (it may be important):
Come to think of it, I think the fact that your running the x86_64 kernel is the problem. Looking through the make log, it is looking for the 2.6.15-1.2054_FC5 and the kernel you're running is 2.6.17- 1.2139_FC5-x86_64. I don't know how to work around this, as I don't run an x86_64 kernel myself. Best of luck to you. Let us know how it turns out,

nicstevens42
2006-07-06, 01:01 PM CDT
As far as the Broadcom wireless goes with 2.6.17 ... the kernel supports a native device.

You need the windows drivers to extract the firmware and fwcutter (http://developer.berlios.de/project/showfiles.php?group_id=4547) to extract the firmware (copy all .fw files to /lib/firmware) then unload ndiswrapper if you're using it and load the native driver with

modprobe -k bcm43xx

I've been using this for quite a while.

jftitan
2006-07-06, 02:51 PM CDT
Thank you to everyone, I've been able to solve the problem with the two suggestions, both suggestions work fine for seperate solutions. (Meaning, I tried one, and the first suggestion worked, and just for sake of argument I just tried the native firmware suggestion, and it works as well (after I removed the Network Configuration for the ndiswrapper)).

Anywho, thanks to those that helped, and best of luck to other readers. Even the ones that don't understand tech talk, or technical writing.

Xalu
2006-07-07, 06:37 PM CDT
when i try to 'make' i get this error make
make -C driver
make[1]: Entering directory `/home/x/ndiswrapper-1.19/driver'
Can't find kernel build files in /lib/modules/2.6.15-1.2054_FC5/build;
give the path to kernel build directory with
KBUILD=<path> argument to make
make[1]: *** [prereq_check] Error 1
make[1]: Leaving directory `/home/x/ndiswrapper-1.19/driver'
make: *** [all] Error 2


im running fedora 5 x86_64 and something i guess is wrong with th kernel

nicstevens42
2006-07-07, 07:06 PM CDT
yum install kernel-headers

Xalu
2006-07-07, 07:49 PM CDT
thanks for the reply...yum cracked for some reason failure: repodata/repomd.xml from livna: [Errno 256] No more mirrors to try.
I updated my kernel too the most recent and after kuplunk

Xalu
2006-07-07, 08:09 PM CDT
thanks for the reply.. im having the same problem after trying "yum install kernel-headers" it says theres nothing to do. any suggestions?

pulse00
2006-07-10, 05:45 PM CDT
Hi,

i followed this thread carefully and was able to install my netgear WG111 usb-adapter.

however, it only works when i bring up the network manually using

ifconfig wlan0 up

and

dhclient wlan0

Unfortunately when i reboot the network won't start. I'm getting the following error

Error for wireless request "Set Encode" (8B2A):
SET failed on device wlan0; Invalid argument.

Determining IP information for wlan0... failed; no link present.
Check cable?


If i follow these configuration stops again manually (http://ndiswrapper.sourceforge.net/mediawiki/index.php/Installation), the networks starts fine.

I think the Fedora GUI for network configuration uses ifup wlan0 for starting the network as far as i've understood, and this method produces the error, as opposed to ifconfig wlan0 up...

Does anyone of you know a workaround for that?

Darkmage
2006-07-11, 06:36 AM CDT
thanks for the reply.. im having the same problem after trying "yum install kernel-headers" it says theres nothing to do. any suggestions?

Do you have kernel-devel installed?
From a terminal what is the output of dmesg |grep kernel |sort

nicstevens42
2006-07-11, 11:38 AM CDT
ifup (as opposed to ifconfig) uses the scripts in /etc/sysconfig/network-scripts to load your network settings.. perhaps look at the scripts there?

DarkoD
2006-07-12, 02:44 AM CDT
Hello all.

Can someone please help me with my problem. Darkmage maybe... :)

I still can't make my BCM4318 work with FC5 2.6.17 x64 (2145). I was following few different How-To's and all looked easy. But nothing worked. The more posts I'm finding to read, it seems that my problem at the beginning was trying to use the Windows 32-bit bcmwl5.sys for firmware extraction with bcm43xx-fwcutter. Only yesterday I found posts saying that I should use the 64-bit Windows bcmwl5.sys. :(

And now I think everything is mixed up. I have tried, one after the other, the following:

1. bcm43xx-fwcutter and wpa_supplicant (following another Darkmage post) - but with 32-bit Win driver
2. NetworkManager
3. ndiswrapper (with correct 64-bit Windows driver)

HOW DO I GET RID OF EVERYTHING, SO I CAN START FROM CLEAN TRY? Of course, apart from formatting and reinstalling FC5. I know that part myself. :)

Is it really worth it trying to delete all these failed attempts stated above or just spend 30min to reinstall FC5? But how can I be sure it will work afterwards (as I already did that once and it didn't help, but probably the 32-bit Windows .sys was to blame for that)? I don't have any significant data yet, so reinstall is an option.

If not too complicated can someone please post the instructions how to delete all devices/drivers my above mentioned steps would create?

For info, I tried ti use ndiswrapper as in this post (my last try) with the correct 64-bit .sys, and no error reported. In Network I deleted the BCM4318 device first before starting with ndiswrapper. I also emptied /lib/firmware hoping to cancel my previous fwcutter attempt (was that a mistake?).

So ndiswrapper doesn't give any errors, but afterwards when I go into Network to add the Wireless Device, the BCM4318 device is there to be added but labeled as eth1. This procedure names it wlan0. That's one thing I noticed. I couldn't change the eth1 anyway, so I decided to take a shot if it works. It didn't. :(

Any option for me to start "from scratch" or just reinstall?

Thanks a lot.
Cheers.
Darko.

nicstevens42
2006-07-12, 07:49 AM CDT
Hello all.

Can someone please help me with my problem. Darkmage maybe... :)

I still can't make my BCM4318 work with FC5 2.6.17 x64 (2145). I was following few different How-To's and all looked easy. But nothing worked. The more posts I'm finding to read, it seems that my problem at the beginning was trying to use the Windows 32-bit bcmwl5.sys for firmware extraction with bcm43xx-fwcutter. Only yesterday I found posts saying that I should use the 64-bit Windows bcmwl5.sys. :(

And now I think everything is mixed up. I have tried, one after the other, the following:

1. bcm43xx-fwcutter and wpa_supplicant (following another Darkmage post) - but with 32-bit Win driver
2. NetworkManager
3. ndiswrapper (with correct 64-bit Windows driver)

HOW DO I GET RID OF EVERYTHING, SO I CAN START FROM CLEAN TRY? Of course, apart from formatting and reinstalling FC5. I know that part myself. :)

Is it really worth it trying to delete all these failed attempts stated above or just spend


You should never have to reinstall (like with windows) to remove a package...

Try this:

ndiswrapper -e driver
rpm -e ndiswrapper
vi /etc/modprobe.conf (remove reference[s] to ndiswrapper)
yum install ndiswrapper


That should let ya start fresh...

-n

Antelope
2006-07-12, 08:15 AM CDT
I have a Malifax Technology HomePortal 2700HG Wireless Gateway - 2WIRE550 which is connected to Windows XP PC.
[root@localhost ~]# iwlist wlan0 scan
wlan0 Scan completed :
Cell 01 - Address: 00:14:95:B7:FA:A1
ESSID:"2WIRE550"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.437 GHz (Channel 6)
Quality:0/100 Signal level:-52 dBm Noise level:-256 dBm
Encryption key:on
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Extra:bcn_int=100
Extra:atim=0



I have a Fedora 5 PC to connect to Wireless Gateway with Linksys Module No. WUSB54G S/N:MEQ20F602238, I suspect it is WUSB54GP V4, chipset is rt2500, how to verify it? Why I do not see hardware present" message?
[root@localhost ~]# ndiswrapper -l
Installed drivers:
rt2500usb driver installed



Thanks for yannis_uk's note, I can connect to internet now
[QUOTE=yannis_uk]The solution is simple: in the Network Configuration window select the WLAN interface and click on Edit, on the Wireless Settings tab put in the text box "Key (use 0x for hex)" the text "open XXXXXXXXXXXXXXXXX" without the double quotes, where XXXXXXXXXXXXXXXXX your hex key without 0x at the beginning.

I am not sure how to set 64-bit WEP wireless encryption key? In windows XP, I use 1234567890, is it hex or decimal? For Fedora, should I use "open 1234567890"? For restrict key, how to set it? What is command for commandline?

[root@localhost ~]# iwconfig wlan0
wlan0 IEEE 802.11g ESSID:"2WIRE550" Nickname:"localhost.localdomain"
Mode:Managed Frequency:2.437 GHz Access Point: 00:14:95:B7:FA:A1
Bit Rate=54 Mb/s Tx-Power:20 dBm Sensitivity=-119 dBm
RTS thr=2347 B Fragment thr=2346 B
Encryption key:1234-5678-90 Security mode:open
Power Management:off
Link Quality:100/100 Signal level:-52 dBm Noise level:-256 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0



But according to Darkmage
[QUOTE=Darkmage]For those that do not understand the meaning of both " With WEP encryption, "open key" setting will enable a client device to connect to ANY strong WEP signal, whether it has the correct password or not. Using the "shared key" setting, the client checks to make sure it's password matches the host (router/access points) password BEFORE connecting to it. This would keep your client from connecting to someone else's network and would keep it connected to your router/access point.

How can I check which access point I am connecting to? How can I use restrict key instead? If I use open key, is my PC safe?



Wish to learn from you. Thanks for your information.

DarkoD
2006-07-12, 08:24 AM CDT
Thanks a lot for the reply Nic.

Should I worry about my attempts with bcm43xx-fwcutter, wpa_supplicant and NetworkManager?

I'm asking because last night (my last try) I tried with ndiswrapper as per the beginning of this post, with the correct 65-bit bcmwl5.sys this time, and still no joy. Something is missing, or I thought maybe something is "left over" from other attempts with other packages.

I even tried in terminal to start the wireless with specifying channel, essid, etc. No errors, but when I try ifup eth1 I get the standard no link present, check cable error. Same thing trough Network in System. I can fill in all details, but can not activate eth1.

And should I worry that after using ndiswrapper and trying to add the wireless device it is not named wlan0 like your posts here, but eth1?

I checked with ndiswrapper -l and there is only one driver, the bcmwl5.sys I put there. So no conflict of drivers in that way.

Alternatively, is there any command/log a can check and post the result so someone more knowledgeable than me can figure out what exactly my FC5 is doing?

Should I just try rpm -e ndiswrapper bcm43xx-fwcutter wpa_supplicant NetworkManager? Does that mean everything is "clean" then? And than try to install it again, similar to what you suggested?

Thanks.
Cheers.
Darko.

nicstevens42
2006-07-17, 05:58 PM CDT
Removing and re-installing might work.

I dont have any experience using wpa supplicant and don't know if that's an issue or not.

I've just flown by the seat of my pants with all this and managed to get my system to work (most of the time)

asun
2006-07-17, 11:27 PM CDT
Wow, this is a very long thread and the search function is not working very well. My apologies if my question has already been asked:
Has anyone been successful installing ndiswrapper with x86_64 for Broadcom chip? Here is what I get:

# ndiswrapper -i ~/bcmwl/bcmwl5.inf
Installing bcmwl5
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
# depmod -a
# modprobe ndiswrapper
# dmesg
<SNIP>
ndiswrapper version 1.18 loaded (preempt=no,smp=yes)
ndiswrapper (check_nt_hdr:149): Windows driver is not 64-bit; bad magic: 010B
ndiswrapper (load_sys_files:213): couldn't prepare driver 'bcmwl5'
ndiswrapper (load_wrap_driver:111): loadndiswrapper failed (65280); check system log for messages from 'loadndisdriver'

Am I screwed? Is there any 64-bit windows driver?

Edit:
Nevermind, I found out the 64 bit driver in other post.

secretofnimh
2006-07-18, 10:40 PM CDT
Ok, I had my ndiswrapper going fine... then BAM, one day yum updated to a new kernel version (which is fine, i've had to re-install into a new kernel version quite a few times) but now I get this error message. Also, the light on my wireless card isn't on anymore...

This is my dmesg output:

bcm43xx: set security called
bcm43xx: .active_key = 0
bcm43xx: .level = 1
bcm43xx: .enabled = 1
bcm43xx: .encrypt = 1
SoftMAC: Associate: Scanning for networks first.
SoftMAC: Associate: failed to initiate scan. Is device up?
bcm43xx: Error: Microcode "bcm43xx_microcode4.fw" not available or load failed.
bcm43xx: Error: Microcode "bcm43xx_microcode4.fw" not available or load failed.

Any ideas?

Darkmage
2006-07-18, 11:21 PM CDT
Ok, I had my ndiswrapper going fine... then BAM, one day yum updated to a new kernel version (which is fine, i've had to re-install into a new kernel version quite a few times) but now I get this error message. Also, the light on my wireless card isn't on anymore...

This is my dmesg output:

bcm43xx: set security called
bcm43xx: .active_key = 0
bcm43xx: .level = 1
bcm43xx: .enabled = 1
bcm43xx: .encrypt = 1
SoftMAC: Associate: Scanning for networks first.
SoftMAC: Associate: failed to initiate scan. Is device up?
bcm43xx: Error: Microcode "bcm43xx_microcode4.fw" not available or load failed.
bcm43xx: Error: Microcode "bcm43xx_microcode4.fw" not available or load failed.

Any ideas?

The question is are you using ndiswrapper or bcm43xx driver?

StephenH
2006-07-19, 12:24 AM CDT
Ok, I had my ndiswrapper going fine... then BAM, one day yum updated to a new kernel version (which is fine, i've had to re-install into a new kernel version quite a few times) but now I get this error message. Also, the light on my wireless card isn't on anymore...

This is my dmesg output:

bcm43xx: set security called
bcm43xx: .active_key = 0
bcm43xx: .level = 1
bcm43xx: .enabled = 1
bcm43xx: .encrypt = 1
SoftMAC: Associate: Scanning for networks first.
SoftMAC: Associate: failed to initiate scan. Is device up?
bcm43xx: Error: Microcode "bcm43xx_microcode4.fw" not available or load failed.
bcm43xx: Error: Microcode "bcm43xx_microcode4.fw" not available or load failed.

Any ideas?


Check out this thread:

ttp://fedoraforum.org/forum/showthread.php?t=116914

It involves making an entry to blacklist bcm43xx. I tried it, and then the ndiswrapper and kmod-ndiswrapper started working again.

Hope this helps you too.

Stephen

StephenH
2006-07-19, 12:44 AM CDT
Oops,

Make that

http://fedoraforum.org/forum/showthread.php?t=116914

Stephen

secretofnimh
2006-07-19, 09:01 AM CDT
i'll give that a try... it was weird, now that i think of it. when i went into network manager to set up the wireless device, ndiswrapper was not in there... it was just the broadcom driver using an ID like dev02389437 or something. very wierd....

so do you think the reason my light isn't on that it's the firmware is messing around with it?

StephenH
2006-07-19, 09:44 AM CDT
i'll give that a try... it was weird, now that i think of it. when i went into network manager to set up the wireless device, ndiswrapper was not in there... it was just the broadcom driver using an ID like dev02389437 or something. very wierd....

so do you think the reason my light isn't on that it's the firmware is messing around with it?
Probably. I just know that when I blacklisted bcm43xx, the ndiswrapper setup started functioning and the light on the card came on. I don't claim to be a networking expert, but I do know how to use the search function to search for answers in these forums. :) I came across the answer when I searched for ndiswrapper and found the thread I mentioned.

Stephen

nicstevens42
2006-07-19, 10:35 AM CDT
Question: Why would one want to use the windows driver when there is a native driver available?

secretofnimh
2006-07-19, 05:01 PM CDT
I have a microsoft mn-730 wireless card, i think i need the wireless driver in order for this to work...

by the way, still no go after blacklisting. i'm trying a few other things before i spazz out.

secretofnimh
2006-07-19, 10:47 PM CDT
GOT IT. Thanks for the tip StephenH. After I blacklisted that driver, I took at look at my modprobe.conf and found that the bcm43xx driver was in there, and was trying to load as eth1. NOT COOL. I removed that, added in alias wlan0 ndiswrapper, set up ndiswrapper again and voila, my light turned on and I've got wireless glory.

Thanks for the help. Now, time to get my ciscoVPN working like it used to :S

SumDeus
2006-07-20, 02:06 AM CDT
help please. when i enter dmesg command i get this output:
SoftMAC: Associate: failed to initiate scan. Is device up?
bcm43xx: Error: Microcode "bcm43xx_microcode5.fw" not available or load failed.
bcm43xx: Error: Microcode "bcm43xx_microcode5.fw" not available or load failed.
bcm43xx: Error: Microcode "bcm43xx_microcode5.fw" not available or load failed.
bcm43xx: Error: Microcode "bcm43xx_microcode5.fw" not available or load failed.
bcm43xx: Error: Microcode "bcm43xx_microcode5.fw" not available or load failed.
bcm43xx: Error: Microcode "bcm43xx_microcode5.fw" not available or load failed.
bcm43xx: Error: Microcode "bcm43xx_microcode5.fw" not available or load failed.
bcm43xx: Error: Microcode "bcm43xx_microcode5.fw" not available or load failed.

SumDeus
2006-07-20, 02:15 AM CDT
ahh ok, so i read a bit more and blacklisted bcm43xx ... will try the install again. i have buffalo g54, but it detects as broadcom 4318. same hardware?

SumDeus
2006-07-20, 04:50 AM CDT
Ok, so I've been following this guide and some other things about ndiswrapper from fedora forum. I have buffalo G54. It seems to be detected as a broadcom 4318. I followed instructions to blacklist 43xx. I have finally gotten the power light to display. So I have been making some progress but now I get this message when I use the iwconfig command:
Warning: Driver for device wlan0 has been compiled with version 20
of Wireless Extension, while this program supports up to version 19.
Some things may be broken...

wlan0 IEEE 802.11g ESSID:off/any Nickname:"localhost.localdomain"
Mode:Auto Frequency:2.412 GHz Access Point: Not-Associated
Bit Rate=54 Mb/s Tx-Power:25 dBm
RTS thr=2347 B Fragment thr=2346 B
Encryption key:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
Also ndiswrapper does not appear in the network configuration gui. Any suggestions?

secretofnimh
2006-07-20, 07:49 AM CDT
same firmware for sure. try blacklisting it, then make sure you have your option 'alias wlan0 ndiswrapper' in modprobe.conf

SumDeus
2006-07-20, 08:04 AM CDT
thanks. I think i am a little farther. dmesg reports that there is a problem loading the driver, it is not 32 bit. I am using the winxp drivers now, but on the first try i used 98 drivers. how can i clean out all of that? when i ndiswrapper -l it only lists net2pg54 driver, which should be the one i want.

SumDeus
2006-07-20, 08:24 AM CDT
Ok, so i got the right driver in there again. modprobe seems to report it is ok. when i try iwlist i get this message. Warning: Driver for device wlan0 has been compiled with version 20
of Wireless Extension, while this program supports up to version 19.
Some things may be broken...

wlan0 No scan results
which i've gotten before. i saw somewhere that i should update wireless-tools but i updated everything today...

secretofnimh
2006-07-20, 10:14 AM CDT
ndiswrapper -l (should show your driver, and hardware present, use the -e tag to remove it and -i to re-add it)

ifconfig wlan0 up
iwconfig wlan0 key open ############
iwconfig wlan0 essid ############
dhclient wlan0

give that a try, let me know.

SumDeus
2006-07-20, 07:08 PM CDT
Yeah so I tried that stuff. I had removed the other stuff from ndiswrapper. But I wasn't sure if there was more hiding someplace else. At one point when I removed the blacklist for teh 43xx I had a ndiswrapper listing in Network COnfiguration. anyway here's the latest output:

ndiswrapper: using irq 11
wlan0: vendor: ''
wlan0: ndiswrapper ethernet device 00:0d:0b:d1:4a:d6 using driver net2pg54, 14E4:4318.5.conf
wlan0: encryption modes supported: WEP; TKIP with WPA, WPA2, WPA2PSK; AES/CCMP with WPA, WPA2, WPA2PSK
application firefox-bin uses obsolete OSS audio interface
wlan0: no IPv6 routers present
ndiswrapper (iw_set_wep:921): key 1 is not set
ndiswrapper (iw_set_wep:921): key 1 is not set
[root@localhost Nik]# /sbin/iwconfig wlan0 key open ############
Error for wireless request "Set Encode" (8B2A) :
SET failed on device wlan0 ; Invalid argument.
[root@localhost Nik]# /sbin/iwconfig wlan0 key open
Error for wireless request "Set Encode" (8B2A) :
SET failed on device wlan0 ; Invalid argument.

I am also still getting an error about the driver build using version 20 and I have 19, but I can't find the update.

ronald.watson
2006-08-04, 03:38 PM CDT
Hello,

I've tried to set up ndiswrapper from livna on an HP zv6270us laptop running FC5_x86_64. I'm faily new to FC5 and didn't make the necessary yum updates first when ndiswrapper didn't work. I've since made the updates and installed ndiswrapper and the Broadcom _x86_64 drivers ( It seems to be a 4318). It seems to work fine until I get to the Network setup. It show a /dev device rather than /wlan0. When I first tried, it showed /eth1 or /eth1:1. Attached are the output and screen shots....any ideas? Thanks in advance!

DarkoD
2006-08-04, 03:46 PM CDT
Ronald, I'm not a Linux guru myself but just one thought.

1. Depending which ndiswrapper instructions were you following, I believe there was a step to add the wlan0 alias in modprobe.conf (or similar file name). Have you done that and rebooted?

2. Another thing that might help you. I use ndiswrapper with 64-bit driver for my card and NetworkManager. On some boots, NetworkManager (and the wireless) actually doesn't work until I do in terminal:

su -
enter root password
service NetworkManager restart

Still haven't got a clue why, but I had a hard time making this wireless work so I am happy at the moment.

Mind you, I believe NetworkManager works only with WEP. I read that it seems buggy with WPA. But haven't made wpa_supplicant work, so I am fine with only WEP for now.

And most of routers these days you can set to filter your MAC address, basically letting only your laptop connect even if there is no encryption.

Cheers
Darko.

ronald.watson
2006-08-04, 06:16 PM CDT
Hello,

Thanks for the suggestions. I did add the alias and made sure I had the 64-bit windows drivers but still can't get it working. I also tried the NetworkManager restart and it didn't work either.

For some reason the Network admin shows it as a /dev device. Also I did include the printout of what I did to install with all the outputs.

Any other suggestions?

secretofnimh
2006-08-05, 01:42 AM CDT
make sure you check your modprobe.conf file, and have the wlan0 setting in there.

DarkoD
2006-08-05, 03:32 AM CDT
Ronald, I don't know if it makes a difference but I did it another way (I actually needed 2 weeks to get my wireless working :) ).

If you are sure you had all needed steps, I would suggest:

1. Go in Network and delete the wireless device.
2. Do yum remove ndiswrapper.

I don't know why would it make a difference, but it's worth a try. I didn't install ndiswrapper with yum. I just did a google search for the .rpm file and I got mine from www.atrpms.net.

Important note: ndiswrapper has two files, make sure their version match (I believe the latest one is 1.16) AND the ndiswrapper kernel file (krnl something) MUST match your FC5 FULLY (including the 4 digit number of the kernel 21xx something).

That's where I got mine, did it from scratch with the 64-bit driver (which I didn't know I had to do initially) and it worked.

Hope it helps.

Cheers
Darko.

wri7913
2006-08-21, 03:08 PM CDT
Hi there!

I saw this info about setting up a netgear 311 v2 and wondering if you guys can help me out. I seem to be stuck. I was able to install the driver but cannot link it thru the network control panel in system settings.

Here's some output:
[root@new-host-3 modprobe.d]# ndiswrapper -l
Installed drivers:
wg311v2 driver installed, hardware present

Driver is showing as installed and hardware present.

Test insertion shows:
[root@new-host-3 modprobe.d]# modprobe -n -v --first-time ndiswrapper
insmod /lib/modules/2.6.17-1.2157_FC5/extra/ndiswrapper/ndiswrapper.ko

dmesg shows the following: however I had to load it manually. Doesn't load on startup

ndiswrapper version 1.18 loaded (preempt=no,smp=no)
ndiswrapper: driver wg311v2 (NETGEAR, Inc.,06/17/2004,6.0.5.30) loaded
ACPI: PCI Interrupt 0000:00:0a.0[A] -> GSI 18 (level, low) -> IRQ 193
ndiswrapper: using irq 193
wlan0: vendor: 'TNET1130'
wlan0: ndiswrapper ethernet device 00:0f:b5:45:0f:d2 using driver wg311v2, 104C:9066.5.conf
wlan0: encryption modes supported: WEP; TKIP with WPA

hardware shows and responds:
[root@new-host-3 modprobe.d]# ifconfig wlan0
wlan0 Link encap:Ethernet HWaddr 00:0F:B5:45:0F:D2
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:193 Memory:eb024000-eb026000

It even shows the hardware working. ..

iwlist wlan0 scan
Warning: Driver for device wlan0 has been compiled with version 20
of Wireless Extension, while this program supports up to version 19.
Some things may be broken...

wlan0 Scan completed :
Cell 01 - Address: 00:15:05:EC:EB:1F
ESSID:"6HLL7"
Protocol:IEEE 802.11b
Mode:Managed
Frequency:2.437 GHz (Channel 6)
Quality:0/100 Signal level:-19 dBm Noise level:-256 dBm
Encryption key:on
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Extra:bcn_int=100
Extra:atim=0
Cell 02 - Address: 00:13:46:A6:32:26
ESSID:"default"
Protocol:IEEE 802.11b
Mode:Managed
Frequency:2.462 GHz (Channel 11)
Quality:0/100 Signal level:-82 dBm Noise level:-256 dBm
Encryption key:off
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Extra:bcn_int=100
Extra:atim=0

My prob is that it won't show in network control panel and allow me to configure with gui applications. I tried using alias thing using ndiswrapper -m to get it to put an alias in the modprobe.conf file. Problem is I don't think Fedora Core 5 uses it anymore. There is a folder in /etc/modprobe.d that contains files like: blacklist madwifi modprobe.conf.dist ndiswrapper nvidia-glx. Any ideas or suggestions?

jrmy
2006-08-22, 03:25 AM CDT
>uname -r
2.6.17-1.2174_FC5

ndiswrapper version 1.23 loaded (preempt=no,smp=no)
ndiswrapper (check_nt_hdr:155): kernel is 32-bit, but Windows driver is not 32-bit;bad magic: 020B
ndiswrapper (load_sys_files:214): couldn't prepare driver 'dr71wu'
ndiswrapper (load_wrap_driver:113): loadndiswrapper failed (65280); check system log for messages from 'loadndisdriver'
ndiswrapper: probe of 4-1:1.0 failed with error -22
usbcore: registered new driver ndiswrapper

i am using D-link dwl-g122 c1 with dr71wu.inf driver.

anyone know how to solve this problem?

wri7913
2006-08-22, 04:47 PM CDT
>uname -r
2.6.17-1.2174_FC5

ndiswrapper version 1.23 loaded (preempt=no,smp=no)
ndiswrapper (check_nt_hdr:155): kernel is 32-bit, but Windows driver is not 32-bit;bad magic: 020B
ndiswrapper (load_sys_files:214): couldn't prepare driver 'dr71wu'
ndiswrapper (load_wrap_driver:113): loadndiswrapper failed (65280); check system log for messages from 'loadndisdriver'
ndiswrapper: probe of 4-1:1.0 failed with error -22
usbcore: registered new driver ndiswrapper

i am using D-link dwl-g122 c1 with dr71wu.inf driver.

anyone know how to solve this problem?

It says "kernel is 32-bit, but Windows driver is not 32-bit;bad magic: 020B"

are you using 64 bit drivers in a 32bit system?

~wri7913

jrmy
2006-08-22, 06:25 PM CDT
i think i am. but the problem is it is the only available driver for my dwl-g122c1. T.T

any idea how to fix it?

wri7913
2006-08-22, 09:56 PM CDT
i think i am. but the problem is it is the only available driver for my dwl-g122c1. T.T

any idea how to fix it?

Admittedly I'm still a noob with wireless setup. So bear with me. I'm just tossing ideas to help you out.

Only one idea I can think of is to find out what kind of chipset the device is using and use that driver instead.

Example; My Netgear wg311v2 is a TI chipset and reportedly uses acx100 or axc111. I've gotten my ndiswrapper to install the windows driver successfully. I just can't get it to link thru the network panel in the GUI. Installing the windows driver works, but if you can't get it to work with windows driver, go to the chipset driver.

Good luck.

jrmy
2006-08-22, 10:33 PM CDT
i got it now! wlan0 is working. i dont know which of the two did it:
1. >make menuconfig
go to kernel hacking then disabled the 4kstack config. (last option in the menu)

2. comment out the CONFIG_4KSTACKS in /boot/<kernel>

but i still have problem connecting my wireless to my access point. any ideas?