万博网页版登陆页派配置网络
有些朋友一直在问如果配置网络,就简单写写吧,希望能帮助到大家1.配置ip地址编辑sudo nano/etc/network/interfaces自动获取ip的配置:auto eth0
allow-hotplug eth0
iface eth0 inet dhcp 手动配置ip:auto eth0
iface eth0 inet static
address 192.168.1.7
netmask 255.255.255.0
gateway 192.168.0.254 2.配置DNS编辑 sudo nano /etc/resolv.confdomain lan
search lan
nameserver 192.168.1.1
nameserver 192.168.99.100注:nameserver 后面的ip就是dns服务器,根据自己的运营商情况填吧
页:
[1]