Commit Graph

23436 Commits (5b950415b879051b4392eb416268ac363980efad)

Author SHA1 Message Date
Jonas Gorski 5b950415b8 bcm63xx: add preliminary support for bcm6328
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31878 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 13:22:29 +00:00
Jonas Gorski bf8af3c6f2 bcm63xx: add flash type detection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31877 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 13:22:25 +00:00
Jonas Gorski afb39de7d0 bcm63xx: pad Speedport W303 V images to 4 MiB
Prevents CFE from flashing to the second image offset. Fix up the rootfs
length on first boot else CFE will complain.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31876 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 13:22:22 +00:00
Jonas Gorski 6111884b1c tools: imagetag: add parameter for padding images
Allow images to be padded to a certain size. This prevents CFE from
flashing them to the second image offset.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31875 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 13:22:19 +00:00
Jonas Gorski 4ecf7d09a1 bcm63xx: add a default switch configuration for DSL-274XB
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31874 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 13:22:17 +00:00
Jonas Gorski 4abdddf848 bcm63xx: setup network config through uci-defaults
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31873 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 13:22:14 +00:00
Jonas Gorski 6082cee9d6 bcm63xx: move the board name workaround to /lib/brcm63xx.sh
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31872 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 13:22:11 +00:00
Jonas Gorski 1148159a4f bcm63xx: use the exact board id as board identification string
No need to keep the bcm63xx/ at the start or the chipid info at the end.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31871 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 13:22:08 +00:00
Felix Fietkau cb7839b1f6 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
Felix Fietkau 1c0a92e465 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
Felix Fietkau 59d9fc66ff 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
Felix Fietkau e3f923fe15 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
Felix Fietkau ff8b246052 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
Felix Fietkau 9b1ec4fc2f 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
Felix Fietkau 7a93d981a0 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
Felix Fietkau eec43d487e 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
Felix Fietkau 0b257a6c10 kernel: fix a warning in the connmark module
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31856 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-24 18:25:08 +00:00
Felix Fietkau 4bf5594f9b 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
Jo-Philipp Wich 5de1b14ed2 [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
Felix Fietkau 010cd3161d 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
Felix Fietkau c136759736 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
Felix Fietkau 836884a70b 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
Jo-Philipp Wich 75b8054bbb [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
Gabor Juhos e100214e23 kernel: update linux 3.3 to 3.3.7
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31848 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-23 21:05:32 +00:00
Gabor Juhos 0730d9fbb8 ar71xx: fix an insignificant typo
Patch from #11485.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31847 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-23 21:05:30 +00:00
Gabor Juhos 3412f35035 ar71xx: fix WLAN led for RB751U-2HnD and RB751G-2HnD
Patch by Kamil Trzciński <ayufan@osk-net.pl>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31846 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-23 21:05:25 +00:00
Gabor Juhos d9f7205aa4 ar71xx: add support for TP-Link TL-MR3040
Support for TP-Link TL-MR3040. Power LED not working - always on red, after
start should be green.

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31845 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-23 21:05:24 +00:00
Gabor Juhos db37661614 ramips: Add byte queue limits support to net/ethernet/ramips_main.c
Add byte queue limits support to net/ethernet/ramips_main.c

"Byte queue limits are a mechanism to limit the size of the transmit
hardware queue on a NIC by number of bytes. The goal of these byte
limits is too reduce latency (HOL blocking) caused by excessive
queuing in hardware (aka buffer bloat) without sacrificing
throughput."

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31844 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-23 21:05:23 +00:00
Gabor Juhos 713c364289 ramips: Enable sysupgrade for Sitecom WL-351
Sysupgrade works just fine on my Sitecom WL-351 after adding this
oneliner.

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31843 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-23 21:05:22 +00:00
Gabor Juhos 0e9d604ef7 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
Gabor Juhos 831c677efc linux/3.3: avoid recursive calling of mtd_writev in the block2mtd driver
Should fix #11513. Tested with the x86/generic squashfs image within a VM.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31841 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-23 21:05:19 +00:00
Felix Fietkau e4a0f5e8e3 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
Felix Fietkau 192dbdd2f5 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
Felix Fietkau ab127b7e11 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
Felix Fietkau a40c21d99a 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
Felix Fietkau 4f25173ae3 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
Felix Fietkau 3a4dcd90bc 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
Jo-Philipp Wich 2b42d9a454 [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
Jo-Philipp Wich f16b4efcf3 [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
Jo-Philipp Wich 3ff6da1788 [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
Jo-Philipp Wich 97178bb007 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
Jo-Philipp Wich 1d7469404c 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
Jo-Philipp Wich 474b508fd6 [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
Felix Fietkau b21bdefb82 kernel: merge a net-next fq_codel backlog handling fix
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31813 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-18 22:12:15 +00:00
Felix Fietkau 8712ef2867 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
Felix Fietkau 6561a3c4ea 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
Gabor Juhos bfdcb53577 omap24xx: add support for 3.3
Compile tested only.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31810 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-18 20:22:32 +00:00
Gabor Juhos 020b994103 cns3xxx: add support for 3.3
Compile tested only.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31809 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-18 20:10:53 +00:00
Gabor Juhos 67ea71e397 linux/2.6.39: R.I.P.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31808 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-18 20:10:51 +00:00
Gabor Juhos e738b2550a cns3xxx: sync kernel config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31807 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-18 20:10:48 +00:00