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

    Build pfSense for 3G-4G Sierra modem support

    Scheduled Pinned Locked Moved 2.2 Snapshot Feedback and Problems - RETIRED
    23 Posts 4 Posters 5.5k 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.
    • N
      nscheffer
      last edited by

      First result :
      It seems that the latest snapshot 2.2 ALPHA has u3g built-in to the kernel and the usie.ko is missing.
      Could we add like u3g the usie.ko module into the kernel on the next snapshot ?

      Thanks in advance.

      Regards

      Nicolas

      1 Reply Last reply Reply Quote 0
      • E
        eri--
        last edited by

        @stephenw10:

        There is the additional problem of pfSense not really liking USB NICs and especially not ones that disappear. If the modem goes into standby or gets disconnected then pfSense has no good way of dealing with the removal of one of its interfaces.

        Steve

        Why do you say that?
        It is not true, surely can be corner cases to be fixed though it is managed.

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

          Well it may have been fixed now I admit my experience was some time ago (like years!  ;)) However I was experimenting with a cdce device that appears as a network interface. I connected it, assigned it, all went well until the device went into standby effectively removing the NIC. pfSense became unusable until I forced a reboot at which point it understandably dumped me at the assign interfaces screen.
          As you say it's a corner case so you don't see me complaining, just something to be aware of. I guess as more and more 3g/4g modems switch to an 'ethernet' mode it may become more of an issue.

          Steve

          1 Reply Last reply Reply Quote 0
          • E
            eri--
            last edited by

            Yeah just report it if it has not already been done.

            That way it can be fixed to work correctly :)

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

              I figured 'My Sharp Zaurus doesn't work as a NIC' wouldn't get much traction on redmine.  ;)
              It seems like it would be quite a lot of work to allow for an interface that may disappear completely at any time.

              Back on topic. nscheffer, did you try copying the usie.ko modeule from a FreeBSD 10 box?

              Steve

              1 Reply Last reply Reply Quote 0
              • N
                nscheffer
                last edited by

                Stephenw10,

                Yes, I install a fresh FreeBSD on my Mac with VMWare.
                I was able to copy the usie.ko module and associated seen with kldstat but it seems that the u3g is already built into the kernel and when i load the usie.ko manually i don't see the interface in the log.
                I will try again tonight and this week-end.
                Where i need to specify to load at boot the usie.ko (loader.conf or loader.conf.locale) ?
                I suppose i need to add usie_load="YES" ?

                Nicolas

                1 Reply Last reply Reply Quote 0
                • E
                  eri--
                  last edited by

                  @stephenw10:

                  I figured 'My Sharp Zaurus doesn't work as a NIC' wouldn't get much traction on redmine.  ;)
                  It seems like it would be quite a lot of work to allow for an interface that may disappear completely at any time.

                  Steve

                  Surely that is teh same as openvpn or other ppp things no?

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

                    You tell me Ermal!  ;)
                    From my uninformed point of view an interface like ppp or vpn has a parent interface which is always present. A USB NIC can be completely removed, and a separately powered USB interface like cdce can behave in other unusual ways.

                    Steve

                    1 Reply Last reply Reply Quote 0
                    • N
                      nscheffer
                      last edited by

                      Working working working working YES YES YES
                      With the latest snapshot !

                      Thanks a lot pfSense Team and all…

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

                        Nice.  :)
                        So usie is now included? And is it assigned as an intreface like a NIC?
                        With reference to my above exchange with Ermal, what happens if you turn it off or unplug whilst it's assigned?

                        Steve

                        1 Reply Last reply Reply Quote 0
                        • Raul RamosR
                          Raul Ramos
                          last edited by

                          My huawei E382-u12 re-plug very good but with another modem port.

                          When pfsense start is cuaU0.x, when i re-plug change to cuaU1.x. Three things can happen, or i change modem port in the interface or i  re-plug again and change back to cuaU0.x or i reboot pfsense. If i change modem port on interface, next restart i have to change back to cuaU0.x.

                          pfSense:
                          ASRock -> Wolfdale1333-D667 (2GB TeamElite Ram)
                          Marvell 88SA8040 Sata to CF(Sandisk 4GB) Controller
                          NIC's: RTL8100E (Internal ) and Intel® PRO/1000 PT Dual (Intel 82571GB)

                          1 Reply Last reply Reply Quote 0
                          • N
                            nscheffer
                            last edited by

                            Steve,

                            In fact the previous 2.2 ALPHA was crashing when trying to add a ppp interface, the latest not.
                            I just re-install from scratch the pfSense 2.2 ALPHA (today latest release) and try to add a ppp interface and got the modem connected immediately.

                            I am not using u3g and the usie ethernet interface but the ppp daemon.
                            The benefit is to have the card recognize as a 3G modem with the dial facility and not an ethernet interface.
                            I will do some test to see if there is a ppp bottleneck with 3G+ (up to 42Mbs) and 4G-LTE.
                            In // i also would like to have the Direct IP mode (usie.ko) working with pfSense.

                            Thanks again for your help.

                            Regards

                            Nicolas

                            1 Reply Last reply Reply Quote 0
                            • Raul RamosR
                              Raul Ramos
                              last edited by

                              To configure my modem (ppp) i don't use the PPPs advanced settings. For any reason each time o go to interfaces_ppps_edit.php my pen is restarted, i see that in console, and was identified with another port, instead of cuaU0.x changed to cuaU1.x like you are re-plug the pen. I ended using the config in Interface name "interfaces.php?if=opt1" only. This is on the initial 2.2 snaps now i don't know i have to test it.

                              pfSense:
                              ASRock -> Wolfdale1333-D667 (2GB TeamElite Ram)
                              Marvell 88SA8040 Sata to CF(Sandisk 4GB) Controller
                              NIC's: RTL8100E (Internal ) and Intel® PRO/1000 PT Dual (Intel 82571GB)

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