Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 08-09-2003, 07:00 PM   #1
Registered: Feb 2003
Distribution: Suse 8.1
Posts: 102

Rep: Reputation: 15
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...

Old 08-09-2003, 10:40 PM   #2
Senior Member
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
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
Old 08-09-2003, 11:21 PM   #3
Registered: May 2003
Location: Beverly Hills
Distribution: Slackware, Gentoo
Posts: 350

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

both will work just the same though.
Old 08-10-2003, 05:08 AM   #4
Registered: Jul 2003
Location: London
Posts: 548

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Connecting to a windows shared printer rbm Linux - Networking 22 12-30-2005 10:30 AM
mounting windows shared directory on to a linux box srinivasarajui Linux - Networking 2 09-28-2005 05:56 AM
Automount my windows shared directory fails cmf Fedora 0 06-01-2004 04:44 PM
connecting to a windows shared printer in slackware 9.1 rogue_jedi Linux - Hardware 2 03-16-2004 10:07 AM
How to create Shared Documents Directory like in Windows XP? neranjana Linux - Newbie 1 01-11-2004 10:07 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:03 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration