LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-14-2005, 10:05 AM   #1
steamfamous
LQ Newbie
 
Registered: Dec 2004
Posts: 9

Rep: Reputation: 0
chkconfig in slackware?


Is The RadHats command chkconfig the same as Slackwares init?
I am little bit confused cause I'm reading a manual which says I have to run chkconfig --level 345 [file]. If it's not what is the command in slackware for runlevels or what is the slackwares answer to this command chkconfig --level 345 [file] for example?

Thanx in forward.
 
Old 01-14-2005, 10:39 AM   #2
tw001_tw
Member
 
Registered: Mar 2003
Location: St. Louis, MO
Distribution: kubuntu-current
Posts: 551
Blog Entries: 4

Rep: Reputation: 31
I can tell you this. chkinstall is for managing System V init scripts, however
slack uses BSD style init scripts. So you have to find a different method.

Here is a link that provides simple info & comparisons.

http://www.runslinux.net/tech/ssh/node16.html

What are you trying to do?
-tw
 
Old 01-14-2005, 11:06 AM   #3
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
With Slack, you basically have scripts that reside in /etc/rc.d that need to be made executable for a service to run or non-executable for it not to run. You can also write your own scrips in /etc/rc.d/rc.local.
 
Old 01-14-2005, 12:08 PM   #4
steamfamous
LQ Newbie
 
Registered: Dec 2004
Posts: 9

Original Poster
Rep: Reputation: 0
Thank you very much guys.

Yes, i know i can write my own scripts and put them in rc.local. That's the way I start my nat router. Thanks for explaination, i didn't know it was the only way but now i know that.


tw001_tw: I am setting up firewall (iptables) from this site: http://www.malibyte.net/iptables/scripts/fwscripts.html
Take a look. But the wired thing is that i have to make /etc/rc.d/init.d cause there's no such library in slackware so I doubt it will work properly. Otherwise I have to spend quite much time as usual to make it work. But it was my own choice to install Slackware and I can't blame anyone else.

Last edited by steamfamous; 01-14-2005 at 12:10 PM.
 
Old 01-14-2005, 09:24 PM   #5
tw001_tw
Member
 
Registered: Mar 2003
Location: St. Louis, MO
Distribution: kubuntu-current
Posts: 551
Blog Entries: 4

Rep: Reputation: 31
steamfamous,
(preface)I am far from some grand wizard when it comes to iptables, etc.

I'de have to get really into the link you provided to figure it all out, but:

If you create a rc.firewall file, place it in /etc/rc.d/ and make it executable,
it will load on startup next time you restart your computer. It is called from
/etc/rc.d/rc.inet2

From rc.firewall, I guess you could call up any other scripts that your how-to
refers too, but thats a bit out of my league.

From what I know, generally slack users get pre-made rc.firewall scripts,
and then modify them to suite thier own needs (or build their own if they
are crafty enough). I'm guessing there are some tools to create/edit your
rc.firewall, but up to now, I have just relied on the firewall built into my router.

I can say for sure that this method works with slack 10 using the provided 2.6.7 kernel.

Hope this helps - wish I could explain more.
best regards
-tw
 
  


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
Why do I get "bash: chkconfig: command not found" when I try to run chkconfig? non-thrash Fedora 10 05-20-2010 12:31 PM
chkconfig problem kartheekpn Linux - Newbie 2 05-05-2005 11:48 PM
chkconfig ?? jchin Linux - Newbie 4 10-16-2003 01:59 AM
Help on chkconfig ztopher Linux - Software 0 04-09-2003 03:29 AM
installing chkconfig slackware 8.1 jmu Linux - Newbie 0 02-11-2003 02:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02: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