Differences

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

Link to this comparison view

Both sides previous revision Previous revision
user:jenda:3g [2016/01/07 11:14]
jenda
user:jenda:3g [2017/07/27 05:15] (current)
jenda +bluetooth
Line 1: Line 1:
 ====== Radiomodem and pppd howto ====== ====== Radiomodem and pppd howto ======
 +
 +For USB modem (tested with multiple Huawei and Mediatek 3G modems, T-Mobile and Vodafone operators):
  
 <​code>​ <​code>​
 ~ # usb_modeswitch -v 12d1 -p 14fe -m "​0x01"​ -M "​55534243123456780000000000000011062000000100000000000000000000"​ -I ~ # 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) (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 ​ ~ # cat /​etc/​ppp/​peers/​t-cenzor ​
-/​dev/​ttyUSB0+/​dev/​ttyUSB0 ​OR /​dev/​rfcomm0
 115200 115200
 defaultroute defaultroute
Line 40: Line 57:
 </​code>​ </​code>​
  
-Tested with multiple Huawei and Mediatek modems and with T-Mobile and Vodafone.+
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 4.0 International
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki