Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 01-02-2010, 05:40 PM   #1
Registered: Jan 2010
Posts: 101

Rep: Reputation: 17
Question Do I need rc.inet[d,1,2], rc.pcmcia, & rc.wireless at boot if I use wicd w/wireless?

I'm trying to cut down on my Slackware system's boot time, so I've been looking at the scripts in /etc/rc.d/ to see if there's anything unnecessary running at boot. Now I'm looking at the internet-related scripts since it works just fine with wicd (rc.wicd starts at boot). I looked up what some of these scripts do, but I'm still not entirely clear on if I can disable some of them or not, and I'd rather be sure before I go on disabling boot scripts for fear of not being able to start up my system.Do I even need rc.inetd, rc.inet1, rc.inet2, and rc.wireless to start up at boot if I have rc.wicd starting up at boot and working with wireless? Mainly, I'm not really sure if wicd depends on these scripts at boot or if it can work independently of them. Also, is rc.pcmcia for my wireless card or just ethernet? I only use wireless internet on my laptop; I never connect it to an ethernet cable (and if I do I'll probably remember to start up rc.pcmcia). I checked out some stuff on the internet and I'm still not entirely clear on what a PCMCIA card is for, so I'd like to ask here.

So, can I remove the executable permissions on any or all of these scripts and still be able to connect automatically to wireless networks with wicd?
Old 01-02-2010, 06:21 PM   #2
Registered: Sep 2008
Distribution: Linvo
Posts: 132

Rep: Reputation: 43
You don't rc.inetd, certainly. That's not related to the internet connection. rc.inet2 is related to automatic mounting of network file systems, so you don't need it. rc.inet1 connects to the internet, but since you use wicd, disable it. I think you can't even use wicd when you are using rc.inet1, because wicd starts after you are connected to a network. I mean, you can use it, but you won't connect with it, because rc.inet1 will connect you.

I don't know what rc.wireless does, when I check it, I'll tell you about it.

Edit: yes, rc.inet1 connects you to a pre-configured network, while rc.wireless will search for wireless connection. You want that done by wicd, so disable it if you want to connect to wifi with wicd.

I guess you need rc.pcmcia, because it loads essential kernel modules for pcmcia cards

Last edited by Ivshti; 01-02-2010 at 06:25 PM.
Old 01-02-2010, 06:57 PM   #3
Registered: Jan 2010
Posts: 101

Original Poster
Rep: Reputation: 17
Thank you so much! You've saved me some boot time (I don't know how much yet). I'm going to see if this all works just fine; I can't right now because I'm busy compiling my kernel, so I'll have to wait for that to finish.


I'll post back if I run into any issues.
Old 01-02-2010, 07:04 PM   #4
Senior Member
Registered: Jul 2005
Distribution: Slackware
Posts: 2,014

Rep: Reputation: 115Reputation: 115
If you don't have any interfaces configured, rc.inet1 "shouldn't" really take any extra time away from boot. rc.inet1 also configures the loopback network interface, and that's kind of important..

You'll get a much more significant boost in boot speed by switching your scripts to strict posix and using dash or ash.
Old 01-02-2010, 07:30 PM   #5
Registered: Jan 2010
Posts: 101

Original Poster
Rep: Reputation: 17
Hmm... I was just checking out GrapefruiTgirl's thread about using dash and POSIX scripts. I wonder if this will ever become the Slackware default. I'm not so sure I want to mess with this now, though, because then I'll have to fix it all up when it comes time to upgrade.
Old 01-03-2010, 06:37 AM   #6
Registered: Sep 2008
Distribution: Linvo
Posts: 132

Rep: Reputation: 43
Ohh.. if you want to save boot time, trash sysvinit all together.


I've compiled packages of initng for the distribution I maintain and they're compatible with Slackware, but you have to disable a few services/daemons like "daemon/pulseaudio" and "daemon/NetworkManager", and create your own entry for wicd.

check this: I've described in the third paragraph how to install initng.

Last edited by Ivshti; 01-03-2010 at 06:38 AM.
Old 01-03-2010, 07:07 AM   #7
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,826
Blog Entries: 27

Rep: Reputation: 2124Reputation: 2124Reputation: 2124Reputation: 2124Reputation: 2124Reputation: 2124Reputation: 2124Reputation: 2124Reputation: 2124Reputation: 2124Reputation: 2124

SlackwareŽ rc init tour through the SlackwareŽ init process, guided by the scripts and man pages.

Just a few more links to aid you;

SlackwareŽ Essentials
SlackwareŽ Basics
Linux Documentation Project
Rute Tutorial & Exposition
Linux Command Guide
Utimate Linux Newbie Guide
Getting Started with Linux
Advanced Bash-Scripting Guide
Virtualiation- Top 10

These links and others can be found at 'Slackware-Links'. More than just SlackwareŽ links!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware 13.0 & WICD - Slow wired connection, no wireless connection xTyrant Linux - Laptop and Netbook 2 10-14-2009 11:58 PM
NM & WICD cannot connect to WEP/WPA 2 wireless elusive_night Linux - Newbie 3 09-28-2009 06:04 PM
Slackware & Wireless PCMCIA GacAttack Linux - Wireless Networking 2 06-06-2006 05:41 PM
SuSE 9.2 & Lynksys Wireless PCMCIA MikeFish Linux - Newbie 2 02-19-2005 03:11 PM
My pcmcia & wireless woes on Redhat 9 Testosteles Linux - Laptop and Netbook 4 07-14-2003 11:09 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:51 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration