Click to See Complete Forum and Search --> : Mounting a Windows Share


WakeBDr
12-01-2000, 11:49 AM
I am wanting to mount a windows share on my linux box. What do I need to go about doing that? Do I need to install things on the linux box and the Windows box? Please point me in the right direction for this.

------------------
Your mouse has moved. Windows must reboot for the changes to take effect.

i8degrees
12-01-2000, 06:46 PM
Hello! Now, I haven't yet done this but I have a good understanding of what to do to configure file sharing with a Linux and Windows machine for when it comes time for me... The program used in Linux for sharing files from multiple OSes, like Windows and MAC, is called SAMBA. I recommend reading this articles I found on Linux.com.
http://www.linux.com/firststep/newsitem.phtml?sid=60&aid=10813 <--- part 1
http://www.linux.com/firststep/newsitem.phtml?sid=60&aid=11195 <--- part 2
http://www.samba.org <--- samba website
http://www.linuxhelp.net/guides/sirplaya/samba.phtml <--- another article http://www.linuxnewbie.org/ubb/biggrin.gif

I hope this helps, good luck! I am still trying to work on my 2 NICs not working before I use Samba :-).

tryster
12-03-2000, 01:44 PM
I just got this working under Mandrake 7.2 using samba-client-2.0.7-18mdk.i586.rpm. I also have samba-common-2.0.7-18mdk.i386.rpm installed. This is probably not the correct way to do this but, here goes.

After the install, there's a file you need to edit /etc/smb.conf to allow users and groups. maybe you have to do this, maybe not.

valid lines:
user=youruser1,youruser2,@group1,@group2....
vaild users= (same deal)
comment=(whatever)
guest=(didn't do that, just users)=nobody
only user=yes

see what's shared:
smbclient -L [servername] -U [user with permisson for the win share]

mount share:
mount -t smb -o username=[yours],password=[your pass] //[servername]/[sharename] /mnt/[local directory]

Problems: my share "times out" if there's no activity for more than 10 minutes. I also get an invalid ICMP from my gateway message.

any help?

WakeBDr
12-03-2000, 02:13 PM
Thanks a lot...I got it done in a few seconds after reading your post. Thanks