*UPDATE*
3/7/2011
Fix permissions on init script
add dependencies for wireless modules, fixes modprobe.
Included in this app.bin is 2 drivers:
1. rtl8712_8188_8191_8192SU
2. rtl8192CU
3. RTL8187L *update*
dependencies:
wireless app pack (without this, it will not work)
Modules:
/lib/modules/2.6.15-TvDock/r8187l.ko
/lib/modules/2.6.15-TvDock/8712u.ko
/lib/modules/2.6.15-TvDock/8192cu.ko
The 8192cu and RTL8187L driver is UNTESTED! I do not have this device so that means I have no way to test. I only
included this was because someone requested this. Regardless of what driver you use, be sure to use
the log-saver app since this will grab all the log files and info needed for debugging any problems. If
you want me to help you send me the output from log-saver or else your PM's and postings
will be ignored. Send me all the logs log-saver generates, don't send me 1 or a parsed version.. I'll
be the one debugging so I know what I'm looking for.
I'll add some more, but again.. I do not own any of the devices except the 8188.
BTW, always test with an open/no security configured WIFI and static IP first. Configuring wpa_supplicant is a pain
to configure and you'll save me and you alot of headaches.
-freak
Examples:
net.config
- Code: Select all
#replace CHANGEME with the name of your flash drive
#that would be what you labeled it.
FLASH="/tmp/media/usb/CHANGME"
SSID="TP-LINK"
wifidev="wlan0"
# if you do not set a hostname,a random one is assigned.
#You can override the hostname here:
HOST=wdtv
# attempt to set jumbo frames
#MTU=9000
#this is for an open wireless setup
#WIFITOOL=IWTOOLS
#uncomment this if you need WPA or WPA2 etc..
#when using this, you MUST configure wpa_supplicant
#WIFITOOL=WPASUP
#wireless
if [ ! -f /tmp/running_net.config ]; then
logger "Starting IW Tools.."
touch /tmp/running_net.config
#your driver goes here
#uncomment the correct one
#modprobe -v 8712u
#modprobe -v 8192cu
#modprobe -v r8187l
ifconfig ${wifidev} up
case ${WIFITOOL} in
IWTOOLS)
sleep 5
echo ${wifidev}
iwconfig ${wifidev} mode Managed 2>> ${FLASH}/iwifi
iwconfig ${wifidev} essid ${SSID}
;;
WPASUP)
if [ -x ${FLASH}/wpa_supplicant.conf ]; then
if [ ! -x /tmp/wpa_supplicant.ctrl ]; then
logger "IWIFI: WPASUP"
modprobe -v ieee80211_crypt_tkip
modprobe -v ieee80211_crypt_ccmp
modprobe -v ieee80211_crypt_wep
wpa_supplicant -B -Dwext -i ${wifidev} -c ${FLASH}/wpa_supplicant.conf
fi
fi
;;
esac
logger "Finished IW Tools.."
else
logger "net.config called again.."
fi
#
# Static IP Configuration: (only if not DHCP)
DHCP=no
IP=192.168.0.10
GW=192.168.0.1
NM=255.255.255.0
DNS1=192.168.0.1
DNS2=205.171.3.65
#do not load any network drivers (saves memory)
#this should ALWAYS be here when using these drivers!!!!
SUPPRESS_OTHERS=yes