User Tools

Site Tools


3g
no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


3g [2017-07-27 05:15:34] (current) – created - external edit 127.0.0.1
Line 1: Line 1:
 +====== Radiomodem and pppd howto ======
 +
 +For USB modem (tested with multiple Huawei and Mediatek 3G modems, T-Mobile and Vodafone operators):
 +
 +<code>
 +~ # usb_modeswitch -v 12d1 -p 14fe -m "0x01" -M "55534243123456780000000000000011062000000100000000000000000000" -I
 +(you will find the correct value in configPack.tar.gz from usb-modeswitch-data or similar in your distribution)
 +</code>
 +
 +For Bluetooth modems (tested with several Nokia dumbphones):
 +
 +<code>
 +# bluetoothctl
 +scan on
 +pair 00:12:D1:XX:XX:XX
 +connect 00:12:D1:XX:XX:XX
 +quit
 +# rfcomm bind 0 00:12:D1:XX:XX:XX 1 # creates /dev/rfcomm0 device
 +</code>
 +
 +And then PPP configuration:
 +
 +<code>
 +~ # cat /etc/ppp/peers/t-cenzor 
 +/dev/ttyUSB0 OR /dev/rfcomm0
 +115200
 +defaultroute
 +usepeerdns
 +nodetach
 +crtscts
 +lock
 +noauth
 +local
 +debug
 +nodeflate
 +
 +connect "/usr/sbin/chat -v -f /etc/chatscripts/t-cenzor-connect"
 +disconnect "/usr/sbin/chat -v -f /etc/chatscripts/t-cenzor-disconnect"
 +
 +~ # cat /etc/chatscripts/t-cenzor-connect
 +TIMEOUT 10
 +ABORT 'BUSY'
 +ABORT 'NO ANSWER'
 +ABORT 'ERROR'
 +
 +"" 'ATZ'
 +
 +SAY 'Setting APN FQDN\n'
 +OK 'AT+CGDCONT=1,"IP","internet"'
 +
 +ABORT 'NO CARRIER'
 +SAY 'Dialling!\n'
 +OK 'ATD*99***1#'
 +CONNECT ''
 +
 +~ # pppd call t-cenzor
 +</code>
 +
  
3g.txt · Last modified: by 127.0.0.1

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki