Zombah openwrt sandbox: различия между версиями

Материал из Toshiba AC100 wiki
Перейти к навигации Перейти к поиску
(add alcatel 3g dongle)
 
м (→‎Alcatel X090S 3G Usb dongle: move remove usbutils lower)
 
(не показана 1 промежуточная версия этого же участника)
Строка 1: Строка 1:
== Alcatel X090S 3G Usb dongle ==
== Alcatel X090S 3G Usb dongle ==


lsusb name this device as TCT HSPA here
lsusb name this device as TCT HSPA here <br/>


content of /proc/bus/usb/device on fresh openwrt after dongle insert
content of /proc/bus/usb/device on fresh openwrt after dongle insert
Строка 17: Строка 17:
</pre>
</pre>


Packages to install: usb-modeswitch, kmod-usb-serial-option and their dependencies
Packages to install: usb-modeswitch, kmod-usb-serial-option, comgt and their dependencies <br/>
 
reboot and check content now
reboot and check content now
<pre>
<pre>
Строка 32: Строка 33:
I:  If#= 3 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
I:  If#= 3 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
</pre>
</pre>
Packages safe to remove now: usbutils (it use 201K of /overlay fs) <br/>


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

Текущая версия от 22:59, 16 сентября 2015

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