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/04/07 23:11] – percy | linux:openwrt:openwrt [2022/05/03 19:52] (current) – jianqing | ||
|---|---|---|---|
| Line 14: | Line 14: | ||
| - dns | - dns | ||
| - | ``` | + | < |
| config interface ' | config interface ' | ||
| option type ' | option type ' | ||
| option ifname ' | option ifname ' | ||
| option proto ' | option proto ' | ||
| - | option ipaddr ' | + | option ipaddr ' |
| option netmask ' | option netmask ' | ||
| option ip6assign ' | option ip6assign ' | ||
| Line 25: | Line 25: | ||
| option gateway ' | option gateway ' | ||
| list dns ' | list dns ' | ||
| - | ``` | + | |
| + | config interface ' | ||
| + | option ifname ' | ||
| + | option proto ' | ||
| + | |||
| + | </ | ||
| ===== Install luci ===== | ===== Install luci ===== | ||
| - | https:// | + | - https:// |
| - | ``` | + | |
| - | opkg update | + | opkg update |
| - | opkg install luci | + | opkg install luci |
| - | ``` | + | |
| ===== Install tools ===== | ===== Install tools ===== | ||
| ``` | ``` | ||
| Line 49: | 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 62: | Line 67: | ||
| sysctl -p | sysctl -p | ||
| - | ``` | + | < |
| lsmod|grep bbr | lsmod|grep bbr | ||
| tcp_bbr | tcp_bbr | ||
| - | ``` | + | </ |
| ===== Update hosts ===== | ===== Update hosts ===== | ||
| Line 71: | 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 80: | 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.1617808305.txt.gz · Last modified: 2021/04/07 23:11 by percy
