![]() |
#1 |
Member
![]() ![]() ![]() ![]() ![]() ![]() Posts: 24
Karma: 540
Join Date: Aug 2010
Device: Kindle 3
|
PW USBNET your kindle neeeds repair
Hi,
I broke it go I get to keep both parts! Fail of the day. Never code whilst tired. On a PW1, as part of an unusual software I am developing. I was automating adding keys to /mnt/us/usbnet/etc/authorized_keys Code:
cat /tmp/sshid >> /mnt/us/usbnet/etc/authorized_keys sleep 2 reboot Example not exact keys.. Code:
ssh-rsa AAAAB3Nza.... ssh-rsa AAAAB3N.. ssh-rsa ABAA... Code:
vi /mnt/us/usbnet/etc/authorized_keys The kindle will not connect as USB storage. Boots quiet quickly to the "your kindle neeeds repair". Any suggestions (please not the soldering iron!). Time to find another 2nd hand paperwhite ? Is 3G an issue ? Regards, Brendan USBNetwork - 2020-10-11 13:05 NiLuJe Serial Number Kindle: B029 (Unconfirmed - sticker not checked on machine) Kindle: Kindle PaperWhite 3G + WiFi |
![]() |
![]() |
![]() |
#2 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047190
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
If you don't have the Rescue Pack + CRP installed, yep, that's a trip to a boot interrupt via serial to go to diags and reset the fail counter from there (it's in two places in /var/local, if memory serves, one for X, one for the framework, and/or one for failures-per-boot, and one for full-failures-after-reboot).
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Member
![]() ![]() ![]() ![]() ![]() ![]() Posts: 24
Karma: 540
Join Date: Aug 2010
Device: Kindle 3
|
Time to install that on my three other PW before I do anything next!
I have hands that are not nimble ![]() Thanks for the quick reply. I am off to swear at myself some more. Regards, Brendan |
![]() |
![]() |
![]() |
#4 | |
Member
![]() ![]() ![]() ![]() ![]() ![]() Posts: 24
Karma: 540
Join Date: Aug 2010
Device: Kindle 3
|
HI
Quote:
Code that caused trouble:- Code:
cp /mnt/us/usbnet/etc/authorized_keys /tmp/authorized_keys cat /tmp/sshid >> /tmp/authorized_keys # Remove any blank lines grep -v -e '^$' /tmp/authorized_keys > /mnt/us/usbnet/etc/authorized_keys sleep 2 reboot The kindle was on a wifi network that does nto have access to the internet (touch /mnt/us/WIFI_NO_NET_PROBE) I have the USB Networking log. https://pastebin.pl/view/4618e68d With the diagnostics mode available, via Coward's Rescue Pack - is there a way to restore ? I tried USB networking Code:
$ ssh root@192.168.15.244 ssh: connect to host 192.168.15.244 port 22: Connection refused $ telnet 192.168.15.244 Trying 192.168.15.244... telnet: Unable to connect to remote host: Connection refused # nmap -sS 192.168.15.244 Starting Nmap 7.80 ( https://nmap.org ) at 2020-12-19 20:54 GMT Nmap scan report for 192.168.15.244 Host is up (0.0024s latency). All 1000 scanned ports on 192.168.15.244 are closed MAC Address: EE:59:00:00:00:15 (Unknown) Nmap done: 1 IP address (1 host up) scanned in 5.89 seconds # nmap -Pn 192.168.15.244 Starting Nmap 7.80 ( https://nmap.org ) at 2020-12-19 20:54 GMT Nmap scan report for 192.168.15.244 Host is up (0.0024s latency). All 1000 scanned ports on 192.168.15.244 are closed MAC Address: EE:59:00:00:00:15 (Unknown) Nmap done: 1 IP address (1 host up) scanned in 5.88 seconds Do I put https://s3.amazonaws.com/G7G_Firmwar...ndle_5.3.3.bin as update.bin in root of a mounted kinlde ? [https://gist.github.com/ramast/58633...ecc96965d48ed] Or Do /DO_FACTORY_RESTORE in mount ? Worried I can not do Code:
echo 0 > /var/local/upstart/lab126_gui.restarts Any help would be great. Lockdown fun!. Both locked out of Kindle and Locked in at home! Regards, Brendan |
|
![]() |
![]() |
![]() |
#5 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047190
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
You have to *enable* USBNet in the diags menu first (I don't recall the PW1 layout OTOH, but it's fairly self-evident. The K4 JB instructions on the wiki might help, since they essentially *require* doing that).
IIRC, the exact procedure is detailed in the RP's README, though. (You also need the Rescue Pack installed before the CRP, or the sshd in diags goes bye-bye. In short: RP makes sure the sshd is there, working, and won't get killed; CRP allows you to boot to diags automatically when plugged in. Which means CRP alone is useless, and RP alone requires USBMS access to boot to diags). ---- A full update won't reset the fail counter. A factory reset *might* but I don't know if it trips before or after the KNR check (and/or whether that check actually works at all on that FW/device). There *might* be a way to do that from diags directly, though, assuming you don't fat-finger an "erase mmc" along the way p). Last edited by NiLuJe; 12-19-2020 at 04:43 PM. |
![]() |
![]() |
Advert | |
|
![]() |
#6 | ||
Member
![]() ![]() ![]() ![]() ![]() ![]() Posts: 24
Karma: 540
Join Date: Aug 2010
Device: Kindle 3
|
Quote:
N) Misc individual diagnostics -> U) Utilities -> Z) Enable USBNet Quote:
|
||
![]() |
![]() |
![]() |
#7 |
Member
![]() ![]() ![]() ![]() ![]() ![]() Posts: 24
Karma: 540
Join Date: Aug 2010
Device: Kindle 3
|
Long shot - I tried renaming update_kindle_5.3.3.bin to update.bin and placing it in the root of mounted kindle - but file gets deleted on reboot - is there a way to enable this installation ?
|
![]() |
![]() |
![]() |
#8 |
Member
![]() ![]() ![]() ![]() ![]() ![]() Posts: 24
Karma: 540
Join Date: Aug 2010
Device: Kindle 3
|
DO_FACTORY_RESTORE worked
![]() ![]() |
![]() |
![]() |
![]() |
#9 |
Member
![]() ![]() ![]() ![]() ![]() ![]() Posts: 24
Karma: 540
Join Date: Aug 2010
Device: Kindle 3
|
TLDR: Kindle will go into reboot loop and then "your kindle needs repair" if wifi not set-up correctly when using WIFI_NO_NET_PROBE
Longer:- Well I found the bug. The openWRT access point, was incorrectly configured by me. I had set WIFI_NO_NET_PROBE Code:
touch /mnt/us/WIFI_NO_NET_PROBE Code:
Kindle <---wifi --> OpenWRT AP [192.168.2.x] <-- ethernet --> Home router [192.168.1.x] <-- Internet --> Code:
Kindle <---wifi --> OpenWRT AP [192.168.2.x] I have now corrected the Routed AP documentation:- https://openwrt.org/docs/guide-user/...ype=sidebyside Thanks for all the help. I can carry on tweaking my app prior to release (with Coward's Rescue Pack and Rescue Pack installed - to help bail me out). ![]() |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
udev rule for kindle paperwhite 2 with usbnet doesnt work | la_tristesse | Kindle Developer's Corner | 1 | 07-01-2015 09:08 AM |
Kindle DX y UsbNet | muermo | Amazon Kindle | 7 | 11-30-2013 10:44 AM |
Kindle 4, OS 4.1.1 usbnet code not working | phubbard | Kindle Developer's Corner | 8 | 04-08-2013 12:17 PM |
Anyone could tell that kindle-usbnet-0.7.N.zip could be installed on KT 5.3.2 | johnleo | Kindle Developer's Corner | 2 | 02-06-2013 08:54 AM |
Kindle Touch - Trying to install Simple USBNet | chronosoft | Kindle Developer's Corner | 15 | 02-11-2012 07:14 PM |