Posted: Sat Aug 12, 2017 8:40 Post subject: Place script in /jffs/
Hi,
I am trying to make a script work (for a while now. ) and the first line of the script says this:
#Enable JFFS2 and place script in /jffs/ then run on startup in web interface.
I cannot seem to find out where to place the script, can anyone help me with that?
I'm really new to DD-WRT so sorry if this is a stupid question.
I have a R7000 running Firmware: DD-WRT v3.0-r33010M kongac (08/09/17)
http://www.dd-wrt.com/wiki/index.php/Index:Scripting _________________ Netgear R7000 on Build 55109
Asus AC-AC68U rev. C1 (AP) on Build 55109
Asus AC-68U rev. A1 on Build 54604
Asus AC-68U rev. A1 on Build 53339
Posted: Mon Aug 14, 2017 14:36 Post subject: Re: Place script in /jffs/
Patrick1610 wrote:
I cannot seem to find out where to place the script, can anyone help me with that?
It's been a while since I've used JFFS, but you just enable it in the GUI, which creates a /jffs partition you can access via telnet, ssh/SCP, or GUI Admin->commands. Note, much of that wiki is old, but that section seems right. Anyway, then put your script there; either by wget/curl, or WinSCP (need SSH enabled), or USB, or... manual entry...? _________________ #NAT/SFE/CTF: limited speed w/ DD#Repeater issues#DD-WRT info: FAQ, Builds, Types, Modes, Changes, Demo#
OPNsense x64 5050e ITX|DD: DIR-810L, 2*EA6900@1GHz, R6300v1, RT-N66U@663, WNDR4000@533, E1500@353,
WRT54G{Lv1.1,Sv6}@250|FreshTomato: F7D8302@532|OpenWRT: F9K1119v1, RT-ACRH13, R6220, WNDR3700v4
Posted: Mon Aug 14, 2017 14:58 Post subject: Re: Place script in /jffs/
jwh7 wrote:
Patrick1610 wrote:
I cannot seem to find out where to place the script, can anyone help me with that?
It's been a while since I've used JFFS, but you just enable it in the GUI, which creates a /jffs partition you can access via telnet, ssh/SCP, or GUI Admin->commands. Note, much of that wiki is old, but that section seems right. Anyway, then put your script there; either by wget/curl, or WinSCP (need SSH enabled), or USB, or... manual entry...?
Place the script in /jffs/etc/config with postfix .wanup and make it executable (chmod 755 filename). It will then execute automatically at startup after the wan interface is up. _________________ Netgear R7000 on Build 55109
Asus AC-AC68U rev. C1 (AP) on Build 55109
Asus AC-68U rev. A1 on Build 54604
Asus AC-68U rev. A1 on Build 53339