linux网卡配置
6.3网卡配置
DEVICE=eth0
TYPE=Ethernet
BOOTPROTO=dhcp
ONBOOT=yes
NETMASK=255.255.255.0
GETWAY=192.168.1.255
IPADDR=192.168.1.254
7.0网卡配置
HWADDR=00:0C:29:2F:57:70
TYPE=Ethernet
BOOTPROTO=dhcp
DEFROUTE=yes
PEERDNS=yes
PEERROUTES=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_PEERDNS=yes
IPV6_PEERROUTES=yes
IPV6_FAILURE_FATAL=no
NAME=eno16777736
UUID=1a3eaf73-a82e-45fc-865e-aa4c24b837f5
ONBOOT=no
ubuntu 12.04
打开/etc/network/interface
auto eth0
iface eth0 inet static
address 10.10.10.40
netmask 255.0.0.0
注意:这两个软件安装必须在连接外网的情况下才能成功
ubuntu允许ssh远程连接
sudo apt-get install openssh-server
ubuntu允许ssh传输文件
sudo apt-get install lszrz
ubuntu关闭防火墙
ufw disable
相关推荐
farwang 2020-11-25
星愿心愿 2020-11-24
tianhuak 2020-11-24
zhjn0 2020-11-24
昭君出塞 2020-11-23
bluecarrot 2020-11-23
linuxwcj 2020-10-21
以梦为马不负韶华 2020-10-20
彼岸随笔 2020-10-20
yutou0 2020-10-17
applecarelte 2020-10-16
ourtimes 2020-10-16
waterhorse 2020-09-19
MRFENGG 2020-11-11
rainandtear 2020-10-30
kyssfanhui 2020-10-20
liuhangtiant 2020-10-20