2010-07-11, 02:25
edit: i guess during my troubleshooting i added:
\etc\rc.local\
iwconfig wlan0 essid homenet
dhclient wlan0
that is what eventually got everything working (in a hacked out, why does it work this way, but no other way)...
oh well, id rather have a functioning htpc that i can run apt-get update / upgrade on, then none at all
here is my cat output that made this work everytime, who knows, im tired of troubleshooting and just glad it works, maybe this will help someone in a similar situation:
\etc\rc.local\
iwconfig wlan0 essid homenet
dhclient wlan0
that is what eventually got everything working (in a hacked out, why does it work this way, but no other way)...
oh well, id rather have a functioning htpc that i can run apt-get update / upgrade on, then none at all
here is my cat output that made this work everytime, who knows, im tired of troubleshooting and just glad it works, maybe this will help someone in a similar situation:
Code:
root@XBMCLive:~# cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
#auto wlan0
iface wlan0 inet dhcp
#pre-up ifconfig wlan0 up
#pre-up ifconfig wlan0 down
#pre-up ifconfig wlan0 up
#pre-up ifconfig wlan0 down
#pre-up iwconfig wlan0 essid "homenet"
#pre-up iwconfig wlan0 mode Managed
#pre-up ifconfig wlan0 up
auto wlan0
root@XBMCLive:~# cat /etc/rc.local
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
#enable resume from standby function for MS remotes
echo USB0 > /proc/acpi/wakeup
iwconfig wlan0 essid homenet
dhclient wlan0
#execute runonce script
if [ ! -e "/usr/share/xbmc/runonce" ]; then
echo "runonce script already applied"
else
/usr/share/xbmc/runonce
fi
exit 0
root@XBMCLive:~#