Or before you startx,
/etc/init.d/networking start
/etc/init.d/NetworkManager start
Then when you startx that little green globe in the bottom right of the screen will let you connect to wireless access points.
wireless network manager script
i could not find a wlan manager on bt4, so heres a script on how to connect to an access point.. dont guess it will work with all cards considering lack of experience with wpa_supplicant.. should work on most i beleive. it uses the wext (generic wireless extension) driver for wpa_supplicant. you may need to specify otherwise. i worked on it for 2 hours now. this is a hella-modded version of a script fakeit.sh created by ochlocracy that is used as a workaround for fake authentication for the intel iwl4965 wireless card.
.: save script as connect.sh and put in your /root/ :.
.: to run open a new konsole and type sh connect.sh :.
.: be sure to save it in linux and not in windows :.
.: i hear some shell scripts dont work like that :.
#start
killall NetworkManager
killall knetworkmanager
killall wpa_supplicant
clear
echo "(use 'ifconfig' to find out)"
echo ""
echo "what is the interface name of your wireless card? (eth1, wlan0, rausb0, etc)"
read IFACE
ifconfig $IFACE up; # hehehe if its not up then you cant see it in ifconfig:P
clear
echo ""
echo "you can use 'iwlist $IFACE scan' to find networks"
echo ""
echo "Enter the ESSID of the Target Network: (use last)"
read SEL
clear
if [ "$SEL" != "" ]
then
echo ""
if [ -e fake.conf ]; then
echo "Deleting old fake.conf"
rm fake.conf
fi
echo 'network={ \n ssid="'$SEL'" \n key_mgmt=NONE \n wep_key0="fakeauth" \n }' > fake.conf
echo "Starting Authentication with $SEL"
else
if ! [ -e fake.conf ]; then
echo "ERROR - No config found, Provide ESSID"
sh connect.sh
fi
echo ""
echo "Starting Authentication with Previous ESSID"
fi
# VVV wpa_sup driver -Dwext
wpa_supplicant -c fake.conf -i $IFACE -Dwext -B
echo ""
echo "If none leave blank"
echo ""
echo "Enter the Key: (Wep/Wpa)"
read WEP
if [ "$WEP" != "" ]; then iwconfig $IFACE key $WEP ; fi
clear
echo ""
echo " Splooge,"
echo ""
echo " Go nuts!"
#end
# to run open a new konsole and type sh connect.sh
-ptrakk
Or before you startx,
/etc/init.d/networking start
/etc/init.d/NetworkManager start
Then when you startx that little green globe in the bottom right of the screen will let you connect to wireless access points.
Of course, if you really wanted to have some fun, go to Wal-Mart late at night and ask the greeter if they could help you find trashbags, roll of carpet, rope, quicklime, clorox and a shovel. See if they give you any strange looks. --Streaker69
but we can all agree, although Barry pointed to the logical solution saving tons of energy and brainpower, the script is quite a hack! Kudos to you boy, this way of thinking gets people places others don't see..
oh i didnt know about the networkmanager start! i appreciate the compliments.