LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 09-10-2008, 04:39 PM   #1
thinice15
Member
 
Registered: Feb 2008
Distribution: Slackware 12.0
Posts: 37

Rep: Reputation: 15
Need help fixinbg wlan0 for my linksys wusb54gp using ndiswrapper,


i have successfully installed ndiswrapper.

when i type "ndiswrapper -v" this is what i get:

Code:
utils version: '1.9', utils version needed by module: '1.9'
module details:
filename:       /lib/modules/2.6.21.5/misc/ndiswrapper.ko.gz
version:        1.52
vermagic:       2.6.21.5 mod_unload 486
and when i type "lsmod" i get this:

Code:
Module                  Size  Used by
snd_seq_dummy           2692  0
snd_seq_oss            28032  0
snd_seq_midi_event      5888  1 snd_seq_oss
snd_seq                42576  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_pcm_oss            38432  0
snd_mixer_oss          13824  1 snd_pcm_oss
ipv6                  226016  23
pcmcia                 30628  0
pcmcia_core            32400  1 pcmcia
capability              3336  0
commoncap               5376  1 capability
ndiswrapper           176276  0
lp                      9800  0
parport_pc             23844  1
parport                30152  2 lp,parport_pc
pcspkr                  2304  0
psmouse                34440  0
snd_cmipci             28800  0
gameport               10760  1 snd_cmipci
snd_pcm                65160  2 snd_pcm_oss,snd_cmipci
snd_page_alloc          7432  1 snd_pcm
snd_opl3_lib            8064  1 snd_cmipci
snd_timer              17540  3 snd_seq,snd_pcm,snd_opl3_lib
serio_raw               5124  0
snd_hwdep               6532  1 snd_opl3_lib
snd_mpu401_uart         6272  1 snd_cmipci
i2c_sis5595             6276  0
i2c_sis630              6540  0
snd_rawmidi            18080  1 snd_mpu401_uart
sis5595                12552  0
snd_seq_device          6540  5 snd_seq_dummy,snd_seq_oss,snd_seq,snd_opl3_lib,snd_rawmidi
hwmon                   2196  1 sis5595
snd                    41956  12 snd_seq_oss,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_cmipci,snd_pcm,snd_opl3_lib,snd_timer,snd_hwdep,snd_mpu401_uart,snd_rawmidi,snd_seq_device
tulip                  47264  0
i2c_isa                 3712  1 sis5595
soundcore               5728  1 snd
ata_generic             5252  0
sis_agp                 6148  1
agpgart                26928  1 sis_agp
shpchp                 29204  0
evdev                   7936  1
and you can see the ndiswrapper module is running and when i reboot it says:

Code:
ndiswrapper version 1.52 loaded (smp=no, preempt=no)
usb 1-2: reset full speed USB device using ohci_hcd and address 2
ndiswrapper: driver wusb54g (The Cisco-Linksys, LLC.,01/12/2004, 1.0.8.0) loaded
wlan0: ethernet device 00:0f:66:11:4a:93 using NDIS driver: wusb54g, version: 0x10008, NDIS version: 0x501, vendor: 'Linksys Wireless-G  Portable USB Adapter$
wlan0: encryption modes supported: WEP; TKIP with WPA; AES/CCMP with WPA
usbcore: registered new interface driver ndiswrapper
so i know its loaded but when i type "iwconfig" i get this:

Code:
wlan0     IEEE 802.11g  ESSID:off/any  Nickname:"(none)"
          Mode:Managed  Frequency:2.462 GHz  Access Point:Not-Associated
          Bit Rate=2 Mb/s
          RTS thr=2347 B   Fragment thr=2346 B
          Encryption key:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
and when i type "ifconfig -a" i get this:

Code:
wlan0     Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx
          inet addr:xxx.xxx.x.xx  Bcast:xxx.xxx.x.xxx Mask:xxx.xxx.xxx.x
          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)
theres really not any x's were i put x's on the last code it has my right info there. But how do i get this thing working because its not connecting to the internet? -thanks
 
Old 09-10-2008, 08:56 PM   #2
thinice15
Member
 
Registered: Feb 2008
Distribution: Slackware 12.0
Posts: 37

Original Poster
Rep: Reputation: 15
well i tried fixing up wlan0 i tried setting a access point and changing the mode from managed to master that dont work and i have no idea how to put my WPA Personal key in?
 
Old 09-11-2008, 01:04 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,517

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
http://ndiswrapper.sourceforge.net/j...,installation/
Quote:
...... use the ‘ndiswrapper’ tool to install the driver with
'ndiswrapper -i filename.inf'
This copies all necessary files to /etc/ndiswrapper and creates
the config files for your card. After installing you can run
'ndiswrapper -l' to see the status of your installed drivers.
May be you forgot the above.

Regards
 
Old 09-11-2008, 12:18 PM   #4
thinice15
Member
 
Registered: Feb 2008
Distribution: Slackware 12.0
Posts: 37

Original Poster
Rep: Reputation: 15
im sorry i forgot to tell yall that the driver is already installed. this is what i get when i type "ndiswrapper -l"

Code:
wusb54g : driver installed
        device (5041:2235) present
so yes its installed but i dont know how to configure wlan0 is what i need help with.
 
Old 09-11-2008, 05:32 PM   #5
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Quote:
Originally Posted by thinice15 View Post
well i tried fixing up wlan0 i tried setting a access point and changing the mode from managed to master that dont work and i have no idea how to put my WPA Personal key in?
If you use WPA encryption, you'll need to use wpa_supplicant to make a proper connection. Basically that means you need to set up an entry in your /etc/wpa_supplicant.conf file to identify your network and your WPA key will go there. If you want to go the GUI tool route, wicd is a very good tool and there are Slackbuild scripts at Slackbuilds.org.
 
Old 09-13-2008, 09:49 PM   #6
thinice15
Member
 
Registered: Feb 2008
Distribution: Slackware 12.0
Posts: 37

Original Poster
Rep: Reputation: 15
i got it fixed up.
 
Old 09-14-2008, 08:12 AM   #7
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Quote:
Originally Posted by thinice15 View Post
i got it fixed up.
Good. Now if you wouldn't mind, could you toss in a few lines on how you did it? Someone finding this thread later on will probably want to know.
 
Old 09-14-2008, 01:50 PM   #8
thinice15
Member
 
Registered: Feb 2008
Distribution: Slackware 12.0
Posts: 37

Original Poster
Rep: Reputation: 15
well i had to use this command to get it working "wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant -dd" then i opened another tty and then i checked if wlan0 has the default gateway by using the "route" command usually eth0 has the default gateway if you have a ethernet port so if you have eth0 up type "ifconfig eth0 down" it has to be down for wlan0 but if you dont have eth0 up there will be no default gateway so i used the command "route add default gw YOUR-GATEWAY-HERE wlan0" to make wlan0 the default gateway.then i used "nslookup" and "ping" to test it and it works.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help finding the right driver for my Linksys WUSB54GP... p0k3r Linux - Wireless Networking 2 08-21-2006 09:21 AM
wlan0 doesn't exist on SUSE 10.0 using ndiswrapper 1.17 and Linksys PCI card kevingreen Linux - Wireless Networking 9 06-29-2006 03:23 PM
help-linksys wusb54gp todd333 Linux - Wireless Networking 0 08-15-2005 09:47 PM
Wireless Linksys -G type loading with dhclient wlan0 after ndiswrapper is loaded but Wireless-G-DSL Linux - Hardware 1 04-01-2005 09:45 PM
Linksys Wireless G USB adapter? (WUSB54GP) heri0n Linux - Wireless Networking 1 10-21-2004 11:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 02:05 AM.

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