PDA

View Full Version : How to ndiswrapper in Fedora


Pages : 1 2 [3]

jrmy
2006-08-22, 11:03 PM CDT
ok so here's my setup.

>iwlist wlan0 scan
Cell 04 - Address: 00:20:A6:51:35:76
ESSID:"BahayNiKuya"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.472 GHz (Channel 13)
Quality:0/100 Signal level:-64 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
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : TKIP
Authentication Suites (1) : PSK

>ifconfig wlan0
wlan0 Link encap:Ethernet HWaddr 00:15:E9:A2:DF:EF
inet addr:192.168.207.253 Bcast:192.168.207.255 Mask:255.255.255.0
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:2 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

>iwconfig wlan0
wlan0 IEEE 802.11g ESSID:off/any Nickname:"localhost.localdomain"
Mode:Auto Frequency:2.472 GHz Access Point: Not-Associated
Bit Rate=11 Mb/s Tx-Power:20 dBm Sensitivity=-121 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

i want to connect to the the network BahayNiKuya. how do i get it done?

wri7913
2006-08-23, 03:11 PM CDT
ok so here's my setup.

>iwlist wlan0 scan
Cell 04 - Address: 00:20:A6:51:35:76
ESSID:"BahayNiKuya"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.472 GHz (Channel 13)
Quality:0/100 Signal level:-64 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
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : TKIP
Authentication Suites (1) : PSK

>ifconfig wlan0
wlan0 Link encap:Ethernet HWaddr 00:15:E9:A2:DF:EF
inet addr:192.168.207.253 Bcast:192.168.207.255 Mask:255.255.255.0
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:2 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

>iwconfig wlan0
wlan0 IEEE 802.11g ESSID:off/any Nickname:"localhost.localdomain"
Mode:Auto Frequency:2.472 GHz Access Point: Not-Associated
Bit Rate=11 Mb/s Tx-Power:20 dBm Sensitivity=-121 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

i want to connect to the the network BahayNiKuya. how do i get it done?

I would suggest temporarily turning off the encryption and try a connection. Once you've verified that you can connect, turn the encryption back on. Make sure you have wpa_supplicant installed.

jrmy
2006-08-23, 06:36 PM CDT
yes i have tried that one and it worked! :) now i need to learn how wpa_supplicant works. any tips? or guide?

mlager
2006-09-07, 12:17 PM CDT
This little guide may be a few years old, but it worked like a charm.

Joe48
2006-09-09, 01:20 AM CDT
I tried the first command for FC5 and got
[joe@localhost ~]$ su
Password:
[root@localhost joe]# yum -y install kmod-ndiswrapper-$(uname -r)
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
livna [1/7]
flash [2/7]
jpackage-fedora [3/7]
updates [4/7]
jpackage-generic [5/7]
core [6/7]
extras [7/7]
Reading repository metadata in from local files
livna : ################################################## 453/453
Added 453 new packages, deleted 0 old in 7.90 seconds
primary.xml.gz 100% |=========================| 1.1 kB 00:00
flash : ################################# 2/3Added 2 new packages, deleted 0 old in 0.04 seconds
primary.xml.gz 100% |=========================| 5.7 kB 00:00
jpackage-f: ################################################## 25/25
Added 25 new packages, deleted 0 old in 0.23 seconds
ftp://ftp.software.umn.edu/pub/linux/fedora/core/updates/5/i386/repodata/primary.xml.gz: [Errno 4] IOError: [Errno ftp error] 550 Failed to change directory.
Trying other mirror.
primary.xml.gz 100% |=========================| 373 kB 00:03
updates : ################################################## 1002/1002
Added 1002 new packages, deleted 0 old in 19.49 seconds
primary.xml.gz 100% |=========================| 366 kB 00:02
jpackage-g: ################################################## 1597/1597
Added 1597 new packages, deleted 0 old in 8.98 seconds
primary.xml.gz 100% |=========================| 767 kB 00:09
core : ################################################## 2207/2207
Added 2207 new packages, deleted 0 old in 32.45 seconds
primary.xml.gz 100% |=========================| 1.4 MB 00:58
extras : ################################################## 4920/4920
Added 4920 new packages, deleted 0 old in 72.00 seconds
Parsing package install arguments
No Match for argument: kmod-ndiswrapper-2.6.17-1.2174_FC5
Nothing to do
[root@localhost joe]#

Any ideas ?

I did this and the command seemed to work
[joe@localhost ~]$ su -
Password:
[root@localhost ~]# yum -y install kmod-ndiswrapper
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
livna [1/7]
flash [2/7]
jpackage-fedora [3/7]
updates [4/7]
jpackage-generic [5/7]
core [6/7]
extras [7/7]
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for kmod-ndiswrapper to pack into transaction set.
kmod-ndiswrapper-1.18-2.2 100% |=========================| 6.1 kB 00:00
---> Package kmod-ndiswrapper.i686 0:1.18-2.2.6.17_1.2174_FC5 set to be installed
--> Running transaction check
--> Processing Dependency: ndiswrapper-kmod-common >= 1.18 for package: kmod-ndiswrapper
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for ndiswrapper to pack into transaction set.
ndiswrapper-1.18-1.lvn5.i 100% |=========================| 6.4 kB 00:00
---> Package ndiswrapper.i386 0:1.18-1.lvn5 set to be updated
--> Running transaction check

Dependencies Resolved

================================================== ===========================
Package Arch Version Repository Size
================================================== ===========================
Installing:
kmod-ndiswrapper i686 1.18-2.2.6.17_1.2174_FC5 livna 87 k
Installing for dependencies:
ndiswrapper i386 1.18-1.lvn5 livna 29 k

Transaction Summary
================================================== ===========================
Install 2 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 116 k
Downloading Packages:
(1/2): ndiswrapper-1.18-1 100% |=========================| 29 kB 00:00
(2/2): kmod-ndiswrapper-1 100% |=========================| 87 kB 00:01
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: kmod-ndiswrapper ######################### [1/2]
Installing: ndiswrapper ######################### [2/2]

Installed: kmod-ndiswrapper.i686 0:1.18-2.2.6.17_1.2174_FC5
Dependency Installed: ndiswrapper.i386 0:1.18-1.lvn5
Complete!
[root@localhost ~]#
What does -$(uname -r) add to the command ?

wstahw
2006-09-09, 02:37 AM CDT
Try this : yum -y install kmod-ndiswrapper
Yum should figure out the right version by itself.

ggeo
2006-09-09, 11:12 AM CDT
I originally had a write up on linuxquestions.org at Broadcom (http://www.linuxquestions.org/hcl/showproduct.php?product=810) but after some time, I found an easy way of making things work

If you want ndiswrapper from cvs then use the above link else download the stable version from
ndiswrapper (http://sourceforge.net/projects/ndiswrapper/)

or
Please make sure kernel-devel is installed to make the install easy and painless :)
If you have FC4 and have /etc/yum.repo.d/livna.repo configured

[livna-stable]
name=Livna.org Fedora Compatible Packages (stable)
baseurl=http://rpm.livna.org/fedora/$releasever/$basearch/RPMS.lvn
enabled=0
gpgcheck=1



# yum --enablerepo=livna-stable install ndiswrapper kernel-module-ndiswrapper-$(uname -r)


or for FC5 do this

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

For my case, I have a Broadcom BCM9306 chipset and the windows driver needed is bcmwl5.inf and bcmwl5.sys. Move both files to a folder in your home directory called bcmwl. I hope you know you first have to creat the folder bcmwl
mkdir bcmwl

Do the "make install" only if you have the source file. I will strongly recommend the rpm file from livna
Open a terminal and uncompress ndiswrapper.

Go to the ndiswrapper folder and as root

#make install --do this if you downloaded the source file or skip this if you used the livna rpm



# /usr/sbin/ndiswrapper -i <your home directory>/bcmwl/bcmwl5.inf
...this command will create a folder in /etc/ndiswrapper/bcmwl5/bcmwl5.inf
# /usr/sbin/ndiswrapper -l
-- make sure it says "bcmwl5 present"
# /sbin/depmod -a
#/sbin/modprobe ndiswrapper
# dmesg
--you will see a log about the driver been loaded if you do then
# /usr/sbin/ndiswrapper -m
--create an alias in /etc/modprobe.conf


Here comes the easy part :cool:
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.
When you hit apply, it should take you back to Network Configuration, highlight the created wlan0 and click "Edit" which allows you to fine tune the configuration, like if you want all users to be able to enable wlan0, if you want wlan0 to start on boot etc. Go though the tabs and check everything and make sure it is up to your specification, then click "Ok" and then the final thing
on "Network Configuration", click on "File" and then "Save"

If every is correct, you can then click on activate to activate wlan0

If you have any constructive comments please post

Below are screenshots and broadcom drivers and on page 13, I have posted the newer driver
Hello !!!
I have a problem with ndiswrapper and i will be thankfull if you can help me.You see,i am a new linux user!
The problem i have is with my wireless card(netgear wg311v3)
I installed ndiswrapper(1.23edition,with kernel,kernel devel 2.6.17-1.2174_FC5)
Everything went ok.The drivers installed.
I execute ifconfig wlan0 and it shows:
wlan0 Link encap:Ethernet HWaddr 00:14:6C:76:86:1A
UP 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:201 Memory:e6010000-e6020000

Then iwlist wlan0 scan and shows:
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:14:BF:CB:10:BC
ESSID:"linksys"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.462 GHz (Channel 11)
Quality:0/100 Signal level:-59 dBm Noise level:-256 dBm
Encryption keyff
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=100
Extra:atim=0

The problem is that when i go to the control panel,networks to create a new setting and i choose wireless connection it does not appear anywhere the wlan0 or netgear or something!I have tried to do ifconfig eth0 down and ifconfig wlan0 up but still nothiong.I use a static address.
This is my problem.If anyone can help,I'd appreciate

When i do dmesg it shows:
.....
ndiswrapper version 1.23 loaded (preempt=no,smp=no)
ndiswrapper: driver wg311v3 (NETGEAR,02/22/2005,3.1.1.7) loaded
ACPI: PCI Interrupt 0000:01:08.0[A] -> Link [APC1] -> GSI 16 (level, high) -> IRQ 201
ndiswrapper: using irq 201
wlan0: vendor: ''
wlan0: ethernet device 00:14:6c:76:86:1a using NDIS driver wg311v3, 11AB:1FAA.5.conf
wlan0: encryption modes supported: WEP; TKIP with WPA, WPA2, WPA2PSK; AES/CCMP with WPA, WPA2, WPA2PSK
ADDRCONF(NETDEV_UP): wlan0: link is not ready
....
Also it shows :
...
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.HUB0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.AGPB._PRT]
ACPI: PCI Interrupt Link [LNK1] (IRQs 3 4 5 6 7 9 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNK2] (IRQs 3 4 5 6 7 9 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNK3] (IRQs 3 4 5 6 7 9 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNK4] (IRQs 3 4 *5 6 7 9 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNK5] (IRQs 3 4 5 6 7 9 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LUBA] (IRQs 3 4 5 6 7 *9 10 11 12 14 15)
ACPI: PCI Interrupt Link [LUBB] (IRQs 3 4 *5 6 7 9 10 11 12 14 15)
ACPI: PCI Interrupt Link [LMAC] (IRQs 3 4 5 6 7 9 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LAPU] (IRQs 3 4 5 6 7 9 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LACI] (IRQs 3 4 5 6 7 *9 10 11 12 14 15)
ACPI: PCI Interrupt Link [LMCI] (IRQs 3 4 5 6 7 9 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LSMB] (IRQs 3 4 5 6 7 9 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LUB2] (IRQs 3 4 5 6 7 9 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LFIR] (IRQs 3 4 5 6 7 9 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [L3CM] (IRQs 3 4 5 6 7 9 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LIDE] (IRQs 3 4 5 6 7 9 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [APC1] (IRQs *16), disabled.
ACPI: PCI Interrupt Link [APC2] (IRQs *17), disabled.
ACPI: PCI Interrupt Link [APC3] (IRQs *18), disabled.
ACPI: PCI Interrupt Link [APC4] (IRQs *19), disabled.
ACPI: PCI Interrupt Link [APC5] (IRQs *16), disabled.
ACPI: PCI Interrupt Link [APCF] (IRQs 20 21 22) *0, disabled.
ACPI: PCI Interrupt Link [APCG] (IRQs 20 21 22) *0, disabled.
ACPI: PCI Interrupt Link [APCH] (IRQs 20 21 22) *0, disabled.
ACPI: PCI Interrupt Link [APCI] (IRQs 20 21 22) *0, disabled.
ACPI: PCI Interrupt Link [APCJ] (IRQs 20 21 22) *0, disabled.
ACPI: PCI Interrupt Link [APCK] (IRQs 20 21 22) *0, disabled.
ACPI: PCI Interrupt Link [APCS] (IRQs *23), disabled.
ACPI: PCI Interrupt Link [APCL] (IRQs 20 21 22) *0, disabled.
ACPI: PCI Interrupt Link [APCM] (IRQs 20 21 22) *0, disabled.
ACPI: PCI Interrupt Link [AP3C] (IRQs 20 21 22) *0, disabled.
ACPI: PCI Interrupt Link [APCZ] (IRQs 20 21 22) *0, disabled.
...
Also if you can tell me how i change between English and Greek.At Windows it was Alt+Shift.Is there sth like this?I have all the desktop options to the Greek language,i have dowloaded greek support,everything is in greek but when i am writting sth it is english.
Thanks a lot!!

allkit
2006-09-10, 05:58 AM CDT
I'm stuck when I am try to install ndiswrapper


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



Please some help. I am a newbie :)

gesho
2006-09-20, 10:27 PM CDT
appears, problem is he break between recent ndis version, requiring v20 wireless extension,
while wireless-tools-28 with fedora (iwconfig for one) currently only supports up to v19.
i believe that is the reason iwconfig only works halftime with me.
autho's site mentiones that recent 28 w-tools support v20, but i guess it has not yet reached f-core
http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html

nicstevens42
2006-09-21, 06:55 AM CDT
For months I have advocating the use of the native bcm43xx driver in the 2.6.17+ kernels. I have changed my mind.

After berating comcast because my net connection was so slow I did a sanity check on my GF's computer (also wireless) and where I was getting ~25kbytes/sec she was getting ~300kbytes/sec.

I unloaded the bcm43xx driver and used ndiswrapper and my speed jumped back up to megabits.

TheOlster
2006-10-23, 09:01 AM CDT
Hi - I'm using FC5 with the livna rpm. I have followed the process through and have so far recieved no errors. But when I try to add another device type and select Wireless Connection I only get this option: Other Wireless Card. Shouldn't it say something like ndiswrapper(wlan0) also?

This is the output of iwconfig which I'm not sure how to fix?
[root@localhost modprobe.d]# /sbin/iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

sit0 no wireless extensions.

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
Mode:Auto Frequency:2.412 GHz Access Point: Not-Associated
Bit Rate:54 Mb/s Tx-Power:20 dBm Sensitivity=-121 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
Any ideas?

ronald.watson
2006-10-23, 09:12 AM CDT
Try using fwcutter if you have a bcm4318. Here's the link and it worked for me the first time through:

http://forums.fedoraforum.org/forum/showthread.php?t=115572&highlight=fc5+fwcutter

TheOlster
2006-10-23, 09:32 AM CDT
Unfortunately I am not using this driver. I'm not sure what the chipset is but the driver is called rt61... ?

GreyWizzard
2006-12-12, 04:50 PM CST
Nice thread, but it doesn't seem to address the recent FC6 changes.

I have my wireless card up and running (using it at home now) but I can't seem to add it to the GUI no matter what instructions I follow either on this thread or any other suggestions I have found so far.

If I can use it to post this response, then why can't I finish this off with the instructions here?

Also, how will I go about using this for public 'hot spots' and be able to connect to some of the coffee shop networks without having to reinvent the wheel every time?

Let me guess...... I missed something in this 35 page thread, didn't I?? :confused:

DarkoD
2006-12-12, 06:11 PM CST
I am not sure what GUI do you mean (this thread is too big to go through it now) :)

I use a very 'simple' approach, partly because I do not have some great experience with Linux.

I use ndiswrapper with a Windows driver because that was the simplest way for me.

In addition, I use the built in services, NetworkManager and NetworkManagerDispatcher. Go into the Services and select both of them to start at boot (or start them manually every time, your choice).

That gives you the NetworkManager icon in the taskbar. Single click on the icon displays all available wireless networks, provided they broadcast their SSID of course. Single click on any network bill bring up a dialogue to enter the network key and that's it... :)

Earlier in FC5 this approach was not working with WPA although that encryption method was listed. I am not bothered that much to switch my router to WPA and test the FC6 that I am running for WPA using NetworkManager. At the moment I am using it with WEP and FC6 since it was released.

I am running FC6 x86_64 with Broadcom BCM4318.

Hope this helps. :)
Cheers.

GreyWizzard
2006-12-12, 08:31 PM CST
I am not sure what GUI do you mean Nothing fancy. Just the default ones that I have seen mentioned in the early parts of this thread. (this thread is too big to go through it now) :)You're telling me!! I did go thorugh all of it, but I am pretty sure I missed something or I would have it done by now.
I use a very 'simple' approach, partly because I do not have some great experience with Linux.That makes two of us, although I am learning much more with every passing day and every issue that comes up (like this one!).I use ndiswrapper with a Windows driver because that was the simplest way for me. The only reason I have chosen it is simply because there is currently no other option for me. This was not an easy path for me since FC6 uses 4k stacks by default.
In addition, I use the built in services, NetworkManager and NetworkManagerDispatcher. Go into the Services and select both of them to start at boot (or start them manually every time, your choice).Done.
That gives you the NetworkManager icon in the taskbar.Not for me it didn't. What did I miss? Single click on the icon displays all available wireless networks, provided they broadcast their SSID of course. Single click on any network bill bring up a dialogue to enter the network key and that's it... :)This is exactly what I am looking for! Why does it work for you and not for me?? :confused:

I'm not asking for anything great and wonderful above and beyond what everybody else has managed to accomplish. I just want the same thing that you and so many others have accomplished.

It seems strange to me that my Network Tools GUI can find the wlan0 interface and give me info on it. I can even pull up the info on the card that tells me all I want to know about the card and more.
ifconfig wlan0
wlan0 Link encap:Ethernet HWaddr 00:11:50:A0:61:01
inet addr:192.168.2.2 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::211:50ff:fea0:6101/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4440 errors:0 dropped:0 overruns:0 frame:0
TX packets:3838 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4137007 (3.9 MiB) TX bytes:0 (0.0 b)
Interrupt:11 Memory:22000000-22080000
iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

sit0 no wireless extensions.

wlan0 Auto ESSID:"Belkin_Pre_N_66FFEA"
Mode:Managed Frequency:2.462 GHz Access Point: 00:11:50:2E:E0:8C
Bit Rate:108 Mb/s
Encryption key:off
Power Management:off
Link Quality:59/100 Signal level:-58 dBm Noise level:-96 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0This clearly shows that the laptop and the OS know of the card and where it is.
cat /etc/modprobe.conf
alias wlan0 ndiswrapper
alias eth0 natsemi
alias snd-card-0 snd-ali5451
options snd-card-0 index=0
options snd-ali5451 index=0
remove snd-ali5451 { /usr/sbin/alsactl store 0 >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove snd-ali5451All seems to be in place there.

Why can't I get the same results as the others here? Any clues would be gladly accpeted.

DarkoD
2006-12-13, 04:18 AM CST
Strange. The NetworkManager service should give you an icon on the right side of your taskbar (in default layout, taskbar on top of screen), close to the clock. The icon looks like bars with different lenght next to each other, to show signal strenght.

It even does that without any wireless adapter because it 'controls' the wired connection too.

Make sure the services are started and running. Go into Services after you boot up and with a single click on the service it shows you on the right if it is running or not.

You can always try in terminal:
su -
(root password)
service NetworkManager start (or restart)
service NetworkManagerDispatcher start (or restart)

And be careful about whether your wireless is actually enabled. On my laptop I have a button to enable it, until I do that it is not reported as existing of course.

Not much more clues I give you I'm afraid. :(

Cheers.
Darko.

GreyWizzard
2006-12-13, 04:05 PM CST
Strange. The NetworkManager service should give you an icon on the right side of your taskbar (in default layout, taskbar on top of screen), close to the clock. The icon looks like bars with different lenght next to each other, to show signal strenght.

It even does that without any wireless adapter because it 'controls' the wired connection too.Not on my system. I have never had such an icon prior to or, now, even with both of them running.

Make sure the services are started and running. Go into Services after you boot up and with a single click on the service it shows you on the right if it is running or not.

You can always try in terminal:
su -
(root password)
service NetworkManager start (or restart)
service NetworkManagerDispatcher start (or restart)
I can tell they are running simply enough:
# service NetworkManager status
NetworkManager (pid 2472) is running...
# service NetworkManagerDispatcher status
NetworkManagerDispatcher (pid 2484) is running...
And be careful about whether your wireless is actually enabled. On my laptop I have a button to enable it, until I do that it is not reported as existing of course.
Oh, it's activated alright. I am using it now to post this. I didn't go with the manual approach. I wanted it to come up when the system boots.
Not much more clues I give you I'm afraid. :(

Cheers.
Darko.
Not a problem. You have already given me more than the others in this thread and I thank you for it.

Now, on a side note:

I have seen some interesting things since the last post. Since then I have rebooted the laptop and I can now use the network manager to set up my card. For reasons well beyond my meager comprehention, it now sees the card with no config changes from prior to reboot. Don't understand it, but I'm not complaining :)

The biggest problem I have now is the fact that, even though you see the message on boot that it obtains an IP address via DHCP, it doesn't seem to hold that address.

I had to manually get an IP address via dhclient wlan0 prior to being able to use the card today. Small issue at the moment, but I would like to get it worked out so I don't have to go through this every time.

Since the icon you mentioned doesn't come up for me, I have put a shortcut on the bar for the Wireless Assistant. I have not needed to use it for public networks as of yet, but if it works as it says it should I will be fine with it.
EDIT:
Oh, one last thing:
When it comes to entering the WEP key for the interface, ndiswrapper is capable of using 128 Bit encryption, isn't it?

On the same note, what is the trick to entering the hex encryption key for the interface? Are there dots between the 13 hex digits, do they just run together, or is there something else I should Oh, one last thing:
When it comes to entering the WEP key for the interface, ndiswrapper is capable of using 128 Bit encryption, isn't it?

On the same note, what is the trick to entering the hex encryption key for the interface? Are there dots between the 13 hex digits, do they just run together, or is there something else I should know? know?Never mind about the WEP question. I got it covered. For the record, it CAN handle 128 Bit encryption and you do NOT put anything other than the numbers & letters for the Hex code.

Thanks again for all the help!

GW

el_ricardo
2006-12-17, 09:43 AM CST
ok ryunning into a problem, with modprobe (I THINK). When i get to the modprobe ndiswrapper bit, I give the command, and my system just hangs indefinatly, with no output. I decided to edit my modprobe.conf file manually, and simply added "alias wlan0 ndiswrapper" to it. When i give ndiswrapper -m, I am told "module configuration already contains alias directive" presumably because I added it myself. When I get to the network configuration, in X, I get as far as setting the card up (after selecting "niswrapper wlan0" from the list, and once again, my system just stops working. it hangs, looks as if its doing something for about a second, and then stops completely, and i have to reset.

anyone got any clue how to get this working? or where my problem is?

vietmusicteam
2006-12-30, 03:07 AM CST
Hi.

I have a problem with D-Link DWL-G510 Wireless PCI Adapter, my OS is fedora 6 (kernel-2.6.18-1.2798.fc6). I successful installed ndiswrapper 1.3.

After I configured:
+ depmod -a
+ modprobe ndiswrapper
+ iwconfig wlan0 essid KLP_WIRELESS
+ ifconfig wlan0 up
+ ndiswrapper -m

* Edit file: /etc/modprobe.conf, add a line "alias wlan0 ndiswrapper".

The information after configured:

[root@localhost ~]# ndiswrapper -l
netrt61g : driver installed
device (1814:0302) present


------------
[root@localhost ~]# ndiswrapper -v
utils version: 1.9
driver version: 1.31
vermagic: 2.6.18-1.2798.fc6 SMP mod_unload 686 REGPARM 4KSTACKS gcc-4.1


------------
[root@localhost ~]# iwlist wlan0 scan
wlan0 Scan completed :
Cell 01 - Address: 00:15:E9:CD:EB:12
ESSID:"KLP_WIRELESS"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.437 GHz (Channel 6)
Quality:71/100 Signal level:-50 dBm Noise level:-96 dBm
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=400
Extra:atim=0

------------
[root@localhost ~]# ifconfig wlan0
wlan0 Link encap:Ethernet HWaddr 00:15:E9:A7:52:21
inet addr:192.168.1.5 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::215:e9ff:fea7:5221/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:5 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:185 Memory:f0000000-f0008000

--------------
[root@localhost ~]# dmesg
Linux version 2.6.18-1.2798.fc6 (brewbuilder@hs20-bc2-4.build.redhat.com) (gcc version 4.1.1 20061011 (Red Hat 4.1.1-30)) #1 SMP Mon Oct 16 14:37:32 EDT 2006
...
...
ndiswrapper version 1.31 loaded (preempt=no,smp=yes)
ndiswrapper: driver netrt61g (D-Link,06/04/2005, 1.00.00.0000) loaded
ACPI: PCI Interrupt 0000:01:02.0[A] -> GSI 18 (level, low) -> IRQ 185
ndiswrapper: using IRQ 185
wlan0: ethernet device 00:15:e9:a7:52:21 using serialized NDIS driver: netrt61g, version: 0x0, NDIS version: 0x500, vendor: 'IEEE 802.11g Wireless Card.', 1814:0302.5.conf
wlan0: encryption modes supported: WEP; TKIP with WPA, WPA2, WPA2PSK; AES/CCMP with WPA, WPA2, WPA2PSK

...

GUI:
http://img406.imageshack.us/img406/3725/errorjg2.th.png (http://img406.imageshack.us/my.php?image=errorjg2.png)

http://img205.imageshack.us/img205/670/error1eu1.th.png (http://img205.imageshack.us/my.php?image=error1eu1.png)

I can't ping gateway (192.168.1.1): :mad:

[root@localhost ~]# ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
From 192.168.1.5 icmp_seq=2 Destination Host Unreachable

but i can ping my address of the wireless card

[root@localhost ~]# ping 192.168.1.5
PING 192.168.1.5 (192.168.1.5) 56(84) bytes of data.
64 bytes from 192.168.1.5: icmp_seq=1 ttl=64 time=0.036 ms
64 bytes from 192.168.1.5: icmp_seq=2 ttl=64 time=0.030 ms

I disable firewall on OS, I absolutely can access internet via ethernet card but not wireless. So how can i connect my gateway. Thanks :)

vietmusicteam
2007-01-01, 12:30 AM CST
The route table no have problem:

http://img473.imageshack.us/img473/5618/error90hx5.th.png (http://img473.imageshack.us/my.php?image=error90hx5.png)

I can't use DHCP to active wlan0 so i set manual address for it.

http://img211.imageshack.us/img211/9520/activedhcpcs7.th.png (http://img211.imageshack.us/my.php?image=activedhcpcs7.png)

After using "service NetworkManager start" command, it start but not network conncetion, i click this icon and see th essid anme of AP, status bar of sign strength, clicking it but no connect.

http://img211.imageshack.us/img211/7217/activestatickw5.th.png (http://img211.imageshack.us/my.php?image=activestatickw5.png)

I refered the installation guide of ndiswrapper, it's concerned with:

Remember, if you have a firewall, let it know that wlan0 is an external interface, and allow it to pass traffic. Otherwise you won't even be able to ping your AP.

I have just used fedora 6, so don't know that i disable firewall.

badbit
2007-01-02, 09:48 PM CST
I've done almos all of this, (including ndiswrapper -m) without any problems, but the Network Manager refuses to see my wireless card. What can I do?

jotacekm
2007-01-04, 08:23 PM CST
this is a recommendation for all the people that are having problem with the "modprobe ndiswrapper", such as module not found or module not on the right format (or something like that i was getting):
install ndiswrapper by downloading the source, not get it using yum. Do this:

remove your driver installed with ndiswrapper:
"ndiswrapper -r driver_name"

then remove ndiswrapper:
"yum remove ndiswrapper"

then do a "find / -name ndiswrapper.ko". If any is find, remove all of them.

then download the source at
http://sourceforge.net/projects/ndiswrapper/
make
make install

and start over again with the ndiswrapper -i ....

this worked for me, its worth a try.

zealot
2007-01-21, 02:20 PM CST
unfortunately, here is the answer I get when I use the /sbin/modprobe ndiswrapper :((

how can I solve this issue plz ?

/sbin/modprobe ndiswrapper
FATAL: Error inserting ndiswrapper (/lib/modules/2.6.18-1.2257.fc5/extra/ndiswrapper/ndiswrapper.ko): Invalid module format

nicstevens42
2007-01-21, 02:30 PM CST
Simple:

sudo yum install ndiswrapper

Focal
2007-01-26, 08:59 AM CST
I think people usually start these posts with.."I am a noob". Well everyone I am new to linux. I have a small problem on my laptop. (Gateway mx6421)

I am running Fedora Core 6 ( 32 bit )and am attempting to get Broadcom BCM4318 Air Force one card to work properly.
My first major issue is that Ndiswrapper will not install.

I get the error:

Transaction Check Error: package kernel-2.6.19-1.2895.fc6 is already installed
file /boot/System.map-2.6.19-1.2895.fc6 from install of kernel-2.6.19-1.2895.fc6 conflicts with file from package kernel-2.6.19-1.2895.fc6
file /boot/config-2.6.19-1.2895.fc6 from install of kernel-2.6.19-1.2895.fc6 conflicts with file from package kernel-2.6.19-1.2895.fc6
file /boot/symvers-2.6.19-1.2895.fc6.gz from install of kernel-2.6.19-1.2895.fc6 conflicts with file from package kernel-2.6.19-1.2895.fc6
file /boot/vmlinuz-2.6.19-1.2895.fc6 from install of kernel-2.6.19-1.2895.fc6 conflicts with file from package kernel-2.6.19-1.2895.fc6

I can follow the other examples in this board... But can't really start till I figure this one out.


Thanks in advance...

Gallan
2007-01-26, 10:30 AM CST
have you checked that your kernel-devel matches to kernel.

Focal
2007-01-26, 10:42 AM CST
No I have not. Im a noob. How do you check?

Gallan
2007-01-26, 11:17 AM CST
run terminal and give commands:

1. rpm -qi kernel

and

2. rpm -qi kernel-devel

versions of those have to match

Focal
2007-01-27, 06:51 AM CST
The kernel-devel version is the same as the kernel version.

GreyWizzard
2007-01-30, 11:15 AM CST
ok ryunning into a problem, with modprobe (I THINK). When i get to the modprobe ndiswrapper bit, I give the command, and my system just hangs indefinatly, with no output. I decided to edit my modprobe.conf file manually, and simply added "alias wlan0 ndiswrapper" to it. When i give ndiswrapper -m, I am told "module configuration already contains alias directive" presumably because I added it myself. When I get to the network configuration, in X, I get as far as setting the card up (after selecting "niswrapper wlan0" from the list, and once again, my system just stops working. it hangs, looks as if its doing something for about a second, and then stops completely, and i have to reset.

anyone got any clue how to get this working? or where my problem is?
This sounds very much like what I went through when I was trying to install the ndiswrapper on my system. What I found was that the default 4k stack that the FC6 kernel has will not work for all Windoze drivers.

I had to adjust my kernel stack size in order to get it to work. If you are still having issues (I notice you have not posted any further since your last and very well may have it fixed by now) then please let me know and I will try to point you to the solution I had to use.

Focal
2007-01-31, 09:16 PM CST
GreyWizard,

Sorry I have been away from my linux problem for a day or so... It might be the same problem. Here is the information I get in my terminal when I try

#/ yum -y install ndiswrapper
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package ndiswrapper.i386 0:1.25-1.lvn6 set to be updated
--> Running transaction check
--> Processing Dependency: ndiswrapper-kmod >= 1.25 for package: ndiswrapper
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package kmod-ndiswrapper.i686 0:1.25-1.2.6.19_1.2895.fc6 set to be updated
--> Running transaction check
--> Processing Dependency: kernel-i686 = 2.6.19-1.2895.fc6 for package: kmod-ndiswrapper
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package kernel.i686 0:2.6.19-1.2895.fc6 set to be installed
--> Running transaction check
--> Populating transaction set with selected packages. Please wait.
---> Package kernel.i586 0:2.6.18-1.2798.fc6 set to be erased
--> Running transaction check

Dependencies Resolved

================================================== ===========================
Package Arch Version Repository Size
================================================== ===========================
Installing:
ndiswrapper i386 1.25-1.lvn6 livna 29 k
Removing:
kernel i586 2.6.18-1.2798.fc6 installed 43 M
Installing for dependencies:
kernel i686 2.6.19-1.2895.fc6 updates 16 M
kmod-ndiswrapper i686 1.25-1.2.6.19_1.2895.fc6 livna 93 k

Transaction Summary
================================================== ===========================
Install 3 Package(s)
Update 0 Package(s)
Remove 1 Package(s)

Total download size: 16 M
Downloading Packages:
Running Transaction Test
Finished Transaction Test


Transaction Check Error: package kernel-2.6.19-1.2895.fc6 is already installed
file /boot/System.map-2.6.19-1.2895.fc6 from install of kernel-2.6.19-1.2895.fc6 conflicts with file from package kernel-2.6.19-1.2895.fc6
file /boot/config-2.6.19-1.2895.fc6 from install of kernel-2.6.19-1.2895.fc6 conflicts with file from package kernel-2.6.19-1.2895.fc6
file /boot/symvers-2.6.19-1.2895.fc6.gz from install of kernel-2.6.19-1.2895.fc6 conflicts with file from package kernel-2.6.19-1.2895.fc6
file /boot/vmlinuz-2.6.19-1.2895.fc6 from install of kernel-2.6.19-1.2895.fc6 conflicts with file from package kernel-2.6.19-1.2895.fc6

johannlo
2007-02-11, 01:53 AM CST
You have the infamous 'wrong kernel installed' bug it looks like - notice the i586 and i686 differences in the output you've posted above.

Basically the installer installed the wrong kind of kernel (for i586 architecture instead of i686) but your Fedora installation 'thinks' its running i686, which is what it should be presuming your computer isn't 6-7 years old

Refer to

http://forums.fedoraforum.org/forum/showthread.php?t=139751&highlight=i586+kernel

KKJensen
2007-02-23, 07:09 AM CST
I agree...I'm a noob too and just barely worked through this. After using "linux i686" to have the fc6 installer put the "right" kernel in, either it didn't work or an update put in the i586 kernel. Once I got the i686 kernel working then it installed without any problems and the livna repository had the ndiswrapper for it (meaning I did not download it directly from source forge or anywhere else...just "yum install ndiswrapper")

sluijs01
2007-03-09, 08:19 AM CST
Hello all. I am a noob, and most likely have a very elementary question. As many people on this thread, I am trying to install a wireless card on fc6. I'm installing a Dynex laptop card (yeah, I know they're cheap, but I'm cheap too) and on the wiki it says to use net5211.inf and ar5211.sys to install. So heres the dumb question: where do I find these files? I've searched an XP install cd, the card's install cd, a copy of XP that has the card installed in it, microsoft's web site, and I've googled it. I would appreciate any help anyone is willing to give me. Thanks. (If anyone has the files and it's legal/you're willing to send them to me, you can email soccerslice01@yahoo.com)

jwal
2007-03-10, 09:26 PM CST
I'm feeling a bit overwhelmed by the distributed documentation on this...

I tried making my PCI wifi card work with NdisWrapper in a Slackware install a few months ago and hung up around the cabextract/unshield phase. Not that I have time again, I'd like to figure this out and get rid of the 30ft cable running down the hall here. I'm using a FC6 install, but can't find a solid reference for how to go about configuring the USR MAXg adapter. The USR site just points to NdisWrapper. At the NdisWrapper Wiki, I can't get past the prereq steps- package kernel-source<kernel-version>.rpm gives a "No such file or directory" message with every kernel-version variation I've tried- why does uname give a funky version like 2.6.19-1.2911.6.5.fc6 anyway? Shouldn't it just be 2.6.19.something?

The broadcom site is of little help. Looking at this forum, there is the BCM4318 [AirForce One 54g] thread, but it goes on about Acer laptops- I have a hombrew tower and other sites have indicated 4318 isn't an AirForce One chipset anyway. This thread gives inststructions for FC4 and 5, but information since 6 was released isn't exactly comprehensive. Where do I start in figuring out how to enable my wifi? I might not even mind the speed loss if I had to use the native driver, as long as it actually worked...

Joeh_B
2007-03-14, 09:07 PM CDT
Ok perhaps someone can help a new user in this thread :P

My Laptop is a gateway 7422gx and my wireless is BCM4306. Its recognized in linux already under the network configuration tab, but when I try and use my keyboard hotkeys to turn the radio on it won't go. When I try and activate it through the network configuration tab it cannot find an IP address.

So I got FC6 all up and running, everythings working great except my wireless. Heres the kicker though, I can't get on a landline to update through yum or download through livna. See my apartment complex is retarded and doesn't offer landlines, its only wireless. I could probably get to a landline at some point soon, but I'd like to get this resolved as soon as possible. Im dual booting with windows XP and my wireless is working in here, so I can download and move anything I need to through USB flashdrive.

So I went ahead and used the guide here http://forums.fedoraforum.org/forum...ghlight=BCM4306
with ndiswrapper and the bcmwl5.inf and bcmwl5.sys files. I got through the first few steps but it changed here..

# /usr/sbin/ndiswrapper -l
-- make sure it says "bcmwl5 present"

Mine says "bcmwl5 : invalid driver!"

Any ideas on how I could go about getting my wireless to work ?

~Joey

KKJensen
2007-03-14, 09:36 PM CDT
When I put FC6 on my machine I ran into the "i586 bug"...make sure you have the i686 kernel installed... #uname -a will list what you've got. More forum threads talk about fixing this. I never did get ndiswrapper to work right while the i586 kernel was installed.

I had to blacklist the 43xx driver by adding one line in /etc/modprobe.conf


#added
blacklist bcm43xx


Aside from that...the following code got it going:


#yum -y ndiswrapper
#ndiswrapper -a bcmwl5.inf <----I got this from the Acer driver pack that came with my laptop
#modprobe ndiswrapper
...and TADA! I'm afraid if what you're experiencing is any different that what I've seen on this one machine, I don't really know what to tell you.

I had tried a lot of howtos and it all started working once I installed FC6 using the "linux i686" command to install. It is possible to install the proper kernel manualy but I'm really not the one to ask about how to do it.

Good luck

Joeh_B
2007-03-14, 11:27 PM CDT
Ok update, heres whats going on.

I went back and tried what was posted by KKjensen, I added the blacklist command through gedit /etc/modprobe.conf - but the file was empty before I added the two lines.

The code with yum -y ndiswrapper didnt do anything except give me a bunch of options for yum. ndiswrapper -a bcmwl5.inf (which is the correct file for my BCM4306 driver) did nothing either. Modprobe through me some error which im forgetting at the moment.

I checked the kernel version by using a tutorial I searched for. Heres what I came up with


yum list installed kernel


showed

Kernel-2.6.18-1.2798.fc6.x86_64

Kernel-devel-2.6.18.1.2798.fc6.x86_64

Kernel-headers-2.6.18.1.2798.fc6.x86_64


How about now ? Does that help at all?

KKJensen
2007-03-15, 07:59 AM CDT
I see you're using the 64 bit kernel and I don't know if that has any bearing or impact on ndiswrapper...

Anyway, try
#uname -a


You will hopefully see i686 a couple times and i386 once (assuming what I see is what everyone should). If you see i586 then you've go the i586 bug and should hunt down the appropriate x64 fixes.

Joeh_B
2007-03-15, 05:10 PM CDT
I didnt get anything with i686 or i386 or i586...heres what I got

Linux Localhost.LocalDomain 2.6.18-2798.fc6 #1 SMP Mon Oct 16 14:39:22 EDT 2006 x86_64 x86_64 x86_64 GNU_LINUX

Sadface... im starting to thinka fresh install is going to be a better option...I can't even get connected through my 10/100 X_X

KKJensen
2007-03-15, 09:10 PM CDT
Sorry you're not making much progress. Maybe there's a 64bit thread out there discussing the same problem...

good luck

GreyWizzard
2007-03-20, 08:18 AM CDT
I didnt get anything with i686 or i386 or i586...heres what I got

Linux Localhost.LocalDomain 2.6.18-2798.fc6 #1 SMP Mon Oct 16 14:39:22 EDT 2006 x86_64 x86_64 x86_64 GNU_LINUX

Sadface... im starting to thinka fresh install is going to be a better option...I can't even get connected through my 10/100 X_X
Not to throw a shadow on this, but are you sure that a fresh install will get you any further than you are now? Perhaps I am being dense, but I don't see how it would.

As for the kernel and kernel versions, it is obvious that you would not be one of the many people that have the i586 bug since you are using the x86_64 kernel. With that in mind, you can move on to the next possible issue and wipe that from your mind. Simply one less thing to worry about. :)

Now, I am sure you have thought about this already, but humor me for a minute. When you looked for Win drivers for your card, did you specifically look for 64 bit drivers or is it possible that the driver you are trying to use is actually a 32 bit driver?

h*klown
2007-03-20, 11:12 PM CDT
im following the install.txt that came with the verison of ndiswrapper i downloaded (1.38) and im having problems understanding them even though it looks simple.I see it says have 2.6.6 kernal in ls /lib/modules/`uname -r`/build. Im using a usb xterasys wireless stick. I have the .gaz saved to my desktop and im using fc6 64bit.ANyone point me the nux-Noob inthe right direction? :confused:

ok now i found it modules\user/2.6.18-1.2798.fc6

gbak1
2007-04-11, 04:16 AM CDT
I followed the instructions and it seemed to go smoothly as I did not get any errors. However when I use the gui, after I save the configuration and try to activate the wireless device I get the following error:

3c501 device eth1 does not seem to be present delaying initialization.

Any ideas?

Card: NetGear wpn311

Frelov
2007-04-15, 05:40 PM CDT
Here's yet another sob story I guess:

I've found that I have to run this logged in as root otherwise I just get errors upon errors even when I change to root in the terminal on a user acct.

Everything goes fine for the most part. when I install the driver (linksys wpc54g card v 1.2) it says it's forcing something from 0 to 2 several times over. not a problem.

everything else looks good.

When I put the code to write the config it says several times over an alias has already been configured. So I manually put the "alias wlan0 ndiswrapper" in the modprobe.conf file.

Then I go to the network settings gui and see the ndiswrapper wlan0, but I ALSO see my card recognizing as a broadcom corporation BCM4306 802.11b/g Wireless Lan Controller (dev 27697).

So I try the ndiswrapper (wlan0) first and of course it says device not present so delaying initialization.

When I try to activate the broadcome it says "determining IP information for dev27697...failed;no link present. check cable?

when I try to scan in the command prompt it says dev27697 does not support scanning.

So where can I find info on a work around for this? Thanks.

gbak1
2007-04-16, 04:37 AM CDT
Sorry but I cant help. I hope you get your linksys card to work, I have a linksys wireless card which doesnt even work with linksys own drivers (network keeps freezing) on winxp so good luck.

gbak1.

Frelov
2007-04-16, 05:03 PM CDT
I'd have to ask why yours is getting assigned to eth1 instead of wlan0

Frelov
2007-04-17, 09:47 AM CDT
Yesterday I installed FC6 fresh from the newly burned disks and attempted to do ndiswrapper again. here's what I experienced.

1) the disks installed an i686 kernel but when the generic yum -y update ran, newer i586 kernels were installed in the update. After failing in my efforts to replace the i586 kernels with i686 kernels I had to reinstall fc6 all over again.

2) Leaving out the mass update of "yum -y update" I tried "yum -y install kmod-ndiswrapper". It updated the kernel, thankfully to an i686 version. but I should have rebooted before proceeding. when I got to the "/sbin/modprobe ndiswrapper" it couldn't find the ndiswrapper. So I ran "/usr/sbin/ndiswrapper -e lsbcmnds" to get rid of the installed driver, rebooted, reinstalled the driver according to the guide, everything worked fine, no errors all the way through all the command prompts. dmesg even gave me that ndiswrapper was up.

3) here's were it got interesting. When I went to the gui for the network setup it showed the wireless already installed as eth1, not wlan0. Also it showed the hardware as "eth1 (Broadcom Corporation BCM4306 802.11b/g Wireless Lan Controller).

I modified the wireless settings to the proper wireless channel and tried activating and got the following:

"determining IP information for eth1... failed; no link present. Check cable?"

So I went into the command line and did "/sbin/iwlist scanning" and got

"eth1 Interface doesn't support scanning : No such device.

I tried deleting the device and manually adding it but no go. I'm browsing through this thread again but so far not finding a similar situation with a resolution.

Does ANYONE have any valid suggestions?

Thanks.

Frelov
2007-04-17, 07:30 PM CDT
Today I tried DriverLoader from http://www.linuxant.com. It wouldn't even recognize the wpc54g card. So I went down and got a belkin wireless card since I've heard great things about belkin and fedora. I think someone was looking for a laugh at my expense. when I get to the modprobe ndiswrapper it gives me errors when modprobing using the 4k stack kernel. using the larger kernel downloaded at linuxant (no kernel headers available) it gives me the fatal error module ndiswrapper not found since the kernel headers don't match the kernel and kernel-devel.

When I use driverloader on belkin on EITHER stack size it freezes when loading the driver and I then have to reinstall fedora from scratch.

I really wish I could find a flavor of linux that doesn't require me to go to school everytime they change something. I'm getting very discouraged at all this.

gbak1
2007-04-18, 06:02 AM CDT
I installed driver loader as well. I am using a linksys wmp300n. I have had a bit of trouble with it myself.
I feel I should have installed the larger stack size kernel first and then tried to install the rest. Actually fed5 kept crashing when ever I tried to open the network control panel, until I installed the kernel with the larger stack.
Nevertheless, I have had the most success with driverloader than anything else but still not 100% success. Fed5 now recognizes the hardware exists, I can configure settings with network configuration panel and even wireless assistant works, but my card refuses to connect to my access point.
Unfortunately I have not had the time over the last few days to figure it out and probably wont until the weekend so cant offer any further advice.
On a different note I see that fed7 is coming out at the end of May, so hopefully wireless features will be vastly improved - lets wait and see.

Gbak1

Frelov
2007-04-18, 07:36 AM CDT
I did a clean install and tried everything from the start, no yum updates, nothing. Same problems.

I did another clean install and found a 16k stack kernel that matches the current 4k stack kernel version and tried ndiswrapper AND driver loader on the belkin. I got the same hexadecimal code flood and freeze as on the 4k stack size for the ndiswrapper when doing the modprobe. Of course, after that It won't complete the modprobe for the linsys so another fresh install will have to be done to get rid of that. With the driverloader it still freezes after the .sys file input. I can unplug the hardware and reboot and it will boot into gnome just fine but freezes anytime I install the hardware. After I remove the driver in the web interface it's ok but refreezes when I try to install the driver. I've tried all versions of the driver found on the disk, 98, ME, 2k, xp. none of them work with driver loader OR ndiswrapper. I think it's safe to say that the belkin F5D7010 ver 7000 is a waste of money for linux users. Unless someone knows something I don't.

I'm beginning to think I've messed something up hardware wise with all this. I broke down and found my xp disk to reinstall xp pro onto the system but now when the system starts checking the config the screen goes blank and it just sits there with the hard drive light on full blast. I can't even get into an area where I can select anything.

I'm getting less and less fond of fedora with each "upgrade".

gbak1
2007-04-18, 01:37 PM CDT
I didnt do a modprobe, the system seemed to detect the card without me doing modprobe (with the larger stack k from driverloader).
And in terms of operating system choice the good thing is that at least win ??? works out of the box, where as linux be prepared to fight with it to get stuff to work ALL the time. Thats my experience.

gbak1
2007-04-18, 01:44 PM CDT
Just remembered, I believe D-Link have several cards which they claim are good for linux, I remember reading it on one of their product boxes - but of course theres no guarantee they will work for fed. And supposedly Unbuntu is supposed to be the just works linux flavor installs from a single disk, you might want to try that. If you try it then please let me know how things go.
Cheers..........

GreyWizzard
2007-04-24, 10:36 AM CDT
Today I tried DriverLoader from http://www.linuxant.com. It wouldn't even recognize the wpc54g card. So I went down and got a belkin wireless card since I've heard great things about belkin and fedora. I think someone was looking for a laugh at my expense. when I get to the modprobe ndiswrapper it gives me errors when modprobing using the 4k stack kernel. using the larger kernel downloaded at linuxant (no kernel headers available) it gives me the fatal error module ndiswrapper not found since the kernel headers don't match the kernel and kernel-devel.Strange, I seem to remember being able to get kernel headers for each of their 16k kernel compiles in the past. Perhaps it was done on reboot with a 'yum update'.... Don't really remember the details since I have done it so many times it is kind of second nature now.

When I use driverloader on belkin on EITHER stack size it freezes when loading the driver and I then have to reinstall fedora from scratch.I never have had any luck with driverloader. Of course, I have also never had such bad luck as to need to reload the OS after trying it either. Wonder why it would seem to go after your system with such an extreme reaction?

I really wish I could find a flavor of linux that doesn't require me to go to school everytime they change something. I'm getting very discouraged at all this.Understandable. The bottom line seems to be the hardware people and their love affair with M$. If they would simply supply a Linux driver as they do a M$ driver, we would all be happy!

Now, I do have a quick question on your method of getting this all accomplished.

Are you trying to use the pre-compiled ndiswrapper rpms or are you going through the extra few steps to custom bake your own rpms via ndiswrapper source?

Based on my experience, the only way I could ever get it to work was to use the source code and recomplie using the 16k stack kernel and the latest source for ndiswrapper.

Frelov
2007-04-27, 05:58 PM CDT
Sorry for the delay, I've been out of town for a few days. with ndiswrapper I originally started using the prebaked rpms but then quickly switched to using the source code from the download site to try to get it to work with my specific system.

My computer isn't extremely old but it's not new either. it's a sony viao pcg-frv27 running a wintel p4 with 512meg ram, Ati Raedon IGP 345, alps pad, etc. I've had the keyboard replaced once a little over 2 years ago but it was working fine for quite a while. I left it set unused for a few months then tried the wireless and it wouldn't work. I thought perhaps something got replaced on yum, even though I followed an online "how to" on preventing ndis and the kernel from being updated with yum.

I'm thinking of dropping back down to FC4 and seeing if I can get anything running like that. I don't know though.

We'll see.

xienxien2001
2007-06-24, 03:30 AM CDT
hi, i'm brand new to fedora and just installed core 6. i followed these instructions but when i do
usr/sbin/ndiswrapper -i xienxien2001/wireless/rt73.inf it says no such file or directory. i don't know what to do. i have a belkin wireless g usb adapter and used the rt73.inf and rt73.sys drivers off of the cd. please help

StephenH
2007-08-26, 02:53 PM CDT
Apparently, something significant changed in the latest 2.6.22.4-65 kernel. When I rebooted my laptop after this update, my wireless card would no longer work.

Thankfully, I didn't panic like I might have before. I did some checking and ndiswrapper -l gave me the clue I needed. It now reads that the alternate driver is b43 instead of the bcm43xx-80211. I added b43 to the blacklist (/etc/modprobe.d/blacklist), and all is again well.

After I found this, I found another thread ( http://www.fedoraforum.org/forum/showthread.php?t=164526) where the same thing was stated.

Stephen

StephenH
2007-08-26, 06:59 PM CDT
Actually, not all is well. Although the lights on the card come on and the network is recognized in the NetworkManager Applet, I have yet to be able to successfully connect with my home network which uses wpa. wlassistant also will not connect. It tells me that the radio appears to be off when I start it up. If I eject and reinsert the card (with the appropriate pccardctl options), it then recognizes the network, but I still can't get it to connect.

I guess the next step is to remove the b43 modification to the blacklist file and try again with the previous 2.6.22.1-41.fc7 kernel, which I just did. The result: SUCCESS! :D

I definitely will be ditching kernel 2.6.22.4-65, as it flat-out doesn't work for me. :(

Stephen

StephenH
2007-08-26, 08:15 PM CDT
Bugzilla report filed: https://bugzilla.redhat.com/show_bug.cgi?id=255681

Stephen

hoistyler
2007-08-29, 03:50 AM CDT
Could someone help me please...

everything in this guide worked fine until

dmesg

the output of dmesg is:

bcm43xx_mac80211: Adding Interface type 2
bcm43xx_mac80211: Error: Microcode "bcm43xx_microcode5.fw" not available or load failed.

I get multiple lines of those two lines.

I believe my card is bcm4311 PCI-E card and my system is FC6 (2.6.22.2-42.fc6)

could someone help me with these problems?

StephenH
2007-08-31, 04:05 PM CDT
Bugzilla report filed: https://bugzilla.redhat.com/show_bug.cgi?id=255681

Stephen
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |CLOSED
Resolution| |CANTFIX




------- Additional Comments From xxxxxxxx@xxxxxx.com 2007-08-31 10:43 EST -------
ndiswrapper is unsupportable...

Okay, now what? Unless there is a solution, I am going to have to stay at the older working kernel since the new ones break my card's ability to function using ndiswrapper. :(

Is there a newer, better solution to use a Belkin F5D7010 (ver. 1315) wireless 802.11g card?

Stephen

leigh123linux
2007-08-31, 04:18 PM CDT
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |CLOSED
Resolution| |CANTFIX




------- Additional Comments From xxxxxxxx@xxxxxx.com 2007-08-31 10:43 EST -------
ndiswrapper is unsupportable...

Okay, now what? Unless there is a solution, I am going to have to stay at the older working kernel since the new ones break my card's ability to function using ndiswrapper. :(

Is there a newer, better solution to use a Belkin F5D7010 (ver. 1315) wireless 802.11g card?

Stephen

You could try rebuilding these source rpm's ( based on the livna kmod system) that I made ( ndiswrapper version 1.48rc1 ) and see if it helps your problem .

see attachment for src.rpm's

http://forums.fedoraforum.org/forum/showthread.php?t=163344&highlight=ndiswrapper

I have tested them with a broadcom and a rt2500 with WEP and WPA encryption with no problems in both F7 & F8 test 1 ( x86_64 ) , but I am going to try them in F7 i386 next week .


Installed Packages
kmod-ndiswrapper.x86_64 1.48rc1-1.2.6.22.1_41. installed
kmod-ndiswrapper.x86_64 1.48rc1-1.2.6.22.4_65. installed
kmod-nvidia.x86_64 100.14.11-1.2.6.22.4_6 installed
kmod-nvidia.x86_64 100.14.11-1.2.6.22.1_4 installed
Available Packages



P.S hopefully they will pass livna's strict build requirements


edit : I have attached some src.rpm ( just extract and use the commands below to build )

to build

su
yum groupinstall "Development Tools"
yum install rpm-build
rpmbuild --rebuild ndiswrapper-1.48rc1-1.fc7.src.rpm
rpmbuild --rebuild ndiswrapper-kmod-1.48rc1-1.2.6.22.4_65.fc7.src.rpm

StephenH
2007-08-31, 10:07 PM CDT
to build
------
su
yum groupinstall "Development Tools"
yum install rpm-build
rpmbuild --rebuild ndiswrapper-1.48rc1-1.fc7.src.rpm
rpmbuild --rebuild ndiswrapper-kmod-1.48rc1-1.2.6.22.4_65.fc7.src.rpm
------

I tried this and although it appears to have built the first file, it failed on the second. The messages are:

Installing ndiswrapper-kmod-1.48rc1-1.2.6.22.4_65.fc7.src.rpm
warning: user leigh does not exist - using root
warning: group leigh does not exist - using root
error: Architecture is not included: i386

Meanwhile, a fixed ndiswrapper has not yet made it to Livna as I just did an upgrade to get the latest kernal and ndiswrapper, adn it still doesn't work for me. :(

Stephen

leigh123linux
2007-09-01, 01:37 AM CDT
to build
------
su
yum groupinstall "Development Tools"
yum install rpm-build
rpmbuild --rebuild ndiswrapper-1.48rc1-1.fc7.src.rpm
rpmbuild --rebuild ndiswrapper-kmod-1.48rc1-1.2.6.22.4_65.fc7.src.rpm
------

I tried this and although it appears to have built the first file, it failed on the second. The messages are:

Installing ndiswrapper-kmod-1.48rc1-1.2.6.22.4_65.fc7.src.rpm
warning: user leigh does not exist - using root
warning: group leigh does not exist - using root
error: Architecture is not included: i386

Meanwhile, a fixed ndiswrapper has not yet made it to Livna as I just did an upgrade to get the latest kernal and ndiswrapper, adn it still doesn't work for me. :(

Stephen

Sorry I am not used to i386 ( the module needs to be i686) so use this command to build the module.

su
rpmbuild --rebuild --target=i686 ndiswrapper-kmod-1.48rc1-1.2.6.22.4_65.fc7.src.rpm

StephenH
2007-09-01, 06:50 AM CDT
Sorry I am not used to i386 ( the module needs to be i686) so use this command to build the module.

su
rpmbuild --rebuild --target=i686 ndiswrapper-kmod-1.48rc1-1.2.6.22.4_65.fc7.src.rpm
Okay, I am getting closer. This time it says:

error: Failed build dependencies:
kernel-PAE-devel-i686 = 2.6.22.4-65.fc7 is needed by ndiswrapper-kmod-1.48rc1-1.2.6.22.4_65.fc7.i686

What is the difference between the regular kernel and the PAE kernel? (going to look) Okay, Physical Address Extensions. I don't have the PAE kernel installed as this laptop only has 512 Mb of memory and will only top out at 1Gb according to the specifications.

Stephen

leigh123linux
2007-09-01, 07:14 AM CDT
Okay, I am getting closer. This time it says:

error: Failed build dependencies:
kernel-PAE-devel-i686 = 2.6.22.4-65.fc7 is needed by ndiswrapper-kmod-1.48rc1-1.2.6.22.4_65.fc7.i686

What is the difference between the regular kernel and the PAE kernel? (going to look) Okay, Physical Address Extensions. I don't have the PAE kernel installed as this laptop only has 512 Mb of memory and will only top out at 1Gb according to the specifications.

Stephen

Ok I have built some i686 packages for you ( built on a F7 i386 machine )


P.S I used this command to build the kmod

rpmbuild --rebuild --target=i686 ndiswrapper-kmod-1.48rc1-1.2.6.22.4_65.fc7.src.rpm --define 'kvariants ""' --define 'kversion `uname -r`'

tameboy
2007-09-01, 10:01 AM CDT
I'm not sure if I am posting this query in the right place. I am trying to install ndiswapper but am having problems because, as stated in the installation instructions:

You need a recent kernel, at least 2.6.6 or 2.4.26, with header files
for the kernel. Make sure there is a link to the kernel source from
the modules directory.

I get this error when trying to use the make command:

Can't find kernel build files in /lib/modules/2.6.22.4-65.fc7/build;
give the path to kernel build directory with
KBUILD=<path> argument to make


The problems I have now are
1) I don't know where my kernel build directory is
2) I don't know how to make a link

I've used uname -r to confirm that I am indeed using 2.6.22.4-65.fc7

Any help gratefully received

leigh123linux
2007-09-01, 10:08 AM CDT
I'm not sure if I am posting this query in the right place. I am trying to install ndiswapper but am having problems because, as stated in the installation instructions:

You need a recent kernel, at least 2.6.6 or 2.4.26, with header files
for the kernel. Make sure there is a link to the kernel source from
the modules directory.

I get this error when trying to use the make command:

Can't find kernel build files in /lib/modules/2.6.22.4-65.fc7/build;
give the path to kernel build directory with
KBUILD=<path> argument to make


The problems I have now are
1) I don't know where my kernel build directory is
2) I don't know how to make a link

I've used uname -r to confirm that I am indeed using 2.6.22.4-65.fc7

Any help gratefully received


Why dont you use the prebuilt rpm's that I posted on my previous post as this will be the easiest way for you to get online ( to build ndis yourself you will need to install gcc and a kernel-devel )

leigh123linux
2007-09-01, 11:34 AM CDT
Okay, I am getting closer. This time it says:

error: Failed build dependencies:
kernel-PAE-devel-i686 = 2.6.22.4-65.fc7 is needed by ndiswrapper-kmod-1.48rc1-1.2.6.22.4_65.fc7.i686

What is the difference between the regular kernel and the PAE kernel? (going to look) Okay, Physical Address Extensions. I don't have the PAE kernel installed as this laptop only has 512 Mb of memory and will only top out at 1Gb according to the specifications.

Stephen

Ok this may help with your kernel issue

[root@localhost ~]# rpm -q kernel-2.6.22.4-65.fc7 --changelog
* Tue Aug 21 2007 Chuck Ebbert <cebbert@redhat.com>
- sky2: don't clear PHY power bits

* Tue Aug 21 2007 Chuck Ebbert <cebbert@redhat.com>
- Hibernation: do not try to mark invalid PFNs as nosave

* Tue Aug 21 2007 Dave Jones <davej@redhat.com>
- 2.6.22.4

* Thu Aug 16 2007 Dave Jones <davej@redhat.com>
- Fix symvers warning on install of debug kernel.

* Thu Aug 16 2007 Chuck Ebbert <cebbert@redhat.com>
- sensors: fix wrong values with some chips
- r8169: fix polling
- forcedeth: fix wrong OUI for PHY
- SCSI: fix async scanning
- sky2: 4 patches from maintainer

Now for what appear to be a fixed kernel

[root@localhost ~]# rpm -q kernel-2.6.22.5-71.fc7 --changelog
* Fri Aug 24 2007 John W. Linville <linville@redhat.com>
- Update wireless-dev bits (mac80211, rt2x00, b43, ssb)
- Add patch to keep old firmware format for b43
- Add at76_usb driver

* Fri Aug 24 2007 Chuck Ebbert <cebbert@redhat.com>
- CFS scheduler v20.3

* Fri Aug 24 2007 Chuck Ebbert <cebbert@redhat.com>
- V4L/DVB: fix airstar hd5000 tuner

* Fri Aug 24 2007 Chuck Ebbert <cebbert@redhat.com>
- fix 3ware 9000 controller DMA fallback (#251729)

* Thu Aug 23 2007 Chuck Ebbert <cebbert@redhat.com>
- Linux 2.6.22.5
- CFS scheduler v20.2
- fix Pegasos PS/2 port detection

* Wed Aug 22 2007 Chuck Ebbert <cebbert@redhat.com>
- 2.6.22.5-rc1
- un-revert genirq changes
- add new genirq fixes from upstream
- ALSA: fix ad1988 spdif output
- ALSA: mutiple stac92xx codec fixes
- libata: fix pata_via driver on ppc pegasos platform

* Tue Aug 21 2007 Chuck Ebbert <cebbert@redhat.com>
- sky2: don't clear PHY power bits

* Tue Aug 21 2007 Chuck Ebbert <cebbert@redhat.com>
- Hibernation: do not try to mark invalid PFNs as nosave

* Tue Aug 21 2007 Dave Jones <davej@redhat.com>
- 2.6.22.4

* Thu Aug 16 2007 Dave Jones <davej@redhat.com>
- Fix symvers warning on install of debug kernel.

* Thu Aug 16 2007 Chuck Ebbert <cebbert@redhat.com>
- sensors: fix wrong values with some chips
- r8169: fix polling
- forcedeth: fix wrong OUI for PHY
- SCSI: fix async scanning
- sky2: 4 patches from maintainer

to get this kernel

su
yum --enablerepo=updates-testing update kernel
reboot

then rebuild the ndiswrapper module for the new kernel

su
rpmbuild --rebuild --target=i686 ndiswrapper-kmod-1.48rc1-1.2.6.22.4_65.fc7.src.rpm --define 'kvariants ""' --define 'kversion `uname -r`'

the above command can also be used to rebuild any other kmod source rpm i.e fglrx , nvidia

rpmbuild --rebuild --target=i686 source-kmod-package.src.rpm --define 'kvariants ""' --define 'kversion `uname -r`'

tameboy
2007-09-01, 01:42 PM CDT
cheers for your help leigh. Those rpm's work a treat.

Now I just need to connect to a TKIP encrypted network, which is proving quite a task! Perhaps that's a Q for another thread though.

leigh123linux
2007-09-01, 01:57 PM CDT
cheers for your help leigh. Those rpm's work a treat.

Now I just need to connect to a TKIP encrypted network, which is proving quite a task! Perhaps that's a Q for another thread though.

try this mini howto that I got from the ndiswrapper site

Create wpa_supplicant configuration somewhere, say, /etc/wpa_supplicant.conf. A simple configuration such as

ctrl_interface=/var/run/wpa_supplicant
network={
ssid="myssid"
psk="mysecret"
key_mgmt=WPA-PSK
proto=WPA
}

should suffice. Note that psk given above can be plain text ASCII pass phrase that is used on the AP or hex digits (without quotes) that can be generated with wpa_passphrase from the same ASCII pass phrase. For simplicity, go with ASCII pass phrase.

Above configuration causes wpa_supplicant to negotiate which encryption scheme to use. Certain AP’s might not work with this negotiation procedure. So it can help to limit the scheme to the most basic WPA one: TKIP. Add this line to your config to do so: pairwise=TKIP

Now start the interface and then wpa_supplicant. For example, as

ifconfig wlan0 up
wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf -dd

Note: With ndiswrapper version 1.12 and older, use -Dndiswrapper instead of -Dwext.

Now configure the network interface; e.g., if you are using a DHCP you may need to run
dhclient wlan0

The option -dd to wpa_supplicant gives lot of output so you can see if there is a problem. If everything works, you can drop -dd option. You may also want to leave wpa_supplicant running in the background with the option -Bw so you don’t need to start it everytime. Once wpa_supplicant authenticates, you can use DHCP to configure the network interface.

wpa_supplicant by default tries CCMP also known as AES and TKIP ciphers in that order. So if your AP supports both, you can use either ndiswrapper works with both, if the driver supports them.

You can also use wpa_supplicant to set WEP keys if you don’t want/need to use WPA. This way, you can specify bssid in each network block so you can set different WEP keys for different APs automatically.

ndiswrapper works with WPA-EAP; tested with freeradius and TLS, TTLS, PEAP, IEEE8021X.

tameboy
2007-09-01, 04:13 PM CDT
thats awesome leigh, I'm entering this via my fully operational wireless connection. Many Thanks.

Am I tempting providence if I ask one more Q? My intention was to use this PC in an office where they wont want to by typing in commands via the command line when they start up. Is there any way to configure this so that it all connects during the system boot?

StephenH
2007-09-01, 08:31 PM CDT
Unfortunately, I am still not there.

dmesg gives this result:

ADDRCONF (NETDEV_CHANGE): wlan0: link becomes ready
wlan0: no IPv6 routers present
ADDRCONF(NETDEV_UP): wlan0: link is not ready

It will automatically connect to my neighbor's router which is unsecured, but will not connect to my network, which is WPA. :(

I did deinstall and/or disable as much of the IPv6 stuff as I could since it is not being used here. Should I have left it intact?

Stephen

leigh123linux
2007-09-01, 09:53 PM CDT
Unfortunately, I am still not there.

dmesg gives this result:

ADDRCONF (NETDEV_CHANGE): wlan0: link becomes ready
wlan0: no IPv6 routers present
ADDRCONF(NETDEV_UP): wlan0: link is not ready

It will automatically connect to my neighbor's router which is unsecured, but will not connect to my network, which is WPA. :(

I did deinstall and/or disable as much of the IPv6 stuff as I could since it is not being used here. Should I have left it intact?

Stephen


Did you try disabling all the nework services ( IMO these are still not ready for normal use )in system-config-services then try using the CLI method to connect to wpa ( see my last post )


I did deinstall and/or disable as much of the IPv6 stuff as I could since it is not being used here. Should I have left it intact?

I don't think ipv6 would cause any issues with wpa

StephenH
2007-09-02, 12:21 PM CDT
Still no joy. :(

I did disable networkmanager and wlassistant in system-config-services, but it didn't connect when I tried the manual method. It kept cycling though the same set of messages which I didn't copy. I am trying to make sure that I don't have any duplicates on ndiswrapper and kmod-ndiswrapper installed right now, but only the ones you made.

Did that and still no joy. :(

Stephen

leigh123linux
2007-09-02, 12:50 PM CDT
Still no joy. :(

I did disable networkmanager and wlassistant in system-config-services, but it didn't connect when I tried the manual method. It kept cycling though the same set of messages which I didn't copy. I am trying to make sure that I don't have any duplicates on ndiswrapper and kmod-ndiswrapper installed right now, but only the ones you made.

Did that and still no joy. :(

Stephen


Did you try the new kernel from updates-testing, I posted the change log a couple of posts back ( there where changes to wifi )

StephenH
2007-09-02, 12:59 PM CDT
I didn't try that kernel. I have avoided the testing repos as I rely on my systems too much to go there. I have instead reverted back to kernel 2.6.22.1-41.fc7 and the associated kmod-ndiswrapper which are working, and have decided to wait until the kernel and associated ndiswrapper are released. I dumped kernel 2.6.22.4-65 entirely off of my laptop as it has been more pain than it is worth.

I appreciate your help. It did benefit Tameboy at least.

Stephen

tameboy
2007-09-02, 04:09 PM CDT
Am I tempting providence if I ask one more Q? My intention was to use this PC in an office where they wont want to by typing in commands via the command line when they start up. Is there any way to configure this so that it all connects during the system boot?
I found an answer to this so I am posting it in case anyone else might benefit. I set up a simple Linux script:
ifconfig wlan0 up
wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf -B
dhclient wlan0
I saved this as a text file and made it executable (and so my first Linux script was verily begotten). It's my understanding that you could put these lines in the script /etc/rc.d/rc.local and it should run after everything else has booted. However I did this and ended up with a blue screen of death so at present I just run the above script manually which is no trouble and I am sure the office where it is going to go will cope with this too.

Thanks again for your help Leigh.

tdrogers
2007-09-04, 08:34 PM CDT
I'm another who wants to say, "Thanks, Leigh!"

I'm running F8T1 on a brand-new Dell D630, and finally got the Broadcom wireless up and running. Now, I guess I'll have to get myself a wireless router.

electron1948
2007-09-06, 09:51 AM CDT
A newbie running the Mythdora version of FC6. Have followed this process, updating where required, and found I can get the wifi working manually (sent this post using it!) but it is all missing when I reboot. Double checking, the process goes wrong somewhere as below:



# /usr/sbin/ndiswrapper -i <your home directory>/bcmwl/bcmwl5.inf
...this command will create a folder in /etc/ndiswrapper/bcmwl5/bcmwl5.inf
# /usr/sbin/ndiswrapper -l
-- make sure it says "bcmwl5 present"
# /sbin/depmod -a
#/sbin/modprobe ndiswrapper
# dmesg
--you will see a log about the driver been loaded if you do then
# /usr/sbin/ndiswrapper -m
--create an alias in /etc/modprobe.conf


Here comes the easy part :cool:
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)
I only get "Other wireless card" in the 'Select Wireless Device box".

I've checked 'modprobe.conf' and it contains 'alias eth1 3c501' so that looks OK. Any suggestions as to where I'm going wrong? Many thanks.

[/QUOTE]If you have any constructive comments please post [/QUOTE]
This is not on the system as spec'd below.

leigh123linux
2007-09-06, 11:37 AM CDT
A newbie running the Mythdora version of FC6. Have followed this process, updating where required, and found I can get the wifi working manually (sent this post using it!) but it is all missing when I reboot. Double checking, the process goes wrong somewhere as below:

I only get "Other wireless card" in the 'Select Wireless Device box".

I've checked 'modprobe.conf' and it contains 'alias eth1 3c501' so that looks OK. Any suggestions as to where I'm going wrong? Many thanks.

If you have any constructive comments please post [/QUOTE]
This is not on the system as spec'd below.[/QUOTE]


I've checked 'modprobe.conf' and it contains 'alias eth1 3c501' so that looks OK. Any suggestions as to where I'm going wrong? Many thanks.

shouldn't this be

alias eth1 ndiswrapper

electron1948
2007-09-07, 02:45 AM CDT
shouldn't this be

alias eth1 ndiswrapper

Probably but I have no idea where 3c501 came from - I certainly didn't put it there! I've changed the entry to ndiswrapper but it's hasn't helped.

My problem appears to be that ndiswrapper doesn't start at boot but if I enter the command 'modprobe ndiswrapper' manually via terminal then the wifi works perfectly. I must need a 'call' to run ndiswrapper at boot but being a newbie I have no idea where this should go or what the format should be.

I've looked at several how-to's but none quite fits my installation and they are all quite different so picking a common path through them is tough going. None seems to cover the aspect of making it all start automatically for all users (1 user + root) at boot up.

Can anyone advise in full and simple terms? I can add a working wifi to windows in under ten minutes but I've been battling with it on Linux for about 4 days now!

leigh123linux
2007-09-07, 02:52 AM CDT
Probably but I have no idea where 3c501 came from - I certainly didn't put it there! I've changed the entry to ndiswrapper but it's hasn't helped.

My problem appears to be that ndiswrapper doesn't start at boot but if I enter the command 'modprobe ndiswrapper' manually via terminal then the wifi works perfectly. I must need a 'call' to run ndiswrapper at boot but being a newbie I have no idea where this should go or what the format should be.

I've looked at several how-to's but none quite fits my installation and they are all quite different so picking a common path through them is tough going. None seems to cover the aspect of making it all start automatically for all users (1 user + root) at boot up.

Can anyone advise in full and simple terms? I can add a working wifi to windows in under ten minutes but I've been battling with it on Linux for about 4 days now!

try

su
gedit /etc/rc.d/rc.local

and add this line

/sbin/modprobe ndiswrapper

electron1948
2007-09-07, 04:00 AM CDT
try
su
gedit /etc/rc.d/rc.local
and add this line
/sbin/modprobe ndiswrapper

Leigh, thanks for your help. I did this and it has made two differences:

1) If I go to System | Administration | Wireless assistant it does now accept that there is a wifi present whereas before it simply said there was no driver present. Cannot now connect whereas I could (even with wpa-tkip) when I started it manually
2) the cabled network won't work! Removing the above line brings it back following a reboot.

Checking around I get some conflicting info:

iwlist: finds and reports the correct access point
iwconfig: reports no wirless lan!
dmesg: reports a bug during loading of ndiswrapper

Fullish reports from these three below, had to truncate to get it accepted.

***** iwlist output:

[root@localhost ~]# iwlist wlan0 scan
wlan0 Scan completed :
Cell 01 - Address: 00:18:39:34:DE:7E
ESSID:"Mywifi"
Protocol:IEEE 802.11b
Mode:Managed
Frequency:2.437 GHz (Channel 6)
Quality:35/100 Signal level:-73 dBm Noise level:-96 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
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : TKIP
Authentication Suites (1) : PSK

**** dmesg output:

ndiswrapper version 1.47 loaded (smp=yes)
usb 4-2: reset high speed USB device using ehci_hcd and address 2
ndiswrapper: driver zd1211u (3COM Corporation,10/06/2004,2.12.1006.2004) loaded
wlan0: ethernet device 00:12:a9:54:ba:2d using NDIS driver: zd1211u, version: 0x20c4a06, NDIS version: 0x501, vendor: '3COM OfficeConnect Wireless 11g Compact USB Adapter', 6891:A727.F.conf
BUG: unable to handle kernel paging request at virtual address d3a15a0c
printing eip:
d2012ba8
*pde = 00000000
Oops: 0002 [#1]
SMP
last sysfs file: /class/usb_endpoint/usbdev4.2_ep04/dev
Modules linked in: ndiswrapper(U) sunrpc nf_conntrack_netbios_ns ipt_REJECT nf_conntrack_ipv4 xt_state nf_conntrack nfnetlink iptable_filter ip_tables ip6t_REJECT xt_tcpudp ip6table_filter ip6_tables x_tables video sbs i2c_ec dock button battery asus_acpi backlight ac ipv6 cx88_alsa lp floppy cx22702 cx88_dvb cx88_vp3054_i2c dvb_pll video_buf_dvb snd_via82xx gameport dvb_core snd_ac97_codec ac97_bus snd_seq_dummy via_ircc snd_seq_oss cx8802 cx8800 irda cx88xx snd_seq_midi_event ir_common snd_seq snd_pcm_oss i2c_algo_bit crc_ccitt compat_ioctl32 parport_pc via_rhine tveeprom snd_mixer_oss btcx_risc i2c_viapro ide_cd video_buf cdrom parport videodev zd1211rw mii snd_pcm serio_raw v4l2_common v4l1_compat i2c_core pcspkr snd_timer snd_page_alloc snd_mpu401_uart snd_rawmidi ieee80211softmac snd_seq_device snd soundcore ieee80211(F)(U) ieee80211_crypt(F)(U) dm_snapshot dm_zero dm_mirror dm_mod ext3 jbd ehci_hcd ohci_hcd uhci_hcd
CPU: 0
EIP: 0060:[<d2012ba8>] Tainted: PF VLI
EFLAGS: 00010297 (2.6.20-1.2944.fc6 #1)
EIP is at NdisDispatchPnp+0x923/0xe5d [ndiswrapper]
eax: 656e6e6f ebx: c6f38c48 ecx: ca3d1060 edx: 00000002
esi: c6dfab9c edi: 00000501 ebp: c6323400 esp: c6f38b78
ds: 007b es: 007b ss: 0068
Process modprobe (pid: 2676, ti=c6f38000 task=ce7314b0 task.ti=c6f38000)
Stack: ca3d1060 00000100 00000000 00000000 00000010 00000054 000000ba 0000002d
d201cb5f c9f53818 020c4a06 00000501 ca3d1060 c6dfab9c 00000000 c6323000
c061ef69 00000000 54a91200 c9f53818 ca3d1060 00000003 cfd3c170 cfd91650
Call Trace:
[<c061ef69>] __sched_text_start+0x999/0xa21
[very big snip]

ADDRCONF(NETDEV_UP): wlan0: link is not ready
ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
wlan0: duplicate address detected!
wlan0: no IPv6 routers present
wlan0: no IPv6 routers present


**** iwconfig output:

[root@localhost ~]# iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wlan0 IEEE 802.11g ESSID:off/any
Mode:Managed Frequency:2.437 GHz Access Point: 00:18:39:34:DE:7E
Bit Rate=54 Mb/s Tx-Power:-2147483648 dBm Sensitivity=0/3
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

[root@localhost ~]#

leigh123linux
2007-09-07, 05:43 AM CDT
I don't know if you have already done this , but did you add this to /etc/modprobe.conf as it is needed


alias wlan0 ndiswrapper


and remove any other reference to wlan0 by putting # at the beginning of the line in question

i.e

#alias wlan0 whatever

tdrogers
2007-09-07, 07:28 AM CDT
2) the cabled network won't work! Removing the above line brings it back following a reboot.
Returning the 'alias eth1 3c501' to modprobe.conf should get your wired network running, again.

electron1948
2007-09-07, 07:41 AM CDT
I don't know if you have already done this , but did you add this to /etc/modprobe.conf as it is needed

alias wlan0 ndiswrapper



OK, for some reason I had "alias eth0 ndiswrapper" in there so that would explain why it killed the cable network!

Corrected it as suggested above and rebooted. Now get some errors about wlan0 during boot and then eventually just a blue screen with the cursor and no more - arghhhhhhhhhhh!

All I can make out of the error message as it flies by is:

Bringing up wlan0 ....
.... line 216 .. 2106 segmentation error.
... set error code 8B2A ....
set failed for device wlan0 .... Invalid Argument

Can I press a key to halt loading and get all the message?

As a newbie I have no idea how to access anything to make changes/corrections so now feel really stuck

leigh123linux
2007-09-07, 07:53 AM CDT
OK, for some reason I had "alias eth0 ndiswrapper" in there so that would explain why it killed the cable network!

Corrected it as suggested above and rebooted. Now get some errors about wlan0 during boot and then eventually just a blue screen with the cursor and no more - arghhhhhhhhhhh!

All I can make out of the error message as it flies by is:

Bringing up wlan0 ....
.... line 216 .. 2106 segmentation error.
... set error code 8B2A ....
set failed for device wlan0 .... Invalid Argument

Can I press a key to halt loading and get all the message?

As a newbie I have no idea how to access anything to make changes/corrections so now feel really stuck

Try disabling network ( to get shell try Ctrl + Alt + F1 - F6


chkconfig --level 2345 network off

init 1
init 5

or reboot

If you can boot up after disable wifi from starting on boot

system-config-network

and you will find a option to disable on boot

electron1948
2007-09-07, 09:21 AM CDT
Try disabling network ( to get shell try Ctrl + Alt + F1 - F6

This doesn't seem to work at whatever point I try it. All I get is a frozen part of the boot activity showing all the programs loading with [OK] alongside. Looks like 'll have to go for a rebuild. Not a happy bunny!

Why does this sort of thing always happen on a hot ,sticky, Friday afternoon?

leigh123linux
2007-09-07, 09:52 AM CDT
This doesn't seem to work at whatever point I try it. All I get is a frozen part of the boot activity showing all the programs loading with [OK] alongside. Looks like 'll have to go for a rebuild. Not a happy bunny!

Why does this sort of thing always happen on a hot ,sticky, Friday afternoon?

ok

boot the install media

and start linux rescue

mount your install

and then chroot in

chroot /mnt/sysimage
nano /etc/modprobe.conf

and edit and make sure these two entries are there

alias wlan0 ndiswrapper
alias eth1 3c501

then type

reboot

leigh123linux
2007-09-07, 09:54 AM CDT
Returning the 'alias eth1 3c501' to modprobe.conf should get your wired network running, again.

Thanks I didn't notice your post :)

electron1948
2007-09-08, 06:33 AM CDT
ok
boot the install media
and start linux rescue
mount your install
and then chroot in
chroot /mnt/sysimage
nano /etc/modprobe.conf
and edit and make sure these two entries are there
alias wlan0 ndiswrapper
alias eth1 3c501
then type
reboot

Leigh, thanks again for your continued assistance. Sadly this didn't work - it still crashed. Then realised I could do an interactive boot (I am a newbie!) and simply stopped wlan0 from starting. That got me in and I commented out two lines and I could happily reboot - phewl Sending this post from the problem machine.

The two lines I commented out were:

/etc/modprobe.conf:- alias wlan0 ndiswrapper
/etc/rc.d/rc.local:- /sbin/modprobe ndiswrapper
The network entries in /etc/modprobe.conf are now:

alias eth0 via-rhine
# alias wlan0 ndiswrapper
I don't know where the 35c01 entry came from - it's a red herring and I've deleted it from everywhere I've found it as this card was never in this system.

Don't really know where to go from here because it seems that enabling the wi-fi just causes an irrecoverable crash. Incidentally, booting from an Ubuntu Live CD ,the wi-fi dongle was found and set up correctly without any problems so it seems all the HW is OK.

electron1948
2007-09-08, 08:36 AM CDT
More on the above: I've reedited the network entries in /etc/modprobe.conf back to:

alias eth0 via-rhine
alias wlan0 ndiswrapper
and can still boot OK but I get an error message when wlan0 is started. Can anyone tell me what the cause of this is and how to cure it?

The complete error message is as below although the format is a bit skewed on the screen, I believe what is shown below is correct:

Start service wlan0
Bringing up interface wlan0: ./networking functions: line 216: 2192 segmentation fault modprobe $1>/dev/nul 2>&1
Error for wireless request "Set Encode" (8B2A):
Set failed on device wlan0...failed; no link present, check cable? [FAILED]

The only thing commented out at present is in /etc/rc.d/rc.local:- /sbin/modprobe ndiswrapper

If I can fix this and get my wifi to work automatically I'll be a V happy bunny! Thanks in advance for any assistance.

FriedChips
2007-09-09, 02:01 AM CDT
It seems that I have successfully got this working but when I do:

service network restart

I get

Shutting down interface eth0: [ OK ]
Shutting down loopback interface: [ OK ]
Bringing up loopback interface: [ OK ]
Bringing up interface eth0:
Determining IP information for eth0... done.
[ OK ]
Bringing up interface wlan0:
Determining IP information for wlan0... failed; no link present. Check cable?
[FAILED]

There may just be no connection available. I do not have a wireless connection of my own, but I am very close to western university so I am pretty confident there would be a wireless signal around here. My question is, is there any way to view any possible connections? Some way to list if any are "seen" and what type of encryption etc.?

electron1948
2007-09-09, 10:45 AM CDT
My question is, is there any way to view any possible connections? Some way to list if any are "seen" and what type of encryption etc.?
Hi,
Assuming everything is is correct this will show you what access points there are in the area, simply enter it in terminal:
iwlist wlan0 scan
Hope this helps.

FriedChips
2007-09-09, 01:51 PM CDT
Well maybe all isn't well as I thought, that command returns:

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

wlan0 No scan results

electron1948
2007-09-10, 05:35 AM CDT
Well maybe all isn't well as I thought, that command returns:

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

wlan0 No scan results

Looks as though you have two different revisions of software here and now you are beyond my ability to help. You could always try to uninstall everything and start again with matching versions. There are several sites that describe how to remove it all but to date I've not found one that works - all I get is error messages or messages telling me that what I want un-installed can't be found!

Good luck!

FriedChips
2007-09-10, 09:30 AM CDT
Well, this laptop is going on eBay, and I will not buy another gateway. This is not the only problem I have. My soundcard is an MCP51, which has virtually no support and I have not heard of any gateway owner to get theirs working. Realtek provides a linux driver for this wlan but it WILL not install properly no matter how hard I try. I have followed the install instruction EXACTLY and to no avail. Once this is gone I will got to Best Buy with my fedora liveCD and do some testing before I commit to a purchase. Anyone looking for a good windows laptop??? Let me know.

madopal
2007-09-12, 11:01 PM CDT
So, I had this working just fine. But the new 2.6.22 kernel broke it horribly. Does anyone have any docs on how to a) remove all the other new things to get ndiswrapper working again (I had blacklisted bcm43xx, but it's now b43, and it's HORRIBLY tangled with the mac80211 stuff now), or b) use the new b43 stuff? I can't seem to find any howtos, and the stuff at linuxwireless.org is BARELY documentation.

kglidh
2007-09-13, 09:26 AM CDT
Well, I had gotten my Broadcom WiFi working with the 2.6.22.1-41 kernel with the blacklist entries for bcm43xx_mac80211 and bcm43xx. When the 2.6.22.4.65 kernel come out, it broke the ndiswrapper so I reverted back to 41. When the 2.6.22.5-76 kernel installed, not only did my wlan0 not work, I couldn't get the old version (41) to work when I rebooted. When I did a ndiswrapper -l in the 76 kernel, I noticed that the alternate driver had changed from the mac80211 to ssb. So I blacklisted ssb, rebooted with my 76 kernel and my WiFi works again. Don't know what ssb is or care, really. I just find it funny that they would change the alternate driver to another one that doesn't work.

Anyway, I hope that helps somebody.

hermouche
2007-09-17, 01:02 AM CDT
Since you can activate your wireless connection, post the output of
/sbin/iwconfig

Hy Darkmage,

I would like you to help me to get connection to the outside world, please and thanks.

I have a D-Link modem-router and i've got a Desktop PC running Fedora 7. I could not have the internet??

do i need ndiswrapper?
red

bruno2040
2007-10-15, 06:50 AM CDT
@madopal & kglidh

I experienced about the same with 2.6.22 kernels and my bcm4306 card.
I had been using ndiswrapper for 3 years with no problem, starting from FC2 up to FC6.
Recently, I found out that bcm43xx driver was finally working with kernel 2.6.22-1.41. I got rid of ndiswrapper and enjoyed bcm43xx a while.
With kernel 2.6.22.2-42 : bcm43xx worked fine.
With kernel 2.6.22.4-45 : bcm43xx was not working anymore, neither bcm43xx-mac80211. The surprinsing point was that It was very difficult to make ndiswrapper work again !
With kernels 2.6.22.5-49 and 2.6.22.7-57, I had to uninstall these recent kernels to have ndiswrapper working again under 2.6.22.4-45. I took several days to make ndiswrapper work again and I don t understand exactly why it works now with the scarry configuration I had to create...

Binkocd
2007-11-15, 12:28 PM CST
I am new to the Linux terminal and ndiswrapper. I installed FC8 this past weekend and it showed my wireless card and I could use it when I was running the Live cd and then when I was just running it from the install DVD, two different accounts showing it installed and working. Once installed I couldn't use it or see it. I tried following the steps for the ndiswrapper wlan install and it says installed already. I am having some trouble trying to piece together and install sequence that will help me with this problem. Other than buying a generic after market wlan card. If someone can show me how to uninstall what it has installed for a wlan driver and from start to finish how to install this wlan I would greatly appreciate it. This is the only thing keeping windows on my Laptop. Thanks a lot.

-Binkocd

cclukins
2008-02-08, 10:44 PM CST
I have ndiswrapper and the driver (blkwgn7 for Belkin F5D7010 ver. 7000) installed. The light comes on and Network Manager shows it, but when I connect with it the whole system locks up...completely. I have to do a hard reboot. What's up with that? I have another card (DWL-122, uses driver netprism) that shows the device is present with ndiswrapper -l but Network Manager doesn't see it. At least the computer doesn't lock up with it. Luckily I have an older card (Cabletron Roamabout with orinoco chipset) that doesn't require ndiswrapper. It only uses WEP though and I would like to use the Belkin card with WPA. The Belkin card works fine with ndiswrapper in Mepis, but I want to use Fedora.

edit: I checked lshw and the card uses driver rtl8180. I loaded this module and it locks up when it tries to connect. No difference. I guess I'm stuck with the old card.

venumus
2008-03-07, 03:03 PM CST
the upgrade broke my ndiswrapper heres my out put. i cant view my card in the network manager[root@localhost ~]# ndiswrapper -l
bcmwl5 : driver installed
device (14E4:4328) present (alternate driver: ssb)
[root@localhost ~]#

kglidh
2008-03-07, 09:18 PM CST
Yeah, I can't remember which kernel version that happened in. Just blacklist ssb in your /etc/modprobe.d/blacklist file

# Bad Broadcom driver stuff
blacklist bcm43xx
blacklist ssb

FriedChips
2008-03-07, 09:27 PM CST
actually bcm43xx isn't even built into newer kernels, it is b43 or b43legacy module that is causing problems. you need to blacklist both of them.

EDIT: and ssb as well.

kglidh
2008-03-07, 09:49 PM CST
Yeah, that line was leftover from days gone by. I just included everything from my last comment so it would look like an entry in a file and not me repeating myself. I also noticed that this is the thread where I made the discovery about ssb in the first place back in September (post #601).

venumus
2008-03-08, 12:56 AM CST
[root@localhost ~]# dmesg | grep ndiswrapper
ndiswrapper version 1.52 loaded (smp=yes, preempt=no)
usbcore: registered new interface driver ndiswrapper
usbcore: deregistering interface driver ndiswrapper
ndiswrapper version 1.52 loaded (smp=yes, preempt=no)
usbcore: registered new interface driver ndiswrapper
[root@localhost ~]#

CiudaTeluL
2008-09-19, 01:21 PM CDT
i installed ndiswrapper for fedora core 9 .. all done .. and even the device it says is present .. but when i`m trying to view and make the connection i can`t see no device .. i am using NETGEAR WG311v3 adapter .. anyone can explain what happened? Thank you

kglidh
2008-09-19, 01:37 PM CDT
My FC9 laptop "upgraded" to 2.6.26 and it broke ndiswrapper. I couldn't get my internal or external wifi to work. So I had to go back to the 2.6.25.14-108.fc9.i686 kernel. This has happened before where the ndiswrapper module lagged behind the kernel version.

What is your kernel version and version of ndiswrapper (mine is at 1.53).

Also, look at your blackout list.

CiudaTeluL
2008-09-19, 02:15 PM CDT
my kernel version is 2.6.25.14-9 and the version of ndiswrapper is 1.52 coz i couldn`t install the other version i needed to upgrade the kernel .. and i don`t have an internet connection.. and what is blackoutlist?

ToFue
2008-11-18, 09:04 PM CST
hehe- I finally have wireless! Thanks for the earlier Howto..

What I ended up doing was making a copy of the linksys x32-bit bcmwl5.inf file (I called it bcmwl5-64.inf)into the 64bit driver folder, and editing every instance of "bcmwl5.sys" to "bcmwl564.sys" (i forget where I got the 64bit broadcom drivers from.. was about a year ago, but it works for winxp64)

then after following the steps at the beginning of this tutorial, the device got recognition, and I had to tell System/Administration/Network to let it(the connection) be controlled by NetworkManager, then turning the network off by right-clicking the icon by the date/time, and typing NetworkManager in terminal (I think I had to turn it off/on twice.. lots of rebooting, etc..)

Well, Thanks again!

Magnar
2009-06-23, 02:22 AM CDT
Hey,

This description worked fine for me until

/sbin/modprobe ndiswrapper
FATAL: Module ndiswrapper not found.


How do I fix this?

DubJohn
2009-06-23, 03:51 PM CDT
Hey,

This description worked fine for me until

/sbin/modprobe ndiswrapper
FATAL: Module ndiswrapper not found.


How do I fix this?

Hi,
Is your wifi working without wpa? What driver are you using for your card?
J.

solosmoke
2009-06-23, 05:08 PM CDT
can anyone direct me to drivers for a dcb visionplus the cd they sent me are for windows xp and im trying to install for linux new to dvb cards expert on boxes

Magnar
2009-06-24, 01:14 AM CDT
Hey,

Thanks for your reply, DubJohn. It turns out that native Linux drivers were available for my wifi card via yum, so I got it working.

Cheers

DubJohn
2009-06-24, 02:47 PM CDT
can anyone direct me to drivers for a dcb visionplus the cd they sent me are for windows xp and im trying to install for linux new to dvb cards expert on boxes

This thread is about ndiswrapper. You can use ndiswrapper to load and use your XP drivers in Linux.

It's not ideal but it's an option if you cannot get native linux drivers for your card.

The application is available from http://sourceforge.net/projects/ndiswrapper/

Cargo Loader
2009-08-02, 01:36 PM CDT
Hi there,
i have a problem install ndiswrapper properly.
I havn't found anything else interessting through the search function, except of this thread, so I'll just write the problem.
I unpacked ndiswrapper and dir shows this:

AUTHORS ChangeLog driver INSTALL loadndisdriver.8 Makefile ndiswrapper.8 README utils

So all seems to be normal.
But if I write Make Install the following text appears:

[root@******* ndiswrapper-1.55]# make install
make -C driver install
make[1]: Entering directory `/home/****/ndiswrapper-1.55/driver'
Makefile:34: *** Cannot find kernel version in /usr/src/kernels/2.6.29.4-167.fc11.i586, is it configured?. Stop.
make: *** Laeving directory `/home/****/ndiswrapper-1.55/driver'
make: *** [install] Error 2


Does anyone know what that means and how to fix it?

Greets,
CL

stoat
2009-08-02, 03:16 PM CDT
Does anyone know what that means and how to fix it?Hello Cargo Loader,

It may mean that you do not have kernel-devel installed. For compiling source, I always install kernel-devel and kernel-headers. Like this (if you can somehow connect to the Internet)...su
yum install kernel-devel kernel-headersMaybe that will help. But did you know that there is a yum-installable binary version of ndiswrapper? You may have a good reason to compile it from source. I used to do that, too, before the binaries arrived on the scene. If you are interested in that, install the RPM Fusion repos (http://rpmfusion.org/) and then yum install kmod-ndiswrapper. There is also an akmod version if you prefer that.

Lastly, built-in or nearly built-in drivers for wireless cards have increased in number and quality. Who knows, maybe your wireless card can use one of them. It depends on its chipset. You can that find out (probably) with this in a terminal...lspci -nn | grep -i network

P.S.: If you need more help on this, you should just start a new thread of your own. This thing here is too long and old now. I doubt anyone reads all the way through this any more. And they probably shouldn't since so much has changed since it started. Jumping to yours at the end like I did, makes the old stuff at the beginning irrelevant really. And that kinda makes the case against tacking on new stuff at the end of it.

Cargo Loader
2009-08-02, 03:25 PM CDT
Thanks for the fast answer.

Well I can't connect to the internet, because that is my Desktop Computer and it's way to far from the router. Isn't there anything else that i can do?
It is an USB-Device so lspci dosn't help;
lsusb:

Bus 001 Device 005: ID 0836:7100 NetGear, Inc. WN121T RangeMax Next Wireless-N [Marvell TopDog]

If that helps anything.

The only way for me to go in internet is my Laptop here, running a Ubuntu-Derivat.

stoat
2009-08-02, 03:39 PM CDT
Well then you probably still have the original kernel. So you get can the RPM files for its kernel-devel and kernel-headers from the installation DVD. If you want to try installing kmod-ndiswrapper offline, you can read bbfuller's steps for that here...http://forums.fedoraforum.org/showthread.php?p=1247491#post1247491

bbfuller
2009-08-02, 04:20 PM CDT
Hello Cargo Loader

Odd card yours, the ndiswrapper archive site here:

http://web.archive.org/web/20080101164903/ndiswrapper.sourceforge.net/joomla/index.php?/component/option,com_openwiki/Itemid,33/id,list_m-n/

Has this to say about the Netgear WN121T:

Card: Marvell 88W8360
Chipset: Marvell 88W8360 TopDOG USB
usbid: 1286:2006 “Marvell TOPDOG 802.11n WLAN Client Adaptors - USB”
usbid: 1799:8051 “Belkin N1 Wireless USB Network Adapter”
usbid: 13B1:0029 “Linksys Wireless-N USB Network Adapter”
usbid: 0846:7100 “Netgear WN121T Wireless USB 2.0 Adapter”
usbid: 07D1:3B11 “D-Link Wireless N USB Adapter DWA-130”
usbid: 07D1:3B10 “D-Link RangeBooster N USB Adapter”
usbid: 0B05:172A “ASUS 802.11n Network Adapter”
usbid: 0B05:172B “ASUS 802.11n Network Adapter”
usbid: 0411:00CA “Buffalo 802.11n Network Adapter”
Driver: Mrv8360.inf / Mrv8360.sys, bundled Windows XP drivers on CD
Other: (unknown vendor) Works perfectly with ndiswrapper 1.2+, tested from source with kernel 2.6.20 (vanilla) on Gentoo 2006.1; FWIW it also works with Project Evil on the BSD’s

but as you can see, it's got a slightly different "usbid" to yours. Though I gather that the first four digits are supposed to identify the manufacturer and the last four the device.

I don't know that I've ever come across linux drivers for the Marvell chipsets so it looks like ndiswrapper may be your only chance.

They are my notes that Stoat pointed you to, if you have any problems or questions about them post back and I'll see what I can do.

By the way, if you hadn't come across the particular quirk before, ndiswrapper does not like Windows Vista drivers. Stick with those for XP.

Cargo Loader
2009-08-03, 05:25 AM CDT
ndiswrapper is my only chance. It worked with a few other distributions, that card.

I'll try to install it offline.

edit: Thanks guys, ndiswrapper is working properly now. I installed the DVD version, and made a make install.