I followed every instruction on this amazing thread, and used the following configuration to connect to my WPA2 network:
ROOT_DIR
- Code: Select all
net.config
net.mounts
realtek-wireless-drivers-0.1.app.bin
S00custom-options
wireless-mod-wdlxtv.app.bin
wpa_supplicant.conf
net.config
- Code: Select all
#replace SN with the Serial Number of your flash drive
FLASH="/tmp/mnt/MY_DRIVE_SN"
SSID="MY_SSID_NAME"
wifidev="wlan0"
#Patch for realtek wlan0 devices
echo "${wifidev} 0:0 755 *(/etc/hotplug/net.agent)" >> /etc/mdev.conf
# 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=yes
#IP=192.168.1.15
#NM=255.255.255.0
#GW=192.168.1.1
#DNS1=192.168.1.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
#Lines below are only needed if network device is not listed
#in /etc/mdev.conf (see patch at top of file)
#starts dhcp client request
#udhcpc -b -p /tmp/udhcp.pid -S -i ${wifidev}
#setup ip address statically from previously
#defined variables.
#ifconfig ${wifidev} ${IP} ${NM} up#
note that the serial number is essential for the process to work, and you can get it using "vol H:" in windows where H: is your thumb drive letter.
wpa_supplicant.conf
- Code: Select all
ctrl_interface=/tmp/wpa_supplicant
network={
ssid="MY_SSID_NAME"
psk="MY_SSID_PSK"
key_mgmt=WPA-PSK
proto=RSN WPA
pairwise=CCMP TKIP
group=CCMP TKIP
}
I used realtek-wireless-drivers-0.1.app.bin by freak and wireless-mod-wdlxtv.app.bin by b-rad I found on the internet.
This configuration works great, and I'll be happy to assist anyone with the same components. Thank you very much Amis, Alicia, freak and b-rad.
A link to my Dropbox folder containing my working config: https://www.dropbox.com/sh/484h2ro3bpe3ugy/_BfBITHjQ_
Good Luck.