Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 06-04-2011, 07:11 PM   #1
jonj678
Member
jonj678 began at the beginning.
 
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 08:39 PM.
jonj678 is offline   Reply With Quote
Old 06-07-2011, 03:09 AM   #2
dasmoover
Connoisseur
dasmoover is not intimidated by interfenestral monkeys.dasmoover is not intimidated by interfenestral monkeys.dasmoover is not intimidated by interfenestral monkeys.dasmoover is not intimidated by interfenestral monkeys.dasmoover is not intimidated by interfenestral monkeys.dasmoover is not intimidated by interfenestral monkeys.dasmoover is not intimidated by interfenestral monkeys.dasmoover is not intimidated by interfenestral monkeys.dasmoover is not intimidated by interfenestral monkeys.dasmoover is not intimidated by interfenestral monkeys.dasmoover is not intimidated by interfenestral monkeys.
 
Posts: 84
Karma: 26720
Join Date: Mar 2011
Device: Kindle 3 WIFI
IPTABLES drops all connections besides Amazon's feeling hand.
dasmoover is offline   Reply With Quote
Old 06-07-2011, 07:44 PM   #3
tomashg
Junior Member
tomashg began at the beginning.
 
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.
tomashg is offline   Reply With Quote
Old 06-07-2011, 08:30 PM   #4
PoP
Antonín ♯♭♪♮♫ ᵖʸᶠᵍᶜʳˡ
PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.
 
PoP's Avatar
 
Posts: 510
Karma: 6391817
Join Date: Dec 2010
Location: ♁ ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀"
Device: K3.₄, PRS-350, SGS3, Rπ, iPad Air
Add external ping capability to the firewall:
Code:
[root@kindle root]# iptables -A INPUT -i wlan0 -p icmp -j ACCEPT
PoP is offline   Reply With Quote
Old 06-07-2011, 10:03 PM   #5
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 5,108
Karma: 4987077
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW & PW2
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).
NiLuJe is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kindle 3 SSH access,Backup Help - Newbie Here adithyau Kindle Developer's Corner 24 10-15-2011 12:29 PM
Ssh/telnet access over 3G? lolcat Kindle Developer's Corner 12 02-21-2011 12:56 PM
SSH access broken yecam OpenInkpot 4 08-29-2009 06:42 PM
iLiad SSH client for terminal access IvarC iRex Developer's Corner 2 02-06-2009 02:21 PM
iLiad How do I get ssh access to my 2.7.1 iLiad? narve iRex Developer's Corner 3 11-28-2006 06:59 PM


All times are GMT -4. The time now is 05:28 PM.


MobileRead.com is a privately owned, operated and funded community.