Cubieboard 有线网络 固定IP、固定MAC地址 上网

我这里路由器做了硬件地址绑定,需要固定ip和mac地址,记一下,下次重装直接拷贝就完了。

 
root@cubieboard:~# cat /etc/network/interfaces
auto lo eth0
iface lo inet loopback
iface eth0 inet static
    address 192.168.1.98
    netmask 255.255.0.0
    gateway 192.168.1.1
    hwaddress ether 02:C9:06:C2:98:AB
root@cubieboard:~# cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 219.146.1.66
nameserver 219.147.1.66

  WordPress › 错误