Advertisement
Guest User

Untitled

a guest
May 12th, 2016
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. # MODEM
  2. https://nicovddussen.wordpress.com/2014/11/12/setting-up-your-raspberry-pi-to-work-with-a-3g-dongle/
  3.  
  4. #AP
  5. https://frillip.com/using-your-raspberry-pi-3-as-a-wifi-access-point-with-hostapd/
  6.  
  7. lsusb deve visualizzare Huawei
  8.  
  9. sudo apt-get install wvdial usb-modeswitch
  10.  
  11. riavvio
  12.  
  13. ls -al /dev/gsmmodem deve esistere
  14.  
  15. vi /etc/wvdial.conf
  16.  
  17. [Dialer Defautls]
  18. Phone = *999***1#
  19. Username = " "
  20. Password = " "
  21. Modem = /dev/gsmmodem
  22. Stupid Mode = 1
  23. Dial Command = ATDT
  24.  
  25. [Dialer hsdpa]
  26. Modem = /dev/gsmmodem
  27. Baud = 460800
  28. Init1 = ATZ
  29. Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
  30. Init3 = AT+CGDCONT=1,"IP","web.omnitel.it"
  31. ISDN = 0
  32. New PPPD = yes
  33. Modem Type = Analog Modem
  34. Check Def Route = on
  35.  
  36. vi /etc/ppp/peers/wvdial
  37.  
  38. defaultroute
  39. replacedefaultroute
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement