ppp connection goes down - requires reboot
Mike Tancsa
mike at sentex.net
Thu Jul 12 15:23:43 UTC 2012
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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>
>
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, mike at sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
More information about the freebsd-questions
mailing list