termux-wifi-connectioninfo
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 4.3k
- Forks
- 920
- PR merge metrics
- No merged PRs in 30d
Description
Problem description
When doing termux-wifi-connectioninfo in an established wifi-connection i get wrong information.
Wrong infos:
bssid, mac_address, ssid, ssid_hidden
bssid and mac_adress are both set to 02:00:00:00:00:00; that's wrong.
ssid: "<unknown ssid>"
ssid_hidden:true; that's wrong
Steps to reproduce
Do termux-wifi-enable true and wait some seconds or enable it using a android app
Do termux-wifi-connectioninfo
Expected behavior
I would expect to get correct info about ssid, ssid_hidden, bssid and mac_address
Additional information
Packages CPU architecture:
aarch64
Subscribed repositories:
# sources.list
deb https://termux.org/packages/ stable main
# game-repo (sources.list.d/game.list)
deb https://dl.bintray.com/grimler/game-packages-24 games stable
# science-repo (sources.list.d/science.list)
deb https://dl.bintray.com/grimler/science-packages-24 science stable
Updatable packages:
All packages up to date
Android version:
8.1.0
Kernel build information:
Linux localhost 4.4.78-perf+ termux/termux-packages#1 SMP PREEMPT Mon May 13 22:21:16 CST 2019 aarch64 Android
Device manufacturer:
BullittGroupLimited
Device model:
S61
Output of termux-wifi-connectioninfo:
{
"bssid": "02:00:00:00:00:00",
"frequency_mhz": 5180,
"ip": "192.168.xxx.xxx",
"link_speed_mbps": 433,
"mac_address": "02:00:00:00:00:00",
"network_id": 3,
"rssi": -42,
"ssid": "<unknown ssid>",
"ssid_hidden": true,
"supplicant_state": "COMPLETED"
}
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start from the termux-wifi-connectioninfo entry point and reproduce the command after enabling Wi-Fi on Android 8.1. Compare the reported bssid, mac_address, ssid, and ssid_hidden values with the established connection; done means these fields report the actual connection information rather than placeholder or unknown values.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- api, mobile, networking
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100