Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Jul 2012 11:23:39 -0400
From:      Mike Tancsa <mike@sentex.net>
To:        David Banning <david+dated+1342534703.68763f@skytracker.ca>
Cc:        questions@freebsd.org
Subject:   Re: ppp connection goes down - requires reboot
Message-ID:  <4FFEEBFB.9020202@sentex.net>
In-Reply-To: <20120712141822.GA4009@skytracker.ca>
References:  <20120712141822.GA4009@skytracker.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
On 7/12/2012 10:18 AM, David Banning wrote:
> Lately I have a problem where the ppp connection goes down. 
> Watching the log I see the following;
> Jul 12 09:55:13 3s1 ppp[31115]: tun0: Phase: deflink: opening -> dial
> Jul 12 09:55:13 3s1 ppp[31115]: tun0: Phase: deflink: dial -> carrier
> Jul 12 09:55:18 3s1 ppp[31115]: tun0: Phase: deflink: Disconnected!
> Jul 12 09:55:18 3s1 ppp[31115]: tun0: Phase: deflink: carrier -> hangup
> Jul 12 09:55:18 3s1 ppp[31115]: tun0: Phase: deflink: Connect time: 5 secs: 0 octets in, 0 octets out


5 seconds seems like a pretty tight for it to give up. Do you have any
other defaults in your ppp.conf not shown below ?

also add

 enable echo
 disable vjcomp
 set lqrperiod 10
 set cd 10

and when its not working, try

tcpdump -nei fxp0

You should see responses to your PADI requests from the remote BAS.
Also get rid of the 209.161.205.12 line. Typically your ISP will assign
you the static IP out of RADIUS and you dont need to specify it.

	---Mike

> 
> I shutdown ppp and restart it with no luck.  I shutoff modem and 
> reboot it and wait for connection light to go solid - still no go. 
> 

> 
> my ppp.conf follows;
> 
> default: # or name_of_service_provider
>       set device PPPoE:fxp0 # replace xl1 with your ethernet device
>       set mru 1492
>       set mtu 1492
>       set authname ***********
>       set authkey ***********
>       set log Phase tun command # you can add more detailed logging if you wish
>       disable ipv6cp
>       set dial
>       set login
>       set ifaddr 209.161.205.12 206.221.248.4
>       set ifaddr 10.0.0.1/0 10.0.0.2/0
>       add default HISADDR
>       nat enable yes 
> 
> 
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
> 
> 


-- 
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, mike@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/



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