FON2-Tweak-3G-Irish3

From FON Wiki Beta

Jump to: navigation, search
  • Finally succeeded to run my 3G stick Huawei E169G on Tantor firmware.
  • Unfortunately adjusting parameters in /etc/config/umts file was not enough to run it.
  • Also modified /Apps/umts.lua
  • Here is my config, running with ISP "three" in Ireland.

Contents

umtsd

/etc/config/umtsd:

config 'umtsd' 'umtsd'
       option 'apn' '3ireland.ie'
#    option 'user' '3ireland'
#    option 'pass' '3ireland'
config 'umtsdstate' 'umtsdstate'
config 'umtsdevice' 'option12D11001'
      option 'vendor' 'Huawei'
      option 'device' 'E169G'
#    option 'data' '/dev/ttyUSB0'
#    option 'cmd' '/dev/ttyUSB0'

umts.lua

  • file /Apps/umts.lua: modified section "some dummy data" like this
-- some dummy data
local data = "/dev/ttyUSB0"
local cmd = "/dev/ttyUSB0"
local type = "Huawei"
local user = ""
local pass = ""
local apn = "3ireland.ie"
local pin = ""
  • Perhaps we can do more simple ;-) but just assigning "cmd" and "data" ports in /etc/config/umtsd doesn't seems to work for me.
  • Then at each reboot the fonera2 can (auto)connect to internet

Notes

  • "user" and "pass" variables are not mandatory to connect. Leave it blank
  • Never use a PIN code for three.ie since PIN code is always registered.
  • Number to dial with ATD command to connect three.ie is *99# but *99***1# defined in umts.lua is also running.
  • Useful link: http://www.linux.ie/articles/tutorials/threeirelandUSBmodem.php
  • For other other dongles, see also Huawei_K3715

/var/state/umts

root@Fonera:~# cat /var/state/umtsd
umtsd.umtsd.attached=1
umtsd.umtsd.device=option12D11001
umtsd.umtsdstate.vendor=huawei
umtsd.umtsdstate.model=E169G
umtsd.umtsdstate.provider=27205
umtsd.umtsdstate.signal=20,99
umtsd.umtsdstate.state=ONLINE
umtsd.umtsdstate.tx=0
umtsd.umtsdstate.rx=0
umtsd.umtsdstate.online=0
umtsd.umtsdstate.signal=20,99
umtsd.umtsdstate.signal=20,99
umtsd.umtsdstate.signal=20,99
umtsd.umtsdstate.signal=20,99
umtsd.umtsdstate.signal=20,99
Personal tools