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
Next revisionBoth sides next revision
linux:openwrt:openwrt [2021/10/26 22:56] – [Install luci] jianqinglinux:openwrt:openwrt [2021/10/26 22:59] – [Update hosts] 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
/var/www/dokuwiki/wiki/data/pages/linux/openwrt/openwrt.txt · Last modified: 2022/05/03 19:52 by jianqing