Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    telnet on Diablo

    Reply
    rvsjimbo | # 1 | 2008-08-25, 00:05 | Report

    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
    ~~~~

    Edit | Forward | Quote | Quick Reply | Thanks

     
    st5150 | # 2 | 2008-08-25, 03:27 | Report

    apt-get install telnet from a shell.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to st5150 For This Useful Post:
    MattZTexasu, timsamoff

     
    rvsjimbo | # 3 | 2008-08-25, 15:42 | Report

    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
    ~~~~

    Edit | Forward | Quote | Quick Reply | Thanks

     
    free | # 4 | 2008-08-25, 15:50 | Report

    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]

    Edit | Forward | Quote | Quick Reply | Thanks

     
    st5150 | # 5 | 2008-08-25, 19:33 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to st5150 For This Useful Post:
    rvsjimbo

     
    rvsjimbo | # 6 | 2008-08-26, 13:16 | Report

    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
    ~~~~

    Edit | Forward | Quote | Quick Reply | Thanks

     
    free | # 7 | 2008-08-26, 14:17 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    rvsjimbo | # 8 | 2008-08-26, 19:12 | Report

    Okay, got it sorted. Added the Dayless repository, and then it was easy.

    Thanks people!

    Paul
    ~~~~

    Edit | Forward | Quote | Quick Reply | Thanks

     
vBulletin® Version 3.8.8
Normal Logout