Huawei banda larga móvel EC156 não funciona com o Network Manager no Ubuntu 14.04 LTS 64 bit

1

Relacionado com Obtendo o HUAWEI Banda Larga Móvel E173 para trabalhar no Ubuntu 13.10 . Eu tenho a mesma situação com o modem huawei ec156. Com wvdial ele funciona perfeitamente com / dev / ttyUSB0 mas com o Network Manager por algum motivo ele usa / dev / ttyUSB2 e falha ao conectar (mesmo que seja detectado pelo gerenciador NW). Pode ser que seja como se o código / config fosse implementado. Eu realmente gostaria de usar o gerenciador de rede para facilitar a conectividade e usar o cartão de dados como um hotspot Wi-Fi usando o compartilhamento de rede.

Lsusb

Bus 002 Device 006: ID 12d1:140b 
Huawei Technologies Co., Ltd. EC1260 Wireless Data Modem HSD USB Card

nmcli d

DEVICE     TYPE              STATE        
**ttyUSB2    cdma              disconnected** 
eth0       802-3-ethernet    unavailable  
wlan0      802-11-wireless   disconnected 

Registra enquanto conecta o dispositivo

Apr 24 12:23:04 quaddy kernel: [ 3951.246348] usb 2-1.1: new full-speed USB device number 8 using ehci-pci
Apr 24 12:23:05 quaddy kernel: [ 3951.340038] usb 2-1.1: New USB device found, idVendor=12d1, idProduct=1505
Apr 24 12:23:05 quaddy kernel: [ 3951.340047] usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=4
Apr 24 12:23:05 quaddy kernel: [ 3951.340052] usb 2-1.1: Product: HUAWEI Mobile
Apr 24 12:23:05 quaddy kernel: [ 3951.340057] usb 2-1.1: Manufacturer: HUAÿWEI TECHNOLOGIES
Apr 24 12:23:05 quaddy kernel: [ 3951.340062] usb 2-1.1: SerialNumber: ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ
Apr 24 12:23:05 quaddy kernel: [ 3951.340747] usb-storage 2-1.1:1.0: USB Mass Storage device detected
Apr 24 12:23:05 quaddy kernel: [ 3951.340976] scsi16 : usb-storage 2-1.1:1.0
Apr 24 12:23:05 quaddy mtp-probe: checking bus 2, device 8: "/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1"
Apr 24 12:23:05 quaddy mtp-probe: bus: 2, device: 8 was not an MTP device
Apr 24 12:23:06 quaddy kernel: [ 3952.341150] scsi 16:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 0
Apr 24 12:23:06 quaddy kernel: [ 3952.350107] sr1: scsi-1 drive
Apr 24 12:23:06 quaddy kernel: [ 3952.350410] sr 16:0:0:0: Attached scsi CD-ROM sr1
Apr 24 12:23:06 quaddy kernel: [ 3952.350564] sr 16:0:0:0: Attached scsi generic sg2 type 5
Apr 24 12:23:06 quaddy usb_modeswitch: switch device 12d1:1505 on 002/008
Apr 24 12:23:06 quaddy kernel: [ 3952.665155] usb 2-1.1: USB disconnect, device number 8
Apr 24 12:23:09 quaddy kernel: [ 3955.689071] usb 2-1.1: new full-speed USB device number 9 using ehci-pci
Apr 24 12:23:09 quaddy kernel: [ 3955.783434] usb 2-1.1: New USB device found, idVendor=12d1, idProduct=140b
Apr 24 12:23:09 quaddy kernel: [ 3955.783443] usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=4
Apr 24 12:23:09 quaddy kernel: [ 3955.783448] usb 2-1.1: Product: HUAWEI Mobile
Apr 24 12:23:09 quaddy kernel: [ 3955.783453] usb 2-1.1: Manufacturer: HUAÿWEI TECHNOLOGIES
Apr 24 12:23:09 quaddy kernel: [ 3955.783458] usb 2-1.1: SerialNumber: ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ
Apr 24 12:23:09 quaddy kernel: [ 3955.784391] usb-storage 2-1.1:1.0: USB Mass Storage device detected
Apr 24 12:23:09 quaddy kernel: [ 3955.784608] option 2-1.1:1.0: GSM modem (1-port) converter detected
Apr 24 12:23:09 quaddy kernel: [ 3955.784925] usb 2-1.1: GSM modem (1-port) converter now attached to ttyUSB0
Apr 24 12:23:09 quaddy kernel: [ 3955.785385] usb-storage 2-1.1:1.1: USB Mass Storage device detected
Apr 24 12:23:09 quaddy kernel: [ 3955.785691] option 2-1.1:1.1: GSM modem (1-port) converter detected
Apr 24 12:23:09 quaddy kernel: [ 3955.785943] usb 2-1.1: GSM modem (1-port) converter now attached to ttyUSB1
Apr 24 12:23:09 quaddy kernel: [ 3955.786271] usb-storage 2-1.1:1.2: USB Mass Storage device detected
Apr 24 12:23:09 quaddy kernel: [ 3955.786561] option 2-1.1:1.2: GSM modem (1-port) converter detected
Apr 24 12:23:09 quaddy kernel: [ 3955.786822] usb 2-1.1: GSM modem (1-port) converter now attached to ttyUSB2
Apr 24 12:23:09 quaddy kernel: [ 3955.786933] usb-storage 2-1.1:1.3: USB Mass Storage device detected
Apr 24 12:23:09 quaddy kernel: [ 3955.787542] scsi20 : usb-storage 2-1.1:1.3
Apr 24 12:23:09 quaddy mtp-probe: checking bus 2, device 9: "/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1"
Apr 24 12:23:09 quaddy mtp-probe: bus: 2, device: 9 was not an MTP device
Apr 24 12:23:09 quaddy ModemManager[701]: <warn>  (ttyUSB1): port attributes not fully set
Apr 24 12:23:09 quaddy ModemManager[701]: <warn>  (ttyUSB2): port attributes not fully set
Apr 24 12:23:09 quaddy ModemManager[701]: <warn>  (ttyUSB0): port attributes not fully set
Apr 24 12:23:10 quaddy usb_modeswitch: switched to 12d1:ffffffff on 002/008
Apr 24 12:23:10 quaddy kernel: [ 3956.787823] scsi 20:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 0
Apr 24 12:23:10 quaddy kernel: [ 3956.789660] scsi 20:0:0:1: Direct-Access     HUAWEI   SD Storage       2.31 PQ: 0 ANSI: 2
Apr 24 12:23:10 quaddy kernel: [ 3956.798813] sr1: scsi-1 drive
Apr 24 12:23:10 quaddy kernel: [ 3956.799032] sr 20:0:0:0: Attached scsi CD-ROM sr1
Apr 24 12:23:10 quaddy kernel: [ 3956.799130] sr 20:0:0:0: Attached scsi generic sg2 type 5
Apr 24 12:23:10 quaddy kernel: [ 3956.799427] sd 20:0:0:1: Attached scsi generic sg3 type 0
Apr 24 12:23:10 quaddy kernel: [ 3956.835675] sd 20:0:0:1: [sdb] Attached SCSI removable disk
Apr 24 12:23:11 quaddy usb_modeswitch[3860]: usb_modeswitch: switched to 12d1:140b on 2/9
Apr 24 12:23:12 quaddy usb_modeswitch[3860]: usb_modeswitch: add device ID 12d1:140b to driver option
Apr 24 12:23:12 quaddy usb_modeswitch[3860]: usb_modeswitch: please report the device ID to the Linux USB developers!
Apr 24 12:23:13 quaddy ModemManager[701]: <warn>  (ttyUSB1): port attributes not fully set
Apr 24 12:23:13 quaddy ModemManager[701]: <warn>  (ttyUSB2): port attributes not fully set
Apr 24 12:23:23 quaddy ModemManager[701]: <info>  Creating modem with plugin 'Huawei' and '3' ports
Apr 24 12:23:23 quaddy ModemManager[701]: <warn>  (ttyUSB2): port attributes not fully set
Apr 24 12:23:23 quaddy ModemManager[701]: <info>  Modem for device at '/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1' successfully created
Apr 24 12:23:23 quaddy ModemManager[701]: <warn>  Couldn't load unlock retries: 'SIM not inserted'
Apr 24 12:23:23 quaddy ModemManager[701]: <warn>  couldn't load list of Own Numbers: 'MDN from NV memory appears invalid'
Apr 24 12:23:23 quaddy ModemManager[701]: <warn>  couldn't load current Bands: 'Couldn't build bands array from '3''
Apr 24 12:23:23 quaddy ModemManager[701]: <info>  Modem: state changed (unknown -> disabled)
Apr 24 12:23:23 quaddy NetworkManager[897]: <warn> (ttyUSB2): failed to look up interface index
Apr 24 12:23:23 quaddy NetworkManager[897]: <info> (ttyUSB2): new Broadband device (driver: 'option1' ifindex: 0)
Apr 24 12:23:23 quaddy NetworkManager[897]: <info> (ttyUSB2): exported as /org/freedesktop/NetworkManager/Devices/4
Apr 24 12:23:23 quaddy NetworkManager[897]: <info> (ttyUSB2): device state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
Apr 24 12:23:23 quaddy NetworkManager[897]: <info> (ttyUSB2): deactivating device (reason 'managed') [2]
Apr 24 12:23:23 quaddy NetworkManager[897]: <info> NetworkManager state is now DISCONNECTED
Apr 24 12:23:23 quaddy NetworkManager[897]: <info> (ttyUSB2): device state change: unavailable -> disconnected (reason 'none') [20 30 0]

Este dispositivo tem suporte para SIM adicional, portanto, ttyUSB2 & amp; ttyUSB0 é CDMA

Eu tentei a solução aqui configurando o modem USB (Huawei EC156) no Ubuntu 13.10 também.

A pergunta é "Posso configurar manualmente o Network Manager para usar ttyUSB0 em vez de ttyUSB2"

Pode haver uma solução para dar algumas opções para especificar o modem correto e os comandos AT como um discador normal.

    
por windy_rider 24.04.2014 / 08:41

1 resposta

0

Foi identificado como modo de modem de dados sem fio pelo computador. Por isso, é necessário mudar esse modo para o modo de banda larga móvel. Essa mudança de modo é feita pelo pacote usb-modeswith . Confirme se o modo usb-modeswitch está instalado por:

dpkg --get-selections | grep -v deinstall

Isso listará os pacotes instalados. Veja tempo usb-modeswitch é thers. (Vá através da ordem alphebatical)

Se estiver presente, tente instalar todos os pacotes que os Huawei Broadband Modems precisam para funcionar corretamente.

sudo apt-get install python-pysqlite2 python-pysqlite2-doc python-pysqlite2-dbg hal python-messaging wader-core

Em seguida, instale também todos os pacotes que o network-manager precisa para funcionar corretamente. (Suas dependências)

sudo apt-get install multiarch-support dbus dnsmasq-base iproute2 iputils-arping isc-dhcp-client libc6 libdbus-1-3 libdbus-glib-1-2 libglib2.0-0 libgudev-1.0-0 libmm-glib0 libnl-3-200 libnl-genl-3-200 libnl-route-3-200 libnm-glib4 libnm-util2 libpolkit-gobject-1-0 libsoup2.4-1 libsystemd-login0 lsb-base policykit-1sysv-rc  udev wpasupplicant 
    
por user224082 23.05.2014 / 23:28