![]() |
#31 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 608
Karma: 1588610
Join Date: Jan 2012
Device: Kindle Scribe
|
Getting the telnetd off of debian...
The i386 version of busybox's telnetd doesn't need inetd, but the armel one does ![]() Last edited by aditya3098; 07-12-2012 at 10:23 AM. |
![]() |
![]() |
![]() |
#32 | |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
I noticed that in your earlier post, was not sure if that was a typo or not, since you evidently have to pay for each character you type. telnet: The client telnetd: The server inetd: The "super server" I.E: Starts other programs "on demand" telnetd, from any provider, will run either as a daemon (the: d) A.K.A: a "service" or may be started on-demand (by inetd or similar). It only depends on how you configure it, not the arch its built for. |
|
![]() |
![]() |
![]() |
#33 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 608
Karma: 1588610
Join Date: Jan 2012
Device: Kindle Scribe
|
No, I put the busybox binary in /mnt/us and ran /mnt/us/busybox telnetd and it gave some error and aborted.
|
![]() |
![]() |
![]() |
#34 | |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
Did you use a copy of busybox built so that it can be moved from /bin? What busybox? From where? As I posted elsewhere today - my crystal ball is off-line. Unless you type enough characters to give a decent problem and question statement, don't expect much help from anyone. |
|
![]() |
![]() |
![]() |
#35 |
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
|
@aditya3098: telnetd calls login (at least, busybox telnet does).
The telnetd bundled with the USBNet hack is configured to call the internal busybox login applet, which is patched to grant direct root login without password. You can rip it out of the K4 USBNet package. |
![]() |
![]() |
![]() |
#36 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 608
Karma: 1588610
Join Date: Jan 2012
Device: Kindle Scribe
|
I got the busybox from debian (busybox-static for armel) and symlinked it from /mnt/us/busybox to /bin/busybox_custom, and most utils worked just fine. The strace said something about it aborting.
|
![]() |
![]() |
![]() |
#37 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 608
Karma: 1588610
Join Date: Jan 2012
Device: Kindle Scribe
|
The telnetd workd great, from the usbnet hack, and I found a bunch of other good stuff in there. But I can't figure out how to forward the port.
|
![]() |
![]() |
![]() |
#38 |
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
|
@aditya3098: What do you mean by 'forwarding the port'? Launching a second fg sshd on another port?
Code:
$(which sshd) -d -p 8888 Same thing on the client, ssh -vvv root@kindle -p 8888 Last edited by NiLuJe; 07-12-2012 at 01:24 PM. |
![]() |
![]() |
![]() |
#39 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 608
Karma: 1588610
Join Date: Jan 2012
Device: Kindle Scribe
|
forwarding the port for telnetd
|
![]() |
![]() |
![]() |
#40 |
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
|
@aditya3098: Still not sure what you mean, exactly, sorry ;D. The telnetd from USBNet doesn't rely on inetd, it's completely standalone. And it listens on the usual port (grep telnet /etc/services == 23 TCP/UDP) :?
|
![]() |
![]() |
![]() |
#41 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 608
Karma: 1588610
Join Date: Jan 2012
Device: Kindle Scribe
|
Sorry, I was just dumb. It works. And I think this stuff should be put in the kt's usbnet hack.
|
![]() |
![]() |
![]() |
#42 | |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
It might well mean that the question being asked is how to allow in-bound connections to telnetd. (Some router / dsl modems misuse "forward" in this sense.) If such is the case, then the O.P. wants to know how to open port 23 for in-bound connections in iptables (firewall). The best place to do that is in the iptables save file, so that the rule is set on every reboot. |
|
![]() |
![]() |
![]() |
#43 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 608
Karma: 1588610
Join Date: Jan 2012
Device: Kindle Scribe
|
Quote:
|
|
![]() |
![]() |
![]() |
#44 |
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
|
@aditya3098: I'll probably start working on 'porting' the full USBNet hack to the Touch sometime during the summer, if upstart doesn't drive me crazy before then
![]() Last edited by NiLuJe; 07-13-2012 at 04:19 PM. |
![]() |
![]() |
![]() |
#45 | |
(offline)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
Quote:
![]() ... Sorry if I'm saying it again, but generally, you should really try to be a bit more verbose in your posts, by including the context of your statements or questions. (don't get me wrong: this is meant in a constructive way) |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
SSH Help | Jongwe | Kindle Developer's Corner | 75 | 04-13-2019 06:26 PM |
Need SSH help | ijoecoles | Kindle Developer's Corner | 18 | 06-19-2012 09:50 AM |
Locked out of ssh, No 3g HELP! | tstngry | Amazon Kindle | 5 | 04-27-2012 02:28 AM |
how to ssh into Kindle | thomass | Amazon Kindle | 4 | 04-11-2011 10:48 AM |
SSH to Kindle | Zorz | Kindle Developer's Corner | 16 | 01-15-2010 01:18 AM |