From owner-freebsd-questions Sun Mar 22 00:45:59 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA03075 for freebsd-questions-outgoing; Sun, 22 Mar 1998 00:45:59 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from jaguar.ir.miami.edu (jaguar.ir.miami.edu [129.171.32.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA03069 for ; Sun, 22 Mar 1998 00:45:55 -0800 (PST) (envelope-from marcus@miami.edu) Received: from localhost by jaguar.ir.miami.edu (PMDF V5.1-10 #24029) with SMTP id <0EQ700701POIEQ@jaguar.ir.miami.edu> for freebsd-questions@FreeBSD.ORG; Sun, 22 Mar 1998 03:45:54 -0500 (EST) Date: Sun, 22 Mar 1998 03:45:54 -0500 (EST) From: "Joe \"Marcus\" Clarke" Subject: Re: using the slirp emulator on remote host In-reply-to: To: BEAUPRE Antoine Cc: freebsd-questions Message-id: MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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: word: \ 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