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 75.2k 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

      Seeing how you compiled it in, why not use terminal and probe your ports..
      cu -l /dev/cuaU0.2

      Note text at top of screen if any.(If text says Connected then may be wrong command port)

      then: AT
      then:ATZ

      At this point you should see a return of AT on-screen from your port.

      At this point use the AT document provided by beeloo and start digging.

      Are you using pfSense or FreeBSD to test?

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

        i am using pfsense 2.2.5 my own build based on releng 2.2

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

          I was running pfSense 2.2.4 running a 10.1 custom kernel based on RELENG_2_2

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

            its the same … but my version is now called 2.2.5 but its based on 10.1 and pf releng 2.2

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

              hmm i think the Problem is in this string:

              ppp: [opt3_link0] CHAT: +CGDCONT=1,"IP","web.vodafone.de"

              IP means that it is an IP Connection, i think it must be PPP.

              In the commandline i can set it so ppp but pf sets it back via this string.

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

                Mine was:

                ppp: [opt4_link0] CHAT: +CGDCONT=1,"IP","free"
                ppp: [opt4_link0] CHAT: Detected Hayes compatible modem.
                ppp: [opt4_link0] CHAT: Dialing server at *99#...
                ppp: [opt4_link0] CHAT: ATDT*99#
                ppp: [opt4_link0] CHAT: Connected at 43200000.
                ppp: [opt4_link0] MODEM: chat script succeeded
                ppp: [opt4_link0] Link: UP event
                
                
                1 Reply Last reply Reply Quote 0
                • S
                  SimonBu
                  last edited by

                  hmm know i am a little bit confused  :o

                  than i do not understand where the problem is.
                  The Modem is online, has LTE connection, i can send SMS via console, can call via console and pick up via console.

                  So it seems to work. But not with PFSense

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

                    There is something I'm not sure.

                    You said you are running pfSense 2.2.5…
                    What I did is only installing the patched FreeBSD 10.1 kernel onto the 2.2.4.

                    And you have a step I do not have:

                    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.
                    

                    ?

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

                      are you shure that tis modem uses a ppp connection? it seems that it makes his own ip network ?!

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

                        Yes of course

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

                          pfSense 2.2.5 should support the module natively since FreeBSD approved my patch earlier…

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

                            not realy….

                            i have update my APU to 2.2.5 but i cant´t see the serial ports ;-(

                            1 Reply Last reply Reply Quote 0
                            • A
                              AndrewZ
                              last edited by

                              @SimonBu:

                              i cant´t see the serial ports ;-(

                              what you can see about the modem in the log?

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

                                the Log shows nothing in offical 2.2.5

                                it´s very strange on beeloos side it works and on my side it don´t will work.

                                Therefore i had my one compiled version with the changes discribed in this Thread. Then i can see the Moden in the PPP Tab but i can´t establish a connection to the Internet.

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

                                  I don't see the modem in u3g from FreeBSD11 -Current from August26th.

                                  This would mean it probably did not make it into FreeBSD 10.2 and hence pfSense 2.25 is based off that.

                                  Do you see the PID in your u3g?

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

                                    how can i check this?

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

                                      You can look at the source code of u3g.c from pfSense to see for sure.. Do you know your VendorID and ProductID?

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

                                        So the model number is not in u3g, but what matters is what is in the file >usbdevs<

                                        https://github.com/freebsd/freebsd/blob/master/sys/dev/usb/usbdevs

                                        It contains the individual VID and PID's that make up USB. Your devices VID and PID must be on this list to work.

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

                                          Please keep in mind the github version of >usbdevs_That is bleeding edge, where stuff breaks daily. pfSense uses their own version based on FreeBSD 10.2. Source is available on the homepage._

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

                                            Someone could help me to recompile the kernel? with your information I can write an how to, since there isn't updated doc.
                                            https://forum.pfsense.org/index.php?topic=103626.0

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