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

    Using a USB modem

    Problems Installing or Upgrading pfSense Software
    6
    24
    5.2k
    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

      Did you check /dev for new ports as u3g is reporting?

      Steve

      1 Reply Last reply Reply Quote 0
      • B
        Balanga
        last edited by

        Actually I was certain I had included that with my last post, but since it isn't there…

        Here's the output from ls -ls /dev

        total 6
        0 crw-r–r--  1 root  wheel    0x26 May 16 11:27 acpi
        0 crw-r-----  1 root  operator  0x5f May 16 11:27 ada0
        0 crw-r-----  1 root  operator  0x65 May 16 11:27 ada0s1
        0 crw-r-----  1 root  operator  0x66 May 16 11:27 ada0s2
        0 crw-rw-r--  1 root  operator  0x28 May 16 11:27 apm
        0 crw-rw----  1 root  operator  0x27 May 16 11:27 apmctl
        0 crw-------  1 root  wheel    0x38 May 16 11:27 atkbd0
        0 crw-------  1 root  kmem      0x17 May 16 11:27 audit
        0 crw-------  1 root  wheel    0x16 May 16 11:27 auditpipe
        0 crw-------  1 root  wheel      0xc May 16 11:27 bpf
        0 lrwxr-xr-x  1 root  wheel        3 May 16 11:27 bpf0 -> bpf
        0 crw-rw-rw-  1 root  wheel    0x3b May 16 11:27 bpsm0
        0 crw-r-----  1 root  operator  0xaf May 16 11:31 cd0
        0 crw-------  1 root  wheel      0x8 May 16 11:28 console
        0 crw-------  1 root  wheel      0xe May 16 11:27 consolectl
        0 crw-rw-rw-  1 root  wheel      0xb May 16 11:27 ctty
        0 crw-rw----  1 uucp  dialer    0x2d May 16 11:27 cuau2
        0 crw-rw----  1 uucp  dialer    0x2e May 16 11:27 cuau2.init
        0 crw-rw----  1 uucp  dialer    0x2f May 16 11:27 cuau2.lock
        0 crw-r-----  1 root  operator  0x85 May 16 11:27 da0
        0 crw-r-----  1 root  operator  0x86 May 16 11:27 da0p1
        0 crw-r-----  1 root  operator  0x87 May 16 12:28 da0p2
        0 crw-r-----  1 root  operator  0x88 May 16 11:27 da0p3
        0 crw-r-----  1 root  operator  0x89 May 16 11:27 da0p4
        0 crw-r-----  1 root  operator  0x8a May 16 11:27 da0p5
        0 crw-r-----  1 root  operator  0x8b May 16 11:27 da0p6
        0 crw-r-----  1 root  operator  0x64 May 16 12:27 da0p7
        0 crw-r-----  1 root  operator  0x8c May 16 12:27 da0p8
        0 crw-r-----  1 root  operator  0x8d May 16 12:27 da0p9
        0 crw-r-----  1 root  operator  0xb1 May 16 11:31 da2
        0 crw-r-----  1 root  operator  0xb3 May 16 11:31 da2p1
        0 crw-r-----  1 root  operator  0xb4 May 16 11:31 da2p2
        0 crw-r-----  1 root  operator  0xb5 May 16 11:31 da2p3
        0 crw-------  1 root  wheel      0x9 May 16 11:27 devctl
        0 crw-------  1 root  wheel      0xa May 16 11:27 devctl2
        0 cr--r--r--  1 root  wheel    0x4f May 16 11:27 devstat
        1 dr-xr-xr-x  2 root  wheel      512 May 16 11:27 diskid
        1 dr-xr-xr-x  2 root  wheel      512 May 16 11:27 fd
        0 crw-------  1 root  wheel    0x10 May 16 11:27 fido
        0 crw-rw-rw-  1 root  wheel    0x19 May 16 11:27 full
        0 crw-r-----  1 root  operator  0x4 May 16 11:27 geom.ctl
        1 dr-xr-xr-x  2 root  wheel      512 May 16 12:27 gpt
        1 dr-xr-xr-x  2 root  wheel      512 May 16 12:27 gptid
        0 crw-------  1 root  wheel    0x29 May 16 11:27 hpet0
        0 crw-------  1 root  wheel    0x23 May 16 11:27 io
        1 dr-xr-xr-x  2 root  wheel      512 May 16 11:31 iso9660
        0 crw-------  1 root  wheel    0x31 May 16 11:27 iwn0
        0 lrwxr-xr-x  1 root  wheel        6 May 16 11:27 kbd0 -> atkbd0
        0 lrwxr-xr-x  1 root  wheel        7 May 16 11:27 kbd1 -> kbdmux0
        0 crw-------  1 root  wheel    0x11 May 16 11:27 kbdmux0
        0 crw-------  1 root  wheel    0x24 May 16 11:27 klog
        0 crw-r-----  1 root  kmem      0x14 May 16 11:27 kmem
        1 dr-xr-xr-x  2 root  wheel      512 May 16 11:27 led
        0 lrwxr-xr-x  1 root  wheel      12 May 16 11:28 log -> /var/run/log
        0 crw-------  1 root  wheel    0x45 May 16 11:27 mdctl
        0 crw-r-----  1 root  kmem      0x13 May 16 11:27 mem
        0 crw-rw-rw-  1 root  wheel    0x25 May 16 11:27 midistat
        0 crw-rw-rw-  1 root  wheel    0x41 May 16 11:27 mixer0
        0 crw-rw-rw-  1 root  wheel    0x42 May 16 11:27 mixer1
        0 crw-rw-rw-  1 root  wheel    0x43 May 16 11:27 mixer2
        0 crw-rw-rw-  1 root  wheel    0x44 May 16 11:27 mixer3
        1 dr-xr-xr-x  2 root  wheel      512 May 16 12:27 msdosfs
        0 crw-------  1 root  wheel    0x18 May 16 11:27 netmap
        0 crw-------  1 root  kmem      0x15 May 16 11:27 nfslock
        0 crw-------  1 root  operator  0x8e May 16 11:28 nsmb
        1 dr-xr-xr-x  2 root  wheel      512 May 16 11:27 ntfs
        0 crw-rw-rw-  1 root  wheel    0x1a May 16 11:33 null
        0 crw-------  1 root  operator  0x50 May 16 11:27 pass0
        0 crw-------  1 root  operator  0x51 May 16 11:27 pass1
        0 crw-------  1 root  operator  0x84 May 16 11:27 pass2
        0 crw-------  1 root  operator  0xae May 16 11:31 pass4
        0 crw-------  1 root  operator  0xb0 May 16 11:31 pass5
        0 crw-r--r--  1 root  wheel    0x22 May 16 11:27 pci
        0 crw-rw-rw-  1 root  wheel    0x3a May 16 11:27 psm0
        1 dr-xr-xr-x  2 root  wheel      512 May 16 11:30 pts
        0 crw-r--r--  1 root  wheel      0x6 May 16 11:28 random
        1 dr-xr-xr-x  2 root  wheel      512 May 16 11:27 reroot
        0 crw-------  1 root  operator  0x52 May 16 11:27 ses0
        0 crw-r--r--  1 root  wheel      0x5 May 16 11:27 sndstat
        0 lrwxr-xr-x  1 root  wheel        4 May 16 11:27 stderr -> fd/2
        0 lrwxr-xr-x  1 root  wheel        4 May 16 11:27 stdin -> fd/0
        0 lrwxr-xr-x  1 root  wheel        4 May 16 11:27 stdout -> fd/1
        0 crw-------  1 root  wheel      0xf May 16 11:27 sysmouse
        0 crw-------  1 root  wheel    0x2a May 16 11:27 ttyu2
        0 crw-------  1 root  wheel    0x2b May 16 11:27 ttyu2.init
        0 crw-------  1 root  wheel    0x2c May 16 11:27 ttyu2.lock
        0 crw-------  1 root  tty      0x53 May 16 11:33 ttyv0
        0 crw-------  1 root  wheel    0x54 May 16 11:28 ttyv1
        0 crw-------  1 root  wheel    0x55 May 16 11:28 ttyv2
        0 crw-------  1 root  wheel    0x56 May 16 11:28 ttyv3
        0 crw-------  1 root  wheel    0x57 May 16 11:28 ttyv4
        0 crw-------  1 root  wheel    0x58 May 16 11:28 ttyv5
        0 crw-------  1 root  wheel    0x59 May 16 11:28 ttyv6
        0 crw-------  1 root  wheel    0x5a May 16 11:28 ttyv7
        0 crw-------  1 root  wheel    0x5b May 16 11:27 ttyv8
        0 crw-------  1 root  wheel    0x5c May 16 11:27 ttyv9
        0 crw-------  1 root  wheel    0x5d May 16 11:27 ttyva
        0 crw-------  1 root  wheel    0x5e May 16 11:27 ttyvb
        1 dr-xr-xr-x  2 root  wheel      512 May 16 12:27 ufsid
        0 crw-------  1 root  wheel    0x3c May 16 11:27 ufssuspend
        0 lrwxr-xr-x  1 root  wheel        9 May 16 11:27 ugen0.1 -> usb/0.1.0
        0 lrwxr-xr-x  1 root  wheel        9 May 16 11:27 ugen0.2 -> usb/0.2.0
        0 lrwxr-xr-x  1 root  wheel        9 May 16 11:27 ugen0.3 -> usb/0.3.0
        0 lrwxr-xr-x  1 root  wheel        9 May 16 11:27 ugen0.4 -> usb/0.4.0
        0 lrwxr-xr-x  1 root  wheel        9 May 16 11:27 ugen1.1 -> usb/1.1.0
        0 lrwxr-xr-x  1 root  wheel        9 May 16 11:27 ugen1.2 -> usb/1.2.0
        0 lrwxr-xr-x  1 root  wheel        9 May 16 11:27 ugen2.1 -> usb/2.1.0
        0 lrwxr-xr-x  1 root  wheel        9 May 16 11:27 ugen2.2 -> usb/2.2.0
        0 lrwxr-xr-x  1 root  wheel        9 May 16 11:31 ugen2.3 -> usb/2.3.0
        0 lrwxr-xr-x  1 root  wheel        6 May 16 11:27 urandom -> random
        1 dr-xr-xr-x  2 root  wheel      512 May 16 11:27 usb
        0 crw-r--r--  1 root  operator  0x3f May 16 11:27 usbctl
        0 crw-------  1 root  operator  0x40 May 16 11:27 xpt0
        0 crw-rw-rw-  1 root  wheel    0x1b May 16 11:27 zero

        1 Reply Last reply Reply Quote 0
        • B
          Balanga
          last edited by

          From what I can make out, I think I need to install the USB_ModeSwitch pkg to get the modem to act as an NDIS device, but am unclear as to how to do this. There seem to be a number of posts about how to get to a USB modem working with pfSense but none of them seem definitive.

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

            Hmmm, that was with the modem connected?

            I'm surprised to see u3g log it's found ports but not actually see any in /dev.

            Steve

            1 Reply Last reply Reply Quote 0
            • B
              Balanga
              last edited by

              Using my original pfSense box, the following entry gets added to 'ls -ls /dev' when I insert the Huawei modem:-

              0  lrwxr-xr-x  1  root  wheel  9 May 17 20:16 ugen0.4 -> usb/0.4.0

              Still not sure what I'm looking for…

              1 Reply Last reply Reply Quote 0
              • B
                Balanga
                last edited by

                Reading the following post:-

                https://lists.freebsd.org/pipermail/freebsd-wireless/2016-April/006660.html

                I believe I should have my modem configured as ue0, although I don't not yet know how to do this…

                The question I have is, do I need to 'Switch the E3372 to  cdce using usb_modeswitch'? Still not sure about which 'modes' I can switch between...

                1 Reply Last reply Reply Quote 0
                • F
                  FranciscoFranco
                  last edited by

                  usb_modeswitch is nothing more than a software hack. You really should change the 'composition' of your devices firmware.

                  What does AT^DATALOCK? show? Perhaps it is vendor locked.

                  1 Reply Last reply Reply Quote 0
                  • B
                    Balanga
                    last edited by

                    @FranciscoFranco:

                    usb_modeswitch is nothing more than a software hack. You really should change the 'composition' of your devices firmware.

                    What does AT^DATALOCK? show? Perhaps it is vendor locked.

                    Can you illuminate how I change the 'composition' and what I should change it too. I'm pretty much in the dark when it comes to dealing with such devices.

                    AT^DATALOCK? shows

                    ^DATALOCK: 1

                    Not sure what this means, but I've used a number of different SIMS with this modem without any problem on Windows using the supplied app - Mobile Partner.

                    1 Reply Last reply Reply Quote 0
                    • F
                      FranciscoFranco
                      last edited by

                      Andrew talks about the composition in the last post in this thread:
                      https://forum.pfsense.org/index.php?topic=105842.0

                      I would put the newest firmware on it first.

                      1 Reply Last reply Reply Quote 0
                      • B
                        Balanga
                        last edited by

                        Thanks for the link you provided. I don't really understand the requirements. I don't have a userid/password and it's odd that I can simply put the SIM in my Lenovo tablet and it simply connects…

                        As for the latest firmware, I don't see a link on Huawei's website http://consumer.huawei.com/en/mobile-broadband/dongles/tech-specs/e3372.htm

                        And the number of versions of the firmware here is very confusing

                        http://www.huaweiflashfiles.com/p/download-original-official-huawei.html#

                        1 Reply Last reply Reply Quote 0
                        • D
                          dawsmac
                          last edited by

                          @Balanga

                          Did you get you Dongle working in the end? if so what guide did you follow?

                          Cheers

                          Rich

                          1 Reply Last reply Reply Quote 0
                          • R
                            remlei
                            last edited by

                            it's probably just the usbmodeswitch is not updated yet to work on your usb modem.

                            you can try sending a AT command on the huawei modem to set it as a modem mode only instead of hybrid mode (eg CD+Memstick >> Drivers and dashboard detected to be installed >> CD+Memstick+Data).

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