Advertisement
Guest User

Untitled

a guest
May 23rd, 2017
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.73 KB | None | 0 0
  1. 1) install usb_modeswitch
  2.    
  3.     yum install usb_modeswitch
  4.  
  5. 2) Append following directives to all persisten-cd.rules with the word "Novatel"
  6.  
  7.     , RUN+="/usr/bin/usb_modeswitch", RUN+="/usr/bin/eject %k"
  8.  
  9. /etc/udev/rules.d/70-persistent-cd.rules
  10.  
  11. 4) install wvdial
  12.    
  13.     yum install wvdial
  14.  
  15. 5) create a wvdial configuration file
  16.  
  17. #/etc/wvdial.cfg
  18. [Dialer verizon]
  19. Phone = #777
  20. Password = vzw
  21. Username = 615767XXXX@vzw3g.com
  22. [Dialer Defaults]
  23. Modem = /dev/ttyUSB0
  24. Baud = 115200
  25. Init = ATZ
  26. Dial Command = ATDT
  27. Stupid mode = 1
  28.  
  29. 6) start wvdial as root
  30.  
  31.     wvdial verizon
  32.  
  33. 7) add the default route
  34.  
  35.     route add default gw 66.174.26.4   
  36.  
  37. 8) add nameservers to /etc/resolv.conf
  38.  
  39.     nameserver 66.174.95.44
  40.     nameserver 69.78.96.14
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement