Mount samba fileshare.


Forum: Other Help Topics
Topic: Mount samba fileshare.
started by: Hall

Posted by Hall on Aug. 21 2005,16:36
I manage to view my files on my windows computer through smbclient.. i was just wondering if there's any file manager/gui for samba...

or is it possible to mount them?

Posted by ke4nt1 on Aug. 21 2005,17:31
Yes,
grab the samba.dsl extension..

< http://distro.ibiblio.org/pub....mba.dsl >

It contains the gui 'LinNeighborhood' , and an easy way
to mount fileshares in the Windows Networks..

73
ke4nt

Posted by Hall on Aug. 24 2005,11:01
Okay i got the samba running. But i have another question,

how do i make DSL automatically mount my windows fileshare on bootup?

also, how do i make DSL execute some simple script i've written on boot up??

Posted by jls legalize on Aug. 24 2005,12:38
samba.dsl must be loaded at boottime.
assuming win pc is called jlspc1 and remote directory is called htemp and username of win machine is jls, this is the command u have to add to /home/dsl/.xinitrc before the fluxbox line
smbmount //jlspc1/htemp /home/dsl/htemp/ -o username=jls%,fmask=644,dmask=755,uid=1001,gid=50,debug=0 &

in /opt/bootlocal.sh add this lines
nmbd
smbd

Posted by Hall on Aug. 25 2005,04:21
hey thanks guys, everything worked great. But i still have a problem.
I did some config at the smb.conf so i can view my files at my windows box.

My linux computer was named after "Box"
My fileshare is "halldocs", so the path becomes "//Box/halldocs"

I have no idea why the name is "Box" but i certainly don't like it.
How do i change the name Box????

Posted by ke4nt1 on Aug. 25 2005,05:04
A quick fix is to add the boot option
'   host=mynewboxname   '    ...at boottime..

Lots of options at the boot prompt ...  
press f2 and f3 at boottime for a list ..

If your not running a LiveCD..

A frugal , pendrive, HDInstall, or CF install can use it too..
You can add the same text to a grub boot file (menu.lst) ,
or the append line in lilo.conf

73
ke4nt

Posted by Hall on Aug. 25 2005,06:18
Ermm... apparently it didn't work. The computer is still "Box".
I'm on HDinstall and I did the "lilo -v" thing too.
How do I check out my computer name in linux???

Posted by ke4nt1 on Aug. 25 2005,07:38
open a shell

Mine says  dsl@EPIA5000~$

73
ke4nt

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.