ppp connection goes down - requires reboot
David Banning
david+dated+1342534703.68763f at skytracker.ca
Thu Jul 12 14:29:57 UTC 2012
Lately I have a problem where the ppp connection goes down.
Watching the log I see the following;
Jul 12 09:54:58 3s1 ppp[30841]: tun0: Phase: deflink: Connected!
Jul 12 09:54:58 3s1 ppp[30841]: tun0: Phase: deflink: opening -> dial
Jul 12 09:54:58 3s1 ppp[30841]: tun0: Phase: deflink: dial -> carrier
Jul 12 09:55:12 3s1 ppp[31114]: Phase: Using interface: tun0
Jul 12 09:55:12 3s1 ppp[31114]: Phase: deflink: Created in closed state
Jul 12 09:55:12 3s1 ppp[31114]: tun0: Command: default: disable ipv6cp
Jul 12 09:55:12 3s1 ppp[31114]: tun0: Command: default: set dial
Jul 12 09:55:12 3s1 ppp[31114]: tun0: Command: default: set login
Jul 12 09:55:12 3s1 ppp[31114]: tun0: Command: default: set ifaddr 209.161.205.12 206.221.248.4
Jul 12 09:55:12 3s1 ppp[31114]: tun0: Command: default: set ifaddr 10.0.0.1/0 10.0.0.2/0
Jul 12 09:55:12 3s1 ppp[31114]: tun0: Command: default: add default HISADDR
Jul 12 09:55:12 3s1 ppp[31114]: tun0: Command: default: nat enable yes
Jul 12 09:55:12 3s1 ppp[31114]: tun0: Command: default: set device PPPoE:fxp0
Jul 12 09:55:12 3s1 ppp[31114]: tun0: Command: default: set mru 1492
Jul 12 09:55:12 3s1 ppp[31114]: tun0: Command: default: set mtu 1492
Jul 12 09:55:12 3s1 ppp[31114]: tun0: Command: default: set authname [login was here]
Jul 12 09:55:12 3s1 ppp[31114]: tun0: Command: default: set authkey ********
Jul 12 09:55:12 3s1 ppp[31114]: tun0: Command: default: set log Phase tun command
Jul 12 09:55:12 3s1 ppp[31114]: tun0: Command: default: disable ipv6cp
Jul 12 09:55:12 3s1 ppp[31114]: tun0: Command: default: set dial
Jul 12 09:55:12 3s1 ppp[31114]: tun0: Command: default: set login
Jul 12 09:55:12 3s1 ppp[31114]: tun0: Command: default: set ifaddr 209.161.205.12 206.221.248.4
Jul 12 09:55:12 3s1 ppp[31114]: tun0: Command: default: set ifaddr 10.0.0.1/0 10.0.0.2/0
Jul 12 09:55:12 3s1 ppp[31114]: tun0: Command: default: add default HISADDR
Jul 12 09:55:12 3s1 ppp[31114]: tun0: Command: default: nat enable yes
Jul 12 09:55:12 3s1 ppp[31115]: tun0: Phase: PPP Started (ddial mode).
Jul 12 09:55:12 3s1 ppp[31115]: tun0: Phase: bundle: Establish
Jul 12 09:55:12 3s1 ppp[31115]: tun0: Phase: deflink: closed -> opening
Jul 12 09:55:13 3s1 ppp[31115]: tun0: Phase: deflink: Connected!
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
Jul 12 09:55:18 3s1 ppp[31115]: tun0: Phase: deflink: 0 packets in, 0 packets out
Jul 12 09:55:18 3s1 ppp[31115]: tun0: Phase: total 0 bytes/sec, peak 0 bytes/sec on Thu Jul 12 09:55:13 2012
Jul 12 09:55:18 3s1 ppp[31115]: tun0: Phase: deflink: hangup -> opening
Jul 12 09:55:18 3s1 ppp[31115]: tun0: Phase: deflink: Enter pause (30) for redialing.
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.
I called ISP and they say there is no problem.
I try to login to the ISP with a windows box and am successful.
Having no luck connecting with my server, I reboot, and all is fine.
What could it be about rebooting the server that allows connection
where otherwise it is not possible?
Any ideas where I can look for answers?
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
More information about the freebsd-questions
mailing list