Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Nov 1997 04:55:45 +0000
From:      Brian Somers <brian@awfulhak.org>
To:        quiksilver <quik@orion.webspan.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: PPP trouble 
Message-ID:  <199711250455.EAA12834@awfulhak.demon.co.uk>
In-Reply-To: Your message of "Sat, 22 Nov 1997 20:50:59 EST." <Pine.BSF.3.95.971122203316.13454A-100000@orion.webspan.net> 

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

Your ppp.linkup entry for your ISP has to many arguments to the add 
line.  It should read

  add 0 0 HISADDR

I'm surprised however that there isn't a second line in your routing 
table after the link is up.  If you "set log local ipcp" before doing 
the dial, you should see what's going on.

> I have read the docs and troubleshooting and I cannot figure out what is
> wrong with it.  Mabye you can help.  When I connect, it disconnects after
> about 1 minute.
> 
> netstat -rn (before i use ppp)
> Routing Tables
> Internet:
> Destination	Gateway     Flags   Refs  Use   Netif Expire
> 127.0.0.1	127.0.0.1    UH      0    16      lo0
> 
> netstat -rn (after i use ppp)
> Routing Tables
> Internet:
> Destination     Gateway     Flags   Refs  Use   Netif Expire                 
> 127.0.0.1       127.0.0.1    UH      0    32        lo0
> 
> 
> copy of my ppp.linkup:
> MYADDR:
>   delete 0
>   add 0 0 HISADDR
>   !bg /usr/X11R6/bin/auphy /etc/ppp/linkup.au (Note: file is not present)
> 206.154.70.41:  (that is my ISP DNS)
>   add 206.154.70.0 0 0 HISADDR
> pmdemand:
>   delete ALL
>   add 0 0 HISADDR
>   !bg /etc/ppp.etherup.pmdemand  (Note: file not present)
> min5minutes:
>   !bg sh -c "sleep 240; ppp ctl -p mypw 3000 set timeout 60"
> 
> copy of ppp.conf
> default:
>   set log Phase Chat Connect Carruer CCP IPCP CCP tun command
>   set device /dev/cuaa1
>   set speed 115200
>   deny lqr
>   set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT OK-AT-OK ATE
> 1Q0 \\DATDT\\ T TIMEOUT 40 CONNECT"
> ondemand:
>   set phone 3051860 
>   set login "TIMEOUT 5 ogin:--ogin: Pquik word: mypwd"
>   set timeout 120
>   set ifaddr 0.0.0.0 206.154.70.41 255.255.255.0
>   delete ALL
>   add 0 0 HISADDR
> 
> 
> This is a log of how i use ppp:
> # ppp
> ppp ON uart> load ondemand
> ppp ON uart> dial
> Dial Attempt 1 of 1
> Phone: 3051860
> dial OK!
> login OK!
> ppp ON uart> Packet Mode
> 
> I Hope that was enough info.  I was quite sure what to take from my
> ppp.log file, since it was so large.  
> 

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





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