Modern

From ElectroDragon
Jump to: navigation, search

Windows Reference Guide

Linux Reference Guide

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