Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 May 1996 18:04:53 GMT
From:      James Raynard <fqueries@jraynard.demon.co.uk>
To:        Francisco.Reyes@i-2000.com
Cc:        questions@freebsd.org
Subject:   Re: Need sample ppp.linkup
Message-ID:  <199605131804.SAA02406@jraynard.demon.co.uk>
In-Reply-To: <199605120333.XAA17693@i-2000.com> (message from Francisco Reyes on Sat, 11 May 96 23:32:26 -0400)

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> Francisco Reyes <freyes@i-2000.com> 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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199605131804.SAA02406>