Background on net-setup.sh
I use the network wizard, "net-setup.sh (AKA "Network Wizard")", which is loaded from the gui via the following:
Both the next GUI, and also this one are defined in net-setup.sh
Now about the bug
Now net-setup.sh (aka "network wizard"), stores the wireless profile information at:
Code: Select all
/etc/network-wizard/wireless/interfaces
Code: Select all
/etc/rc.d/rc.network
Code: Select all
if [ -f "${WLAN_INTERFACES_DIR}/$HWADDRESS.conf" ] ; then
To verify this claim, I did two grep statements to look for WLAN_INTERFACES_DIR
Code: Select all
root# grep -r -n 'WLAN_INTERFACES_DIR' /usr/sbin
/usr/sbin/net-setup.sh:1778: if [ ! -s "${WLAN_INTERFACES_DIR}/$HWADDRESS.conf" ] ; then
/usr/sbin/net-setup.sh:1779: #cp -a /tmp/wireless-config "${WLAN_INTERFACES_DIR}/$HWADDRESS.conf"
/usr/sbin/net-setup.sh:1780: echo -e "INT_WPA_DRV='$PROFILE_WPA_DRV'\nUSE_WLAN_NG='$USE_WLAN_NG'" > ${WLAN_INTERFACES_DIR}/$HWADDRESS.conf
/usr/sbin/wag-profiles.sh:188:WLAN_INTERFACES_DIR='/etc/network-wizard/wireless/interfaces'
/usr/sbin/wag-profiles.sh:189:[ -d $WLAN_INTERFACES_DIR ] || mkdir -p $WLAN_INTERFACES_DIR
root#
Code: Select all
root# grep -r -n 'WLAN_INTERFACES_DIR' /etc
/etc/rc.d/rc.network:409: if [ -f "${WLAN_INTERFACES_DIR}/$HWADDRESS.conf" ] ; then
/etc/rc.d/rc.network:415: . "${WLAN_INTERFACES_DIR}/$HWADDRESS.conf"
/etc/rc.d/rc.network:650: fi # if [ -f "${WLAN_INTERFACES_DIR}/$HWADDRESS.conf" ] ; then
root#