Tag Archives: ifconfig

Raspberry pie view IP address (command ifconfig) and exit Ping

1.1 raspberry pie view IP address with the following command:

ifconfig

The results are as follows

 

Note: Raspberry pie uses the command ifconfig to view the IP address, while the windows CMD command ipconfig to view the IP address.

 

1.2 the raspberry pie will continue to loop after the IP address is specified. If you want to exit the Ping loop, press the keyboard assembly: Ctrl + Z.

 

 

Reference content:

http://www.cnblogs.com/ma6174/archive/2013/09/29/3345278.html (Reference: View raspberry pie address command ifconfig)

When ifconfig configures the network, “siocsifaddr: no such device” and “eth0: error while getting interface” appear flags:No such dev”

I just learned Linux recently. Refer to the instructional video and try to set the network card parameters using the ifconfig command, which is “ifconfig eth0 192.168.11.2”.

Eth0 :ERROR while getting interface flags:No such device. Screenshot below.



After a lot of searching on the Internet, someone suggested that maybe your network card name is not “eth0” but something else. So I entered a single line of code “ifconfig-a” to check all the network card parameters, only to find that my network card name is not “eth0”, but “eno16777736”. So the real statement to modify the nic parameters should be “ifconfig eno16777736 192.168.11.2”.



After that, I used the secureCRT remote login management tool and used “192.168.11.2” to login the virtual machine remotely!