Skip to content

Instantly share code, notes, and snippets.

@amboxer21
Created August 18, 2022 22:32
Show Gist options
  • Save amboxer21/192bc1ae4eb84ef8da1112eeaf126db2 to your computer and use it in GitHub Desktop.
Save amboxer21/192bc1ae4eb84ef8da1112eeaf126db2 to your computer and use it in GitHub Desktop.
I cannot automatically connect to Barnes & Noble's WEP open network. This script circumvents the issue!
#!/bin/bash
wpa_cli flush
wpa_cli add_network
wpa_cli set_network 0 ssid "BNWifi"
wpa_cli set_network 0 key_mgmt NONE
wpa_cli enable_network 0
wpa_cli quit
#save_config
#mesh_fwding=1
#bssid=e2:55:6d:19:c1:58
#freq=5805
#ssid=BNWiFi
#id=0
#mode=station
#wifi_generation=5
#pairwise_cipher=NONE
#group_cipher=NONE
#key_mgmt=NONE
#wpa_state=COMPLETED
#address=34:c9:3d:eb:59:c4
#uuid=c7e4f091-1726-5a20-ad99-0e4668a46207
#ieee80211ac=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment