Temat: neostrada pppoe rozlaczanie przed uplywem 24h
Witam
Mam pewien problem z rozlaczaniem sie neostrady 20 Mbit/s przed uplywem 24h. Do podlaczenia wykorzystuje urzadzenie Linksys WAG54g2 (oprogramowanie oryginalne - ostatnia wersja), ktore skonfigurowalem w trybie bridge. Do Linksysa podlaczylem 1043ND z openwrt backfire (ostatnia aktualizacja), ktory laczy sie poprzez pppoe. Problem polega na tym, ze po uplywie czasu mniejszego niz 24h polaczenie jest rozlaczane. Czasami jest to 5 h czasami 20h, raz udalo sie dokladnie 24 h wytrzymac. Ponizej zamieszczam logi z 1043ND oraz pliki konfiguracyjne:
logread - rozlaczenie po 9h:
May 17 10:09:42 centrum daemon.debug pppd[505]: rcvd [LCP TermReq id=0x5a]
May 17 10:09:42 centrum daemon.info pppd[505]: LCP terminated by peer
May 17 10:09:42 centrum daemon.info pppd[505]: Connect time 545.9 minutes.
May 17 10:09:42 centrum daemon.info pppd[505]: Sent 1741178 bytes, received 2544244 bytes.
May 17 10:09:42 centrum daemon.debug pppd[505]: Script /etc/ppp/ip-down started (pid 30113)
May 17 10:09:42 centrum daemon.debug pppd[505]: sent [LCP TermAck id=0x5a]
May 17 10:09:42 centrum user.info firewall: removing wan (pppoe-wan) from zone wan
May 17 10:09:42 centrum user.notice root: stopping ntpclient
May 17 10:09:42 centrum daemon.debug pppd[505]: Script /etc/ppp/ip-down finished (pid 30113), status = 0x1
May 17 10:09:45 centrum daemon.notice pppd[505]: Connection terminated.
May 17 10:09:45 centrum daemon.notice pppd[505]: Modem hanguplogread - rozlaczenie po 24h - ok:
May 17 01:03:15 centrum daemon.debug pppd[505]: rcvd [LCP TermReq id=0x37]
May 17 01:03:15 centrum daemon.info pppd[505]: LCP terminated by peer
May 17 01:03:15 centrum daemon.info pppd[505]: Connect time 1440.1 minutes.
May 17 01:03:15 centrum daemon.info pppd[505]: Sent 378344459 bytes, received 1005251479 bytes.
May 17 01:03:15 centrum daemon.debug pppd[505]: Script /etc/ppp/ip-down started (pid 437)
May 17 01:03:15 centrum daemon.debug pppd[505]: sent [LCP TermAck id=0x37]
May 17 01:03:15 centrum user.info firewall: removing wan (pppoe-wan) from zone wan
May 17 01:03:16 centrum user.notice root: stopping ntpclient
May 17 01:03:16 centrum daemon.debug pppd[505]: Script /etc/ppp/ip-down finished (pid 437), status = 0x1
May 17 01:03:18 centrum daemon.notice pppd[505]: Connection terminated.
May 17 01:03:18 centrum daemon.notice pppd[505]: Modem hangup/etc/config/network
config 'interface' 'loopback'
option 'ifname' 'lo'
option 'proto' 'static'
option 'ipaddr' '127.0.0.1'
option 'netmask' '255.0.0.0'
config 'interface' 'lan'
option 'ifname' 'eth0.1'
option 'type' 'bridge'
option 'proto' 'static'
option 'netmask' '255.255.255.0'
option 'ipaddr' '192.168.1.1'
config 'interface' 'wan'
option 'ifname' 'eth0.2'
option 'proto' 'pppoe'
option 'username' 'xxxxxxx@neostrada.pl'
option 'password' 'xxxxxxxxxx'
option 'keepalive' '30'
option 'pppd_options' 'debug'
config 'switch'
option 'name' 'rtl8366rb'
option 'reset' '1'
option 'enable_vlan' '1'
config 'switch_vlan'
option 'device' 'rtl8366rb'
option 'vlan' '1'
option 'ports' '1 2 3 4 5t'
config 'switch_vlan'
option 'device' 'rtl8366rb'
option 'vlan' '2'
option 'ports' '0 5t'paramtery z jakimi wywolywany jest pppd (znalezione w /proc):
pppd plugin rp-pppoe.so mtu 1492 mru 1492 nic-eth0.2 lcp-echo-interval 5 lcp-echo-failure 30 persist usepeerdns defaultroute replacedefaultroute user xxxxxx@neostrada.pl password xxxxxxxx ipparam wanifname pppoe-wan debug nodetach/etc/ppp/options - czesc opcji jest zastepowana przez te przekazywane przez skrypt uruchominiowy (code wyzej)
#debug
logfile /dev/null
noaccomp
nopcomp
nocrtscts
lock
maxfail 0
lcp-echo-failure 5
lcp-echo-interval 1Czy ktos spotkal sie z podobnym problemem? W kazdym z przypadkow wydaje sie, ze komunikat o rozlaczeniu router dostaje z zewnatrz (z urzadzenia TP SA) - "rcvd [LCP TermReq id=0x37]". Czy wam rowniez neostrada rozlacza sie czesciej niz 24h. Jest jakis sposob aby przyspieszyc ponowne polaczenie. W tej chwili pppd laczy sie ponownie po ok. 30s od poprzedniego rozlaczenia. Jeszcze jedno pytanie, czy jest jakis sposob aby polaczyc sie z www modemu podlaczonego w trybie bridge z internetu, nie z lan (znalazlem opis jak to zrobic z lan)?
Pozdro
Ostatnia rewelacja - rozlaczenie po 30 probach wyslania echo-requests
May 17 11:40:59 centrum daemon.info pppd[505]: No response to 30 echo-requests
May 17 11:40:59 centrum daemon.notice pppd[505]: Serial link appears to be disconnected.
May 17 11:40:59 centrum daemon.info pppd[505]: Connect time 90.7 minutes.
May 17 11:40:59 centrum daemon.info pppd[505]: Sent 103470 bytes, received 35677 bytes.
May 17 11:40:59 centrum daemon.debug pppd[505]: Script /etc/ppp/ip-down started (pid 31054)
May 17 11:40:59 centrum daemon.debug pppd[505]: sent [LCP TermReq id=0x4 "Peer not responding"]
May 17 11:40:59 centrum user.info firewall: removing wan (pppoe-wan) from zone wan
May 17 11:40:59 centrum user.notice root: stopping ntpclient
May 17 11:40:59 centrum daemon.debug pppd[505]: Script /etc/ppp/ip-down finished (pid 31054), status = 0x1
May 17 11:41:02 centrum daemon.debug pppd[505]: sent [LCP TermReq id=0x5 "Peer not responding"]
May 17 11:41:05 centrum daemon.notice pppd[505]: Connection terminated.