GPRS prakticky
Zbynek Houska
zbynh at seznam.cz
Wed Oct 8 21:25:40 CEST 2003
Jeste jednou dobry vecer,
zkousel jsem znovu uvedeny skript, pac jsme zjistil, ze jsem zadal mooc
dlohej PIN...Posilam vypis a vypada to, ze to chvili fungovalo. Jsem
zvedav na diagnozu :-)
Zbynek
--
A Freudian slip is when you mean one thing and say your mother.
-------------- next part --------------
Script started on Wed Oct 8 21:09:52 2003
root at skippy# ppp ETNonstop
Working in interactive mode
Using interface: tun0
tun0: Command: default: set device /dev/cuaa0
tun0: Command: default: set speed 115200
tun0: Command: default: set dial ABORT BUSY ABORT NO\sCARRIER ABORT NO\sDIALTONE TIMEOUT 20 "" AT OK-AT-OK AT+CEER OK-AT+CPIN=2790-OK-AT-OK AT+CGDCONT=1,IP,\T OK \dATDT*99***1# CONNECT
tun0: Command: default: set hangup "" AT+CEER OK
tun0: Command: default: set timeout 60
tun0: Command: default: disable lqr
tun0: Command: default: set server 3000 ********
tun0: Phase: Listening at port 3000.
tun0: Command: ETNonstop: set phone internet
tun0: Command: ETNonstop: set authname USERNAME
tun0: Command: ETNonstop: set authkey ********
tun0: Command: ETNonstop: set ifaddr 0/0 192.168.254.254/0 255.255.255.0 160.218.1.1
tun0: Command: ETNonstop: nat enable yes
tun0: Command: ETNonstop: disable iface-alias
tun0: Command: ETNonstop: enable proxy
tun0: Command: ETNonstop: nat deny_incoming no
tun0: Command: ETNonstop: nat same_ports yes
tun0: Command: ETNonstop: nat use_sockets yes
tun0: Command: ETNonstop: add default HISADDR
tun0: Warning: Add route failed: 0.0.0.0/0 already exists
tun0: Command: ETNonstop: set filter dial 0 permit 0 0
tun0: Command: ETNonstop: set filter alive 0 permit 0/0 0/0
tun0: Command: ETNonstop: set accmap 0x000a0000
tun0: Command: ETNonstop: disable deflate pred1 vjcomp
tun0: Phase: PPP Started (interactive mode).
ppp ON skippy> set log local Phase Chat LCP IPCP CCP tun
tun0: Command: /dev/tty: set log local Phase Chat LCP IPCP CCP tun
ppp ON skippy> dial
tun0: Phase: bundle: Establish
tun0: Phase: deflink: closed -> opening
tun0: Phase: deflink: Connected!
tun0: Phase: deflink: opening -> dial
tun0: Chat: Phone: internet
tun0: Chat: deflink: Dial attempt 1 of 1
ppp ON skippy> tun0: Chat: Send: AT
tun0: Chat: Expect(20): OK
tun0: Chat: Received: AT
tun0: Chat: Received: OK
tun0: Chat: Send: AT+CEER
tun0: Chat: Expect(20): OK
tun0: Chat: Received: AT+CEER
tun0: Chat: Received: +CEER: 50,27,0
tun0: Chat: Received:
tun0: Chat: Received: OK
tun0: Chat: Send: AT+CGDCONT=1,IP,internet
tun0: Chat: Expect(20): OK
tun0: Chat: Received: AT+CGDCONT=1,IP,internet
tun0: Chat: Received: OK
tun0: Chat: Send: ATDT*99***1#
tun0: Chat: Expect(20): CONNECT
tun0: Chat: Received: ATDT*99***1#
tun0: Chat: Received: CONNECT
tun0: Phase: deflink: dial -> carrier
tun0: Phase: deflink: /dev/cuaa0: CD detected
tun0: Phase: deflink: carrier -> login
tun0: Phase: deflink: login -> lcp
tun0: LCP: FSM: Using "deflink" as a transport
tun0: LCP: deflink: State change Initial --> Closed
tun0: LCP: deflink: State change Closed --> Stopped
tun0: LCP: deflink: RecvConfigReq(3) state = Stopped
tun0: LCP: ACCMAP[6] 0x000a0000
tun0: LCP: PROTOCOMP[2]
tun0: LCP: ACFCOMP[2]
tun0: LCP: MAGICNUM[6] 0x5f6f8ffd
tun0: LCP: AUTHPROTO[5] 0xc223 (CHAP 0x05)
tun0: LCP: deflink: SendConfigReq(1) state = Stopped
tun0: LCP: ACFCOMP[2]
tun0: LCP: PROTOCOMP[2]
tun0: LCP: ACCMAP[6] 0x000a0000
tun0: LCP: MRU[4] 1500
tun0: LCP: MAGICNUM[6] 0xc1032fe2
tun0: LCP: deflink: SendConfigAck(3) state = Stopped
tun0: LCP: ACCMAP[6] 0x000a0000
tun0: LCP: PROTOCOMP[2]
tun0: LCP: ACFCOMP[2]
tun0: LCP: MAGICNUM[6] 0x5f6f8ffd
tun0: LCP: AUTHPROTO[5] 0xc223 (CHAP 0x05)
tun0: LCP: deflink: LayerStart
tun0: LCP: deflink: State change Stopped --> Ack-Sent
tun0: LCP: deflink: RecvConfigAck(1) state = Ack-Sent
tun0: LCP: ACFCOMP[2]
tun0: LCP: PROTOCOMP[2]
tun0: LCP: ACCMAP[6] 0x000a0000
tun0: LCP: MRU[4] 1500
tun0: LCP: MAGICNUM[6] 0xc1032fe2
tun0: LCP: deflink: State change Ack-Sent --> Opened
tun0: LCP: deflink: LayerUp
tun0: Phase: bundle: Authenticate
tun0: Phase: deflink: his = CHAP 0x05, mine = none
Ppp ON skippy> tun0: Phase: Chap Input: CHALLENGE (20 bytes)
tun0: Phase: Chap Output: RESPONSE (USERNAME)
tun0: Phase: Chap Input: SUCCESS
tun0: IPCP: Using trigger address 160.218.1.1
tun0: CCP: FSM: Using "deflink" as a transport
tun0: CCP: deflink: State change Initial --> Closed
tun0: CCP: deflink: LayerStart.
tun0: CCP: MPPE: Not usable without CHAP81
tun0: CCP: deflink: SendConfigReq(1) state = Closed
tun0: CCP: [EMPTY]
tun0: CCP: deflink: State change Closed --> Req-Sent
tun0: Phase: deflink: lcp -> open
tun0: Phase: bundle: Network
tun0: IPCP: FSM: Using "deflink" as a transport
tun0: IPCP: deflink: State change Initial --> Closed
tun0: IPCP: deflink: LayerStart.
tun0: IPCP: deflink: SendConfigReq(1) state = Closed
tun0: IPCP: IPADDR[6] 160.218.1.1
tun0: IPCP: deflink: State change Closed --> Req-Sent
PPp ON skippy> tun0: LCP: deflink: RecvProtocolRej(4) state = Opened
tun0: LCP: deflink: -- Protocol 0x80fd (Compression Control Protocol) was rejected!
tun0: CCP: deflink: State change Req-Sent --> Stopped
tun0: LCP: deflink: RecvTerminateReq(5) state = Opened
tun0: LCP: deflink: LayerDown
tun0: LCP: deflink: SendTerminateAck(5) state = Opened
tun0: LCP: deflink: State change Opened --> Stopping
tun0: CCP: deflink: State change Stopped --> Closed
tun0: CCP: deflink: State change Closed --> Initial
tun0: Phase: deflink: open -> lcp
tun0: IPCP: deflink: State change Req-Sent --> Starting
tun0: IPCP: deflink: LayerFinish.
tun0: IPCP: Connect time: 0 secs: 0 octets in, 0 octets out
tun0: IPCP: 0 packets in, 0 packets out
tun0: IPCP: total 0 bytes/sec, peak 0 bytes/sec on Wed Oct 8 21:10:29 2003
tun0: IPCP: deflink: State change Starting --> Initial
tun0: Phase: bundle: Terminate
ppp ON skippy> tun0: LCP: deflink: RecvTerminateReq(5) state = Stopping
tun0: LCP: deflink: SendTerminateAck(5) state = Stopping
tun0: LCP: deflink: LayerFinish
tun0: LCP: deflink: State change Stopping --> Stopped
tun0: LCP: deflink: State change Stopped --> Closed
tun0: LCP: deflink: State change Closed --> Initial
tun0: Phase: deflink: Disconnected!
tun0: Phase: deflink: lcp -> logout
tun0: Phase: deflink: logout -> hangup
tun0: Phase: deflink: Disconnected!
tun0: Phase: deflink: Connect time: 7 secs: 200 octets in, 202 octets out
tun0: Phase: deflink: 8 packets in, 7 packets out
tun0: Phase: total 57 bytes/sec, peak 80 bytes/sec on Wed Oct 8 21:10:32 2003
tun0: Phase: deflink: hangup -> closed
tun0: Phase: bundle: Dead
ppp ON skippy> q
root at skippy# exit
exit
Script done on Wed Oct 8 21:10:41 2003
More information about the Users-l
mailing list