Sistema: Onion Omega2s LEDE 17.01
Eu conectei um modem Huawei ME90E à porta USB do Omega2s.
Conectei com sucesso o modem ME906E ao Raspberry Pi rodando o Debian, mas tenho problemas com o LEDE no Omega2s.
Eu tentei muitas vezes, mas ainda não obtive sucesso na interface.
Eu devo ter perdido alguma coisa.
Qualquer ajuda é apreciada.
A execução dmesg confirma que o modem é reconhecido:
[ 12.556027] usbserial: USB Serial support registered for GSM modem (1-port)
[ 12.563783] option 1-1:2.2: GSM modem (1-port) converter detected
[ 12.570351] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0
[ 12.577378] option 1-1:2.3: GSM modem (1-port) converter detected
[ 12.583884] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1
[ 12.590910] option 1-1:2.4: GSM modem (1-port) converter detected
[ 12.597470] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB2
As portas / dev / ttyUSB0, / dev / ttyUSB1 & / dev / ttyUSB2 são criados. Eu corro
minicom -D /dev/ttyUSB2 115200
para se comunicar com o modem e eu posso conectar-me com sucesso à rede do operador do sistema executando
AT^NDISDUP=1,1,"apn"
O arquivo / sys / kernel / debug / usb / devices contém
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= 3
P: Vendor=12d1 ProdID=1573 Rev= 2.28
S: Manufacturer=HUAWEI Technology
S: Product=HUAWEI Mobile
S: SerialNumber=0123456712ABCA17
C: #Ifs= 6 Cfg#= 1 Atr=a0 MxPwr=500mA
I: If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=01 Prot=02 Driver=
E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I: If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=01 Prot=03 Driver=
E: Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I: If#= 2 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=01 Prot=01 Driver=
E: Ad=84(I) Atr=03(Int.) MxPS= 10 Ivl=32ms
E: Ad=83(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I: If#= 3 Alt= 0 #EPs= 3 Cls=0b(scard) Sub=00 Prot=00 Driver=
E: Ad=85(I) Atr=03(Int.) MxPS= 4 Ivl=32ms
E: Ad=86(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I: If#= 4 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=01 Prot=07 Driver=
E: Ad=88(I) Atr=03(Int.) MxPS= 8 Ivl=32ms
E: Ad=87(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=05(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I: If#= 5 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=01 Prot=05 Driver=
E: Ad=89(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=06(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
C:* #Ifs= 5 Cfg#= 2 Atr=a0 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=06 Prot=00 Driver=(none)
E: Ad=82(I) Atr=03(Int.) MxPS= 16 Ivl=32ms
I:* If#= 1 Alt= 0 #EPs= 0 Cls=0a(data ) Sub=00 Prot=00 Driver=(none)
I: If#= 1 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=(none)
E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=01 Prot=03 Driver=option
E: Ad=83(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 3 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=01 Prot=02 Driver=option
E: Ad=84(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 4 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=01 Prot=05 Driver=option
E: Ad=85(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
C: #Ifs= 3 Cfg#= 3 Atr=a0 MxPwr=500mA
A: FirstIf#= 0 IfCount= 2 Cls=02(comm.) Sub=0e Prot=00
I: If#= 0 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=0e Prot=00 Driver=
E: Ad=82(I) Atr=03(Int.) MxPS= 64 Ivl=32ms
I: If#= 1 Alt= 0 #EPs= 0 Cls=0a(data ) Sub=00 Prot=02 Driver=
I: If#= 1 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=02 Driver=
E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I: If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=01 Prot=05 Driver=
E: Ad=83(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
O arquivo / etc / config / network foi modificado para adicionar
config interface 'usb0'
option ifname 'usb0'
option proto 'dhcp'
Eu tentei os dois modos - reinicializando o sistema e executando
/etc/init.d/network reload
Quando o sistema está ativo ou a rede é recarregada, eu corro ip addr e o usb0 ainda não aparece
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN qlen 1000
link/ether 40:a3:6b:c0:3a:01 brd ff:ff:ff:ff:ff:ff
inet 192.168.0.149/24 brd 192.168.0.255 scope global eth0
valid_lft forever preferred_lft forever
inet6 fe80::42a3:6bff:fec0:3a01/64 scope link
valid_lft forever preferred_lft forever
3: ra0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel master br-wlan state UNKNOWN qlen 1000
link/ether 40:a3:6b:c0:39:ff brd ff:ff:ff:ff:ff:ff
inet6 fe80::42a3:6bff:fec0:39ff/64 scope link
valid_lft forever preferred_lft forever
4: br-wlan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP qlen 1000
link/ether 40:a3:6b:c0:39:ff brd ff:ff:ff:ff:ff:ff
inet 192.168.3.1/24 brd 192.168.3.255 scope global br-wlan
valid_lft forever preferred_lft forever
inet6 fd1d:48c4:7633::1/60 scope global
valid_lft forever preferred_lft forever
inet6 fe80::42a3:6bff:fec0:39ff/64 scope link
valid_lft forever preferred_lft forever
5: apcli0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN qlen 1000
link/ether 40:a3:6b:c0:39:00 brd ff:ff:ff:ff:ff:ff
inet6 fe80::42a3:6bff:fec0:3900/64 scope link
valid_lft forever preferred_lft forever