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.4k 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.
    • 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
                            • B
                              beeloo
                              last edited by

                              It's quite difficult to take enough time to solve the issue.

                              However, I don't understand why ppp is trying to restore the modem's default settings:

                              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.
                              

                              Maybe you can avoid it to and maybe it will be running.

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

                                By the way, here is the latest advanced AT commands documentation:
                                http://consumer.huawei.com/en/solutions/m2m-solutions/products/support/user-guides/detail/me909u-521-en.htm?id=29741

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

                                  hmm i will try to reinstall everything. maybe somethin went wrong

                                  1 Reply Last reply Reply Quote 0
                                  • ?
                                    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
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.