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

    TL-WN727N as WAN interface

    Scheduled Pinned Locked Moved Wireless
    55 Posts 4 Posters 7.7k 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.
    • stephenw10S
      stephenw10 Netgate Administrator
      last edited by

      Were you able to see what the reported connection 'rate' was in pfSense?

      B 1 Reply Last reply Reply Quote 0
      • NightlySharkN
        NightlyShark @bavcon22
        last edited by

        @bavcon22 Judging from my bad experiences with TP-Link Wi-Fi adapters, maybe try another adapter? 30 Mbits is still pretty low. I owned such an adapter, and I had to manually resolder the antenna connections (many years ago, though). My point is, they are unreliable and unpredictable.

        B 1 Reply Last reply Reply Quote 1
        • B
          bavcon22
          last edited by

          Now I tested dongle with the upgraded pfSense+ v. 13.01 and FreeBSD 14 and the connection was 11g not 11n. Speed test gives me 10Mbits symmetric. My conclusion is not to buy this version of dongle for FreeBSD OS, it is not fully supported.
          Before I buy it, I consulted the FreeBSD hardware and I saw the TL-WN727N that is supported in FreeBSD 13 but I missed crucial information v.3.0 is supported not my version of dongle, my dongle is v.5.2. I will use it for my other project.

          1 Reply Last reply Reply Quote 0
          • B
            bavcon22 @NightlyShark
            last edited by

            @nightlyshark Hi in have a maximum speed of around 100Mbits DOWN 50Mbits UP, I know it is not great.

            1 Reply Last reply Reply Quote 0
            • B
              bavcon22 @stephenw10
              last edited by

              @stephenw10 What is command in Linux mint like the command ifconfig -vvv in pfSense? In test I done the command ifconfig -v and I was able to see only WiFi bandwidth and it was 20MHz the connection 11n was not mentioned.

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

                iwconfig might do it

                B 2 Replies Last reply Reply Quote 0
                • B
                  bavcon22 @stephenw10
                  last edited by

                  @stephenw10 I will put it in test again.

                  1 Reply Last reply Reply Quote 0
                  • B
                    bavcon22 @stephenw10
                    last edited by bavcon22

                    @stephenw10 TL-WN727N.txt In this file are results of the commands ifconfig and iwconfig. The WiFi dongle is connected to USB 3.0 on Acer Aspire 5 laptop as external Wifi, internal Wifi is disabled.

                    NightlySharkN 1 Reply Last reply Reply Quote 0
                    • NightlySharkN
                      NightlyShark @bavcon22
                      last edited by

                      @bavcon22 If I may, I don't believe you need anything really expensive to achieve your goal, just not that particular adapter. If you absolutely need WiFi, there are a lot of inexpensive but good adapters. You can also use something like this, if you have free PCIe ports. You can then insert whatever miniPCIe WiFi you like, including one with the Atheros AR9280 chip that is the best supported by PfSense, as per the documentation. Or, if you endpoints sit behind the same electrical mains panel, you can use something like this, that doesn't even get into the whole USB-Drivers-Controller-Signal debacle, since its ethernet, for 50 bucks. It even has AES 128-bit encryption.

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

                        That 802.11ac PCIe card definitely won't work in pfSense directly.

                        NightlySharkN 3 Replies Last reply Reply Quote 1
                        • NightlySharkN
                          NightlyShark @stephenw10
                          last edited by NightlyShark

                          @stephenw10 I am sorry. I didn't mean the miniPCIe card in itself, but rather the mod, miniPCIe to full PCIe. Just couldn't find a nice example fast enough, to tell you the truth.

                          1 Reply Last reply Reply Quote 0
                          • NightlySharkN
                            NightlyShark @stephenw10
                            last edited by

                            @stephenw10 In any event, that is why I said:
                            "You can then insert whatever miniPCIe WiFi you like, including one with the Atheros AR9280 chip"

                            1 Reply Last reply Reply Quote 1
                            • NightlySharkN
                              NightlyShark @stephenw10
                              last edited by

                              @stephenw10 Found one! ๐Ÿ˜„

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

                                Ah, then, yes, that would be a better choice.

                                10M still feels too low to be simply the hardware type. It's got to be linking at a low rate IMO. For some reason.

                                NightlySharkN 1 Reply Last reply Reply Quote 2
                                • NightlySharkN
                                  NightlyShark @stephenw10
                                  last edited by

                                  @stephenw10 I am sorry, thought my VPN was lagging, but can confirm the forum lags severely for some reason since yesterday.

                                  Anyway, it can't be a coincidence that the speed for USB1.1 is 10Mbps and the adapter maxes out there.

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

                                    It could be. ๐Ÿ˜‰

                                    But you should be able to see that in the usbconfig output:

                                    [23.01-RELEASE][admin@4100.stevew.lan]/root: usbconfig
                                    ugen0.1: <Intel XHCI root HUB> at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA)
                                    ugen0.2: <Ralink 802.11 n WLAN> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (450mA)
                                    ugen0.3: <FTDI FT232R USB UART> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (90mA)
                                    
                                    B 1 Reply Last reply Reply Quote 1
                                    • B
                                      bavcon22 @stephenw10
                                      last edited by bavcon22

                                      @stephenw10 My reply from command usbconfig:
                                      [23.01-RELEASE][admin@homerouter.bavcon.eu]/root: usbconfig
                                      ugen2.1: <Intel EHCI root HUB> at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA)
                                      ugen1.1: <Intel EHCI root HUB> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA)
                                      ugen0.1: <Intel XHCI root HUB> at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA)
                                      ugen2.2: <vendor 0x8087 product 0x8000> at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA)
                                      ugen1.2: <vendor 0x8087 product 0x8008> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA)
                                      ugen0.3: <American Power Conversion Back-UPS CS 650 FW:817.v4.I USB FW:v4> at usbus0, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON (0mA)
                                      ugen0.2: <TP-Link Corporation Limited. M7350> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA)
                                      ugen0.4: <Realtek 802.11n NIC> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA)

                                      The last one is the nic in question.

                                      NightlySharkN 2 Replies Last reply Reply Quote 0
                                      • NightlySharkN
                                        NightlyShark @bavcon22
                                        last edited by

                                        @bavcon22 I think @stephenw10 would agree, given those numbers, both in the composite device (TP-Link) and the WiFi controller itself (Realtek), the problem comes either from an electronics issue, most possibly: bad soldering or semi-conductive flux residue, antenna circuit capacitors with more or less capacitance, missing antenna capacitors (no noise filtering). If not an electronics issue, then just a bad product.

                                        Could you describe the physical setup between the machines (building, electrics...) seeing as neither PfSense is made to have a great relationship with WiFi and the fact that WiFi itself is not a reliable, stable or fast way to provide a netlink between infrastructure machines (servers).

                                        If you cannot install a CAT6-FTP line and the machines are in different apartments but in the same building, powerline would be best.

                                        If the machines are in different buildings, well...

                                        Then you need directional WiFi at both endpoints. Some years ago (2015) I got a pair of USB 802.11n 15dBi directional "antennas" (they were chunky boys, so I couldn't bring myself to call them adapters ๐Ÿ˜‰ ) for about 50โ‚ฌ. I can't remember the controller model, but they were Atheros, for sure. Can't seem to find any.

                                        Found this, though.

                                        1 Reply Last reply Reply Quote 0
                                        • NightlySharkN
                                          NightlyShark @bavcon22
                                          last edited by

                                          @bavcon22 Scratch everything else. Take a look here.

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

                                            Clearly not the USB bus then.

                                            I would still be trying to get the reported link rate from pfSense when it's connected. If it's a bad antenna that would reflect it.

                                            Steve

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