Re: [OpenWrt-Devel] Need guidance to modify default vanilla OpenWRT settings (John Crispin)

2014-12-06 Thread Nguyen Nam
Dear John,
Thanks for the tip. Exactly what I am looking for. Works like a charm now.
Regards,
Nguyen
Message: 1

> Date: Fri, 05 Dec 2014 09:44:23 +0100
> From: John Crispin 
> To: openwrt-devel@lists.openwrt.org
> Subject: Re: [OpenWrt-Devel] Need guidance to modify default vanilla
>     OpenWRT settings
> Message-ID: <54817067.7030...@openwrt.org>
> Content-Type: text/plain; charset=ISO-8859-1
>
>
> add a file in /etc/uci-defaults/ these get called on firstboot and are
> deleted after being run
>
> to add the file you need to make a package or you simply place the
> script in the files/ folder of your checkout
>
> John
>
>
> On 05/12/2014 08:16, Nguyen Nam wrote:
> > Hi list,
> >
> > I posted request  on forum but not get any reply, so have to send
> > to the dev-list. My need is modify OpenWRT with some sensible
> > settings for us (few SSID, enable ssh login,etc ), but I cannot
> > found the right way yet.
> >
> > Checked with the firstlogin on OpenWRT site, but still not figured
> > out where to hook to replace configs. The preinit 90_restore_config
> > hook look quite interesting, should I use that hook to replace the
> > configs?
> >
> > With best regards, Nguyen
> >
> >
> >
> > ___ openwrt-devel
> > mailing list openwrt-devel@lists.openwrt.org
> > https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
> >
>
>
>
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] Need guidance to modify default vanilla OpenWRT settings

2014-12-05 Thread John Crispin

add a file in /etc/uci-defaults/ these get called on firstboot and are
deleted after being run

to add the file you need to make a package or you simply place the
script in the files/ folder of your checkout

John


On 05/12/2014 08:16, Nguyen Nam wrote:
> Hi list,
> 
> I posted request  on forum but not get any reply, so have to send
> to the dev-list. My need is modify OpenWRT with some sensible
> settings for us (few SSID, enable ssh login,etc ), but I cannot
> found the right way yet.
> 
> Checked with the firstlogin on OpenWRT site, but still not figured
> out where to hook to replace configs. The preinit 90_restore_config
> hook look quite interesting, should I use that hook to replace the
> configs?
> 
> With best regards, Nguyen
> 
> 
> 
> ___ openwrt-devel
> mailing list openwrt-devel@lists.openwrt.org 
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
> 
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] Need guidance to modify default vanilla OpenWRT settings

2014-12-04 Thread Nguyen Nam
Hi list,

I posted request  on forum but not get any reply, so have to send to the
dev-list. My need is modify OpenWRT with some sensible settings for us (few
SSID, enable ssh login,etc ), but I cannot found the right way yet.

Checked with the firstlogin on OpenWRT site, but still not figured out
where to hook to replace configs. The preinit 90_restore_config hook look
quite interesting, should I use that hook to replace the configs?

With best regards,
Nguyen
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel