Jump to content

Recommended Posts

Posted

@going

 

out put off the command:

 

johan@rk322x-box:~$ sudo apt-get install build-essential git dkms
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
build-essential is already the newest version (12.10ubuntu1).
git is already the newest version (1:2.43.0-1ubuntu7.1).
dkms is already the newest version (3.0.11-1ubuntu13).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
johan@rk322x-box:~$
 

Posted
2 минуты назад, JOHAN VAN DER MERWE сказал:

build-essential is already the newest version (12.10ubuntu1).
git is already the newest version (1:2.43.0-1ubuntu7.1).
dkms is already the newest version (3.0.11-1ubuntu13).

Everything is set.

Posted

@going 

 

 

Im still getting no such file directory when i run the first command in this instruction could that be the problem 

 

How to install

sudo apt-get install build-essential git dkms linux-headers-$(uname -r)

git clone https://github.com/kelebek333/rtl8188fu

sudo dkms install ./rtl8188fu

sudo cp ./rtl8188fu/firmware/rtl8188fufw.bin /lib/firmware/rtlwifi/

 

 

Configuration

Disable Power Management

Run following commands for disable power management and plugging/replugging issues.

sudo mkdir -p /etc/modprobe.d/

sudo touch /etc/modprobe.d/rtl8188fu.conf

echo "options rtl8188fu rtw_power_mgnt=0 rtw_enusbss=0 rtw_ips_mode=0" | sudo tee /etc/modprobe.d/rtl8188fu.conf

Disable MAC Address Spoofing

Run following commands for disabling MAC Address Spoofing (Note: This is not needed on Ubuntu based distributions. MAC Address Spoofing is already disable on Ubuntu base).

sudo mkdir -p /etc/NetworkManager/conf.d/

sudo touch /etc/NetworkManager/conf.d/disable-random-mac.conf

echo -e "[device]\nwifi.scan-rand-mac-address=no" | sudo tee /etc/NetworkManager/conf.d/disable-random-mac.conf

Blacklist (alias) for kernel 5.15 and 5.16 (No needed for kernel 5.17 and up)

If you are using kernel 5.15 and 5.16, you must create a configuration file with following command for preventing to conflict rtl8188fu module with built-in r8188eu module.

echo 'alias usb:v0BDApF179d*dc*dsc*dp*icFFiscFFipFFin* rtl8188fu' | sudo tee /etc/modprobe.d/r8188eu-blacklist.conf

Blacklist (alias) for kernel 6.2 and up

If you are using kernel 6.2 and up, you must create a configuration file with following command for preventing to conflict rtl8188fu module with built-in rtl8xxxu module.

echo 'alias usb:v0BDApF179d*dc*dsc*dp*icFFiscFFipFFin* rtl8188fu' | sudo tee /etc/modprobe.d/rtl8xxxu-blacklist.conf

Then you must update initramfs

For initramfs

sudo update-initramfs -u

For dracut

sudo dracut -q --force

Enable rtl8188fu module

 

how do I install these drivers for my wifi chip

 

https://github.com/kelebek333/rtl8188fu

Posted

this is the output of the 3 lines that you said i need to install this is the last deb line.

 

johan@rk322x-box:~/debs$ sudo dpkg -i linux-image-edge-rockchip_24.11.0-trunk_ar                                                                                        mhf__6.11.4-S1736-D29ea-P86b9-C85f2H5c21-HK01ba-V014b-Ba3b7-R448a.deb
(Reading database ... 175770 files and directories currently installed.)
Preparing to unpack linux-image-edge-rockchip_24.11.0-trunk_armhf__6.11.4-S1736-                                                                                        D29ea-P86b9-C85f2H5c21-HK01ba-V014b-Ba3b7-R448a.deb ...
Armbian 'linux-image-edge-rockchip' for '6.11.4-edge-rockchip': 'prerm' starting                                                                                        .
Armbian 'linux-image-edge-rockchip' for '6.11.4-edge-rockchip': 'prerm' finishin                                                                                        g.
Armbian 'linux-image-edge-rockchip' for '6.11.4-edge-rockchip': 'preinst' starti                                                                                        ng.
Armbian 'linux-image-edge-rockchip' for '6.11.4-edge-rockchip': 'preinst' finish                                                                                        ing.
Unpacking linux-image-edge-rockchip (24.11.0-trunk) over (24.11.0-trunk) ...
Armbian 'linux-image-edge-rockchip' for '6.11.4-edge-rockchip': 'postrm' startin                                                                                        g.
Armbian 'linux-image-edge-rockchip' for '6.11.4-edge-rockchip': 'postrm' finishi                                                                                        ng.
Setting up linux-image-edge-rockchip (24.11.0-trunk) ...
Armbian 'linux-image-edge-rockchip' for '6.11.4-edge-rockchip': 'postinst' start                                                                                        ing.
 * dkms: running auto installation service for kernel 6.11.4-edge-rockchip
 * dkms: autoinstall for kernel 6.11.4-edge-rockchip                     [ OK ]
update-initramfs: Generating /boot/initrd.img-6.11.4-edge-rockchip
W: Possible missing firmware /lib/firmware/mrvl/sdiouart8997_combo_v4.bin for bu                                                                                        ilt-in driver mwifiex_sdio
W: Possible missing firmware /lib/firmware/mrvl/sdsd8997_combo_v4.bin for built-                                                                                        in driver mwifiex_sdio
W: Possible missing firmware /lib/firmware/mrvl/sd8987_uapsta.bin for built-in d                                                                                        river mwifiex_sdio
W: Possible missing firmware /lib/firmware/mrvl/sdiouartiw416_combo_v0.bin for b                                                                                        uilt-in driver mwifiex_sdio
W: Possible missing firmware /lib/firmware/mrvl/sdsd8977_combo_v2.bin for built-                                                                                        in driver mwifiex_sdio
W: Possible missing firmware /lib/firmware/mrvl/sd8887_uapsta.bin for built-in d                                                                                        river mwifiex_sdio
W: Possible missing firmware /lib/firmware/mrvl/sd8897_uapsta.bin for built-in d                                                                                        river mwifiex_sdio
W: Possible missing firmware /lib/firmware/mrvl/sd8801_uapsta.bin for built-in d                                                                                        river mwifiex_sdio
W: Possible missing firmware /lib/firmware/mrvl/sd8797_uapsta.bin for built-in d                                                                                        river mwifiex_sdio
W: Possible missing firmware /lib/firmware/mrvl/sd8787_uapsta.bin for built-in d                                                                                        river mwifiex_sdio
W: Possible missing firmware /lib/firmware/mrvl/sd8786_uapsta.bin for built-in d                                                                                        river mwifiex_sdio
W: Possible missing firmware /lib/firmware/rt73.bin for built-in driver rt73usb
W: Possible missing firmware /lib/firmware/bfubase.frm for built-in driver bfusb
W: Possible missing firmware /lib/firmware/intel/ibt-12-16.ddc for built-in driv                                                                                        er btintel
W: Possible missing firmware /lib/firmware/intel/ibt-12-16.sfi for built-in driv                                                                                        er btintel
W: Possible missing firmware /lib/firmware/intel/ibt-11-5.ddc for built-in drive                                                                                        r btintel
W: Possible missing firmware /lib/firmware/intel/ibt-11-5.sfi for built-in drive                                                                                        r btintel
W: Possible missing firmware /lib/firmware/mrvl/sdsd8997_combo_v4.bin for built-                                                                                        in driver btmrvl_sdio
W: Possible missing firmware /lib/firmware/mrvl/sd8987_uapsta.bin for built-in d                                                                                        river btmrvl_sdio
W: Possible missing firmware /lib/firmware/mrvl/sdsd8977_combo_v2.bin for built-                                                                                        in driver btmrvl_sdio
W: Possible missing firmware /lib/firmware/mrvl/sd8897_uapsta.bin for built-in d                                                                                        river btmrvl_sdio
W: Possible missing firmware /lib/firmware/mrvl/sd8887_uapsta.bin for built-in d                                                                                        river btmrvl_sdio
W: Possible missing firmware /lib/firmware/mrvl/sd8797_uapsta.bin for built-in d                                                                                        river btmrvl_sdio
W: Possible missing firmware /lib/firmware/mrvl/sd8787_uapsta.bin for built-in d                                                                                        river btmrvl_sdio
W: Possible missing firmware /lib/firmware/mrvl/sd8688.bin for built-in driver b                                                                                        tmrvl_sdio
W: Possible missing firmware /lib/firmware/mrvl/sd8688_helper.bin for built-in d                                                                                        river btmrvl_sdio
W: Possible missing firmware /lib/firmware/rtl_bt/rtl8852cu_config.bin for built                                                                                        -in driver btrtl
W: Possible missing firmware /lib/firmware/rtl_bt/rtl8852cu_fw_v2.bin for built-                                                                                        in driver btrtl
W: Possible missing firmware /lib/firmware/rtl_bt/rtl8852cu_fw.bin for built-in                                                                                         driver btrtl
W: Possible missing firmware /lib/firmware/rtl_bt/rtl8852btu_config.bin for buil                                                                                        t-in driver btrtl
W: Possible missing firmware /lib/firmware/rtl_bt/rtl8852btu_fw.bin for built-in                                                                                         driver btrtl
W: Possible missing firmware /lib/firmware/rtl_bt/rtl8852au_config.bin for built                                                                                        -in driver btrtl
W: Possible missing firmware /lib/firmware/rtl_bt/rtl8852au_fw.bin for built-in                                                                                         driver btrtl
W: Possible missing firmware /lib/firmware/rtl_bt/rtl8851bu_config.bin for built                                                                                        -in driver btrtl
W: Possible missing firmware /lib/firmware/rtl_bt/rtl8851bu_fw.bin for built-in                                                                                         driver btrtl
W: Possible missing firmware /lib/firmware/rtl_bt/rtl8821cs_config.bin for built                                                                                        -in driver btrtl
W: Possible missing firmware /lib/firmware/rtl_bt/rtl8821cs_fw.bin for built-in                                                                                         driver btrtl
W: Possible missing firmware /lib/firmware/rtl_bt/rtl8821a_config.bin for built-                                                                                        in driver btrtl
W: Possible missing firmware /lib/firmware/rtl_bt/rtl8821a_fw.bin for built-in d                                                                                        river btrtl
W: Possible missing firmware /lib/firmware/rtl_bt/rtl8761bu_config.bin for built                                                                                        -in driver btrtl
W: Possible missing firmware /lib/firmware/rtl_bt/rtl8761bu_fw.bin for built-in                                                                                         driver btrtl
W: Possible missing firmware /lib/firmware/rtl_bt/rtl8761b_config.bin for built-                                                                                        in driver btrtl
W: Possible missing firmware /lib/firmware/rtl_bt/rtl8761b_fw.bin for built-in d                                                                                        river btrtl
W: Possible missing firmware /lib/firmware/rtl_bt/rtl8761a_config.bin for built-                                                                                        in driver btrtl
W: Possible missing firmware /lib/firmware/rtl_bt/rtl8761a_fw.bin for built-in d                                                                                        river btrtl
W: Possible missing firmware /lib/firmware/rtl_bt/rtl8723d_config.bin for built-                                                                                        in driver btrtl
W: Possible missing firmware /lib/firmware/rtl_bt/rtl8723d_fw.bin for built-in d                                                                                        river btrtl
W: Possible missing firmware /lib/firmware/rtl_bt/rtl8723a_fw.bin for built-in d                                                                                        river btrtl
update-initramfs: Armbian: Converting to u-boot format: /boot/uInitrd-6.11.4-edge-rockchip
Image Name:   uInitrd
Created:      Tue Oct 22 21:03:27 2024
Image Type:   ARM Linux RAMDisk Image (gzip compressed)
Data Size:    14944180 Bytes = 14593.93 KiB = 14.25 MiB
Load Address: 00000000
Entry Point:  00000000
update-initramfs: Armbian: Symlinking /boot/uInitrd-6.11.4-edge-rockchip to /boot/uInitrd
'/boot/uInitrd' -> 'uInitrd-6.11.4-edge-rockchip'
update-initramfs: Armbian: done.
Armbian: update last-installed kernel symlink to 'zImage'...
'/boot/zImage' -> 'vmlinuz-6.11.4-edge-rockchip'
Armbian: Debian compat: linux-update-symlinks install 6.11.4-edge-rockchip boot/vmlinuz-6.11.4-edge-rockchip
Armbian 'linux-image-edge-rockchip' for '6.11.4-edge-rockchip': 'postinst' finishing.
 

Posted

@going

 

Im trying a method on the armbian forum as follows.

 

I made the line bold that I should change to my version where can I find out.

 

4. For the USB dongle with RTL8188FTV :

git clone https://github.com/kelebek333/rtl8188fu.git

cd rtl8188fu

we need to change some EXTRA_CFLAGS too and I think it is self explanatory, just add the missing lines, remove #:

nano Makefile

EXTRA_CFLAGS += -Wno-error=incompatible-pointer-types

EXTRA_CFLAGS += -Wno-incompatible-pointer-types

EXTRA_CFLAGS += -Wno-vla

EXTRA_CFLAGS += -Wno-error=date-time

(exit with ctrl+x)

 

And now second difference form post above - we use different image so we have lib/modules/5.3.0-aml-g12 but we can use uname -r

make ARCH=arm64 KSRC=../Amlogic_s905-kernel CONFIG_POWER_SAVING=n

sudo install -p -m 644 rtl8188fu.ko /lib/modules/$(uname -r)/kernel/drivers/net/wireless

/sbin/depmod -a

sudo modprobe rtl8188fu

Posted

@going 

 

we have done it finally.

 

wlx00e0372f872e: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.0.141  netmask 255.255.255.0  broadcast 192.168.0.255
        inet6 fe80::5acf:cb45:6c14:ce63  prefixlen 64  scopeid 0x20<link>
        ether 00:e0:37:2f:87:2e  txqueuelen 1000  (Ethernet)
        RX packets 100  bytes 14923 (14.9 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 112  bytes 11935 (11.9 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
 

Dont know what it was but when i used nmuti I saw my wifi and network.

 

thank you soooo much im very happy now.

 

now if I can only restore android back to this box i still dont know how to convert the gz file to a img i managed to decompress it folder is showing 7.8gig so that I can install arbian on a mxq box because it has more usb ports 

 

again thannnnnnkkk youuuuuuu for all the patience  

Posted

@going

 

okay small problem but not that big

 

everytime after shut down or reboot it disconnects the wifi and i need to connect again with nmuti how can I set it so it always connects and I dont have to do it manually because now I have to plug in the lan the connect wifi and can then remove the lan 

 

Posted

@going

 

okay deeper in the disconnecting 

 

to get wifi again if i reboot or shut down I need to plug in the lan cable remove usb the wifi is back up I tried by only removing the usb and plug it back in with out lan cable but then still no wifi its as if i need to add the lan cable then remove dongle then reinsert to get wifi back.

 

I however don't need to go in to nmuti to connect again.

Posted
13 часов назад, JOHAN VAN DER MERWE сказал:

to get wifi again if i reboot or shut down I need to plug in the lan cable remove usb the wifi is back up I tried by only removing the usb and plug it back in with out lan cable but then still no wifi its as if i need to add the lan cable then remove dongle then reinsert to get wifi back.

 

I however don't need to go in to nmuti to connect again.

There are several ways to force a WIFI-USB device to be detected in the OS.
You can write and add a node to the DTS. That is, to use an overlay.
You can write a rule and add it to the initialization scripts.
Or a combination of these methods.
Please reach out to people who have already succeeded in this.
There are publications on this topic here on the forum.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines