From owner-freebsd-questions Mon May 13 15:36:14 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id PAA01929 for questions-outgoing; Mon, 13 May 1996 15:36:14 -0700 (PDT) Received: from mail.barrnet.net (mail.barrnet.net [131.119.246.7]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id PAA01845 for ; Mon, 13 May 1996 15:36:04 -0700 (PDT) Received: from relay-4.mail.demon.net (relay-4.mail.demon.net [158.152.1.108]) by mail.barrnet.net (8.7.5/MAIL-RELAY-LEN) with SMTP id PAA08183 for ; Mon, 13 May 1996 15:35:28 -0700 (PDT) Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net id ae02441; 13 May 96 22:35 GMT Received: from jraynard.demon.co.uk ([158.152.42.77]) by relay-3.mail.demon.net id aa21313; 13 May 96 23:35 +0100 Received: (from fqueries@localhost) by jraynard.demon.co.uk (8.7.5/8.6.12) id SAA02406; Mon, 13 May 1996 18:04:53 GMT Date: Mon, 13 May 1996 18:04:53 GMT From: James Raynard Message-Id: <199605131804.SAA02406@jraynard.demon.co.uk> To: Francisco.Reyes@i-2000.com CC: questions@freebsd.org In-reply-to: <199605120333.XAA17693@i-2000.com> (message from Francisco Reyes on Sat, 11 May 96 23:32:26 -0400) Subject: Re: Need sample ppp.linkup Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >>>>> Francisco Reyes writes: > > After a long time trying to connect to the internet I finally was able > to do it by using the "TERM" in ppp. Right after it connected there was > an error about a missing "/etc/ppp/ppp/linkup". I looked at the sample > file in the /etc/ppp and could not really understand the explanations > in the file. Basically it's a file that PPP looks at when it's established a connection at the link level (cables, dialling, modem handshakes etc) and is setting one up at the networking layer (IP mainly). One very important thing that needs to be done at this point is to set up a default route, otherwise you won't be able to 'see' past the other end of the PPP link. (The symptoms of this are that everything seems to have connected properly and you can ping the other end, but you get "no route to host" when you try to contact anyone else). The simplest one of the examples is the last one:- MYADDR: add 0 0 HISADDR This is all I have in my ppp.linkup file. It means that the default route for tun0 packets should be the machine at the other end of the PPP link. (ppp already knows who this is from the link level connection stage). The other two examples show how to make ppp do different things at this stage, depending on your IP address or the 'label' you used in the conf file. You needn't worry about them at the moment, I don't think. > Could someone share a sample file or give some info on how to > do my own? The basic MYADDR: add 0 0 HISADDR should be good enough to start with. > I have read the sections in the manual about ppp and the section > that mentions that file doesn't say much either. Hope this helps.