LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   How can I start Samba on startup? (https://www.linuxquestions.org/questions/linux-networking-3/how-can-i-start-samba-on-startup-26738/)

bripage 07-29-2002 12:34 AM

How can I start Samba on startup?
 
Id like to know how to configure my box so that I can have samba load on system boot.

How to?

Mara 07-29-2002 01:34 AM

A very simple method (there are others): add the command you use to run samba into /etc/rc.d/rc.local .

finger 07-29-2002 02:28 AM

there are two ways to do.

1 you can use the inted server

2 you can use /etc/rc.d/rc/local

you can also use this command: setup

bripage 07-29-2002 03:06 AM

how can I set it up for the inetd server?

RHrulz 07-31-2002 03:16 PM

Here's how I do it:

1) If smb is not already in /etc/init.d then copy it there,

2) cd to /etc/rc.d/rc5.d

I usually do an 'ls' to see whats already there, then I use the highest # thats not taken usually 98 or 97

3) ln -s ../init.d/smb S9xsmb

x is the # that's not already taken

This is for RH

bripage 07-31-2002 03:27 PM

Idont have a init.d file within the /etc directory. And if Ido... theres nothing in it. I also don t have the file rc5.d

bripage 07-31-2002 03:30 PM

ohh... Im trying to get it on Slackware.


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