Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: Dr_pepper_X on June 24, 2002, 09:50:12 PM

Title: Mapping an xp drive
Post by: Dr_pepper_X on June 24, 2002, 09:50:12 PM
Can someone give me step by step proccess on how to map a XP shared drive to the server so I can set the ftp server to use that directory due to my server having limited hard drive space
Title: Re: Mapping an xp drive
Post by: Nathan Fowler on June 24, 2002, 11:25:35 PM
From a command prompt:

NET USE * \\ /user: /persistent:YES
Title: Re: Mapping an xp drive
Post by: Dr_pepper_X on June 24, 2002, 11:55:05 PM
I think I misworded my question.  I want to be able to see a shared folder on my windows machine throught my server.  I want to be able to have users ftp to a folder on my xp though a mapping on the server.
Title: Re: Mapping an xp drive
Post by: Nathan Fowler on June 24, 2002, 11:58:26 PM
Right, that's how you would do it.  It will assign a local drive letter, lets say X: to that share.  Then, when you setup your FTP server on your XP (yuck) box, you would point the ftp root to X:
Title: Re: Mapping an xp drive
Post by: Bill Talcott on June 25, 2002, 12:40:27 AM
He wants to have his XP hard drive show up in SME's FTP server. The equivalent of running "NET USE \XP_PC\SharedFolder X:" on the SME... If this is possible, I could find it handy too...
Title: Re: Mapping an xp drive
Post by: Nathan Fowler on June 25, 2002, 12:47:31 AM
Oh!  The complete reverse of what I was thinking.

You should be able to do that with mount.

mount -t smbfs -o username=,password= //192.168.0.15/myshare

See /usr/bin/smbmount for more information.



Nathan
Title: Re: Mapping an xp drive
Post by: Nathan Fowler on June 25, 2002, 12:51:03 AM
Note the first message was using mount, you can use mount, or call smbmount directly.  A piece of advice, if you are calling smbmount to attach to \192.168.0.15\myshare then you would issue the following command:

smbmount \192.168.0.15\myshare /mnt/XPbox -o username=,password=,rw

Notice that every backslash is doubled.  This is necessary.

Nathan
Title: Re: Mapping an xp drive
Post by: Ian on June 25, 2002, 02:41:58 AM
i tried waht you said and this is what I got


[root]  smbmount \169.254.77.66\ftp /mnt/XPbox -- o

Could not resolve mount point /mnt/XPbox

can you help me
Title: Re: Mapping an xp drive
Post by: Terry Brummell on June 25, 2002, 02:49:16 AM
Did you create "/mnt/XPbox" on your server?  Or you can change that to something like "/home/e-smith/files/ibays/ibay_name/files".

Hope that helped...