chris_c
Member
- Joined
- Jun 25, 2010
- Messages
- 393
- Age
- 56
iinstall wicd as per their instructions
stop Network manager
create your wifi connection and mark it connect automatically this will also put wicd in the session autostart
run your session autostart gui remove BOTH wicd and NetworkManager from it...
replace /opt/pandora/scripts/op_wifi.sh with this:
enjoy...
stop Network manager
create your wifi connection and mark it connect automatically this will also put wicd in the session autostart
run your session autostart gui remove BOTH wicd and NetworkManager from it...
replace /opt/pandora/scripts/op_wifi.sh with this:
Code:
#!/bin/sh
#
# Released under the GPL
# This script simply toggles internal WiFi on or off.
cd /
if [ "`lsmod | grep wl1251`" ]
then
notify-send -u normal "WLAN" "WLAN is being disabled..." -i /usr/share/icons/hicolor/32x32/apps/nm-no-connection.png
# this kills the gui too so it doesnt complain the daemon is down
# we kill the daemon so that restarting the daemon connects any
# automatic connections
kill -9 `ps ax | grep wicd | grep -v grep | awk '{print $1}'`
ifconfig wlan0 down
ifconfig wlan1 down
rmmod board_omap3pandora_wifi wl1251_sdio wl1251
else
notify-send -u normal "WLAN" "WLAN is being enabled..." -i /usr/share/icons/hicolor/32x32/apps/nm-device-wired.png
/etc/init.d/wl1251-init start
# gui starts daemon if needed...
wicd-gtk
fi