Let's do something meaningful-LINUX Internet access-general Linux technology-Linux technology and application information. The following is a detailed description. Original: Small zhu
To do something meaningful, write about how to access the Internet in LINUX. Thanks to the help of ZJ small mm.
First open the Virtual Machine VMWare Workstation, open the vmx file of FedoraCore5, and click the triangle to enter the virtual LINUX system.
1. on the Virtual machine, you need to set the tail number of StartIp in Edit-> Virtual Network Editor-> Host Virtual Net Mapping-> WMnet8-> DHCP Settings to 1, and EndIp is 254.
2. Continue to remember the Gateway IP address in the NAT Settings under the directory. Here I am at 192.168.242.2. This step is very important ......
3. Double-click Ethernet at Devices in the lower-right corner of the virtual machine interface, and select NAT mode for network connection.
4. Open a WINDOWS network connection and view your IP address, subnet mask, and DNS.
5. Go to the LINUX operating system:
A. desktop-> Management-> network-> DNS: Enter the primary DNS and the secondary DNS you just noted down.
B. select eth0 from the device and double-click it. In the static IP Address Setting column, set the gateway address (note that it is not in WINDOWS but in virtual machines), IP address, and subnet mask.
C. DNS information will be automatically retrieved from the service provider for reverse selection (that is, no choice)
D. Select to automatically obtain the IP address (it seems that step B is redundant, but it is also done)
I have done all of the above and won't be successful without stopping the restart. Then
Run the following command:
A. ifconfig eth0 (IP address) sm (subnet mask)
B. route add default gw (gateway address) eth0
After a long time, I finally got online, and the speed was slow ...... Or WINDOWS.
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