![]() |
#1 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 283
Karma: 138550
Join Date: Mar 2009
Device: Gen3(†); PB302(↓); PRS-350; T1; voyage
|
Telnet to reader
I would like to access the PRS-T1 via telnet.
I found a free apk called Android Developer Shell, which install just fine. After bringing up the network connection and starting the app, it tells me, that it is listening on it's (correct) ip address on port 3550. However, trying to reach it from my Linux box fails. Checking further, I can't even ping the reader, while I can ping the Linux box ok from the reader. Digging a bit deeper, I found out, that there is quite a lot of commands available through busybox (including telnetd, actually, but I don't know yet, how to start it here), so I even could login on my Linux box from the reader. This is my first Android device, so forgive me for asking maybe stupid questions. Is there some sort of firewall running on the reader blocking any kind of incoming traffic? I can ping and access several machines within my LAN/WLAN just fine, my router shows the reader as connected, so it stunns me, that I even can't ping it. |
![]() |
![]() |
![]() |
#2 |
...
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 226
Karma: 514506
Join Date: Sep 2011
Device: Sony PRS-T1
|
Think you're going down path, I think it will be simpler if you look into connecting to adb over tcp.
Haven't tried it, but I assume this widget is basically doing the same thing in friendly UI. |
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Junior Member
![]() Posts: 3
Karma: 12
Join Date: Dec 2011
Device: PRS-T1
|
Quote:
Code:
iptables -P INPUT ACCEPT |
|
![]() |
![]() |
![]() |
#4 |
Junior Member
![]() Posts: 3
Karma: 12
Join Date: Dec 2011
Device: PRS-T1
|
...or modify /system/etc/firewall.sh
|
![]() |
![]() |
![]() |
#5 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 283
Karma: 138550
Join Date: Mar 2009
Device: Gen3(†); PB302(↓); PRS-350; T1; voyage
|
I'm in :-)
Welcome sonic74 and thanks for your input.
Code:
iptables -P INPUT ACCEPT To keep the connection open, I start a ping (to my router) in the Terminal emulator and then switch it into the background. After that I managed to login through telnet once the beforementioned Android Development Shell was running. However, the connection was lagging a LOT (sometimes 30-50 seconds for a response), so no joy. DroidSSHd is a package of approximately the same size and gives you easy access via ssh (dropbear). Very nice. I still would like to safe the space and get telnetd to accept incoming calls. Server and client do talk to each other, but the connection gets closed right away, no login procedure. server Code:
busybox telnetd -p 5331 -F Code:
telnet 192.168.4.105 5331 Telnet escape character is '^D'. Trying 192.168.4.105... Connected to 192.168.4.105. Escape character is '^D'. Connection closed by foreign host. |
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Junior Member
![]() Posts: 3
Karma: 12
Join Date: Dec 2011
Device: PRS-T1
|
Quote:
Perhaps a wrong/missing login binary? Last edited by sonic74; 12-06-2011 at 06:21 PM. |
|
![]() |
![]() |
![]() |
#7 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 283
Karma: 138550
Join Date: Mar 2009
Device: Gen3(†); PB302(↓); PRS-350; T1; voyage
|
Quote:
However, using my mobile as a hotspot fails completely. Yes, maybe. I'm fine with dropbear for now. Just thought, that ADS might use the built-in telnetd, but appearantly it's using it's own d. The package is as big as sshd. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kobo Touch Telnet Images | CdnBloodlust | Kobo Developer's Corner | 8 | 08-10-2012 05:31 AM |
Can't SSH or Telnet to Kindle 3 | eshiku | Kindle Developer's Corner | 13 | 07-28-2011 07:23 PM |
Using Telnet on Kindle 3 | DaGin WinterBorn | Kindle Developer's Corner | 0 | 05-22-2011 10:47 PM |
Kindle 3 v3.1 hacked, can't telnet | mpercy725 | Kindle Developer's Corner | 1 | 05-13-2011 01:43 AM |
Ssh/telnet access over 3G? | lolcat | Kindle Developer's Corner | 12 | 02-21-2011 11:56 AM |