-   Linux - Networking (
-   -   Connecting to Shared Windows Directory (

NiallC 08-09-2003 07:00 PM

Connecting to Shared Windows Directory
I used to have a doc that showed me how to do thisl, but I can't locate it, and I never bothered to learnt he mechanics behind the command so now, I can't remember it.

I have shared file on my Win2K machine that is shared. It's connected to my Linux machine by means of a Linksys regular 10/100 router.

Can someone please share the command for my linux machine to connect to the windows machine.

I've set up my mount point for the windows share as


Is the samba server runnign autmomatically, or do I need to restart that too?

Thanks in advance for any assistance...


Mathieu 08-09-2003 10:40 PM

You can use smbmount to mount a windows share.

smbmount //myserver/myshare /mnt/myshare
You can also automatically mount the share at system startup by adding the following syntax in /etc/fstab

//myserver/myshare /mnt/myshare smbfs username=myUserName,password=myPassword,user,uid=LinuxUser,gid=LinuxGroup 0 0

shellcode 08-09-2003 11:21 PM

i believe the preffered method is:
mout -t smbfs //myserver/myshare /mnt/myshare

both will work just the same though. :)

andrewlkho 08-10-2003 05:08 AM

and if you want an excellent gui for surfing / mounting samba shares, then try out xfsamba

All times are GMT -5. The time now is 09:13 PM.