I know that. Next ?
Main Topics
Browse All TopicsA Network has a Linux PC RedHat 7.2 and a Windows XP Machine. The XP Machine has a name of Michael and an ip address of 192.168.0.1 the Linux PC is 192.168.0.2. Both machines are on the same workgroup. The Windows machine has a share of Temp.
Which Linux command allows me to MAP the Temp share on the XP machine to a drive letter i.e mount it ?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
what I mean is if your temp file in your linux box shared out by using the samba service, you can broswe it in your WinXP and map a network drive for it.
are you sure you shared it out? if yes, can you broswe your linux box in your winXP?
normally you share the directory from linux using samba, and the configure file is /etc/samba/smb.conf.
here is the info abt the samba http://hr.uoregon.edu/davi
or you can use the 'net use' command to map a network drive. but it's not the linux command, it's DOS command
NET USE [devicename | *] [\\computername\sharename[
[/USER:[domainname\]userna
[/USER:[dotted domain name\]username]
[/USER:[username@dotted domain name]
[[/DELETE] | [/PERSISTENT:{YES | NO}]]
NET USE {devicename | *} [password | *] /HOME
NET USE [/PERSISTENT:{YES | NO}]
hope this can help :)
-------vn179 said-------
Hello,
when i use mount -t smbfs -o username=name,password=pwd
What happened?
-------end-------
I had the same problem, and it was because the "name" that I used to log in had spaces. I gave up on that, and used administrator, because it has no spaces.
You can easily use a username that has spaces in it by simply encasing the name in "" (doublequotes). This method applies to ALL aspects of DOS. Anytime you are doing any command line work with filename or directory names or any names for that matter that have spaces in them you ened to encase the name in question in double quotes.
Ex:
mount -t smbfs -o username="Tom Jones",password=pwd //server/share /Downloads
If you are not concerned about security, you can always enable the guest user in XP. Then you make a mount point in Linux for the directory you want to share.
as root:
mkdir /mnt/Share
chmod -R 777 /mnt/Share #So your normal user can use it
Then, you just mount the share without the need for passwords, since you enabled the Guest user in XP.
mount //xpsystemname/Share /mnt/Share
This solution will really grate on some people's sensibilities because it is highly insecure... But oh well.
A mount point is like a mapped drive in Windows. It's basically a directory you create, but it points to another device or network resource when you mount it. The cool thing about Linux/Unix, is you can easily mount or symlink this path to another location very quickly and easily. That way you don't have to change paths in all your custom scripts every time something changes. I know that applies to you... :)
By the way, if you use KDE as you desktop on Linux, accessing pretty much any network share is very easy. If you open up a Konqueror window (Like your Home directory), there is an option called LAN Browser over on the left. This is very cool, because if there is any shared service running on systems on your network, it will be displayed when you expand on one of the the listed ip addresses. For instance, if you have a system running http, smb, nfs, ftp, etc., you can select one of those services to connect to. Not well documented, but it's there. Also, you can connect using just about any protocol, such as POP3, IMAP, etc. Don't see the advantage to all of them, but it's there nonetheless.
Business Accounts
Answer for Membership
by: shivsaPosted on 2004-01-06 at 00:17:23ID: 10050420
u have to have samba installed to work this out.