|
I test the GSM netword connection following the mannual of orangepi_2G_IoT, but i failed after a while every time.
these are the logs:
root@OrangePI:/home# wvdial Tom &
[1] 560
root@OrangePI:/home# --> WvDial: Internet dialer version 1.61
--> Warning: section [Dialer Tom] does not exist in wvdial.conf.
[ 558.811340] md_tty_install result 0
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: AT+COPS=0
AT+COPS=0
OK
--> Sending: AT+CFUN=1
AT+CFUN=1
OK
--> Sending: AT+CGATT=1
AT+CGATT=1
--> Sending: ATQ0
ATQ0
+CGATT:1
OK
--> Re-Sending: AT+CGATT=1
AT+CGATT=1
+CGATT:1
OK
--> Sending: AT+CGDCONT=1,"IP","OrangePi_2G-IOT","",0,0
AT+CGDCONT=1,"IP","OrangePi_2G-IOT","",0,0
OK
--> Sending: AT+CGACT=1,1
AT+CGACT=1,1
OK
--> Modem initialized.
--> Sending: ATDT*99***1#
--> Waiting for carrier.
ATDT*99***1#
CONNECT
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Mon Nov 27 02:22:30 2017
--> Pid of pppd: 561
[ 569.341613] PPP generic driver version 2.4.2
--> Using interface ppp0
--> pppd: ▒[▒▒▒▒[01][08]▒▒[01][01]
--> pppd: ▒[▒▒▒▒[01][08]▒▒[01][01]
--> pppd: ▒[▒▒▒▒[01][08]▒▒[01][01]
--> pppd: ▒[▒▒▒▒[01][08]▒▒[01][01]
--> local IP address 10.227.63.78
--> pppd: ▒[▒▒▒▒[01][08]▒▒[01][01]
--> remote IP address 192.200.1.21
--> pppd: ▒[▒▒▒▒[01][08]▒▒[01][01]
--> primary DNS address 211.136.17.107
--> pppd: ▒[▒▒▒▒[01][08]▒▒[01][01]
[ 573.193847] rda_modem_pm_notify status:0x2
ifconfig
lo Link encapocal Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:16 errors:0 dropped:0 overruns:0 frame:0
TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1554 (1.5 KiB) TX bytes:1554 (1.5 KiB)
ppp0 Link encapoint-to-Point Protocol
inet addr:10.227.63.78 P-t-P:192.200.1.21 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:58 (58.0 B) TX bytes:70 (70.0 B)
wlan0 Link encap:Ethernet HWaddr 4a:4c:49:a5:1b:ec
inet addr:192.168.31.242 Bcast:192.168.31.255 Mask:255.255.255.0
inet6 addr: fe80::484c:49ff:fea5:1bec/64 Scopeink
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2131 errors:0 dropped:0 overruns:0 frame:0
TX packets:201 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:88077 (86.0 KiB) TX bytes:17116 (16.7 KiB)
root@OrangePI:/home# --> pppd: ▒[▒▒▒▒[01][08]▒▒[01][01]
--> pppd: ▒[▒▒▒▒[01][08]▒▒[01][01]
--> Connect time 2.0 minutes.
--> pppd: ▒[▒▒▒▒[01][08]▒▒[01][01]
--> pppd: ▒[▒▒▒▒[01][08]▒▒[01][01]
--> pppd: ▒[▒▒▒▒[01][08]▒▒[01][01]
--> Disconnecting at Mon Nov 27 02:24:31 2017
--> The PPP daemon has died: Lack of LCP echo responses (exit code = 15)
--> man pppd explains pppd error codes in more detail.
--> I guess that's it for now, exiting
--> Provider is overloaded(often the case) or line problem.
--> The PPP daemon has died. (exit code = 15)
|
|