LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-14-2004, 07:34 AM   #1
Gkarfield
Member
 
Registered: Jul 2004
Location: Greece
Distribution: FreeBSD 6.2/widows[not 8 legs nor black]
Posts: 123

Rep: Reputation: 15
samba availiable at boot time


hello

I use xinetd , and swat for making samba to work.

xinetd , can run from boot and its ok.
but for completing the network I need smbd and nmbd.
with nmbd is ok, and it starts from boot
(/etc/inid.d/rc) but it does not happen the same with smbd.


(the end of rc file where i load samba)
......
#start xinetd
xinetd
#start smbd nmbd
/usr/local/samba/sbin/nmbd -s /etc/samba/smb.conf -p 192.168.1.10
/usr/local/samba/sbin/smbd -s /etc/samba/smb.conf -p 192.168.1.10
exit 0

----


do I have to write somewhat differently the line for smbd ?


thanks
 
Old 10-14-2004, 08:58 PM   #2
Tap-Out
Member
 
Registered: Oct 2002
Location: Halifax, NS
Distribution: Ubuntu, Mepis, Debian
Posts: 130

Rep: Reputation: 15
Code:
su
root password goes here
/sbin/chkconfig smb on
That will tell Linux to load the smb (Samba) service upon startup.

Cheers

Tap
 
Old 10-21-2004, 08:35 PM   #3
ieeestd802
LQ Newbie
 
Registered: Sep 2004
Posts: 28

Rep: Reputation: 15
Hi, Tap-out:

Do you mean that one only need to run
"/sbin/chkconfig smb on"

Once.

Thanks.
 
Old 10-21-2004, 10:16 PM   #4
Tap-Out
Member
 
Registered: Oct 2002
Location: Halifax, NS
Distribution: Ubuntu, Mepis, Debian
Posts: 130

Rep: Reputation: 15
ieeestd,

Yes that is indeed what Im' saying. Using that command will modify the correct files to turn your smb (samba) service on each time you restart your computer.

If it doesn't post back and We'll see if there is another way to get it to automatically start up. However having said that, don't go restarting your linux box just to test it out. If it ain't broke then don't fix it

Cheers

Tap
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
kernel compile time and boot time lordofring Programming 1 11-13-2005 02:04 AM
is mkintrid availiable in sarge? hkl8324 Debian 2 06-13-2005 11:01 AM
Steam sais "Game not currently Availiable" via WineX 3.3 zidane2010 Linux - Software 6 03-23-2004 02:34 PM
Time stamp in Samba is 11 hours behind time stamp in Linux Linh Linux - General 3 09-04-2003 12:44 PM
Starting Samba at boot time. Unknown_User Linux - Software 3 04-26-2003 03:30 AM

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

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

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