硬件:LINJSYS WRT 1200 AC 路由器
固件
HostnameOpenWrt
ModelLinksys WRT1200AC
Firmware VersionOpenWrt Chaos Calmer 15.05.1 / LuCI 15.05-142-gb6330a1 Release (git-15.363.78009-956be55)
Kernel Version3.18.23
长按复位键后,Openwrt重启,管理界面默认IP为192.168.1.1
1,ssh进入 ssh root@192.168.1.1password:root
2,cd /etc/config
3, cat network
如下:
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'fd20:5b9b:5959::/48'
config interface 'lan'
option ifname 'eth1'
option force_link '1'
option type 'bridge'
option proto 'static'
option netmask '255.255.255.0'
option ip6assign '60'
option ipaddr '192.168.44.1'
config interface 'wan'
option ifname 'eth0'
option proto 'dhcp'
config interface 'wan6'
option ifname 'eth0'
option proto 'dhcpv6'
4,重启路由器电源,Lan网段从1自动变成44
https://blog.csdn.net/xiaodingqq/article/details/80024452