Networking Forums

Networking Forums > Computer Networking > Linux Networking > Can "pppd" bind to a pty with "telnet" session over ethernet?

Reply
Thread Tools Display Modes

Can "pppd" bind to a pty with "telnet" session over ethernet?

 
 
Alex Yung
Guest
Posts: n/a

 
      10-01-2003, 11:50 PM
Does "pppd" have to be binded to a serial device? This is what I
am trying to do. I only have an shell account to a Solaris machine.
The only way to get to the Solaris machine is via telnet to a gateway
then telnet to this Solaris machine. This happens through the
existing ethernet LAN. I want to run "slirp" at the Solaris machine
(my final destination) then start up the ppp interface at my Linux.
I am trying to create a tunnel/bridge over this telnet session. Can
this be accomplished over this mechanism? Do I need to use something
else? Could someone give me other suggestion/pointer?

This is what I have done:

+---------+
| Linux | +------------+ +---------+
| with |_______| Gateway to |________| Solaris |
| telnet | | Solaris | | w/Slirp |
| session | +------------+ +---------+
+---------+

When I started "pppd" in Linux, it does not seem to be communicating
via the telnet session. "pppd" also did not tell me that I am using
an invalid device.

# pppd -detach /dev/pts/10 9600 noproxyarp noauth \
10.0.2.15:172.16.32.28 debug
Using interface ppp0
Connect: ppp0 <--> /dev/pts/10
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xcce39de> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xcce39de> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xcce39de> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xcce39de> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xcce39de> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xcce39de> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xcce39de> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xcce39de> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xcce39de> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xcce39de> <pcomp> <accomp>]
LCP: timeout sending Config-Requests
Connection terminated.

Does anyone know whether I am allowed to do this at all? Did I use
the wrong tool? Any idea how I can move on? All suggestions are
welcome. Thanks.
 
Reply With Quote
 
 
 
 
Bill Marcum
Guest
Posts: n/a

 
      10-02-2003, 01:33 PM
On 1 Oct 2003 23:50:43 GMT, Alex Yung
<(E-Mail Removed)> wrote:
> Does "pppd" have to be binded to a serial device? This is what I
> am trying to do. I only have an shell account to a Solaris machine.
> The only way to get to the Solaris machine is via telnet to a gateway
> then telnet to this Solaris machine. This happens through the
> existing ethernet LAN. I want to run "slirp" at the Solaris machine
> (my final destination) then start up the ppp interface at my Linux.
> I am trying to create a tunnel/bridge over this telnet session. Can
> this be accomplished over this mechanism? Do I need to use something
> else? Could someone give me other suggestion/pointer?
>

: Description
:slirp - SLIP/PPP emulator using a dial up shell account
:Slirp is a TCP/IP emulator which turns an ordinary shell account
:into a (C)SLIP/PPP account. This allows shell users to use all the
:funky Internet applications like Netscape, Mosaic, CUSeeMe, etc.

:Please note that maybe your ISP really doesn't like you using slirp,
:because they want to charge more for a ppp connection, so use it at
:your own risk.
[The last part may have been true 10 years ago, but in 2003 most ISPs
don't even offer shell accounts.]

Why would you want to telnet to a machine and run slirp on it?
Perhaps ssh can accomplish whatever it is you are trying to do.

:Further information can be obtained from Slirp home page at
:<URL: http://slirp.sourceforge.net>


--
Commander Spiral Pyjama Pseudo-Rhinocerous Feline Thingamajig Bill Marcum
(the First)
Ozy and Millie Name Generator http://heifong.phase.org/omname.php
 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Fwd: SPEWS DOLTS "SneakyP", "Kevin!:?)", "WindsorFox" SPAM braodbandnewsgroup] !:?) Broadband 0 11-30-2005 01:04 AM
Re: SPEWS SLIMES "WindsorFox", "Kevin-!:?)", "Spin Dryer" get the cold shoulder at broadband ng! SneakyP Broadband 0 11-29-2005 10:46 PM
Attention Plus.net Re: SPEWS DOLTS "WindsorFox", "Kevin-!:?)", "SpinDryer" SPAM broadband newsgroup !:?) Broadband 0 11-28-2005 04:28 AM
Attention Plus.Net Re: SPEWS DOLTS "WindsorFox", "Kevin-!:?)", "SpinDryer" SPAM braodband newsgroup !:?) Broadband 0 11-28-2005 03:03 AM
"hotspot" or "hot spot", "wireless" or "wi-fi" or "wi fi" ? Nic O`Neill Wireless Internet 3 02-12-2004 07:42 AM



1 2 3 4 5 6 7 8 9 10 11