Introduction
This instructs an example to use WoofCE PUP services without installing anything on either your host system OR on your forum distro being booted in QEMU to access and post files to your HOST OS. Again, because SMB protocol sharing in built-into most every modern OS, there is no need to install anything at all:
on any of most of the forum's distros,
on any Windows PCs or
on any of the MAC PCs.
Yet, there are 2 requirements:
You MUST have SAMBA active and sharing on your HOST OS (most everyone understands why)
Your QEMU stanza must have parms telling the VM it has the ability to connect to the Host for SAMBA access; namely
QEMU ... -net nic -net user
An example using F96... as the QEMU distro to launch:
qemu-system-x86_64 -enable-kvm -m 2G -vga cirrus -smp 2 -device AC97 -net nic -net user -cdrom F96_4-CE_radky6.iso
Steps to use sharing to exchange information
In the running VM, to access the HOST folder to exchange information
Open a terminal in the VM
Access the HOST shares using the following examples
Code: Select all
# echo "Test to ensure local SAMBA utilities are working" Test to ensure local SAMBA utilities are working # testparm # Test to ensure local SAMBA utilities are working Load smb config files from /etc/samba/smb.conf Loaded services file OK. Server role: ROLE_STANDALONE Press enter to see a dump of your service definitions ^C # # arp # can you see your host OS Address HWtype HWaddress Flags Mask Iface 10.0.2.2 ether 52:55:0a:00:02:02 C eth0 10.0.2.3 ether 52:55:0a:00:02:03 C eth0 # # smbclient -U% -L 10.0.2.2 # Is your host OS sharing folders-devices Sharename Type Comment --------- ---- ------- puppyshare Disk IPC$ IPC IPC Service (Puppy Samba Server) CUPS-PDF Printer CUPS-PDF SMB1 disabled -- no workgroup available # # echo "The HOST is sharing a folder named 'puppyshare' " The HOST is sharing a folder named 'puppyshare' # # mkdir -p /mnt/SOMEWHERE # create a mount-point in this VM # mount -o password=woofwoof //10.0.2.2/puppyshare /mnt/SOMEWHERE # mount host shares
Move files to/from host at your leisure via the SOMEWHERE folder you created
.
Hope this is helpful
Edit: The 1st paragraph is redressed.
Edit2: Make plain that almost all systems are pre-built with the ability to share with every other system.