1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-19 04:49:42 +02:00
Commit Graph

8621 Commits

Author SHA1 Message Date
jow
323f8e06f6 dnsmasq: allow forcing options
The option 'force' when set to '1' will transform a dhcp-option to dhcp-option-force instead in the config.

This is useful for forcing options to be sent back to a client (even options it didn't ask for).

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31816 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-19 20:17:56 +00:00
jow
be8007e076 dnsmasq: add support for set: and tag: pairs
On my network, I have a variety of machines and appliances, some of which need different configuration issues than the default options.

For example:

config host
	option name 'client'
	option mac '00:01:02:03:04:05'
	option ip '192.168.1.20'
	option tag 'acme'

config tag acme
	option force '1'
	list dhcp_option 'option:router,192.168.1.253'
	list dhcp_option 'option:domain-name,acme.com'
	list dhcp_option 'option:domain-search,acme.com,redfish-solutions.com'

which allows me to override the default router for my client's host, as well as its domain-name, and its domain-search.

this causes the following config lines:

dhcp-host=00:01:02:03:04:05,set:acme,192.168.1.20,client
dhcp-option-force=tag:acme,option:router,192.168.1.253
dhcp-option-force=tag:acme,option:domain-name,acme.com
dhcp-option-force=tag:acme,option:domain-search:acme.com,redfish-solutions.com

This could be useful elsewhere, for instance, if you have an IP CCTV that you don't want to have a default-route, etc.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31815 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-19 20:17:54 +00:00
jow
ba344a5eae [package] dnsmasq: fix parsing of mx record options (#11365)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31814 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-19 20:17:19 +00:00
nbd
ddd723fa4a netifd: update to latest version, fixes a crash on restart
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31812 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-18 21:59:23 +00:00
nbd
8410561100 ubus: update to latest version, fixes a socket race condition in the client library with uloop
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31811 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-18 20:36:02 +00:00
juhosg
e32a177913 x86/ep80579: switch to 3.3
Also fix build errors in the ep80579-drivers package.
Compile tested only.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31802 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-18 20:10:33 +00:00
juhosg
a8aba4599d package/ep80579-drivers: refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31801 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-18 20:10:28 +00:00
nbd
b448b66c56 kernel: add et131x from packages/
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31792 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-18 19:03:35 +00:00
nbd
435a2cf2ad kernel: split off act_connmark into a separate package to avoid cluttering kmod-sched with a netfilter dependency (fixes #11483)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31791 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-18 18:36:36 +00:00
hauke
299f8d8147 mac80211: add brcmfmac driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31786 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-18 15:43:04 +00:00
nbd
8cf054b884 kernel: remove obsolete dependencies and conditionals
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31779 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-17 15:28:17 +00:00
nbd
1a4d57d959 kernel: remove the dummy kmod-rtc-core-* package, make all rtc drivers depend on @RTC_SUPPORT - prevent RTC support from leaking into kernels for targets that do not need this
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31778 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-17 15:28:13 +00:00
nbd
cb3ba68fe6 kernel: remove kmod-gpio-cs5535, it was only relevant for old kernel versions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31776 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-17 15:28:06 +00:00
nbd
bcbddcd767 kernel: remove obsolete CompareKernelPatchVer calls
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31775 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-17 15:28:02 +00:00
hauke
6a840f324b mac80211: brcmsmac update to version from wireless-testing tag master-2012-05-16-2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31773 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-17 13:24:47 +00:00
hauke
b1e2eade99 kernel: ssb/bcma: update to version from wireless-testing tag master-2012-05-16-2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31772 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-17 13:22:38 +00:00
nbd
3a72299e5b 6to4: load the network config to fix radvd announce (#11467)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31770 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-17 12:42:05 +00:00
nbd
6dc4a58e1e tc: depend on kmod-sched-core instead of kmod-sched (fixes #11465)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31769 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-17 12:36:00 +00:00
nbd
da686a42d9 6in4: remove some obsolete functions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31768 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-17 12:35:56 +00:00
nbd
3956d3773f libubox: fix jshn handling of variables with numbers (fixes #11468)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31767 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-17 12:35:52 +00:00
nbd
48b0fc861f qos-scripts: use kmod-sched-core instead of kmod-sched
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31761 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-16 15:23:23 +00:00
nbd
6dab4ebcb6 kernel: split kmod-sched into kmod-sched-core and kmod-sched
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31760 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-16 15:23:19 +00:00
nbd
a456564ab0 qos-scripts: replace sfq/red with fq_codel - massively improves latency under load
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31759 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-16 15:23:16 +00:00
nbd
aef1aa788e iproute2: update to 3.3.0, drop a few useless old patches, add codel support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31758 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-16 15:23:12 +00:00
nbd
b576ae7e40 kernel: add codel and fq_codel support to kmod-sched (patch by Dave Täht)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31757 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-16 15:23:08 +00:00
jow
b8351c325d [package] firewall: rework interface address determination to skip ipv6 addresses
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31755 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-16 13:37:49 +00:00
jow
0945d8e239 [package] firewall: fix nat reflection after netifd switch (#11460)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31754 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-16 13:03:54 +00:00
nbd
a01f231707 libubox: update to latest version, fixes handling of numbers in jshn variables
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31747 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-16 08:45:24 +00:00
nbd
5cecffbb27 netifd: bring up all interfaces on /etc/init.d/network restart
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31732 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-14 23:50:59 +00:00
nbd
745d195d8e enable netifd by default and add its config variable to PKG_CONFIG_DEPENDS in a few relevant places
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31730 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-14 23:33:35 +00:00
nbd
fb5042cd2e netifd: use the new json_get_vars function in the dhcp helper script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31727 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-14 20:58:27 +00:00
nbd
d84fcff653 ppp: use the new json_get_vars function
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31726 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-14 20:58:24 +00:00
nbd
480f722254 pptp: use the new json_get_vars function
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31725 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-14 20:58:20 +00:00
nbd
3040f27dde pptp: use resolveip, schedule restart if dns lookups fail
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31724 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-14 20:58:16 +00:00
nbd
0547603d0f netifd: update to 2012-05-14, fixes a file descriptor leak, fixes a use-after-free on host dependencies, adds a command for scheduling proto-shell restarts and adds support for more address options (point to point, broadcast)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31723 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-14 20:58:13 +00:00
nbd
d1b7790fd6 pptp: drop the dependency on ip if netifd is selected
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31722 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-14 20:58:09 +00:00
nbd
7e875d9cb9 libubox: update to latest version, adds a new function in jshn.sh
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31721 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-14 20:58:06 +00:00
nbd
e19c65f7dd relayd: fix return code check for resolving network->ifname mapping
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31712 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-14 14:08:43 +00:00
juhosg
fa5df1fabd package/e2fsprogs: disable building of internal lib{blkid,uuid}
Also remove an empty patch.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31702 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-13 12:20:17 +00:00
juhosg
d9d36efc73 package/util-linux: install development files
Also remove trailing whitespaces from the Makefile.

Based on a patch by M. Braun.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31701 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-13 12:20:15 +00:00
nbd
d5ff41feb3 ath9k: fix ar9330 internal regulator setup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31692 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-12 17:41:05 +00:00
nbd
5768b3dac7 ath9k: update initvals for ar9330 to fix issues with high power designs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31691 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-12 17:40:59 +00:00
nbd
b08f604d4a ath9k: fix a rare use-after-free bug
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31690 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-12 17:40:53 +00:00
nbd
69bd63a3db ath9k: stop rx before tx, should reduce the frequency of "Failed to stop Tx DMA" errors
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31689 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-12 17:40:47 +00:00
nbd
b22f57342a remove kmod-mvswitch, it does not work on kernels <3.2 and is not necessary as a module anyway
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31678 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-11 22:08:06 +00:00
juhosg
7117b69034 package/kernel: add package for the ADT7473/7475/7476/7490 sensors
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31657 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-09 10:48:36 +00:00
juhosg
2b9126e168 package/kernel: add package for the LM85 sensor
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31656 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-09 10:48:34 +00:00
juhosg
2c1f618a73 package/kernel: move hwmon-vid into a separate package
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31655 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-09 10:48:33 +00:00
jow
127f37919a [package] ppp: remove stray bracked in ppp-up script, thanks swalker
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31647 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-07 22:41:41 +00:00
jogo
b8a14b9359 base-files: wait for wifi modules to settle
On slower devices wifi drivers might take too long for detecting
devices, resulting in the wifi detect call not seeing them.

This was observed on a bcm6348 with bcm4318 wifi. Adding a one second
pause was enough for b43 to expose the device.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31639 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-06 21:25:42 +00:00