Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 08-08-2012, 07:13 AM   #16
BillyBigStuff
Enthusiast
BillyBigStuff herds cats with both ease and graceBillyBigStuff herds cats with both ease and graceBillyBigStuff herds cats with both ease and graceBillyBigStuff herds cats with both ease and graceBillyBigStuff herds cats with both ease and graceBillyBigStuff herds cats with both ease and graceBillyBigStuff herds cats with both ease and graceBillyBigStuff herds cats with both ease and graceBillyBigStuff herds cats with both ease and graceBillyBigStuff herds cats with both ease and graceBillyBigStuff herds cats with both ease and grace
 
Posts: 33
Karma: 43934
Join Date: Aug 2012
Device: K5 B011 5.3.2
Hi, I've edited the iptables file and verified that the changes stuck but I can't connect to the kindle via either PuTTY or WinSCP, I'm on Win7 Ultimate x64. Its a K5SO, and I've set a static IP. When I try to ping the IP it says "Destination host unreachable.", would anybody be able to help me? I can't see the device when I enter NET VIEW, it shows other devices but not my kindle. The kindle is definitely connected to the network as I did some browsing. I have tried both with and without usbnetwork enabled.
Any help would be appreciated, and thanks,
Bill
BillyBigStuff is offline   Reply With Quote
Old 08-08-2012, 07:20 AM   #17
Titano
Definitely not King Kong
Titano never is beset by a damp, drizzly November in his or her soul.Titano never is beset by a damp, drizzly November in his or her soul.Titano never is beset by a damp, drizzly November in his or her soul.Titano never is beset by a damp, drizzly November in his or her soul.Titano never is beset by a damp, drizzly November in his or her soul.Titano never is beset by a damp, drizzly November in his or her soul.Titano never is beset by a damp, drizzly November in his or her soul.Titano never is beset by a damp, drizzly November in his or her soul.Titano never is beset by a damp, drizzly November in his or her soul.Titano never is beset by a damp, drizzly November in his or her soul.Titano never is beset by a damp, drizzly November in his or her soul.
 
Titano's Avatar
 
Posts: 126
Karma: 59238
Join Date: Jul 2012
Location: United States
Device: Kindle Touch
Quote:
Originally Posted by BillyBigStuff View Post
Hi, I've edited the iptables file and verified that the changes stuck but I can't connect to the kindle via either PuTTY or WinSCP, I'm on Win7 Ultimate x64. Its a K5SO, and I've set a static IP. When I try to ping the IP it says "Destination host unreachable.", would anybody be able to help me? I can't see the device when I enter NET VIEW, it shows other devices but not my kindle. The kindle is definitely connected to the network as I did some browsing. I have tried both with and without usbnetwork enabled.
Any help would be appreciated, and thanks,
Bill
I know my router was stupid and I had to forward my ports just to use it in my own house. Maybe you have to do the same? Also be
sure that you have rebooted. (It doesn't hurt to triple check .)
Titano is offline   Reply With Quote
Old 08-08-2012, 07:30 AM   #18
BillyBigStuff
Enthusiast
BillyBigStuff herds cats with both ease and graceBillyBigStuff herds cats with both ease and graceBillyBigStuff herds cats with both ease and graceBillyBigStuff herds cats with both ease and graceBillyBigStuff herds cats with both ease and graceBillyBigStuff herds cats with both ease and graceBillyBigStuff herds cats with both ease and graceBillyBigStuff herds cats with both ease and graceBillyBigStuff herds cats with both ease and graceBillyBigStuff herds cats with both ease and graceBillyBigStuff herds cats with both ease and grace
 
Posts: 33
Karma: 43934
Join Date: Aug 2012
Device: K5 B011 5.3.2
Just to check, it is port 22 isn't it? :P
BillyBigStuff is offline   Reply With Quote
Old 08-08-2012, 07:39 AM   #19
BillyBigStuff
Enthusiast
BillyBigStuff herds cats with both ease and graceBillyBigStuff herds cats with both ease and graceBillyBigStuff herds cats with both ease and graceBillyBigStuff herds cats with both ease and graceBillyBigStuff herds cats with both ease and graceBillyBigStuff herds cats with both ease and graceBillyBigStuff herds cats with both ease and graceBillyBigStuff herds cats with both ease and graceBillyBigStuff herds cats with both ease and graceBillyBigStuff herds cats with both ease and graceBillyBigStuff herds cats with both ease and grace
 
Posts: 33
Karma: 43934
Join Date: Aug 2012
Device: K5 B011 5.3.2
Nope, it still isn't happy. I can't even seem to ping it. :/
Any other possible reasons? Is there a way to check on the device itself whether or not the service is even running, or should usbnetwork be enough?
Bill
BillyBigStuff is offline   Reply With Quote
Old 08-08-2012, 09:15 AM   #20
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by BillyBigStuff View Post
Nope, it still isn't happy. I can't even seem to ping it. :/
Any other possible reasons? Is there a way to check on the device itself whether or not the service is even running, or should usbnetwork be enough?
Bill
Many linux services only read their config files when they start. Did you restart your kindle so it can reload iptables?
geekmaster is offline   Reply With Quote
Old 08-08-2012, 09:59 AM   #21
Titano
Definitely not King Kong
Titano never is beset by a damp, drizzly November in his or her soul.Titano never is beset by a damp, drizzly November in his or her soul.Titano never is beset by a damp, drizzly November in his or her soul.Titano never is beset by a damp, drizzly November in his or her soul.Titano never is beset by a damp, drizzly November in his or her soul.Titano never is beset by a damp, drizzly November in his or her soul.Titano never is beset by a damp, drizzly November in his or her soul.Titano never is beset by a damp, drizzly November in his or her soul.Titano never is beset by a damp, drizzly November in his or her soul.Titano never is beset by a damp, drizzly November in his or her soul.Titano never is beset by a damp, drizzly November in his or her soul.
 
Titano's Avatar
 
Posts: 126
Karma: 59238
Join Date: Jul 2012
Location: United States
Device: Kindle Touch
Quote:
Originally Posted by BillyBigStuff View Post
Nope, it still isn't happy. I can't even seem to ping it. :/
Any other possible reasons? Is there a way to check on the device itself whether or not the service is even running, or should usbnetwork be enough?
Bill
Again what geekmaster said make sure you have rebooted. Also check that you're connecting to the right IP. (;711 in the search box). (Yep, it's port 22.)
Titano is offline   Reply With Quote
Old 08-08-2012, 10:20 AM   #22
BillyBigStuff
Enthusiast
BillyBigStuff herds cats with both ease and graceBillyBigStuff herds cats with both ease and graceBillyBigStuff herds cats with both ease and graceBillyBigStuff herds cats with both ease and graceBillyBigStuff herds cats with both ease and graceBillyBigStuff herds cats with both ease and graceBillyBigStuff herds cats with both ease and graceBillyBigStuff herds cats with both ease and graceBillyBigStuff herds cats with both ease and graceBillyBigStuff herds cats with both ease and graceBillyBigStuff herds cats with both ease and grace
 
Posts: 33
Karma: 43934
Join Date: Aug 2012
Device: K5 B011 5.3.2
I give up No idea what the problem is, I've restarted multiple times. I guess I'll have to make do with USB SSH, but at least I have that. I'll bet it's down to the BT Home Hub 3, absolute rubbish...
Thanks for your help(s)
Bill
BillyBigStuff is offline   Reply With Quote
Old 08-08-2012, 03:38 PM   #23
BillyBigStuff
Enthusiast
BillyBigStuff herds cats with both ease and graceBillyBigStuff herds cats with both ease and graceBillyBigStuff herds cats with both ease and graceBillyBigStuff herds cats with both ease and graceBillyBigStuff herds cats with both ease and graceBillyBigStuff herds cats with both ease and graceBillyBigStuff herds cats with both ease and graceBillyBigStuff herds cats with both ease and graceBillyBigStuff herds cats with both ease and graceBillyBigStuff herds cats with both ease and graceBillyBigStuff herds cats with both ease and grace
 
Posts: 33
Karma: 43934
Join Date: Aug 2012
Device: K5 B011 5.3.2
On second thoughts it appears that I may be able to do it provided I can do it insecurely. I understand the potential risks associated with something like this, but could it be done easily? I think the Home Hub will only allow insecure ssh traffic, and only on port 21. Any ideas?
Bill
BillyBigStuff is offline   Reply With Quote
Old 08-08-2012, 04:34 PM   #24
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
Home hub allows any old rubbish.

Config

> Settings > enter password.

Port forwarding

Secure Shell Server (IIRC)

forwarded to BLAH

but IIRC this is for external traffic, I was not aware internal traffic carried a port 22 restriction.

EDIT: Yeah, this should only apply if you attempted to go outside the 192.168.x.x range and resolve the kindle via an externally referenced ip (your public ip for example would be a sensible option) and checked external connectivity to the kindle service

FIREWALL SETTINGS: DEFAULT: Allow all outgoing connections and block all unsolicited incoming traffic. Port forwarding is allowed.

Have you checked the OS you are using is actually letting the request out? or the pings?

Is this on windows as a host? Cheers. HTH a bit.

EDIT: I just went and checked one. I doubt itś your router

Last edited by twobob; 08-08-2012 at 04:41 PM. Reason: added default settings on router
twobob is offline   Reply With Quote
Old 08-08-2012, 04:41 PM   #25
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by BillyBigStuff View Post
On second thoughts it appears that I may be able to do it provided I can do it insecurely. I understand the potential risks associated with something like this, but could it be done easily? I think the Home Hub will only allow insecure ssh traffic, and only on port 21. Any ideas?
Bill
Port 21 **is not** ssh.
Port 21 is the command channel for ftp.

View your etc/services file (both Linux and Windows have one).
In Linux its /etc/services, in Windows its buried deep in the system file tree - same directory where they keep the etc/hosts file.

?drivers/config? that seems familar = you will just have to search for it on Windows unless someone here recalls its full path right off hand.
knc1 is offline   Reply With Quote
Old 08-08-2012, 06:31 PM   #26
BillyBigStuff
Enthusiast
BillyBigStuff herds cats with both ease and graceBillyBigStuff herds cats with both ease and graceBillyBigStuff herds cats with both ease and graceBillyBigStuff herds cats with both ease and graceBillyBigStuff herds cats with both ease and graceBillyBigStuff herds cats with both ease and graceBillyBigStuff herds cats with both ease and graceBillyBigStuff herds cats with both ease and graceBillyBigStuff herds cats with both ease and graceBillyBigStuff herds cats with both ease and graceBillyBigStuff herds cats with both ease and grace
 
Posts: 33
Karma: 43934
Join Date: Aug 2012
Device: K5 B011 5.3.2
Quote:
Originally Posted by twobob View Post
Home hub allows any old rubbish.

Config

> Settings > enter password.

Port forwarding

Secure Shell Server (IIRC)

forwarded to BLAH

but IIRC this is for external traffic, I was not aware internal traffic carried a port 22 restriction.

EDIT: Yeah, this should only apply if you attempted to go outside the 192.168.x.x range and resolve the kindle via an externally referenced ip (your public ip for example would be a sensible option) and checked external connectivity to the kindle service

FIREWALL SETTINGS: DEFAULT: Allow all outgoing connections and block all unsolicited incoming traffic. Port forwarding is allowed.

Have you checked the OS you are using is actually letting the request out? or the pings?

Is this on windows as a host? Cheers. HTH a bit.

EDIT: I just went and checked one. I doubt itś your router
Thanks
I am on a Windows PC, Windows 7 Ultimate x64, and I can ping the router and web addresses, but not the kindle unfortunately. When I try to I get a reply from my own IP address saying that the destination host is unreachable both with and without usbnetworking on. I have verified all of the settings you mention and they are all in place and correct. I tried connecting via my external IP but that doesn't work either, when I used an open port checker it said port 22 was closed.
Thanks for the help though,
Bill
BillyBigStuff is offline   Reply With Quote
Old 08-08-2012, 06:36 PM   #27
BillyBigStuff
Enthusiast
BillyBigStuff herds cats with both ease and graceBillyBigStuff herds cats with both ease and graceBillyBigStuff herds cats with both ease and graceBillyBigStuff herds cats with both ease and graceBillyBigStuff herds cats with both ease and graceBillyBigStuff herds cats with both ease and graceBillyBigStuff herds cats with both ease and graceBillyBigStuff herds cats with both ease and graceBillyBigStuff herds cats with both ease and graceBillyBigStuff herds cats with both ease and graceBillyBigStuff herds cats with both ease and grace
 
Posts: 33
Karma: 43934
Join Date: Aug 2012
Device: K5 B011 5.3.2
Quote:
Originally Posted by knc1 View Post
Port 21 **is not** ssh.
Port 21 is the command channel for ftp.

View your etc/services file (both Linux and Windows have one).
In Linux its /etc/services, in Windows its buried deep in the system file tree - same directory where they keep the etc/hosts file.

?drivers/config? that seems familar = you will just have to search for it on Windows unless someone here recalls its full path right off hand.
I'm sorry, I don't understand. I understand the first bit but not the second I give up now anyway, again Thanks for your help,
Bill
BillyBigStuff is offline   Reply With Quote
Old 08-08-2012, 08:08 PM   #28
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by BillyBigStuff View Post
I'm sorry, I don't understand. I understand the first bit but not the second I give up now anyway, again Thanks for your help,
Bill
That file lists the port numbers of common services.
I.E: We didn't "just make up" port 22.
knc1 is offline   Reply With Quote
Old 08-08-2012, 08:11 PM   #29
BillyBigStuff
Enthusiast
BillyBigStuff herds cats with both ease and graceBillyBigStuff herds cats with both ease and graceBillyBigStuff herds cats with both ease and graceBillyBigStuff herds cats with both ease and graceBillyBigStuff herds cats with both ease and graceBillyBigStuff herds cats with both ease and graceBillyBigStuff herds cats with both ease and graceBillyBigStuff herds cats with both ease and graceBillyBigStuff herds cats with both ease and graceBillyBigStuff herds cats with both ease and graceBillyBigStuff herds cats with both ease and grace
 
Posts: 33
Karma: 43934
Join Date: Aug 2012
Device: K5 B011 5.3.2
Quote:
Originally Posted by knc1 View Post
That file lists the port numbers of common services.
I.E: We didn't "just make up" port 22.
Oh, thanks.Y'learn something new every day/early morning
Bill
BillyBigStuff is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kindle touch 5.1.0 SSH password Oneill Kindle Developer's Corner 19 01-12-2018 04:27 PM
Can't SSH Into Kindle Touch magnetik Kindle Developer's Corner 28 11-18-2012 08:59 AM
Kindle Touch SSH access? firite Kindle Developer's Corner 3 05-03-2012 09:36 AM
Kindle MPlayer Control over SSH (WiFi) antario Amazon Kindle 5 09-22-2011 02:23 PM
iLiad lan-switch.zip for toggling eth0 and SSH janw iRex Developer's Corner 0 04-17-2009 06:40 PM


All times are GMT -4. The time now is 07:29 PM.


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