I'm trying to connect to an ISP using ppp with Sierra Wireless MC8773 3G card. Here is what I get when trying to connect:-
However in /var/log/ppp.log I see
Can anyone suggest what I've done wrong?
Code:
#ppp -ddial 3g
Working in ddial mode
Warning: Add route failed: 0.0.0.0: errno: Value too large to be stored in data type
Using interface: tun0
However in /var/log/ppp.log I see
Code:
Aug 23 16:00:00 Test newsyslog[1050]: logfile turned over due to size>100K
Aug 23 18:18:03 Test ppp[1319]: Phase: Using interface: tun0
Aug 23 18:18:03 Test ppp[1319]: Phase: deflink: Created in closed state
Aug 23 18:18:03 Test ppp[1319]: tun0: Command: default: ident user-ppp VERSION
Aug 23 18:18:03 Test ppp[1319]: tun0: Command: default: set device /dev/cuaU0.2
Aug 23 18:18:03 Test ppp[1319]: tun0: Command: 3g: set speed 921600
Aug 23 18:18:03 Test ppp[1319]: tun0: Command: 3g: set timeout 0
Aug 23 18:18:03 Test ppp[1319]: tun0: Command: 3g: set authname
Aug 23 18:18:03 Test ppp[1319]: tun0: Command: 3g: set authkey
Aug 23 18:18:03 Test ppp[1319]: tun0: Command: 3g: set dial ABORT BUSY TIMEOUT 3 "" AT OK-AT-OK AT+CFUN=1 OK-AT-OK AT+CMEE=2 OK-AT-OK AT+CSQ OK AT+CGDCONT=1,\"IP\",\"www.plusgsm.pl\" OK ATD*99# CONNECT
Aug 23 18:18:03 Test ppp[1319]: tun0: Command: 3g: enable dns
Aug 23 18:18:03 Test ppp[1319]: tun0: Command: 3g: resolv writable
Aug 23 18:18:03 Test ppp[1319]: tun0: Command: 3g: set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.255 0.0.0.0
Aug 23 18:18:03 Test ppp[1319]: tun0: Command: 3g: add default HISADDR
Aug 23 18:18:03 Test ppp[1319]: tun0: Warning: Add route failed: 0.0.0.0: errno: Value too large to be stored in data type
Aug 23 18:18:03 Test ppp[1319]: tun0: Command: 3g: disable ipv6cp
Aug 23 18:18:03 Test ppp[1321]: tun0: Phase: PPP Started (ddial mode).
Aug 23 18:18:03 Test ppp[1321]: tun0: Phase: bundle: Establish
Aug 23 18:18:03 Test ppp[1321]: tun0: Phase: deflink: closed -> opening
Aug 23 18:18:03 Test ppp[1321]: tun0: Phase: deflink: Connected!
Aug 23 18:18:03 Test ppp[1321]: tun0: Phase: deflink: opening -> dial
Aug 23 18:18:03 Test ppp[1321]: tun0: Chat: Send: AT^M
Aug 23 18:18:03 Test ppp[1321]: tun0: Chat: Expect(3): OK
Aug 23 18:18:03 Test ppp[1321]: tun0: Chat: Received: ^M
Aug 23 18:18:03 Test ppp[1321]: tun0: Chat: Received: OK^M
Aug 23 18:18:03 Test ppp[1321]: tun0: Chat: Send: AT+CFUN=1^M
Aug 23 18:18:03 Test ppp[1321]: tun0: Chat: Expect(3): OK
Aug 23 18:18:03 Test ppp[1321]: tun0: Chat: Received: ^M
Aug 23 18:18:03 Test ppp[1321]: tun0: Chat: Received: OK^M
Aug 23 18:18:03 Test ppp[1321]: tun0: Chat: Send: AT+CMEE=2^M
Aug 23 18:18:03 Test ppp[1321]: tun0: Chat: Expect(3): OK
Aug 23 18:18:03 Test ppp[1321]: tun0: Chat: Received: ^M
Aug 23 18:18:03 Test ppp[1321]: tun0: Chat: Received: OK^M
Aug 23 18:18:03 Test ppp[1321]: tun0: Chat: Send: AT+CSQ^M
Aug 23 18:18:03 Test ppp[1321]: tun0: Chat: Expect(3): OK
Aug 23 18:18:03 Test ppp[1321]: tun0: Chat: Received: +CSQ: 8,99^M
Aug 23 18:18:03 Test ppp[1321]: tun0: Chat: Received: OK^M
Aug 23 18:18:03 Test ppp[1321]: tun0: Chat: Send: AT+CGDCONT=1,"IP","www.plusgsm.pl"^M
Aug 23 18:18:03 Test ppp[1321]: tun0: Chat: Expect(3): OK
Aug 23 18:18:03 Test ppp[1321]: tun0: Chat: Received: ^M
Aug 23 18:18:03 Test ppp[1321]: tun0: Chat: Received: OK^M
Aug 23 18:18:03 Test ppp[1321]: tun0: Chat: Send: ATD*99#^M
Aug 23 18:18:03 Test ppp[1321]: tun0: Chat: Expect(3): CONNECT
Aug 23 18:18:03 Test ppp[1321]: tun0: Chat: Received: ^M
Aug 23 18:18:03 Test ppp[1321]: tun0: Chat: Received: ERROR^M
Aug 23 18:18:06 Test ppp[1321]: tun0: Chat: Expect timeout
Aug 23 18:18:06 Test ppp[1321]: tun0: Warning: Chat script failed
Aug 23 18:18:06 Test ppp[1321]: tun0: Phase: deflink: dial -> hangup
Aug 23 18:18:06 Test ppp[1321]: tun0: Phase: deflink: Disconnected!
Aug 23 18:18:06 Test ppp[1321]: tun0: Phase: deflink: Connect time: 3 secs: 0 octets in, 0 octets out
Aug 23 18:18:06 Test ppp[1321]: tun0: Phase: deflink: 0 packets in, 0 packets out
Aug 23 18:18:06 Test ppp[1321]: tun0: Phase: total 0 bytes/sec, peak 0 bytes/sec on Wed Aug 23 18:18:03 2017
Aug 23 18:18:06 Test ppp[1321]: tun0: Phase: deflink: hangup -> opening
Aug 23 18:18:06 Test ppp[1321]: tun0: Phase: deflink: Enter pause (30) for redialing.
Aug 23 18:18:36 Test ppp[1321]: tun0: Chat: deflink: Redial timer expired.
Aug 23 18:18:36 Test ppp[1321]: tun0: Phase: deflink: Connected!
Can anyone suggest what I've done wrong?