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 [2020/10/23 12:06] percylinux:openwrt:openwrt [2021/04/07 23:11] percy
Line 10: Line 10:
      
 ===== Update network config ===== ===== Update network config =====
-After install the image in the VMM, need to update the network config+After install the image in the VMM, need to update the network config(/etc/config/network)
   - gateway   - gateway
   - dns   - dns
Line 66: Line 66:
 tcp_bbr                16384 35  tcp_bbr                16384 35 
 ``` ```
 +
 +===== Update hosts =====
 +  vim /etc/config/dhcp
 +
 +Add the `list addnhosts '/etc/myhosts'`
 +```
 +config dnsmasq                                                                                                     ...                                                                                           
 +        list addnhosts '/etc/myhosts'    
 +```
 +Then add your hosts to /etc/myhosts
 +  vim /etc/myhosts
 +  
 +Then restart the dnsmasq service
 +  /etc/init.d/dnsmasq restart
 +
 +  
 +  
 +
/var/www/dokuwiki/wiki/data/pages/linux/openwrt/openwrt.txt · Last modified: 2022/05/03 19:52 by jianqing