|
Edited by mkgokp7s at 2020-3-27 17:33
I 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
- [ 334.253234] 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)
Copy code My /etc/wvdial.conf:- [Dialer Defaults]
- Modem Type = Analog Modem
- ISDN = 0
- Init1 = ATZ
- Init2 = AT+CFUN=1
- Modem = /dev/modem0
- Baud = 460800
- Auto Reconnect = on
- #Dial Attemps = 2
- [Dialer congstar]
- 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
Copy code
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?
|
|