Category:Modem

From ElectroDragon Wiki
Revision as of 13:55, 28 May 2020 by Chao (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Windows Reference Guide

WIN 10

  • GIF guide & demo below

WIN 7

Linux Reference Guide

PPP Dial For SIM868

Sim868 ppp dial.png
  • sudo apt-get install ppp
  • sudo su
  • cd /etc/ppp/peers
  • cp provider gprs
  • edit gprs file, see on image
  • pppd call gprs &
  • ifconfig eth0 down
  • ifconfig wlan0 down
  • ifconfig check if ppp net card is avaialble, and ping to 163.com

Driver free for SIM5360 in Linux

  • Just connect via USB cable directly: Bus 001 Device 006: ID 05c6:9000 Qualcomm, Inc. SIMCom SIM5218 modem

Wvdial

Install

Wvdial.jpg
  • by command sudo apt-get update and sudo apt-get install ppp usb-modeswitch wvdial

Obsolete

  • Get modem config file: tar -xzvf /usr/share/usb_modeswitch/configPack.tar.gz 05c6\:9000 (get error on this step, probably no config file yet )
  • Config the default USB modem by nano /etc/usb_modeswitch.conf, copy message content

Config

  • Config for SIM7600
  • Config version 1 nano /etc/wvdial.conf
[Dialer 3gconnect]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = AT+CGDCONT=1,"IP","internet"
Stupid Mode = 1
Modem Type = Analog Modem
ISDN = 0
Phone = *99#
Modem = /dev/gsmmodem
Username = { }
Password = { }
Baud = 460800
  • Config version 2
[pialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = at+cgdcont=1,"ip","uninet"
Modem Type = Analog Modem
Baud = 9600
New PPPD = yes
Modem = /dev/ttyUSB2
ISDN = 0
Phone = *99#
Password = card
Username = card
  • Config version 3
[pialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = Analog Modem
Baud = 9600
New PPPD = yes
Modem = /dev/ttyUSB2
ISDN = 0
Phone = *99#
Password = card
Username = card

Connect

Wvdial run.jpg

old

sudo usb_modeswitch -c /etc/usb_modeswitch.conf
wvdial 3gconnect

new

sudo /usr/bin/wvdial&
Wvdial run kill.jpg

kill

ps -A
sudo kill 499

auto start

sudo nano /etc/rc.local
add /usr/bin/wvdial& before exit0

References

Linux

This category currently contains no pages or media.