about how to ping the board and the computer with a cable connection directly, NFS Mount

Source: Internet
Author: User

1. On the Development Board and computer network cable direct connection, the Development Board, Ubuntu virtual system, computer host how to ping
①. The virtual machine's Ubuntu network connection must be bridged mode, the computer host must have a network before the Ubuntu system starts, otherwise it will prompt

Start Ubuntu system, after the start with a network cable directly connected to the computer and Development Board, and then launch the Development Board, not into boot Menu mode, start the system, the Development Board to start the system before the formation of another network node, did not start and in the Boot menu interface Computer host is no local IP address, After starting the Development Board and the computer to form a network, the computer host will have a local IP address, so to maintain the Development Board system operation.
②. Use the command ifconfig to configure Ubuntu IP and PC on the same network segment, for example my Ubuntu configuration is as follows (Ubuntu uses ifconfig command requires super privilege):

sudo169.254.124.15

eno16777736– LAN port, My Computer local ip:169.254.124.230, set up the IP address of Ubuntu, in the case of computer host local IP can be connected to the SECURECRT.
③. Using USB to connect the development Board and PC via SECURECRT set up the Development Board IP, and the computer network card set up in the same network segment, such as my Development Board settings as follows (the Development Board uses the ifconfig does not need the Super privilege):

ifconfig169.254.124.10

So the development Board can ping the computer host and Ubuntu virtual system, the Development Board, the IP address configured with the Ifconfig command is temporary, each time the system restarts the Development Board and Ubuntu to reconfigure once, the computer host and Ubuntu can ping each other, Computer host and Ubuntu Ping Development Board is not responding, can only be the Development Board Ping Computer host and Ubuntu.
The directories on the 2.ubuntu virtual system are attached to the Development Board/MNT, and the use of Mount commands on the board does not require Super privileges:

mount -t nfs -o nolock,vers=2169.254.124.15:/home/lvxiao/Nfs /mnt

Uninstall the Mount using

umount /mnt

Mount the/home/lvxiao/nfs directory on Ubuntu to the/MNT directory on the Development Board so that files in the/home/lvxiao/nfs directory on Ubuntu can be manipulated in the/MNT directory of the Development Board.

about how to ping the board and the computer with a cable connection directly, NFS Mount

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.