LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   slackware wireless configuration script omissions (http://www.linuxquestions.org/questions/slackware-14/slackware-wireless-configuration-script-omissions-4175429990/)

Rod3775 10-01-2012 10:10 PM

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.

GazL 10-03-2012 07:24 AM

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)


All times are GMT -5. The time now is 07:08 PM.