Find the answer to your Linux question:
Results 1 to 5 of 5
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    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?

  2. #2
    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

  3. #3
    Linux Guru
    Join Date
    Jul 2004
    Posts
    4,593
    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.
    Please do not send Private Messages to me with requests for help. I will not reply.

  4. $spacer_open
    $spacer_close
  5. #4
    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

  6. #5
    Linux Guru
    Join Date
    Jul 2004
    Posts
    4,593
    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
    Please do not send Private Messages to me with requests for help. I will not reply.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •