User Tools

Site Tools


linux:openwrt:openwrt

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
linux:openwrt:openwrt [2021/10/26 22:56] – [Install luci] jianqinglinux:openwrt:openwrt [2022/05/03 19:50] jianqing
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 /etc/sysctl.conf   vim /etc/sysctl.conf
 And add the following: And add the following:
Line 67: Line 67:
   sysctl -p   sysctl -p
  
-```+<code>
 lsmod|grep bbr lsmod|grep bbr
 tcp_bbr                16384 35  tcp_bbr                16384 35 
-```+</code> 
  
 ===== Update hosts ===== ===== Update hosts =====
Line 76: Line 77:
  
 Add the `list addnhosts '/etc/myhosts'` Add the `list addnhosts '/etc/myhosts'`
-```+<code>
 config dnsmasq                                                                                                     ...                                                                                            config dnsmasq                                                                                                     ...                                                                                           
         list addnhosts '/etc/myhosts'             list addnhosts '/etc/myhosts'    
-```+</code>
 Then add your hosts to /etc/myhosts Then add your hosts to /etc/myhosts
   vim /etc/myhosts   vim /etc/myhosts
Line 85: Line 86:
 Then restart the dnsmasq service Then restart the dnsmasq service
   /etc/init.d/dnsmasq restart   /etc/init.d/dnsmasq restart
 +
 +
 +The network eth0 doesn't work, and saw the log
 +  device eth0 entered promiscuous mode
 +After google, I try to disable promiscuous mode.
 +ifconfig eth0 -promisc
 +
 +  - https://help.aliyun.com/document_detail/41541.html
 +  - https://ieevee.com/tech/2016/11/24/promisc.html
  
      
      
  
/var/www/dokuwiki/wiki/data/pages/linux/openwrt/openwrt.txt · Last modified: 2022/05/03 19:52 by jianqing