Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Feb 1998 07:40:19 +0000
From:      Brian Somers <brian@Awfulhak.org>
To:        Brandon Gillespie <brandon@roguetrader.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: ppp does not linkup unless dialed manually 
Message-ID:  <199802110740.HAA18352@awfulhak.org>
In-Reply-To: Your message of "Tue, 10 Feb 1998 21:08:47 MST." <Pine.BSF.3.96.980210210039.29288A-100000@roguetrader.com> 

next in thread | previous 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?

Have you looked at your log to see what the chat scripts are doing ?  
Check http://www.FreeBSD.org/FAQ/userppp.html.

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

-- 
Brian <brian@Awfulhak.org>, <brian@FreeBSD.org>, <brian@OpenBSD.org>
      <http://www.Awfulhak.org>;
Don't _EVER_ lose your sense of humour....



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?199802110740.HAA18352>