sysprog21 / vwifi

A virtual wireless device driver for Linux
MIT License
205 stars 39 forks source link

Access Point: Not-Associated #8

Closed dungru closed 3 years ago

dungru commented 3 years ago

Reproduce step:

    sudo ip link set owl0 up
    sudo iw dev owl0 scan
    sudo iw dev owl0 connect MyHomeWiFi

Found the AP is not associated.

iwconfig owl0
owl0      IEEE 802.11  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:on

So I revert this commit: 17a7c3

jserv commented 3 years ago

@lekoOwO, Please help resolve this issue.

jserv commented 3 years ago

@lekoOwO, Please help resolve this issue.

Always execute scripts/verify.sh before you submit pull request(s).

lekoOwO commented 3 years ago

I can't reproduce this issue hmmmm

leko@Linux-2021:~/vwifi$ sudo insmod vwifi.ko && sudo ip link set owl0 up && sudo iw dev owl0 scan
BSS ca:9c:00:c6:c2:eb(on owl0)
        TSF: 0 usec (0d, 00:00:00)
        freq: 2437
        beacon interval: 100 TUs
        capability: ESS (0x0001)
        signal: -69.00 dBm
        last seen: 0 ms ago
        SSID: MyHomeWifi
leko@Linux-2021:~/vwifi$ sudo iw dev owl0 connect MyHomeWifi
leko@Linux-2021:~/vwifi$ iwconfig owl0
owl0      IEEE 802.11  ESSID:"MyHomeWifi"  
          Mode:Managed  Frequency:2.437 GHz  Access Point: CA:9C:00:C6:C2:EB   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:on
lekoOwO commented 3 years ago

BTW the default SSID is MyHomeWifi, not MyHomeWiFi Might this be the issue?

dungru commented 3 years ago

10 Fixed