View: 7579|Reply: 31

Orange Pi IoT 2G Disconnects ppp after connect

[Copy link]

8

threads

19

posts

118

credits

Registered member

Rank: 2

credits
118
Published in 2020-3-27 09:48:50 | Show all floors |Read mode
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:
  1. --> WvDial: Internet dialer version 1.61
  2. --> Cannot get information for serial port.
  3. --> Initializing modem.
  4. --> Sending: ATZ
  5. ATZ
  6. OK
  7. --> Sending: AT+CFUN=1
  8. AT+CFUN=1
  9. OK
  10. --> Sending: AT+EGMR=1,7,xxxxxxxxxxxxxxx
  11. AT+EGMR=1,7,xxxxxxxxxxxxxxx
  12. OK
  13. --> Sending: AT+CGDCONT=1,"IP","internet.t-mobile"
  14. AT+CGDCONT=1,"IP","internet.t-mobile"
  15. OK
  16. --> Modem initialized.
  17. --> Sending: ATDT*99#
  18. --> Waiting for carrier.
  19. ATDT*99#
  20. CONNECT
  21. --> Carrier detected.  Starting PPP immediately.
  22. --> Starting pppd at Fri Mar 27 00:44:41 2020
  23. --> Pid of pppd: 576
  24. [  334.253234] PPP generic driver version 2.4.2
  25. --> Disconnecting at Fri Mar 27 00:44:41 2020
  26. --> The PPP daemon has died: Fatal pppd error (exit code = 1)
Copy code
My /etc/wvdial.conf:
  1. [Dialer Defaults]
  2. Modem Type = Analog Modem
  3. ISDN = 0
  4. Init1 = ATZ
  5. Init2 = AT+CFUN=1
  6. Modem = /dev/modem0
  7. Baud = 460800
  8. Auto Reconnect = on
  9. #Dial Attemps = 2

  10. [Dialer congstar]
  11. Carrier Check = no
  12. Init3 = AT+EGMR=1,7,xxxxxxxxxxxxxxx
  13. Init4 = AT+CGDCONT=1,"IP","internet.t-mobile"
  14. Stupid Mode = 1
  15. Phone = *99#
  16. Dialer Command = ATD
  17. Dial Attemps = 2
  18. Username = tm
  19. 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?

8

threads

19

posts

118

credits

Registered member

Rank: 2

credits
118
 Author| Published in 2020-4-14 18:36:15 | Show all floors
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.

0

threads

112

posts

322

credits

Intermediate member

Rank: 3Rank: 3

credits
322
Published in 2022-3-31 07:26:01 | Show all floors
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
Published in 2024-7-3 23:33:27 | Show all floors
Hey what a brilliant post I have come across and believe me I have been searching out for this similar kind of post for past a week and hardly came across this. Thank you very much and will look for more postings from you.        BDG Win login
Published in 2024-7-6 15:55:55 | Show all floors
I’m impressed, I must tell you. Very rarely do I come across a blog that’s both informative and entertaining, and let me tell you, you’ve right from the beginning. Your blog is important, the issue is something that not enough people are talking intelligently about.        Star Wars movie news
Published in 2024-7-6 18:18:28 | Show all floors
나는 당신이 당신의 분야의 전문가라는 것을 알 수 있습니다! 곧 웹사이트를 개설할 예정인데, 귀하의 정보가 제게 매우 유용할 것입니다. 귀하의 모든 도움에 감사드리며 귀하의 사업이 모두 성공하기를 바랍니다.        토토솔루션
Published in 2024-8-30 20:54:57 | Show all floors
Hi, I think your site might be having browser compatibility issues. When I look at your blog site in Chrome, it looks fine but when opening in Internet Explorer, it has some overlapping. I just wanted to give you a quick heads up! Other then that, superb blog!        betflix slot
Published in 2024-10-12 22:42:12 | Show all floors
Woh I like  your  blog posts,  saved to fav! .        togel online
Published in 2024-10-23 20:22:50 | Show all floors
Many thanks for creating so good blog! i have book marked it and will be back!        SUNWIN
Published in 2024-10-27 18:16:11 | Show all floors
Merely  wanna  input on few general things, The website design  is perfect, the  subject material  is  rattling  superb  : D.        tải sunwin
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list