Commit graph

7491 commits

Author SHA1 Message Date
Hauke Mehrtens
4947dab66a acx-mac80211: use same config options as mac80211 package
Problem was missing CONFIG_MAC80211_DEBUGFS
in the acx-mac80211 build, which broke subsequently the ABI in struct
ieee80211_ops. Defect manifested in failing ieee80211_alloc_hw() and maybe
also in other strange behaviour before.

I added CONFIG_CFG80211_DEBUGFS, CONFIG_MAC80211_DEBUGFS and the same also
for CONFIG_MAC80211_MESH, just to be inline on how it's done currently in
package/mac80211/Makefile.

Thank you Oliver Winker

SVN-Revision: 35332
2013-01-27 21:15:13 +00:00
Jonas Gorski
8411e5c06e bcm63xx: switch to b53 and swconfig
Switch to using the B53 switch driver where appropriate.

Use a non-tagged default config where it isn't confirmed to be
working.

Remove the switch configuration in preinit as the switch will now
be configured by the driver  to use port isolation to prevent leakage
between lan and wan.

While at it, also provide a switch config for Neufbox 6.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 35307
2013-01-23 10:12:40 +00:00
Steven Barth
a81c76617e ipv6-support: don't overwrite existing setting across reflashs
SVN-Revision: 35302
2013-01-23 08:15:09 +00:00
Steven Barth
231f8c2969 base-files: fix network_get_prefix6
SVN-Revision: 35300
2013-01-22 16:47:16 +00:00
Steven Barth
e0a338c969 base-files: Set default value for IPv6 forwarding
SVN-Revision: 35299
2013-01-22 16:47:09 +00:00
Felix Fietkau
55eab5ac44 netifd: update to latest version, adds another fix for interface aliases
SVN-Revision: 35297
2013-01-22 16:05:59 +00:00
Steven Barth
5859fc7a39 netifd: Fix a segfault when globals.ula_prefix is empty
SVN-Revision: 35296
2013-01-22 15:49:42 +00:00
Felix Fietkau
a4c7a953e5 uhttpd: always turn on TLS support, include ustream-ssl as a build dependency
SVN-Revision: 35295
2013-01-22 15:05:04 +00:00
Felix Fietkau
7b845ca9c7 ustream-ssl: remove dependency conditional part to avoid build breakage when no variant is selected
SVN-Revision: 35294
2013-01-22 14:52:52 +00:00
Felix Fietkau
aca0690ce5 ustream-ssl: update to latest version, fixes handling large chunks of data (fixes #12866)
SVN-Revision: 35293
2013-01-22 14:29:01 +00:00
Luka Perkov
2245726371 uboot-lantiq: upgrade to 2013.01
SVN-Revision: 35292
2013-01-22 12:55:01 +00:00
Felix Fietkau
bab482b93f uhttpd: fix another small hang issue with the same symptoms
SVN-Revision: 35291
2013-01-22 09:38:00 +00:00
Felix Fietkau
166ea3832b uhttpd: fix connection hangs
SVN-Revision: 35290
2013-01-22 09:28:55 +00:00
Felix Fietkau
bc1d72c7bf tcpdump: add SLL parsing support to tcpdump-mini, use -ffunction-sections, -fdata-sections and --gc-sections to reduce size
SVN-Revision: 35288
2013-01-22 07:51:15 +00:00
Jo-Philipp Wich
1941fb309d base-files: network.sh: fix typo in previous commit
SVN-Revision: 35287
2013-01-21 19:02:38 +00:00
Jo-Philipp Wich
3b2db1838a base-files: network.sh: simplify network_get_prefix6()
SVN-Revision: 35286
2013-01-21 18:54:58 +00:00
Felix Fietkau
c725669079 uhttpd: fix unencrypted passwords in httpd.conf
SVN-Revision: 35265
2013-01-21 12:46:41 +00:00
Felix Fietkau
11e3592531 ath9k: add support for more antenna mask combinations on AR93xx
SVN-Revision: 35264
2013-01-21 12:46:37 +00:00
Steven Barth
38080ae550 6relayd: fix shell library includes in init-script
Thanks to Daniel Golle

SVN-Revision: 35262
2013-01-21 11:27:03 +00:00
Steven Barth
8a97d823a4 6relayd: avoid a race-condition with looping RAs
SVN-Revision: 35260
2013-01-21 10:42:31 +00:00
Steven Barth
f129c6786e netifd: Fix segfaults in IPv6 prefix handling
SVN-Revision: 35259
2013-01-21 09:21:30 +00:00
Steven Barth
f1fd0f8278 odhcp6c: Fix address assignment with infinite validity
SVN-Revision: 35258
2013-01-21 07:58:58 +00:00
Felix Fietkau
4a86973285 uhttpd: fix selecting the right ustream implementation when openssl is to be used (#12857)
SVN-Revision: 35257
2013-01-20 21:15:43 +00:00
Felix Fietkau
e219c56a11 ath9k: merge another round of cleanups and stability fixes, refresh patches
SVN-Revision: 35255
2013-01-20 18:33:21 +00:00
Felix Fietkau
5bc6555e08 netifd: update to latest version, fixes alias support
SVN-Revision: 35251
2013-01-20 15:47:09 +00:00
Felix Fietkau
18a7d0e945 network/iproute2: Bump version to 3.7.0
Updated to latest stable version and added an upstream patch to handle
a link failure

Signed-off-by: Oliver Smith <olipro@8.c.9.b.0.7.4.0.1.0.0.2.ip6.arpa>
[dgolle@allnet.de: refreshed patches]
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 35250
2013-01-20 11:25:18 +00:00
Felix Fietkau
e55ee0817f uhttpd: update to a newer version, fixes chunked transfer on some POST requests
SVN-Revision: 35249
2013-01-19 22:55:46 +00:00
Felix Fietkau
6f0ecf0541 uhttpd: switch to uhttpd2, it is now feature complete
SVN-Revision: 35247
2013-01-19 18:47:09 +00:00
Jo-Philipp Wich
f2766239ea netifd: add a band-aid fix for the wifi setup vs. netifd init race by increasing the wait time to five seconds
SVN-Revision: 35240
2013-01-19 10:13:14 +00:00
Jo-Philipp Wich
3afbe1669f busybox: add an upstream ntpd fix (#12841)
SVN-Revision: 35239
2013-01-19 10:11:34 +00:00
Steven Barth
62e9957cc4 ipv6-support: adapt UCI defaults to new ordering
SVN-Revision: 35219
2013-01-18 12:52:51 +00:00
Jo-Philipp Wich
648bd409e3 base-files: use numerically prefixed uci-defaults names
SVN-Revision: 35218
2013-01-18 12:46:43 +00:00
Steven Barth
5a122f7e5f odhcp6c: Fix parsing more than one DNS server
SVN-Revision: 35215
2013-01-18 08:21:35 +00:00
Steven Barth
f517d0481a ipv6-support: Rename enable-ipv6 UCI defaults
SVN-Revision: 35205
2013-01-17 16:16:06 +00:00
Steven Barth
411d818008 base-files: rename ULA generation script
SVN-Revision: 35204
2013-01-17 16:16:02 +00:00
Jo-Philipp Wich
7250e27869 xtables-addons: rework uid/gid compat patch to use KUIDT_INIT() and KGIDT_INIT() macros
SVN-Revision: 35203
2013-01-17 16:05:30 +00:00
Jo-Philipp Wich
3b798d819d xtables-addons: move to package/, add myself as maintainer
SVN-Revision: 35193
2013-01-17 12:29:26 +00:00
Felix Fietkau
a6ad512d82 kernel: 8250.ko is called 8250_core.ko on linux 3.7+, fixes package/kernel build error in snapshot builds
SVN-Revision: 35190
2013-01-17 09:08:09 +00:00
Steven Barth
66fa83d211 odhcp6c: Detect a different MAC if interface has none * Fixes DHCPv6 behaviour over PPP and similar
SVN-Revision: 35189
2013-01-17 08:29:01 +00:00
Steven Barth
73875c1215 ppp: don't automatically set IPv6 default route * Fixes "ndisc_router_discovery() failed to add default route"
SVN-Revision: 35188
2013-01-17 08:28:57 +00:00
Steven Barth
1ecc744583 netifd: @aliases use layer 3 devices instead of main devices Fixes dhcpv6 protocol alias
SVN-Revision: 35187
2013-01-17 08:28:51 +00:00
Florian Fainelli
8b21ccae13 kernel: allow building kmod-rtc-marvell for mvebu target
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35177
2013-01-15 19:55:26 +00:00
Steven Barth
3235d860a6 ipv6-support: Switch to native IPv6 support
SVN-Revision: 35174
2013-01-15 13:08:19 +00:00
Steven Barth
955a1e8e28 6rd: add support for native IPv6 prefix handling
SVN-Revision: 35173
2013-01-15 13:08:14 +00:00
Steven Barth
811cd2acf4 6to4: add support for native IPv6 prefix handling
SVN-Revision: 35172
2013-01-15 13:08:10 +00:00
Steven Barth
2a94f67029 6in4: add support for native IPv6 prefix handling
SVN-Revision: 35171
2013-01-15 13:08:05 +00:00
Steven Barth
a1e92f6dd1 6relayd: add suitable default configuration
SVN-Revision: 35170
2013-01-15 13:08:00 +00:00
Steven Barth
859fd7f614 6distributed: Remove obsolete service (replaced by netifd)
SVN-Revision: 35169
2013-01-15 13:07:56 +00:00
Steven Barth
847cd984b9 base-files: add support for ipv6-prefixes in connection with netifd
SVN-Revision: 35168
2013-01-15 13:07:51 +00:00
Steven Barth
06890959d1 netifd: Introduce native IPv6 prefix-handling
SVN-Revision: 35167
2013-01-15 13:07:41 +00:00
Gabor Juhos
e959b45920 package/kernel: move input modules into a separate submenu
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35161
2013-01-14 18:18:03 +00:00
Felix Fietkau
f4802fa8bf kernel: make sure that packages are generated for built-in crypto modules to avoid dependency errors with kmod-crypto-core on 3.7
SVN-Revision: 35158
2013-01-14 17:09:16 +00:00
Florian Fainelli
10ef67ed21 kernel: avoid recursive dependency caused by kmod-i2c-mv64xxx
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35157
2013-01-14 17:03:45 +00:00
Jo-Philipp Wich
03a50b9087 netfilter.mk: add addrtype match to iptables-mod-extra (kmod-ipt-extra)
SVN-Revision: 35155
2013-01-14 16:12:56 +00:00
Felix Fietkau
b8ee5a7a1c ath9k: fix a soft lockup on smp systems
SVN-Revision: 35152
2013-01-14 15:58:46 +00:00
Felix Fietkau
fca519e06d ath9k: remove a lock to fix a deadlock on hw reset
SVN-Revision: 35147
2013-01-14 09:51:53 +00:00
Felix Fietkau
58df48212c mac80211: fix monitor mode injection
SVN-Revision: 35145
2013-01-13 22:10:14 +00:00
Gabor Juhos
7695c8b049 mac80211: rt2x00: fix PCI eeprom patch
Fixes the following warnings:

  CC [M] <...>/drivers/net/wireless/rt2x00/rt2800pci.o
<...>/drivers/net/wireless/rt2x00/rt2800pci.c: In function 'rt2800pci_read_eeprom_file':
<...>/drivers/net/wireless/rt2x00/rt2800pci.c:95:2: warning: 'return' with a value, in function returning void [enabled by default]
<...>/drivers/net/wireless/rt2x00/rt2800pci.c: In function 'rt2800pci_read_eeprom':
<...>/drivers/net/wireless/rt2x00/rt2800pci.c:994:2: warning: 'retval' may be used uninitialized in this function [-Wuninitialized]

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35143
2013-01-13 20:44:14 +00:00
Jo-Philipp Wich
9173312542 libnfnetlink: update to v1.0.1
SVN-Revision: 35142
2013-01-13 19:49:06 +00:00
Jo-Philipp Wich
195a00df16 ubus: update to git head, passes u64 blob types as doubles to Lua
SVN-Revision: 35141
2013-01-13 19:49:01 +00:00
Jo-Philipp Wich
e5548b03e5 netifd: update to git head, adds 64bit counters
SVN-Revision: 35140
2013-01-13 19:48:52 +00:00
Felix Fietkau
97578303ff ath9k: fix memory corruption issues on ar5416/ar91xx
SVN-Revision: 35139
2013-01-13 18:55:39 +00:00
Steven Barth
0cd21ca785 odhcp6c: Send RS on start
SVN-Revision: 35137
2013-01-13 18:06:24 +00:00
Steven Barth
f0df2006af odhcp6c: Add preliminary proto-handler
SVN-Revision: 35135
2013-01-13 17:35:09 +00:00
Steven Barth
b58a13cb2c ipv6-support: don't use disable_ipv6
SVN-Revision: 35134
2013-01-13 17:25:43 +00:00
Steven Barth
fde5b934fd 6relayd: Rewrite init-script logic
SVN-Revision: 35133
2013-01-13 17:25:38 +00:00
Felix Fietkau
cec8ed1882 add ustream-ssl, an ustream abstraction library for SSL stream sockets
SVN-Revision: 35131
2013-01-13 15:57:05 +00:00
Felix Fietkau
379b8258f5 libubox: update to latest version, adds small blobmsg enhancements and license fixes - package is now ISC/BSD-3c
SVN-Revision: 35128
2013-01-13 14:31:27 +00:00
Felix Fietkau
0f101497ac kernel: make kmod-ledtrig-usbdev depend on usb core support instead of selecting it
SVN-Revision: 35120
2013-01-12 13:21:08 +00:00
Felix Fietkau
27828be83a mac80211: fix enabling HT40-
SVN-Revision: 35096
2013-01-11 13:24:20 +00:00
Vasilis Tsiligiannis
674439299f base-files: Don't pass '--set-worker /lib/hotplug2/worker_fork.so' to hotplug2 (#12781)
SVN-Revision: 35095
2013-01-11 13:20:51 +00:00
Felix Fietkau
a27167aa13 mac80211: add a fix for ht40 connections
SVN-Revision: 35094
2013-01-11 11:49:11 +00:00
Felix Fietkau
0d24c70a4b ath9k: add updated tx gain tables, fixes stability issues on TL-WDR4300 and other devices
SVN-Revision: 35089
2013-01-10 18:46:36 +00:00
Felix Fietkau
7762ff1135 ath9k: add some calibration fixes from wireless-testing
SVN-Revision: 35081
2013-01-10 14:09:50 +00:00
Florian Fainelli
9348998887 toolchain: fix libpthread package for musl based toolchains (#12651)
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35069
2013-01-09 15:36:43 +00:00
Felix Fietkau
52b030cf16 ath9k: correct a logic error in the rx path fix
SVN-Revision: 35067
2013-01-09 15:16:52 +00:00
Felix Fietkau
ddbb25c6a7 mac80211, ath9k: merge some pending fixes from linux-wireless@
SVN-Revision: 35066
2013-01-09 12:56:25 +00:00
Felix Fietkau
5c9fd3b2d2 mac80211: update to 2013-01-07, add several ath9k stability fixes
SVN-Revision: 35063
2013-01-09 12:45:28 +00:00
Florian Fainelli
57d6e73143 kernel: add kmod-mvsdio MMC host controller for Marvell targets
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35061
2013-01-08 22:20:30 +00:00
Florian Fainelli
7e0c80bcb6 kernel: make kmod-of-i2c available for the mvebu target
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35060
2013-01-08 22:20:25 +00:00
Florian Fainelli
85fbe13cf5 kernel: adjust orion/kirkwood packages to also build for mvebu target
Armada XP/370 boards share these hardware blocks with Orion and Kirkwood
SoCs.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35059
2013-01-08 22:20:21 +00:00
Florian Fainelli
c38cb63808 kernel: add more SCTP related configuration symbols
These symbols are used by 3.8+ kernels

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35054
2013-01-08 22:18:23 +00:00
Felix Fietkau
3b27974c7a mac80211: apply network interface configuration for adhoc + wpa2
SVN-Revision: 35049
2013-01-07 21:12:33 +00:00
Florian Fainelli
ebc47a91eb ncurses: fix typo on INSTALL_LIBSTDCPP configuration symbol
Thanks to kyak for spotting this

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35047
2013-01-07 18:19:31 +00:00
Mirko Vogt
d73104d680 fix typo in Makefile
Thanks to Stefan Hellermann for pointing this out!

SVN-Revision: 35042
2013-01-07 17:11:15 +00:00
Felix Fietkau
539b5ac46d libubox: update to latest version, contains several uloop/ustream fixes
SVN-Revision: 35039
2013-01-07 15:25:03 +00:00
Mirko Vogt
12a6622bd9 This patch updates uboot-xburst from 2009.11 to 2012.10-rc2 - Ingenic SoC support went upstream
Summary:
* remove all files/* (since merged to upstream)
* patches on nand-spl, mmc and lcd driver

Thanks a lot to Xiangfu Liu!

Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>

SVN-Revision: 35034
2013-01-07 14:10:01 +00:00
Vasilis Tsiligiannis
c86485210b zram-swap: Install init script with 0755 mode
SVN-Revision: 35033
2013-01-07 12:01:11 +00:00
Jo-Philipp Wich
cedbe66e9a kernel: fix kmod-ipsec load order (#12552)
SVN-Revision: 35032
2013-01-07 10:54:56 +00:00
Hauke Mehrtens
7223068536 zram-swap: make the zram init.d executable
SVN-Revision: 35028
2013-01-06 20:23:49 +00:00
Hauke Mehrtens
7a39e7860a compcache: remove package, use zram-swap instead
SVN-Revision: 35026
2013-01-06 17:14:53 +00:00
Hauke Mehrtens
bef592844b zram: add package to use compressed ram disk for swap
The busybox size is increased by 3.2KByte uncompressed on bcm47xx with
this commit.

This zram-swap automatically creates a zram device, a swap partition on
it and make the kernel swap pages to it.

Thank you Bastian Bittorf <bittorf@bluebottle.com> for idea and the
script.

SVN-Revision: 35025
2013-01-06 16:21:29 +00:00
Felix Fietkau
82b3e879d4 kernel: add a module for the isl1208 rtc
SVN-Revision: 35022
2013-01-06 15:09:43 +00:00
John Crispin
e6aac19237 fix regmap debloat patch
SVN-Revision: 35015
2013-01-05 00:20:05 +00:00
Felix Fietkau
ba21190710 mac80211: add dependency of PACKAGE_MAC80211_DEBUGFS
I wanted to use some statistics from /sys/kernel/debug/ieee80211,
so I enabled PACKAGE_MAC80211_DEBUGFS.  But I could not use it,
because CONFIG_KERNEL_DEBUG_FS was not set and it's a little bit
hidden. After manually setting CONFIG_KERNEL_DEBUG_FS to y,
everything was fine. This patch automatically selects
CONFIG_KERNEL_DEBUG_FS if PACKAGE_MAC80211_DEBUGFS is set.

Additionally, the help text says "Say N unless you know you need this.",
but it's default y. This help text is copied verbatim from the
kernel's Kconfig and not true for us. So remove this part of the
help text

Signed-off-by: Stefan Hellermann <stefan@the2masters.de>

SVN-Revision: 35014
2013-01-04 17:41:23 +00:00
Felix Fietkau
3b4931ef4d uci: update to latest version, adds list delete, removes unused plugin support
SVN-Revision: 35013
2013-01-04 16:10:17 +00:00
Steven Barth
b077480a59 firewall: Add ULA site border for IPv6 traffic This prevents private traffic from leaking out to the internet
SVN-Revision: 35012
2013-01-04 15:59:28 +00:00
Jo-Philipp Wich
3b7882e775 iwinfo: don't use the txpower value from debugfs for now, it does not match the values reported via wext
SVN-Revision: 35007
2013-01-04 14:08:08 +00:00
John Crispin
ff0c7a9ec9 don't depend on lua
Delete +lua from libiwinfo-lua.

Signed-off-by: Stefan Hellermann <stefan@the2masters.de>

SVN-Revision: 35005
2013-01-04 09:32:06 +00:00
Hauke Mehrtens
e8c86dd070 mac80211: b43: add firmware for HT-PHY by default.
remove firmware for LP-Phy core rev 14, I have never seen such a device.

SVN-Revision: 35000
2013-01-03 18:52:08 +00:00
Felix Fietkau
96f3911981 kernel: move regmap bloat out of the kernel image if it is only being used in modules
SVN-Revision: 34999
2013-01-03 18:39:50 +00:00
Felix Fietkau
1dada293bf add kmod-fs-configfs to replace kernel bloat added by selecting kmod-mmc-over-gpio
SVN-Revision: 34998
2013-01-03 18:04:04 +00:00
Hauke Mehrtens
ac383f95a5 broadcom-diag: add diag support for Linksys E1000 V1
This adds diag leds/buttons support for Linksys E1000 V1. It worked on
my router, however it may need some tweaking by people more familiar
with openwrt and c to make it fit for commiting.

Thank you hhm for this patch.

SVN-Revision: 34996
2013-01-03 02:07:11 +00:00
Hauke Mehrtens
8f6bdcffa1 brcm47xx: build b44 as a module
SVN-Revision: 34994
2013-01-03 02:00:25 +00:00
Hauke Mehrtens
d8f1fa1e38 switch: ROBO Switch Gigabit MII Support
I wrote this patch some time ago because I had a need for one of the
Gigabit ports (Linksys E3000) to be forced to 100FD.  This is based
on the robocfg sources included w/ the RT-N16 sources from ASUS.
Since work is progressing on a BGMAC driver that could be included in
OpenWRT, this may be useful to someone else.

In testing, forcing the speed to 10/100 or 1000 worked fine; however,
when trying to force full-duplex mode, the result was always
half-duplex.  I was not able to isolate the source of the problem
(this patch, driver or H/W limitation).  The only way I could get it
to work was to set the port to Auto, but then only advertise 100FD
(not included in this patch).

I have a modified version of the robocfg package as well, I'd have to
clean it up a little first (remove the full-duplex hack) before
submitting it if there is interest.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 34992
2013-01-03 01:58:01 +00:00
Hauke Mehrtens
63ec34612c switch: improve error messages
This is in part based on a patch send by Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 34991
2013-01-03 01:57:19 +00:00
Hauke Mehrtens
25afeba608 brcm47xx: add a new version of the nvram rewrite patch
This is the version like it was send for mainline inclusion.

SVN-Revision: 34988
2013-01-03 01:53:30 +00:00
Steven Barth
965afef317 ipv6-support: Update iteration * Add support for blocking forwarding while address assignments * Fix relay restarting function
SVN-Revision: 34985
2013-01-02 23:05:44 +00:00
Steven Barth
c7d9d7c952 odhcp6c: Add support for SNTP and SIP options
SVN-Revision: 34984
2013-01-02 23:05:39 +00:00
Steven Barth
4a2e55f30f 6relayd: Announce RDNSS and DNSSL via RA
SVN-Revision: 34983
2013-01-02 23:05:35 +00:00
Jo-Philipp Wich
1683a146f4 iwinfo: replace more wext calls with nl80211 equivalents, attempt to infer nl80211 tx power from debugfs before querying wext
SVN-Revision: 34982
2013-01-02 19:10:29 +00:00
Felix Fietkau
8447af36e3 ath9k: disable TX_IQ_ON_AGC_CAL on AR934x, should improve stability
SVN-Revision: 34979
2013-01-02 17:37:30 +00:00
Jo-Philipp Wich
70b0ef6322 sysupgrade: clarify online help
Fixes #12346.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>

SVN-Revision: 34975
2013-01-02 16:21:30 +00:00
Jo-Philipp Wich
58070b0083 sysupgrade: do not require an extra argument after --restore-backup
Neither --create-backup nor --restore-backup need an image name (following
the backup filename). Treat them in uniform way.

Mostly fixes #12346.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>

SVN-Revision: 34974
2013-01-02 16:21:26 +00:00
Jo-Philipp Wich
54c0b40427 dnsmasq: allow dhcp host entries without mac addresses (#11928)
SVN-Revision: 34971
2013-01-02 15:14:19 +00:00
Jo-Philipp Wich
c8a8f8fd55 lldpd: various enhancements
- introduce "list interface" options to specify the ifaces to listen on, takes uci- or network device name
	- set the default system description to distrib @ hostname, e.g. "OpenWrt Barrier Breaker r34744 @ vbox"
	- introduce "option lldp_description" to override the automatically generated description

SVN-Revision: 34970
2013-01-02 14:35:43 +00:00
John Crispin
a730e96569 Remove remaining etrax references
SVN-Revision: 34968
2013-01-02 11:28:11 +00:00
John Crispin
075ea0d52e fix typo in HFS kernel module
Signed-off-by: Ian Leonard <antonlacon@gmail.com>

SVN-Revision: 34963
2013-01-02 10:29:45 +00:00
John Crispin
15e29f3d9b fixes libertas firmware install path
fixes #12712

SVN-Revision: 34961
2013-01-02 10:08:54 +00:00
John Crispin
12f36652e6 fix video modules package generation
The folder layout changed between 3.6 and 3.7

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 34960
2013-01-02 09:43:07 +00:00
Steven Barth
7a25be66c3 6relayd: Detect changes of default routes for RAs
SVN-Revision: 34958
2013-01-01 21:41:37 +00:00
Steven Barth
def80bbecf ipv6-support: Remove unnecessary code
SVN-Revision: 34957
2013-01-01 21:41:32 +00:00
Gabor Juhos
cbc9dfc56a package/kernel: select crypto-sha256 for cifs on 3.7+
Based on a patch from #12711

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34956
2013-01-01 19:04:20 +00:00
Gabor Juhos
ab4ea8ad16 package/kernel: create separate package for the sha256 crypto module
Based on a patch from #12711

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34955
2013-01-01 19:04:17 +00:00
Steven Barth
4c09d5dde3 ipv6-support: Fix typo in dhcpv6-script * thanks to KarlHegbloom for reporting
SVN-Revision: 34940
2012-12-31 09:38:59 +00:00
Hauke Mehrtens
1d50d60fc0 rtc-rv5c386a: fix compilation for kernel >= 3.4
SVN-Revision: 34938
2012-12-30 15:32:53 +00:00
Hauke Mehrtens
190c566210 acx-mac80211: fix compilation
Some header files from mac80211 are now moved to the uapi dir.

SVN-Revision: 34937
2012-12-30 15:28:28 +00:00
Felix Fietkau
fc760260dd uci: disable parallel builds again, the lua<->libuci dependency is not safe
SVN-Revision: 34936
2012-12-30 14:58:37 +00:00
Steven Barth
b7c1f24f9b ipv6-support: Use more consistent default values
SVN-Revision: 34913
2012-12-29 10:12:31 +00:00
Felix Fietkau
b41d96e8b7 mac80211: refresh patches
SVN-Revision: 34911
2012-12-28 21:05:57 +00:00
Felix Fietkau
29d737a976 mac80211: assume 2-byte aligning for 802.11 packets, slightly improves code size and performance
SVN-Revision: 34910
2012-12-28 21:05:49 +00:00
Steven Barth
e7719bb4aa ipv6-support: Updated functionality * Add site-border feature again * Add option to always announce a default router
SVN-Revision: 34908
2012-12-28 12:02:22 +00:00
Steven Barth
ce41e59030 6distributed: Add null-route for delegated prefix * Fixes forwarding loops for unused subprefixes
SVN-Revision: 34907
2012-12-28 12:02:17 +00:00
Steven Barth
d6c955e39a 6relayd: Announce DNS search domain via DHCPv6
SVN-Revision: 34906
2012-12-28 12:02:12 +00:00
Felix Fietkau
662c1f16bb uci: update to latest version (adds list delete support), enable parallel build
SVN-Revision: 34899
2012-12-27 17:37:10 +00:00
Steven Barth
253d7345e1 ipv6-support: Remove site-border feature * was causing routing problems * will be reimplemented using firewall
SVN-Revision: 34898
2012-12-27 15:47:53 +00:00
Steven Barth
941f4ccd68 Remove site-border routing filter due to problems
SVN-Revision: 34897
2012-12-27 15:47:47 +00:00
Steven Barth
01059c8914 ipv6-support: * Automatically detect and propagate MTU from upstream interfaces * Add site-border feature (RFC 6204, ULA-4) * Fix a typo
SVN-Revision: 34896
2012-12-27 14:10:17 +00:00
Steven Barth
50a9fed238 6distributed: feature update * Add feature to decrease IPv6-specific MTU on-demand * Add commands to enable / disable a site-border
SVN-Revision: 34895
2012-12-27 14:10:12 +00:00
Steven Barth
4bab347e98 6relayd: Advertise IPv6-specific MTU instead of generic * Fixes announced MTU when using tunnels
SVN-Revision: 34894
2012-12-27 14:10:07 +00:00
Steven Barth
f657787b52 base-files: Fix a typo in config_list_foreach
SVN-Revision: 34893
2012-12-27 14:10:01 +00:00
Jo-Philipp Wich
ab6e2e6928 base-files: ipcalc.sh: fix broken calculations on 64bit systems
Calculate complements by using awk's xor() function with a mask of 0xffffffff
instead of relying on the compl() function which appears to produce broken
results on certain 64bit architectures.

SVN-Revision: 34875
2012-12-23 22:18:43 +00:00
Steven Barth
970adc9eb9 ipv6-support: Fix default RA settings for dnsmasq
SVN-Revision: 34873
2012-12-23 18:22:48 +00:00
Felix Fietkau
a1e2b2ebe8 busybox: (vconfig) do not attempt to open /proc/net/vlan/config for no good reason (fixes #12663)
SVN-Revision: 34872
2012-12-23 10:59:57 +00:00
Felix Fietkau
9801f4687f opkg: keep package list files compressed when src/gz is used, reduces tmpfs usage
SVN-Revision: 34869
2012-12-22 19:31:37 +00:00
Felix Fietkau
7ed89e8542 dropbear: convert init script to procd
SVN-Revision: 34867
2012-12-22 18:56:13 +00:00
Felix Fietkau
bbc6694d98 base-files: add basic procd integration, let procd start (and restart) ubus instead of having an ubus init script
SVN-Revision: 34866
2012-12-22 18:56:09 +00:00
Felix Fietkau
6061734323 procd: add initial implementation
procd is the new OpenWrt process management daemon. It keeps track of processes
started from init scripts (via ubus calls), and can suppress redundant service
start/restart requests when the config/environment has not changed.

SVN-Revision: 34865
2012-12-22 18:56:06 +00:00
Felix Fietkau
b0c855253b libnl-tiny: add includedir to pkg-config cflags
SVN-Revision: 34864
2012-12-22 18:56:01 +00:00
Felix Fietkau
82bd58c793 dropbear: use network_get_device instead of scan_interfaces to get the device name
SVN-Revision: 34863
2012-12-22 18:55:57 +00:00
Steven Barth
a4e656ef24 ipv6-support: Preliminary support for dnsmasq >=2.66
SVN-Revision: 34858
2012-12-22 13:00:53 +00:00
Steven Barth
2dbfffef68 6relayd: Fix detection of prefix changes
SVN-Revision: 34857
2012-12-22 13:00:49 +00:00
Steven Barth
f36c3067c6 odhcp6c: Fix build on arch where char is unsigned
SVN-Revision: 34856
2012-12-22 13:00:45 +00:00
Steven Barth
970c5d97fe 6distributed: Improve prefix deprecation algorithm
SVN-Revision: 34855
2012-12-22 13:00:40 +00:00
Gabor Juhos
fcf65bdee3 package/kernel: remove obsolete CONFIG_USB_[EO]HCI_RT3883=y symbols
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34844
2012-12-22 12:11:09 +00:00
John Crispin
6531546751 add OF binding
SVN-Revision: 34834
2012-12-21 20:03:49 +00:00
John Crispin
bac5ef2a2f adsl firmware in wrong submenu
SVN-Revision: 34819
2012-12-21 13:47:30 +00:00
John Crispin
9a134fb7c0 minor cleanup for adsl firmware handling
SVN-Revision: 34818
2012-12-21 13:47:25 +00:00
John Crispin
346a8e5878 properly symlink the adsl firmware
SVN-Revision: 34817
2012-12-21 13:47:20 +00:00
Mirko Vogt
4cca5cd4fd hot-fix nameclash in sysupgrade: rename pivot() to supivot() in sysupgrade
Sysupgrade defines its very own pivot() function.
Prior merging boot.sh and functions.sh sysupgrade just included boot.sh,
now it includes functions.sh which defines pivot() as well, however
slightly different which causes sysupgrade to fail.

This is a hot-fix to unbreak sysupgrade, however those two pivot()
functions should actually get merged.

SVN-Revision: 34815
2012-12-21 12:10:21 +00:00
Luka Perkov
65efd09b78 base-files: we don't need /etc/functions.sh symlink anymore
SVN-Revision: 34802
2012-12-20 15:15:30 +00:00
Mirko Vogt
4d4b2d3ced merge /lib/functions/boot.sh and /lib/functions.sh
SVN-Revision: 34794
2012-12-19 16:07:53 +00:00
Mirko Vogt
439a869090 Do not overload mount-call - trying to reduce confusion
The behaviour of calling 'mount' differed depending on whether it called
the busybox-mount, the mount of util-linux, the mount defined in
/lib/functions.sh and /lib/functions/boot.sh

/etc/preinit even included /lib/functions.sh and /lib/functions/boot.sh,
both re-defining 'mount'.

SVN-Revision: 34792
2012-12-19 16:07:46 +00:00
Mirko Vogt
ec9ce7e089 change prefix for util-linux binaries from / to /usr
The prefix / causes executables like mount, umount, etc. to be placed
in /bin /sbin which therewith replace the busybox symlinks.
mount and umount e.g. are linked again libmount.so.

This is e.g. fatal during a sysupgrade, where /bin/mount,
/bin/umount, etc. but not libmount.so get copied into a ramdisk
which will result in non working executables within the ramdisk.

SVN-Revision: 34791
2012-12-19 16:07:42 +00:00
Jo-Philipp Wich
50983767b3 block-mount: add a delay between sto pand start in fstab init restart action, fixes a lock race condition observed in VirtualBox
SVN-Revision: 34784
2012-12-19 09:41:28 +00:00
John Crispin
3b79fe662a ltq-hcd usb fix high speed hub mode
Simple update for USB api changes.

Signed-off-by: Conor O'Gorman <i@conorogorman.net>

SVN-Revision: 34770
2012-12-18 19:31:46 +00:00
Gabor Juhos
149b1c46c7 ipset: update to 6.16.1 to fix build with kernel 3.7
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34752
2012-12-18 14:50:44 +00:00
Gabor Juhos
ae97cc7d0f kernel: fix module names for crypto modules in 3.7
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34751
2012-12-18 14:50:43 +00:00
Felix Fietkau
b9d314aee9 libubox: fix a jshn array sequence counter bug, fixes some network.sh issues
SVN-Revision: 34746
2012-12-18 13:08:50 +00:00
Felix Fietkau
bf34eeaea4 netifd: update to latest version, fixes interface error reporting for shell proto handlers
SVN-Revision: 34741
2012-12-17 22:24:31 +00:00
Felix Fietkau
ba2286296e ncurses: fix build error in libncursesw
SVN-Revision: 34739
2012-12-17 15:11:47 +00:00
Felix Fietkau
e1e00aed52 sierra-directip: delete, replaced by upstream drivers
SVN-Revision: 34738
2012-12-17 15:11:43 +00:00
Felix Fietkau
14281559e1 netifd: update to latest version, no longer needs the removed jshn_append() shell function
SVN-Revision: 34734
2012-12-17 14:57:15 +00:00
Jo-Philipp Wich
3339316fbe base-files: use json_is_a() in network.sh
SVN-Revision: 34733
2012-12-17 13:07:42 +00:00
Jo-Philipp Wich
e0ad41ead8 libubox: update to latest git head, introduces jshn json_is_a() helper
SVN-Revision: 34732
2012-12-17 13:07:38 +00:00
Jo-Philipp Wich
17acf9bf27 base-files: rework cache handling in network.sh to keep the entire parsed ifstatus, use jshn namespaces to support using it concurrently with other jshn users
SVN-Revision: 34725
2012-12-16 20:17:18 +00:00
Felix Fietkau
1536f2be63 libubox: another jshn update, fixes array handling issues
SVN-Revision: 34723
2012-12-16 18:59:01 +00:00
Jo-Philipp Wich
1600ba99e4 base-files: various enhancements to network.sh
- support reading inactive gateways and DNS information in
	  network_get_gateway(), network_get_dnsserver() and network_get_dnssearch()
	  by passing "true" as optional last argument
	- internally cache fetched values to speed up subsequent accesses to the same
	  data, introduce network_flush_cache() to clear them
	- add some inline function documentation

SVN-Revision: 34722
2012-12-16 18:22:02 +00:00
Felix Fietkau
595b48be55 libubox: fix some jshn variable handling regressions
SVN-Revision: 34720
2012-12-16 17:05:46 +00:00
Felix Fietkau
a7877699f7 libubox: update to latest version, adds jshn namespace support
SVN-Revision: 34718
2012-12-16 16:49:47 +00:00
Felix Fietkau
056d75049d wpa_supplicant.sh: always use parameters from the current section
Using variables from the outer scope unnecessarily complicates the code and
leads to issues.

This patch fixes the bug when having an "adhoc" wifi-iface section before a
"sta" section prevents wpa_supplicant from using the key specified in the
corresponding section as it tries to use the "adhoc" key instead (1 by
default).

Signed-off-by: Paul Fertser <fercerpav@gmail.com>

SVN-Revision: 34716
2012-12-16 13:23:37 +00:00
John Crispin
e9c0b95829 fixes uapi helper define
SVN-Revision: 34715
2012-12-16 11:04:27 +00:00
Felix Fietkau
b9d1bdb374 kernel: add a module for ipv6 gre
SVN-Revision: 34709
2012-12-15 21:59:56 +00:00
Felix Fietkau
fba5be2dc5 ubus: update to latest version, fixes request timeout handling issues, hangs on lots of requests, adds object notification support
SVN-Revision: 34705
2012-12-15 17:19:29 +00:00
Felix Fietkau
860c2e8116 netifd: call /etc/udhcp.user from the netifd dhcp.script
This was done previously when dhcp was handled by the network scripts.
So netifd should behave the same.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>

SVN-Revision: 34704
2012-12-15 17:19:24 +00:00
John Crispin
66daf1ef61 allow to load only 1 usb port on AR9 / VR9
SVN-Revision: 34700
2012-12-15 11:01:05 +00:00
John Crispin
baae9d16e9 move voice packages
SVN-Revision: 34695
2012-12-15 02:00:45 +00:00
John Crispin
06c9170a7c move ltq-adsl-tool
SVN-Revision: 34694
2012-12-15 02:00:39 +00:00
John Crispin
1d0a9d0c04 move ltq-adsl
SVN-Revision: 34693
2012-12-15 02:00:33 +00:00
John Crispin
c2738a9559 move ltq-ifxos
SVN-Revision: 34692
2012-12-15 02:00:26 +00:00
John Crispin
9b429a123d add ltq-ptm
SVN-Revision: 34690
2012-12-15 02:00:13 +00:00
John Crispin
c2e2323e1d add ltq-deu
SVN-Revision: 34689
2012-12-15 02:00:05 +00:00
John Crispin
65d9ff5054 add ltq-hcd
SVN-Revision: 34688
2012-12-15 01:59:53 +00:00
John Crispin
240a3a38e1 fixes uboot dependency
SVN-Revision: 34686
2012-12-15 01:59:35 +00:00
John Crispin
12cfa40375 add crypto-pcompress
SVN-Revision: 34685
2012-12-15 01:59:29 +00:00
John Crispin
4583469413 make use of uapi directory wrapper
SVN-Revision: 34684
2012-12-15 01:59:19 +00:00
Gabor Juhos
86cd825c1f package/swconfig: don't use kernel headers
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34679
2012-12-14 12:11:50 +00:00
Hauke Mehrtens
588b42a8b7 broadcom-wl: Pass physical address to wl_attach
wl_attach expects a physical address, as it performs the mapping internally.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 34671
2012-12-13 18:55:49 +00:00
Felix Fietkau
b85c8a6361 netifd: update to latest version, fixes purging old resolv.conf entries after ifdown
SVN-Revision: 34664
2012-12-13 16:14:41 +00:00
Felix Fietkau
64f0b22052 build: only install packages for selected variants, fixes building multiple variant selections in one tree
SVN-Revision: 34656
2012-12-13 13:07:01 +00:00