Zombah openwrt sandbox

Материал из Toshiba AC100 wiki
Перейти к навигации Перейти к поиску

Alcatel X090S 3G Usb dongle

lsusb name this device as TCT HSPA here

content of /proc/bus/usb/device on fresh openwrt after dongle insert

T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=480  MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=1bbb ProdID=f000 Rev= 0.00
S:  Manufacturer=USBModem
S:  Product=HSPA Data Card
S:  SerialNumber=1234567890ABCDEF
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=(none)
E:  Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms

Packages to install: usb-modeswitch, kmod-usb-serial-option, comgt and their dependencies

reboot and check content now

T:  Bus=01 Lev=02 Prnt=02 Port=01 Cnt=01 Dev#=  8 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=1bbb ProdID=0000 Rev=00.00
S:  Manufacturer=USBModem
S:  Product=HSPA Data Card
S:  SerialNumber=1234567890ABCDEF
C:  #Ifs= 4 Cfg#= 1 Atr=a0 MxPwr=500mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
I:  If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
I:  If#= 2 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
I:  If#= 3 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=option

Packages safe to remove now: usbutils (it use 201K of /overlay fs)

sample config to use dongle with MTS gsm operator, /etc/config/network

config interface 'wwan'
        option proto '3g'
        option apn 'internet.mts.ru'
        option username 'mts'
        option password 'mts'
        option dialnumber '*99#'
        option device '/dev/ttyUSB2'
        option service 'umts'

pin seems to be optional