* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Download Setup Networking in Linux over VMware
Survey
Document related concepts
Transcript
Setup Networking in Linux over VMware (1) In VMware workstation, choose “start this virtual machine” option under the “commands” column: (2) Now Linux is running… login as “root” (3) run “xterm” in linux (4) edit the file “/etc/sysconfig/network-scripts/ifcfg-eth0” by adding the following lines to the file: check_link_down () { return 1; } (5)Run “/etc/rc.d/init.d/network restart” as root. This would bring up “eth0” interface (6) Save the document and run “netconfig” command in the linux window: (7) Choose “Yes” at the window (8) Choose “Use dynamic IP configuration (BOOTP/DHCP)” by pressing the space bar. Press “OK” (9) Now the networking is ready to run. You can check your network setting by using “ifconfig” command: (10) Or you can try ping some websites… if can not get through, edit /etc/resolv.conf, add (suppose you use su’s network): nameserver 128.230.12.5 nameserver 123.230.1.49 search syr.edu Then: #/etc/rc.d/init.d/xinet.d restart Congratulations… Now the networking of Linux is ready for use…