Jump to content

Monter stealthMode dla AsusWRT-Merlin

Rate this topic


Guest house

Recommended Posts

  • Administrator

Warto odnotować pewien dodatek dla ASUSWRT-Merlin z rodzimego podwórka: 

https://github.com/Monter/stealthMode4Merlin

alternatywa dla wbudowanej w FW funkcji stealth-mode, gasząca diody LED routera jedynie po zmroku i włączająca je o świcie  :)

stealthMode: Sunset city code: 523920, sunset: 15:30, sunrise: 07:43
stealthMode: The time now is 15:26, so StealthMode will be activated on the next sunset

źródło : http://monter.techlog.pl/stealthmode-sunset-dla-asuswrt-merlin/

Link to post
Share on other sites
  • Replies 9
  • Created
  • Last Reply

Top Posters In This Topic

  • house

    6

  • Administrator

@guma77 musisz sprawdzić, powinno działać skoro to modyfikacja modyfikacji :)

Link to post
Share on other sites
  • Administrator

nie wiem jak to wgrac ,az tak sie nie znam

==========================

stealthMode HOW TO INSTALL

==========================

1. get stealthMode.sh to your router and change file privileges

cd /tmp

wget http://monter.techlog.pl/files/download/_Projects/ASUSWRT/stealth_mode/sunset/stealthMode.sh

chmod +x stealthMode.sh

2. run ./stealthMode.sh without switches and read the Usage screen

--

NOTE: You can put the program in a different folder and even rename the file, the changes are automatically detected by the application and send commands to the system and to Crontab will contain the correct path and file name of the application.

Link to post
Share on other sites
  • Administrator

uruchom ssh w routerze, potem po zalogowaniu klep w konsoli :

cd /tmp
wget http://monter.techlog.pl/files/download/_Projects/ASUSWRT/stealth_mode/sunset/stealthMode.sh
chmod +x stealthMode.sh

następnie uruchamiasz poleceniem

./stealthMode.sh

i wyskakuje Ci cała składnia jak i co ustawić:

admin@RT-AC87U-2B70:/tmp# ./stealthMode.sh
stealthMode Sunset v1.0 by Monter [released on 29.12.2014]
Usage: stealthMode.sh {on|off|sun <city_code>|sun_off|sch_on <H> <M>|sch_off <H><M1>|sch_clear|clear_all}
[Standard mode]
   on | off        - enable or disable steathMode in real time
[Sunset mode]
   sun <city_code> - will daily get the sunrise and sunset times of a specific
                     location automatically and activate Sunset mode
                     To be able to determine your <city_code> you need to first
                     go to http://weather.yahoo.com/ and look up your location
                     The last NUMBERS in the URL will be your <city_code>
                     Example: "stealthMode.sh sun 514048" if you live in Poznan/Poland ;)
                     This feature requires a working Internet connection
   sun_off         - fully deactivate Sunset mode
[Scheduled mode]
   sch_on <H> <M>  - set the hour and minutes of the scheduled enable/disable
   sch_off <H> <M>   stealthMode in Standard mode and adding jobs to the Crontab
                     Hour and minute time must be a numbers without any additional
                     characters, where hour is a mandatory parameter, while not
                     specifying an minute will assign a default 00 value
                     These options add just the right job for Crontab, nothing more
   sch_clear       - removes tasks from Crontab for scheduled enable/disable
                     stealthMode function set by sch_on and sch_off switches
[Repair / debug]
   clear_all       - removes all jobs from Crontab and completely disables all
                     available stealthMode modes
Send your bug report to monter[at]techlog.pl

ogólnikowo - wchodzisz na https://weather.yahoo.com/- wpisujesz miasto i z linku wyciągasz city code (końcówka linku). Następnie klepiesz ponownie w konsoli :

./stealthMode.sh sun pobrany_kod

Jeśli nie działa piszesz do : 

http://www.techlog.pl/contact.html
Link to post
Share on other sites
  • Administrator

Kolega Monter zauważył, że w nowych wersjach FW Merlina zmieniła się ścieżka:

./stealthMode.sh: line 20: /bin/nvram: not found

więc dzisiaj wydał poprawioną wersję swojej produkcji. 

Gdyby ktoś próbował uruchomić skrypt na OFW B)  :

stealthMode: Router does not support this feature. StealthMode works only in Asus with ASUSWRT-Merlin firmware.
Link to post
Share on other sites
  • 4 months later...
Guest ZuberA

Witam 

Przy próbie instalacji 

[admin@RT-AC68U /tmp]$ wget http://monter.techlog.pl/files/download/_Projects/AS
USWRT/stealth_mode/sunset/stealthMode.sh
--2015-05-22 21:23:12--  http://monter.techlog.pl/files/download/_Projects/ASUSWRT/stealth_mode/sunset/stealthMode.sh
Resolving monter.techlog.pl... 62.21.63.150
Connecting to monter.techlog.pl|62.21.63.150|:80... connected.
HTTP request sent, awaiting response... 403 Forbidden
2015-05-22 21:23:12 ERROR 403: Forbidden.

Soft 378.53_0 Merlin

Link to post
Share on other sites
  • Administrator

Link nie działa (dostęp zabroniony) - albo kolega modernizuje serwer albo uaktualnia wpisy w .htaccess.
Plik możesz pobrać z :
https://github.com/Monter/stealthMode4Merlin

 

bezpośredni link dla wget:

https://raw.githubusercontent.com/Monter/stealthMode4Merlin/master/stealthMode.sh

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more information, please see ours Guidelines and Privacy Policy.