First post, but I'll try to stick to guidelines or whatever
My Realtek 8180 WLAN Card (Genius 7100P) works fine in windows and perfectly from the place I'm working now. (hurray for windows, now flame me!
. I got ndiswrapper 0.11 to install correctly and this is the dmesg log when I modprobe it (Ibtw I had to replace the 0.4 version with the new ndiswrapper.ko to get modprobe to work...)
ndiswrapper: no version for "struct_module" found: kernel tainted.
ndiswrapper version 0.11 loaded (preempt=no,smp=no)
ndiswrapper: using irq 17
wlan0: ndiswrapper ethernet device 00:40:f4:5e:12:c8 using driver netr8180
wlan0: encryption modes supported: WEP
ndiswrapper: driver netr8180 (KYE,01/28/2003,5.119.0127.2003) added
that kernel tainted stuff sounds pretty rough, but I reckon has nothing to do with me :-).
Then I do
"iwconfig wlan0 key restricted blablabla"
and shazam I get this iwconfig output
wlan0 IEEE 802.11b ESSID:"LaSEEB"
Mode:Managed Frequency:2.437GHz Access Point: 00:06:25:9B:25:EA
Bit Rate:11Mb/s Tx-Power:20 dBm Sensitivity=0/3
RTS thr:2432 B Fragment thr:2432 B
Encryption key:XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XX Security mode:restricted
Power Management
ff
Link Quality:100/100 Signal level:-53 dBm Noise level:-256 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
which looks pretty good (except for the 100/100 link quality which is bullshit or probably just ndiswrapper bug). Now should be the time to ask for an IP using DHCP. This is what I get
sit0: unknown hardware address type 776
sit0: unknown hardware address type 776
Listening on LPF/wlan0/00:40:f4:5e:12:c8
Sending on LPF/wlan0/00:40:f4:5e:12:c8
Sending on Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 13
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 17
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 13
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
I get similar results with dhcpcd or the ifup script's dhcp client. Nothing appears. Normal eth0 works fine with dhclient.
"iwlist wlan0 scanning" outputs this
lan0 Scan completed :
Cell 01 - Address: 00:0F:F7:B6:86:F0
ESSID:"WiFi_IST"
Protocol:IEEE 802.11b
Mode:Managed
Frequency:2.412GHz
Quality:0/100 Signal level:-72 dBm Noise level:-256 dBm
Encryption key
ff
[snip]
Bit Rate:52Mb/s
Extra:bcn_int=100
Cell 02 - Address: 00:06:25:9B:25:EA
ESSID:"LaSEEB"
Protocol:IEEE 802.11b
Mode:Managed
Frequency:2.437GHz
Quality:0/100 Signal level:-45 dBm Noise level:-256 dBm
Encryption key
n
Bit Rate:1Mb/s
[snip]
Bit Rate:1.5Mb/s
Extra:bcn_int=100
What gives? What can I try? Communication is obviously working as "iwlist wlan0 scanning" gives me the list of wireless networks over here. This looks to be a network problem, but appears in all networks. All of them work in windows.
Thank you very, very much!