Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

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

    Scheduled Pinned Locked Moved Hardware
    14 Posts 3 Posters 2.9k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • stephenw10S
      stephenw10 Netgate Administrator
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • Y
        yanlb
        last edited by

        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

        1 Reply Last reply Reply Quote 0
        • stephenw10S
          stephenw10 Netgate Administrator
          last edited by

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

          Steve

          Y 1 Reply Last reply Reply Quote 0
          • Y
            yanlb @stephenw10
            last edited by

            @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

            1 Reply Last reply Reply Quote 0
            • stephenw10S
              stephenw10 Netgate Administrator
              last edited by

              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

              Y 1 Reply Last reply Reply Quote 0
              • stephenw10S
                stephenw10 Netgate Administrator
                last edited by stephenw10

                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

                Y 1 Reply Last reply Reply Quote 0
                • Y
                  yanlb @stephenw10
                  last edited by

                  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?

                  1 Reply Last reply Reply Quote 0
                  • Y
                    yanlb @stephenw10
                    last edited by

                    @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.

                    1 Reply Last reply Reply Quote 0
                    • stephenw10S
                      stephenw10 Netgate Administrator
                      last edited by stephenw10

                      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

                      1 Reply Last reply Reply Quote 0
                      • Y
                        yanlb
                        last edited by

                        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

                        1 Reply Last reply Reply Quote 0
                        • stephenw10S
                          stephenw10 Netgate Administrator
                          last edited by

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

                          Steve

                          1 Reply Last reply Reply Quote 0
                          • M
                            milew
                            last edited by

                            I have modem Alcatel OneTouch l850v
                            idVendor=0x1bbb
                            idProduct=0x0195
                            PFSense version 2.4.4-RELEASE-p1

                            This modem work if load module if_urndis.ko. I copy this module from another FreeBsd installed system 11.2. This file is in /etc/boot/kernel/if_urndis.ko
                            After load module modem is ue0: network interface, and autoconnect to Internet.
                            You must disable PIN to sim card.

                            1 Reply Last reply Reply Quote 1
                            • First post
                              Last post
                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.