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

8650 Commits

Author SHA1 Message Date
jow
41d413b29c [package] base-files: introduce /lib/functions/network.sh
This file will contain common procedures to deal with network interfaces.
Initially provides network_get_ipaddr(), network_get_ipaddr6(),
network_get_subnet() and network_get_subnet6() to determine the
primary IP addresses or subnets of a given logical interface.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31935 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-28 03:15:02 +00:00
nbd
29aa2abbf6 libubox: update to 2012-05-26
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31933 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-28 02:55:50 +00:00
jow
9923737295 [package] iwinfo: assume that no tx power information is available if nl80211 returns 0 dBm maximum
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31932 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-28 00:52:26 +00:00
jow
8b4e17bfbc [package] uhttpd:
- rewrite large parts of the server, use uloop event driven structure
	- support concurrent requests and make the upper limit configurable
	- implement initial version of HTTP-to-ubus JSON proxy and session.* namespace
	- add compile time support for debug information
	- code style changes
	- bump package revision

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31931 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-28 00:52:24 +00:00
nbd
ed3a907ece kernel: remove more unnecessary kernel version checks/dependencies
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31907 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 15:22:13 +00:00
nbd
209413c2fa kernel: remove a few more obsolete CompareKernelPatchVer calls, add dependencies on @TARGET_x86 for a few network drivers that are typically not found in non-PC equipment
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31870 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 12:33:55 +00:00
nbd
d99899b1fc netifd: fix "Command failed: Not found" error with dhcp
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31863 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-26 20:36:49 +00:00
nbd
00d5b5d73f mac80211: backport a fix for single-queue drivers (fixes #11534)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31862 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-26 20:15:28 +00:00
nbd
a8789daec2 ncurses: libncursesw should not depend on libncurses
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31861 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-26 18:03:56 +00:00
nbd
488a50c307 ppp: add back ip-{up,down}.d support for now
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31860 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-26 15:31:54 +00:00
nbd
04288d031e mac80211: get rid of duplicate iw reg set command (thx, stintel)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31859 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-26 14:56:04 +00:00
nbd
05358e5920 netifd: update to latest version, fixes an endian issue in broadcast address handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31858 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-25 07:59:29 +00:00
nbd
b0a9996a85 netifd: update to latest version, fixes overriding the mac address for bridge interfaces (#11526)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31857 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-24 18:45:01 +00:00
nbd
8a303aee1e netifd: bring up wifi at boot
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31855 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-24 16:24:55 +00:00
jow
e459120874 [package] util-linux: compile with -fPIC, some users of its libuuid.a require it, e.g. cryptsetup (#11508)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31854 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-24 09:17:27 +00:00
nbd
d642943131 base-files: kill ubusd and udhcpc on sysupgrade as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31852 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-23 21:54:12 +00:00
nbd
e2590c8421 base-files: allow sysupgrade to kill netifd, fixes pppd shutdown on upgrade
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31851 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-23 21:49:31 +00:00
nbd
95718ecbd7 netifd: improve /sbin/ifup wifi hack, make it work properly with -a. fold /etc/init.d/netifd into /etc/init.d/network
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31850 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-23 21:49:28 +00:00
jow
e771e71e91 [package] netifd: port r27720 (#9763) to the netifd ifup variant
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31849 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-23 21:26:20 +00:00
juhosg
5dbbd23291 package/base-files: copy /lib/functions.sh to the ramfs on sysupgrade
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31842 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-23 21:05:20 +00:00
nbd
d1d40b4296 netifd: update to latest version, adds interface alias support (#11518), and fixes network route drops on dhcp renew
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31840 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-23 20:38:45 +00:00
nbd
fb17c4e710 lantiq: allow platforms with rt2x00 to override the mac address without overriding eeprom, fixes bogus wlan mac address on arv4520
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31835 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-20 21:58:03 +00:00
nbd
31fe90a64a kernel: fix kmod-sched-core build for kernels without codel
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31834 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-20 21:57:58 +00:00
nbd
b2b71070d0 pppd: add noipdefault option to /etc/ppp/options (fixes #11499)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31831 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-20 14:02:05 +00:00
nbd
106ac34f8f netifd: update to latest version, fixes dns server issues (#11501)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31830 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-20 13:56:25 +00:00
nbd
b35e925be7 netifd: update to latest version, fixes peerdns handling, custom dns override and interface metric settings
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31822 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-19 23:47:33 +00:00
jow
0713bcf0c9 [package] kernel: fix packaging of act_connmark.ko (#11492)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31821 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-19 23:33:47 +00:00
jow
2557831cbd [package] openssl: update to v1.0.1c (CVE-2012-2333)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31819 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-19 21:00:14 +00:00
jow
edd13191a9 [package] dnsmasq: bump package revision
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31817 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-19 20:17:57 +00:00
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