![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
Ubuntu 9.10 is out!!!
When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu. The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely. |
|
Networking & Wireless Having problems getting connected to the internet or getting your wireless card to work? Ask here. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Way Too Much Ubuntu
![]() Join Date: Nov 2004
Location: Canada
Beans: 321
Ubuntu 9.10 Karmic Koala
|
How-To: WiFi config using NDISwrapper
I' ve used this method to successfully install drivers for several WiFi mini-PCI cards, which usually come integrated into recent laptops. My latest successful install was for an RT2500-based card in an Averatec Athlon XP-M 3250-HX01 computer.
UPDATE : it seems there are kernel drivers (which I was able to install succesfully) available for this specific wifi radio, however the following how-to still applies and can be used for other wifi radios and adapters. The drivers include a WPA implementation, which explains why wpa_supplicant does not support them. See this bug report for updates. Thanks to Jayded for posting about it. These are the steps I followed:
I would also suggest using a tool such as Wifi Radar to discover WiFi networks and manage your WiFi connections. Unfortunately I haven' t found anything supporting more than WEP in the GUI (like WPA, etc.). In my particular case, I used the drivers suggested at the NDISwrapper site in the list section. I downloaded the archive with the Windows drivers to my home directory, then moved them to a new directory called WiFi and unzipped them there. Then I moved back to my parent directory (/home/magicfab) and followed the instructions step by step. PLEASE NOTE this is only for an Averatec 3250-HX01 with RT2500-base Wifi! However the results should be very similar for other laptops/WiFi setups. Some laptops have a button to actually turn on / turn off the integrated WiFi radio - don' t forget to turn it on before your installation or else you'll end up wondering why nothing seems to work - like has happened to me :D First I make sure I am using the latest kernel for my processor and test to see if NDISwrapper has installed correctly: Code:
root@RoadRunner:/home/magicfab # uname -a Linux RoadRunner 2.6.8.1-4-k7 #1 Thu Dec 16 13:19:52 UTC 2004 i686 GNU/Linux root@RoadRunner:/home/magicfab # ndiswrapper WARNING: This tool allows you to use a driver written for the Windows operating system on Ubuntu. Please note that the use of such drivers is entirely unsupportable by the Ubuntu team, and not recommended, even if it is theoretically possible with this tool. Usage: ndiswrapper OPTION Manage ndis drivers for ndiswrapper. -i inffile Install driver described by inffile -e driver Remove driver -l List installed drivers -m Write configuration for modprobe Code:
root@RoadRunner:/home/magicfab # ls Desktop WL54driver2.2.6.0.zip root@RoadRunner:/home/magicfab # mkdir WiFi root@RoadRunner:/home/magicfab # mv WL54driver2.2.6.0.zip WiFi/ root@RoadRunner:/home/magicfab # cd WiFi/ root@RoadRunner:/home/magicfab/WiFi # ls WL54driver2.2.6.0.zip root@RoadRunner:/home/magicfab/WiFi # unzip WL54driver2.2.6.0.zip Archive: WL54driver2.2.6.0.zip inflating: RaLink2_RT2560.exe creating: Win2K/ inflating: Win2K/rt2500.cat inflating: Win2K/Rt2500.INF inflating: Win2K/rt2500.sys creating: Win9xMe/ inflating: Win9xMe/Rt2500.INF inflating: Win9xMe/rt25009x.sys creating: WinXP/ inflating: WinXP/rt2500.cat inflating: WinXP/Rt2500.INF inflating: WinXP/rt2500.sys root@RoadRunner:/home/magicfab/WiFi # ls RaLink2_RT2560.exe Win2K Win9xMe WinXP WL54driver2.2.6.0.zip root@RoadRunner:/home/magicfab/WiFi # rm *.zip root@RoadRunner:/home/magicfab/WiFi # ls RaLink2_RT2560.exe Win2K Win9xMe WinXP root@RoadRunner:/home/magicfab/WiFi # cd .. root@RoadRunner:/home/magicfab # ls WiFi/Win2K/ rt2500.cat Rt2500.INF rt2500.sys Code:
root@RoadRunner:/home/magicfab # ndiswrapper -i WiFi/Win2K/Rt2500.INF WARNING: This tool allows you to use a driver written for the Windows operating system on Ubuntu. Please note that the use of such drivers is entirely unsupportable by the Ubuntu team, and not recommended, even if it is theoretically possible with this tool. ls: /etc/ndiswrapper: No such file or directory Installing rt2500 Code:
root@RoadRunner:/home/magicfab # ndiswrapper -l WARNING: This tool allows you to use a driver written for the Windows operating system on Ubuntu. Please note that the use of such drivers is entirely unsupportable by the Ubuntu team, and not recommended, even if it is theoretically possible with this tool. Installed ndis drivers: rt2500 hardware present root@RoadRunner:/home/magicfab # modprobe ndiswrapper root@RoadRunner:/home/magicfab # dmesg | grep ndis ndiswrapper version 0.10 loaded (preempt=yes,smp=no) ndiswrapper: using irq 11 wlan0: ndiswrapper ethernet device 00:11:09:0b:de:83 using driver rt2500.sys ndiswrapper device wlan0 supports WPA with AES/CCMP and TKIP ciphers ndiswrapper: driver rt2500.sys (Ralink Technology, Inc.,06/10/2004, 2.02.06.0000) added Code:
root@RoadRunner:/home/magicfab # iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
sit0 no wireless extensions.
wlan0 IEEE 802.11g ESSID:off/any
Mode:Auto Frequency:2.412GHz Access Point: 00:00:00:00:00:00
Bit Rate:11Mb/s Tx-Power:20 dBm Sensitivity=-120 dBm
RTS thr:2347 B Fragment thr:2346 B
Encryption key:off
Power Management:off
Link Quality:100/100 Signal level:136/154 Noise level:0/154
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
Code:
dhclient wlan0 Last edited by magicfab; April 15th, 2005 at 02:21 AM.. Reason: Update to native kernel drivers info |
|
|
|
|
|
#2 |
|
5 Cups of Ubuntu
![]() Join Date: Dec 2004
Beans: 37
|
Re: How-To: WiFi config using NDISwrapper
Sweet,
That is exactly what I did and was going to write up, but I ran into christmas and no internet access or wireless access. you can also do the extracting of zip file from GUI, but your way was easier to show without screenshots/flash |
|
|
|
|
|
#3 |
|
5 Cups of Ubuntu
![]() Join Date: Jan 2005
Location: Planet Earth
Beans: 19
Ubuntu Karmic Koala (testing)
|
Re: How-To: WiFi config using NDISwrapper
Worked like a charm.
Thanks! |
|
|
|
|
|
#4 |
|
First Cup of Ubuntu
![]() Join Date: Feb 2005
Beans: 3
|
Re: How-To: WiFi config using NDISwrapper
I get stuck at the modprobe ndiswrapper stage. It keeps saying "module ndiswrapper doesn't exist" or something to that effect. I am using the 4.10 LiveCD and I read a review of it saying he couldn't get networking to work at all using the LiveCD which is a huge shame. However, I am fairly sure I am doing everything else correctly as I CAN use ndiswrapper successfully in Knoppix 3.7 using the same drivers. I've got an Asus WL103b in a laptop. Any suggestions?
|
|
|
|
|
|
#5 |
|
5 Cups of Ubuntu
![]() |
A better way
What a LOT of work when its all so unecessary and far more unstable than just installing the rt2x00 kernel driver ?!?
|
|
|
|
|
|
#6 |
|
5 Cups of Ubuntu
![]() Join Date: Mar 2005
Beans: 32
|
Re: How-To: WiFi config using NDISwrapper
How about enabling WEP? I tried to enter my WEP key (hex, 64 bit) as "sudo iwconfig wlan0 key XXXXXXXXXX" or formatted as XXXX-XXXX-XX, both through network preferences and the terminal but it dosent seem to work. When WEP is disabled the wireless network works so Im positive its a problem with WEP.
|
|
|
|
|
|
#7 |
|
First Cup of Ubuntu
![]() Join Date: Mar 2005
Beans: 1
|
Re: How-To: WiFi config using NDISwrapper
I agree, my acx111 TI based card works if I disable WEP on my USR router. I too have tried entering my WEP with iwconfig without luck. Help!!!
|
|
|
|
|
|
#8 |
|
5 Cups of Ubuntu
![]() Join Date: Mar 2005
Beans: 32
|
Re: How-To: WiFi config using NDISwrapper
Ive been trying all night to get my Netgear MA521 PC Card to work with no success. So this morning I gave it another shot:
With my card already added in Network Preferences (with my ssid and WEP key) I do "sudo modprobe ndiswrapper" in terminal. Then I go to Network Preferences and click on wlan0 and hit activate. FINALLY Im connected! Using wifi right now, I just hope it stays up. ~Now I remember how I got it working. I switched the 128bit hex key from Open System to Share Key. Everything works fine now but does anyone the difference between the two? Last edited by deviant03; March 5th, 2005 at 07:39 PM.. |
|
|
|
|
|
#9 |
|
5 Cups of Ubuntu
![]() Join Date: Mar 2005
Beans: 14
|
I really wish I had this luck with the Linksys WUSB11 version 2.8 (atmel).
*sigh* |
|
|
|
|
|
#10 | |
|
Way Too Much Ubuntu
![]() Join Date: Nov 2004
Location: Canada
Beans: 321
Ubuntu 9.10 Karmic Koala
|
Quote:
On the other hand, many thanks for pointing out the drivers , however they are *only* for the Averatec laptops with those specific internal wifi radios. The how-to is still valid for other unsupported wifi cards and radios. |
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|