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

    APU1D with LTE Huawei ME909u-521

    Scheduled Pinned Locked Moved Hardware
    167 Posts 14 Posters 79.6k 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.
    • ?
      Guest
      last edited by

      Since the kernel embeds all the modules, you need to compile the whole kernel.

      Is this with just pfSense or all FreeBSD?

      In Freebsd, I tried compiling just u3g with its makefile and then copied my modified module u3g.ko over to /boot/kernel/modules folder. Did not seem to work so i assume i need to compile the whole thing with make buildkernel and make installkernel run from /usr/src folder. My modified u3g was smaller in size by 10Kb. I see a u3g.ko.symbols as well and am cluesless.

      Can i just recompile u3g or do I need to do it all? usbdevs file does not need compiling or does it?? Seems like a text file.

      I really don't want old kernel/backup and just want to fixup current one. Am i doing this right?

      Can I recompile a kernel that i am currently booted to and if not then is that why the man has you work on the MYKERNEL?

      I am using this but without a config file:
      https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html
      I just want to rebuild Freebsd current kernel, is that doable or wrong way to do it. If it don't work i will just wipe it.

      1 Reply Last reply Reply Quote 0
      • ?
        Guest
        last edited by

        In Freebsd, I tried compiling just u3g with its makefile and then copied my modified module u3g.ko over to /boot/kernel/modules folder.

        Perhaps, it would be not running because the driver was for another version of FreeBSD, can this be? (8.3 / 10.1)

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

          Since the original kernel is compiled with the u3g module embedded, you have to compile a new kernel.

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

            Great result, nice job!  :)

            Steve

            1 Reply Last reply Reply Quote 0
            • ?
              Guest
              last edited by

              I would like to test the Huawei ME909u-523 as that is for North America market. It seems to be rather rare. The bands on the EU version are not the same. The 523 supports LTE on B2, B4, B17 for ATT and Tmobile here.

              I wonder if the PID is the same as your module…

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

                Can you please open a new thread for this module ?

                Then I will try answer to help

                1 Reply Last reply Reply Quote 0
                • S
                  SimonBu
                  last edited by

                  beeloo,

                  is it possible that you post a short manual what we have to do to get the ME909 running in PF?!

                  Many Thanks !!!

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

                    Did you check at the following post ?
                    https://forum.pfsense.org/index.php?topic=86064.msg543091#msg543091

                    If you have kernel compilation experience, that's quite easy.

                    1 Reply Last reply Reply Quote 0
                    • S
                      SimonBu
                      last edited by

                      I do not realy have experience in Kernel compilation ;-(

                      And it´s a grate topic to learn all this stuff. I only want to run this LTE Modem ;-)

                      Did you make other changes in your Kernel or only the Modem? Maby you can provide me your Kernel?

                      1 Reply Last reply Reply Quote 0
                      • S
                        SimonBu
                        last edited by

                        Ok i have compaild it now.

                        Now i have 5 new interfaces in the ppp menu

                        cuaU0.0
                        cuaU0.1
                        cuaU0.2
                        cuaU0.3
                        cuaU0.4

                        but i can´t establish a connection ;-(

                        Sep 16 19:02:07 ppp: [opt3_link0] MODEM: chat script failed
                        Sep 16 19:02:07 ppp: [opt3_link0] Link: DOWN event
                        Sep 16 19:02:07 ppp: [opt3_link0] LCP: Down event
                        Sep 16 19:02:07 ppp: [opt3_link0] Link: reconnection attempt 215 in 2 seconds
                        Sep 16 19:02:09 ppp: [opt3_link0] Link: reconnection attempt 215
                        Sep 16 19:02:10 ppp: [opt3_link0] CHAT: +CGDCONT=1,"IP","web.vodafone.de"
                        Sep 16 19:02:10 ppp: [opt3_link0] CHAT: Detected Hayes compatible modem.
                        Sep 16 19:02:10 ppp: [opt3_link0] CHAT: The modem responded with "ERROR" to the command "AT&F&C1&D2E0S0=0M1" at ModemCmd: label.
                        Sep 16 19:02:10 ppp: [opt3_link0] MODEM: chat script failed
                        Sep 16 19:02:10 ppp: [opt3_link0] Link: DOWN event
                        Sep 16 19:02:10 ppp: [opt3_link0] LCP: Down event
                        Sep 16 19:02:10 ppp: [opt3_link0] Link: reconnection attempt 216 in 2 seconds
                        Sep 16 19:02:12 ppp: [opt3_link0] Link: reconnection attempt 216

                        does anyone have an idea?

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

                          I'm not really sure to know why you get that error, but…

                          ...did you correctly select the /dev/cuaU0.2 port in the PPP interface ?

                          1 Reply Last reply Reply Quote 0
                          • S
                            SimonBu
                            last edited by

                            i tryed every interface ;-(

                            /dev/cuaU0.2

                            number *99#

                            apn  web.vodafone.de

                            log:

                            Sep 16 19:40:49 ppp: [opt3_link0] LCP: Down event
                            Sep 16 19:40:49 ppp: [opt3_link0] Link: reconnection attempt 2 in 1 seconds
                            Sep 16 19:40:50 ppp: [opt3_link0] Link: reconnection attempt 2
                            Sep 16 19:40:52 ppp: [opt3_link0] CHAT: +CGDCONT=1,"IP","web.vodafone.de"
                            Sep 16 19:40:52 ppp: [opt3_link0] CHAT: Detected Hayes compatible modem.
                            Sep 16 19:40:52 ppp: [opt3_link0] CHAT: The modem responded with "ERROR" to the command "AT&F&C1&D2E0S0=0M1" at ModemCmd: label.
                            Sep 16 19:40:52 ppp: [opt3_link0] MODEM: chat script failed
                            Sep 16 19:40:52 ppp: [opt3_link0] Link: DOWN event
                            Sep 16 19:40:52 ppp: [opt3_link0] LCP: Down event
                            Sep 16 19:40:52 ppp: [opt3_link0] Link: reconnection attempt 3 in 4 seconds
                            Sep 16 19:40:56 ppp: [opt3_link0] Link: reconnection attempt 3
                            Sep 16 19:40:56 ppp: [opt3_link0] CHAT: +CGDCONT=1,"IP","web.vodafone.de"
                            Sep 16 19:40:56 ppp: [opt3_link0] CHAT: Detected Hayes compatible modem.
                            Sep 16 19:40:56 ppp: [opt3_link0] CHAT: The modem responded with "ERROR" to the command "AT&F&C1&D2E0S0=0M1" at ModemCmd: label.
                            Sep 16 19:40:56 ppp: [opt3_link0] MODEM: chat script failed
                            Sep 16 19:40:56 ppp: [opt3_link0] Link: DOWN event
                            Sep 16 19:40:56 ppp: [opt3_link0] LCP: Down event
                            Sep 16 19:40:56 ppp: [opt3_link0] Link: reconnection attempt 4 in 2 seconds
                            Sep 16 19:40:58 ppp: [opt3_link0] Link: reconnection attempt 4
                            Sep 16 19:40:59 ppp: [opt3_link0] CHAT: +CGDCONT=1,"IP","web.vodafone.de"
                            Sep 16 19:40:59 ppp: [opt3_link0] CHAT: Detected Hayes compatible modem.
                            Sep 16 19:40:59 ppp: [opt3_link0] CHAT: The modem responded with "ERROR" to the command "AT&F&C1&D2E0S0=0M1" at ModemCmd: label.
                            Sep 16 19:40:59 ppp: [opt3_link0] MODEM: chat script failed
                            Sep 16 19:40:59 ppp: [opt3_link0] Link: DOWN event
                            Sep 16 19:40:59 ppp: [opt3_link0] LCP: Down event
                            Sep 16 19:40:59 ppp: [opt3_link0] Link: reconnection attempt 5 in 4 seconds
                            Sep 16 19:41:03 ppp: [opt3_link0] Link: reconnection attempt 5
                            Sep 16 19:41:03 ppp: [opt3_link0] CHAT: +CGDCONT=1,"IP","web.vodafone.de"
                            Sep 16 19:41:03 ppp: [opt3_link0] CHAT: Detected Hayes compatible modem.
                            Sep 16 19:41:03 ppp: [opt3_link0] CHAT: The modem responded with "ERROR" to the command "AT&F&C1&D2E0S0=0M1" at ModemCmd: label.
                            Sep 16 19:41:03 ppp: [opt3_link0] MODEM: chat script failed
                            Sep 16 19:41:03 ppp: [opt3_link0] Link: DOWN event
                            Sep 16 19:41:03 ppp: [opt3_link0] LCP: Down event
                            Sep 16 19:41:03 ppp: [opt3_link0] Link: reconnection attempt 6 in 2 seconds
                            Sep 16 19:41:05 ppp: [opt3_link0] Link: reconnection attempt 6
                            Sep 16 19:41:06 ppp: [opt3_link0] CHAT: +CGDCONT=1,"IP","web.vodafone.de"
                            Sep 16 19:41:06 ppp: [opt3_link0] CHAT: Detected Hayes compatible modem.
                            Sep 16 19:41:06 ppp: [opt3_link0] CHAT: The modem responded with "ERROR" to the command "AT&F&C1&D2E0S0=0M1" at ModemCmd: label.
                            Sep 16 19:41:06 ppp: [opt3_link0] MODEM: chat script failed
                            Sep 16 19:41:06 ppp: [opt3_link0] Link: DOWN event
                            Sep 16 19:41:06 ppp: [opt3_link0] LCP: Down event
                            Sep 16 19:41:06 ppp: [opt3_link0] Link: reconnection attempt 7 in 2 seconds
                            Sep 16 19:41:08 ppp: [opt3_link0] Link: reconnection attempt 7
                            Sep 16 19:41:09 ppp: [opt3_link0] CHAT: +CGDCONT=1,"IP","web.vodafone.de"
                            Sep 16 19:41:09 ppp: [opt3_link0] CHAT: Detected Hayes compatible modem.
                            Sep 16 19:41:09 ppp: [opt3_link0] CHAT: The modem responded with "ERROR" to the command "AT&F&C1&D2E0S0=0M1" at ModemCmd: label.
                            Sep 16 19:41:09 ppp: [opt3_link0] MODEM: chat script failed
                            Sep 16 19:41:09 ppp: [opt3_link0] Link: DOWN event
                            Sep 16 19:41:09 ppp: [opt3_link0] LCP: Down event
                            Sep 16 19:41:09 ppp: [opt3_link0] Link: reconnection attempt 8 in 4 seconds

                            did you change the mode of the card?

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

                              Open a shell via ssh on your pfsense, then install screen, using:

                              pkg install screen
                              

                              then type:

                              screen /dev/cuaU0.3
                              

                              then send the following request to the modem:

                              AT^HCSQ?
                              

                              It should tell you if you have a wireless signal or not.

                              Regarding the modem configuration, I put:

                              AT^SYSCFGEX="030201",3FFFFFFF,1,2,80044,,
                              

                              Not sure if it's relevant in your case.

                              1 Reply Last reply Reply Quote 0
                              • S
                                SimonBu
                                last edited by

                                ^HCSQ: "LTE",55,51,187,22

                                if I understand correct the 22 is not a goog strange

                                where do you put the AT^SYSCFGEX="030201",3FFFFFFF,1,2,80044,, command?

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

                                  It seems that you have a LTE connection available…

                                  You may put the command as the init string, in the PPP configuration.

                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    SimonBu
                                    last edited by

                                    i have filled in the init string and have preformed a reboot.

                                    but nothing happens…

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

                                      Did you insert the SIM card ?
                                      Are you using an APU1D ? Did you put the module into the correct PCIe slot ?

                                      1 Reply Last reply Reply Quote 0
                                      • S
                                        SimonBu
                                        last edited by

                                        Yes simcard is inserd without PIN
                                        Board is Apu 1D4
                                        Modem is insert in Slot J16

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

                                          I don't have the module anymore so it will be difficult for me to solve your issue as is  :-[

                                          1 Reply Last reply Reply Quote 0
                                          • S
                                            SimonBu
                                            last edited by

                                            beelloo,

                                            maby we can do a remote session?

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