I never really liked the stock rc.inet1 and its .conf (far too involved). I replaced mine with this quick and dirty version:
Code:
#! /bin/sh
# /etc/rc.d/rc.inet1
# Quick and dirty replacement for Slackware's stock rc.inet1.
########################################################################
## STOP ##
if [ "$1" = "stop" -o "$1" = "restart" ]; then
echo "Stopping network interfaces..."
# /sbin/ifconfig lo down
/sbin/ifconfig eth0 down
/sbin/dhcpcd -k wlan0
/usr/sbin/wpa_cli -i wlan0 terminate
fi
## (RE)START ##
if [ "$1" != "stop" ]; then
echo "Starting network interfaces..."
/sbin/ifconfig lo 127.0.0.1
/sbin/ifconfig eth0 192.168.1.2
/usr/sbin/wpa_supplicant -B -Dwext -iwlan0 -c /etc/wpa_supplicant.conf \
&& /sbin/dhcpcd wlan0
fi
########################################################################
Then for each wi-fi network I may want to connect to, it's just a one time
Code:
wpa_passphrase 'SSID' 'password' >>/etc/wpa_supplicant.conf
If you tend to only use the same few wi-fi networks, and their passwords don't change very often, then it works quite well and you don't need all that fancy network-mangler stuff.
Such an approach may not suit everyone, but it works for me. Anyway, doesn't really answer your question, but I thought I'd share it in case you were interested.