Advertisement
Guest User

Untitled

a guest
Jul 25th, 2019
302
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.61 KB | None | 0 0
  1. $ cat ppp.log.uart
  2. Script /usr/sbin/chat -v -f /etc/ppp/chat-4g finished (pid 657), status = 0x0
  3. Serial connection established.
  4. using channel 7
  5. Using interface ppp0
  6. Connect: ppp0 <--> /dev/ttyS5
  7. sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x82de0ac6> <pcomp> <accomp>]
  8. rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xf9919212> <pcomp> <accomp>]
  9. sent [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xf9919212> <pcomp> <accomp>]
  10. rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x82de0ac6> <pcomp> <accomp>]
  11. sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
  12. rcvd [IPCP ConfReq id=0x1]
  13. sent [IPCP ConfNak id=0x1 <addr 0.0.0.0>]
  14. rcvd [IPCP ConfRej id=0x1 <addr 0.0.0.0>]
  15. sent [IPCP ConfReq id=0x2 <addrs 0.0.0.0 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
  16. rcvd [IPCP ConfReq id=0x2]
  17. sent [IPCP ConfAck id=0x2]
  18. rcvd [IPCP ConfRej id=0x2 <addrs 0.0.0.0 0.0.0.0>]
  19. sent [IPCP ConfReq id=0x3 <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
  20. rcvd [IPCP ConfNak id=0x3 <ms-dns1 193.41.60.16> <ms-dns2 193.41.60.15>]
  21. sent [IPCP ConfReq id=0x4 <ms-dns1 193.41.60.16> <ms-dns2 193.41.60.15>]
  22. rcvd [IPCP ConfAck id=0x4 <ms-dns1 193.41.60.16> <ms-dns2 193.41.60.15>]
  23. Could not determine local IP address
  24. Connect time 0.1 minutes.
  25. Sent 94 bytes, received 64 bytes.
  26. sent [IPCP TermReq id=0x5 "Could not determine local IP address"]
  27. sent [IPCP TermReq id=0x6 "Could not determine local IP address"]
  28. rcvd [IPCP TermReq id=0x6 "Could not determine local IP address"]
  29. sent [IPCP TermAck id=0x6]
  30. rcvd [IPCP TermAck id=0x6]
  31. sent [LCP TermReq id=0x2 "No network protocols running"]
  32. rcvd [LCP TermReq id=0x2 "No network protocols running"]
  33. sent [LCP TermAck id=0x2]
  34. rcvd [LCP TermAck id=0x2]
  35. Connection terminated.
  36.  
  37. $ cat ppp.log.usb
  38. Script /usr/sbin/chat -v -f /etc/ppp/chat-4g finished (pid 546), status = 0x0
  39. Serial connection established.
  40. using channel 1
  41. Using interface ppp0
  42. Connect: ppp0 <--> /dev/ttyACM0
  43. rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x96a24aa4> <pcomp> <accomp>]
  44. sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xb168a46a> <pcomp> <accomp>]
  45. sent [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x96a24aa4> <pcomp> <accomp>]
  46. rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xb168a46a> <pcomp> <accomp>]
  47. sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
  48. sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
  49. rcvd [IPCP ConfReq id=0x1]
  50. sent [IPCP ConfNak id=0x1 <addr 0.0.0.0>]
  51. rcvd [IPCP ConfNak id=0x1 <addr 10.247.92.74> <ms-dns1 193.41.60.16> <ms-dns2 193.41.60.15>]
  52. sent [IPCP ConfReq id=0x2 <addr 10.247.92.74> <ms-dns1 193.41.60.16> <ms-dns2 193.41.60.15>]
  53. rcvd [IPCP ConfReq id=0x2 <addr 10.247.92.74>]
  54. sent [IPCP ConfAck id=0x2 <addr 10.247.92.74>]
  55. rcvd [IPCP ConfAck id=0x2 <addr 10.247.92.74> <ms-dns1 193.41.60.16> <ms-dns2 193.41.60.15>]
  56. not replacing default route to eth0 [192.168.1.1]
  57. local IP address 10.247.92.74
  58. remote IP address 10.247.92.74
  59. primary DNS address 193.41.60.16
  60. secondary DNS address 193.41.60.15
  61. Script /etc/ppp/ip-up started (pid 551)
  62. Script /etc/ppp/ip-up finished (pid 551), status = 0x0
  63.  
  64.  
  65. $ cat chat-4g
  66. ABORT "BUSY"
  67. ABORT "ERROR"
  68. ABORT "NO ANSWER"
  69. ABORT "NO CARRIER"
  70. ABORT "NO DIALTONE"
  71. '' ATZ
  72. '' ATZ
  73. OK AT+CGDCONT=1,"IP","www.ab.kyivstar.net"
  74. OK ATDT*99***1#
  75. 'ATD' ^M
  76. '' ^M
  77.  
  78.  
  79. $ cat peers/4g
  80. /dev/ttyS5 115200
  81. #/dev/ttyACM0 115200
  82. nobsdcomp
  83. nodeflate
  84. connect '/usr/sbin/chat -v -f /etc/ppp/chat-4g'
  85. noauth
  86. #noipdefault
  87. usepeerdns
  88. defaultroute
  89. debug
  90. #nodetach
  91. persist
  92. ## new ###
  93. novj
  94. nocrtscts
  95. #local
  96. lock
  97. logfile /var/log/ppp.log
  98. user ipgrs
  99. #mru 512
  100. #mtu 512
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement