View Single Post

   
  #1 (permalink)  
Old 01-19-2008, 07:12 AM
Niki Kovacs
 
Posts: n/a
Default Where to put the startup stuff?

Hi,

I'm a long-time Slackware user currently giving Debian a try... and I like
it! And it's well documented!

One thing puzzles me. One of the big differences is handling of startup. Now
I wonder where to put the stuff that I used to put in /etc/rc.d/rc.M,
or /etc/rc.d/rc.local. Would that be /etc/init.d/bootmisc.sh?

More concretely, here's the things I want to do:

1) On one machine I have two ethernet cards that used to be "linked" by a
bridge with bridge-utils. The two cards were not defined in terms of IP
(both 0.0.0.0), but the IP was assigned to the (virtual) interface br0.
Question: where do I put the definition of that bridge? (used to be in
rc.local)

2) my HP printer works with hpoj, via a daemon /usr/sbin/ptal-init. This
daemon has to be launched on startup, but *before* CUPS. (On my Slack box,
I used to add a stanza in /etc/rc.d/rc.M, right before the CUPS stanza).
Question 2: where do I put the command to launch /usr/sbin/ptal-init?

3) I'm on dialup here, and we share a connection via the linesrv connection
manager. To activate IP masquerading, I had a two-liner
in /etc/rc.d/rc.firewall, and IP forwarding was activated
with /etc/rc.d/rc.ip_forward. Question 3: how are things done properly the
Debian way for IP masquerading.

Cheers,

Niki Kovacs
--
I'm not as think as you stoned I am.
Reply With Quote