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.
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705
Rep:
Need help with (network) initialization process
Hi guys,
I have a new Sarge 31 installation. I'm using it as a desktop so I am trying to run as few services as possible. I uninstalled netkit-inetd and ifupdown and I'm pretty sure that's why the network doesn't come up automagically (including rc.firewall not being invoked) on startup.
I looked at the init scripts but I can't understand what's going on. I know what commands I need to issue to bring up the network (I wrote short scripts for up and down, including firewall initialization) but I have to invoke them manually since I don't understand Debian's initialization process. Can anyone explain to me (or point me to a good read) how initialization works and flows? And/or can anyone tell me what I have to do to get the network to come up when the system comes up?
Also, I have a lot of messages coming from hotplug which seem to be spurious, but I don't see them in syslog! Where else could they be? I want to clean up the initialization.
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705
Original Poster
Rep:
I don't have the man page.
I couldn't find anything in the Debian doc (I'm sure it's there, I just couldn't find it) so I looked over the startup stuff until I could figure out what's going on. I fixed the network startup by adding a symlink in the run level 2 directory pointing to my own network bringup command. It works better than the stock solution, because the firewall starts first. I don't know why they set it up so that they bring the network up and then invoke rc.firewall, but in my setup I do first things first.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.