Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Jul 1997 14:03:19 +0200 (SAT)
From:      Khetan Gajjar <khetan@chain-gateway.iafrica.com>
To:        questions@freebsd.org
Subject:   IJPPP and leased line problem(s)
Message-ID:  <Pine.BSF.3.95q.970704135638.29539X-100000@chain-gateway.iafrica.com>

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

I've got a FreeBSD box connected via a analogue leased line to my ISP.
I'm using userland ppp, with the following ppp.conf file :

default:
 set device /dev/cuaa0
 set speed 38400
 disable lqr
 deny lqr
leasedline:
 set timeout 0
 set ifaddr 196.7.74.174 196.7.0.145
 delete ALL
 add 0 0 HISADDR
 set openmode active 

(196.7.74.174 is my IP address, 196.7.0.145 is the static IP address
assigned to the Portmaster).

I try to launch this with ppp -auto leasedline, but that often
fails. So, What I do is run it on a spare terminal, enter my password
and type dial leasedline. Hey presto, that works.

Question 1 : why does it not work with -auto ?
PS. No username/password is necessary - the Portmaster just starts speaking
PPP immediately.

The next thing is that sometimes the line goes down. In a case like that,
the modems will re-negotiate. Is there anything I can do to user-ppp
which will cause it to re-initialise the PPP connection ?

Question 2 : how do I get user-PPP to re-start itself when PPP dies ?

The following thing is that often the add 0 0 HISADDR line does nothing.
I have to delete ALL, and re-enter add 0 0 HISADDR, and then it works.
Sometimes, this happens quite often.

Question 3 : who does the routing fail, and more importantly, how do I get
the routing to work when noone is there to type it in ?

Question 4 : how do I add the equivalent command of route 196.7.74.174 
-interface lo0 using user-ppp ?

Thanks very much to anyone who can help.

--- 
Khetan Gajjar                               | khetan@os.org.za
www.freebsd.os.org.za/~khetan/              | khetan@iafrica.com
PGP : finger khetan@chain.freebsd.os.org.za | I run FreeBSD - www.za.freebsd.org
UUNET Internet Africa Support               | 0800-030-002 & help@iafrica.com

The idea is to die young as late as possible.
                -- Ashley Montagu




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95q.970704135638.29539X-100000>