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

    Unstable connection PPP with Huawei E3372, E3272

    Scheduled Pinned Locked Moved Hardware
    13 Posts 4 Posters 2.8k 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.
    • A
      AndrewZ
      last edited by

      I suggest to focus on 3372. Make sure your USB port is capable to provide enough current, 3272 requires more than 3372.
      In some cases those modems were working better when connected via relatively short (~15-20cm) extension cable instead of being plugged into the port directly.

      I'm +1 for testing on a non-virtualized install.

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

        1. I attach the following logs:

        Mar 20 19:55:03 	ppp 		[wan] IPV6CP: state change Initial --> Starting
        Mar 20 19:55:03 	ppp 		[wan] IPV6CP: LayerStart
        Mar 20 19:55:03 	ppp 		[wan] IPCP: Up event
        Mar 20 19:55:03 	ppp 		[wan] IPCP: state change Starting --> Req-Sent
        Mar 20 19:55:03 	ppp 		[wan] IPCP: SendConfigReq #1
        Mar 20 19:55:03 	ppp 		[wan] IPADDR 0.0.0.0
        Mar 20 19:55:03 	ppp 		[wan] COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
        Mar 20 19:55:03 	ppp 		[wan] PRIDNS 0.0.0.0
        Mar 20 19:55:03 	ppp 		[wan] SECDNS 0.0.0.0
        Mar 20 19:55:03 	ppp 		[wan] IPV6CP: Up event
        Mar 20 19:55:03 	ppp 		[wan] IPV6CP: state change Starting --> Req-Sent
        Mar 20 19:55:03 	ppp 		[wan] IPV6CP: SendConfigReq #1
        Mar 20 19:55:03 	ppp 		[wan] IPCP: rec'd Configure Request #1 (Req-Sent)
        Mar 20 19:55:03 	ppp 		[wan] IPCP: SendConfigAck #1
        Mar 20 19:55:03 	ppp 		[wan] IPCP: state change Req-Sent --> Ack-Sent
        Mar 20 19:55:03 	ppp 		[wan] IPCP: rec'd Configure Nak #1 (Ack-Sent)
        Mar 20 19:55:03 	ppp 		[wan] IPCP: SendConfigReq #2
        Mar 20 19:55:03 	ppp 		[wan] IPADDR 0.0.0.0
        Mar 20 19:55:03 	ppp 		[wan] COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
        Mar 20 19:55:03 	ppp 		[wan] PRIDNS 0.0.0.0
        Mar 20 19:55:03 	ppp 		[wan] SECDNS 0.0.0.0
        Mar 20 19:55:03 	ppp 		[wan_link0] LCP: rec'd Protocol Reject #2 (Opened)
        Mar 20 19:55:03 	ppp 		[wan_link0] LCP: protocol IPV6CP was rejected
        Mar 20 19:55:03 	ppp 		[wan] IPV6CP: protocol was rejected by peer
        Mar 20 19:55:03 	ppp 		[wan] IPV6CP: state change Req-Sent --> Stopped
        Mar 20 19:55:03 	ppp 		[wan] IPV6CP: LayerFinish
        Mar 20 19:55:03 	ppp 		[wan] IPCP: rec'd Configure Reject #2 (Ack-Sent)
        Mar 20 19:55:03 	ppp 		[wan] COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
        Mar 20 19:55:03 	ppp 		[wan] IPCP: SendConfigReq #3
        Mar 20 19:55:03 	ppp 		[wan] IPADDR 0.0.0.0
        Mar 20 19:55:03 	ppp 		[wan] PRIDNS 0.0.0.0
        Mar 20 19:55:03 	ppp 		[wan] SECDNS 0.0.0.0
        Mar 20 19:55:03 	ppp 		[wan] IPCP: rec'd Configure Nak #3 (Ack-Sent)
        Mar 20 19:55:03 	ppp 		[wan] IPADDR 77.115.84.99
        Mar 20 19:55:03 	ppp 		[wan] 77.115.84.99 is OK
        Mar 20 19:55:03 	ppp 		[wan] PRIDNS 212.2.96.51
        Mar 20 19:55:03 	ppp 		[wan] SECDNS 212.2.96.52
        Mar 20 19:55:03 	ppp 		[wan] IPCP: SendConfigReq #4
        Mar 20 19:55:03 	ppp 		[wan] IPADDR 77.115.84.99
        Mar 20 19:55:03 	ppp 		[wan] PRIDNS 212.2.96.51
        Mar 20 19:55:03 	ppp 		[wan] SECDNS 212.2.96.52
        Mar 20 19:55:03 	ppp 		[wan] IPCP: rec'd Configure Ack #4 (Ack-Sent)
        Mar 20 19:55:03 	ppp 		[wan] IPADDR 77.115.84.99
        Mar 20 19:55:03 	ppp 		[wan] PRIDNS 212.2.96.51
        Mar 20 19:55:03 	ppp 		[wan] SECDNS 212.2.96.52
        Mar 20 19:55:03 	ppp 		[wan] IPCP: state change Ack-Sent --> Opened
        Mar 20 19:55:03 	ppp 		[wan] IPCP: LayerUp
        Mar 20 19:55:03 	ppp 		[wan] 77.115.84.99 -> 10.64.64.0
        Mar 20 19:55:04 	ppp 		[wan] IFACE: Up event
        Mar 20 19:55:04 	ppp 		[wan] IFACE: Rename interface ng0 to ppp0
        

        2. I tested on an active USB hub. Unfortunately, no changes.

        3. I tested on a USB cable (0.5 m length). Unfortunately, no changes.

        4. Attempt to install on a physical machine ends with an installer error. Error occurs before he is to boot into the installer menu (maybe because of the soft-raid controller).

        Best Regards,
        Robert

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

          Everything is working now. I changed processor to a more powerful with VT-d support. I added via VMDirectPath I/O passtrough USB 3.0 chip to virtual machine and connected modem.

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

            Thanks for reporting back  :)

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

              @stephenw10:

              Thanks for reporting back  :)

              You're welcome.

              Thank you for help on the forum. PfSense is very cool :)

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

                @robertw Hi Robert, Im a newbie to pfSense and Im trying to implement my own pfSense using Huawei E3372h-607 as in stick mode as well. And Im having trouble with dial PPP for the 3G modem. Here's my current configuration:

                • Bus /dev/usb Device /dev/ugen1.3: ID 12d1:1c05 Huawei Technologies Co., Ltd. Broadband stick (modem on)
                • ugen1.3: <HUAWEIMOBILE HUAWEIMOBILE> at usbus1
                  u3g0 on uhub1
                  u3g0: <HUAWEIMOBILE HUAWEIMOBILE, class 0/0, rev 2.10/1.02, addr 3> on usbus1
                  u3g0: Found 3 ports. (which are /dev/cuaU0.0, 0.1 and 0.2)*
                  Though I can't manage to get it to receive IP address
                  Any help is appreciated, thank you in advanced!
                1 Reply Last reply Reply Quote 0
                • stephenw10S
                  stephenw10 Netgate Administrator
                  last edited by

                  What have you tried so far? What was the result?

                  https://www.netgate.com/docs/pfsense/cellular/configuring-3g-modems.html

                  Steve

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

                    Hi Stephen, thank you for replying. So far I have flash the modem with firmware 21.x and connect it with pfSense 2.4.3 exactly like the document said. I even issued AT setport command with “FF; 10,12,16”. Still I can’t get pfSense to dial ppp correctly. I checked the log and sometimes see IPADDR 0.0.0.0 DNS 0.0.0.0 etc. I’ve been scratching my head for a few days with this problem.

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

                      Ok, so it is detected by pfSense and u3g attaches to it. And the 3 usb serial devices are created?
                      And at least one of them responds to AT commands?
                      But you can't actually dial out?

                      I think we will need to see some log excerpts. It sounds like it's mostly working though, maybe some quirk with your provider.

                      Steve

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

                        @stephenw10 yeah, at least that's what I thought. I used the cuaU0.0 to dial AT command. I started to think there's a problem with the firmware version I flashed it with. And btw, I flashed another device and I get the error: cannot get device information. Any help is appreciated! Thank you so much Stephen

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

                          Did you try all three ports? It's not necessarily the first one that provides modem access.

                          Steve

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