Nowe posty

Autor Wątek: iplus zrywa połączenie ....  (Przeczytany 330 razy)

wojtass05

  • Gość
iplus zrywa połączenie ....
« dnia: 2007-02-12, 00:24:31 »
Witam,
mam modem option globetrotter edge i według przepisów znalezionych w internecie zainstalowalem go(ndiswrapper) i utworzylem nastepujace skrypty:
/etc/ppp/peers/iplus

noauth
connect "/usr/sbin/chat -v -f /etc/ppp/iplus-connect"
disconnect "/usr/sbin/chat -v -f /etc/ppp/iplus-disconnect"
debug
/dev/ttyS2
115200
defaultroute
crtscts
lock
local
nodetach
usepeerdns
lcp-echo-failure 4
lcp-echo-interval 65535

/etc/ppp/iplus-connect

TIMEOUT 600
ABORT 'BUSY'
ABORT 'NO ANSWER'
ABORT 'ERROR'
SAY 'Starting GPRS connect scriptn'

"" 'AT+CFUN=1,1'
"" 'AT+CPIN=7050'

OK 'ATE1dddddddddddddddddddddddddddddd'

SAY 'Setting APNn'
OK 'AT+CGDCONT=1,"IP","www.plusgsm.pl"'

ABORT 'NO CARRIER'
SAY 'Dialing...n'
OK 'ATD*99***1#'

CONNECT ''

/etc/ppp/iplus-disconnect

"" "K"
"" "+++ATH0"
SAY "GPRS Disconnected."

modem sie łaczy i mam internet(co prawda tylko gprs i moze wiecie jak to zmienic na edge) ale trwa to jakies 10 min i sie rozlacza
to moje logi z tego procesu

Feb 11 23:24:05 wojtas-laptop pppd[5178]: pppd 2.4.4 started by wojtas, uid 1000
Feb 11 23:24:05 wojtas-laptop chat[5180]: timeout set to 600 seconds
Feb 11 23:24:05 wojtas-laptop chat[5180]: abort on (BUSY)
Feb 11 23:24:05 wojtas-laptop chat[5180]: abort on (NO ANSWER)
Feb 11 23:24:05 wojtas-laptop chat[5180]: abort on (ERROR)
Feb 11 23:24:05 wojtas-laptop chat[5180]: send (AT+CFUN=1,1^M)
Feb 11 23:24:05 wojtas-laptop chat[5180]: send (AT+CPIN=7050^M)
Feb 11 23:24:05 wojtas-laptop chat[5180]: expect (OK)
Feb 11 23:24:05 wojtas-laptop chat[5180]: MRDY: 1^M
Feb 11 23:24:05 wojtas-laptop chat[5180]: AT+CFUN=1,1^M^M
Feb 11 23:24:05 wojtas-laptop chat[5180]: OK
Feb 11 23:24:05 wojtas-laptop chat[5180]:  -- got it
Feb 11 23:24:05 wojtas-laptop chat[5180]: send (ATE1dddddddddddddddddddddddddddddd^M)
Feb 11 23:24:35 wojtas-laptop chat[5180]: expect (OK)
Feb 11 23:24:35 wojtas-laptop chat[5180]: ^M
Feb 11 23:24:35 wojtas-laptop chat[5180]: AT+CPIN=7050^M^M
Feb 11 23:24:35 wojtas-laptop chat[5180]: *MRDY: 4^M
Feb 11 23:24:35 wojtas-laptop chat[5180]: ATE1^M
Feb 11 23:24:35 wojtas-laptop chat[5180]: OK
Feb 11 23:24:35 wojtas-laptop chat[5180]:  -- got it
Feb 11 23:24:35 wojtas-laptop chat[5180]: send (AT+CGDCONT=1,"IP","www.plusgsm.pl"^M)
Feb 11 23:24:36 wojtas-laptop chat[5180]: abort on (NO CARRIER)
Feb 11 23:24:36 wojtas-laptop chat[5180]: expect (OK)
Feb 11 23:24:36 wojtas-laptop chat[5180]: ^M
Feb 11 23:24:36 wojtas-laptop chat[5180]: ^M
Feb 11 23:24:36 wojtas-laptop chat[5180]: *MTZ: 1, "F054E59FF054E59FF054E59FF054E59FF054E1A00000E59FF050E59FF050BABEFACE00
Feb 11 23:24:36 wojtas-laptop chat[5180]: 00000000000000000000000000000000000000"^M
Feb 11 23:24:36 wojtas-laptop chat[5180]: ^M
Feb 11 23:24:36 wojtas-laptop chat[5180]: *MTZ: 2, "02/11/2007, 23:24:29+04", 0^M
Feb 11 23:24:36 wojtas-laptop chat[5180]: ^M
Feb 11 23:24:36 wojtas-laptop chat[5180]: *MTSMENU: "Plus Mega", 0, 10
Feb 11 23:24:36 wojtas-laptop chat[5180]: ^M1:"Informacje"
Feb 11 23:24:36 wojtas-laptop chat[5180]: ^M2:"Gry SMS"
Feb 11 23:24:36 wojtas-laptop chat[5180]: ^M3:"Rozrywka"
Feb 11 23:24:36 wojtas-laptop chat[5180]: ^M4:"Pilot Plus"
Feb 11 23:24:36 wojtas-laptop chat[5180]: ^M5:"Gdzie jestes"
Feb 11 23:24:36 wojtas-laptop chat[5180]: ^M6:"PlusNet"
Feb 11 23:24:36 wojtas-laptop chat[5180]: ^M7:"Wyslij e-mail"
Feb 11 23:24:36 wojtas-laptop chat[5180]: ^M8:"Uzytkowe"
Feb 11 23:24:36 wojtas-laptop chat[5180]: ^M9:"Chat Plus"
Feb 11 23:24:36 wojtas-laptop chat[5180]: ^M10:"Program 5 Plus"
Feb 11 23:24:36 wojtas-laptop chat[5180]: ^M^M
Feb 11 23:24:36 wojtas-laptop chat[5180]: ^M^M
Feb 11 23:24:36 wojtas-laptop chat[5180]: OK
Feb 11 23:24:36 wojtas-laptop chat[5180]:  -- got it
Feb 11 23:24:36 wojtas-laptop chat[5180]: send (ATD*99***1#^M)
Feb 11 23:24:36 wojtas-laptop chat[5180]: expect (CONNECT)
Feb 11 23:24:36 wojtas-laptop chat[5180]: ^M
Feb 11 23:24:36 wojtas-laptop chat[5180]: AT+CGDCONT=1,"IP","www.plusgsm.pl"^M^M
Feb 11 23:24:36 wojtas-laptop chat[5180]: OK^M
Feb 11 23:24:36 wojtas-laptop chat[5180]: ATD*99***1#^M^M
Feb 11 23:24:36 wojtas-laptop chat[5180]: CONNECT
Feb 11 23:24:36 wojtas-laptop chat[5180]:  -- got it
Feb 11 23:24:36 wojtas-laptop chat[5180]: send (^M)
Feb 11 23:24:36 wojtas-laptop pppd[5178]: Serial connection established.
Feb 11 23:24:36 wojtas-laptop pppd[5178]: using channel 2
Feb 11 23:24:36 wojtas-laptop pppd[5178]: Using interface ppp0
Feb 11 23:24:36 wojtas-laptop pppd[5178]: Connect: ppp0 <--> /dev/ttyS2
Feb 11 23:24:36 wojtas-laptop pppd[5178]: rcvd [LCP ConfReq id=0x3b ]
Feb 11 23:24:36 wojtas-laptop pppd[5178]: sent [LCP ConfReq id=0x1 ]
Feb 11 23:24:36 wojtas-laptop pppd[5178]: sent [LCP ConfAck id=0x3b ]
Feb 11 23:24:36 wojtas-laptop pppd[5178]: rcvd [LCP ConfAck id=0x1 ]
Feb 11 23:24:36 wojtas-laptop pppd[5178]: sent [LCP EchoReq id=0x0 magic=0xd5ac437c]
Feb 11 23:24:36 wojtas-laptop pppd[5178]: sent [PAP AuthReq id=0x1 user="wojtas-laptop" password=]
Feb 11 23:24:36 wojtas-laptop pppd[5178]: rcvd [LCP EchoRep id=0x0 magic=0xd5ac437c]
Feb 11 23:24:36 wojtas-laptop pppd[5178]: appear to have received our own echo-reply!
Feb 11 23:24:36 wojtas-laptop pppd[5178]: rcvd [PAP AuthAck id=0x1 "PAP access OK"]
Feb 11 23:24:36 wojtas-laptop pppd[5178]: Remote message: PAP access OK
Feb 11 23:24:36 wojtas-laptop pppd[5178]: PAP authentication succeeded
Feb 11 23:24:36 wojtas-laptop pppd[5178]: sent [CCP ConfReq id=0x1 ]
Feb 11 23:24:36 wojtas-laptop pppd[5178]: sent [IPCP ConfReq id=0x1 ]
Feb 11 23:24:37 wojtas-laptop pppd[5178]: rcvd [IPCP ConfReq id=0x3b ]
Feb 11 23:24:37 wojtas-laptop pppd[5178]: sent [IPCP ConfAck id=0x3b ]
Feb 11 23:24:37 wojtas-laptop pppd[5178]: rcvd [LCP ProtRej id=0x3c 80 fd 01 01 00 0f 1a 04 78 00 18 04 78 00 15 03 2f]
Feb 11 23:24:37 wojtas-laptop pppd[5178]: Protocol-Reject for 'Compression Control Protocol' (0x80fd) received
Feb 11 23:24:37 wojtas-laptop pppd[5178]: rcvd [IPCP ConfNak id=0x1 ]
Feb 11 23:24:37 wojtas-laptop pppd[5178]: sent [IPCP ConfReq id=0x2 ]
Feb 11 23:24:37 wojtas-laptop pppd[5178]: rcvd [IPCP ConfAck id=0x2 ]
Feb 11 23:24:37 wojtas-laptop pppd[5178]: Cannot determine ethernet address for proxy ARP
Feb 11 23:24:37 wojtas-laptop pppd[5178]: local  IP address 172.24.173.111
Feb 11 23:24:37 wojtas-laptop pppd[5178]: remote IP address 172.24.173.0
Feb 11 23:24:37 wojtas-laptop pppd[5178]: primary   DNS address 212.2.96.51
Feb 11 23:24:37 wojtas-laptop pppd[5178]: secondary DNS address 212.2.96.52
Feb 11 23:24:37 wojtas-laptop pppd[5178]: Script /etc/ppp/ip-up started (pid 5195)
Feb 11 23:24:37 wojtas-laptop pppd[5178]: Script /etc/ppp/ip-up finished (pid 5195), status = 0x0
Feb 11 23:32:34 wojtas-laptop pppd[5178]: Terminating on signal 15
Feb 11 23:32:34 wojtas-laptop pppd[5178]: Connect time 8.0 minutes.
Feb 11 23:32:34 wojtas-laptop pppd[5178]: Sent 64849 bytes, received 361811 bytes.
Feb 11 23:32:34 wojtas-laptop pppd[5178]: Script /etc/ppp/ip-down started (pid 5389)
Feb 11 23:32:34 wojtas-laptop pppd[5178]: sent [LCP TermReq id=0x2 "User request"]
Feb 11 23:32:34 wojtas-laptop pppd[5178]: Script /etc/ppp/ip-down finished (pid 5389), status = 0x0
Feb 11 23:32:37 wojtas-laptop pppd[5178]: sent [LCP TermReq id=0x3 "User request"]
Feb 11 23:32:40 wojtas-laptop pppd[5178]: Connection terminated.

Acha jak probuje sie polączyc jeszcze raz to mam:

Feb 11 23:33:30 wojtas-laptop pppd[5424]: Device ttyS2 is locked by pid 5178

Moze jeszcze jak wpisuje pppd debug to mam :
pppd: The remote system is required to authenticate itself
pppd: but I couldn't find any suitable secret (password) for it to use to do so.