LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   Ndiswrapper working fine with hw, but no networks found (https://www.linuxquestions.org/questions/linux-wireless-networking-41/ndiswrapper-working-fine-with-hw-but-no-networks-found-285247/)

inx 02-02-2005 04:17 AM

Ndiswrapper working fine with hw, but no networks found
 
I have used ndiswrapper successfully with my: "Intel Corp. PRO/Wireless LAN 2100 3B Mini PCI Adapter (rev 04)" at my school with my 2.6.8 kernel and Debian.
Then i decided to compile a new 2.6.10 kernel, and I compiled a new version of ndiswrapper (1.0) as well, and linked it with the Windows XP drivers as I did before.
I am able to load the module successfully (dmesg):

Code:

ndiswrapper version 1.0 loaded (preempt=yes,smp=no)
ndiswrapper: driver w70n51 (Intel,04/26/2004,1.2.2.9) added
ACPI: PCI interrupt 0000:02:02.0[A] -> GSI 11 (level, low) -> IRQ 11
ndiswrapper: using irq 11
wlan0: ndiswrapper ethernet device 00:0c:f1:21:69:0a using driver w70n51
wlan0: encryption modes supported: WEP, WPA with TKI

But when i use iwconfig I am unable to find any networks to connect to. The network must be running fine, because every-one else is able to connect and it worked fine with me before.

iwconfig:
Code:

wlan0    IEEE 802.11b  ESSID:off/any 
          Mode:Managed  Frequency:2.437 GHz  Access Point: 00:00:00:00:00:00 
          Bit Rate:11 Mb/s 
          RTS thr:1600 B  Fragment thr:2344 B 
          Encryption key:off
          Power Management:off
          Link Quality:100/100  Signal level:-69 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

I have also tried to go back to kernel 2.6.8, and compile ndiswrapper to run on this kernel. It does the same thing.

freeka 02-02-2005 04:22 AM

where is exactly ur problem, cause the iwconfig output looks fine. what tells ya
iwlist wlan0 scan

inx 02-02-2005 04:31 AM

Sorry, I just realized that I should probably place this thread in the sub forum. But anyway.

It actually gives me the two accesspoints on my school:

Code:

wlan0    Scan completed :
          Cell 01 - Address: 00:04:75:65:7C:F4
                    ESSID:"Bygning C - 1.sal"
                    Protocol:IEEE 802.11b
                    Mode:Managed
                    Frequency:2.412 GHz (Channel 1)
                    Quality:0/100  Signal level:-50 dBm  Noise level:-256 dBm
                    Encryption key:off
                    Bit Rate:1 Mb/s
                    Bit Rate:2 Mb/s
                    Bit Rate:5.5 Mb/s
                    Bit Rate:11 Mb/s
                    Extra:bcn_int=100
                    Extra:atim=0
          Cell 02 - Address: 00:0A:5E:08:A9:19
                    ESSID:"Bygning C- 2.sal"
                    Protocol:IEEE 802.11b
                    Mode:Managed
                    Frequency:2.437 GHz (Channel 6)
                    Quality:0/100  Signal level:-77 dBm  Noise level:-256 dBm
                    Encryption key:off
                    Bit Rate:1 Mb/s
                    Bit Rate:2 Mb/s
                    Bit Rate:5.5 Mb/s
                    Bit Rate:11 Mb/s
                    Extra:bcn_int=100
                    Extra:atim=0

But priorly it detected the best accespoint and used it automaticly. How do I get it to do it again?
And how do I set my card to use one of the accesspoints.
iwconfig wlan0 ap 00:04:75:65:7C:F4
doesn't have any effect.

freeka 02-02-2005 04:36 AM

the scan went fine, so ya wlan should work :>

so the command

iwconfig wlan0 ap 00:04:75:65:7C:F4

worked, no error output, but u cant use this net? are u sure?

does it work when u try to set the essid instead of setting the ap

inx 02-02-2005 04:47 AM

When I set the essid it seems to work:

Code:

iwconfig wlan0 essid "Bygning C - 1.sal"

iwconfig:
wlan0    IEEE 802.11b  ESSID:"Bygning C - 1.sal" 
          Mode:Managed  Frequency:2.412 GHz  Access Point: 00:04:75:65:7C:F4 
          Bit Rate:11 Mb/s 
          RTS thr:1600 B  Fragment thr:2344 B 
          Encryption key:off
          Power Management:off
          Link Quality:100/100  Signal level:-52 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

But I can't get any ip when i use dhclient, so something is wrong.

inx 02-02-2005 05:07 AM

Could it be because the quality is 0/100 in iwlist?

bee2643 02-08-2005 10:38 AM

i have this exact same problem, similar hardware, same distro/kernel, only my "iwlist wlan0 scan" brings up nothing.
here's what i have:

iwconfig wlan0:
wlan0 IEEE 802.11g ESSID:off/any
Mode:Managed Frequency:2.462 GHz Access Point: 00:00:00:00:00:00
Bit Rate:54 Mb/s Tx-Power:16 dBm
RTS thr:2347 B Fragment thr:2346 B
Encryption key:off
Power Management:off
Link Quality:100/100 Signal level:-10 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

iwlist wlan0 scan:
wlan0 No scan results


any ideas?

david_ross 02-08-2005 12:23 PM

Moved: This thread is more suitable in Wireless Networking and has been moved accordingly to help your thread/question get the exposure it deserves.


All times are GMT -5. The time now is 10:29 AM.