-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreadme.txt
98 lines (71 loc) · 2.28 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
WiFi dongle: rtl8822bu 0bda:b82c
Openwrt Linux : 21.02.1
Linux Version : 5.4.154
Openwrt platform : mt7688 LinkIt Smart 7688
Driver version : v5.8.7.1_35809.20191129_COEX20191129-7777
Change from :
Caution:
(1)
This package supports 2 lan interface.
Remvoe the pkg Makefie argument of "-DCONFIG+_CONCURRET_MODE" and supports 1 lan interface
(2)
If you USB dongle come without bluetooth (RTL881x), change src Makefle argument from
CONFIG_BT_COEXIST = y
to
CONFIG_BT_COEXIST = n
change pkg Makefile argument from
FILES:=$(PKG_BUILD_DR)/88x2bu.ko
to
FILES:=$(PKG_BUILD_DR)/8812bu.ko
#make 88x2bu.ko
#pacakge build
#merge rtl8822bu.tar.*
cat rtl8822bu.tar.* > rtl8822bu.tar
untar
copy rtl8822bu/ to openrt/package/kernel
select M at
Kernel modules
Wireless Drivers
kmod-rtl8822bu
make openrt/package/kernel/rtl8822bu/compile V=s
rtl88x2bu.ko at openwrt/build_dir/target-mipsel_musl/linux-ramips_mt76x8/rtl8822bu/
------------
#verify
[Lab] WiFi bridge
[PC] --- [waln2:AP:greatcat7 | mt7688 | wlan1:station] --- [AP:greatcat5G:192.168.2.1]
#For supporting WiFi brdige mode, openwrt need to modify cfg80211.ko
#Refer to Realtek's document of Quick_Start_Guide_for_Bridge.pdf
cat /etc/hostapd.conf
interface=wlan2
driver=nl80211
ssid=greatcat7
hw_mode=g
channel=1
bridge=br0
echo 1 > /proc/net/rtl88x2bu/log_level
ifconfig -a
ifconfig wlan1 up
iwlist wlan1 scan
iw wlan1 connect -w "greatcat5G"
brctl addbr br0
brctl addif br0 wlan1
brctl setfd br0 0
hostapd -d -B /etc/hostapd.conf
ifconfig br0 up
brctl show
change bridge status form
brctl show
bridge name bridge id STP enabled interfaces
br-lan 7fff.9c65f920a914 no eth0
to
brctl show
bridge name bridge id STP enabled interfaces
br-lan 7fff.9c65f920a914 no eth0
br0 8000.bcec4342ebd9 no wlan2
wlan1
-------
#test
#PC links to AP named greatcat7 and gets dhcp IP 192.168.2.x from greatcat5G
ping 192.168.2.1
-------
If the document help you, how about buy street cats a fish can ?