Commit Graph

5360 Commits (aaf7d1c63503a56e8daac970d45a0be574c01589)

Author SHA1 Message Date
Felix Fietkau 22210c9a87 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17599 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-16 18:15:31 +00:00
Jo-Philipp Wich cf15b9d709 [package] swconfig: clear ip address on the switch interface, this prevents duplicate assignments of 192.168.1.1 on the DIR-300 at least
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17597 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-16 14:23:01 +00:00
Jo-Philipp Wich 7c738992b1 [package] base-files: clear ip addresses on interfaces that are about to be added to a bridge
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17596 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-16 14:21:19 +00:00
Felix Fietkau 5b7afa25a4 madwifi: fix iwconfig tx power display
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17592 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-16 12:02:10 +00:00
Andy Boyett c417595371 [package] madwifi: bump package revision
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17589 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-15 10:19:32 +00:00
Jo-Philipp Wich 309c36fac0 [package] base-files: dispatch ifdown events for proto=none interfaces and fix a race condition between revert state and hotplug handlers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17582 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-14 16:14:27 +00:00
Jo-Philipp Wich 1e6ac8639e [package] firewall: move the config_get out of the loop, no need to call it multiple times
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17581 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-14 15:18:48 +00:00
Jo-Philipp Wich c148764357 [package] firewall: properly dispatch delif events if the network has a different name then the corresponding zone
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17580 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-14 14:47:43 +00:00
Felix Fietkau 5123c8b264 madwifi: fix a wds related race condition
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17578 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-14 10:45:34 +00:00
Felix Fietkau 5f1c1dc49d madwifi: remove an unimportant part of the ibss node handling fix, which led to a regression in ap-to-ap wds operation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17576 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-14 10:40:23 +00:00
Jo-Philipp Wich 7488cbfa12 [package] base-files: add /etc/rc.local to the default save file list
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17572 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-12 15:57:31 +00:00
Jo-Philipp Wich 78c7c7e068 [package] base-files: introduce a ready-to-use /etc/rc.local to let users run custom commands on init without creating custom init scripts
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17571 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-11 21:35:03 +00:00
Andy Boyett fd376111a2 [package] bump some revisions and update copyrights
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17554 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-10 10:07:04 +00:00
Felix Fietkau c032832119 madwifi: replace an implicit memcpy with an explicit one (cosmetic fix)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17546 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-09 00:30:36 +00:00
Felix Fietkau 7bf97c26ed madwifi: fix several noderef and ibss merge issues that led to memory leaks and high system load
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17545 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-09 00:17:13 +00:00
Felix Fietkau b093e78b50 Revert "fix nonhotpluggable networks not being brought up. Closes #2781" (r17527) until we've solved the race conditions it creates
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17544 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-09 00:16:55 +00:00
Gabor Juhos 0b378fbd37 package/mac80211: add menuconfig option for enabling debug support via debugfs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17541 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-08 07:32:08 +00:00
Felix Fietkau 9bb4587731 move ppp ifname fixup from pppoe.sh to ppp.sh, so that it applies to all other ppp based protocols as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17529 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-06 17:36:01 +00:00
Felix Fietkau 7a2dab6d92 now that $(BOARD) is part of the opkg ARCH, there's no reason to keep the board name around in kmod-* package versions anymore
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17528 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-06 17:26:37 +00:00
Travis Kemen 2aac835be8 fix nonhotpluggable networks not being brought up. Closes #2781
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17527 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-06 17:02:14 +00:00
Felix Fietkau c237543529 fix jffs2 eof marker search in mtd (patch by Daniel Dickinson)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17522 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-05 23:38:51 +00:00
Gabor Juhos ca14804c7a package/base-files: set state to 'preinit' before preinit.arch is used, and set state to 'failsafe' when entering failsafe mode
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17517 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-05 18:44:48 +00:00
Felix Fietkau 1cb72e8436 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.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17516 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-05 13:05:59 +00:00
Travis Kemen c6af14c4f0 add ifup -a to boot(), closes #4543 #2781
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17515 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-05 05:33:23 +00:00
Travis Kemen 2a9f1baa7b extend logging functions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17514 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-04 21:09:13 +00:00
Felix Fietkau beeade30e7 madwifi: add a configuration for uapsd (unscheduled automatic powersave delivery), turn it off by default because of compatibility issues with nokia phones
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17510 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-03 19:31:48 +00:00
Florian Fainelli 40766f9463 [package] udevtrigger depends on 2.6 kernels
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17509 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-03 18:49:47 +00:00
Florian Fainelli 803c46476c [package] update hotplug2 to r199, fixes build failures on brcm-2.4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17508 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-03 18:33:52 +00:00
Florian Fainelli 70a48cf794 [package] udev depends on 2.6, cleanup Makefile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17507 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-03 18:11:32 +00:00
Felix Fietkau aaf8904d5a preinit: fix failsafe mode through ctrl+c on devices that do not provide a preinit.arch file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17470 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-02 15:14:53 +00:00
Felix Fietkau 6dc6202a6f wprobe: fix compile error because of missing isnan()
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17468 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-02 12:55:26 +00:00
Hauke Mehrtens a11c466565 [mac80211] fix module loading with kernel 2.6.27
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17457 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-01 14:53:35 +00:00
Felix Fietkau d28bd2e3db 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17438 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-29 11:56:27 +00:00
Felix Fietkau dd9b53b717 allow mklibs.py to optimize libgcc_s.so.1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17437 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-29 03:51:43 +00:00
Felix Fietkau 5453549ec0 fix wrong kernel version based nls dependency
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17436 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-28 16:26:53 +00:00
Felix Fietkau da01688a90 add missing dependency for kmod-ntfs (patch from #5638)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17435 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-28 16:26:48 +00:00
Felix Fietkau 5119b9bb4c Added identification of WRT610N and its button/led definitions.
Signed-off-by: Tomas Kopal <Tomas.Kopal@altap.cz>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17434 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-28 15:03:36 +00:00
Felix Fietkau 850d085e8b Added support for identifying the BCM53115 switch found in WRT610N.
Signed-off-by: Tomas Kopal <Tomas.Kopal@altap.cz>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17433 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-28 14:20:37 +00:00
Felix Fietkau dd203b47c6 madwifi: fix another unconverted netdev_ops issue
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17431 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-28 12:50:56 +00:00
Florian Fainelli df79222b1f [package] update e2fsprogs to 1.41.9, add support for ext4 (#5748)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17427 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-27 09:16:54 +00:00
Florian Fainelli a1db272086 add the in-tree gspca driver
Signed-off-by: David Cooper <dave at kupesoft.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17421 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-27 08:38:16 +00:00
Felix Fietkau 13e7d00b5c firewall: emit hotplug events for interface add/remove
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17415 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-26 22:46:24 +00:00
Gabor Juhos 44ad511638 [package] iw: update to 0.9.17
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17409 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-26 15:29:54 +00:00
Felix Fietkau 610a796c52 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17393 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-24 23:22:32 +00:00
Felix Fietkau cc84e60842 move /bin/swconfig to /sbin
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17387 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-24 22:05:49 +00:00
Geoff Levand 542045ef6a 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17378 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-24 20:19:26 +00:00
Geoff Levand 74ce2e1f78 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17377 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-24 20:16:07 +00:00
Geoff Levand 7c2269da6e kexec-tools: Remove the unused file kexec.sh
Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17376 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-24 20:13:39 +00:00
Geoff Levand 78b9c06e06 kexec-tools: Make link /sbin/kexec for compatability with other distros
Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17375 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-24 20:12:41 +00:00
Geoff Levand 2aa44e8668 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17374 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-24 20:11:46 +00:00