raspberry B
从官方下了 raspbian 烧卡安装都正常
然后像配置静态 IP 方便使用
配置文件反复核对都无误,但是每次重启后必须要 route add default gw 才能正常的连接外网
之前还有奇怪的和 USB 无线网卡冲突的问题,不过暂时解决了
就这个无法理解。。。
求助
补充一下配置vi /etc/network/interface
# interfaces(5) file used by ifup(8) and ifdown(8)
# Please note that this file is written to be used with dhcpcd
# For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf'
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d
auto lo
iface lo inet loopback
auto eth0
#iface eth0 #inet manual
iface eth-0 inet static
address 10.1.10.69
netmask 255.255.0.0
gateway 10.1.10.1
broadcast 10.1.255.255
dns-nameserver 114.114.114.114
从官方下了 raspbian 烧卡安装都正常
然后像配置静态 IP 方便使用
配置文件反复核对都无误,但是每次重启后必须要 route add default gw 才能正常的连接外网
之前还有奇怪的和 USB 无线网卡冲突的问题,不过暂时解决了
就这个无法理解。。。
求助
补充一下配置vi /etc/network/interface
# interfaces(5) file used by ifup(8) and ifdown(8)
# Please note that this file is written to be used with dhcpcd
# For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf'
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d
auto lo
iface lo inet loopback
auto eth0
#iface eth0 #inet manual
iface eth-0 inet static
address 10.1.10.69
netmask 255.255.0.0
gateway 10.1.10.1
broadcast 10.1.255.255
dns-nameserver 114.114.114.114