1

Temat: Rozłączanie połączenia PPPOE

Od jakiegoś czasu mam problem ze zrywanym połączeniem PPPOE. Internet mam z dialogu, router wdr4300 z najnowszym gargoyle na pokładzie.

Poniżej załączam log

Oct 15 20:38:50 Gargoyle daemon.info pppd[6527]: No response to 3 echo-requests
Oct 15 20:38:50 Gargoyle daemon.notice pppd[6527]: Serial link appears to be disconnected.
Oct 15 20:38:50 Gargoyle daemon.info pppd[6527]: Connect time 18.4 minutes.
Oct 15 20:38:50 Gargoyle daemon.info pppd[6527]: Sent 3007296 bytes, received 4526888 bytes.
Oct 15 20:38:50 Gargoyle daemon.notice netifd: Interface 'wan' has lost the connection
Oct 15 20:38:56 Gargoyle daemon.notice pppd[6527]: Connection terminated.
Oct 15 20:38:56 Gargoyle daemon.notice pppd[6527]: Modem hangup
Oct 15 20:39:08 Gargoyle daemon.info dnsmasq[7004]: reading /tmp/resolv.conf.auto
Oct 15 20:39:08 Gargoyle daemon.warn dnsmasq[7004]: ignoring nameserver 192.168.0.1 - local interface
Oct 15 20:39:08 Gargoyle daemon.info dnsmasq[7004]: using local addresses only for domain lan
Oct 15 20:39:26 Gargoyle daemon.info pppd[6527]: PPP session is 28246
Oct 15 20:39:26 Gargoyle daemon.warn pppd[6527]: Connected to 00:30:88:20:74:fc via interface eth0.2
Oct 15 20:39:26 Gargoyle daemon.info pppd[6527]: Using interface pppoe-wan
Oct 15 20:39:26 Gargoyle daemon.notice pppd[6527]: Connect: pppoe-wan <--> eth0.2
Oct 15 20:39:27 Gargoyle daemon.info pppd[6527]: CHAP authentication succeeded: CHAP authentication success, unit 43949
Oct 15 20:39:27 Gargoyle daemon.notice pppd[6527]: CHAP authentication succeeded
Oct 15 20:39:27 Gargoyle daemon.notice pppd[6527]: peer from calling number 00:30:88:20:74:FC authorized
Oct 15 20:39:27 Gargoyle daemon.notice pppd[6527]: local  IP address 78.10.107.94
Oct 15 20:39:27 Gargoyle daemon.notice pppd[6527]: remote IP address 62.87.220.4
Oct 15 20:39:27 Gargoyle daemon.notice pppd[6527]: primary   DNS address 87.204.204.204
Oct 15 20:39:27 Gargoyle daemon.notice pppd[6527]: secondary DNS address 62.233.233.233
Oct 15 20:39:27 Gargoyle daemon.notice netifd: Interface 'wan' is now up
Oct 15 20:39:27 Gargoyle user.notice firewall: Reloading firewall due to ifup of wan (pppoe-wan)
Oct 15 20:39:29 Gargoyle daemon.info dnsmasq[7004]: reading /tmp/resolv.conf.auto
Oct 15 20:39:29 Gargoyle daemon.info dnsmasq[7004]: using nameserver 62.233.233.233#53
Oct 15 20:39:29 Gargoyle daemon.info dnsmasq[7004]: using nameserver 87.204.204.204#53
Oct 15 20:39:29 Gargoyle daemon.warn dnsmasq[7004]: ignoring nameserver 192.168.0.1 - local interface
Oct 15 20:39:29 Gargoyle daemon.info dnsmasq[7004]: using local addresses only for domain lan
Oct 15 20:40:12 Gargoyle daemon.info pppd[6527]: No response to 3 echo-requests
Oct 15 20:40:12 Gargoyle daemon.notice pppd[6527]: Serial link appears to be disconnected.
Oct 15 20:40:12 Gargoyle daemon.info pppd[6527]: Connect time 0.8 minutes.
Oct 15 20:40:12 Gargoyle daemon.info pppd[6527]: Sent 13855 bytes, received 24819 bytes.
Oct 15 20:40:12 Gargoyle daemon.notice netifd: Interface 'wan' has lost the connection
Oct 15 20:40:14 Gargoyle daemon.info dnsmasq[7004]: reading /tmp/resolv.conf.auto
Oct 15 20:40:14 Gargoyle daemon.warn dnsmasq[7004]: ignoring nameserver 192.168.0.1 - local interface
Oct 15 20:40:14 Gargoyle daemon.info dnsmasq[7004]: using local addresses only for domain lan
Oct 15 20:40:19 Gargoyle daemon.notice pppd[6527]: Connection terminated.
Oct 15 20:40:19 Gargoyle daemon.notice pppd[6527]: Modem hangup
Oct 15 20:40:25 Gargoyle daemon.info hostapd: wlan0: STA 00:ee:bd:a8:72:9d WPA: group key handshake completed (WPA)
Oct 15 20:40:50 Gargoyle daemon.info pppd[6527]: PPP session is 25744
Oct 15 20:40:50 Gargoyle daemon.warn pppd[6527]: Connected to 00:30:88:19:c5:45 via interface eth0.2
Oct 15 20:40:50 Gargoyle daemon.info pppd[6527]: Using interface pppoe-wan
Oct 15 20:40:50 Gargoyle daemon.notice pppd[6527]: Connect: pppoe-wan <--> eth0.2
Oct 15 20:40:50 Gargoyle daemon.info pppd[6527]: CHAP authentication succeeded: CHAP authentication success, unit 21821
Oct 15 20:40:50 Gargoyle daemon.notice pppd[6527]: CHAP authentication succeeded
Oct 15 20:40:50 Gargoyle daemon.notice pppd[6527]: peer from calling number 00:30:88:19:C5:45 authorized
Oct 15 20:40:50 Gargoyle daemon.notice pppd[6527]: local  IP address 78.8.44.199
Oct 15 20:40:50 Gargoyle daemon.notice pppd[6527]: remote IP address 62.87.220.4
Oct 15 20:40:50 Gargoyle daemon.notice pppd[6527]: primary   DNS address 87.204.204.204
Oct 15 20:40:50 Gargoyle daemon.notice pppd[6527]: secondary DNS address 62.233.233.233
Oct 15 20:40:51 Gargoyle daemon.notice netifd: Interface 'wan' is now up
Oct 15 20:40:54 Gargoyle daemon.info dnsmasq[7004]: reading /tmp/resolv.conf.auto
Oct 15 20:40:54 Gargoyle daemon.info dnsmasq[7004]: using nameserver 62.233.233.233#53
Oct 15 20:40:54 Gargoyle daemon.info dnsmasq[7004]: using nameserver 87.204.204.204#53
Oct 15 20:40:54 Gargoyle daemon.warn dnsmasq[7004]: ignoring nameserver 192.168.0.1 - local interface
Oct 15 20:40:54 Gargoyle daemon.info dnsmasq[7004]: using local addresses only for domain lan

Wie ktoś może co jest nie tak?

2

Odp: Rozłączanie połączenia PPPOE

Jeżeli to tylko lcp echo to możesz to w /etc/ppp zwiększyć.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

3

Odp: Rozłączanie połączenia PPPOE

A teraz dwa pytania (tak, jestem zielony w tych kwestiach...)
1. Czy da się to zrobić z poziomu interfejsu webowego?
2. Domyślam się, że odpowiedź na pytanie 1. brzmi "nie", więc... Czy znajdę gdzieś do tego instrukcję krok po kroku?

4

Odp: Rozłączanie połączenia PPPOE

1. nie smile
2. /etc/ppp/options lcp-echo-failure i lcp-echo-interval zwiększ. Choć to oczywiście nie rozwiązanie problemu a panaceum i mydlenie oczu.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

5

Odp: Rozłączanie połączenia PPPOE

No dobra, zmieniłem wartości na takie:

lcp-echo-failure 20
lcp-echo-interval 3000


... i nadal rozłącza. Rzadziej, ale rozłącza, zdarza się też "zamulanie" internetu. Czy to wina po stronie routera? Podłączałem testowo komputer bezpośrednio pod modem i wszystko hulało:/

Poniżej log z dzisiaj. Ma ktoś jakiś pomysł na to co można z tym zrobić?


Oct 22 03:51:34 Gargoyle daemon.info pppd[13752]: No response to 3 echo-requests
Oct 22 03:51:34 Gargoyle daemon.notice pppd[13752]: Serial link appears to be disconnected.
Oct 22 03:51:34 Gargoyle daemon.info pppd[13752]: Connect time 54.4 minutes.
Oct 22 03:51:34 Gargoyle daemon.info pppd[13752]: Sent 43718 bytes, received 69321 bytes.
Oct 22 03:51:34 Gargoyle daemon.notice pppd[13752]: Connection terminated.
Oct 22 03:51:34 Gargoyle daemon.notice netifd: Interface 'wan' has lost the connection
Oct 22 03:52:04 Gargoyle daemon.info pppd[13752]: PPP session is 4192
Oct 22 03:52:04 Gargoyle daemon.warn pppd[13752]: Connected to 00:30:88:19:c5:45 via interface eth0.2
Oct 22 03:52:04 Gargoyle daemon.info pppd[13752]: Using interface pppoe-wan
Oct 22 03:52:04 Gargoyle daemon.notice pppd[13752]: Connect: pppoe-wan <--> eth0.2
Oct 22 03:52:04 Gargoyle daemon.info pppd[13752]: CHAP authentication succeeded: CHAP authentication success, unit 9022
Oct 22 03:52:04 Gargoyle daemon.notice pppd[13752]: CHAP authentication succeeded
Oct 22 03:52:04 Gargoyle daemon.notice pppd[13752]: peer from calling number 00:30:88:19:C5:45 authorized
Oct 22 03:52:04 Gargoyle daemon.notice pppd[13752]: local  IP address 62.87.248.175
Oct 22 03:52:04 Gargoyle daemon.notice pppd[13752]: remote IP address 62.87.220.4
Oct 22 03:52:04 Gargoyle daemon.notice pppd[13752]: primary   DNS address 87.204.204.204
Oct 22 03:52:04 Gargoyle daemon.notice pppd[13752]: secondary DNS address 62.233.233.233
Oct 22 03:52:04 Gargoyle daemon.info dnsmasq[1821]: reading /tmp/resolv.conf.auto
Oct 22 03:52:04 Gargoyle daemon.warn dnsmasq[1821]: ignoring nameserver 192.168.0.1 - local interface
Oct 22 03:52:04 Gargoyle daemon.info dnsmasq[1821]: using local addresses only for domain lan
Oct 22 03:52:05 Gargoyle daemon.notice netifd: Interface 'wan' is now up
Oct 22 03:52:05 Gargoyle user.notice firewall: Reloading firewall due to ifup of wan (pppoe-wan)
Oct 22 03:52:18 Gargoyle daemon.info dnsmasq[1821]: reading /tmp/resolv.conf.auto
Oct 22 03:52:18 Gargoyle daemon.info dnsmasq[1821]: using nameserver 62.233.233.233#53
Oct 22 03:52:18 Gargoyle daemon.info dnsmasq[1821]: using nameserver 87.204.204.204#53
Oct 22 03:52:18 Gargoyle daemon.warn dnsmasq[1821]: ignoring nameserver 192.168.0.1 - local interface
Oct 22 03:52:18 Gargoyle daemon.info dnsmasq[1821]: using local addresses only for domain lan
Oct 22 03:55:40 Gargoyle daemon.info hostapd: wlan0: STA 30:39:26:e4:fb:80 WPA: group key handshake completed (WPA)
Oct 22 04:05:40 Gargoyle daemon.info hostapd: wlan0: STA 30:39:26:e4:fb:80 WPA: group key handshake completed (WPA)
Oct 22 04:15:40 Gargoyle daemon.info hostapd: wlan0: STA 30:39:26:e4:fb:80 WPA: group key handshake completed (WPA)
Oct 22 04:25:39 Gargoyle daemon.info hostapd: wlan0: STA 30:39:26:e4:fb:80 WPA: group key handshake completed (WPA)
Oct 22 04:35:40 Gargoyle daemon.info hostapd: wlan0: STA 30:39:26:e4:fb:80 WPA: group key handshake completed (WPA)
Oct 22 04:45:39 Gargoyle daemon.info hostapd: wlan0: STA 30:39:26:e4:fb:80 WPA: group key handshake completed (WPA)
Oct 22 04:45:52 Gargoyle daemon.info dnsmasq-dhcp[1821]: DHCPREQUEST(br-lan) 192.168.0.236 30:39:26:e4:fb:80 
Oct 22 04:45:52 Gargoyle daemon.info dnsmasq-dhcp[1821]: DHCPACK(br-lan) 192.168.0.236 30:39:26:e4:fb:80 android-7b76da907d431263
Oct 22 04:55:40 Gargoyle daemon.info hostapd: wlan0: STA 30:39:26:e4:fb:80 WPA: group key handshake completed (WPA)
Oct 22 05:05:40 Gargoyle daemon.info hostapd: wlan0: STA 30:39:26:e4:fb:80 WPA: group key handshake completed (WPA)
Oct 22 05:15:40 Gargoyle daemon.info hostapd: wlan0: STA 30:39:26:e4:fb:80 WPA: group key handshake completed (WPA)
Oct 22 05:22:26 Gargoyle daemon.info pppd[13752]: No response to 3 echo-requests
Oct 22 05:22:26 Gargoyle daemon.notice pppd[13752]: Serial link appears to be disconnected.
Oct 22 05:22:26 Gargoyle daemon.info pppd[13752]: Connect time 90.4 minutes.
Oct 22 05:22:26 Gargoyle daemon.info pppd[13752]: Sent 66840 bytes, received 113242 bytes.
Oct 22 05:22:26 Gargoyle daemon.notice netifd: Interface 'wan' has lost the connection
Oct 22 05:22:32 Gargoyle daemon.notice pppd[13752]: Connection terminated.
Oct 22 05:22:32 Gargoyle daemon.notice pppd[13752]: Modem hangup
Oct 22 05:23:22 Gargoyle daemon.warn pppd[13752]: Timeout waiting for PADS packets
Oct 22 05:23:22 Gargoyle daemon.err pppd[13752]: Unable to complete PPPoE Discovery
Oct 22 05:23:22 Gargoyle daemon.info pppd[13752]: Exit.
Oct 22 05:23:22 Gargoyle daemon.notice netifd: Interface 'wan' is now down
Oct 22 05:23:22 Gargoyle daemon.info dnsmasq[1821]: reading /tmp/resolv.conf.auto
Oct 22 05:23:22 Gargoyle daemon.warn dnsmasq[1821]: ignoring nameserver 192.168.0.1 - local interface
Oct 22 05:23:22 Gargoyle daemon.info dnsmasq[1821]: using local addresses only for domain lan
Oct 22 05:23:22 Gargoyle daemon.info pppd[16597]: Plugin rp-pppoe.so loaded.
Oct 22 05:23:22 Gargoyle daemon.info pppd[16597]: RP-PPPoE plugin version 3.8p compiled against pppd 2.4.5
Oct 22 05:23:22 Gargoyle daemon.notice pppd[16597]: pppd 2.4.5 started by root, uid 0
Oct 22 05:23:37 Gargoyle daemon.warn pppd[16597]: Timeout waiting for PADS packets
Oct 22 05:23:37 Gargoyle daemon.err pppd[16597]: Unable to complete PPPoE Discovery
Oct 22 05:23:37 Gargoyle daemon.info pppd[16597]: Exit.
Oct 22 05:23:37 Gargoyle daemon.notice netifd: Interface 'wan' is now down
Oct 22 05:23:38 Gargoyle daemon.info pppd[16633]: Plugin rp-pppoe.so loaded.
Oct 22 05:23:38 Gargoyle daemon.info pppd[16633]: RP-PPPoE plugin version 3.8p compiled against pppd 2.4.5
Oct 22 05:23:38 Gargoyle daemon.notice pppd[16633]: pppd 2.4.5 started by root, uid 0
Oct 22 05:23:38 Gargoyle daemon.info pppd[16633]: PPP session is 13267
Oct 22 05:23:38 Gargoyle daemon.warn pppd[16633]: Connected to 00:30:88:20:74:fc via interface eth0.2
Oct 22 05:23:38 Gargoyle daemon.info pppd[16633]: Using interface pppoe-wan
Oct 22 05:23:38 Gargoyle daemon.notice pppd[16633]: Connect: pppoe-wan <--> eth0.2
Oct 22 05:23:38 Gargoyle daemon.info pppd[16633]: CHAP authentication succeeded: CHAP authentication success, unit 12330
Oct 22 05:23:38 Gargoyle daemon.notice pppd[16633]: CHAP authentication succeeded
Oct 22 05:23:38 Gargoyle daemon.notice pppd[16633]: peer from calling number 00:30:88:20:74:FC authorized
Oct 22 05:23:41 Gargoyle daemon.notice pppd[16633]: local  IP address 78.8.129.12
Oct 22 05:23:41 Gargoyle daemon.notice pppd[16633]: remote IP address 62.87.220.4
Oct 22 05:23:41 Gargoyle daemon.notice pppd[16633]: primary   DNS address 87.204.204.204
Oct 22 05:23:41 Gargoyle daemon.notice pppd[16633]: secondary DNS address 62.233.233.233
Oct 22 05:23:41 Gargoyle daemon.notice netifd: Interface 'wan' is now up
Oct 22 05:23:42 Gargoyle user.notice firewall: Reloading firewall due to ifup of wan (pppoe-wan)
Oct 22 05:23:55 Gargoyle daemon.info dnsmasq[1821]: reading /tmp/resolv.conf.auto
Oct 22 05:23:55 Gargoyle daemon.info dnsmasq[1821]: using nameserver 62.233.233.233#53
Oct 22 05:23:55 Gargoyle daemon.info dnsmasq[1821]: using nameserver 87.204.204.204#53
Oct 22 05:23:55 Gargoyle daemon.warn dnsmasq[1821]: ignoring nameserver 192.168.0.1 - local interface
Oct 22 05:23:55 Gargoyle daemon.info dnsmasq[1821]: using local addresses only for domain lan

6

Odp: Rozłączanie połączenia PPPOE

Na pewno zmieniłeś i zrestartowałeś? Bo nadal w logu masz że po 3 echo przestał odpowiadać. Nie ustawiłeś tego w konfigu na sztywno?

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

7

Odp: Rozłączanie połączenia PPPOE

Hmmm....

w interfejsie graficznym jest opcja "Liczba błędnych pingów przed ponownym połączeniem" i "Czas pomiędzy pingami (sek.)" - zmieniłem pierwsza wartość na 10, drugą na 8, zobaczymy czy to przyniesie jakiś efekt.

8

Odp: Rozłączanie połączenia PPPOE

Ja dosyć dawno temu z takim problemem walczyłem i w moim przypadku też pomogła dopiero zmiana tych ustawień.
Ja mam tak:
Liczba błędnych pingów przed ponownym połączeniem - 18
Czas pomiędzy pingami - 5.