Per poter gestire il dongle generico E169 installare i seguenti pkg:

usbutils kmod-usb2 kmod-usbserial usb-modeswitch comgt

Non sono riuscito a non forzare il caricamento del device modificando il file /etc/modules.d/usb-serial con il descrittore usb:

# vi /etc/modules.d/usb-serial

usbserial vendor=0x12d1 product=0x1001

al riavvio compariranno alcuni devices USB0-USB3 relativi alla gestione delle flash memories con modeswitch

 

usbcore: registered new interface driver usbserial

USB Serial support registered for generic
usbserial_generic 1-1.4:1.0: generic converter detected
usb 1-1.4: generic converter now attached to ttyUSB0
usbserial_generic 1-1.4:1.1: generic converter detected
usb 1-1.4: generic converter now attached to ttyUSB1
usbserial_generic 1-1.4:1.2: generic converter detected
usb 1-1.4: generic converter now attached to ttyUSB2
usbserial_generic 1-1.4:1.3: generic converter detected
usb 1-1.4: generic converter now attached to ttyUSB3
usbcore: registered new interface driver usbserial_generic

Se il dongle è stato riconosciuto correttamente, con il comando gcom si otterrà:

# gcom

Trying list of devices

SIM ready
Waiting for Registration..(120 sec max)
Registered on network: “22201”,2
Signal Quality: 12,99
eventuali opzioni verbose:

# gcom info
#### Wireless WAN Modem Configuration #####
Trying list of devices
Product text:
====

Manufacturer: huawei
Model: E169
Revision: 11.314.13.01.192
IMEI: XXXXXXXXXXXXXXX
+GCAP: +CGSM,+DS,+ES
OK
====
Manufacturer:           huawei
IMEI and Serial Number: XXXXXXXXXXXXXXX
Manufacturer’s Revision:
11.314.14.02.1
Hardware Revision:      NOT
Network Locked:         0
Customisation:          NOT SUPPORT
Band settings:          (NOT)
APN:                    1,”IP”,”web.vodafone.it”,”0.0.0.0″,0,0
##### END #####

oppure:

# gcom help

 

Aggiungere la sezione in /etc/config/network:

config ‘interface’ ‘wan’
    option ‘proto’ ‘3g’
    option ‘apn’ ‘web.vodafone.it’
device ‘/dev/ttyUSB0’
riavviare la rete con:

# /etc/init.d/network restart
openwrt link

Annunci