2.修改IP

chu888chu888@seafileserver:/etc/network$ pwd
/etc/network
chu888chu888@seafileserver:/etc/network$ more interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto p3p1
#iface p3p1 inet dhcp
iface p3p1 inet static
address 192.168.1.73
netmask 255.255.255.0
gateway 192.168.1.1

chu888chu888@seafileserver:/etc/network$ 


chu888chu888@seafileserver:/etc$ more 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 192.168.1.1

results matching ""

    No results matching ""