| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Lukasz Golec-Biernat <mojedokumenty+openwrt@gmail.com>
SVN-Revision: 31377
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
hi
Another version, in this one the enable_server option is in the timeserver ntp part of the "system" config file
You can patch trunk and bacfire (tested both)
You can put busybox ntpd in client mode (if you put server), in client & server (by putting enable_server to 1, ntpd listen to udp 123), and also in server mode only (if you didn't put any servers in the config and still put enable_server 1, ntpd will answer with the time of the router)
I've replaced "config_foreach getpeers timeserver" with "config_get peers ntp server" because we want ntp timeserver, not random ones (to pre-answer if someone want to say that it's intrusive ...)
Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>
Le 27/03/2012 20:41, Etienne Champetier a écrit :
> I've now tested my trunk patch and it works fine
> But I still can't find were $PROG is defined (is this a mistake, or some sort of built in variable???)
> (I've made some grep and nothing)
>
> Le 23/03/2012 02:19, Philip Prindeville a écrit :
>> Maybe:
>>
>> [ -n "$PROG" -a -x "$PROG" ] || return 1
>>
>> instead?
>>
>>
>> On 3/22/12 4:34 PM, Etienne Champetier wrote:
>>> Hi
>>>
>>> The 2 attached patchs (trunk & bacfire) add busybox ntpd enable_server option, as busybox ntpd server is compiled by default.
>>> We only need 1 client/server daemon (olipro patch was launching 2 daemons)
>>> I've fully tested the bacfire patch, and as i don't have a running openwrt trunk i'm not sure for the trunk patch (i'm sure about my modifications, but i'm not sure about "[ -x $PROG ] || return 1", as "$PROG" isn't defined ?!)
>>>
>>> Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>
>>>
>>>
>>> Le 16/01/2012 01:57, Philip Prindeville a écrit :
>>>> On 1/14/12 11:37 AM, Olipro wrote:
>>>>> On Saturday 14 Jan 2012 02:45:59 Philip Prindeville wrote:
>>>>>> Don't we already have a 'disabled' option? Now we're adding an
>>>>>> 'enable_server' option?
>>>>>>
>>>>>> That seems confusing for no useful reason.
>>>>>>
>>>>> have you bothered to read what I originally wrote? your response would make
>>>>> me inclined to believe that you didn't.
>>>>>
>>>>> currently the ntpd initscript only runs it as a CLIENT - this patch enables
>>>>> you to have one instance running as a client and another as a SERVER that
>>>>> other hosts can synchronise with.
>>>>>
>>>>> Or perhaps I'm misunderstanding, what would you propose for allowing the
>>>>> built-in busybox ntpd to be utilised as a server? a separate init script
>>>>> entirely perhaps?
>>>> Or separate config sections... instead of 'config ntp' have 'config ntp-server' and 'config ntp-client'.
>>>>
>>>> -Philip
>>>>
>>>>
>>>> _______________________________________________
>>>> openwrt-devel mailing list
>>>> openwrt-devel@lists.openwrt.org
>>>> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
>> _______________________________________________
>> openwrt-devel mailing list
>> openwrt-devel@lists.openwrt.org
>> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
SVN-Revision: 31374
|
|
|
|
| |
SVN-Revision: 31363
|
|
|
|
| |
SVN-Revision: 31362
|
|
|
|
| |
SVN-Revision: 31361
|
|
|
|
|
|
| |
power fix
SVN-Revision: 31347
|
|
|
|
| |
SVN-Revision: 31346
|
|
|
|
| |
SVN-Revision: 31340
|
|
|
|
| |
SVN-Revision: 31339
|
|
|
|
| |
SVN-Revision: 31326
|
|
|
|
| |
SVN-Revision: 31323
|
|
|
|
| |
SVN-Revision: 31322
|
|
|
|
|
|
|
|
| |
Resolves https://dev.openwrt.org/ticket/11192
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
SVN-Revision: 31311
|
|
|
|
| |
SVN-Revision: 31303
|
|
|
|
| |
SVN-Revision: 31291
|
|
|
|
|
|
| |
lengths, do not set image options if menu is disabled (#11280)
SVN-Revision: 31289
|
|
|
|
| |
SVN-Revision: 31278
|
|
|
|
| |
SVN-Revision: 31277
|
|
|
|
| |
SVN-Revision: 31267
|
|
|
|
| |
SVN-Revision: 31265
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
embedded version info of generated images - Introduce new Kconfig symbols VERSION_DIST, VERSION_NICK, VERSION_NUMBER and VERSION_REPO to specify distribution, release name, version and repository for a given build - Introduce include/version.mk to provide common helpers for packages dealing with versions - Make opkg use version.mk to populate the opkg.conf template - Make base-files use version.mk to populate /etc/openwrt_version, /etc/openwrt_release and /etc/banner
The available placeholders are:
%D .. Replace with $(CONFIG_VERSION_DIST), default to "OpenWrt"
%d .. Like %D, but all characters made lowercase and spaces substituted with "_" (e.g. "openwrt")
%N .. Replace with $(CONFIG_VERSION_NICK), default to the build tree release (e.g. "Attitude Adjustment")
%n .. Like %N, but all characters made lowercase and spaces substituted with "_" (e.g. "attitude_adjustment")
%V .. Replace with $(CONFIG_VERSION_NUMBER), default to the build tree release (e.g. "r31262")
%v .. Like %V, but all characters made lowercase and spaces substituted with "_"
%C .. Replace with $(CONFIG_VERSION_NUMBER), default to "Bleeding Edge"
%c .. Like %C, but all characters made lowercase and spaces substituted with "_" (e.g. "bleeding_edge")
%U .. Replace with $(CONFIG_VERSION_REPO), default to "http://downloads.openwrt.org/snapshots/trunk/%T/packages"
%R .. Replace with the current build tree revision (e.g. "r31262" or "75488c4a05b8033cf69e91874a61852db7ba9c6c")
%T .. Replace with the current target (e.g. "ar71xx")
%S .. Replace with the current target/subtarget combo (e.g. "adm5120/router_le")
SVN-Revision: 31262
|
|
|
|
|
|
| |
interface status info
SVN-Revision: 31261
|
|
|
|
|
|
| |
firstboot uci-defaults To supply custom network settings, it is better to embed a complete network config file using the files/ overlay, the old image lan preconfig options are also very limited in scope and actually collide with sysupgrade and firstboot hardware detection on at least ar71xx and possibly other targets, therfore drop this facility.
SVN-Revision: 31258
|
|
|
|
|
|
| |
We use PKG_NAME and not PKB_BASE_NAME inside OpenWrt Makefiles
SVN-Revision: 31244
|
|
|
|
| |
SVN-Revision: 31221
|
|
|
|
|
|
| |
results depending on the environment (#11239)
SVN-Revision: 31219
|
|
|
|
|
|
| |
regressions which need to be worked out first
SVN-Revision: 31202
|
|
|
|
| |
SVN-Revision: 31201
|
|
|
|
| |
SVN-Revision: 31183
|
|
|
|
|
|
|
|
|
|
| |
Sometimes it's useful to compare the generated config file from UCI config with a hand-edited dnsmasq config file, especially if you're migrating to an OpenWRT router from something else (such as Astlinux).
Putting the generated config makes it easier to capture and diff, etc.
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
SVN-Revision: 31182
|
|
|
|
|
|
|
|
|
|
| |
This patch bumps iproute2 to the latest available version, fixes the
package URL to use kernel.org (as things have now been moved back there)
and also adds ss (socket statistics) to menuconfig.
Signed-off-by: Oliver Smith <olipro@8.c.9.b.0.7.4.0.1.0.0.2.ip6.arpa>
SVN-Revision: 31179
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch makes several changes with util-linux-ng package:
* moves it to util-linux (upstream name)
* bumps it to last stable version 2.20.1 (was 2.13.0.1)
* adds new package getopt
* sorts packages inside Makefile
* removes patch, it has been applied upstream
I would also like to maintain this package.
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>
SVN-Revision: 31178
|
|
|
|
|
|
| |
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>
SVN-Revision: 31177
|
|
|
|
|
|
| |
from libnl, fixes error on hostapd interface initialization
SVN-Revision: 31155
|
|
|
|
| |
SVN-Revision: 31154
|
|
|
|
| |
SVN-Revision: 31153
|
|
|
|
|
|
| |
target
SVN-Revision: 31151
|
|
|
|
| |
SVN-Revision: 31146
|
|
|
|
| |
SVN-Revision: 31145
|
|
|
|
| |
SVN-Revision: 31139
|
|
|
|
| |
SVN-Revision: 31138
|
|
|
|
| |
SVN-Revision: 31137
|
|
|
|
|
|
|
|
|
|
| |
I run this from cron. With remote syslog enabled, this means I have a
record of ADSL line quality variation — which is useful when diagnosing
and reporting faults.
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
SVN-Revision: 31136
|
|
|
|
| |
SVN-Revision: 31134
|
|
|
|
|
|
| |
hotplug
SVN-Revision: 31125
|
|
|
|
|
|
| |
client mode devices over vlans to other hosts
SVN-Revision: 31122
|
|
|
|
| |
SVN-Revision: 31121
|
|
|
|
| |
SVN-Revision: 31106
|
|
|
|
| |
SVN-Revision: 31105
|
|
|
|
| |
SVN-Revision: 31088
|