SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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.
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.
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.
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.