• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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 8.1k 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.
  • B
    bavcon22
    last edited by Feb 11, 2023, 5:56 PM

    Last year (2022) in march I bought the TP-Link WiFi adapter, model TL-WN727N, which is supported by FreeBSD hardware (I thought). I received a HW version 5.2 and supported is v.3 (not looked detailed enough). The device was recognized by pfsense and I setup the wireless wan interface as I intend to do. The WiFi adapter does his job but not perfectly. Te problem is that download and upload speed are in 10Mbit range and you can't do nothing about this.
    Specs are:

    • FreeBSD 12.3-STABLE
    • pfsense or pfsense+
    • TL-WN727N v.5.2
    • Mobile phone and LP-Link M7350 (feeding the WWAN interface)

    How can I achieve greater transmission speeds?
    Is the FreeBSD 13 answer to my problem?

    D 1 Reply Last reply Feb 12, 2023, 12:42 AM Reply Quote 0
    • D
      Dobby_ @bavcon22
      last edited by Feb 12, 2023, 12:42 AM

      @bavcon22 said in TL-WN727N as WAN interface:

      Last year (2022) in march I bought the TP-Link WiFi
      adapter, model TL-WN727N, which is supported by
      FreeBSD hardware (I thought).

      It is serving 150 MBit/s and you get out something around of ~10 MBit/s, all is fine.

      #~. @Dobby

      Turris Omnia - 4 Ports - 2 GB RAM / TurrisOS 7 Release (Btrfs)
      PC Engines APU4D4 - 4 Ports - 4 GB RAM / pfSense CE 2.7.2 Release (ZFS)
      PC Engines APU6B4 - 4 Ports - 4 GB RAM / pfSense+ (Plus) 24.03_1 Release (ZFS)

      1 Reply Last reply Reply Quote 0
      • S
        stephenw10 Netgate Administrator
        last edited by Feb 12, 2023, 3:48 PM

        That's a 150Mbps device so 802.11n 1x1. The absolute maximum I would expect to se through it would be ~100Mbps but that would be in ideal conditions.

        What link speed is it actually connecting at? What is it connecting to?

        B 1 Reply Last reply Feb 19, 2023, 6:39 PM Reply Quote 0
        • B
          bavcon22 @stephenw10
          last edited by Feb 19, 2023, 6:39 PM

          @stephenw10 I'm sorry for late response. I made connection from USB to wifi dongle to my phone Xiaomi hotspot and then with my new TP-Link device M7350 and I had the same results with Speedtest. When I connect my phone to M7350 I had much better speeds. To see exact connection speed I have to retested it.

          Sincerely yours

          1 Reply Last reply Reply Quote 0
          • S
            stephenw10 Netgate Administrator
            last edited by Feb 19, 2023, 7:08 PM

            You should run ifconfig -vvv against the wifi interface when it's connected to see the link speed is. Or check Status > Interfaces but the output there may or may not show it depending on the driver.
            Results from your phone to an AP are almost always going to be far better. It's probably using at least 802.11ac 2x2.

            B 1 Reply Last reply Feb 19, 2023, 7:35 PM Reply Quote 0
            • S stephenw10 moved this topic from Hardware on Feb 19, 2023, 7:09 PM
            • B
              bavcon22 @stephenw10
              last edited by stephenw10 Feb 19, 2023, 7:41 PM Feb 19, 2023, 7:35 PM

              @stephenw10 Here it is reply from your command for my WWAN interface on pfSense+ 22.05:

              rtwn0_wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
              	description: WWAN
              	ether 7c:c2:c6:00:71:d0
              	inet6 fe80::7ec2:c6ff:fe00:71d0%rtwn0_wlan0 prefixlen 64 scopeid 0xb
              	inet 192.168.0.101 netmask 0xffffff00 broadcast 192.168.0.255
              	groups: wlan
              	ssid TP-Link_6C64 channel 11 (2462 MHz 11g ht/20) bssid 1c:61:b4:1e:6c:64
              	regdomain FCC country US anywhere -ecm authmode WPA2/802.11i -wps
              	-tsn privacy ON deftxkey UNDEF
              	AES-CCM 2:128-bit powersavemode OFF powersavesleep 100 txpower 30
              	txpowmax 50.0 -dotd rtsthreshold 2346 fragthreshold 2346 bmiss 7
              	11b     ucast NONE    mgmt  1 Mb/s mcast  1 Mb/s maxretry 6
              	11g     ucast NONE    mgmt  1 Mb/s mcast  1 Mb/s maxretry 6
              	11ng    ucast NONE    mgmt  1 Mb/s mcast  1 Mb/s maxretry 6
              	scanvalid 60 -bgscan bgscanintvl 300 bgscanidle 250
              	roam:11b     rssi    7dBm rate  1 Mb/s
              	roam:11g     rssi    7dBm rate  5 Mb/s
              	roam:11ng    rssi    7dBm  MCS  1    
              	-pureg protmode OFF ht20 htcompat ampdu ampdulimit 64k
              	ampdudensity 16 amsdu shortgi htprotmode RTSCTS -puren -smps -rifs
              	-stbc -ldpc -uapsd -vht -vht40 -vht80 -vht160 -vht80p80 wme -burst
              	-dwds roaming MANUAL bintval 100
              	AC_BE cwmin  4 cwmax 10 aifs  3 txopLimit   0 -acm ack
              	      cwmin  4 cwmax 10 aifs  3 txopLimit   0 -acm
              	AC_BK cwmin  4 cwmax 10 aifs  7 txopLimit   0 -acm ack
              	      cwmin  4 cwmax 10 aifs  7 txopLimit   0 -acm
              	AC_VI cwmin  3 cwmax  4 aifs  2 txopLimit  94 -acm ack
              	      cwmin  3 cwmax  4 aifs  2 txopLimit  94 -acm
              	AC_VO cwmin  2 cwmax  3 aifs  2 txopLimit  47 -acm ack
              	      cwmin  2 cwmax  3 aifs  2 txopLimit  47 -acm
              	parent interface: rtwn0
              	media: IEEE 802.11 Wireless Ethernet MCS mode 11ng
              	status: associated
              	nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
              

              I saw that interface is connected with 11g, but the WiFi module (TL-WN727N) and the device M7350 has 11n network capability and the distance is less then 1m one device from another.
              Sincerely yours

              N B 2 Replies Last reply Feb 19, 2023, 7:39 PM Reply Quote 0
              • N
                NightlyShark @bavcon22
                last edited by Feb 19, 2023, 7:39 PM

                @bavcon22 I know this is a long shot, but, cloud it be inserted in a USB 1.1 port by any chance? Or have a USB controller run in 1.1 speed? Again, I know it is a long shot.

                B 1 Reply Last reply Feb 19, 2023, 7:47 PM Reply Quote 1
                • B
                  bavcon22 @bavcon22
                  last edited by Feb 19, 2023, 7:42 PM

                  Speed test results:
                  Screenshot from 2023-02-19 20-39-43.png

                  N 1 Reply Last reply Feb 19, 2023, 7:46 PM Reply Quote 0
                  • N
                    NightlyShark @bavcon22
                    last edited by Feb 19, 2023, 7:46 PM

                    @bavcon22 41524bc2-f699-475a-9102-2ad839f021d9-image.png

                    1 Reply Last reply Reply Quote 0
                    • B
                      bavcon22 @NightlyShark
                      last edited by Feb 19, 2023, 7:47 PM

                      @nightlyshark The WiFi module is connected to Lenovo ThinkCentre M9xp (x is an number) to USB 3.0 port. Is the USB 3.0 a problem the wifi device is USB 2.0?

                      N 1 Reply Last reply Feb 19, 2023, 7:50 PM Reply Quote 0
                      • N
                        NightlyShark @bavcon22
                        last edited by Feb 19, 2023, 7:50 PM

                        @bavcon22 It is a problem if the port drops to 1.1. I don't know if this can be caused by a rusted connector, driver (both controller and chipset) or something...

                        B 1 Reply Last reply Feb 19, 2023, 7:55 PM Reply Quote 0
                        • N
                          NightlyShark
                          last edited by Feb 19, 2023, 7:53 PM

                          @bavcon22 said in TL-WN727N as WAN interface:

                          Lenovo ThinkCentre M9xp

                          a2acf4c6-6934-4639-a18f-fdfb15d23a16-image.png
                          Do you need any OEM chipset (more like, on-CPU-controller) drivers for the AMD Lenovo-specific (most likely), CPU?

                          1 Reply Last reply Reply Quote 0
                          • S
                            stephenw10 Netgate Administrator
                            last edited by Feb 19, 2023, 7:54 PM

                            Hmm, I don't have one I can test in station mode. In hostap mode though the Status > Interfaces page does show the link 'Rate'. Do you see that?

                            N 2 Replies Last reply Feb 19, 2023, 7:55 PM Reply Quote 0
                            • N
                              NightlyShark @stephenw10
                              last edited by Feb 19, 2023, 7:55 PM

                              @stephenw10 Maybe you can whip-up a VM in a PC, pass-trough a USB controller and test it from there?

                              1 Reply Last reply Reply Quote 0
                              • B
                                bavcon22 @NightlyShark
                                last edited by Feb 19, 2023, 7:55 PM

                                @nightlyshark The PC has USB 2.0 connectors I will try it. Next weekend I have intent to update my pfsense+ 12.05 to 13.01 and then I will give the feedback in this forum.

                                B 1 Reply Last reply Feb 19, 2023, 8:09 PM Reply Quote 1
                                • N
                                  NightlyShark @stephenw10
                                  last edited by Feb 19, 2023, 7:56 PM

                                  @stephenw10 Sorry, replied to the wrong answer. 🙄

                                  1 Reply Last reply Reply Quote 0
                                  • B
                                    bavcon22 @bavcon22
                                    last edited by Feb 19, 2023, 8:09 PM

                                    @bavcon22 Speedtest results with USB 2.0 PC port:
                                    Screenshot from 2023-02-19 21-05-40.png

                                    No better results.
                                    Thank you for all, I will see if any better results with newer version of pfSense+ afrer I will update the software.

                                    N 1 Reply Last reply Feb 19, 2023, 8:22 PM Reply Quote 1
                                    • N
                                      NightlyShark @bavcon22
                                      last edited by Feb 19, 2023, 8:22 PM

                                      @bavcon22 There is always the case that the adapter has some damaged component that causes it to drop to a USB 1.1 mode, or just be like that from factory (highly unlikely).

                                      B 1 Reply Last reply Feb 20, 2023, 3:50 PM Reply Quote 0
                                      • B
                                        bavcon22 @NightlyShark
                                        last edited by Feb 20, 2023, 3:50 PM

                                        @nightlyshark I will try to connect this dongle tp-link tl-wn727n to Raspberry Pi to "see" if the device actually work with 11n connection with different OS's and than report back what I will find.

                                        B 1 Reply Last reply Feb 20, 2023, 6:48 PM Reply Quote 0
                                        • B
                                          bavcon22 @bavcon22
                                          last edited by Feb 20, 2023, 6:48 PM

                                          @bavcon22 I tested the dongle on PC x86 x64 with Linux mint OS.
                                          Testing specs:

                                          OS: Linux mint 21.1 cinnamon
                                          PC: Acer Aspire 5 A515-45-R5X9
                                          USB: dongle conected to USB3 on PC, USB2 on dongle
                                          Connection: via Android phone or home wifi
                                          Conected: LAN
                                          Speedtest results ~30Mbit simetric on bought wifi devices.

                                          I think the dongle is capable of 11n transmission.

                                          N 1 Reply Last reply Feb 20, 2023, 11:22 PM Reply Quote 0
                                          • First post
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                            This community forum collects and processes your personal information.
                                            consent.not_received