cilynx / rtl88x2bu

rtl88x2bu driver updated for current kernels.
http://www.wolfteck.com/2018/02/22/wsky_1200mbps_wireless_usb_wifi_adapter/
GNU General Public License v2.0
1.66k stars 320 forks source link

Add packege to Openwrt #52

Open Menion2k opened 4 years ago

Menion2k commented 4 years ago

Hi

Openwrt snapshot moved to kernel 5.4

Can you work on adding this driver as Openwrt package?

Bye

lianghong commented 3 years ago

+1

MaxG87 commented 3 years ago

I don't know about @cilynx, but providing an OpenWRT package is beyond my capabilities. I do not even use OpenWRT, so I could not test anything.

However, I would love to move the project towards better OpenWRT compatibility. Would you be able to provide pull requests?

ghost commented 3 years ago

https://gitlab.com/_jason/openwrt-rtl8812bu-package

ghost commented 3 years ago

just tested it on OpenWRT (master snapshot (OpenWrt SNAPSHOT r16195-8391781389), arch - x86_64). AP mode - working STA - not tested iw dev wlan0 scan - working

Found problem: OpenWRT executing iw dev wlan0 del after enabling wifi, causing freeze so i created issue: https://github.com/cilynx/rtl88x2bu/issues/141

how to start it: compile and install kmod-rtl88x2bu execute: ip link set wlan0 up and you need to start hostapd manually (if you want AP mode)

also, netifd ignoring wlan0 in /etc/config/network ifname, so you need to rename interface: for example: add ip link set wlan0 name wifi0 && ip link set wifi0 up to /etc/rc.local and add option ifname 'wifi0' option force_link '1' to your interface (config interface in /etc/config/network) (maybe not needed for bridges)