All Projects → pr4bh4sh → adb-wifi-setting-manager

pr4bh4sh / adb-wifi-setting-manager

Licence: Unlicense license
Control wifi connections on Android with adb

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to adb-wifi-setting-manager

wirebug
Toggle Wi-Fi debugging on Android without a USB cable (needs root)
Stars: ✭ 33 (+6.45%)
Mutual labels:  adb, wifi
Mobly
E2E test framework for tests with complex environment requirements.
Stars: ✭ 424 (+1267.74%)
Mutual labels:  wifi, test-automation
extensiveautomation-server
Extensive Automation server
Stars: ✭ 19 (-38.71%)
Mutual labels:  adb, test-automation
Solopi
SoloPi 自动化测试工具
Stars: ✭ 4,461 (+14290.32%)
Mutual labels:  adb, test-automation
toster
DSL framework for testing Android apps
Stars: ✭ 31 (+0%)
Mutual labels:  adb, test-automation
ethernally
Your scrcpy companion for Android wireless screen mirroring
Stars: ✭ 33 (+6.45%)
Mutual labels:  adb, wifi
rssd
Rohde & Schwarz SCPI Driver (in Python)
Stars: ✭ 25 (-19.35%)
Mutual labels:  wifi, test-automation
adb-interface-vscode
🔌 A tool that allows you to execute ADB.exe commands/actions without having to interact with the terminal.
Stars: ✭ 26 (-16.13%)
Mutual labels:  adb, wifi
bdd-for-all
Flexible and easy to use library to enable your behavorial driven development (BDD) teams to easily collaborate while promoting automation, transparency and reporting.
Stars: ✭ 42 (+35.48%)
Mutual labels:  test-automation
karate
Test Automation Made Simple
Stars: ✭ 6,384 (+20493.55%)
Mutual labels:  test-automation
db wlan manager
Monitors your Wifi to keep you logged in and resets your Wifi, if your data is drained
Stars: ✭ 23 (-25.81%)
Mutual labels:  wifi
main
Mocks Server monorepo
Stars: ✭ 109 (+251.61%)
Mutual labels:  test-automation
FNET
The FNET is a free, open source, dual TCP/IPv4 and IPv6 Stack (under Apache Version 2.0 license) for building embedded communication software on 32bit MCUs.
Stars: ✭ 97 (+212.9%)
Mutual labels:  wifi
frisbee
A Kubernetes Framework for Cloud-Native Application Testing
Stars: ✭ 39 (+25.81%)
Mutual labels:  test-automation
pysys-test
PySys System Test Framework
Stars: ✭ 14 (-54.84%)
Mutual labels:  test-automation
ansible-openwrt
Ansible collection to configure your OpenWrt devices more quickly and automatically (without Python)
Stars: ✭ 34 (+9.68%)
Mutual labels:  wifi
RFMap
RFMap - Radio Frequency Mapper
Stars: ✭ 23 (-25.81%)
Mutual labels:  wifi
python-wifi-survey-heatmap
A Python application for Linux machines to perform WiFi site surveys and present the results as a heatmap overlayed on a floorplan
Stars: ✭ 231 (+645.16%)
Mutual labels:  wifi
ASUS-TUF-Z390M-Pro-Gaming-Hackintosh
ASUS TUF Z390M-Pro Gaming (Wifi) Hackintosh [BIOS, Drivers, Kexts, Config.plist]
Stars: ✭ 25 (-19.35%)
Mutual labels:  wifi
raspap-docker
A community-led docker container for RaspAP
Stars: ✭ 45 (+45.16%)
Mutual labels:  wifi

adb-wifi-setting-manager

Control wifi connection with adb

Here's some usecases

  1. Switch between wifi network when running automation tests without manual intervention.
  2. You have 2 wifi network, one fast one slow and you want to create automated tests for the app's behaviour on low bandwidth.
  3. You have two wifi network, one is in internal network and other outside of internal network and you want to test the app behaviour on both network.
  4. You have several wifi networks, and you are too lazy to type it the wifi passwords everytime you setup a new Android phone. Just create a shell script or copy paste the command to setup the new device.

Note

- This app is created for interacting with wifi networks while running automated tests.
- Due to the security messures of Android OS, this app can't manupulate(delete, update) existing
- wifi networks unless it was added by 'adb-wifi-setting-manager' app.
- So if you wish to have full controll of the SSID saved on the device with this app,
- please remove all saved wifi networks on your device manually and use this app for all action 
- e.g. adding, removing new wifi networks.

Commands:


To enable wifi:

adb shell 'am start -n 'com.adbwifisettingsmanager/.WifiSettingsManagerActivity' --esn enableWifi'

To disable wifi:

adb shell 'am start -n 'com.adbwifisettingsmanager/.WifiSettingsManagerActivity' --esn disableWifi'

To connect to saved wifi network:

adb shell 'am start -n 'com.adbwifisettingsmanager/.WifiSettingsManagerActivity' --esn connect -e ssid <ssid_name>'

To connect to new wifi network:

adb shell 'am start -n 'com.adbwifisettingsmanager/.WifiSettingsManagerActivity' --esn newConnection -e ssid <ssid_name> -e password <password>'

Connect to Wifi with user name and Password:

adb shell am start -n 'com.adbwifisettingsmanager/.WifiSettingsManagerActivity' --esn connect -e ssid <ssid_name> -e userName <user_name> -e password <password>'

Forget a saved Wifi SSID

  1. Forget a specific SSID

    adb shell am start -n 'com.adbwifisettingsmanager/.WifiSettingsManagerActivity' --esn remove -e ssid <ssid_name>'

  2. Forget all SSID

    adb shell am start -n 'com.adbwifisettingsmanager/.WifiSettingsManagerActivity' --esn remove -e ssid 'all'' # you can put 'all' or 'All'

TODO

  • Add all adb commands in readme
  • Add proxy server support
  • Add support for more encryption types

Reference:

  1. https://github.com/steinwurf/adb-join-wifi
  2. https://github.com/bitweft/android-settings-manager
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].