05-16-2012 06:50 AM - edited 05-16-2012 06:51 AM
I succesfull activated the webdav server http://forums.seagate.com/t5/GoFlex-Satellite/WebD
the first wlan: http://172.25.0.1/static/Data/1/
and my second home wlan-ip http://192.168.xx.yy/static/Data/1/
I also can access the GoFlex Media site over my home wlan : http://192.168.xx.yy
All works great!
Question: How can I activate a autologin in my home wlan after startup the GoFlex Satellite? (i.e. Satellite connect to Internet)
It's a long way round for my notebook to change to the GoFlex Satellite WLAN for switching-on the internet access and then go back to my home wlan...
Solved! Go to Solution.
05-16-2012 09:22 AM
ok, I found this thread
http://forums.seagate.com/t5/GoFlex-Satellite/Join
now I must write a wrapper for:
/home/wlan/wlarm join <my wireless network>
05-19-2012 10:27 AM - edited 05-19-2012 03:04 PM
it's works - autologin in home wlan is simple
first scan your wlan with
# /home/wlan/scanExtractor.py -f
now you find the scanresult in
# cat /tmp/rawScanResult
then login with (Encryption = 4)
# /home/connect.sh "mySSID" 4 "myPassphrase"
I simple wrote a script in rc5.d
# cat /etc/rc5.d/S99wlan.sh
#! /bin/sh /home/wlan/scanExtractor.py -f # scan result see /tmp/rawScanResult /home/connect.sh "mySSID" 4 "myPassphrase"
don't forget
# chmod 755 /etc/rc5.d/S99wlan.sh
# reboot
if you are afraid then first use the Web-GUI for login in your wlan
and then see the result here
# cat /tmp/last_successful_connection
successful_ssid="myssid" successful_enc=4 successful_pass="9999999999999999" successful_channel=4
-------------------------
here is a sample for a better start script for mutiple wlan account
#cat /etc/rc5.d/S99wlan.sh
#! /bin/sh
case "$1" in
start)
echo "scan wlan"
/home/wlan/scanExtractor.py -f
grep -q 'MYSSID' /tmp/rawScanResult
if [[ $? -eq 0 ]] ; then
echo "connect to wlan"
/home/connect.sh MYSSID 4 9999999999999
fi
;;
stop)
echo "do nothing"
;;
*)
echo "Usage: /etc/rc5.d/S99wlan.sh {start|stop}"
exit 1
esac
exit 0
08-04-2012 05:43 PM
Could you elaborate how the improve script can be used with multiple networks?
08-07-2012 09:12 AM
here is my simple working script for two networks (SSID1 ans SSID2)
# cat /etc/rc5.d/S99wlan.sh
#! /bin/sh
case "$1" in
start)
echo "scan wlan"
/home/wlan/scanExtractor.py -f
grep -q 'SSID1' /tmp/rawScanResult
if [[ $? -eq 0 ]] ; then
echo "connect to wlan"
/home/connect.sh SSID1 4 1234567901234567
exit 1
fi
grep -q 'SSID2' /tmp/rawScanResult
if [[ $? -eq 0 ]] ; then
echo "connect to wlan"
/home/connect.sh SSID2 3 1234567901234567
exit 1
fi
;;
stop)
echo "do nothing"
;;
*)
echo "Usage: /etc/rc5.d/S99wlan.sh {start|stop}"
exit 1
esac
exit 0
©2012 Seagate Technology LLC