Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Mar 1998 03:45:54 -0500 (EST)
From:      "Joe \"Marcus\" Clarke" <marcus@miami.edu>
To:        BEAUPRE Antoine <beaupran@JSP.UMontreal.CA>
Cc:        freebsd-questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: using the slirp emulator on remote host
Message-ID:  <Pine.OSF.3.96.980322033443.9518A-100000@jaguar.ir.miami.edu>
In-Reply-To: <Pine.SGI.3.96.980321235715.26918A-100000@derby.jsp.umontreal.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
Using slirp on a remote machine in order to connect a FreeBSD machine to
the Internet is very much possible.  First you need to setup your
favorite ppp software on FreeBSD.  I prefer user ppp (/usr/sbin/ppp) as
it is easier to setup, debug, and Brian, the guy who writes it does a
great job.  Take a look at /etc/ppp/ppp.conf.sample for some ideas on
setting up a non-pap, non-chap ppp connection.  The key to getting this
to work with slirp is the "set login" line.  You need to set this to
emulate your login to the remote system.  For instance:

set login "TIMEOUT 5 ogin:--ogin: <username> word: <password> \
<UNIX prompt> slirp -b 57600 -P"

This tells ppp to, with a timeout of 5 seconds, expect ogin:, if it
doesn't get it, send a newline then expect it again.  Once it gets it,
it sends your username.  Then it expects word:.  Once it gets it, it
sends your password.  Then, wait for the UNIX prompt and send slirp -b
57600 -P.  The -P option is important because that tells slirp to
establish a ppp connection.  That should get things working for you.


Joe Clarke

On Sun, 22 Mar 1998, BEAUPRE Antoine wrote:

> I will reformulate the question I posted recently: is it possible to use
> the slirp slip/ppp emulator to emulate a ppp connection on remote host
> with the freebsd software? The slirp emulator when started does not
> transmit anything, it seems it will only anser to some input. This is the
> only thing I have close to a Internet connection. I am not sure what to
> do... 
> 
> Thank you.
> 
> +-----------------------------------+
> |  Free the world from businessmen  |
> |   Free yourself from your money   |
> +-----------------------------------+
> Free the web. 
> Spidy
> 
> visit: http://www.JSP.UMontreal.CA/~beaupran
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.OSF.3.96.980322033443.9518A-100000>