Alcatel Onetouch 4G L850V LTE USB modem it is not visible in the PPP configuration



  • I have Alcatel Onetouch 4G L850V and it's connected to the firewall. When trying to configure it as PPP in the links interfaces only appears /dev/cuau0 and /dev/cuau1:

    Here is the device data:

    /root: usbconfig
    ugen1.1: <AMD EHCI root HUB> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA)
    ugen0.1: <0x1022 XHCI root HUB> at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA)
    ugen1.2: <vendor 0x0438 product 0x7900> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (100mA)
    ugen0.2: <Alcatel MobileBroadBand> at usbus0, cfg=255 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA)
    

    The PFsense recognizes it as ugen0.2

    /root: usbconfig -d ugen0.2 dump_device_desc
    ugen0.2: <Alcatel MobileBroadBand> at usbus0, cfg=255 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA)
    
      bLength = 0x0012
      bDescriptorType = 0x0001
      bcdUSB = 0x0201
      bDeviceClass = 0x0000  <Probed by interface class>
      bDeviceSubClass = 0x0000
      bDeviceProtocol = 0x0000
      bMaxPacketSize0 = 0x0040
      idVendor = 0x1bbb
      idProduct = 0xf000
     bcdDevice = 0x0228
    
     iManufacturer = 0x0001  <retrieving string failed>
     iProduct = 0x0002  <MobileBroadBand>
     iSerialNumber = 0x0003  <0123456789ABCDEF>
     bNumConfigurations = 0x0001
    

    And...

     /root: usbconfig -d ugen0.2 dump_all_config_desc
     ugen0.2: <Alcatel MobileBroadBand> at usbus0, cfg=255 md=HOST spd=HIGH (480Mbps) 
     pwr=ON (500mA)
    
    
    Configuration index 0
    
    bLength = 0x0009
    bDescriptorType = 0x0002
    wTotalLength = 0x0020
    bNumInterfaces = 0x0001
    bConfigurationValue = 0x0001
    iConfiguration = 0x0000  <no string>
    bmAttributes = 0x0080
    bMaxPower = 0x00fa
    
    Interface 0
      bLength = 0x0009
      bDescriptorType = 0x0004
      bInterfaceNumber = 0x0000
      bAlternateSetting = 0x0000
      bNumEndpoints = 0x0002
      bInterfaceClass = 0x0008  <Mass storage>
      bInterfaceSubClass = 0x0006
      bInterfaceProtocol = 0x0050
      iInterface = 0x0004  <Mass Storage>
    
     Endpoint 0
        bLength = 0x0007
        bDescriptorType = 0x0005
        bEndpointAddress = 0x0001  <OUT>
        bmAttributes = 0x0002  <BULK>
        wMaxPacketSize = 0x0200
        bInterval = 0x0001
        bRefresh = 0x0000
        bSynchAddress = 0x0000
    
     Endpoint 1
        bLength = 0x0007
        bDescriptorType = 0x0005
        bEndpointAddress = 0x0081  <IN>
        bmAttributes = 0x0002  <BULK>
        wMaxPacketSize = 0x0200
        bInterval = 0x0000
        bRefresh = 0x0000
        bSynchAddress = 0x0000
    

    I try to change the mode of the device but:

     /root: usb_modeswitch -v 1bbb -p f000 -c /usr/local/share/usb_modeswitch/1bbb:f000
     Look for target devices ...
        No devices in target mode or class found
     Look for default devices ...
        Found devices in default mode (1)
    Access device 002 on bus 000
    Get the current device configuration ...
    Determining the active configuration failed (error -5). Abort
    

    Any idea?
    Thanks



  • I buy this LTE modem because it is in the list of moden 3G / 4G compatible at https://www.netgate.com/docs/pfsense/cellular/known-working-3g-4g-modems.html

    My idea is to use this device as a backup WAN line connection.

    Thanks


  • Netgate Administrator

    What do you have in that config file?

    Unfortunately a lot of manufacturers change the firmware or even hardware of devices without changing the model name.

    That device is listed here as something different:
    https://github.com/pfsense/FreeBSD-src/blob/293707af843ce1b4208eed3b8427b72356ea06f0/sys/dev/usb/usbdevs#L4415

    You may be able to change it's mode permanently in another OS.

    Steve



  • Hello Stephenw:

    When I connect the dongle:

    Sep 20 08:37:49	kernel		ugen0.2: <Alcatel MobileBroadBand> at usbus0
    Sep 20 08:37:49	kernel		umass0 on uhub1
    Sep 20 08:37:49	kernel		umass0: <Mass Storage> on usbus0
    Sep 20 08:37:49	kernel		da0 at umass-sim0 bus 0 scbus2 target 0 lun 0
    Sep 20 08:37:49	kernel		da0: <ONETOUCH ESTORIL 2.31> Removable Direct Access SCSI-2 device
    Sep 20 08:37:49	kernel		da0: 40.000MB/s transfers
    Sep 20 08:37:49	kernel		da0: Attempt to query device size failed: NOT READY, Medium not present
    Sep 20 08:37:49	kernel		da0: quirks=0x2<NO_6_BYTE>
    

    If you notice the system recognizes the dongle as if it were a usb memory
    And...

    cat fstab
    /dev/gptid/5773b079-96ac-11e7-bc1b-000db94b25b4 /       ufs     rw      1       1
    /dev/gptid/5776e157-96ac-11e7-bc1b-000db94b25b4 none    swap    sw      0       0
    
    /etc: camcontrol devlist
    <SATA SSD SBFM01.1>                at scbus0 target 0 lun 0 (pass0,ada0)
    <ONETOUCH ESTORIL 2.31>            at scbus2 target 0 lun 0 (da0,pass1)
    

    And the configuration files have not been touched and I am not config PPP.

    Any suggestions?
    Regards


  • Netgate Administrator

    You are using the configuration file /usr/local/share/usb_modeswitch/1bbb:f000 with usb_modeswitch though.
    What's in that file?

    Steve



  • @stephenw10
    I use that command to try to change the way of working of the dongle since this file is the one according to the vendor and the product in question. That's the command to change mode of work which is described on https://www.netgate.com/docs/pfsense/cellular/known-working-3g-4g-modems.html#modems-reported-to-work-as-ethernet-devices, but for Alcatel L850v theoretically
    .
    Regards
    Yanlb


  • Netgate Administrator

    Right I understand that. It looks like you need to switch the device to PID 0x0017.

    But your command is referencing a config file here /usr/local/share/usb_modeswitch/1bbb:f000 what have you put in that file for usb_modeswitch to use? Or what is in it by default?

    Steve


  • Netgate Administrator

    Or maybe pid 0x0195 for newer versions.

    http://www.draisberghof.de/usb_modeswitch/bb/viewtopic.php?p=15496#p15496

    Looks like that will give you an RNDIS device which you should be able to use with that kernel module loaded.

    Steve



  • By default. And I tried (to test) with 1bbb:000f , 1bbb:00ca , 1bbb:011f , 1bbb:022c , 1bbb:025e , 1bbb:f000 , 1bbb:f017 , 1bbb:f052 and the same result.

    @stephenw10 said in Alcatel Onetouch 4G L850V LTE USB modem it is not visible in the PPP configuration:

    Right I understand that. It looks like you need to switch the device to PID 0x0017.
    But your command is referencing a config file here /usr/local/share/usb_modeswitch/1bbb:f000 what have you put in that file for usb_modeswitch to use? Or what is in it by default?



  • @stephenw10

    Very interesting but it generates this error:

     usb_modeswitch                                                                                -W -v 1bbb -p f000 -V 1bbb -P 0195 --message-content 55534243123456788000000080000606f504025270                                                                               00000000000000000000
     Take all parameters from the command line
    
    
    * usb_modeswitch: handle USB devices with multiple modes
    * Version 2.5.2 (C) Josua Dietze 2017
    * Based on libusb1/libusbx
    
    ! PLEASE REPORT NEW CONFIGURATIONS !
    
    DefaultVendor=  0x1bbb
    DefaultProduct= 0xf000
    TargetVendor=   0x1bbb 
    TargetProduct=  0x0195
    
    MessageContent="55534243123456788000000080000606f50402527000000000000000000000"
    
     Look for target devices ...
     found USB ID 0000:0000
     found USB ID 0000:0000
     found USB ID 0438:7900
     found USB ID 1bbb:f000
     vendor ID matched
     No devices in target mode or class found
    Look for default devices ...
    found USB ID 0000:0000
    found USB ID 0000:0000
    found USB ID 0438:7900
    found USB ID 1bbb:f000
    vendor ID matched
    product ID matched
    Found devices in default mode (1)
    Access device 002 on bus 000
    Get the current device configuration ...
    Determining the active configuration failed (error -5). Abort
    

    And my system is:
    2.4.3-RELEASE-p1 (amd64)
    FreeBSD 11.1-RELEASE-p10

    Looks like that will give you an RNDIS device which you should be able to use with that kernel module loaded.

    Yes, that's what I think. The system recognizes it as if it were another device, a USB memory.


  • Netgate Administrator

    That was the output of running at the command line without a referenced config file?

    It looks like it's having a hard time reading the config value though I'm not sure why since usbconfig is reporting it. Potentially some Linuxism.

    It has a uSD card slot so it should always appeat as a storage device in addition to whatever else it presents.

    Steve



  • No, that was the output of running with 1bbb:f000. I'm still trying to make it work but I have not succeeded
    Thank you in advance for your help


  • Netgate Administrator

    Have you upgraded to 2.4.4 yet? Are you seeing the same error there?

    Steve