LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 10-01-2012, 11:10 PM   #1
Rod3775
Member
 
Registered: May 2008
Location: Washington State
Distribution: Slackware-14.1
Posts: 34
Blog Entries: 8

Rep: Reputation: 0
slackware wireless configuration script omissions


Slackware-14.0 (and previous releases) provides wireless configuration parameters in rc.inet1.conf. These are then used in rc.wireless to actually configure a wireless adapter. However, the examples in rc.inet1.conf include parameters (e.g. WLAN_POWER_SAVE and others) that are not actually picked up in rc.wireless and thus are no-ops. Please either add script code in rc.wireless to use these parameters, or take them out of the samples in rc.inet1.conf. The last change date in these scripts is a number of years ago, so I'm not sure if they are still maintained or by whom, but there are versions in .../~alien on the slackware website.

It is easy to add stuff to rc.local to do the missing setup, but the point of these scripts was to do it all in one place.
 
Old 10-03-2012, 08:24 AM   #2
GazL
Senior Member
 
Registered: May 2008
Posts: 3,503

Rep: Reputation: 1026Reputation: 1026Reputation: 1026Reputation: 1026Reputation: 1026Reputation: 1026Reputation: 1026Reputation: 1026
The rc.inet1 and wireless scripts/config certainly have become somewhat convoluted over time as they've evolved and grown. IMO when the scripts become more difficult to understand and work with than the underlying network configuration cli utilities such as ifconfig and route, then it's time to re-evaluate.

Pat's a big believer in continuity though so that may limit what he may do. Personally, I'd be happy with the following in rc.M
Code:
# Initialize the networking hardware.
if [ -x /etc/rc.d/rc.inet1.local ]; then
  . /etc/rc.d/rc.inet1.local
elif [ -x /etc/rc.d/rc.inet1 ]; then
  . /etc/rc.d/rc.inet1
fi
... to enable me to go my own way without patching distro shipped scripts. (rc.local is a bit too late in the game to be bring up network interfaces)

Last edited by GazL; 10-03-2012 at 08:26 AM.
 
  


Reply

Tags
configuration, script, slackware, wireless


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
Omissions in Bash history Sqr Linux - Software 4 12-02-2009 12:06 PM
Storing wireless configuration in Slackware v3gard Linux - Newbie 5 09-29-2007 09:43 AM
tuning wireless configuration Slackware 12.0 geomatt Slackware 28 09-08-2007 04:28 PM
slackware intel wireless configuration jommy Linux - Wireless Networking 1 06-13-2006 04:31 AM
Slackware 9 & Wireless configuration hecresper Slackware 4 03-27-2004 12:37 PM


All times are GMT -5. The time now is 06:37 AM.

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