Смена пароля WIFI раз в сутки

Post new topic   Reply to topic    DD-WRT Forum Index -> Использование и установка DD-WRT
Author Message
Damien01Rus
DD-WRT Novice


Joined: 18 Sep 2014
Posts: 2

PostPosted: Thu Sep 18, 2014 6:52    Post subject: Смена пароля WIFI раз в сутки Reply with quote
Здравствуйте. Есть 2 роутера DIR 300 b7 и DIR 516 K1. Есть ли какая либо возможность настроить их для смены пароля раз в сутки? DD WRTкажется нету прошивок под эти аппаратные ревизии((
Sponsor
Damien01Rus
DD-WRT Novice


Joined: 18 Sep 2014
Posts: 2

PostPosted: Wed Sep 24, 2014 8:53    Post subject: Reply with quote
Благодаря теме http://www.dd-wrt.com/phpBB2/viewtopic.php?t=68749&view=next&sid=31931199736556fa2abf2232dca5190b нашелся способ решения.
Роутер D-Link 320 A1(не NRU) была залита прошивка DD WRT и немного модифицирован скрипт.

one=`date '+725'`
two=`date '+%j'`
three=$(($one - $two))
four=$(($three /2))
now="71$two$four"
nvram set wl0_wpa_psk=$now
nvram commit
reboot

Пароль будет числовой. Число будет слитно. На 24.09.14 пароль 71267229. Он был составлен из числа 71 статического + номер текущего дня в году + ((725-номер дня в году)/2).
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Использование и установка DD-WRT All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum