Ubuntu1604 Ethereum
Publish: 2021-04-27 03:33:15
1. If IP is not automatically assigned, it needs to be manually filled in in the network management
click the network connection icon in the upper right corner to edit the connection, and then double-click your current wired connection to switch to the IPv4 interface and edit it.
click the network connection icon in the upper right corner to edit the connection, and then double-click your current wired connection to switch to the IPv4 interface and edit it.
2.
See the article:
< pre t = "code" L = "HTML" > http://www.yyearth.com/article/14-04/network.html3. There is a space in the middle: ifconfig-a network card name is not necessarily eth0, it may be other name. If you don't see the network card, it means that the system doesn't recognize it, and you need to install another driver
4. You want a network card device, right
/ etc / network / interfaces
sudo VI / etc / network / interfaces
you can edit it and replace the line about eth0 with the following line:
? The primary network interface - use DHCP to find our address
auto eth0
Iface eth0 INET DHCP
use the following command to make the network settings effective:
sudo / etc / in It.d/networking restart
you can also directly enter the following command from the command line to get the address
/ etc / network / interfaces
sudo VI / etc / network / interfaces
you can edit it and replace the line about eth0 with the following line:
? The primary network interface - use DHCP to find our address
auto eth0
Iface eth0 INET DHCP
use the following command to make the network settings effective:
sudo / etc / in It.d/networking restart
you can also directly enter the following command from the command line to get the address
5. The method to modify the IP address of Ubuntu server is as follows: edit the configuration file, add the corresponding IP address information in VIM / etc / network / interfaces, such as Iface eth0 INET static address 192.168.1.100 netmask 255.255.255.0 gateway 192.168.1.1, save and exit.
6. I don't understand what you mean... If you start the eth0 instruction ifconifg eth0 up. If you do not recognize the network card.. Please install the NIC driver
7. If you want to see your network card, you can use: ifconfig - all view
you can use ifconfig eth1 & lt; ipaddress> netmask < netmask> Up command to enable your network card
thank you.
you can use ifconfig eth1 & lt; ipaddress> netmask < netmask> Up command to enable your network card
thank you.
8. 如果ethtool eth0显示的信息类似与下面Settings for eth0:Supported ports: [ TP ]Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Half 1000baseT/FullSupports auto-negotiation: YesAdvertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Half 1000baseT/Full说明eth0是千兆网卡,如果ethtool eth0显示的信息类似与下面Settings for eth0:Supported ports: [ TP ]Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/FullSupports auto-negotiation: YesAdvertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full说明eth0是百兆网卡对网络进行设置,可以编辑vi /etc/network/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 interfaceauto loiface lo inet loopbackauto eth0 #设置eth0iface eth0 inet static address 192.168.37.76 netmask 255.255.255.0 network 192.168.37.0 broadcast 192.168.37.255 gateway 192.168.37.254 dns-nameservers 192.168.37.254 #auto eth1 #设置eth1#iface eth1 inet static#address xxx #auto eth0:1 #单网卡设置多个IP#iface eth0:1 inet static#address 192.168.1.60#netmask 255.255.255.0#network x.x.x.x#broadcast x.x.x.x#gateway x.x.x.x设置完后重启网络/etc/init.d/networking restart
9. The most convenient way to Ping is to set the working mode of virtual network card to "bridge" in the configuration of virtual machine. In this way, the virtual machine and the physical machine are in the same IP segment. The premise is that there is a route and the DHCP function is turned on. If there is no DHCP, manually set it to the same IP segment.
10. Eth0 refers to the wired network card. The mobile phone should have no cable network card, you can ignore this prompt.
Hot content
