* iptables & a dhcpd question @ 2003-02-27 19:53 Paul 2003-02-27 20:00 ` Eckhardt, Rodolpho H. O. 2003-02-27 20:16 ` iptables & a dhcpd question Ray Olszewski 0 siblings, 2 replies; 9+ messages in thread From: Paul @ 2003-02-27 19:53 UTC (permalink / raw) To: linux-newbie two genuine newbie questions :) FYI: I'm running Slackware 8.1, (kernel = 2.4.18, iptables = 1.2.6a, dhcpd ISC v3.0pl1) Q1. I've been tweaking my rc.firewall script a bit lately and am wondering if there is a way to have my new one take effect without rebooting? Q2. Second, I'm still trying to get my dhcp server running, and am wondering what is the best way to stop the service and restart it. I've been killing the process, but there has to be a better way. In looking for the answer to this, I've seen postings saying to run, "dhcpd stop" but that doesn't seem to work with this one. Thanks in advance for any help! -Paul - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: iptables & a dhcpd question 2003-02-27 19:53 iptables & a dhcpd question Paul @ 2003-02-27 20:00 ` Eckhardt, Rodolpho H. O. 2003-02-27 20:56 ` pa3gcu 2003-03-01 1:28 ` animated gif creation Peter Howell 2003-02-27 20:16 ` iptables & a dhcpd question Ray Olszewski 1 sibling, 2 replies; 9+ messages in thread From: Eckhardt, Rodolpho H. O. @ 2003-02-27 20:00 UTC (permalink / raw) To: paul; +Cc: linux-newbie I don't know if this is what you are asking but. I've never worked with Slackware, but try this: /etc/(PATH TO rc.firewall)/rc.firewall and when they say dhcpd stop, you have to add the path to it in the front: /etc/init.d/dhcpd stop (if /etc/init.d is the path) I hope this works, Rodolpho -- Rodolpho H. O. Eckhardt reckhardt@mandic.com.br Cel: 11 9126-9107 - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: iptables & a dhcpd question 2003-02-27 20:00 ` Eckhardt, Rodolpho H. O. @ 2003-02-27 20:56 ` pa3gcu 2003-03-01 16:57 ` Chuck Gelm 2003-03-01 1:28 ` animated gif creation Peter Howell 1 sibling, 1 reply; 9+ messages in thread From: pa3gcu @ 2003-02-27 20:56 UTC (permalink / raw) To: Eckhardt, Rodolpho H. O., paul; +Cc: linux-newbie On Thursday 27 February 2003 20:00, Eckhardt, Rodolpho H. O. wrote: > I don't know if this is what you are asking but. > > I've never worked with Slackware, but try this: > > /etc/(PATH TO rc.firewall)/rc.firewall > > and when they say dhcpd stop, you have to add the path to it in the front: > > /etc/init.d/dhcpd stop (if /etc/init.d is the path) > > I hope this works, Huum, its plain to see you have never seen slackware, slackware does not even have a directory called /etc/init.d. Slackware is not of the sysv catagory sorry. > > Rodolpho -- Regards Richard pa3gcu@zeelandnet.nl http://people.zeelandnet.nl/pa3gcu/ - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: iptables & a dhcpd question 2003-02-27 20:56 ` pa3gcu @ 2003-03-01 16:57 ` Chuck Gelm 0 siblings, 0 replies; 9+ messages in thread From: Chuck Gelm @ 2003-03-01 16:57 UTC (permalink / raw) To: pa3gcu; +Cc: Eckhardt, Rodolpho H. O., paul, linux-newbie > > /etc/(PATH TO rc.firewall)/rc.firewall ^^^^^^^^^^^^^^^^^^^^^ /etc/rc.d/rc.firewall Hmmm, it is plain to see that Richard gave you good advice. :-| locate rc. Yes, IIRC, Slackware is BSD'ish, rather than SYSV'ish. HTH, Chuck > > > > and when they say dhcpd stop, you have to add the path to it in the front: > > > > /etc/init.d/dhcpd stop (if /etc/init.d is the path) > > > > I hope this works, > > Huum, its plain to see you have never seen slackware, slackware does not even > have a directory called /etc/init.d. > Slackware is not of the sysv catagory sorry. > > > > > Rodolpho > > -- > Regards Richard - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs ^ permalink raw reply [flat|nested] 9+ messages in thread
* animated gif creation 2003-02-27 20:00 ` Eckhardt, Rodolpho H. O. 2003-02-27 20:56 ` pa3gcu @ 2003-03-01 1:28 ` Peter Howell 1 sibling, 0 replies; 9+ messages in thread From: Peter Howell @ 2003-03-01 1:28 UTC (permalink / raw) To: linux-newbie I've just been full of problems this week. Now here is another one. I've captured a series of short avis which I'd like to import into an openoffice presentation. Unfortunately, openoffice will only accept animated gifs. My choices are now 1) Find a conversion package to let me create the animated gifs, or 2) Import the movies one $&%*# frame at a time and use the openoffice animation tool. Needless to say, I thought I'd check with you folks before I spent to much time on option 2. Does anyone know of software which can either 1) convert jpeg to gif. Then I could assemble the gifs with gifsicle, or 2) covert avi files (raw data or riff) directly to animated gifs. Thanks for all the help, Peter - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: iptables & a dhcpd question 2003-02-27 19:53 iptables & a dhcpd question Paul 2003-02-27 20:00 ` Eckhardt, Rodolpho H. O. @ 2003-02-27 20:16 ` Ray Olszewski 2003-02-27 20:41 ` Paul 1 sibling, 1 reply; 9+ messages in thread From: Ray Olszewski @ 2003-02-27 20:16 UTC (permalink / raw) To: linux-newbie At 01:53 PM 2/27/2003 -0600, Paul wrote: >two genuine newbie questions :) > >FYI: I'm running Slackware 8.1, (kernel = 2.4.18, iptables = 1.2.6a, dhcpd >ISC v3.0pl1) > >Q1. I've been tweaking my rc.firewall script a bit lately and am wondering >if there is a way to have my new one take effect without rebooting? It's been some time since I last looked at an rc.firewall script ... but usually they are written so you can just run them from the command line (as root, of course). They pretty much have to be able to reinstall themselves this way, as a change in DHCP lease address usually requires running them to regenerate the rulesets for use with the new IP address, and you don't want to reboot every time your DHCP lease changes (even Windows isn't *that* stupid). >Q2. Second, I'm still trying to get my dhcp server running, and am wondering >what is the best way to stop the service and restart it. I've been killing >the process, but there has to be a better way. In looking for the answer to >this, I've seen postings saying to run, "dhcpd stop" but that doesn't seem >to work with this one. I'd be surprised to see any postings that say simply "dhcpd stop". More likely, they say something like "/etc/init.d/dhcpd stop", explaining how to do it on distros (the example I just typed is for Debian; RH and others are slightly different) that use init scripts with the start/stop/restart structure. The script just sends a SIGTERM to the daemon (the same signal kill sends by default). Slackware doesn't do it this way (or didn't used to, back when I used it), so you pretty much are limited to kill'ing it, then starting it directly. - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: iptables & a dhcpd question 2003-02-27 20:16 ` iptables & a dhcpd question Ray Olszewski @ 2003-02-27 20:41 ` Paul 2003-02-27 21:02 ` Brian P. Bilbrey 2003-02-27 21:09 ` Jos Lemmerling 0 siblings, 2 replies; 9+ messages in thread From: Paul @ 2003-02-27 20:41 UTC (permalink / raw) To: linux-newbie Thanks for all the info! Quick follow up question on the rc.firewall script. I've tried running it, just by typing it's name when I'm in that folder at root. It says, "bash: rc.firewall-2.4: command not found" It's actually named, "rc.firewall-2.4" and I've made it executable already, it has a * next to its name when I do a listing. Any ideas?? TIA! -Paul ----- Original Message ----- From: "Ray Olszewski" <ray@comarre.com> To: <linux-newbie@vger.kernel.org> Sent: Thursday, February 27, 2003 2:16 PM Subject: Re: iptables & a dhcpd question > At 01:53 PM 2/27/2003 -0600, Paul wrote: > >two genuine newbie questions :) > > > >FYI: I'm running Slackware 8.1, (kernel = 2.4.18, iptables = 1.2.6a, dhcpd > >ISC v3.0pl1) > > > >Q1. I've been tweaking my rc.firewall script a bit lately and am wondering > >if there is a way to have my new one take effect without rebooting? > > It's been some time since I last looked at an rc.firewall script ... but > usually they are written so you can just run them from the command line (as > root, of course). They pretty much have to be able to reinstall themselves > this way, as a change in DHCP lease address usually requires running them > to regenerate the rulesets for use with the new IP address, and you don't > want to reboot every time your DHCP lease changes (even Windows isn't > *that* stupid). > > > >Q2. Second, I'm still trying to get my dhcp server running, and am wondering > >what is the best way to stop the service and restart it. I've been killing > >the process, but there has to be a better way. In looking for the answer to > >this, I've seen postings saying to run, "dhcpd stop" but that doesn't seem > >to work with this one. > > > I'd be surprised to see any postings that say simply "dhcpd stop". More > likely, they say something like "/etc/init.d/dhcpd stop", explaining how to > do it on distros (the example I just typed is for Debian; RH and others are > slightly different) that use init scripts with the start/stop/restart > structure. The script just sends a SIGTERM to the daemon (the same signal > kill sends by default). > > Slackware doesn't do it this way (or didn't used to, back when I used it), > so you pretty much are limited to kill'ing it, then starting it directly. > > > > - > To unsubscribe from this list: send the line "unsubscribe linux-newbie" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.linux-learn.org/faqs > - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: iptables & a dhcpd question 2003-02-27 20:41 ` Paul @ 2003-02-27 21:02 ` Brian P. Bilbrey 2003-02-27 21:09 ` Jos Lemmerling 1 sibling, 0 replies; 9+ messages in thread From: Brian P. Bilbrey @ 2003-02-27 21:02 UTC (permalink / raw) To: linux-newbie On Thu, 2003-02-27 at 15:41, Paul wrote: > Thanks for all the info! Quick follow up question on the rc.firewall script. > I've tried running it, just by typing it's name when I'm in that folder at > root. It says, "bash: rc.firewall-2.4: command not found" It's actually > named, "rc.firewall-2.4" and I've made it executable already, it has a * > next to its name when I do a listing. Any ideas?? TIA! Yah. You can't run an executable unless it's in your path, or if you specify the path to the executable. So if you are in /etc/init.d, and you have a script there called rc.firewall-2.4, then type ./rc.firewall-2.4 The leading ./ is a path specification that satisfies the requirement. HTH, .brian -- Brian P. Bilbrey <bilbrey@orbdesigns.com> Orb Designs - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: iptables & a dhcpd question 2003-02-27 20:41 ` Paul 2003-02-27 21:02 ` Brian P. Bilbrey @ 2003-02-27 21:09 ` Jos Lemmerling 1 sibling, 0 replies; 9+ messages in thread From: Jos Lemmerling @ 2003-02-27 21:09 UTC (permalink / raw) To: linux-newbie On Thu, 27 Feb 2003, Paul wrote: > Thanks for all the info! Quick follow up question on the rc.firewall script. > I've tried running it, just by typing it's name when I'm in that folder at > root. It says, "bash: rc.firewall-2.4: command not found" It's actually > named, "rc.firewall-2.4" and I've made it executable already, it has a * > next to its name when I do a listing. Any ideas?? TIA! You'll have to tell bash where the script is; you could type the full path (/path/to/rc.firewall-2.4) or, if you're already in the directory where the script is type "./rc.firewall-2.4". That should work. The script is now probarly not in one of the directorys where bash finds it's executables. You could see these directorys if you type "echo $PATH". Maybe you already have it, but it's good to flush your firewall-settings at the start of the script. And please... Try to quote like it should be; below the answers. It's much easier to read that way! But it seems to me, this list doesn't care about that... :( HTH -- Jos Lemmerling on Debian GNU/Linux jos(@)lemmerling(.nl) - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2003-03-01 16:57 UTC | newest] Thread overview: 9+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2003-02-27 19:53 iptables & a dhcpd question Paul 2003-02-27 20:00 ` Eckhardt, Rodolpho H. O. 2003-02-27 20:56 ` pa3gcu 2003-03-01 16:57 ` Chuck Gelm 2003-03-01 1:28 ` animated gif creation Peter Howell 2003-02-27 20:16 ` iptables & a dhcpd question Ray Olszewski 2003-02-27 20:41 ` Paul 2003-02-27 21:02 ` Brian P. Bilbrey 2003-02-27 21:09 ` Jos Lemmerling
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox