I recently installed BT3 to my HDD, so I was thinking on a way to run wpa_supplicant automatically! I'm assuming that wpa_supplicant.conf is properly configure and ready to execute when called.
First create a bash file using an editor, save without extension
# chmod 755 filename -read,write,exe privileges#!/bin/bash
ifconfig ath0 up
echo "starting wpa_supplicant"
wpa_supplicant -w -D wext -i ath0 -c /etc/wpa_supplicant.conf
# ./filename -execute the file
Next, open a terminal and get an ip
# dhcpcd ath0
Done! I'm also looking for a way of opening a second terminal in the script in order to execute dhcpcd as well. After that find a way of running this automatically at startup!
Ideas are welcome. Thx