Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Aug 1999 19:40:30 +1000
From:      "Young" <young@richardson.apana.org.au>
To:        <freebsd-questions@freebsd.org>
Subject:   Newbie PPP Configuration Problems
Message-ID:  <00ad01beee14$b5d14520$857e03cb@jdy>

next in thread | raw e-mail | index | archive | help

I've been trying unsuccessfully for days now to get a gateway/router box
working. I'd like to be able to (eventually) get http, ftp, mail, news, irc,
and hopefully ICQ access to the internet from boxes on the LAN running
whatever operating system.

Hopefully I've included all the stuff needed for someone to diagnose my
problems

I've read (but not understood) the Pedantic PPP Primer, the PPP MAN, the PPP
FAQ,
the Network Administrators Guide, but not getting anywhere fast

I have a 8 IP addresses from 203.3.126.128 - 135, subnet 255.255.255.248

My "resolv.conf" file lists both nameservers

domain.apana.org.au
nameserver 203.3.126.1
nameserver 203.3.126.3

My "Routing Table"

default                      203.3.126.128            UGSc      0    0
fxp0
127.0.0.1                127.0.0.1                     UH            0    6
lo0
203.3.126.128        ff:ff:ff:ff:ff:ff:                   UHLWb   1     0
fxp0 =>
203.3.126.128/29  link#1                            UC           0    1
fxp0
203.3.126.129        203.3.126.130            UGHS      1    10710  fxp0
203.3.126.130        0:a0:c9:21:12:48:       UHLW      1     0724    lo0


Due to my lack of experience, simplicity of configuration is ESSENTIAL, so
its probably best to avoid potentially tricky stuff like masquerading or the
like.

The phone system in Australia is a bit unusual, we get untimed local calls,
but pay up to 25c for each local one ..... consequently its desirable for
those who have a permanent dialup connection to keep it up permanently. Dial
on demand is NOT a good thing here like it is in US with "free" local phone
calls. Cable connections are virtually unknown in private homes here, due to
the pricing policy of the dominant carrier.

203.3.126.129 is used for dialup modem interface, and 203.3.126.130 for the
NIC in the local gateway box

At the server end, there are two DNS boxes, 203.3.126.1 & 203.3.126.3, and a
http proxy at 203.3.126.3 port 3128

I believe the correct IP address for remote gateway is 203.3.126.1

Neither PAP or CHAP are used, only the prompts for login & password,
although dialling can be automated in Win9x with a script.

I can dial up manually, using "ppp", "term", ATDT<phone_number>, but can't
understand how to even begin preparing a chat script, so any sort of
automatic dialling is out of the queston for the immediate future.

I have a local hosts file setup on the gateway box, and can successfully
ping other boxes on the LAN by either name or IP address.

Initially I could not get a  response from the local gateway box modem
interface (203.3.126.129), so I put  a line in /etc/rc.conf "route add
203.3.126.128 203.3.126.130" and now can get a response, although its rather
weird

36 bytes from oracle.apana.org.au (203.3.126.130): Time to live exceeded
.... then a couple lines of other strange stuff. Maybe this is just due to
the fact that both the 203.3.126.129 & 203.3.126.130 interfaces are in the
same box or something

Once connected I can ping the first of the two DNS numbers (and get a
response) but can't get a response from any other site.

One of many areas in which I'm a bit uncertain is the dialog box for
ethernet configuration when installing FreeBSD. Among other things, it asks
for details of local IP address, subnet mask, whether or not the box is a
gateway, and something about address of remote gateway. I've always put the
first of the two DNS numbers here as I have been led to believe thats the
correct thing, although I've never had to enter that in any Windows box and
I've setup hundreds of them. Given that my local ppp interface always uses
the same number, should I use something other than 203.3.126.1 for that ?

Another area of concern is the ppp.conf file ...... I'm 99% confused about
most of it .... reading the PPP MAN only makes me more confused every time I
read it. If anyone has a dialup internet account and the type of login that
prompts for login & password, I'd really appreciate a copy of their ppp.conf
file as it might be a lot more help than the documentation has been.

A lesser (but still annoying problem) is some kind of timeout that
disconnects the line, apparently due to no data moving. What do I need to do
to keep the line up permanently even if nothing happens for hours. I might
add here that I pay for a dedicated connection, its my line & my modem both
ends, so its not as if I am "hogging" a common line.

The last of my problems for now ...... other than "Control Alt Delete", how
do I tell the PPP connection to disconnect when I want it to ?? Seems thats
another of the "trivial" basics thats impossible to readily locate in
anything I've read so far.




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?00ad01beee14$b5d14520$857e03cb>