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 revisionBoth sides next revision
linux:openwrt:openwrt [2021/08/31 10:48] percylinux:openwrt:openwrt [2021/10/26 22:56] – [Update network config] jianqing
Line 19: Line 19:
  option ifname 'eth0'  option ifname 'eth0'
  option proto 'static'  option proto 'static'
- option ipaddr '192.168.1.18'+ option ipaddr '192.168.2.1'
  option netmask '255.255.255.0'  option netmask '255.255.255.0'
  option ip6assign '60'  option ip6assign '60'
Line 25: Line 25:
  option gateway '192.168.1.1'  option gateway '192.168.1.1'
  list dns '8.8.8.8'  list dns '8.8.8.8'
 +
 +config interface 'wan'
 +        option ifname 'eth1'
 + option proto 'dhcp'
 +
 </code> </code>
  
/var/www/dokuwiki/wiki/data/pages/linux/openwrt/openwrt.txt · Last modified: 2022/05/03 19:52 by jianqing