Replies: 53 comments 28 replies
-
I really appreciate this bit of info. I had never heard of this but have now posted it on the site in a couple of places for users to see. Here is the example. It is for the Netgear A8000:
This info really should go in the kernel. Do you know how to submit patches to linux-wireless? |
Beta Was this translation helpful? Give feedback.
-
Btw, I forget to tell you, I got all 3 of mine working in 802.11ac mode with a custom Linux kernel that I compiled yesterday. (6.1.19) But you can achieve the same results using echo and modprobe I think. I'll begin testing if the 0 MB/s problem affect me on Monday. |
Beta Was this translation helpful? Give feedback.
-
I got a comfast-CF-953AX too. lsusb shows: On the pci.ids file it shows up as: But can't get it to work in AP mode, with hostapd. Put it on windows, couldn't activate the mobile hotspot. Using comfast drivers. Hmmm.... |
Beta Was this translation helpful? Give feedback.
-
Hi @foen73 Thanks for the report.
There is a later firmware that is available. To install/update, go to the following link and go to the mt7921 section: Would you mind running Also, would you mind deactivating usb_modeswitch so we can make sure that this is a single-state adapter? If so, look at the last section at the below link: https://github.com/morrownr/USB-WiFi/blob/main/home/How_to_Modeswitch.md Thanks |
Beta Was this translation helpful? Give feedback.
-
As an update WiFi6 also works, but this USB AP is very slow. I can only get maximum of around 240 Mbits/sec with |
Beta Was this translation helpful? Give feedback.
-
I'm testing the hostapd.conf you provided the link to above with a CF-951AX. This adapter appears to be the same as the 953 but does not have the external antennas. I'm seeing around 306 Mbps with iperf3 which is pretty good given the limitations I currently have. The channel has some congestion and the distance is about 8 meters through 2 walls. I am seeing WiFi 6 with link rates of up to 1200 Mbps. I'm just not that well equipment for WiFi 6 testing yet but am doing my best. The hostapd.conf, that I am working on, and you are using, may not be optimal. I am simply using trial and error to work on it. We have no prior art to look at for examples. I did not answer your question as I don't have a 953. My 951 does not have above average range as we should expect from a low cost adapter that does not have external antennas but it is what I currently have to test with. Actually, I think it is doing fairly good for what it is... it is not an adapter that I am recommending to folks that want AP mode with long range but it is fun to play with. |
Beta Was this translation helpful? Give feedback.
-
Good question. Of the 6 known adapters that use the mt7921au chipset, the only one that I think would currently make a good AP is the Alfa AXML. That opinion is based on the long removable antennas that it has and Alfa generally uses good quality components. I suspect we will see several new adapters this year. I hear a rumor that a long range adapter with the mt7922u chipset may come out later this year. I am interested in that. When I say long range, I am talking about adapters like the Alfa ACHM and ACH. They contain very high quality antennas and amps which allows them to have longer range than other adapters but that does come with a cost. When I say mt7922u chipset, it is the sister of the mt7912au. They both use the mt7921u driver. The difference is that the 7922u has 160 MHz channel width capability. Whew. Can you say > 1 Gbps WiFi? My main wifi router is capable of 160 MHz channel width on 5 GHz so I'd like to see the results. |
Beta Was this translation helpful? Give feedback.
-
I am not seeing any problems but then there are a lot of ways to do this and I don't have the full picture. What you might want to do is start a new issue with enough details for folks to fully understand your setup. Many folks that stop by don't read down into old, long threads like this. |
Beta Was this translation helpful? Give feedback.
-
Hello can someone help me to use my Cf 952ax in kali linux, I have purchased this product and I have Downloaded Drivers but it is impossible to make it work with kali Linux. I’m not professional so I need your help please |
Beta Was this translation helpful? Give feedback.
-
Hi @Lou78900 Open a terminal interface (aka command line interface) and run the following command: $ lsusb Post the results so we can see what this adapter uses for a chipset. |
Beta Was this translation helpful? Give feedback.
-
Are you running Kali in a VM? |
Beta Was this translation helpful? Give feedback.
-
Okay, Kali is running in a VM.
This could be a challenge. Let me offer you an alternative: Get an older system that still runs and install Kali as the only OS. Older systems that are no longer used are all over the place. Maybe you have one that you can use or maybe someone else in your family or you could ask some business owners if they have any old systems that still work that they could give you for free. |
Beta Was this translation helpful? Give feedback.
-
Thank you verry mach your assistance, did you mean old version of vmware if it is that please give me examples for the versions that it can work with this usb and to got it easily thank you so much |
Beta Was this translation helpful? Give feedback.
-
No. I am recommending that you do not use a VM at all. Any computer whether laptop, desktop or mini that has at least a 2 core AMD/Intel CPU that is 64 bit and has 2-4 Gb of RAM should work fine and then you don't have to fight with a VM. So basically, if you have or can find an OLD computer that has been sold sometime in the last 15 years, it should work for Linux and you don't have to deal with a VM. |
Beta Was this translation helpful? Give feedback.
-
That is a lot of power for Linux. If you have questions about doing a clean install, let me know. Things should be easier to deal with and the learning less frustrating. |
Beta Was this translation helpful? Give feedback.
-
Gimme some details. What distro, computer and band are you using? |
Beta Was this translation helpful? Give feedback.
-
Again, no idea why the text gets so uneven with the Add Code thing here... EDIT: Ok, used the quadruple ` thingies. Looks ok now. |
Beta Was this translation helpful? Give feedback.
-
Hmmm...
That level of kernel supports the mt7921 chipset with the mt7921e driver but you will need at least kernel 5.19 to support a usb adapter based on the mt7921au chipset in order to do AP mode with the 953AX adapter. Big hmmm...
It should not be unless you have an internal card based on the mt7921 or mt7921k. mt7921e is the driver for the PCIe version of the chipset. The usb adapter driver is called mt7921u. What does the following say? lspci My best guess at this point is that you need to look at installing a distro that has at least kernel 5.19 and then you need to upgrade the firmware to the latest (guide on the Main Menu). |
Beta Was this translation helpful? Give feedback.
-
Ok, you're right, so i'm in the process of making it work on a VM on virtualbox, with the adapter mapped to the vm. If that doesn't work, then ok, i'll try it on another pc, the one i tried in very first time. |
Beta Was this translation helpful? Give feedback.
-
Ok, so i tried on a VM. simple hostapd.conf file:
My phone connects and then disconnects immediately. With a intel AX-201 client, it connects, but pings are very unstable, iperf3 is 0 MB/s. I'll try again on another pc later. Right now, not much time. |
Beta Was this translation helpful? Give feedback.
-
Try this distro since you are testing in a VM: https://cdimage.ubuntu.com/daily-live/current/lunar-desktop-amd64.iso Try the following. I made some changes:
This sounds like a security issue and it may be triggered by a couple of settings in hostapd.conf. If neither of the above help, try a very simple 5 GHz band hostapd.conf. |
Beta Was this translation helpful? Give feedback.
-
@morrownr something is bad. I run that .iso live on the VM. I connected as a client to my wifi6 xiaomi AP, did a iperf3 test, but everything was at 0 MB/s and then it stalled. The wifi interface disappeared from "ip a". Also drom Ubuntu's Settings panel. Exactly same thing happened before when i tested on a physical machine running Rocky 9. I am testing it on a windows laptop. It works great. From a linux VM bridged to Windows network, it does 77 MB/s on reverse mode and 69 MB/s normal mode. Pings to the AP are 2ms or below. Something wrong with the driver. |
Beta Was this translation helpful? Give feedback.
-
I downloaded the iso and booted it in virtualbox and then plugged in
I wonder if it is related to the USB subsystem. I rebooted and tried the CF-953AX by itself and it seems to work fine.
ping to my phone: |
Beta Was this translation helpful? Give feedback.
-
Well then, i don't know what's wrong with this comfast. Maybe another version of the same chip. But again, on windows using comfast drivers, it seems to work really great. Actually it's a bit faster than the laptop's own intel ax201. Anyway, i'm having luck with the mt7922 pcie card i also been posting on the other issue. So, this comfast adapter is going to decommissioned :) |
Beta Was this translation helpful? Give feedback.
-
I bought 3 directly from Taobao China. I was expecting it to be
Shows the interface but if I configure it to do anything, it causes kernel panic.
|
Beta Was this translation helpful? Give feedback.
-
I'm follow the other thread. I even posted about 80+80. If you are going to hang onto the Comfast adapter, maybe at a later time we can do a deep dive and see if we can determine the problem.
Getting an os in a VM to properly use a wifi adapter can be a challenge. But don't ask me, I don't do VM's.
You are the second person I have heard this from. Not sure what is going on. |
Beta Was this translation helpful? Give feedback.
-
What's the link to the product you bought?
|
Beta Was this translation helpful? Give feedback.
-
I think 6211 is the product id of the Bluetooth part of my mt7921k (pci).
I disconnected the Bluetooth part but I think it is. :-)
I don't know who 3574 is.
|
Beta Was this translation helpful? Give feedback.
-
Back in January, a user here mentioned that he had bought a cf-952ax adapter and discovered that it had a mt7921au chipset. He also discovered it used a company specific VID/PID as follows: 3574:6211 He then submitted a patch that is in the kernel but I would have to research exactly when it went in. So, it seems that cf-952ax and some cf-953ax adapters use that VIS-PID. Comfast seems to be making a little mess.
|
Beta Was this translation helpful? Give feedback.
-
Hello @morrownr I used the config from @Zen3515 's repo in an old NUC I am using & trying to test hostapd AP (CF-953AX 0e8d:7961 / 6.2.12-1-MANJARO). The box freezes always while receiving the first 4-Way handshake from the first STA trying to connect. After that I also tested "n" mode and had the same results. I also tested with USB2 port, USB3 port, externally powered hub etc Any thought regarding the hangs ? Logs from previous boot that ultimately hanged
Tested a multitude of configs with exact same result, indicatively
PS: Any advice like opening an issue in your repo or elsewere instead of commenting to a General thread is welcome. |
Beta Was this translation helpful? Give feedback.
-
[Info] Yesterday my new toy arrived and really worked out of the box, at least with the mainline kernel 5.18.12. With standard Ubuntu kernels, I tested 5.15.0.41.43 & 5.17.0.1013.12 (OEM), it does not work without further action.
Speedtest by Ookla
Server: iway AG - Zurich (id = 3188)
ISP: Vodafone Germany
Latency: 24.94 ms (39.31 ms jitter)
Download: 390.00 Mbps (data used: 460.7 MB)
Upload: 25.01 Mbps (data used: 43.2 MB)
Packet Loss: 0.0%
lsusb
Bus 002 Device 007: ID 0e8d:7961 MediaTek Inc. Wireless_Device
uname -a
Linux foen-ThinkPad-T570 5.18.12-051812-generic #202207150942 SMP PREEMPT_DYNAMIC Fri Jul 15 10:10:55 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
dmesg
[ 1038.765594] usb 2-2: new SuperSpeed USB device number 7 using xhci_hcd
[ 1038.788041] usb 2-2: New USB device found, idVendor=0e8d, idProduct=7961, bcdDevice= 1.00
[ 1038.788045] usb 2-2: New USB device strings: Mfr=6, Product=7, SerialNumber=8
[ 1038.788047] usb 2-2: Product: Wireless_Device
[ 1038.788048] usb 2-2: Manufacturer: MediaTek Inc.
[ 1038.788049] usb 2-2: SerialNumber: 000000000
[ 1041.272871] Bluetooth: hci0: Device setup in 2418728 usecs
[ 1043.297145] Bluetooth: hci0: Opcode 0x c03 failed: -110
[ 1045.313182] Bluetooth: hci0: Failed to read MSFT supported features (-110)
[ 1047.329075] Bluetooth: hci0: AOSP get vendor capabilities (-110)
[ 1047.457597] usb 2-2: reset SuperSpeed USB device number 7 using xhci_hcd
[ 1047.507236] mt7921u 2-2:1.3: HW/SW Version: 0x8a108a10, Build Time: 20220209150832a
[ 1047.602000] Bluetooth: hci0: Device setup in 117882 usecs
[ 1047.666384] Bluetooth: hci0: AOSP extensions version v1.00
[ 1047.666390] Bluetooth: hci0: AOSP quality report is supported
[ 1047.757820] mt7921u 2-2:1.3: WM Firmware Version: ____010000, Build Time: 20220209150915
[ 1049.373255] mt7921u 2-2:1.3 wlxe0e1a934a1bb: renamed from wlan0
[ 1053.039692] wlxe0e1a934a1bb: authenticate with 88:dc:96:8d:1a:fd
[ 1053.576871] wlxe0e1a934a1bb: send auth to 88:dc:96:8d:1a:fd (try 1/3)
[ 1053.585139] wlxe0e1a934a1bb: authenticated
[ 1053.592626] wlxe0e1a934a1bb: associate with 88:dc:96:8d:1a:fd (try 1/3)
[ 1053.608944] wlxe0e1a934a1bb: RX AssocResp from 88:dc:96:8d:1a:fd (capab=0x1511 status=0 aid=7)
[ 1053.636803] wlxe0e1a934a1bb: associated
[ 1053.687419] wlxe0e1a934a1bb: Limiting TX power to 20 (23 - 3) dBm as advertised by 88:dc:96:8d:1a:fd
[ 1053.735668] IPv6: ADDRCONF(NETDEV_CHANGE): wlxe0e1a934a1bb: link becomes ready
Interestingly, with the standard Ubuntu kernel the BT part works, which I am neither interested in nor have I tested for functionality, but at least the dmseg output looks good here.
Beta Was this translation helpful? Give feedback.
All reactions