Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Samba Server, How to install and configure< Next Oldest | Next Newest >
nliebherr Offline





Group: Members
Posts: 2
Joined: Mar. 2006
Posted: Mar. 01 2006,16:45 QUOTE

Hello!
Can anyone explain how to install and configure the samba server, so i can view shares from a windows client?
I downloaded the samba.dsl which gives me the LinNeighborhood, but this seems only to make windows-shares available to linux, or am i missing something?

I found the smb.conf file which talks about behaviour as a server and configuration of changes, but how do i "activate" the configuration?

Until now i only used Suse Linux, there i could do a /etc/init.d/smb (re)start, but i do not find anything comparable under DSL...

Please give me some help... thanks...
Back to top
Profile PM 
dtf Offline





Group: Members
Posts: 196
Joined: Nov. 2005
Posted: Mar. 01 2006,17:18 QUOTE

Assuming you configured you smb.conf correctly you can start it up with

smbd start
nmbd start

There are other options that can be used but I just use these.

You can stop with  smbd stop and nmbd stop also there is a restart
arguement.
Back to top
Profile PM 
nliebherr Offline





Group: Members
Posts: 2
Joined: Mar. 2006
Posted: Mar. 02 2006,09:16 QUOTE

Ohh, that was easy :-)
I expected smbd/nmbd to be scripts in /etc/init.d, so i didn't look further after i did not find them there...

Thanks again, samba works now!
Back to top
Profile PM 
godfearerdsl Offline





Group: Members
Posts: 5
Joined: June 2006
Posted: June 16 2006,04:25 QUOTE

I am having the same original problem as nleibherr was having; not being able to get the samba server to work so that windows machines could see the drives on the DSL computer.  I am still having some issues though.  

I have a frugal install and found smbd located at:

/ramdisk/usr/sbin/smbd
/ramdisk/usr/sbin/nmbd

nmbd is in the same folder.  I put the full path in the .xinitrc file like this (before the fluxbox calls):

/ramdisk/usr/sbin/smbd start &
/ramdisk/usr/sbin/nmbd start &

However, after rebooting and looking at the services running using the TOP command, I see no evidence of any samba stuff running and I can't see this computers drive information from other computers.

So, do you think there is a problem in how I am making the call to smbd or nmbd or is there something missing in the smb.conf file?
Back to top
Profile PM 
linux4all Offline





Group: Members
Posts: 13
Joined: April 2006
Posted: April 21 2007,21:29 QUOTE

godfearerdsl,
After looking at the file .xinitrc, I noticed that the line that starts with dillo uses full addresses which do not include the "/ramdisk" beginning. I would try modifying your .xinitrc entry to look like this:

    /usr/sbin/smbd start &
    /usr/sbin/nmbd start &

Hopefully that will solve your startup problem.

I'm assuming that your shares worked ok when you started samba from the command line.
Back to top
Profile PM 
6 replies since Mar. 01 2006,16:45 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: Samba Server

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code