Hello all (again)
I have now ndiswrapper working fine, however I am still unable to get my usb wireless key working.
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!
[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 ~]# ndiswrapper -l
prisma02 : driver installed
device (2001:3704) present
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.
USB key: DWL-G122 rev A2
Linux distro: RHEL 5.1 client
Other data that might 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.
[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
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
--> the essid did not change
(P.S the encryption key was manually changed by me)
Also, the "dmesg" command's output is as following
[root@localhost ~]# dmesg
Linux version 2.6.18-53.el5 (firstname.lastname@example.org) (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
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 perhaps shed some light on the problem?