![]() |
#1 |
Member
![]() Posts: 11
Karma: 10
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? Cheers 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. |
![]() |
![]() |
![]() |
#2 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 84
Karma: 26720
Join Date: Mar 2011
Device: Kindle 3 WIFI
|
IPTABLES drops all connections besides Amazon's feeling hand.
![]() |
![]() |
![]() |
![]() |
#3 |
Junior Member
![]() Posts: 6
Karma: 10
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.
|
![]() |
![]() |
![]() |
#4 |
curly᷂͓̫̙᷊̥̮̾ͯͤͭͬͦͨ ʎʌɹnɔ
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,015
Karma: 50506927
Join Date: Dec 2010
Location: ♁ ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀"
Device: K3₃.₄.₃ PW3&4₅.₁₃.₃
|
Add external ping capability to the firewall:
Code:
[root@kindle root]# iptables -A INPUT -i wlan0 -p icmp -j ACCEPT |
![]() |
![]() |
![]() |
#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
|
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 ![]() |
![]() |
![]() |
![]() |
|
![]() |
||||
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 |