www.zeroshell.org Forum Index www.zeroshell.org
Linux Distribution for server and embedded devices
 
 SearchSearch  RegisterRegister  UsergroupsUsergroups 
 ProfileProfile  Log inLog in  Log in to check your private messagesPrivate Message 

Gateway re-enable issue

 
Post new topic   Reply to topic    www.zeroshell.org Forum Index -> ZeroShell
View previous topic :: View next topic  
Author Message
mdemel



Joined: 07 Jun 2011
Posts: 2

PostPosted: Tue Jun 19, 2012 4:27 am    Post subject: Gateway re-enable issue Reply with quote

My setup 2 WANs. 1 local.
1 ethernet based connection
1 DSL with zeroshell handling PPPoE (modem TD-8816 in bridge mode)
Zeroshell Release 1.0.beta16
No special balance rules, dns \ dhcp not used (internal server handles that), a few virtual server rules.


I have had an on going issue where the DSL line will drop it connection but Zeroshell does not re-enable the connection under the Gateway list when the link is restarted. When I look at the Network section I do see that it has a pppoe connection and ip address. I have the net balancer enabled with the nb_qos_b16_patch along with failover monitor enabled. I have the "Immediately restart PPPoE and 3G Mobile" option turned on and the Failover IP Addresses populated with valid addresses. The only way to get the "connection" back is to uncheck and recheck the "UP" box under the Gateway List. [url] Similar situation at the bottom of this thread http://www.zeroshell.net/eng/forum/viewtopic.php?t=659&highlight=ppp+deamon [/url] This was an issue with 1.0b14 as well and I believe with and without nb qos patch for both versions. When the link is up everything works great.


This the contents of the log files.
pppd log
Code:

19:01:42    No response to 3 echo-requests
19:01:42    Serial link appears to be disconnected.
19:01:42    Connect time 57.4 minutes.
19:01:42    Sent 144908413 bytes, received 29791839 bytes.
19:01:42    Connection terminated.
19:01:47    Exit.
19:01:52    pppd 2.4.3 started by root, uid 0
19:01:52    Using interface ppp0
19:01:52    Connect: ppp0 <--> /dev/pts/2
19:01:53    PAP authentication succeeded
19:01:53    local IP address 98.xxx.xxx.xxx
19:01:53    remote IP address 98.xxx.xxx.xxx


pppoe log
Code:

19:01:52    PADS: Service-Name: ''
19:01:52    PPP session is 7744 (0x1e40)


pppoe-connect
Code:

19:01:47    PPPoE connection lost; attempting re-connection.



This is what the logs look like when I check and un check the "UP" box.
pppd
Code:

22:44:31    Terminating on signal 15
22:44:31    Connect time 222.7 minutes.
22:44:31    Sent 0 bytes, received 13168 bytes.
22:44:31    Connection terminated.
22:44:32    Terminating on signal 15
22:44:32    Exit.
22:44:37    pppd 2.4.3 started by root, uid 0
22:44:37    Using interface ppp0
22:44:37    Connect: ppp0 <--> /dev/pts/2
22:44:38    PAP authentication succeeded
22:44:38    local IP address 98.xxx.xxx.xxx
22:44:38    remote IP address 98.xxx.xxx.xxx


pppoe
Code:

22:44:32    read (asyncReadFromPPP): Session 7744: Input/output error
22:44:32    Sent PADT
22:44:37    PADS: Service-Name: ''
22:44:37    PPP session is 3843 (0xf03)


pppoe-connect
Code:

22:44:32    PPPoE connection lost; attempting re-connection.


These are the logs when the fail over monitor is off.
pppd
Code:

18:04:14    LCP terminated by peer
18:04:14    Connect time 26.9 minutes.
18:04:14    Sent 71209949 bytes, received 5642762 bytes.
18:04:15    Modem hangup
18:04:15    Connection terminated.
18:04:15    Exit.
18:04:20    pppd 2.4.3 started by root, uid 0
18:04:20    Using interface ppp0
18:04:20    Connect: ppp0 <--> /dev/pts/1
18:04:21    PAP authentication succeeded
18:04:21    local IP address 98.xxx.xxx.xxx
18:04:21    remote IP address 98.xxx.xxx.xxx


pppoe
Code:

18:04:15    Session 974 terminated -- received PADT from peer
18:04:15    Sent PADT
18:04:20    PADS: Service-Name: ''
18:04:20    PPP session is 1208 (0x4b8)


pppoe-connect
Code:

18:04:15    PPPoE connection lost; attempting re-connection.


This is the netbalancer log with the corresponding times.
Code:

18:04:31    Default Route has been changed: nexthop dev ETH01 weight 1 realm 102
18:04:32    Default Route has been changed: nexthop dev ppp0 weight 6 realm 101 nexthop dev ETH01 weight 1 realm 102
18:04:32    message repeated 2 times
18:04:32    Failover monitor has been DISABLED
18:04:32    Default Route has been changed: nexthop dev ppp0 weight 6 realm 101 nexthop dev ETH01 weight 1 realm 102
18:04:33    message repeated 2 times
18:04:33    Failover monitor has been DISABLED
18:07:20    Default Route has been changed: nexthop dev ppp0 weight 6 realm 101 nexthop dev ETH01 weight 1 realm 102
18:07:20    message repeated 2 times
18:07:21    Default Route has been changed: nexthop dev ppp0 weight 6 realm 101 nexthop dev ETH01 weight 1 realm 102
18:07:21    Default Route has been changed: nexthop dev ppp0 weight 6 realm 101 nexthop dev ETH01 weight 1 realm 102
18:07:21    Failover monitor has started
18:07:22    Failover monitor has not started because no Failover IP are enabled
18:07:36    Default Route has been changed: nexthop dev ppp0 weight 6 realm 101 nexthop dev ETH01 weight 1 realm 102
18:08:33    Default Route has been changed: nexthop dev ppp0 weight 6 realm 101 nexthop dev ETH01 weight 1 realm 102
18:14:27    Default Route has been changed: nexthop dev ppp0 weight 6 realm 101 nexthop dev ETH01 weight 1 realm 102
18:14:27    Failover monitor has started
18:14:27    Failover monitor has not started because no Failover IP are enabled
18:14:36    Default Route has been changed: nexthop dev ppp0 weight 6 realm 101 nexthop dev ETH01 weight 1 realm 102
18:14:44    Default Route has been changed: nexthop dev ppp0 weight 6 realm 101 nexthop dev ETH01 weight 1 realm 102
18:14:44    Failover monitor has started
18:14:44    Failover monitor has not started because no Failover IP are enabled
18:14:55    Default Route has been changed: nexthop dev ppp0 weight 6 realm 101 nexthop dev ETH01 weight 1 realm 102
18:14:55    Failover monitor has started
18:31:34    Default Route has been changed: nexthop dev ppp0 weight 6 realm 101 nexthop dev ETH01 weight 1 realm 102
18:36:37    Default Route has been changed: nexthop dev ppp0 weight 6 realm 101 nexthop dev ETH01 weight 1 realm 102
18:38:15    Default Route has been changed: nexthop dev ppp0 weight 6 realm 101 nexthop dev ETH01 weight 1 realm 102
18:44:33    Default Route has been changed: nexthop dev ppp0 weight 6 realm 101 nexthop dev ETH01 weight 1 realm 102
18:44:39    Default Route has been changed: nexthop dev ppp0 weight 6 realm 101 nexthop dev ETH01 weight 1 realm 102
18:45:32    Default Route has been changed: nexthop dev ppp0 weight 6 realm 101 nexthop dev ETH01 weight 1 realm 102
18:46:33    Default Route has been changed: nexthop dev ppp0 weight 6 realm 101 nexthop dev ETH01 weight 1 realm 102
18:46:36    Default Route has been changed: nexthop dev ppp0 weight 6 realm 101 nexthop dev ETH01 weight 1 realm 102
18:47:32    message repeated 3 times
18:47:36    message repeated 4 times
18:48:34    Default Route has been changed: nexthop dev ppp0 weight 6 realm 101 nexthop dev ETH01 weight 1 realm 102
18:49:33    Default Route has been changed: nexthop dev ppp0 weight 6 realm 101 nexthop dev ETH01 weight 1 realm 102
18:50:35    message repeated 3 times
18:50:36    Default Route has been changed: nexthop dev ppp0 weight 6 realm 101 nexthop dev ETH01 weight 1 realm 102
18:51:19    Default Route has been changed: nexthop dev ppp0 weight 6 realm 101 nexthop dev ETH01 weight 1 realm 102
18:51:36    message repeated 3 times
18:52:32    Default Route has been changed: nexthop dev ppp0 weight 6 realm 101 nexthop dev ETH01 weight 1 realm 102
18:52:34    Default Route has been changed: nexthop dev ppp0 weight 6 realm 101 nexthop dev ETH01 weight 1 realm 102
18:53:34    Default Route has been changed: nexthop dev ppp0 weight 6 realm 101 nexthop dev ETH01 weight 1 realm 102
18:54:33    Default Route has been changed: nexthop dev ppp0 weight 6 realm 101 nexthop dev ETH01 weight 1 realm 102
18:55:32    Default Route has been changed: nexthop dev ppp0 weight 6 realm 101 nexthop dev ETH01 weight 1 realm 102
18:57:36    Default Route has been changed: nexthop dev ppp0 weight 6 realm 101 nexthop dev ETH01 weight 1 realm 102
19:01:42    Default Route has been changed: nexthop dev ETH01 weight 1 realm 102
19:01:48    No link detected with the gateway (Windstream)
19:01:48    FAULT: Windstream (Interface: ppp0) [Last Uptime: 46m 53s]
22:44:26    Failover monitor has started
22:44:28    Default Route has been changed: nexthop dev ppp0 weight 6 realm 101 nexthop dev ETH01 weight 1 realm 102
22:44:29    message repeated 3 times
22:44:30    Failover monitor has started
22:44:30    Pings to 74.125.227.35 failed (1/3 required, 0/3 achieved) on gateway (Windstream)
22:44:30    Pings to 74.125.227.41 failed (1/3 required, 0/3 achieved) on gateway (Windstream)
22:44:30    Pings to 74.125.227.38 failed (1/3 required, 0/3 achieved) on gateway (Windstream)
22:44:30    FAULT: Windstream (Interface: ppp0) [Last Uptime: 0s]
22:44:31    Default Route has been changed: nexthop dev ETH01 weight 1 realm 102
22:44:33    Restarting ppp0 (Windstream) PPPoE/3G connection
22:47:14    Failover monitor has started
22:47:39    Default Route has been changed: nexthop dev ppp0 weight 6 realm 101 nexthop dev ETH01 weight 1 realm 102
22:47:39    message repeated 3 times
22:47:41    Failover monitor has started


I'm a bit puzzled as to what might be going on.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    www.zeroshell.org Forum Index -> ZeroShell All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group