summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* include/image.mk: /tmp should have mode 1777jow2012-07-011-1/+1
| | | | | | | | | | On the off chance that the root filesystem's /tmp is used directly as a temporary directory instead of having a tmpfs mounted over it, it should have the sticky bit set. Signed-off-by: Mark Mentovai <mark@moxienet.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32572 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] dnsmasq: introduce "add_local_hostname" and "add_local_domain" optionsjow2012-07-011-3/+11
| | | | | | | | - add_local_domain defaults to 1 and controls whether the local domain is written as search directive to the local resolv.conf - add_local_hostname defaults to 1 and controls whether A and PTR records are created automatically for the local hostname These change supersedes http://patchwork.openwrt.org/patch/2207/ and http://patchwork.openwrt.org/patch/2208/ git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32570 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/dnsmasq: permit UCI configuration of --dhcp-fqdn optionjow2012-07-011-0/+1
| | | | | | | | | | | | This adds a new boolean option, fqdn, to the "config dnsmasq" section of /etc/config/dhcp. The default is off. When set on, it enables the dhcp-fqdn option to dnsmasq. dhcp-fqdn causes dnsmasq's DNS server to not resolve unqualifed local hostnames. The "domain" option is required when using "fqdn". Local hostnames will remain available for lookup using fully-qualified names. Signed-off-by: Mark Mentovai <mark@moxienet.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32569 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [PATCH 1/4] package/dnsmasq: permit dhcp_option in global dnsmasq config sectionjow2012-07-011-1/+3
| | | | | | | | | | | | | | dnsmasq currently permits dhcp_options to be specified only in "config dhcp" sections of /etc/config/dhcp. When dnsmasq is providing DHCP service for multiple subnets and there are multiple "config dhcp" sections without "option ignore", it makes sense to allow dhcp_options that should apply globally in the "config dnsmasq" section of /etc/config/dhcp. dhcp_option is a list option. [jow: rework patch to apply after dhcp-option-force handling got introduced] Signed-off-by: Mark Mentovai <mark@moxienet.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32568 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Fix extroot by UUIDjow2012-07-011-0/+8
| | | | | | | | | | | | | | | | | | | | | | Extroot works fine when the target device is specified by a path. It fails however if the device is specified by UUID (the target partition gets mounted much later by hotplug hooks). This is because the blkid command is no longer compiled into BusyBox (since changeset [1]) so it's unavailable for the preinit phase. The closest bug report I was able to find is [2], although the reporting person mentions that /tmp/overlay-disabled showed up which wasn't there in my case. This patch sets PATH and LD_LIBRARY_PATH environment variables so that the blkid command installed on the target device can be used by that particular preinit script. [1] https://dev.openwrt.org/changeset/26245 [2] https://dev.openwrt.org/ticket/10653 Signed-off-by: Jaroslaw Swierczynski <jarek1701@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32567 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel/modules: load pppol2tp after pppoxjow2012-07-011-2/+2
| | | | | | | | | | | | l2tp_ppp needs to be loaded after pppox, otherwise it ends up like this: l2tp_ppp: Unknown symbol pppox_ioctl (err 0) ... during boot. I also fixed the dependency, it should be pppox rather than pppoe. Signed-off-by: Daniel Golle <dgolle@allnet.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32562 3c298f89-4303-0410-b956-a3cf2f4a3e73
* config: tag parallel build options with high build breakage probability with ↵nbd2012-06-301-0/+2
| | | | | | a BROKEN dependency to discourage users from spamming us with tickets about them git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32559 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uClibc: add -Wno-unused-but-set-variable to get rid of unnecessary warning ↵nbd2012-06-301-0/+1
| | | | | | logspam git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32558 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uClibc: split the package into the main directory and the headers/ and ↵nbd2012-06-305-119/+170
| | | | | | utils/ subdirectories to clean up build order and fix quilt support git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32557 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: fix up lib64 symlink to lib before copying the initial prefix dir ↵nbd2012-06-303-0/+12
| | | | | | to avoid errors on copying git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32556 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain/uClibc: fix getting the nameserver from _res state after res_init. ↵nbd2012-06-301-0/+15
| | | | | | fixes displaying the nameserver in busybox nslookup git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32555 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain/gcc: fix installing the toolchain after removing the toolchain dir ↵nbd2012-06-301-2/+8
| | | | | | without a full rebuild git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32554 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: keep the initial gcc around for later uclibc rebuildsnbd2012-06-303-3/+10
| | | | | | | | | | | testing uclibc changes is tricky because the final gcc tends to miscompile uclibc code or barf up internal compiler errors. install binutils into $(TOOLCHAIN_DIR)/initial (without changing the configure prefix) and copy it from there to $(TOOLCHAIN_DIR)/ so that the initial gcc can be put into $(PATH) for the uclibc build, even if the final gcc is already installed. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32553 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: implement network_get_dnsserver() and ↵jow2012-06-291-0/+31
| | | | | | network_get_dnssearch() in /lib/functions/network.sh git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32531 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k: revert an upstream initval update to fix a rx sensitivity regression ↵nbd2012-06-291-0/+19
| | | | | | on ar9380 (fixes #11756) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32528 3c298f89-4303-0410-b956-a3cf2f4a3e73
* eglibc: work around a broken configure test to fix compile errors on x86nbd2012-06-291-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32527 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: only consider enabled default routes when finding the ↵jow2012-06-291-2/+4
| | | | | | wan iface (#11774) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32525 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] netifd: update to current git head, exposes enabled state, mtu and ↵jow2012-06-291-2/+2
| | | | | | metric overrides for routes git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32524 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [brcm63xx] fix watchdog and rng drivers section mismatch (#11767)florian2012-06-293-2/+22
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32522 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools: sdcc depends on bisonnbd2012-06-291-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32521 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: detect and enable MIPS DSP extensions, AR9344 supports them (fixes ↵nbd2012-06-281-0/+10
| | | | | | #11762) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32520 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: enable gdb by defaultnbd2012-06-281-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32518 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k: de-duplicate initvals, reduces uncompressed binary size by 24 KBnbd2012-06-281-0/+3745
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32517 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k: update the ar934x initvalsnbd2012-06-271-0/+786
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32516 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k: remove the queue length limiting patch, the approach was ↵nbd2012-06-273-147/+4
| | | | | | experimental, not used by default and a different solution is required git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32515 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: switch openwrt default to TCP cubic from westwood (patch by Dave Täht)nbd2012-06-271-4/+4
| | | | | | | | | | | | | | | | | | | | | | Despite Westwood's theoretical advantages, in nearly every benchmark we ran last year, TCP cubic won, whether it be on correct RTT estimates, amount of buffering, responsiveness, etc. on current hardware and software designs. (both need timestamps on to work well, besides) TCP cubic is better maintained and understood than westwood, also. While a scenario where westwood would win possibly exists, there is too much buffering in the wifi stack in particular at present, to see any improvement. If you wish to exercise various TCPs under contention, the current svn head of netperf (2.6) has options to switch congestion control agorithms on the fly, as does iperf. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32514 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: enable TCP timestamps, enable sack/dsack. (patch by Dave Täht)nbd2012-06-271-1/+3
| | | | | | | | | | A year of testing in the cerowrt project shows not using timestamps to be a very bad idea in nearly any TCP at speeds above a few Mbit. Lastly sack/dsack help on recovery from larger amounts of packet loss. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32513 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [brcm63xx] fix SPI clock frequency selectionflorian2012-06-271-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32512 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k: improve ani behavior during scanningnbd2012-06-271-15/+71
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32511 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k: more ani fixesnbd2012-06-273-0/+83
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32510 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k: enable rx for tx antennas earlier (and only for multi-stream devices) ↵nbd2012-06-271-4/+4
| | | | | | to fix some validation corner cases git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32509 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k: make antenna mask validation more flexible, allow arbitrary tx chain ↵nbd2012-06-271-4/+9
| | | | | | combinations, enable rx for chains that have enabled tx as well, fix using the second antenna for single-stream diversity based devices git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32508 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k: reject invalid antenna mask configurationsnbd2012-06-271-0/+28
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32507 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to latest version, fixes bridge member interface settingsnbd2012-06-261-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32506 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] broadcom-wl: fix WDS hotplug for multiple networksjow2012-06-261-1/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32505 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] linux-atm: remove defunct ipoa protocol supportjow2012-06-262-36/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32504 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: allow wireless ifaces to be part of multiple networksjow2012-06-262-5/+10
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32503 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] sdcc: enable packihx, required by firmwarehotplugjow2012-06-261-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32500 3c298f89-4303-0410-b956-a3cf2f4a3e73
* scripts/feeds: redirect stderr of the which call to /dev/null to avoid ↵nbd2012-06-251-1/+1
| | | | | | potentially confusing error messages on some systems git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32499 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add missing config symbolnbd2012-06-241-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32498 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k: fix a dynamic WEP related regressionnbd2012-06-233-3/+45
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32492 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k: merge a patch for improving ad-hoc mode performancenbd2012-06-234-14/+93
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32491 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: mac address detection for Fonera 2.0nacinonyx2012-06-232-0/+6
| | | | | | | | | Detect and apply MAC address of a Fonera 2.0n (ramips) Signed-off-by: Malte Forkel <malte.forkel@berlin.de> Signed-off-by: Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32490 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mcs814x] provide an early ioremap cookie of the system configuration registerflorian2012-06-236-29/+38
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32489 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mcs814x] group SYSDBG register defines in mcs814x.hflorian2012-06-233-20/+22
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32488 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mcs814x] make hardware.h a forward inclusion of mcs814x.hflorian2012-06-2311-28/+43
| | | | | | mach/hardware.h is soon to be removed by upstream kernel git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32487 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mcs814x] remove platform specific initialization from ethernet driverflorian2012-06-234-24/+90
| | | | | | | | Hardware filtering must always be enabled as long as there is an Ethernet device registered, and use device tree for setting the link activity and buffer shifting enable/disable bit. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32486 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mcs814x] regroup interrupt controller register definitions in hardware.hflorian2012-06-233-8/+10
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32485 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] ppp: the pptp buffering option is not supported anymore, remove itjow2012-06-211-5/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32482 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mcs814x] remove handle_irq callback in board-mcs8140-dt.cflorian2012-06-211-1/+0
| | | | | | This should have been removed in r32470. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32481 3c298f89-4303-0410-b956-a3cf2f4a3e73