Difference between revisions of "Modem"

From ElectroDragon
Jump to navigation Jump to search
(Created page with "== Windows Reference Guide == <gallery> File:Modern_connection_01.jpg | 01 File:Modern_connection_02.jpg | 02 File:Modern_connection_03.jpg | 03 </gallery> == Linux Reference...")
 
(Redirected page to Category:Modem)
(Tag: New redirect)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Windows Reference Guide ==
+
#redirect [[category: Modem]]
<gallery>
 
File:Modern_connection_01.jpg | 01
 
File:Modern_connection_02.jpg | 02
 
File:Modern_connection_03.jpg | 03
 
</gallery>
 
== 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
 
<gallery>
 
File:2018-06-21_141320.png | wwan0 modem
 
File:2018-06-21_141330.png | recorgnized USB device SIM5360E
 
</gallery>
 
 
 
=== Wvdial ===
 
==== Install ====
 
[[File:Wvdial.jpg|thumbnail]]
 
* 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
 
<source lang="text">
 
[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
 
</source>
 
* Config version 2
 
<source lang="text">
 
[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
 
</source>
 
* Config version 3
 
<source lang="text">
 
[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
 
</source>
 
 
 
==== Connect ====
 
[[File:Wvdial run.jpg|thumbnail]]
 
old
 
sudo usb_modeswitch -c /etc/usb_modeswitch.conf
 
wvdial 3gconnect
 
new
 
sudo /usr/bin/wvdial&
 
[[File:Wvdial run kill.jpg|thumbnail]]
 
kill
 
ps -A
 
sudo kill 499
 
auto start
 
sudo nano /etc/rc.local
 
add /usr/bin/wvdial& before exit0
 
 
 
== References ==
 
Linux
 
* Reference find here: https://www.thefanclub.co.za/how-to/how-setup-usb-3g-modem-raspberry-pi-using-usbmodeswitch-and-wvdial
 
[[category: Network]]
 

Latest revision as of 14:31, 5 February 2020

Redirect to: