Reply
Thread Tools
Posts: 13 | Thanked: 2 times | Joined on Sep 2007 @ Isle of Wight, UK
#1
Hi,

Before I upgraded to Diablo I had managed to get a telnet client on my N800. Since upgrading I've not managed to get telnet working. I need it for logging on to a talker I use. SSH is, unfortunately, not an option. Has anyone got telnet working under Diablo, and if so, how?

Thanks!

Paul
~~~~
 
Posts: 384 | Thanked: 90 times | Joined on Mar 2008
#2
apt-get install telnet from a shell.
 

The Following 2 Users Say Thank You to st5150 For This Useful Post:
Posts: 13 | Thanked: 2 times | Joined on Sep 2007 @ Isle of Wight, UK
#3
Originally Posted by st5150 View Post
apt-get install telnet from a shell.
Unfortunately that got me the following message:

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package telnet

I think thats how I did it for OS2007, but it no longer works.

Thanks,

Paul
~~~~
 
free's Avatar
Posts: 739 | Thanked: 159 times | Joined on Sep 2007 @ Germany - Munich
#4
You could use netcat which understand telnet protocol and is much much more advanced.

Code:
netcat -h

connect to somewhere:   nc [-options] hostname port[s] [ports] ... 
listen for inbound:     nc -l -p port [-options] [hostname] [port]
options:
        -c shell commands       as `-e'; use /bin/sh to exec [dangerous!!]
        -e filename             program to exec after connect [dangerous!!]
        -b                      allow broadcasts
        -g gateway              source-routing hop point[s], up to 8
        -G num                  source-routing pointer: 4, 8, 12, ...
        -h                      this cruft
        -i secs                 delay interval for lines sent, ports scanned
        -k                      set keepalive option on socket
        -l                      listen mode, for inbound connects
        -n                      numeric-only IP addresses, no DNS
        -o file                 hex dump of traffic
        -p port                 local port number
        -r                      randomize local and remote ports
        -q secs                 quit after EOF on stdin and delay of secs
        -s addr                 local source address
        -T tos                  set Type Of Service
        -t                      answer TELNET negotiation
        -u                      UDP mode
        -v                      verbose [use twice to be more verbose]
        -w secs                 timeout for connects and final net reads
        -z                      zero-I/O mode [used for scanning]
 
Posts: 384 | Thanked: 90 times | Joined on Mar 2008
#5
Originally Posted by rvsjimbo View Post
Unfortunately that got me the following message:

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package telnet

I think thats how I did it for OS2007, but it no longer works.

Thanks,

Paul
~~~~

You don't have the proper repository installed. Do a OS2008 search for telnet here http://gronmayer.com/it/index.php
 

The Following User Says Thank You to st5150 For This Useful Post:
Posts: 13 | Thanked: 2 times | Joined on Sep 2007 @ Isle of Wight, UK
#6
Hi Again,

Well, thanks for that... I can make it work on my Kubuntu system (netcat -t [host] [port]), but I cannot make it work on the N800 using the equivalent (netcat -T [host] [port]). It just comes back to the command line, after a short delay.

I'll see if I can work on the repository thing...

Paul
~~~~
 
free's Avatar
Posts: 739 | Thanked: 159 times | Joined on Sep 2007 @ Germany - Munich
#7
netcat:
add -vv to the options passed to netcat

Actually, I never tried the tablet version of netcat, but I don't see why it wouldn't work.
Isn't it -t rather than -T
?

By the way, there should also be somewhere "socat" which is a kind of netcat on steroids.
 
Posts: 13 | Thanked: 2 times | Joined on Sep 2007 @ Isle of Wight, UK
#8
Okay, got it sorted. Added the Dayless repository, and then it was easy.

Thanks people!

Paul
~~~~
 
Reply

Tags
diablo, telnet


 
Forum Jump


All times are GMT. The time now is 14:02.