summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* enable ntpd server for busyboxjow2012-04-202-8/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31374 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [generic] Add a missing symbol for config-3.3claudio2012-04-201-0/+1
| | | | | | Signed-off-by: Claudio Mignanti <c.mignanti@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31373 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [at91] Reorganize the subtargets, group subtargets per cpu familyclaudio2012-04-2017-31/+41
| | | | | | Signed-off-by: Claudio Mignanti <c.mignanti@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31372 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [at91] Update the kernel to 3.3.x series, remove patches that doesn't apply ↵claudio2012-04-208-463/+60
| | | | | | | | anymore Signed-off-by: Claudio Mignanti <c.mignanti@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31371 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [at91] Ensure that the bin directory exists before copy the filesclaudio2012-04-201-0/+2
| | | | | | Signed-off-by: Claudio Mignanti <c.mignanti@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31370 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [kernel/2.6.30] remove some annoying warnings and fix snd modules buildflorian2012-04-203-0/+42
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31365 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ps3] add missing config symbolflorian2012-04-201-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31364 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] gpio-button-hotplug: don't build on 2.6.30florian2012-04-201-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31363 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] button-hotplug: prevent build on 2.6.30florian2012-04-201-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31362 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] xfsprogs: disable po files buildingflorian2012-04-201-0/+20
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31361 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: nuke 3.2 supportjuhosg2012-04-19134-12668/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31360 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: switch to 3.3.2juhosg2012-04-191-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31359 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: sync 3.3 configjuhosg2012-04-191-1/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31358 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: merge/reorganize 3.3 patchesjuhosg2012-04-196-101/+38
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31357 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: use ap91_pci_init for RB751{,G}juhosg2012-04-193-32/+20
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31356 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: move USB device registration directly into rb751{,g}_setupjuhosg2012-04-191-5/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31355 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add ap9x_pci_get_wmac_data helperjuhosg2012-04-192-0/+19
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31354 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add sanity checks to decode_rlejuhosg2012-04-191-2/+7
| | | | | | Also use -EINVAL instead of -1. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31353 3c298f89-4303-0410-b956-a3cf2f4a3e73
* avr32: remove old kernel supportjuhosg2012-04-193-149/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31352 3c298f89-4303-0410-b956-a3cf2f4a3e73
* avr32: switch to 3.3.2juhosg2012-04-193-1/+132
| | | | | | | | uClibc-0.9.33 causes segfaults at least in iptables. The segfaults are present with 2.6.39 as well, so it makes no sense to stick to that version. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31351 3c298f89-4303-0410-b956-a3cf2f4a3e73
* avr32: sync kernel configjuhosg2012-04-191-14/+14
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31350 3c298f89-4303-0410-b956-a3cf2f4a3e73
* avr32: fix atomic64_t related kernel build errorsjuhosg2012-04-191-0/+9
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31349 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: update to 2012-04-17, adds some build fixes and juhosg's ar9380 tx ↵nbd2012-04-1920-543/+241
| | | | | | power fix git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31347 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] openssl: update to v1.0.1a (CVE-2012-2110)jow2012-04-192-2/+14
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31346 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [cobalt] switch to 3.2.15florian2012-04-182-9/+9
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31345 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [generic] fix 335-mips-kexec patch for all 3+ kernelsflorian2012-04-184-16/+16
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31344 3c298f89-4303-0410-b956-a3cf2f4a3e73
* make xz ramdisk images also available for 2.6.39+jogo2012-04-181-1/+1
| | | | | | 2.6.38 isn't the only kernel supporting it. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31343 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain/eglibc] when choosing eglibc select eglibc version 2.13 by defaultmirko2012-04-181-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31342 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain/eglibc] remove patch '100-do-not-use-implicit-rules.patch' for ↵mirko2012-04-181-16/+0
| | | | | | | | eglibc 2.12 Mentioned patch got obsoleted by commit 31300, since it went upstream meanwhile git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31341 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ppp: move ppp-{up,down} from the netifd package to pppdnbd2012-04-173-0/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31340 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to latest, fixes ppp reconnect issuesnbd2012-04-171-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31339 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: x86: also update subtarget kernel versionsjogo2012-04-173-3/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31338 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: also update the targets to use 3.2.15jogo2012-04-1714-14/+14
| | | | | | Thanks Gabor for spotting it. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31337 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update linux 3.3 to 3.3.2jogo2012-04-1778-1081/+209
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31336 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update linux 3.2 to 3.2.15jogo2012-04-1780-1113/+230
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31335 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [imagebuilder] don't overwrite version.mk, substitute REVISION insteadjow2012-04-171-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31327 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k/ath5k: fix driver load issues with mesh support compiled outnbd2012-04-175-26/+32
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31326 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iw: sync nl80211.h update with compat-wirelessnbd2012-04-161-7/+214
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31323 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: update to wireless-testing 2012-04-13nbd2012-04-1674-2549/+1296
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31322 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] mklibs: revert r31315jow2012-04-161-10/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31316 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/mklibs: add missing <unistd.h> in readelf/elf.cppjow2012-04-161-0/+10
| | | | | | | | Fixes compile on my Arch Linux system, as unistd.h is needed for ::close(). Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31315 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [geos] bump to Linux v3.3.1jow2012-04-161-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31314 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Fix bufferbloat in PPPoATM TX queuejow2012-04-162-0/+386
| | | | | | Signed-off-by: David Woodhouse <David.Woodhouse@intel.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31313 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Update ppp TX restart patch to avoid race conditionjow2012-04-162-114/+118
| | | | | | Signed-off-by: David Woodhouse <David.Woodhouse@intel.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31312 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iproute2: Add hotplug script to add slave devices to TEQL masterjow2012-04-162-1/+26
| | | | | | | | Resolves https://dev.openwrt.org/ticket/11192 Signed-off-by: David Woodhouse <dwmw2@infradead.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31311 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [lantiq] adds 3.3 patches and filesblogic2012-04-1697-0/+56546
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31307 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [kernel/2.6.32] backport missing platform data members for gpio-keysflorian2012-04-161-0/+15
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31306 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [kernel/2.6.32] backport a missing eeprom 93cx6 define for building rt2x00florian2012-04-161-0/+10
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31305 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] sierra-directip: disable build with kernels older than 2.6.32 includedflorian2012-04-161-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31303 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [rdc] add missing debugging symbolsflorian2012-04-161-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31302 3c298f89-4303-0410-b956-a3cf2f4a3e73