quectel-ppp 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. # /etc/ppp/peers/quectel-pppd
  2. # Usage:root>pppd call quectel-pppd
  3. #Modem path, like /dev/ttyUSB3,/dev/ttyACM0, depend on your module, default path is /dev/ttyUSB3
  4. /dev/ttyUSB3 115200
  5. #Insert the username and password for authentication, default user and password are test
  6. user "test" password "test"
  7. # The chat script, customize your APN in this file
  8. connect 'chat -s -v -f /etc/ppp/peers/quectel-chat-connect'
  9. # The close script
  10. disconnect 'chat -s -v -f /etc/ppp/peers/quectel-chat-disconnect'
  11. # Hide password in debug messages
  12. hide-password
  13. # The phone is not required to authenticate
  14. noauth
  15. # Debug info from pppd
  16. debug
  17. # If you want to use the HSDPA link as your gateway
  18. defaultroute
  19. # pppd must not propose any IP address to the peer
  20. noipdefault
  21. # No ppp compression
  22. novj
  23. novjccomp
  24. noccp
  25. ipcp-accept-local
  26. ipcp-accept-remote
  27. local
  28. # For sanity, keep a lock on the serial line
  29. lock
  30. modem
  31. dump
  32. nodetach
  33. # Hardware flow control
  34. nocrtscts
  35. remotename 3gppp
  36. ipparam 3gppp
  37. ipcp-max-failure 30
  38. # Ask the peer for up to 2 DNS server addresses
  39. usepeerdns