aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* enable ntpd server for busyboxJo-Philipp Wich2012-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 SVN-Revision: 31374
* Add a missing symbol for config-3.3Claudio Mignanti2012-04-201-0/+1
| | | | | | Signed-off-by: Claudio Mignanti <c.mignanti@gmail.com> SVN-Revision: 31373
* Reorganize the subtargets, group subtargets per cpu familyClaudio Mignanti2012-04-2017-31/+41
| | | | | | Signed-off-by: Claudio Mignanti <c.mignanti@gmail.com> SVN-Revision: 31372
* Update the kernel to 3.3.x series, remove patches that doesn't apply anymoreClaudio Mignanti2012-04-208-463/+60
| | | | | | Signed-off-by: Claudio Mignanti <c.mignanti@gmail.com> SVN-Revision: 31371
* Ensure that the bin directory exists before copy the filesClaudio Mignanti2012-04-201-0/+2
| | | | | | Signed-off-by: Claudio Mignanti <c.mignanti@gmail.com> SVN-Revision: 31370
* remove some annoying warnings and fix snd modules buildFlorian Fainelli2012-04-203-0/+42
| | | | SVN-Revision: 31365
* add missing config symbolFlorian Fainelli2012-04-201-0/+1
| | | | SVN-Revision: 31364
* gpio-button-hotplug: don't build on 2.6.30Florian Fainelli2012-04-201-0/+1
| | | | SVN-Revision: 31363
* button-hotplug: prevent build on 2.6.30Florian Fainelli2012-04-201-0/+1
| | | | SVN-Revision: 31362
* xfsprogs: disable po files buildingFlorian Fainelli2012-04-201-0/+20
| | | | SVN-Revision: 31361
* ar71xx: nuke 3.2 supportGabor Juhos2012-04-19134-12668/+0
| | | | SVN-Revision: 31360
* ar71xx: switch to 3.3.2Gabor Juhos2012-04-191-1/+1
| | | | SVN-Revision: 31359
* ar71xx: sync 3.3 configGabor Juhos2012-04-191-1/+0
| | | | SVN-Revision: 31358
* ar71xx: merge/reorganize 3.3 patchesGabor Juhos2012-04-196-101/+38
| | | | SVN-Revision: 31357
* ar71xx: use ap91_pci_init for RB751{,G}Gabor Juhos2012-04-193-32/+20
| | | | SVN-Revision: 31356
* ar71xx: move USB device registration directly into rb751{,g}_setupGabor Juhos2012-04-191-5/+5
| | | | SVN-Revision: 31355
* ar71xx: add ap9x_pci_get_wmac_data helperGabor Juhos2012-04-192-0/+19
| | | | SVN-Revision: 31354
* ar71xx: add sanity checks to decode_rleGabor Juhos2012-04-191-2/+7
| | | | | | Also use -EINVAL instead of -1. SVN-Revision: 31353
* avr32: remove old kernel supportGabor Juhos2012-04-193-149/+0
| | | | SVN-Revision: 31352
* avr32: switch to 3.3.2Gabor Juhos2012-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. SVN-Revision: 31351
* avr32: sync kernel configGabor Juhos2012-04-191-14/+14
| | | | SVN-Revision: 31350
* avr32: fix atomic64_t related kernel build errorsGabor Juhos2012-04-191-0/+9
| | | | SVN-Revision: 31349
* mac80211: update to 2012-04-17, adds some build fixes and juhosg's ar9380 tx ↵Felix Fietkau2012-04-1920-543/+241
| | | | | | power fix SVN-Revision: 31347
* openssl: update to v1.0.1a (CVE-2012-2110)Jo-Philipp Wich2012-04-192-2/+14
| | | | SVN-Revision: 31346
* switch to 3.2.15Florian Fainelli2012-04-182-9/+9
| | | | SVN-Revision: 31345
* fix 335-mips-kexec patch for all 3+ kernelsFlorian Fainelli2012-04-184-16/+16
| | | | SVN-Revision: 31344
* make xz ramdisk images also available for 2.6.39+Jonas Gorski2012-04-181-1/+1
| | | | | | 2.6.38 isn't the only kernel supporting it. SVN-Revision: 31343
* when choosing eglibc select eglibc version 2.13 by defaultMirko Vogt2012-04-181-2/+2
| | | | SVN-Revision: 31342
* remove patch '100-do-not-use-implicit-rules.patch' for eglibc 2.12Mirko Vogt2012-04-181-16/+0
| | | | | | Mentioned patch got obsoleted by commit 31300, since it went upstream meanwhile SVN-Revision: 31341
* ppp: move ppp-{up,down} from the netifd package to pppdFelix Fietkau2012-04-173-0/+2
| | | | SVN-Revision: 31340
* netifd: update to latest, fixes ppp reconnect issuesFelix Fietkau2012-04-171-2/+2
| | | | SVN-Revision: 31339
* kernel: x86: also update subtarget kernel versionsJonas Gorski2012-04-173-3/+3
| | | | SVN-Revision: 31338
* kernel: also update the targets to use 3.2.15Jonas Gorski2012-04-1714-14/+14
| | | | | | Thanks Gabor for spotting it. SVN-Revision: 31337
* kernel: update linux 3.3 to 3.3.2Jonas Gorski2012-04-1778-1081/+209
| | | | SVN-Revision: 31336
* kernel: update linux 3.2 to 3.2.15Jonas Gorski2012-04-1780-1113/+230
| | | | SVN-Revision: 31335
* don't overwrite version.mk, substitute REVISION insteadJo-Philipp Wich2012-04-171-2/+2
| | | | SVN-Revision: 31327
* ath9k/ath5k: fix driver load issues with mesh support compiled outFelix Fietkau2012-04-175-26/+32
| | | | SVN-Revision: 31326
* iw: sync nl80211.h update with compat-wirelessFelix Fietkau2012-04-161-7/+214
| | | | SVN-Revision: 31323
* mac80211: update to wireless-testing 2012-04-13Felix Fietkau2012-04-1674-2549/+1296
| | | | SVN-Revision: 31322
* mklibs: revert r31315Jo-Philipp Wich2012-04-161-10/+0
| | | | SVN-Revision: 31316
* tools/mklibs: add missing <unistd.h> in readelf/elf.cppJo-Philipp Wich2012-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> SVN-Revision: 31315
* bump to Linux v3.3.1Jo-Philipp Wich2012-04-161-1/+1
| | | | SVN-Revision: 31314
* Fix bufferbloat in PPPoATM TX queueJo-Philipp Wich2012-04-162-0/+386
| | | | | | Signed-off-by: David Woodhouse <David.Woodhouse@intel.com> SVN-Revision: 31313
* Update ppp TX restart patch to avoid race conditionJo-Philipp Wich2012-04-162-114/+118
| | | | | | Signed-off-by: David Woodhouse <David.Woodhouse@intel.com> SVN-Revision: 31312
* iproute2: Add hotplug script to add slave devices to TEQL masterJo-Philipp Wich2012-04-162-1/+26
| | | | | | | | Resolves https://dev.openwrt.org/ticket/11192 Signed-off-by: David Woodhouse <dwmw2@infradead.org> SVN-Revision: 31311
* adds 3.3 patches and filesJohn Crispin2012-04-1697-0/+56546
| | | | SVN-Revision: 31307
* backport missing platform data members for gpio-keysFlorian Fainelli2012-04-161-0/+15
| | | | SVN-Revision: 31306
* backport a missing eeprom 93cx6 define for building rt2x00Florian Fainelli2012-04-161-0/+10
| | | | SVN-Revision: 31305
* sierra-directip: disable build with kernels older than 2.6.32 includedFlorian Fainelli2012-04-161-1/+1
| | | | SVN-Revision: 31303
* add missing debugging symbolsFlorian Fainelli2012-04-161-0/+1
| | | | SVN-Revision: 31302