LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-29-2002, 12:34 AM   #1
bripage
Member
 
Registered: Jan 2002
Location: Moorpark
Distribution: SLACK 8!
Posts: 230

Rep: Reputation: 30
Unhappy 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?
 
Old 07-29-2002, 01:34 AM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
A very simple method (there are others): add the command you use to run samba into /etc/rc.d/rc.local .
 
Old 07-29-2002, 02:28 AM   #3
finger
LQ Newbie
 
Registered: Jul 2002
Location: Shanghai
Posts: 28

Rep: Reputation: 15
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
 
Old 07-29-2002, 03:06 AM   #4
bripage
Member
 
Registered: Jan 2002
Location: Moorpark
Distribution: SLACK 8!
Posts: 230

Original Poster
Rep: Reputation: 30
how can I set it up for the inetd server?
 
Old 07-31-2002, 03:16 PM   #5
RHrulz
Member
 
Registered: Jul 2002
Location: Troy, KS
Distribution: Mandrake 10.1
Posts: 57

Rep: Reputation: 15
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
 
Old 07-31-2002, 03:27 PM   #6
bripage
Member
 
Registered: Jan 2002
Location: Moorpark
Distribution: SLACK 8!
Posts: 230

Original Poster
Rep: Reputation: 30
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

Last edited by bripage; 07-31-2002 at 03:28 PM.
 
Old 07-31-2002, 03:30 PM   #7
bripage
Member
 
Registered: Jan 2002
Location: Moorpark
Distribution: SLACK 8!
Posts: 230

Original Poster
Rep: Reputation: 30
ohh... Im trying to get it on Slackware.
 
  


Reply



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
when i try to start samba pdc's smb service nmbd failed to start . sandeepchau123 Linux - Newbie 2 10-20-2007 01:59 PM
WG511 will not start at startup Diddy Linux - Wireless Networking 2 02-22-2005 06:26 PM
Installed the wrong SAMBA packages.Now samba doesn't start Terrence Hinds Linux - Networking 3 10-11-2004 03:40 AM
Don't want dhcpd to start on startup rech Slackware 1 11-09-2003 12:05 PM
when i restart SAMBA,it says:stop samba failed,start SAMBA OK! whepin Linux - Networking 3 12-26-2001 05:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:33 AM.

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