TP-Link Archer T4U Plus as AP

This is not possible.

1 Like

As I wrote before, it will never work with automatic channel activated, unimportant what ht and vht caps are entered. This caps are all right for the realtek chipset and work.

Your entered caps are wrong because you define different bandwidth at the same time and the syntax therefor is not right because of the missing +/- for the frequency offset for the selected channel frequency.

2 Likes

No Channel selection possible in the IPFire WlanAP UI ā€¦

Never seen that so you have a different major problem.

It has to look like that:

Also you have to see a list of available channels at the bottom of that page:

I have restored the backup from the former IPFire instance in the meantime to get my configuration back. May that broke something ā€¦ i will do a fresh install again and see if that changes something ā€¦

1 Like

Ok, have installed IPfire again in the meantime.
With the mentioned HT/VHT Caps parameters i can get 802.11gn to work. This time i also see entries in the Blue Access UI and the Wifi clients can connect to internet.

My conclusion about this is never use a backup from IPFire and restore it on a new IPFire instance with different hardware. Looks like it is only designed to be restored on the same hardware environment.

At least i have a working medium speed Wifi now.

When selecting 802.11.an or 802.11ac this still results in a not working Wifi AP.
If anyone has some ideas how to get 802.11ac mode running with IPFire ā€¦

1 Like

very few linux drivers support AC mode, ath10k being the most common. See the list here: en:users:drivers [Linux Wireless]

1 Like
1 Like

This is not supposed to be and may be because of unsupportet vht caps. Itā€™s alway tricky to find out the full selection of ht/vht caps for a device (exspecially usb devices). Try only this to see if it runs at ac:

HT: [HT40+][SHORT-GI-20][SHORT-GI-40][RX-STBC1]
VHT: [SHORT-GI-80][RX-ANTENNA-PATTERN][TX-ANTENNA-PATTERN][RX-STBC-1][MAX-A-MPDU-LEN-EXP3]

1 Like

With these (V)HT Caps it still only runs in 802.11.gn mode.

Looks like i have to wait a little bit more to use the 802.11ac mode.

Thank you all for your help so far as this led to a working AP on my side :slight_smile:

Remove the antenna pattern and the mpdu so only SHORT-GI-80 and RX-STBC-1 is left. I think itā€™s not good to choose a USB device. You would have been better to use a PCIe device.

Nope, still does not work.

If i had a bigger PC it would have been no issue to select a PCIe card. I wanted to have something small, passive cooled without a noisy fan and for this to happen i needed to use a USB Wifi AP.

2x m.2 PCie Wifi nics @ mITX :upside_down_face:

if you are using a USB 2, the bottle neck will be the speed of the port (less than 40 Mbit/sec in my tests), with usb 3 maybe you can get to 150 Mbit/sec (in my tests more like 120). Not that much difference with 80 Mbit/sec you should get with 802.11gn. More than enough even for streaming movies.

Hi Terry,

i have this one:

so i have to use the USB 3 connection for Wifi.

if you do not mind having a second appliance, you could have a dedicated AP to connect to one of the ethernet ports, assigned to the blue network. A colleague is using (for indoor) an outdoor TP-link like this one https://www.amazon.com/dp/B07RYZK2JT/ref=dp_cr_wdg_tit_rfb and it works quite well.

Iā€™ve some similar device for my family. Yourā€™s has (too bad) twice mini PCIe, but there are adapters from mini PCIe to m.2 PCIe. I also had go get one because me private appliance has 1x m.2 PCIe and 1x mini PCIe and I wanted to have 2x wifi nics that had both m.2 PCIe. The adapter works fine. So you could build in a state of the art m.2 PCIe wifi modul.

This card is cheap and works fin in ac.

I didnā€™t need to buy antennas because I have lots of them.

However because of the inflation etc it all got more expensive.

With my apu2 I use this one and I am very happy with it. PC Engines wle600vx product file

Should be compatible, I think. Itā€™s a mini PCIe.

As mentioned earlier in this thread, the capabilties should be shown by
iw list
Maybe this helps.

Bernhard is right. i first used the iwlist command but should have used the ā€œiw listā€ command line.

It looks like this:

# iw list
Wiphy phy0
        wiphy index: 0
        max # scan SSIDs: 9
        max scan IEs length: 2304 bytes
        max # sched scan SSIDs: 0
        max # match sets: 0
        Retry short limit: 7
        Retry long limit: 4
        Coverage class: 0 (up to 0m)
        Supported Ciphers:
                * WEP40 (00-0f-ac:1)
                * WEP104 (00-0f-ac:5)
                * TKIP (00-0f-ac:2)
                * CCMP-128 (00-0f-ac:4)
                * CMAC (00-0f-ac:6)
        Available Antennas: TX 0 RX 0
        Supported interface modes:
                 * IBSS
                 * managed
                 * AP
                 * monitor
                 * P2P-client
                 * P2P-GO
        Band 1:
                Capabilities: 0x1963
                        RX LDPC
                        HT20/HT40
                        Static SM Power Save
                        RX HT20 SGI
                        RX HT40 SGI
                        RX STBC 1-stream
                        Max AMSDU length: 7935 bytes
                        DSSS/CCK HT40
                Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
                Minimum RX AMPDU time spacing: 16 usec (0x07)
                HT Max RX data rate: 300 Mbps
                HT TX/RX MCS rate indexes supported: 0-15
                Bitrates (non-HT):
                        * 1.0 Mbps
                        * 2.0 Mbps
                        * 5.5 Mbps
                        * 11.0 Mbps
                        * 6.0 Mbps
                        * 9.0 Mbps
                        * 12.0 Mbps
                        * 18.0 Mbps
                        * 24.0 Mbps
                        * 36.0 Mbps
                        * 48.0 Mbps
                        * 54.0 Mbps
                Frequencies:
                        * 2412 MHz [1] (20.0 dBm)
                        * 2417 MHz [2] (20.0 dBm)
                        * 2422 MHz [3] (20.0 dBm)
                        * 2427 MHz [4] (20.0 dBm)
                        * 2432 MHz [5] (20.0 dBm)
                        * 2437 MHz [6] (20.0 dBm)
                        * 2442 MHz [7] (20.0 dBm)
                        * 2447 MHz [8] (20.0 dBm)
                        * 2452 MHz [9] (20.0 dBm)
                        * 2457 MHz [10] (20.0 dBm)
                        * 2462 MHz [11] (20.0 dBm)
                        * 2467 MHz [12] (20.0 dBm) (no IR)
                        * 2472 MHz [13] (20.0 dBm) (no IR)
                        * 2484 MHz [14] (disabled)
        Band 2:
                Capabilities: 0x1863
                        RX LDPC
                        HT20/HT40
                        Static SM Power Save
                        RX HT20 SGI
                        RX HT40 SGI
                        No RX STBC
                        Max AMSDU length: 7935 bytes
                        DSSS/CCK HT40
                Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
                Minimum RX AMPDU time spacing: 16 usec (0x07)
                HT Max RX data rate: 300 Mbps
                HT TX/RX MCS rate indexes supported: 0-15
                VHT Capabilities (0x03d071b2):
                        Max MPDU length: 11454
                        Supported Channel Width: neither 160 nor 80+80
                        RX LDPC
                        short GI (80 MHz)
                        TX STBC
                        SU Beamformee
                        MU Beamformee
                        +HTC-VHT
                VHT RX MCS set:
                        1 streams: MCS 0-9
                        2 streams: MCS 0-9
                        3 streams: not supported
                        4 streams: not supported
                        5 streams: not supported
                        6 streams: not supported
                        7 streams: not supported
                        8 streams: not supported
                VHT RX highest supported: 867 Mbps
                VHT TX MCS set:
                        1 streams: MCS 0-9
                        2 streams: MCS 0-9
                        3 streams: not supported
                        4 streams: not supported
                        5 streams: not supported
                        6 streams: not supported
                        7 streams: not supported
                        8 streams: not supported
                VHT TX highest supported: 867 Mbps
                Bitrates (non-HT):
                        * 6.0 Mbps
                        * 9.0 Mbps
                        * 12.0 Mbps
                        * 18.0 Mbps
                        * 24.0 Mbps
                        * 36.0 Mbps
                        * 48.0 Mbps
                        * 54.0 Mbps
                Frequencies:
                        * 5180 MHz [36] (23.0 dBm)
                        * 5200 MHz [40] (23.0 dBm)
                        * 5220 MHz [44] (23.0 dBm)
                        * 5240 MHz [48] (23.0 dBm)
                        * 5260 MHz [52] (20.0 dBm) (radar detection)
                        * 5280 MHz [56] (20.0 dBm) (radar detection)
                        * 5300 MHz [60] (20.0 dBm) (radar detection)
                        * 5320 MHz [64] (20.0 dBm) (radar detection)
                        * 5500 MHz [100] (26.0 dBm) (radar detection)
                        * 5520 MHz [104] (26.0 dBm) (radar detection)
                        * 5540 MHz [108] (26.0 dBm) (radar detection)
                        * 5560 MHz [112] (26.0 dBm) (radar detection)
                        * 5580 MHz [116] (26.0 dBm) (radar detection)
                        * 5600 MHz [120] (26.0 dBm) (radar detection)
                        * 5620 MHz [124] (26.0 dBm) (radar detection)
                        * 5640 MHz [128] (26.0 dBm) (radar detection)
                        * 5660 MHz [132] (26.0 dBm) (radar detection)
                        * 5680 MHz [136] (26.0 dBm) (radar detection)
                        * 5700 MHz [140] (26.0 dBm) (radar detection)
                        * 5720 MHz [144] (disabled)
                        * 5745 MHz [149] (disabled)
                        * 5765 MHz [153] (disabled)
                        * 5785 MHz [157] (disabled)
                        * 5805 MHz [161] (disabled)
                        * 5825 MHz [165] (disabled)
                        * 5845 MHz [169] (disabled)
                        * 5865 MHz [173] (disabled)
                        * 5885 MHz [177] (disabled)
        Supported commands:
                 * new_interface
                 * set_interface
                 * new_key
                 * start_ap
                 * new_station
                 * set_bss
                 * join_ibss
                 * set_pmksa
                 * del_pmksa
                 * flush_pmksa
                 * remain_on_channel
                 * frame
                 * set_wiphy_netns
                 * set_channel
                 * connect
                 * disconnect
        WoWLAN support:
                 * wake up on anything (device continues operating normally)
        software interface modes (can always be added):
                 * monitor
        interface combinations are not supported
        Device supports SAE with AUTHENTICATE command
        Device supports scan flush.
        max # scan plans: 1
        max scan plan interval: -1
        max scan plan iterations: 0
        Supported TX frame types:
                 * IBSS: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * managed: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * AP: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * AP/VLAN: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * P2P-client: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * P2P-GO: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
        Supported RX frame types:
                 * IBSS: 0xd0
                 * managed: 0x40 0xb0 0xd0
                 * AP: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
                 * AP/VLAN: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
                 * P2P-client: 0x40 0xd0
                 * P2P-GO: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
        Supported extended features:

How to convert these listed Capabilities and VHT Capabilities into the required [cap] parameters and also how to tell the AP radio/sender to use 5 Ghz instead of 2.4 Ghz ?