DebianThis forum is for the discussion of Debian 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.
i am a new linux user, and i'm just trying to find out how to start&stop the firewall, i need to stop the firewall because i have to perform a serv.pck.2 upgrade on one of the windows XP boxes, i am using debian vers 2.4.19... can anyone help?
In Debian you'd use "invoke-rc.d" instead of "service". First look into /etc/init.d/ to see what services you've got available. If you've got there a service called "firewall", you can do (as root) "invoke-rc.d firewall stop" to stop it, and "invoke-rc.d firewall start" to make your "firewall" service start again. (If the service refuses to stop, you can use "invoke-rc.d firewall force-stop".)
thanks dead parrot.... but i do not see firewall as a running process, i beleive there are running apache server, now i am new, not sure if apache is the firewall running.... if so then would it be "invoke-rc.d apache stop"...
if i'm wrong isn't there somewhere that would list what is running as my firewall...
The list of popular Linux firewalls includes Guarddog (for KDE), Firestarter (for Gnome), Lokkit, Shorewall, and FireHOL. You should look for one of these among the init scripts (instead of "firewall" service, which I just used as a generic example).
You want to "perform a serv.pck.2 upgrade on one of the windows XP boxes", which means that you have a Debian box as a router or firewall between your LAN and the Internet, right? It sounds a bit strange that you don't know what firewall you are using. Anyway, take a look at /etc/inittab in your Debian firewall box and you should find in the first few lines the default runlevel number. Then take a look at /etc/rcX.d/ (where X is the default runlevel number). All the files in this directory are symbolic links to the actual scripts in /etc/init.d/, but there are considerably fewer of them than in /etc/init.d/. Now, your task is to find the service that configures your firewall. After you've figured this out, you can stop the firewall service with "invoke-rc.d service_name stop" and start it again with "invoke-rc.d service_name start". But first you need to have access to the firewall machine that is between your windows XP boxes and the Internet and, also, to figure out the name of the service that configures your firewall.
not knowing this myself is because i juste started this job fresh out of college, and they didn't teach enough of linux, juste the basics, and then programming... :P
does make sense, thanks... i'll manage from here on... forums do work
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.