Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Feb 1998 21:08:47 -0700 (MST)
From:      Brandon Gillespie <brandon@roguetrader.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   ppp does not linkup unless dialed manually
Message-ID:  <Pine.BSF.3.96.980210210039.29288A-100000@roguetrader.com>

next in thread | raw e-mail | index | archive | help
This is quite a frustration to me, as it worked, and now it doesn't; and
unfortunately I cannot track down what I did to change it so it no longer
works.  I did upgrade from 2.2.1 to 2.2.5 somewhere in the process--but I
thougth I had used my scripted dialin rules after that point.  Regardless,
if I try to use my automatically scripted rules it does not work--but if I
manually do what the scripting is doing, it does.  This is quite a
frustration.  When I dial with the rules it does:

ppp on pinky> dial sun
Dial attempt 1 of 1
Phone: ......
dial OK!
login OK!
ppp on pinky> Packet mode.
ppp on pinky>

And that is it.  The modem stays connected, but it never finishes the
linkup to capitalize the 'PPP' and have everything working.  If I manually
do it, after it prints 'Packet mode' it sits there for a second and then
comes back with the ppp capitalized (as it does when everything is linked
up).

My configuration is quite simple:

----- ppp.conf
default:
  set device /dev/cuaa0
  set speed 115200
  set log Phase Chat Connect Carrier hdlc LCP IPCP CCP tun
  deny lqr
  set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0 OK-AT-OK
\\dATDT\\T TIMEOUT 40 CONNECT"
sun:
  set phone xxxxxxx
  set timeout 900
  set login "TIMEOUT 10 gin:-BREAK-gin: xxxx word: xxxx INIT ppp_crypt"
  set ifaddr xxx.xx.xxx.60 xxx.xx.xxx.2 255.255.255.0
----- ppp.linkup:
xxx.xx.xxx.60:
       delete ALL
       add 0 0 HISADDR
MYADDR:
       delete ALL
       add 0 0 HISADDR
-----

Now, I have a dedicated IP address (that being .60), and .2 is the box
which is the dialin server.  *THIS USED TO WORK*  For nigh a year I've
been using this setup without problem.  Only recently I upgraded and was
diddling around trying to get the masquerading working for the local
network and now it does not work anymore.  And remember--it does work if I
do it by hand.

Help?

-Brandon Gillespie


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe questions" in the body of the message



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