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

    TP-Link M7350 v4 4g "modem" "router".

    Scheduled Pinned Locked Moved Hardware
    15 Posts 5 Posters 3.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.
    • A
      antonkristensen
      last edited by

      Thanks for the reply stephenw10

      I saw some of the urndis threads but i didn't find any that explained enough how to get the kernel module over to pfsense, read also something about a system panic and something like that if the kernel was used, is that an issue?

      Could you help me/point me in the right direction if it is not a system panic issue to use it.

      Best regards! :)

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

        So first get the kernel from the appropriate FreeBSD ISO, so 11.1 64bit if you're testing against pfSense 2.4.X.

        Copy the file to /boot/modules using SCP (WinSCP in Windows for example).

        Then add the following line to /boot/loader.conf.local:

        if_urndis_load="YES"
        

        I would not expect a kernel panic. The biggest issue is from disconnecting the modem whilst it's in use. pfSense does not like to have interfaces removed like that.

        Steve

        1 Reply Last reply Reply Quote 1
        • D
          discofris
          last edited by

          Just wanted to share that I successfully connected my M7350 v3 box via USB to my pfSense 2.4.3.
          After following the above steps, the interface showed up as ue0 and I could continue adding a new Interface in pfSense.
          No kernel panic indeed 👏 .

          H 1 Reply Last reply Reply Quote 0
          • H
            HeMan321 @discofris
            last edited by

            @discofris hello, I know this is quite old, but I am just trying to connect one of these TP-Link devices to the USB port of my SG-3100 to get us out of an emergency! Please can you quickly describe how you configured pfSense (PPP, DHCP, PPPoE etc.)?
            Many thanks

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

              If it appears as an Ethernet device you should use DHCP.

              1 Reply Last reply Reply Quote 0
              • D
                discofris
                last edited by

                Connected via USB, it appeared as an extra interface, found this in my notes:

                notes

                1 Reply Last reply Reply Quote 0
                • maverickwsM
                  maverickws
                  last edited by

                  Hi there I'm sorry for digging this up but last reply was this year :P

                  So I'm configuring a box to send to my dad in another continent and he has a backup internet with a TP-Link M7350.

                  Looking at this thread seems alright to put it to work, my question is:

                  Is there a chance the module may be removed during updates?

                  Thank you.

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

                    If it's added to load in loader.conf.local it will be retained across a firmware upgrade so it will try to load.

                    There's no way to guaranty that it will succeed after an upgrade but I would certainly expect it to.
                    If, for example, the module stopped building in a new FreeBSD version we mighgt opt to not include it in the release. Or the new module version might not recognise the hardware and no-one had tested it to know that.

                    Steve

                    maverickwsM 1 Reply Last reply Reply Quote 1
                    • maverickwsM
                      maverickws @stephenw10
                      last edited by maverickws

                      @stephenw10 thanks a lot for your reply. In the meanwhile I downloaded a FreeBSD 12.3 looking for the module BUT in the meanwhile made a search on the pfSense install and noticed if_urndis.ko is already there on the pfSense:

                      [22.05-RELEASE][root@pfs-fw.home.domain.local]/: find / -type f -iname if_urndis.ko
                      /boot/kernel.old/if_urndis.ko
                      /boot/kernel/if_urndis.ko
                      

                      So as it was suggested above to extract the rndis kernel module from an equivalent FreeBSD version but the topic is also quite old, I was wondering if I do have to extract it or can I simply use this one?

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

                        Yes, you should use the included module. You simply have to load it with that line in loader.conf.local.

                        Steve

                        maverickwsM 1 Reply Last reply Reply Quote 1
                        • maverickwsM
                          maverickws @stephenw10
                          last edited by

                          @stephenw10
                          Amazing Steve thanks a lot for the feedback! have a nice one

                          1 Reply Last reply Reply Quote 0
                          • H
                            HeMan321
                            last edited by

                            Hi,
                            Just wanted to add that due to another emergency, I found myself trying to connect my TP-Link M7350 to my SG-3100 again, and I had success in two ways...

                            Firstly, I connected the WAN port of my SG-3100 to a Win 11 laptop and connected the M7350 to it's USB port. Win 11 just found it and set it up like any other network interface, which means you can then go in to the connection properties and select the Sharing option to share it. The SG-3100 can then route through it just fine... The downside is the laptop having to be on and taking up space.

                            So I then tried connecting the M7350 direct to the USB port and sure enough the Interfaces menu in pfSense showed a new port for UE0 which I was able to map to a new DHCP interface. And it all just worked! So I don't really understand what all the talk above about taking bits of kernels apart is about, but I can confirm this device does just work.

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

                              Yup because the modules are now included. The device is recognised by default.

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