|
|
#1 |
|
Connoisseur
![]() Posts: 66
Karma: 14
Join Date: Dec 2021
Device: kindle PW3
|
how to configure wifi from the command line
Hello,
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 |
|
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 417
Karma: 765432
Join Date: Apr 2016
Location: Italy
Device: Kindle PW3 5.8.5.0.1
|
Check this KUAL extension i made some time ago, maybe you can find some useful information in the script
|
|
|
|
|
|
#3 |
|
Connoisseur
![]() Posts: 66
Karma: 14
Join Date: Dec 2021
Device: kindle PW3
|
Thanks, I will try.
|
|
|
|
|
|
#4 |
|
Connoisseur
![]() Posts: 66
Karma: 14
Join Date: Dec 2021
Device: kindle PW3
|
Thanks again. Worked flawlessly:
For future reference: Code:
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 |
|
Connoisseur
![]() Posts: 66
Karma: 14
Join Date: Dec 2021
Device: kindle PW3
|
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. |
|
|
|
|
|
#6 |
|
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Apr 2023
Device: Kindle Touch, Kindle Paperwhite 10th Generation
|
Hello,
Do you know how to open a document without touching the screen on a KT? I don't have access to my touchscreen either. |
|
|
|
|
|
#7 | |
|
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Mar 2026
Device: KPW4
|
Quote:
AES-CFB-128 with the reverse device_serial_number. (you can find at Settings - Device Option - Device Info) Here is the python code: ``` # pip install pycryptodome from Crypto.Cipher import AES # cat /proc/usid dsn = "G0016T0292530AGM" key = dsn[::-1].encode() # reverse iv = key # /var/local/system/wifid.conf with open("wifid.conf", "rb") as f: data = f.read() ciphertext = data[7:] # skip "AES+128" cipher = AES.new(key, AES.MODE_CFB, iv=iv, segment_size=128) plaintext = cipher.decrypt(ciphertext) print(plaintext.decode("utf-8", errors="replace")) ``` |
|
|
|
|
![]() |
| Tags |
| kindle wifi, kual wifi |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Is there a way to execute a non-root command without access to command line | Galunid | Kindle Developer's Corner | 4 | 05-15-2018 07:50 PM |
| iLiad How to configure wifi and ethernet access | sebchin | iRex | 1 | 02-09-2013 07:19 PM |
| Command line - HOW? | bookfanmd | Calibre | 19 | 01-12-2013 09:17 AM |
| Need help using command line | tsger | Recipes | 2 | 07-16-2011 03:23 AM |
| Why use the command line? | slantybard | Calibre | 6 | 07-22-2009 12:17 PM |