http://wiki.openwrt.org/doc/techref/hotplug
2013/12/2 John Crispin
> On 02/12/13 08:02, Le Tran Dat wrote:
>
>> Hi Aleksandr,
>>
>> Many thanks for your help, I added my script to /etc/rc.local and it
>> works like a cham. I haven't known about this script before.
>>
>> I don't know this too, I
On 02/12/13 08:02, Le Tran Dat wrote:
Hi Aleksandr,
Many thanks for your help, I added my script to /etc/rc.local and it
works like a cham. I haven't known about this script before.
I don't know this too, I will check it later.
or if you need change iptables everytime after some interface
Hi Aleksandr,
Many thanks for your help, I added my script to /etc/rc.local and it works
like a cham. I haven't known about this script before.
I don't know this too, I will check it later.
> or if you need change iptables everytime after some interface (ex WAN)
> going up, you can easily create
Hi Dat,
Why you cannot add yours script to run in /etc/rc.local? or if you need
change iptables everytime after some interface (ex WAN) going up, you can
easily create script in /etc/hotplug.d/iface/ directory where add :
[ ifup = "$ACTION" ] && [ "$INTERFACE" = "WAN" ] && {
#here add yours iptab
Hi all,
I am trying to run a script after the S99sysctl. I tried to use START=100
but it does not work.
I don't want to extent the sysctl to call my script.
for example:
cat " /etc/init.d/myscript.sh start" >> /etc/init.d/sysctl
I want to do so because my application needs to change iptables
con
* Sivateja Patibandla [09.03.2013 21:58]:
> I've added CONFIG_SWAP=y to trunk/target/linux/atheros/config3.3 and I
> still can't see zram in the base system. Am I missing something?
unsure, what the specific problem is, just
run 'make kernel_menuconfig' and activate it.
bye, bastian
PS: thanks
TEW-712BR,ttyATH0,115200,"HORNET-RT-TEW712BR-3"))
>
> $(eval $(call
> SingleProfile,Cameo934x,$(fs_64k),DIR825C1,dir-825-c1,DIR-825-C1,ttyS0,115200,"00DB120AR9344-RT-101214-00"))
> +$(eval $(call
> SingleProfile,Cameo934x,$(fs_64k),DIR835A1,dir-835-a1,DIR-835-A1,ttyS0
* Sivateja Patibandla [08.03.2013 08:12]:
>
> But the system still freezes at least 40% of the times I tested. It freezes
we also see freezes on all our atheros nodes, at least once a day,
no matter if swap is used or not (we have some 32mb nodes also).
> problems. Does it mean that the swap sp
Hi Bastian,
Thank you for the information. I enabled "paging of anonymous memory"
option and now I'm able to see the swap memory being used.
But the system still freezes at least 40% of the times I tested. It freezes
in the first 5 min of the boot up or it will never freeze. I also see that
most
* Sivateja Patibandla [07.03.2013 13:49]:
> Hi Bastian,
>
> I tried the revisions 35863-35865 but I can't see zram under make
> menuconfig->base system when the Target System is Atheros AR231X. Zram
> option shows up for the target system AR7XXX but I'm working with AR231X.
> Any comments or sugg
Bastian,
When I do "swapon -p 0 /dev/zram0". I get the following output.
swapon: /dev/zram0: Function not implemented.
I tried selecting kernel modules->[*] kmod-ramzswap and see if it makes any
difference. But it still does not show up in "free". The output of free is
as follows.
root@OpenWrt:/e
Hi Bastian,
I tried the revisions 35863-35865 but I can't see zram under make
menuconfig->base system when the Target System is Atheros AR231X. Zram
option shows up for the target system AR7XXX but I'm working with AR231X.
Any comments or suggestions?
Regards,
Siva.
On Sun, Mar 3, 2013 at 3:39 P
* Sivateja Patibandla [03.03.2013 20:26]:
>
> I've tried zram and it still has the same problem. I've enabled it by
> following the procedure listed in http://patchwork.openwrt.org/patch/1609/.
> Any other comments or suggestions? Thank you.
forget the patch in patchwork, it's now included under
Hi Bastian,
I've tried zram and it still has the same problem. I've enabled it by
following the procedure listed in http://patchwork.openwrt.org/patch/1609/.
Any other comments or suggestions? Thank you.
Regards,
Siva.
On Wed, Feb 27, 2013 at 3:58 AM, Bastian Bittorf wrote:
> * Sivateja Patiban
* Sivateja Patibandla [27.02.2013 09:55]:
>
> Thank you for replying. I don't have zram enabled. Did zram solve the
enable zram, than recheck if this solves your problem,
but likely it does.
> Although, I've an init script for watchdog in rc.d directory, it does not
> show up on "ps -w" list af
Hi Bastian,
Thank you for replying. I don't have zram enabled. Did zram solve the
problem for you? Also, could you figure out the reason for hang up on boot
up?
Although, I've an init script for watchdog in rc.d directory, it does not
show up on "ps -w" list after boot up.
The last priority in m
* Sivateja Patibandla [20.02.2013 01:31]:
> distribution I'm using is OpenWrt Attitude_Adjustment, and the hardware is
> Ubiquiti Bullet 5 Ghz modem with AR2313 SoC. Without the init script if I
We face similar problems.
1)
Have you enabled zram? Those devices only have 16mb RAM.
2)
Please loo
Hi Guys,
I'm trying to setup an init script to run a userspace application. In the
script I have START=99. It starts the application fine but after few
minutes the operating system would not respond at all. Not even serial
terminal. Sometimes it hangs even before launching the application. The
dis
I have look at this option but it applies to every time.
So based on this solution i modified the rcS to look for my flag and set
the foreground variable based on the result.
Thanks for the help.
Pawel
On Wed, Jan 18, 2012 at 2:04 AM, Philip Prindeville <
philipp_s...@redfish-solutions.com> wro
I'm confused. So in /etc/config/system:
config system
option foreground 1
doesn't work for you?
-Philip
On 1/17/12 11:42 AM, Pawel Pastuszak wrote:
> Hello everybody,
>
> I have an odd question i am trying to find an way to have my init script on
> power up to take over the console
Yes but i already have an flag from kernel arguments. So and have created
rc.d init script which looks for this but what i wanted is to bring that
script into the foreground.
On Tue, Jan 17, 2012 at 2:15 PM, Jonathan Bither wrote:
> You can probably have a hook similar to the failsafe hook that d
You can probably have a hook similar to the failsafe hook that does
"echo 1 > /tmp/pawelhook" and have your init script read it and do
whatever you want.
On 01/17/2012 02:10 PM, Pawel Pastuszak wrote:
Need dhcp up first and everything mounted.
So if there is an easy flag for that then i think
Need dhcp up first and everything mounted.
So if there is an easy flag for that then i think pre-init would solve my
issue.
Pawel
On Tue, Jan 17, 2012 at 2:05 PM, Jonathan Bither wrote:
> Why not add a pre-init hook?
>
>
> On 01/17/2012 02:02 PM, Pawel Pastuszak wrote:
>
>> Ok, but i am looking
Why not add a pre-init hook?
On 01/17/2012 02:02 PM, Pawel Pastuszak wrote:
Ok, but i am looking for it to go into the foreground and i want to lock
the console access till it finished running it then reboot.
Pawel
On Tue, Jan 17, 2012 at 1:52 PM, Luka Perkov mailto:open...@lukaperkov.net>> wr
Ok, but i am looking for it to go into the foreground and i want to lock
the console access till it finished running it then reboot.
Pawel
On Tue, Jan 17, 2012 at 1:52 PM, Luka Perkov wrote:
> On Tue, Jan 17, 2012 at 01:42:13PM -0500, Pawel Pastuszak wrote:
> > Hello everybody,
> >
> > I have a
On Tue, Jan 17, 2012 at 01:42:13PM -0500, Pawel Pastuszak wrote:
> Hello everybody,
>
> I have an odd question i am trying to find an way to have my init script on
> power up to take over the console so the process can be interrupted. It's
> pretty much if an flag is set to x in kernel arguments t
Hello everybody,
I have an odd question i am trying to find an way to have my init script on
power up to take over the console so the process can be interrupted. It's
pretty much if an flag is set to x in kernel arguments then do y but i want
y to be the foreground process. What i notice all Init
27 matches
Mail list logo