Ubuntu fish pond Ethereum
Publish: 2021-04-19 01:50:01
1. < / UL >
In practical work, we often encounter the operation of restarting the network card in Linux system. There are three methods as follows:
1, service network restart
< UL >you can use CRT tools to connect to the Linux command line interface; You can also enter the operating system interface, and then select the terminal input:
3, ifconfig eth0 up can be used to start the network card
Ifconfig eth0 down can be used to disable the NIC2. 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.
3. The description is not very clear
I don't understand your purpose
eth0 is the device name. Eh0 is connected to an Ethernet network
if you mean you can't connect to the Internet
it depends on the network condition of your home
if you want to use PPOE, you can click on the link to change the configuration of the linked device, and you need to enter the password you set at the time of installation. Then add PPOE
I don't understand your purpose
eth0 is the device name. Eh0 is connected to an Ethernet network
if you mean you can't connect to the Internet
it depends on the network condition of your home
if you want to use PPOE, you can click on the link to change the configuration of the linked device, and you need to enter the password you set at the time of installation. Then add PPOE
4.
See the article:
< pre t = "code" L = "HTML" > http://www.yyearth.com/article/14-04/network.html5. 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
6. 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
7. How many network cards do you have? The cable network card starts from eth0.
8. To set up a network card, you need root permission
sudo ifconfig eth0 192.168.0.1 netmask 255.255.255.0 up
this is what I show here
? When my network card is not inserted into the network cable, Results displayed:
ifconfig
eth0 link encap: Ethernet hardware address 00:11aa: Fe: 22: FB
up broadcast multimedia MTU: 1500 hops: 1
received packets: 0 error: 0 discard: 0 overload: 0 frames: 0
sent packets: 0 error: 0 discard: 0 overload: 0 carrier: 0
collision: 0 send queue length: 1 000
receive byte: 0 (0.0 b) send byte: 0 (0.0 b)
? After adding IP, but no network cable is inserted<
eth0 link encap: Ethernet hardware address 00:11aa: Fe: 22: FB
INET address: 192.168.0.1 broadcast: 192.168.0.255 mask: 255.255.255.0
up broadcast multicast MTU: 1500 metric: 1
receive packet: 0 error: 0 discard: 0 overload: 0 frames: 0
send packet: 0 error: 0 discard: 0 overload: 0 Carrier: 0
collision: 0 transmit queue length: 1000
receive byte: 0 (0.0 b) transmit byte: 0 (0.0 b)
supplement:
IP is not displayed because your local network card does not get IP
sudo ifconfig eth0 192.168.0.1 netmask 255.255.255.0 up
this is what I show here
? When my network card is not inserted into the network cable, Results displayed:
ifconfig
eth0 link encap: Ethernet hardware address 00:11aa: Fe: 22: FB
up broadcast multimedia MTU: 1500 hops: 1
received packets: 0 error: 0 discard: 0 overload: 0 frames: 0
sent packets: 0 error: 0 discard: 0 overload: 0 carrier: 0
collision: 0 send queue length: 1 000
receive byte: 0 (0.0 b) send byte: 0 (0.0 b)
? After adding IP, but no network cable is inserted<
eth0 link encap: Ethernet hardware address 00:11aa: Fe: 22: FB
INET address: 192.168.0.1 broadcast: 192.168.0.255 mask: 255.255.255.0
up broadcast multicast MTU: 1500 metric: 1
receive packet: 0 error: 0 discard: 0 overload: 0 frames: 0
send packet: 0 error: 0 discard: 0 overload: 0 Carrier: 0
collision: 0 transmit queue length: 1000
receive byte: 0 (0.0 b) transmit byte: 0 (0.0 b)
supplement:
IP is not displayed because your local network card does not get IP
9. 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.
10. 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
Hot content
