Commit graph

6500 commits

Author SHA1 Message Date
Gabor Juhos
eca7502dfd base-files: add LED specific functions to /lib/functions/uci-defaults
SVN-Revision: 31991
2012-05-29 16:39:16 +00:00
Felix Fietkau
c444edc6fd netifd: remove obsolete config variable dependency
SVN-Revision: 31988
2012-05-29 13:02:10 +00:00
Felix Fietkau
d8aabfe091 pptp: remove old network scripts
SVN-Revision: 31985
2012-05-29 12:59:23 +00:00
Felix Fietkau
b971ea720c ppp: remove old network scripts
SVN-Revision: 31984
2012-05-29 12:59:19 +00:00
Felix Fietkau
d3efcab813 6to4: remove old network scripts
SVN-Revision: 31983
2012-05-29 12:59:15 +00:00
Felix Fietkau
fdcc84f78e comgt: remove old network scripts
SVN-Revision: 31982
2012-05-29 12:59:11 +00:00
Felix Fietkau
d8d7529e0e 6in4: remove old network scripts
SVN-Revision: 31981
2012-05-29 12:59:07 +00:00
Felix Fietkau
8a9e94b077 base-files: remove base-files-network, netifd is the only supported option now
SVN-Revision: 31980
2012-05-29 12:59:03 +00:00
Felix Fietkau
16eda3e152 ppp: fix local ip in status info (fixes #11551)
SVN-Revision: 31979
2012-05-29 12:58:57 +00:00
Jo-Philipp Wich
c11151bc70 base-files: add network_is_up()
SVN-Revision: 31978
2012-05-29 02:03:25 +00:00
Jo-Philipp Wich
c998280a7c libubox: update to 2012-05-29
SVN-Revision: 31962
2012-05-29 00:36:46 +00:00
Jo-Philipp Wich
bf52cbf108 base-files: let network_get_device() return the l3 interface, introduce network_get_physdev() to obtain the underlying iface (if applicable)
SVN-Revision: 31960
2012-05-29 00:20:16 +00:00
Felix Fietkau
ba73b67726 mac80211: use built-in regulatory database instead of crda to avoid various race conditions
SVN-Revision: 31954
2012-05-28 16:17:30 +00:00
Felix Fietkau
9fba35fe7e netifd: call /sbin/wifi up on /etc/init.d/network reload
SVN-Revision: 31941
2012-05-28 14:22:42 +00:00
Jo-Philipp Wich
8ef9450b37 base-files: add network_get_device() to network.sh
SVN-Revision: 31937
2012-05-28 03:24:56 +00:00
Jo-Philipp Wich
963a0cd98b firewall: fix nat reflection after netifd status format change - use /lib/functions/network.sh - simplify nat reflection code
SVN-Revision: 31936
2012-05-28 03:15:05 +00:00
Jo-Philipp Wich
f1d04190c5 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.
SVN-Revision: 31935
2012-05-28 03:15:02 +00:00
Felix Fietkau
b03dd7a531 libubox: update to 2012-05-26
SVN-Revision: 31933
2012-05-28 02:55:50 +00:00
Jo-Philipp Wich
83758220ae iwinfo: assume that no tx power information is available if nl80211 returns 0 dBm maximum
SVN-Revision: 31932
2012-05-28 00:52:26 +00:00
Jo-Philipp Wich
022fa36b40 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
SVN-Revision: 31931
2012-05-28 00:52:24 +00:00
Felix Fietkau
d1ad1c2c56 kernel: remove more unnecessary kernel version checks/dependencies
SVN-Revision: 31907
2012-05-27 15:22:13 +00:00
Felix Fietkau
b85c7c117a 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
SVN-Revision: 31870
2012-05-27 12:33:55 +00:00
Felix Fietkau
d7522444d2 netifd: fix "Command failed: Not found" error with dhcp
SVN-Revision: 31863
2012-05-26 20:36:49 +00:00
Felix Fietkau
11397a5f75 mac80211: backport a fix for single-queue drivers (fixes #11534)
SVN-Revision: 31862
2012-05-26 20:15:28 +00:00
Felix Fietkau
925fcc107d ncurses: libncursesw should not depend on libncurses
SVN-Revision: 31861
2012-05-26 18:03:56 +00:00
Felix Fietkau
f2db9f2339 ppp: add back ip-{up,down}.d support for now
SVN-Revision: 31860
2012-05-26 15:31:54 +00:00
Felix Fietkau
7c1c457855 mac80211: get rid of duplicate iw reg set command (thx, stintel)
SVN-Revision: 31859
2012-05-26 14:56:04 +00:00
Felix Fietkau
38c2c53e65 netifd: update to latest version, fixes an endian issue in broadcast address handling
SVN-Revision: 31858
2012-05-25 07:59:29 +00:00
Felix Fietkau
ad98ada7d8 netifd: update to latest version, fixes overriding the mac address for bridge interfaces (#11526)
SVN-Revision: 31857
2012-05-24 18:45:01 +00:00
Felix Fietkau
cc61ab5c6d netifd: bring up wifi at boot
SVN-Revision: 31855
2012-05-24 16:24:55 +00:00
Jo-Philipp Wich
44f64af730 util-linux: compile with -fPIC, some users of its libuuid.a require it, e.g. cryptsetup (#11508)
SVN-Revision: 31854
2012-05-24 09:17:27 +00:00
Felix Fietkau
166db84309 base-files: kill ubusd and udhcpc on sysupgrade as well
SVN-Revision: 31852
2012-05-23 21:54:12 +00:00
Felix Fietkau
5d6628a88c base-files: allow sysupgrade to kill netifd, fixes pppd shutdown on upgrade
SVN-Revision: 31851
2012-05-23 21:49:31 +00:00
Felix Fietkau
b86652832e netifd: improve /sbin/ifup wifi hack, make it work properly with -a. fold /etc/init.d/netifd into /etc/init.d/network
SVN-Revision: 31850
2012-05-23 21:49:28 +00:00
Jo-Philipp Wich
267b414b4c netifd: port r27720 (#9763) to the netifd ifup variant
SVN-Revision: 31849
2012-05-23 21:26:20 +00:00
Gabor Juhos
6aec1d72c2 package/base-files: copy /lib/functions.sh to the ramfs on sysupgrade
SVN-Revision: 31842
2012-05-23 21:05:20 +00:00
Felix Fietkau
cba8c384fc netifd: update to latest version, adds interface alias support (#11518), and fixes network route drops on dhcp renew
SVN-Revision: 31840
2012-05-23 20:38:45 +00:00
Felix Fietkau
9037c2ccc6 lantiq: allow platforms with rt2x00 to override the mac address without overriding eeprom, fixes bogus wlan mac address on arv4520
SVN-Revision: 31835
2012-05-20 21:58:03 +00:00
Felix Fietkau
102640b4cf kernel: fix kmod-sched-core build for kernels without codel
SVN-Revision: 31834
2012-05-20 21:57:58 +00:00
Felix Fietkau
64b882f002 pppd: add noipdefault option to /etc/ppp/options (fixes #11499)
SVN-Revision: 31831
2012-05-20 14:02:05 +00:00
Felix Fietkau
402393bbee netifd: update to latest version, fixes dns server issues (#11501)
SVN-Revision: 31830
2012-05-20 13:56:25 +00:00
Felix Fietkau
52e16e27ec netifd: update to latest version, fixes peerdns handling, custom dns override and interface metric settings
SVN-Revision: 31822
2012-05-19 23:47:33 +00:00
Jo-Philipp Wich
fc7c50c1d3 kernel: fix packaging of act_connmark.ko (#11492)
SVN-Revision: 31821
2012-05-19 23:33:47 +00:00
Jo-Philipp Wich
df754ded76 openssl: update to v1.0.1c (CVE-2012-2333)
SVN-Revision: 31819
2012-05-19 21:00:14 +00:00
Jo-Philipp Wich
7345133eae dnsmasq: bump package revision
SVN-Revision: 31817
2012-05-19 20:17:57 +00:00
Jo-Philipp Wich
0e540ec90d 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>

SVN-Revision: 31816
2012-05-19 20:17:56 +00:00
Jo-Philipp Wich
38cf8379b0 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>

SVN-Revision: 31815
2012-05-19 20:17:54 +00:00
Jo-Philipp Wich
3eb1820532 dnsmasq: fix parsing of mx record options (#11365)
SVN-Revision: 31814
2012-05-19 20:17:19 +00:00
Felix Fietkau
5348608f9f netifd: update to latest version, fixes a crash on restart
SVN-Revision: 31812
2012-05-18 21:59:23 +00:00
Felix Fietkau
0b41ae819d ubus: update to latest version, fixes a socket race condition in the client library with uloop
SVN-Revision: 31811
2012-05-18 20:36:02 +00:00