Hi... i have a problem with my wifi-card. I don't know why the system do so, i have two ways of problem.
1) When i start the system, my gentoo trys to use dhcp for configuring wlan iface. It scans for wifi APs, and find some. But only protected. But later, in a few sec. it switch off the interface. (wlan0 down). So after it, when i try to connect to my AP, i try to scan for nets, getting if-ace up, and do the #iwlist wlan0 scan, it tells me "no results".. I don't know why ?
Code:
wlan0 IEEE 802.11bg ESSID:""
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
Tx-Power=off
Retry min limit:7 RTS thr:off Fragment thr=2352 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
Later, i try to do this connection manually..and when i do
#iwconfig wlan0 essid "dlink" or #iwconfig wlan0 ap SOME_MAC it just do...nothing... only changed the ESSID: to
Code:
wlan0 IEEE 802.11bg ESSID:"dlink"
I even tried to do #iwconfig wlan0 txpower 10 (or 20), and #iwconfig wlan0 essid "dlink" ap SOME_MAC but i also had no connection...
Code:
wlan0 IEEE 802.11bg ESSID:"dlink"
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
Tx-Power=10 dBm
so... then i tried ndiswrapper with windows drivers....and it failed too.
2) When i modprobed ndiswrapper module, i have the following:
Code:
wlan0 IEEE 802.11g ESSID:"default"
Mode:Auto Frequency:2.437 GHz Access Point: Not-Associated
Bit Rate:54 Mb/s Tx-Power:20 dBm Sensitivity=-121 dBm
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
But the scan still gives me no results. I did all the commands i listed before for manual connection, but there what i had...
Code:
wlan0 IEEE 802.11g ESSID:"default"
Mode:Auto Frequency:2.437 GHz Access Point: Not-Associated
Bit Rate:54 Mb/s Tx-Power:-2147483648 dBm Sensitivity=-121 dBm
RTS thr=2347 B Fragment thr=2346 B
I tried to change mode, power, anything....it failed... So any idea what it can be ?
My system info and logs:
1. Pentium 3 900Mhz
2. 256 RAM
3. MB TIGA TI-810+S
4. D-Link DWL-G510
01:0d.0 Network controller: RaLink RT2561/RT61 rev B 802.11g
Subsystem: D-Link System Inc DWL-G510 Rev C
Flags: bus master, slow devsel, latency 32, IRQ 12
Memory at efdf0000 (32-bit, non-prefetchable) [size=32K]
Capabilities: [40] Power Management version 2
Kernel driver in use: ndiswrapper
Kernel modules: rt61pci
Soft:
1) Latest Gentoo Linux system, with latest updates.
2) 2.6.29 kernel. (tried both with 2.6.30)
3) Ndiswrapper 1.53
4) Kernel's Ralink driver, 2.2.3
5) Firmware for Ralink card.
Dmesg:
Code:
PCI: setting IRQ 12 as level-triggered
rt61pci 0000:01:0d.0: found PCI INT A -> IRQ 12
phy0 -> rt61pci_validate_eeprom: EEPROM recovery - NIC: 0xff80
phy0 -> rt61pci_validate_eeprom: EEPROM recovery - Led: 0xe0ff
phy0 -> rt2x00_set_chip: Info - Chipset detected - rt: 0302, rf: 0003, rev: 0002561c.
wmaster0 (rt61pci): not using net_device_ops yet
phy0: Selected rate control algorithm 'minstrel'
wlan0 (rt61pci): not using net_device_ops yet
Registered led device: rt61pci-phy0:radio
Registered led device: rt61pci-phy0:assoc
phy0 -> rt2x00lib_request_firmware: Info - Loading firmware file 'rt2561.bin'.
rt61pci 0000:01:0d.0: firmware: requesting rt2561.bin
phy0 -> rt2x00lib_request_firmware: Info - Firmware detected - version: 0.8.
phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0.
phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0.
phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0.
phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0.
phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0.
phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0.
phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0.
phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0.
phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0.
phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0.
phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0.
phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0.
phy0 -> rt2x00rfkill_toggle_radio: Info - RFKILL event: disabling radio.
...................
ndiswrapper version 1.53 loaded (smp=no, preempt=no)
ndiswrapper: driver netrt61g (D-Link,06/04/2005, 1.00.00.0000) loaded
ndiswrapper 0000:01:0d.0: found PCI INT A -> IRQ 12
ndiswrapper: using IRQ 12
wlan0 (ndiswrapper): not using net_device_ops yet
wlan0: ethernet device 00:1b:11:14:8e:3f using serialized NDIS driver: netrt61g, version: 0x0, NDIS version: 0x500, vendor: 'IEEE 802.11g Wireless Card.', 1814:0302.5.conf
wlan0: encryption modes supported: WEP; TKIP with WPA, WPA2, WPA2PSK; AES/CCMP with WPA, WPA2, WPA2PSK
Notes: By the way, the last RT61's RFKILL event i suspect, is a consequence of module-remove procedure. (but i can mistake)