|06-04-2011, 06:11 PM||#1|
Join Date: May 2011
Device: Kindle 3
Ping, ssh, nmap. Nothing seems to access my kindle (solved)
I've been trying to gain (reliable) ssh access to my Kindle for a few days now, and don't seem to be making progress. It is jailbroken, and usbnetwork is also installed. The latest versions listed on this site. I can very briefly connect over the usb cable, but the shell hangs after a few seconds and takes several attempts to resurrect it. I haven't found the iptables script yet, but I can't imagine it's blocking ping.
I'm trying to connect over wifi. I'm pretty certain I've got the right IP address, as my access point lists IP's next to mac addresses. authorized_keys exists on the kindle, and contains the correct data. I have tried every reasonable combination of settings in the config file.
ssh connections time out. ping declares the kindle unreachable. nmap thinks the kindle is down. My best guess is that I have a problem with the network, but it seems to be unique to the kindle. Two laptops and two desktops can quite happily ping each other, share files via samba or nfs, and ssh at will. I've tried on three wireless networks so far, but can probably find a forth if people think it'll help.
Any guesses where I go from here?
edit: Thought I'd try turning off everything & resetting the router to factory defaults. I still can't ping the device, but I can ssh. Strange.
Last edited by jonj678; 06-04-2011 at 07:39 PM.
|06-07-2011, 06:44 PM||#3|
Join Date: May 2011
Location: Nicosia, Cyprus
Device: Amazon Kindle 3W
same here, device is unpingable, also for me nmap only works with -PN parameter. But i can ssh to it perfectly over wifi or usb. You can always check Kindle's IP by running the 711 command in settings.
|06-07-2011, 07:30 PM||#4|
n! = ∫₀̊̊ xⁿe⁻ˣ dx
Join Date: Dec 2010
Location: ♁ ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀"
Device: K3.₄.₂, PRS-350, SGS3, SGS6, Rπ, iPad Air
Add external ping capability to the firewall:
[root@kindle root]# iptables -A INPUT -i wlan0 -p icmp -j ACCEPT
|06-07-2011, 09:03 PM||#5|
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, (PW) & PW2; Kobo H2O
Yup, the whole point of the SSH over WiFi stuff in the USBNet hack was to avoid having your Kindle open to the four winds with a passwordless root loging, hence it's only doing
iptables -A INPUT -i wlan0 -p tcp --dport ssh -j ACCEPT
when you enable the K3_WIFI option (while also making the SSH daemon require a valid password).
Feel free to edit this to suit your needs (L170-173 & L105-108 of usbnet/bin/usbnetwork).
|Thread Tools||Search this Thread|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Kindle 3 SSH access,Backup Help - Newbie Here||adithyau||Kindle Developer's Corner||24||10-15-2011 11:29 AM|
|Ssh/telnet access over 3G?||lolcat||Kindle Developer's Corner||12||02-21-2011 11:56 AM|
|SSH access broken||yecam||OpenInkpot||4||08-29-2009 05:42 PM|
|iLiad SSH client for terminal access||IvarC||iRex Developer's Corner||2||02-06-2009 01:21 PM|
|iLiad How do I get ssh access to my 2.7.1 iLiad?||narve||iRex Developer's Corner||3||11-28-2006 05:59 PM|