linux:openwrt:openwrt
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
linux:openwrt:openwrt [2021/10/26 22:56] – [Update network config] jianqing | linux:openwrt:openwrt [2022/05/03 19:52] (current) – jianqing | ||
---|---|---|---|
Line 33: | Line 33: | ||
===== Install luci ===== | ===== Install luci ===== | ||
- | https:// | + | - https:// |
- | ``` | + | |
- | opkg update | + | opkg update |
- | opkg install luci | + | opkg install luci |
- | ``` | + | |
===== Install tools ===== | ===== Install tools ===== | ||
``` | ``` | ||
Line 54: | Line 54: | ||
===== Install BBR ===== | ===== Install BBR ===== | ||
- | ``` | + | |
- | opkg install kmod-tcp-bbr | + | opkg install kmod-tcp-bbr |
- | insmod kmod-tcp-bbr | + | insmod kmod-tcp-bbr |
- | lsmod|grep bbr | + | lsmod|grep bbr |
- | ``` | + | |
vim / | vim / | ||
And add the following: | And add the following: | ||
Line 67: | Line 67: | ||
sysctl -p | sysctl -p | ||
- | ``` | + | < |
lsmod|grep bbr | lsmod|grep bbr | ||
tcp_bbr | tcp_bbr | ||
- | ``` | + | </ |
===== Update hosts ===== | ===== Update hosts ===== | ||
Line 76: | Line 77: | ||
Add the `list addnhosts '/ | Add the `list addnhosts '/ | ||
- | ``` | + | < |
config dnsmasq | config dnsmasq | ||
list addnhosts '/ | list addnhosts '/ | ||
- | ``` | + | </ |
Then add your hosts to / | Then add your hosts to / | ||
vim / | vim / | ||
Line 85: | Line 86: | ||
Then restart the dnsmasq service | Then restart the dnsmasq service | ||
/ | / | ||
+ | |||
+ | ===== eth0/lan doesn' | ||
+ | |||
+ | |||
+ | The network eth0 doesn' | ||
+ | device eth0 entered promiscuous mode | ||
+ | After google, I try to disable promiscuous mode. | ||
+ | ifconfig eth0 -promisc | ||
+ | |||
+ | - https:// | ||
+ | - https:// | ||
| | ||
| | ||
/var/www/dokuwiki/wiki/data/attic/linux/openwrt/openwrt.1635260187.txt.gz · Last modified: 2021/10/26 22:56 by jianqing