Wifi Problem _ Beginner

@Vbum, would you care to share the fix here?....In that way all readers/members will benefit.
First clone into "git clone https://github.com/goecho/aic8800_linux_drvier"
Then Cd "aic8800"
Then "Make" Probably you will get 2 errors, If u get them follow my steps.

First "nano /root/aic8800_linux_drvier/drivers/aic8800/aic8800_fdrv/rwnx_main.c"

Then "Ctrl + Shift + -"
then type the number 1076

Should get you here
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 0, 0))
// For kernels version 6.0.0 and above (with 3 parameters)
cfg80211_ch_switch_notify(vif->ndev, &csa->chandef, 0);

Change the "cfg80211_ch_switch_notify(vif->ndev, &csa->chandef, 0);"
press tab before retyping the line
With: cfg80211_ch_switch_notify(vif->ndev, &csa->chandef, 0, 0);

Same should be done in line 4705 also

To save and quit nano, Ctrl+S, Ctrl+X

Fingers cross and "make" again

If you see no errors Reboot and "Iwconfig" and the adapter will be working.

Thank me later (~ ̄▽ ̄)~
 
Last edited:


Hello,

i have install Linux Mint as second OS before. At first my old wifi usb sick was supportet and work not stable but work. now i have bye new stick "Ugreen AX900" The Stick is recognized as storage, but not as wlan network. What can I do. Im absolute Beginner in Linux and sorry, not perfect in english ;-
Before all of that you should setup the stick on a windows device, the setup triggers something inside the USB stick that changes it from storage USB to a Wi-Fi adapter Permanently.
 
Before all of that you should setup the stick on a windows device, the setup triggers something inside the USB stick that changes it from storage USB to a Wi-Fi adapter Permanently.
If the only problem that @Sanok is having is that the usb wifi dongle is being seen as a usb storage device, then the resolution of this issue is usually to use the usb-modeswitch command in linux which will make the change and enable the kernel to see the usb as a wifi device. There's no need for any other operating system to be involved. An example of the usage of the usb-modeswitch command in resolving this problem here went like the following in a terminal. First one gets the information on the vendor and product codes from the lsusb command, then one inserts the relevant details into the usb-modeswitch command:
Code:
$ lsusb
<snip>
Bus 001 Device 007: ID 2357:0107 TP-Link TL-WN821N v5/v6 [RTL8192EU]
<snip>
To reset the Wireless adapter from TP-Link, run as root:
Code:
# usb_modeswitch -v 0x2357 -p 0x0107 --reset-usb
If the usb-modeswitch command is unavailable, one can install the package.

A similar example online is here:
 
Note: If you leave this site to chat with another member, there's nothing we can (or will) do should you end up disliking each other or things like that.

So, contact people on chat servers only if you understand that there's no official Linux.org chat room.
 
If the only problem that @Sanok is having is that the usb wifi dongle is being seen as a usb storage device, then the resolution of this issue is usually to use the usb-modeswitch command in linux which will make the change and enable the kernel to see the usb as a wifi device. There's no need for any other operating system to be involved. An example of the usage of the usb-modeswitch command in resolving this problem here went like the following in a terminal. First one gets the information on the vendor and product codes from the lsusb command, then one inserts the relevant details into the usb-modeswitch command:
Code:
$ lsusb
<snip>
Bus 001 Device 007: ID 2357:0107 TP-Link TL-WN821N v5/v6 [RTL8192EU]
<snip>
To reset the Wireless adapter from TP-Link, run as root:
Code:
# usb_modeswitch -v 0x2357 -p 0x0107 --reset-usb
If the usb-modeswitch command is unavailable, one can install the package.

A similar example online is here:
The usb drive is technically nothing without running the setup on a windows device first.
 
The usb drive is technically nothing without running the setup on a windows device first.
I'm sorry but the meaning of that statement completely escapes me :) .

If, by chance you are suggesting that MS windows is somehow necessary for the functioning of usb hardware, that would certainly not be the case. All modern operating systems have the requisite drivers, firmware and other relevant software which comply with industry standards.

Perhaps you could expand on what you mean to clarify it for the interested reader.
 
I'm sorry but the meaning of that statement completely escapes me :) .

If, by chance you are suggesting that MS windows is somehow necessary for the functioning of usb hardware, that would certainly not be the case. All modern operating systems have the requisite drivers, firmware and other relevant software which comply with industry standards.

Perhaps you could expand on what you mean to clarify it for the interested reader.
I have the same adapter and had the same problem and fixed it by running the setup on windows first, It comes from the Manufacturer as a USB hard drive Containing the setup but once you run the setup it changes permanently from a USB drive into an adapter. The setup triggers something inside it, its like a switch.
 
I have the same adapter and had the same problem and fixed it by running the setup on windows first, It comes from the Manufacturer as a USB hard drive Containing the setup but once you run the setup it changes permanently from a USB drive into an adapter. The setup triggers something inside it, its like a switch.
Thanks for the reply.

In linux the matter of identifying the adapter as a wifi dongle rather than a storage device is outlined in the man page for the usb_modeswitch command. The following quote describes the process:
Several new USB devices have their proprietary Windows drivers onboard, most of them WWAN and WLAN dongles. When plugged in for the first time, they act like a flash storage and start installing the Windows driver from there. If the driver is installed, it makes the storage device disappear and a new device, mainly composite (e.g. with modem ports), shows up.

On Linux, in most cases the drivers are available as kernel modules, such as "usbserial" or "option". However, the device initially binds to "usb-storage" by default. usb_modeswitch can then send a provided bulk message (most likely a mass storage command) to the device; this message has to be determined by analyzing the actions of the Windows driver.

As can be understood, the linux command can deal appropriately with the onboard windows drivers, if they are present on the usb, which is not always the case. If the windows drivers aren't on the usb, then the kernel will identify the dongle as wifi and there is no issue. The important thing to note though in relation to the current issue is that windows is in no way necessary for the recognition of the usb as a wifi dongle since linux has the means to do it perfectly well using its own resources, as do other operating systems have their software to do the same thing.

Of course, the dongle needs to have the correct drivers and firmware installed in the system.
 
Last edited:
I'll describe the problem again, but I'm now going to reinstall Windows and use it at least until the end of 2025. It was supposed to be a planned change because as a pensioner I can no longer meet the hardware requirements for W11.
I also ordered the Ugreen AX900 because my older stick always had connection problems (downloads always broke off)
The first use under Windows was problem-free. It was recognized immediately and also listed as a USB drive
The stick had 2 directories, a setup file for Windows and a Linux directory.
When I tried it under Linux Mint, the stick was also listed in the device list, but not recognized as a network component. Not even after the many attempts above. However, the 2 directories on the stick were deleted and since then it has not been listed in Windows or LM. In Windows, however, it works invisibly as a network component. I hope the partially automatic translation is somewhat understandable ;-
 
OK so after a long search, I have determined this product contains one of the newer RTL chipsets but which one as yet I have not yet found.
 
Right so after a bit more searching.... UGREEN only make their kit for Windows, and do not publish which chipset they use,

I THINK
it will have either the RTL8852AE or the RTL8852BE chipset so my only suggestion at this stage is download and install both drivers from Github and try them [ this is my best guess, no guarantees]
 
Thank you, but at first i stop now. My nerves aren't the best anymore, I'll try again next year if I can still find the power button ;)
Maybe the driver situation will be better by then
 
I can no longer meet the hardware requirements for W11.

I have no experience with it, but the various tech sites have mentioned that it's possible to bypass those restrictions. At least it's possible for now.
 
No, if continued safe use of W10 or a W11 update is not officially possible, I will look for something else. New hardware is no longer an option for me. I have the same problem with my no longer supported phone.
 
will look for something else. New hardware is no longer an option for me.
You haven't actually told us what your computer is [make and model number,] oh and give us a clue as to what country you are in, as manufactures will use the same model number but different components in different countries
 
Hello, I use this driver, after not working driver on stick. I have contact Ugreen Thailand, they tell this is the right one.
https://www.lulian.cn/download/135.html and Device is same Attachment.
Computer Data: HP Prodesk 600 G1 SFF. But in Moment can not Test again, becouse at first have change OS now.
 

Attachments

  • ugreen-AX900.jpg
    ugreen-AX900.jpg
    73.7 KB · Views: 36
  • comp.PNG
    comp.PNG
    30.8 KB · Views: 34
Last edited:

If you can't get it working, then a Comfast mini usb wi-fi802 11 n150 will work [and they are not expensive] with the Linux Kernel drivers
I have one that I have used on several makes of machine including my pro desk and many different Linux distributions
 
Thank you,

the only "luxury" I have and need here is a fast internet connection (500MB). I have to access this via WiFi, as a direct LAN connection to the PC is not possible. That's why I ordered the WiFi6 stick, which can supposedly cover the bandwidth. As described, I'm waiting for developments.

But I'll prepare "Plan B". I can test a Linux distribution completely from a memory stick at the same time, right?
Maybe one more question on the side, does it make much difference to swap my I3 processor for an I7 4770 regardless of W11? Change to the SSD has already brought some benefits
 

Members online


Top