Advertisement
Guest User

Untitled

a guest
Apr 13th, 2019
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.44 KB | None | 0 0
  1. #wvdial.conf
  2.  
  3. root@raspberrypi:/etc/ppp# cat /etc/wvdial.conf
  4. [Dialer Defaults]
  5.  
  6. [Dialer eplus]
  7. Modem = /dev/ttyUSB0
  8. Phone = *99#
  9. Username = eplus
  10. Password = gprs
  11. Modem Type = USB Modem
  12. Init3 = AT+CGDCONT=1,"IP","internet.eplus.de", "0.0.0.0",
  13. ISDN=0
  14. ;Auto Reconnect=on
  15. Stupid Mode= 1
  16. Compuserve = 0
  17. Ask Password = 0
  18. Idle Seconds=0
  19. Auto DNS=on
  20.  
  21.  
  22. # output
  23. root@raspberrypi:~/modem# wvdial eplus
  24. --> WvDial: Internet dialer version 1.61
  25. --> Initializing modem.
  26. --> Sending: ATZ
  27. OK
  28. --> Sending: AT+CGDCONT=1,"IP","internet.eplus.de", "0.0.0.0",
  29. OK
  30. --> Modem initialized.
  31. --> Sending: ATDT*99#
  32. --> Waiting for carrier.
  33. CONNECT
  34. --> Carrier detected.  Starting PPP immediately.
  35. --> Starting pppd at Sat Apr 13 08:21:00 2019
  36. --> Pid of pppd: 31354
  37. --> Using interface ppp0
  38. --> Disconnecting at Sat Apr 13 08:21:30 2019
  39. --> The PPP daemon has died: A modem hung up the phone (exit code = 16)
  40. --> man pppd explains pppd error codes in more detail.
  41. --> Try again and look into /var/log/messages and the wvdial and pppd man pages for more information.
  42. --> Auto Reconnect will be attempted in 5 seconds
  43. --> Initializing modem.
  44. --> Sending: ATZ
  45. --> Sending: ATQ0
  46. --> Re-Sending: ATZ
  47. --> Modem not responding.
  48. --> Initializing modem.
  49. --> Sending: ATZ
  50. --> Sending: ATQ0
  51. --> Re-Sending: ATZ
  52. --> Modem not responding.
  53. --> Disconnecting at Sat Apr 13 08:21:52 2019
  54.  
  55.  
  56. # Any idea how to debug this further?`Or why I do not receive ips
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement