Comments (8)
Oh, another point: There is a battery-saving mode in Android, that is turned off, and the mains adaptor is plugged in.
from minibase.
If it happens with wpa_supplicant as well, try running wpa_supplicant -dd ...
to check what exactly goes on there. Maybe post the log somewhere. Just make sure to mask sensitive information there — it will contain, at least, BSSIDs (MACs) and SSIDs (names) of your AP and any other APs around you. What kind of client device you've got may be important as well.
It doesn't sound good however. I would guess the card takes a command but fails to generate completion event for that command. The card is effectively a black box if that's what happens.
I'll need to do something about wsupp's inability to detach from a stuck card, but it won't be any more effective than a simple restart.
By the way, can you scan a card that seems stuck?
from minibase.
Well, not a card, it is my Android phone that is tethered, that is, the wifi hotspot. On my PC, currently using a USB wifi dongle, but the same situation happens whatever hardware is at the PC end (I have several PCs and laptops to test with).
Yes, "wifi scan" still works, and sees my phone SSID, even though wsupp is stuck waiting for an AP.
Yes, wsupp should at least timeout.
When I was testing wpa_supplicant, I did do some detailed logging. Can't recall exactly, but it was in a loop, timing out, then trying again, and I think it eventually gave up and terminated.
It really does annoy me that Win10 has no problem!
from minibase.
Retries likely indicate authentication error. EAPOL lacks error reporting, the AP just drops any packets it doesn't like. However, both wsupp
and wpa_supplicant
should be able to report that. Might be something else going on.
from minibase.
if you have a second wifi adapter you could put that one into monitor mode and sniff the packets flying through the air with wireshark. then compare the difference between what happens with windows 10 and wsupp/wpa_supp. the pcap recordings from wireshark could eventually give some clues.
from minibase.
'wifi' hanging is causing me some trouble. I setup another AP to experiment with:
# wifi
AP -29 4b 2CC TP-LINK_7F56
AP -49 11b 2CC HUAWEINova2
AP -61 6b 2CC Telstra7A2DCB
AP -73 9b 2CC BuckRogers
Device wlan1 idle
# wifi connect TP-LINK_7F56
Passphrase: XXXXXXX
wifi: cannot connect to AP TP-LINK_7F56 (4b/2427MHz)
...hangs. In another terminal:
# wifi
AP -33 4b 2CC TP-LINK_7F56
AP -49 11b 2CC HUAWEINova2
AP -61 6b 2CC Telstra7A2DCB
AP -73 9b 2CC BuckRogers
Device wlan1 idle
TP-LINK_7F56 works, I am using it right now, using wpa_supplicant. But, apart from 'wifi' reporting "cannot connect", hanging forever should not happen, it should terminate.
from minibase.
Ok, I think I figured it out. It was a bug and it did not report no-connect at all.
Fixed, wifi
should terminate properly now.
Also, disconnects are now timed, so wsupp should not get stuck in disconnecting state anymore. It does not guarantee the card will remain usable, but at least it should be possible now to command another connect attempt without restarting wsupp.
Please delete wifi-psk and let wifi
re-create it, there's a minor format change there.
from minibase.
I have tested, working great. Getting connections to the TP-Link AP, no failures.
from minibase.
Related Issues (20)
- dhcp remove alarms, result unclear HOT 2
- Use MAC address for unique ID HOT 6
- how to test if password already supplied HOT 5
- aarch64 compile fail HOT 1
- Small problems with ARM machines HOT 1
- vtmux, X11 and VT switch problem HOT 2
- vtmux and wayland problem HOT 2
- wifi hang on connection request HOT 10
- feature request: support TKIP in wsupp HOT 5
- Unclear how dhconf replaces dhcp HOT 1
- No suitable APs HOT 7
- ifctl cannot be called as expected within /etc/net/identify HOT 1
- wifi connect does not return zero on success
- inputs not factored right? HOT 1
- Limitation of ifmon HOT 4
- Non-existent conf-cancel HOT 7
- Most appropriate way to run and kill net daemons HOT 1
- ifmon carrier up/down detection insufficient HOT 6
- wsupp cannot run wifi-wpa HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from minibase.