Skonfigurowalem sobie łącze zapasowe na usb wykorzystując modem huwawei e160 i myslalem ze wszystko gra... do dzisaj kiedy siadło łącze podstawowe i chcialem wykorzystać zapas.
Już pomijając fakt ze odpalaja się 2 demony pppd (to akurat mozna wyłączyć z palca) co jakiś czas 30s - 2 min zrywane jest połączenie i wszystko łączy się od nowa. Taka pętla trwa w nieskończoność. Poniżej fragment logów:
May 14 19:08:14 Router daemon.info dnsmasq[1210]: using nameserver 213.158.199.1#53
May 14 19:08:14 Router daemon.info dnsmasq[1210]: using local addresses only for domain lan
May 14 19:08:15 Router user.notice root: starting ntpclient
May 14 19:08:22 Router daemon.notice pppd[3839]: Device ttyUSB0 is locked by pid 7609
May 14 19:08:30 Router daemon.info pppd[7609]: No response to 5 echo-requests
May 14 19:08:30 Router daemon.notice pppd[7609]: Serial link appears to be disconnected.
May 14 19:08:30 Router daemon.info pppd[7609]: Connect time 0.3 minutes.
May 14 19:08:30 Router daemon.info pppd[7609]: Sent 152 bytes, received 152 bytes.
May 14 19:08:31 Router user.notice root: stopping ntpclient
May 14 19:08:32 Router daemon.info pppd[7609]: Hangup (SIGHUP)
May 14 19:08:32 Router daemon.notice pppd[7609]: Modem hangup
May 14 19:08:32 Router daemon.notice pppd[7609]: Connection terminated.
May 14 19:08:53 Router local2.info chat[12901]: abort on (BUSY)
May 14 19:08:53 Router local2.info chat[12901]: abort on (NO CARRIER)
May 14 19:08:53 Router local2.info chat[12901]: abort on (ERROR)
May 14 19:08:53 Router local2.info chat[12901]: report (CONNECT)
May 14 19:08:53 Router local2.info chat[12901]: timeout set to 10 seconds
May 14 19:08:53 Router local2.info chat[12901]: send (AT&F^M)
May 14 19:08:53 Router local2.info chat[12901]: expect (OK)
May 14 19:08:53 Router local2.info chat[12901]: ~^?}#@!}*}0} },} q#4Fo 8HQ~^M
May 14 19:08:53 Router local2.info chat[12901]: NO CARRIER
May 14 19:08:53 Router local2.info chat[12901]: -- failed
May 14 19:08:53 Router local2.info chat[12901]: Failed (NO CARRIER)
May 14 19:08:53 Router daemon.err pppd[3839]: Connect script failed
May 14 19:09:04 Router local2.info chat[12903]: abort on (BUSY)
May 14 19:09:04 Router local2.info chat[12903]: abort on (NO CARRIER)
May 14 19:09:04 Router local2.info chat[12903]: abort on (ERROR)
May 14 19:09:04 Router local2.info chat[12903]: report (CONNECT)
May 14 19:09:04 Router local2.info chat[12903]: timeout set to 10 seconds
May 14 19:09:04 Router local2.info chat[12903]: send (AT&F^M)
May 14 19:09:04 Router local2.info chat[12903]: expect (OK)
May 14 19:09:04 Router local2.info chat[12903]: AT&F^M^M
May 14 19:09:04 Router local2.info chat[12903]: OK
May 14 19:09:04 Router local2.info chat[12903]: -- got it
May 14 19:09:04 Router local2.info chat[12903]: send (ATE1^M)
May 14 19:09:05 Router local2.info chat[12903]: expect (OK)
May 14 19:09:05 Router local2.info chat[12903]: ^M
May 14 19:09:05 Router local2.info chat[12903]: ATE1^M^M
May 14 19:09:05 Router local2.info chat[12903]: OK
May 14 19:09:05 Router local2.info chat[12903]: -- got it
May 14 19:09:05 Router local2.info chat[12903]: send (AT+CGDCONT=1,"IP","erainternet"^M)
May 14 19:09:05 Router local2.info chat[12903]: timeout set to 30 seconds
May 14 19:09:05 Router local2.info chat[12903]: expect (OK)
May 14 19:09:05 Router local2.info chat[12903]: ^M
May 14 19:09:05 Router local2.info chat[12903]: AT+CGDCONT=1,"IP","erainternet"^M^M
May 14 19:09:05 Router local2.info chat[12903]: OK
May 14 19:09:05 Router local2.info chat[12903]: -- got it
May 14 19:09:05 Router local2.info chat[12903]: send (ATD*99***1#^M)
May 14 19:09:05 Router local2.info chat[12903]: expect (CONNECT)
May 14 19:09:05 Router local2.info chat[12903]: ^M
May 14 19:09:05 Router local2.info chat[12903]: ATD*99***1#^M^M
May 14 19:09:05 Router local2.info chat[12903]: CONNECT
May 14 19:09:05 Router local2.info chat[12903]: -- got it
May 14 19:09:05 Router local2.info chat[12903]: send ( ^M)
May 14 19:09:05 Router daemon.info pppd[7609]: Serial connection established.
May 14 19:09:05 Router daemon.info pppd[7609]: Using interface ppp1
May 14 19:09:05 Router daemon.notice pppd[7609]: Connect: ppp1 <--> /dev/ttyUSB0
May 14 19:09:06 Router daemon.info pppd[7609]: CHAP authentication succeeded
May 14 19:09:06 Router daemon.notice pppd[7609]: CHAP authentication succeeded
May 14 19:09:10 Router daemon.warn pppd[7609]: Could not determine remote IP address: defaulting to 10.64.64.65
May 14 19:09:10 Router daemon.notice pppd[7609]: local IP address 10.115.126.22
May 14 19:09:10 Router daemon.notice pppd[7609]: remote IP address 10.64.64.65
May 14 19:09:10 Router daemon.notice pppd[7609]: primary DNS address 213.158.199.1
May 14 19:09:10 Router daemon.notice pppd[7609]: secondary DNS address 213.158.199.5
May 14 19:09:10 Router daemon.info dnsmasq[1210]: reading /tmp/resolv.conf.auto
May 14 19:09:10 Router daemon.info dnsmasq[1210]: using nameserver 213.158.199.5#53
May 14 19:09:10 Router daemon.info dnsmasq[1210]: using nameserver 213.158.199.1#53
May 14 19:09:10 Router daemon.info dnsmasq[1210]: using local addresses only for domain lan
May 14 19:09:11 Router user.notice root: starting ntpclient
May 14 19:09:24 Router daemon.notice pppd[3839]: Device ttyUSB0 is locked by pid 7609
May 14 19:09:54 Router daemon.notice pppd[3839]: Device ttyUSB0 is locked by pid 7609
May 14 19:10:24 Router daemon.notice pppd[3839]: Device ttyUSB0 is locked by pid 7609
May 14 19:10:54 Router daemon.notice pppd[3839]: Device ttyUSB0 is locked by pid 7609
May 14 19:10:58 Router daemon.info pppd[7609]: No response to 5 echo-requests
May 14 19:10:58 Router daemon.notice pppd[7609]: Serial link appears to be disconnected.
May 14 19:10:58 Router daemon.info pppd[7609]: Connect time 1.8 minutes.
May 14 19:10:58 Router daemon.info pppd[7609]: Sent 44599 bytes, received 198546 bytes.
May 14 19:10:59 Router user.notice root: stopping ntpclient
May 14 19:11:00 Router daemon.info pppd[7609]: Hangup (SIGHUP)
May 14 19:11:00 Router daemon.notice pppd[7609]: Modem hangup
May 14 19:11:00 Router daemon.notice pppd[7609]: Connection terminated.
Nie wiem dlaczego to twierdzi ze nie ma odpowiedzi na 5 echo-requests bo w trakcie połączenia net jesti wszystko teoretycznie dziala.
Czy jest jakaś prosta i szybka metoda aby poprostu wyłączyć to sprawdzanie echa? Za jakiś czas i tak będe migrował do nowszej wersji i zrobie configa od nowa więc narazie chce zeby dzialalo, byle jak ale dzialalo...
aha i obecnie jade na trunku r20124 więc troche podstarzały ;)
Edytowany przez wol2 dnia 14-05-2010 21:47
|