faqts : Computers : Operating Systems : Linux : Emulators : VMWare

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

11 of 12 people (92%) answered Yes
Recently 9 of 10 people (90%) answered Yes

Entry

VMWare: Network: Ftp: Local: How to ftp between host and client operating system with no network?

Dec 3rd, 2003 00:06
Knud van Eeden,


----------------------------------------------------------------------
--- Knud van Eeden --- 03 December 2003 - 08:47 am -------------------

VMWare: Network: Ftp: Local: How to ftp between host and client 
operating system with no network?

---

Steps: Overview:

 1. -Goto the VMWare client operating system (e.g. Linux), and change
     to NAT

     1. -select from menu option 'Edit'

     2. -select from list 'Virtual Machine Settings'

     3. -select from list 'NIC 1'

     4. -in the right pane,
         enable radio button 'NAT'
         (used to share the host's IP address)

     5. -click button 'OK'

 2. -Make sure the guest operating system (e.g. Linux) gets
     now an IP address (from the DHCP server)

     ---

     Login as root

      su

     ---

     e.g. in Linux, open a console, and type the command

       dhclient

       (or try 'pump')

     ---

     e.g. in Sun Solaris, open a console, and type

      ifconfig pcn0 dhcp

     ---

     This will or should assign an IP address to this guest operating
     system

     (you might get 'host name lookup failure')

 3. -If you now type in the guest operating system

       ftp <IP address of your host operating system>

     then you should get an anonymous ftp connection
     via which you can e.g. send files.

---
---

This worked here successfully in VMWare Sun Solaris v9 as a guest
operating system, connecting via ftp with the host operating system
Microsoft Windows XP running VMWare v4.0.5 for Windows workstation.

---

Worked OK in:

-Linux Debian v3
-Linux Red Hat v8
-Linux TurboLinux v8
-Linux RedHat v9
-Linux Mandrake v9
-Sun Solaris v9

---

Not working yet in:

-Linux SuSE v9

---
---

Internet: see also:

---

Operating system: Linux: Network: IP: Refresh: DHCP: Pump: What is 
the 'pump' command? [dhclient]
http://www.faqts.com/knowledge_base/view.phtml/aid/26825/fid/427

----------------------------------------------------------------------