Orange Pi IoT 2G Disconnects ppp after connect
Edited by mkgokp7s at 2020-3-27 17:33I try to setup an Internet connection on an OrangePi IoT 2G board with build-in modem. The at-commands are working fine, even connect and start pppd, but one second later it disconnects and therefore ppp daemon dies with exit code=1. According man pacges exit code=1: "Pppd has detached, or otherwise the connection was successfully established and terminated at the peer's request."
The output of wvdial:--> WvDial: Internet dialer version 1.61
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: AT+CFUN=1
AT+CFUN=1
OK
--> Sending: AT+EGMR=1,7,xxxxxxxxxxxxxxx
AT+EGMR=1,7,xxxxxxxxxxxxxxx
OK
--> Sending: AT+CGDCONT=1,"IP","internet.t-mobile"
AT+CGDCONT=1,"IP","internet.t-mobile"
OK
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
CONNECT
--> Carrier detected.Starting PPP immediately.
--> Starting pppd at Fri Mar 27 00:44:41 2020
--> Pid of pppd: 576
PPP generic driver version 2.4.2
--> Disconnecting at Fri Mar 27 00:44:41 2020
--> The PPP daemon has died: Fatal pppd error (exit code = 1)My /etc/wvdial.conf:
Modem Type = Analog Modem
ISDN = 0
Init1 = ATZ
Init2 = AT+CFUN=1
Modem = /dev/modem0
Baud = 460800
Auto Reconnect = on
#Dial Attemps = 2
Carrier Check = no
Init3 = AT+EGMR=1,7,xxxxxxxxxxxxxxx
Init4 = AT+CGDCONT=1,"IP","internet.t-mobile"
Stupid Mode = 1
Phone = *99#
Dialer Command = ATD
Dial Attemps = 2
Username = tm
Password = tm
To prevent using the IMEI=000000000000000 I set it with the at-command "AT+EGMR=1,7,xxxxxxxxxxxxxxx" to a valid one, but this don't help.
The carrier I'm using is Congstar by T-Mobile Germany.
What could be the problem, any idea?
I found a solution - in case anybody else once have the same issue:
1. Use ppp command pon/poff which is much easier to handle and shows better logs
2. Use E-Plus carrier instead of T-Mobile because it simply works with this set of AT-commands. Maybe there are other AT-commands needed by T-Mobile and it works too. This is probably the results We're getting all over. With thanks for your personal site, I sign up to your website. This is usually a awesome site. inches. Packers and Movers Gurgaon
page:
[1]