Commit graph

3296 commits

Author SHA1 Message Date
Felix Fietkau
8183d10d17 check for sysfs before bypassing normal hotplug calls for firmware events (fixes #5200)
SVN-Revision: 17839
2009-10-03 11:28:02 +00:00
Felix Fietkau
ed17f32715 busybox: support 64 bit math in shell tests. this does not seem to increase the binary size at all (tested on mips), fixes #2871
SVN-Revision: 17838
2009-10-03 10:56:19 +00:00
Felix Fietkau
8d9946530e ath: add a compile time option that gives the user full control over regulatory settings (disabled by default for now)
SVN-Revision: 17828
2009-10-02 22:02:37 +00:00
Felix Fietkau
eb59d14aac mac80211: autodetect the default phy mode based on 11n and freq capabilities
SVN-Revision: 17825
2009-10-02 19:41:04 +00:00
Felix Fietkau
d8aa4acfda mac80211: fix typo in ifname setup, suppress error messages of interface enumeration commands
SVN-Revision: 17824
2009-10-02 19:16:16 +00:00
Felix Fietkau
260d749684 hostapd: initialize wme to sane values
SVN-Revision: 17823
2009-10-02 18:55:03 +00:00
Felix Fietkau
5c3c14b02f mac80211: merge Pat Erley's mac80211.sh from openwrt-devel@ with many cleanups and other changes by me. adds support for multiple interfaces, tested with ath9k
SVN-Revision: 17821
2009-10-02 15:18:44 +00:00
Felix Fietkau
be563b8702 opkg: move the build dir to KERNEL_BUILD_DIR, as compilation is target dependent
SVN-Revision: 17820
2009-10-02 15:18:38 +00:00
John Crispin
c1378fe9f1 adds atm driver for ifxmips, code ported from wippies 2.6.16 gpl release. it compiles but throws ioctl -EINVAL during bring up of atm device, hence marked as broken
SVN-Revision: 17819
2009-10-02 09:41:22 +00:00
Claudio Mignanti
7f3ed114f2 Export USB host driver as kernel package
SVN-Revision: 17818
2009-10-02 09:34:10 +00:00
Nicolas Thill
b233445222 busybox: remove empty patches
SVN-Revision: 17803
2009-10-01 07:46:42 +00:00
Jo-Philipp Wich
414761eeb3 ppp: add dns servers to uci state in the ip-up script
SVN-Revision: 17801
2009-09-30 16:06:20 +00:00
Jo-Philipp Wich
f44e4dcb4b base-files: add hotplug rules for /dev/lpX (#863)
SVN-Revision: 17792
2009-09-28 20:05:50 +00:00
Nicolas Thill
91750d01a7 busybox: update to v1.14.4 (closes: #5619)
SVN-Revision: 17782
2009-09-28 12:38:46 +00:00
Felix Fietkau
2da13936e9 firstboot: add support for union mounts
SVN-Revision: 17778
2009-09-27 22:56:21 +00:00
Felix Fietkau
0f9f23aebe base-files: move firstboot to /sbin
SVN-Revision: 17775
2009-09-27 22:56:11 +00:00
Florian Fainelli
9c65cbf386 add mips64 support to kexec-tools, counterpart of r17768.
SVN-Revision: 17769
2009-09-27 19:13:17 +00:00
Hauke Mehrtens
e014faf13f Update ipset to version 3.2
SVN-Revision: 17764
2009-09-27 15:03:41 +00:00
Nicolas Thill
6b575bcb0e ppp: quote positional parameters when calling up/down scripts (closes: #5622)
SVN-Revision: 17763
2009-09-27 14:14:09 +00:00
Nicolas Thill
b3d3e5d752 firewall: fix MSS issue affection RELATED new connections (closes: #5173)
SVN-Revision: 17762
2009-09-27 13:57:09 +00:00
Hauke Mehrtens
942451b0fe Add ar9170usb driver.
SVN-Revision: 17760
2009-09-27 13:43:21 +00:00
Hauke Mehrtens
bd301eb87c Do not build some modules as they are not needed
Remove empty directory.

SVN-Revision: 17755
2009-09-26 22:06:39 +00:00
Hauke Mehrtens
e37eae828c Do not depend on rfkill
With kernel 2.6.31 cfg80211 is build with rfkill if it was build.

SVN-Revision: 17754
2009-09-26 22:05:46 +00:00
Hauke Mehrtens
80574578ec small fixes mostly for kernel 2.6.31
- libsas needs symbols from scsi_transport_sas
 - autoload line in pppoe was missing
 - rfkill-input does not exist in kernel 2.6.31
 - password for download server of r8101 changed
 - r8101 and siit do not build with kernel 2.6.31
 - fix build of net sched esfq

SVN-Revision: 17752
2009-09-26 21:23:53 +00:00
Nicolas Thill
08938e63d0 add _GNU_SOURCE to CPPFLAGS required to include <bits/socket.h> on recent eglibc revisions
SVN-Revision: 17749
2009-09-26 19:01:50 +00:00
Hauke Mehrtens
3a923e436e fixes for kernel 2.6.31
SVN-Revision: 17739
2009-09-26 13:31:42 +00:00
Hauke Mehrtens
8673372e20 add patches for kernel 2.6.31
This is completly untested. Only a compile tests with the default config was done!

SVN-Revision: 17734
2009-09-26 11:48:48 +00:00
Felix Fietkau
4b396d147d busybox: add support for union mounts (not included in the kernel yet)
SVN-Revision: 17724
2009-09-25 20:46:51 +00:00
Felix Fietkau
1b35350431 iptables: fix build error with linux 2.6.31
SVN-Revision: 17721
2009-09-25 14:10:42 +00:00
Felix Fietkau
920ff49232 libtool: update to 1.5.26 (patch from #4905)
SVN-Revision: 17715
2009-09-24 22:19:33 +00:00
Felix Fietkau
32bb31ca36 base-files: add libgcc dependency to libc (#5262)
SVN-Revision: 17714
2009-09-24 22:02:39 +00:00
Felix Fietkau
e9ec3a6e68 firewall: add sanity checks to zone default rules (patch from #5459)
SVN-Revision: 17713
2009-09-24 21:59:16 +00:00
Felix Fietkau
3ede844486 update dnsmasq to 2.50 (#5784)
SVN-Revision: 17711
2009-09-24 21:42:36 +00:00
Felix Fietkau
a58bb0a47a madwifi: fix bugs in the calibration triggers
SVN-Revision: 17691
2009-09-23 17:30:03 +00:00
Felix Fietkau
802ea84054 madwifi: fix a theoretical tx buffer leak
SVN-Revision: 17690
2009-09-23 13:33:06 +00:00
Felix Fietkau
0e2e5cae7a madwifi: fix beacon slot handling and add support for more than 4 vaps (useful for wds per-sta interfaces)
SVN-Revision: 17689
2009-09-23 13:32:56 +00:00
Felix Fietkau
ca1b63e891 madwifi: fix sta mode reconnect when roaming between different aps of the same essid
SVN-Revision: 17688
2009-09-23 13:32:38 +00:00
Felix Fietkau
bbc9700310 madwifi: fix maximum txpower display
SVN-Revision: 17687
2009-09-23 13:32:22 +00:00
Nicolas Thill
c9bc7c504c add external toolchain support, enhance native toolchain support (special thanks to Luigi Mantellini for his help... and patience ;)
SVN-Revision: 17682
2009-09-23 02:27:38 +00:00
Jo-Philipp Wich
392e45ef09 implement doth (802.11h) and wmm (802.11e) options for broadcom as well; update docs
SVN-Revision: 17676
2009-09-22 16:17:05 +00:00
Nicolas Thill
6478e24f7d accommodate for 5 digits svn revisions :)
SVN-Revision: 17670
2009-09-22 03:05:45 +00:00
Felix Fietkau
5b02773940 mtd: fix wrong open() return code checks
SVN-Revision: 17666
2009-09-21 19:13:34 +00:00
Felix Fietkau
61a94268ec Add default /etc/dnsmasq.conf
dnsmasq allows adding of arbitrary SRV/PTR/TXT/CNAME records.
However, those options sometimes can not be passed as
command-line arguments due to excess length.  This patch tries to
solve this problem:

1. Provide /etc/dnsmasq.conf file with comments about adding
   SRV/PTR/TXT/CNAME records.
2. Add this file to conffiles list so it is preserver during
   backup/restore or system upgrade.

If someone needs a lot of custom records, default configuration
file can be edited.  Since manual pages and documentation is not
installed, provided comments should be enough to figure out
option syntax.

Signed-off-by: Alexey I. Froloff <raorn@altlinux.org>

SVN-Revision: 17663
2009-09-21 13:25:11 +00:00
Felix Fietkau
9474d99dc0 mtd: bump release
SVN-Revision: 17661
2009-09-21 11:19:08 +00:00
Felix Fietkau
a512be592f mtd: update copyright headers
SVN-Revision: 17660
2009-09-21 10:09:02 +00:00
Felix Fietkau
63c91af404 mtd: add support for rewriting the fis table layout on redboot based systems
SVN-Revision: 17659
2009-09-21 09:58:41 +00:00
Felix Fietkau
ca300a2f07 base-files: fix conffiles entry check (patch from #2425)
SVN-Revision: 17618
2009-09-19 23:04:34 +00:00
Felix Fietkau
997d4fb013 opkg: fix the -force_space option
SVN-Revision: 17611
2009-09-19 17:32:59 +00:00
Felix Fietkau
c067858fdf dnsmasq startup script update: add notinterface parameter
This tiny patch makes the dnsmasq init.d script listen to a parameter called "notinterface", which tells dnsmasq to not listen on a defined set of interfaces.

By default dnsmasq *always* listens on the loopback interface, even if you tell it to specifically listen on a certain other interface. Sometimes this is not desirable behaviour, so you might want to turn it off. This is useful when, for example, you want to have your own DNS server listening on the loopback interface.

Signed-off-by: Johnny Halfmoon <jhalfmoon at milksnot.com>

SVN-Revision: 17599
2009-09-16 18:15:31 +00:00
Jo-Philipp Wich
b75288df95 swconfig: clear ip address on the switch interface, this prevents duplicate assignments of 192.168.1.1 on the DIR-300 at least
SVN-Revision: 17597
2009-09-16 14:23:01 +00:00
Jo-Philipp Wich
2f921cb48d base-files: clear ip addresses on interfaces that are about to be added to a bridge
SVN-Revision: 17596
2009-09-16 14:21:19 +00:00
Felix Fietkau
9e1fd17d10 madwifi: fix iwconfig tx power display
SVN-Revision: 17592
2009-09-16 12:02:10 +00:00
Andy Boyett
fdf2efaf28 madwifi: bump package revision
SVN-Revision: 17589
2009-09-15 10:19:32 +00:00
Jo-Philipp Wich
bc37b2e831 base-files: dispatch ifdown events for proto=none interfaces and fix a race condition between revert state and hotplug handlers
SVN-Revision: 17582
2009-09-14 16:14:27 +00:00
Jo-Philipp Wich
8df03c85fe firewall: move the config_get out of the loop, no need to call it multiple times
SVN-Revision: 17581
2009-09-14 15:18:48 +00:00
Jo-Philipp Wich
715285dd43 firewall: properly dispatch delif events if the network has a different name then the corresponding zone
SVN-Revision: 17580
2009-09-14 14:47:43 +00:00
Felix Fietkau
36d7f7c017 madwifi: fix a wds related race condition
SVN-Revision: 17578
2009-09-14 10:45:34 +00:00
Felix Fietkau
84c01891da madwifi: remove an unimportant part of the ibss node handling fix, which led to a regression in ap-to-ap wds operation
SVN-Revision: 17576
2009-09-14 10:40:23 +00:00
Jo-Philipp Wich
8962270fec base-files: add /etc/rc.local to the default save file list
SVN-Revision: 17572
2009-09-12 15:57:31 +00:00
Jo-Philipp Wich
bdaeaafbef base-files: introduce a ready-to-use /etc/rc.local to let users run custom commands on init without creating custom init scripts
SVN-Revision: 17571
2009-09-11 21:35:03 +00:00
Andy Boyett
a5f80019ef bump some revisions and update copyrights
SVN-Revision: 17554
2009-09-10 10:07:04 +00:00
Felix Fietkau
d71228f092 madwifi: replace an implicit memcpy with an explicit one (cosmetic fix)
SVN-Revision: 17546
2009-09-09 00:30:36 +00:00
Felix Fietkau
d5cc8ea44b madwifi: fix several noderef and ibss merge issues that led to memory leaks and high system load
SVN-Revision: 17545
2009-09-09 00:17:13 +00:00
Felix Fietkau
91d40a14af Revert "fix nonhotpluggable networks not being brought up. Closes #2781" (r17527) until we've solved the race conditions it creates
SVN-Revision: 17544
2009-09-09 00:16:55 +00:00
Gabor Juhos
6a7693b247 package/mac80211: add menuconfig option for enabling debug support via debugfs
SVN-Revision: 17541
2009-09-08 07:32:08 +00:00
Felix Fietkau
488d168c25 move ppp ifname fixup from pppoe.sh to ppp.sh, so that it applies to all other ppp based protocols as well
SVN-Revision: 17529
2009-09-06 17:36:01 +00:00
Felix Fietkau
3b61c2c2b1 now that $(BOARD) is part of the opkg ARCH, there's no reason to keep the board name around in kmod-* package versions anymore
SVN-Revision: 17528
2009-09-06 17:26:37 +00:00
Travis Kemen
27915ac778 fix nonhotpluggable networks not being brought up. Closes #2781
SVN-Revision: 17527
2009-09-06 17:02:14 +00:00
Felix Fietkau
40e46b9830 fix jffs2 eof marker search in mtd (patch by Daniel Dickinson)
SVN-Revision: 17522
2009-09-05 23:38:51 +00:00
Gabor Juhos
f494bcc222 package/base-files: set state to 'preinit' before preinit.arch is used, and set state to 'failsafe' when entering failsafe mode
SVN-Revision: 17517
2009-09-05 18:44:48 +00:00
Felix Fietkau
7d67818ab1 Revert "add ifup -a to boot(), closes #4543 #2781" (r17515) Hotpluggable interfaces are already brought up before /etc/init.d/network boot and this change can break them, if the ifup -a command runs at the wrong time, also starts many interfaces twice, which can lead to issues with PPPoE.
SVN-Revision: 17516
2009-09-05 13:05:59 +00:00
Travis Kemen
1776830e64 add ifup -a to boot(), closes #4543 #2781
SVN-Revision: 17515
2009-09-05 05:33:23 +00:00
Travis Kemen
4c47562a37 extend logging functions
SVN-Revision: 17514
2009-09-04 21:09:13 +00:00
Felix Fietkau
8691bbb699 madwifi: add a configuration for uapsd (unscheduled automatic powersave delivery), turn it off by default because of compatibility issues with nokia phones
SVN-Revision: 17510
2009-09-03 19:31:48 +00:00
Florian Fainelli
ff8d3f63b1 udevtrigger depends on 2.6 kernels
SVN-Revision: 17509
2009-09-03 18:49:47 +00:00
Florian Fainelli
e8727498cb update hotplug2 to r199, fixes build failures on brcm-2.4
SVN-Revision: 17508
2009-09-03 18:33:52 +00:00
Florian Fainelli
36d8dd6bb3 udev depends on 2.6, cleanup Makefile
SVN-Revision: 17507
2009-09-03 18:11:32 +00:00
Felix Fietkau
6155fdf5d3 preinit: fix failsafe mode through ctrl+c on devices that do not provide a preinit.arch file
SVN-Revision: 17470
2009-09-02 15:14:53 +00:00
Felix Fietkau
d101694d97 wprobe: fix compile error because of missing isnan()
SVN-Revision: 17468
2009-09-02 12:55:26 +00:00
Hauke Mehrtens
291de07cb0 fix module loading with kernel 2.6.27
SVN-Revision: 17457
2009-09-01 14:53:35 +00:00
Felix Fietkau
91fe363562 uclibc: to rebuild libc.so.0, mklibs.py needs access to libc_so.a which was not exported by default. use it instead of libc_pic.a
SVN-Revision: 17438
2009-08-29 11:56:27 +00:00
Felix Fietkau
fc5426e4bc allow mklibs.py to optimize libgcc_s.so.1
SVN-Revision: 17437
2009-08-29 03:51:43 +00:00
Felix Fietkau
0464fa7f2a fix wrong kernel version based nls dependency
SVN-Revision: 17436
2009-08-28 16:26:53 +00:00
Felix Fietkau
e6b2b9bd41 add missing dependency for kmod-ntfs (patch from #5638)
SVN-Revision: 17435
2009-08-28 16:26:48 +00:00
Felix Fietkau
8c7c2d9116 Added identification of WRT610N and its button/led definitions.
Signed-off-by: Tomas Kopal <Tomas.Kopal@altap.cz>

SVN-Revision: 17434
2009-08-28 15:03:36 +00:00
Felix Fietkau
453c3b8fc0 Added support for identifying the BCM53115 switch found in WRT610N.
Signed-off-by: Tomas Kopal <Tomas.Kopal@altap.cz>

SVN-Revision: 17433
2009-08-28 14:20:37 +00:00
Felix Fietkau
ce5869bd9b madwifi: fix another unconverted netdev_ops issue
SVN-Revision: 17431
2009-08-28 12:50:56 +00:00
Florian Fainelli
255ffe962a update e2fsprogs to 1.41.9, add support for ext4 (#5748)
SVN-Revision: 17427
2009-08-27 09:16:54 +00:00
Florian Fainelli
c7d20c0a7e add the in-tree gspca driver
Signed-off-by: David Cooper <dave at kupesoft.com>

SVN-Revision: 17421
2009-08-27 08:38:16 +00:00
Felix Fietkau
590fdc946a firewall: emit hotplug events for interface add/remove
SVN-Revision: 17415
2009-08-26 22:46:24 +00:00
Gabor Juhos
34be279659 iw: update to 0.9.17
SVN-Revision: 17409
2009-08-26 15:29:54 +00:00
Felix Fietkau
241242cf74 udevtrigger: replace the non-portable tar options used to prevent a namespace conflict with a change to PKG_BUILD_DIR. fixes build on non-gnu systems
SVN-Revision: 17393
2009-08-24 23:22:32 +00:00
Felix Fietkau
d498ff436a move /bin/swconfig to /sbin
SVN-Revision: 17387
2009-08-24 22:05:49 +00:00
Geoff Levand
525d86686e udev: Update udev package from udev-106 to udev-142
Update the init scripts have to use udevadm where appropriate.
The udev package no longer provides separate udev utilities
like udevtrigger and udevsettle.  These have been incorporated
into the udev admin program udevadm.

Replace the udevextras sub package with config options to the udev
package.

Update the preinit script to check for '/lib/udev/devices', and
copy it to '/dev/ if it is found, then to conditionaly setup
/dev the old way with mknod etc.  Udev now recommends using
the directory '/lib/udev/devices' to initialize the '/dev'
directory at startup.

Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>

SVN-Revision: 17378
2009-08-24 20:19:26 +00:00
Geoff Levand
0ff31d848f udevtrigger: Breakout udevtrigger package
Current versions of udev no longer provide the separate udevtrigger
utility that hotplug2 needs.  To allow for the udev package to
be updated, yet still provide a udevtrigger, create a new package
udevtrigger that is built from old udev sources.

Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>

SVN-Revision: 17377
2009-08-24 20:16:07 +00:00
Geoff Levand
0142b07983 kexec-tools: Remove the unused file kexec.sh
Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>

SVN-Revision: 17376
2009-08-24 20:13:39 +00:00
Geoff Levand
8de4d8abf2 kexec-tools: Make link /sbin/kexec for compatability with other distros
Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>

SVN-Revision: 17375
2009-08-24 20:12:41 +00:00
Geoff Levand
a64a3b373a kexec-tools: Make build of kdump optional
Most systems won't need kdump, so make its build optional.

Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>

SVN-Revision: 17374
2009-08-24 20:11:46 +00:00
Geoff Levand
66663e3314 kexec-tools: Minor makefile line end fixes
Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>

SVN-Revision: 17373
2009-08-24 20:08:35 +00:00
Geoff Levand
9eeaebb730 kexec-tools: Add libtool PKG_FIXUP
libtool is needed to build kexec-tools.

Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>

SVN-Revision: 17372
2009-08-24 20:07:36 +00:00