Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Wireless Internet > Wireless usb key not recognized

Forgot Password?
 Wireless Internet   Anything related to getting wireless set up in Linux. WLAN, WiFi, etc.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 12-14-2008   #1 (permalink)
Just Joined!
 
Join Date: Dec 2008
Posts: 7
Wireless usb key not recognized

Hello all (again)

I have now ndiswrapper working fine, however I am still unable to get my usb wirelss key working (Dlink DWL-G122 rev A2).
For some reason, I think linux is not recognizing the device.

Here is what I did do far:

1. Installed ndiswrapper 1.53 - worked fine
2. Installed the WinXP driver for my usb wireless key (worked fine)
3. Problem! : hardware not recognized!


Code:
[root@localhost ~]# lsusb
Bus 001 Device 001: ID 0000:0000  
Bus 001 Device 002: ID 22b8:4810 Motorola PCS Triplet GSM Phone (storage)
Bus 002 Device 001: ID 0000:0000  
Bus 002 Device 002: ID 2001:3704 D-Link Corp. [hex] DWL-G122 802.11g rev. A2
[root@localhost ~]#

Code:
[root@localhost ~]# ndiswrapper -l
prisma02 : driver installed
        device (2001:3704) present
[root@localhost ~]#

As can be seen by the "ndiswrapper -l" command, only the driver is listed as present. The hardware is not mentioned to be present. According to the ndiswrapper's INSTALL how-to file, the "hardware present" message should be also be outputted with the "ndiswrapper -l" command.


Any help in figuring out why the hardware is not being detected will be much appreciated.

Thanks
-Roger







Other data that migth prove useful for debugging:


After much frustration, I realized that the hardware must not be seen when I tried to change the essid of my wlan0 wireless network without any sucess. That was what prompted me to go over again the ndiswrapper INSTALL file and made me realize that the "hardware present" message had never gotten displayed.

Code:
[root@localhost ~]# iwconfig wlan0 essid default
[root@localhost ~]# iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

sit0      no wireless extensions.

wlan0     IEEE 802.11g  ESSID:off/any  
          Mode:Managed  Frequency:2.437 GHz  Access Point: Not-Associated   
          Bit Rate:2 Mb/s   Tx-Power:32 dBm   
          RTS thr:2432 B   Fragment thr:2432 B   
          Encryption key:8012-ABF5-AA   Security mode:restricted
          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 ~]#
--> the essid did not change

(P.S the encryption key was manually change by me)



Also, the "dmesg" command's output is as following

Code:
[root@localhost ~]# dmesg
Linux version 2.6.18-53.el5 (brewbuilder@hs20-bc2-3.build.redhat.com) (gcc version 4.1.2 20070626 (Red Hat 4.1.2-14)) #1 SMP Wed Oct 10 16:34:02 EDT 2007
BIOS-provided physical RAM map:
...
agpgart: Putting AGP V2 device at 0000:01:00.0 into 1x mode
[drm] Setting GART location based on new memory map
[drm] Loading R300 Microcode
[drm] writeback test succeeded in 1 usecs
ndiswrapper version 1.53 loaded (smp=yes, preempt=no)
usb 2-2: reset full speed USB device using uhci_hcd and address 2
ndiswrapper: driver prisma02 (D-Link,08/05/2004, 3.00.22.0) loaded
wlan0: ethernet device 00:11:95:c3:dd:27 using NDIS driver: prisma02, version: 0x30016, NDIS version: 0x501, vendor: 'D-Link AirPlus G DWL-G122 Wireless USB Adapter(rev.A2)', 2001:3704.F.conf
wlan0: encryption modes supported: WEP; TKIP with WPA; AES/CCMP with WPA
usbcore: registered new driver ndiswrapper
SELinux: initialized (dev sda1, type vfat), uses genfs_contexts
ADDRCONF(NETDEV_UP): wlan0: link is not ready
[root@localhost ~]#
I truncated the output for purposes of clarity. Also, once again I see that the wlan0 is not functioning.


BTW, the LEDS on my usb key blink once every ~3-5 minutes. I imagine that means there is some activity on the usb key hardware side, but it may just be a side-effect of it having power. But at least the blinking indicates that the usb port must be functional.

Sidenote: If I recall correctly, the usb-key is usb-port specific on Windows XP. By usb-port specific, I mean that if I change the wireless usb-key's usb port to another one, I am prompted to re-install the driver. Can that perphaps shed some ligth on the problem?
rover8898 is offline  


Reply With Quote
Old 12-14-2008   #2 (permalink)
Just Joined!
 
Join Date: Dec 2008
Posts: 7
iwlist scan

Also

Performing " iwlist scan " gives the following:


Code:
root@localhost ~]# iwlist scan 
lo        Interface doesn't support scanning.

eth0      Interface doesn't support scanning.

sit0      Interface doesn't support scanning.

wlan0     Scan completed :
          Cell 01 - Address: 00:13:46:08:0C:24
                    ESSID:"default"
                    Protocol:IEEE 802.11g
                    Mode:Managed
                    Frequency:2.462 GHz (Channel 11)
                    Quality:28/100  Signal level:-78 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=1
          Cell 02 - Address: 00:1E:C7:76:21:A1
                    ESSID:"BELL190"
                    Protocol:IEEE 802.11g
                    Mode:Managed
                    Frequency:2.412 GHz (Channel 1)
                    Quality:7/100  Signal level:-91 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=1

[root@localhost ~]#

The "default" network is my wireless router's network. BELL190 is my neighbor's network. So now I am utterly confused; it seems that the usb key is capable of prompting the available networks but Linux is unable to see it.


-Roger
rover8898 is offline   Reply With Quote
Old 12-14-2008   #3 (permalink)
Trusted Penguin
 
waterhead's Avatar
 
Join Date: Jul 2004
Location: Franklin, Wisconsin
Posts: 3,957
If you are not using NetworkManager to manage your network connections, then you need to install and configure wpa_supplicant. This is needed before you can connect to WPA encrypted connections.
__________________
Paul

Please do not PM me with requests for help. I will not reply.
waterhead is offline   Reply With Quote
Old 12-14-2008   #4 (permalink)
Just Joined!
 
Join Date: Dec 2008
Posts: 7
Network Manager?

Thanks for the reply

Quote:
Originally Posted by waterhead View Post
If you are not using NetworkManager to manage your network connections, then you need to install and configure wpa_supplicant. This is needed before you can connect to WPA encrypted connections.
I imagine by NetworkManager you are referring to the GUI window that appears through System -> Administration -> Network menus. Also, I think the same GUI window appears by the "system-config-network" command.
Unfortunately, I do not find my DWL-G122 Dlink (rev A2) usb adapter listed (under the hardware tab) when I try to create a new wireless connection. Hence, I am using terminal commands. Furthermore, it's absence in the hardware tab is rather worrisome as it implies it is not seen by my OS. But as mentioned in my earlier posts, "iwlist scan" does bring up the available wireless networks.

Is there a way I can see if my DWL-G122 Dlink usb adapter is recognized by Linux?

Thx
-Roger
rover8898 is offline   Reply With Quote
Old 12-14-2008   #5 (permalink)
Trusted Penguin
 
waterhead's Avatar
 
Join Date: Jul 2004
Location: Franklin, Wisconsin
Posts: 3,957
By NetworkManager, I am referring to this:

NetworkManager - Wikipedia, the free encyclopedia

tar balls of it can be found here. But since it is a Red Hat founded application, you may be able to install it with YUM. It actually resides in the system tray (taskbar) as an icon.

As for it not showing up as an available network card is odd. Did you execute all of the NDISwrapper commands, after installing the driver? I don't remember them all, but running the help option will list them.
Code:
ndiswrapper --help
One that I remember is this:
Code:
ndiswrapper -m
__________________
Paul

Please do not PM me with requests for help. I will not reply.
waterhead is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 04:25 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2