Home > Malo mešano > Linksys WRT54GL with dd-wrt change wlan password

Linksys WRT54GL with dd-wrt change wlan password

#!/bin/sh

a=`date +%e%m%y`
let "a = $a * $a"
let "a = $a % 999999999"
echo $a > /jffs/g.txt
#po rebootu se izbrise uporabi
#nvram set rc_startup="cp /jffs/g.txt  /tmp/www/g.htm"
echo $a > /tmp/www/g.htm
echo Pass: $a
nvram set wl0_wpa_psk=$a
nvram commit
reboot
echo OK
Categories: Malo mešano Tags:
  1. No comments yet.
  1. August 17th, 2008 at 23:00 | #1

17043 pages viewed, 1 today
11075 visits, 1 today
FireStats icon Powered by FireStats