Hi,
ok, while working on another thread, I had an idea today.
The output you posted doesn't contain the line "Probing interface wlan0". This can have to reasons:
1. PROBE_INTERFACE is not set correctly to "yes" (should be done by
2. The issues below
That HAVE-TO appear if you enabled the function correctly.
So, I introduce you some changes, and then retest it.
1. Adjust piratebox_alt
edit with "vi" or "nano"
Please change it to
That should create the message "Probe wlan" BEFORE "Starting hostap." when you run
2. But I think in the wifi-setup script is the next bug.
So edit
Look around at line 79 , there you should find
please change it to:
Test restarting the piratebox
See if the messages about probing the interface appear.
Hope that helps.
regards Matthias
ok, while working on another thread, I had an idea today.
The output you posted doesn't contain the line "Probing interface wlan0". This can have to reasons:
1. PROBE_INTERFACE is not set correctly to "yes" (should be done by
sed -i 's|PROBE_INTERFACE="no"|PROBE_INTERFACE="yes"|g' /opt/piratebox/conf/piratebox.confwithout problem)
2. The issues below
That HAVE-TO appear if you enabled the function correctly.
So, I introduce you some changes, and then retest it.
1. Adjust piratebox_alt
edit with "vi" or "nano"
/opt/piratebox/init.d/piratebox_altfind the following line:
fi if [ "$PROBE_INTERFACE" = yes ] ; then echo " Probe wlan"That should be around line 87 -
Please change it to
if [ "$PROBE_INTERFACE" = "yes" ] ; then
That should create the message "Probe wlan" BEFORE "Starting hostap." when you run
2. But I think in the wifi-setup script is the next bug.
So edit
/opt/piratebox/bin/piratebox_setup_wlan.sh.
Look around at line 79 , there you should find
ifconfig $INTERFACE down elif [ $ = "probe" ] ; then # simply check if the interface is available probe fi
please change it to:
elif [ "$2" = "probe" ] ; then
Test restarting the piratebox
systemctl piratebox restart systemctl piratebox status journalctl -xn
See if the messages about probing the interface appear.
Hope that helps.
regards Matthias