Commit graph

6681 commits

Author SHA1 Message Date
Jo-Philipp Wich
ff3161a6c4 base-files: ensure that /sys is available during sysupgrade, some essential services like om-watchdog need it
SVN-Revision: 32587
2012-07-03 15:43:43 +00:00
Jo-Philipp Wich
b2e2de794e 6to4: fix ifname resolving for adv_interface option (#11796)
SVN-Revision: 32576
2012-07-02 12:14:50 +00:00
Jo-Philipp Wich
bcacf552fd netifd: repair dhcp client id option Busybox udhcpc dropped support for the -c option, instead it can be emulated by using -x 0x3d:id, change the dhcp protocol script accordingly and filter all colons from the id while we're at it. This change supersedes http://patchwork.openwrt.org/patch/1810/
SVN-Revision: 32573
2012-07-01 12:43:14 +00:00
Jo-Philipp Wich
faab751760 dnsmasq: introduce "add_local_hostname" and "add_local_domain" options - 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/
SVN-Revision: 32570
2012-07-01 11:32:46 +00:00
Jo-Philipp Wich
c49f8068cd package/dnsmasq: permit UCI configuration of --dhcp-fqdn option
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>

SVN-Revision: 32569
2012-07-01 11:32:45 +00:00
Jo-Philipp Wich
7f573ef7e3 package/dnsmasq: permit dhcp_option in global dnsmasq config section
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>

SVN-Revision: 32568
2012-07-01 11:32:29 +00:00
Jo-Philipp Wich
6e419fbdeb Fix extroot by UUID
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>

SVN-Revision: 32567
2012-07-01 11:06:32 +00:00
Jo-Philipp Wich
5d3f21904f kernel/modules: load pppol2tp after pppox
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>

SVN-Revision: 32562
2012-07-01 10:34:45 +00:00
Jo-Philipp Wich
b2e5c5f82e base-files: implement network_get_dnsserver() and network_get_dnssearch() in /lib/functions/network.sh
SVN-Revision: 32531
2012-06-29 19:04:11 +00:00
Felix Fietkau
5c49ad2096 ath9k: revert an upstream initval update to fix a rx sensitivity regression on ar9380 (fixes #11756)
SVN-Revision: 32528
2012-06-29 17:59:39 +00:00
Jo-Philipp Wich
e654014352 base-files: only consider enabled default routes when finding the wan iface (#11774)
SVN-Revision: 32525
2012-06-29 11:58:35 +00:00
Jo-Philipp Wich
1f8d8dca76 netifd: update to current git head, exposes enabled state, mtu and metric overrides for routes
SVN-Revision: 32524
2012-06-29 11:42:15 +00:00
Felix Fietkau
dd80e8de1f ath9k: de-duplicate initvals, reduces uncompressed binary size by 24 KB
SVN-Revision: 32517
2012-06-28 00:34:19 +00:00
Felix Fietkau
669e79a45b ath9k: update the ar934x initvals
SVN-Revision: 32516
2012-06-27 22:32:56 +00:00
Felix Fietkau
cbf93f02ba ath9k: remove the queue length limiting patch, the approach was experimental, not used by default and a different solution is required
SVN-Revision: 32515
2012-06-27 22:32:51 +00:00
Felix Fietkau
6c2a295245 base-files: enable TCP timestamps, enable sack/dsack. (patch by Dave Täht)
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.

SVN-Revision: 32513
2012-06-27 22:32:44 +00:00
Felix Fietkau
0615bde13a ath9k: improve ani behavior during scanning
SVN-Revision: 32511
2012-06-27 12:45:00 +00:00
Felix Fietkau
d4c6868027 ath9k: more ani fixes
SVN-Revision: 32510
2012-06-27 02:15:25 +00:00
Felix Fietkau
1e884c0923 ath9k: enable rx for tx antennas earlier (and only for multi-stream devices) to fix some validation corner cases
SVN-Revision: 32509
2012-06-27 01:29:56 +00:00
Felix Fietkau
d20470702f ath9k: make antenna mask validation more flexible, allow arbitrary tx chain combinations, enable rx for chains that have enabled tx as well, fix using the second antenna for single-stream diversity based devices
SVN-Revision: 32508
2012-06-27 01:23:17 +00:00
Felix Fietkau
3d83a7b636 ath9k: reject invalid antenna mask configurations
SVN-Revision: 32507
2012-06-27 01:10:18 +00:00
Felix Fietkau
2479910d45 netifd: update to latest version, fixes bridge member interface settings
SVN-Revision: 32506
2012-06-26 23:34:07 +00:00
Jo-Philipp Wich
bc41cc82ec broadcom-wl: fix WDS hotplug for multiple networks
SVN-Revision: 32505
2012-06-26 15:43:09 +00:00
Jo-Philipp Wich
089a80ae55 linux-atm: remove defunct ipoa protocol support
SVN-Revision: 32504
2012-06-26 15:40:03 +00:00
Jo-Philipp Wich
f2dde4f5ba base-files: allow wireless ifaces to be part of multiple networks
SVN-Revision: 32503
2012-06-26 15:25:33 +00:00
Felix Fietkau
8e1583475d ath9k: fix a dynamic WEP related regression
SVN-Revision: 32492
2012-06-23 17:30:45 +00:00
Felix Fietkau
0b88abd58d ath9k: merge a patch for improving ad-hoc mode performance
SVN-Revision: 32491
2012-06-23 17:30:40 +00:00
Jo-Philipp Wich
7ed9369cb3 ppp: the pptp buffering option is not supported anymore, remove it
SVN-Revision: 32482
2012-06-21 19:41:47 +00:00
Felix Fietkau
3143f03568 toolchain: move eglibc-files from base-files to toolchain, it is packaged as part of the libc package
SVN-Revision: 32467
2012-06-20 13:45:01 +00:00
Vasilis Tsiligiannis
82dc07f6f2 busybox: Enable ibs, obs and conv options on 'dd'
SVN-Revision: 32464
2012-06-19 22:34:49 +00:00
Jo-Philipp Wich
6387e8e458 ppp: annotate most patches with description and S-o-b
SVN-Revision: 32463
2012-06-19 17:03:24 +00:00
Felix Fietkau
431e612d9e mac80211: fix linux 3.5 compatibility
SVN-Revision: 32449
2012-06-19 00:59:19 +00:00
Felix Fietkau
5e204a09cf mac80211: fix AP multi-BSSID support (#11698)
SVN-Revision: 32448
2012-06-19 00:53:20 +00:00
Jo-Philipp Wich
231f5ebb28 zlib fix for btrfs
Hi,

yes, it is true...

In the standard, unpatched trunk is zlib_inflate.ko compiled, but not included
in any package... So, my previous version was functional, but with system bug.

Here is fixed patch.

On Wed, Jun 13, 2012 at 05:00:02PM +0200, Jo-Philipp Wich wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> - -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi.
>
> Shouldn't you also add CONFIG_ZLIB_DEFLATE to KCONFIG then?
>
> ~ Jow
> - -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.12 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAk/YqrcACgkQdputYINPTPM6dgCfYDgzK1XHiKDJNSdc/+HgIoRp
> HSgAoKdUxcqXzHqTLiyEkiQqCnDuuVmu
> =0DUX
> - -----END PGP SIGNATURE-----
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.12 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAk/YqvIACgkQdputYINPTPNMagCePNwPSYHfoCd5eXywQ+sTATqQ
> 2CQAoJW/Fez+DqflHlJVcvng/LvsfrCm
> =s6B0
> -----END PGP SIGNATURE-----
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Signed-off-by: Michal Heppler <mhepp@ics.muni.cz>

SVN-Revision: 32444
2012-06-18 23:59:57 +00:00
Jo-Philipp Wich
c2b78f87d9 openssl does not compile with uml and arch x86_64
Hi,

I found that openssl did not compile on the uml target under x86_64. The
attached patch should
correct this and is working for me. Is this the right way to do it?

thanks,
Thomas

SVN-Revision: 32443
2012-06-18 23:54:08 +00:00
Felix Fietkau
cfe79471d1 kmod-ipt-nathelper-extra: fix missing nf_conntrack_broadcast.ko
kmod-ipt-nathelper-extra is missing the package nf_conntrack_broadcast.ko

if it is not included into the kmod-ipt-nathelper-extra packge the modules
nf_conntrack_snmp and nf_nat_snmp_basic cant get loaded:

[   44.500000] nf_conntrack_snmp: Unknown symbol nf_conntrack_broadcast_help (err 0)
[   44.664000] nf_nat_snmp_basic: Unknown symbol nf_nat_snmp_hook (err 0)

Signed-off-by: Peter Wagner <tripolar@gmx.at>

SVN-Revision: 32434
2012-06-18 23:30:48 +00:00
Jo-Philipp Wich
3cf347124a kernel: split kmod-pppoe into kmod-pppox and kmod-pppoe, make kmod-pptp depend on kmod-pppox (#11677)
SVN-Revision: 32433
2012-06-18 23:26:36 +00:00
Jo-Philipp Wich
d65c855203 6rd: apply the same simplifications done in 6to4 and 6in4
SVN-Revision: 32432
2012-06-18 23:08:20 +00:00
Jo-Philipp Wich
fdfffd0fbe Add new package for configuring 6rd tunnels.
This patch adds support for manually configuring 6rd tunnels. It depends on
the netifd patches I sent earlier, which add 6rd support.

A basic interface configuration looks like:

    config interface 'wan6'
      option proto '6rd'
      option peeraddr '192.0.2.1'
      option ip6prefix '2123::'
      option ip6prefixlen '16'
      option ip4prefixlen '0'

Where ip4prefixlen is optional and actually defaults to 0, which would use all
bits of the IPv4 in the calculated IPv6 subnet.

I believe it should be possible to configure a regular 6to4 tunnel using this,
and that we may want to merge the two eventually, but there are some larger

differences between the two at the moment:

 - 6rd addresses can be more difficult to calculate. My ISP, for example, has
   a setup with a v6 mask of 43 bits, and a v4 mask of 19.

 - 6to4 has support for configuring radvd. This is something we want, of
   course, but it seems best to deal with this in a separate patch.

Just creating a new package looked like the quickest way to get this in.

This work is based on the 6in4 package, and work by Stijn Tintel.

Signed-off-by: Stéphan Kochen <stephan@kochen.nl>

SVN-Revision: 32431
2012-06-18 23:08:18 +00:00
Jo-Philipp Wich
985eab3706 netifd: bump again to git head, fix device present state after reconnecting shell protos
SVN-Revision: 32430
2012-06-18 23:01:04 +00:00
Felix Fietkau
575f47b36e netifd: update to latest version again, fixes route6 issues (#11528)
SVN-Revision: 32429
2012-06-18 21:52:28 +00:00
Jo-Philipp Wich
4dc3b124e9 6in4, 6to4: further simplify protocol backends - use new default route dependencies to trigger bringup - remove old hotplug scripts
SVN-Revision: 32428
2012-06-18 21:40:34 +00:00
Felix Fietkau
992d685ea4 netifd: update to latest version, adds 6rd related changes and adds support for default route dependencies (through host route dependencies)
SVN-Revision: 32426
2012-06-18 21:23:09 +00:00
John Crispin
0a684babcc fix ccache related build breakage
SVN-Revision: 32421
2012-06-18 08:50:26 +00:00
Felix Fietkau
3360067932 mac80211: update to wireless-testing 2012-06-14
SVN-Revision: 32420
2012-06-18 01:26:36 +00:00
Jo-Philipp Wich
c73b39fd30 uhttpd: finish inherited uloop in forked childs, fixes misdispatched events leading to race conditions and bad memory accesses
SVN-Revision: 32419
2012-06-18 00:41:43 +00:00
Luka Perkov
fd38f78bfe e2fsprogs: fix md5sum issue
md5sum from kernel.org and sourceforge.net are not the same

SVN-Revision: 32418
2012-06-17 21:34:16 +00:00
Vasilis Tsiligiannis
8015c01f4f acx-mac80211: Add workaround for mac80211 hw-queue check
SVN-Revision: 32417
2012-06-17 20:50:43 +00:00
Vasilis Tsiligiannis
37c2235af7 acx-mac80211: Bump to v20120607
SVN-Revision: 32416
2012-06-17 20:49:55 +00:00
Vasilis Tsiligiannis
07d57edf59 acx-mac80211: Allow firmware downloading for more ACX1xx cards
SVN-Revision: 32415
2012-06-17 20:46:31 +00:00
Luka Perkov
e83e268100 e2fsprogs: update to 1.42.4
SVN-Revision: 32414
2012-06-17 17:53:01 +00:00
Jo-Philipp Wich
89701ec518 6in4, 6to4: remove dependency on "ip"
SVN-Revision: 32403
2012-06-17 13:18:40 +00:00
Jo-Philipp Wich
bb6dde0fbf 6to4: use network_find_wan() and network_get_iapddr() to find local ip, use json_get_vars() to read settings
SVN-Revision: 32402
2012-06-17 13:17:39 +00:00
Jo-Philipp Wich
89732577aa 6in4: change local4 option name back to ipaddr
SVN-Revision: 32401
2012-06-17 12:27:16 +00:00
Jo-Philipp Wich
76000dc6ed 6in4: use network_find_wan() and network_get_iapddr() to find local ip, use json_get_vars() to read settings
SVN-Revision: 32400
2012-06-17 12:18:39 +00:00
Jo-Philipp Wich
57a7257569 base-files: implement network_get_gateway(), network_get_gateway6(), network_find_wan() and network_find_wan6() in /lib/functions/network.sh
SVN-Revision: 32397
2012-06-17 11:50:50 +00:00
Felix Fietkau
70d9295138 fuse: update to 2.9.0
SVN-Revision: 32396
2012-06-16 21:06:37 +00:00
Felix Fietkau
a5e2890ecb fuse: move kmod-fuse to package/kernel
SVN-Revision: 32394
2012-06-16 21:06:24 +00:00
Felix Fietkau
0934a4035e fuse: remove obsolete patches
SVN-Revision: 32393
2012-06-16 21:06:20 +00:00
John Crispin
736e65715d set explicit -lpthread
SVN-Revision: 32388
2012-06-16 14:52:33 +00:00
John Crispin
75e9bbbcae fixes ccache compile and adds missing -lc
SVN-Revision: 32387
2012-06-15 23:42:48 +00:00
Felix Fietkau
fe94e174e5 ath9k: fix an invalid pointer access in the tx path
SVN-Revision: 32376
2012-06-14 21:36:05 +00:00
Felix Fietkau
9ea33a2ff1 add uclibc++ (from packages)
SVN-Revision: 32367
2012-06-14 20:25:57 +00:00
Felix Fietkau
de8bc3bfb7 netifd: update to latest version, adds back the workaround for ignoring wlan* in /etc/config/network
SVN-Revision: 32356
2012-06-14 16:50:45 +00:00
Jo-Philipp Wich
bfe966574f base-files: enable shell tracing in initscripts when INIT_TRACE is set
SVN-Revision: 32340
2012-06-13 17:10:41 +00:00
Felix Fietkau
9a1d6f0678 base-files: override Build/Compile/Default instead of Build/Compile (fixes #11667)
SVN-Revision: 32339
2012-06-13 16:25:29 +00:00
Jo-Philipp Wich
b0ef94f8da ppp: make ppp-mod-pptp depend on resolveip
SVN-Revision: 32269
2012-06-12 21:07:53 +00:00
Jo-Philipp Wich
0b5da2e16e ppp: add missing options.pptp
SVN-Revision: 32233
2012-06-11 23:22:52 +00:00
Jo-Philipp Wich
b43599598c drop userspace pptp - it is defunct, slow and badly integrated
SVN-Revision: 32198
2012-06-11 20:09:01 +00:00
Jo-Philipp Wich
13b8a13d48 ppp: add support for kernel mode pptp - add ppp-mod-pptp, based on patch by Daniel Golle <dgolle@allnet.de> - add netifd integration for pptp to ppp.sh
SVN-Revision: 32197
2012-06-11 20:07:46 +00:00
Jo-Philipp Wich
eb9b3bdb4f netifd: localize internally used shell variables (#11567)
SVN-Revision: 32192
2012-06-11 13:25:58 +00:00
Felix Fietkau
002f3a6940 e2fsprogs: move dependencies to the right packages
SVN-Revision: 32184
2012-06-11 00:56:45 +00:00
Felix Fietkau
11c8f45612 util-linux: disable udev support, add missing dependencies
SVN-Revision: 32183
2012-06-11 00:56:41 +00:00
Felix Fietkau
a546d41fc0 fuse: add missing dependency
SVN-Revision: 32182
2012-06-11 00:56:38 +00:00
Felix Fietkau
1e01b228c4 ebtables: add a missing dependency
SVN-Revision: 32181
2012-06-11 00:56:34 +00:00
Felix Fietkau
b2f70f0df0 toolchain: remove target dependencies on libgcc/libgfortran, add checks to package install template instead
SVN-Revision: 32176
2012-06-10 22:24:28 +00:00
Felix Fietkau
6a11725d42 busybox: remove BUSYBOX_USE_LIBRPC
SVN-Revision: 32175
2012-06-10 22:24:24 +00:00
Felix Fietkau
70e48cb877 ubus: add a missing dependency
SVN-Revision: 32174
2012-06-10 20:27:47 +00:00
Felix Fietkau
0013723df6 libubox: add a missing dependency
SVN-Revision: 32173
2012-06-10 20:27:44 +00:00
Felix Fietkau
9fe1b02ddf toolchain: fix libc dependency on libgcc
SVN-Revision: 32170
2012-06-10 20:27:34 +00:00
Felix Fietkau
07826e391d base-files: move all toolchain packages to a separate package directory 'toolchain'
SVN-Revision: 32169
2012-06-10 20:27:30 +00:00
Felix Fietkau
479336f824 util-linux: libblkid depends on libuuid
SVN-Revision: 32168
2012-06-10 20:27:24 +00:00
Luka Perkov
33dadd70ab mklibs: update to 0.1.34 (v2)
SVN-Revision: 32165
2012-06-10 17:07:46 +00:00
Jo-Philipp Wich
e2be7290b1 busybox: fix bad variable substitution on right hand side of I/O redirection, imported patch from upstream bug 5282
SVN-Revision: 32162
2012-06-10 13:19:45 +00:00
Felix Fietkau
378773f143 ppp: block restart of interfaces if pppd refused the command line options
SVN-Revision: 32160
2012-06-10 12:12:10 +00:00
Felix Fietkau
bfd06f261a ath9k: add some more ani fixes
SVN-Revision: 32159
2012-06-10 12:03:33 +00:00
Luka Perkov
cb9db16e2f zlib: update to 1.2.7
SVN-Revision: 32147
2012-06-09 23:29:28 +00:00
Felix Fietkau
557a3b5dd4 ppp: enable no_device in the netifd pppoa handler to bring it up at boot time (#11631)
SVN-Revision: 32146
2012-06-09 23:16:26 +00:00
Luka Perkov
30edb14356 util-linux: update to 2.21.2
SVN-Revision: 32141
2012-06-09 17:37:29 +00:00
Luka Perkov
d21fccaa2c e2fsprogs: update to 1.42.3
SVN-Revision: 32140
2012-06-09 17:37:27 +00:00
Felix Fietkau
4d8cd3afc0 make librpc compatible with eglibc, unconditionally enable it for packages that need rpc support
SVN-Revision: 32129
2012-06-08 15:10:18 +00:00
Jo-Philipp Wich
15189a628a firewall: allow incoming ICMPv6 router-advertisement and neighbor-advertisement, thanks swalker
SVN-Revision: 32127
2012-06-08 14:20:34 +00:00
Felix Fietkau
809cc8a435 mac80211: remove the passive-scan/no-ibss flag of channels 36-48 in the world regd similar to the default regd in ath
SVN-Revision: 32126
2012-06-08 12:09:36 +00:00
Felix Fietkau
287b504a2c kernel: add module packages for usbip (from the packages feed)
SVN-Revision: 32117
2012-06-07 16:51:53 +00:00
Jo-Philipp Wich
9869b4da3c base-files: implement network_defer_device() and network_ready_device() wrappers for upcoming netifd iface deferring support
SVN-Revision: 32106
2012-06-07 14:55:26 +00:00
Felix Fietkau
72d33803e7 iproute2: fix build errors with newer versions of eglibc
SVN-Revision: 32103
2012-06-07 12:37:49 +00:00
Felix Fietkau
93372a3e69 iptables: fix build error if only libraries are selected
SVN-Revision: 32102
2012-06-07 12:24:37 +00:00
Jo-Philipp Wich
1760bf569a netifd: fix typo in dhcp protocol handler, fixes reqopt handling (#11609)
SVN-Revision: 32098
2012-06-07 10:54:03 +00:00
Felix Fietkau
bcd4209323 hostapd: fix driver setting for wpa_s in IBSS/WPA-NONE
This fix is needed to correctly set the driver to use with wpa_s in case of
IBSS/WPA-NONE. The current setting is not made correctly.

Signed-off-by: Antonio Quartulli <ordex@autistici.org>

SVN-Revision: 32084
2012-06-06 15:25:52 +00:00
Felix Fietkau
b17afa9f65 libubox: add mirror md5sum
SVN-Revision: 32080
2012-06-06 13:45:57 +00:00