Also restart your wireless router everyday :) I don't know why this helps.
#!/bin/csh
set n = 0
set t = 120
while ( `/Users/me/helperanet` != 192 )
echo $n
networksetup -setairportpower off
sleep 3
networksetup -setairportpower on
sleep 6
@ n = $n + 1
end
with helperanet being
#!/bin/csh
set stra =( `networksetup -getinfo airport | grep -i ip | grep -i 192 | awk 'BEGIN {RS="."} /192/ {print $3}'` )
echo $stra
No comments:
Post a Comment