Telnet via Console
Results 1 to 7 of 7

Thread: Telnet via Console

  1. #1
    Senior Member
    Join Date
    Jan 2002
    Posts
    371

    Telnet via Console

    Hi All,

    This may sound like a really stupid question, but anyway, here it goes.

    I am trying to telnet from my linux RH 7.2 machine, across a console cable to another machine directly connected to it.

    Does anyone know if it is possible for this to be done with the existing telnet client that comes with linux RH 7.2? If so, how?

    If it is not possible, can anyone recommend an alternate telnet client? I would prefer to use a command line based client, but would resort to using KDE if needed.
    SoggyBottom.

    [glowpurple]There were so many fewer questions when the stars where still just the holes to heaven - JJ[/glowpurple] [gloworange]I sure could use a vacation from this bull$hit, three ringed circus side show of freaks. - Tool. [/gloworange]

  2. #2
    Junior Member
    Join Date
    Sep 2001
    Posts
    8
    telnet will only work over TCP connections. You could always try kermit http://www.columbia.edu/kermit/

  3. #3
    Senior Member
    Join Date
    Aug 2002
    Posts
    508
    How do you done your "network configuration" ?
    I had try two of my linux machine but not connected to net in my lab..to test my security comp this is what I've done:
    -deselect"configure using DHCP"
    -keep "activated on boot" selected
    -Enter IP address : A (and for second comp : B)
    -Netmask:255.255.255.0
    -Network:A (second comp B)
    -Broadcast: A.255
    -Hostname: K
    -Gateway, Primary/Secon/Tert DNSleave blank).

    And when try to ping from A to B..it's work just ping B...and you should see "reply from B" several times.
    I think that should be working for you too..

    cheerss

    sorry I've got mistyped on -Gateway should be like this -Gateway,Primary/Secon/Tertiary DNS : <leave blank>
    Not an image or image does not exist!
    Not an image or image does not exist!

  4. #4
    Senior Member
    Join Date
    Jan 2002
    Posts
    458
    salgatt is right, you cannot telnet over a console port. Kermit is a very good terminal emulation client that could be used for the console connection, and another very good one is minicom which is probably installed by default on your 7..2 box (depending on the install type of course).

    One thing you might have to do however is change the permissions on the device (in freebsd /dev/cuaa0. Sorry, don't remember for linux but it should be the same). Otherwise only root will be able to use it, unless that is what you want.

  5. #5
    Member
    Join Date
    Dec 2001
    Posts
    87
    Get a crossover cable (assuming both machines have network cards) You could make one yourself or buy one for a few quid. Use the crossover cable to connect both nics - you can then use tcpip to connect anyway you want.

  6. #6
    Senior Member
    Join Date
    Jan 2002
    Posts
    1,207
    You cannot telnet across a console cable. Telnet runs over TCP, which runs over IP, which runs over whatever, this is probably not the right protocol - a console cable is probably expecting a terminal (a much simpler protocol)

    Use a terminal emulator instead, like kermit (which several others mentioned) or minicom. minicom used to be shipped with slackware and may still be shipped with modern distro's - go and find out.

    I assume you're connecting the console to something like another Linux box, a proprietry unix box, a cisco router,a switch or some such like - all of which I have done and it works fine.

  7. #7
    Senior Member
    Join Date
    Jan 2002
    Posts
    371
    Thankyou all for your comments.... much appreciated.
    SoggyBottom.

    [glowpurple]There were so many fewer questions when the stars where still just the holes to heaven - JJ[/glowpurple] [gloworange]I sure could use a vacation from this bull$hit, three ringed circus side show of freaks. - Tool. [/gloworange]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •