how to configure wifi from the command line
#1  Kindleschokolade 05-24-2022, 05:02 PM
on my jailbroken PW2 I need to change the login credentials for a local WIFI network.
Unfortunately I do not have access to the touchscreen.
But I can connect via ssh over usb thanks to the jailbreak.

How can I proceed from there to setup the WIFi login?

Thanks a lot!

#2  encol 05-25-2022, 10:51 AM
Check this KUAL extension i made some time ago, maybe you can find some useful information in the script

#3  Kindleschokolade 05-25-2022, 01:29 PM
Thanks, I will try.

#4  Kindleschokolade 05-26-2022, 10:56 AM
Thanks again. Worked flawlessly:
For future reference:
wpa_cli -iwlan0 set_network 0 auth_alg OPEN
wpa_cli -iwlan0 set_network 0 key_mgmt WPA-PSK
wpa_cli -iwlan0 set_network 0 psk '"secret code"'
wpa_cli -iwlan0 set_network 0 proto RSN
wpa_cli -iwlan0 set_network 0 mode 0
wpa_cli -iwlan0 set_network 0 ssid '"Network Name"'
wpa_cli -iwlan0 select_network 0
wpa_cli -iwlan0 enable_network 0
wpa_cli -iwlan0 reassociate
wpa_cli -iwlan0 status
iw wlan0 link

#5  Kindleschokolade 03-17-2023, 10:25 AM
Edit / Update:
Is there a way to save this manually connected wifi network so the kindle will always connect to it?
I found wifid.conf and wifilocker.db in /var/local/system/ but these files are not too helpful it seems.

Today's Posts | Search this Thread | Login | Register