Samba Share for DOSEMU use

Asked by Joseph A. Millikan

On a former system, I could share a folder, and then mount the samba share in /home/<username>/DOSEMU/FREEDOS/<samba share> and output to it while running a program in DOSEMU that outputs data to the <samba share>. Since Ubuntu's DOSEMU is hidden and it sees everything in /home/<username> as D:, I cannot figure out where and or how to mount the samba share in /home/<username>. When I've tried, my software echoes the message "Drive D:\<samba share> is not available for output." In other words, it's not seeing the "samba share" as a "samba share" and will not let my program output data to that folder because it doesn't recognize it as a network-shared folder for Windows users to attach to in order to view the realtime output from the program running in DOSEMU.

For what it's worth, I'm using Edgy Eft. I really like Ubuntu and would greatly appreciate being able to do what I formerly could do with Xandros 3.0. Is this an unreasonable desire? Just in case you're interested, I figured it out all by myself with nobody helping on Xandros, but I've hit a wall with Ubuntu and just cannot for the life of me grasp or figure out the concept.

Does anyone out there know how this can be done? If it cannot, just let me know that, too.

Thanks in advance.

Joe

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu dosemu-freedos Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#1

This is a something different but related to this: https://answers.launchpad.net/ubuntu/+question/12044

I assume that:
Ubuntu username is: uu
Ubuntu password is: pa

Remote resource is on a:
name of pc is: REM user to get access: ACC password: AAA the writable resource on remote pc is called: MY RES

From a terminal window:
sudo mkdir /home/uu/share_xx

cd /home/uu
sudo mount -t smbfs -o username=REM,password=AA //rem/MY\ RES ./share_xx -o uid=uu,rw

After that if you go into dosemu you can type to test read and write full access.
echo "hello world" > D:\share_xx\test.txt

To umount the remote resource:
sudo smbumount share_xx

HTH

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#2

In previous answer i make some little typo, better if you write:
sudo mount -t smbfs -o username=ACC,password=AAA //REM/MY\ RES ./share_xx -o uid=uu,rw
instead of:
sudo mount -t smbfs -o username=REM,password=AA //rem/MY\ RES ./share_xx -o uid=uu,rw

And i think you must install some additional packages
sudo apt-get update; sudo apt-get install smbfs

HTH

Can you help with this problem?

Provide an answer of your own, or ask Joseph A. Millikan for more information if necessary.

To post a message you must log in.