Commit graph

2053 commits

Author SHA1 Message Date
Florian Fainelli
8c8b85b54c Add generic wpa_supplicant calls and use them for mac80211 and madwifi.
SVN-Revision: 12289
2008-08-12 14:22:42 +00:00
John Crispin
c9f2df5cea fixes firewall makefile description
SVN-Revision: 12285
2008-08-11 22:28:52 +00:00
John Crispin
5627667654 uci firewall - make uci firewall default and remove old code - fix up dependencies
SVN-Revision: 12284
2008-08-11 22:27:36 +00:00
Florian Fainelli
4b5488ebfa Add 802.1x client configuration support and corresponding documentation (#2069)
SVN-Revision: 12283
2008-08-11 21:38:50 +00:00
John Crispin
43e28bf153 uci_firewall - fixes hotplug.d script
SVN-Revision: 12282
2008-08-11 20:51:51 +00:00
John Crispin
0f5cbca010 uci firewall - remove implicit creation of zones, based on network interfaces
SVN-Revision: 12281
2008-08-11 20:46:17 +00:00
Felix Fietkau
5745e536d4 madwifi: napi polling fix - fix u_int negative comparison - add some reserve for polling packets (ff has two frames in one descriptor)
SVN-Revision: 12280
2008-08-11 14:36:50 +00:00
Felix Fietkau
2e46841afd switch the br2684 default to routed mode instead of bridged mode, as it's more common
SVN-Revision: 12277
2008-08-11 13:02:44 +00:00
Felix Fietkau
0778290e26 add missing dependency
SVN-Revision: 12270
2008-08-10 15:49:52 +00:00
Felix Fietkau
166de52b8f fix kmod-ide-core packaging for 2.6.26+
SVN-Revision: 12269
2008-08-10 14:37:23 +00:00
Felix Fietkau
b1683b748d add missing kconfig symbol for generic ide
SVN-Revision: 12268
2008-08-10 14:37:18 +00:00
Felix Fietkau
26aa731dc1 fix aes on x86 (thx, Acinonyx)
SVN-Revision: 12267
2008-08-10 12:06:23 +00:00
Felix Fietkau
91a01e4106 move some webcam/sound related stuff from trunk to packages
SVN-Revision: 12260
2008-08-09 20:36:05 +00:00
Florian Fainelli
d7c8f38007 Make sure we will have lower case MAC addresses when doing WDS
SVN-Revision: 12259
2008-08-09 10:00:49 +00:00
Florian Fainelli
a53aa71c83 Do not run telnet if either dropbear or openssh server are running (#3839)
SVN-Revision: 12258
2008-08-09 09:50:12 +00:00
Florian Fainelli
22aa7c6406 Support encrypted WDS connections (#2463)
SVN-Revision: 12251
2008-08-09 00:18:25 +00:00
Felix Fietkau
753e5b492d add support for appending a file to jffs2 during reflash on the fly
SVN-Revision: 12250
2008-08-08 22:43:19 +00:00
Florian Fainelli
e71cdf8127 package iproute2 has problems building on recent BSD-derived platforms because some programs to be run on the host use malloc.h in an incompatible way.
package/iproute2/patches/004-darwin_fixes.patch has a fix for Darwin,
however the fix can be made to work on other BSD platforms
by changing the patch as below.

I think a similar approach should work for other BSD-derived platforms,
replacing the
	#ifndef __APPLE__
with
	#if !defined(__APPLE__) && !defined(__FreeBSD__) && !defined(...)

or perhaps even with just

	#ifdef __linux__

if the set of platforms where malloc.h is ok is small or restricted
to just linux

In any case, the patch is below. (#3869)
Signed-off-by: Luigi Rizzo <rizzo@iet.unipi.it>

SVN-Revision: 12249
2008-08-08 21:49:17 +00:00
Felix Fietkau
c05eb4ba63 add basic interface alias support. for now (since we don't use ip in our network scripts yet), it adds :1, :2, ... alias interfaces this will change when we add support for the ip utility, but the config format will remain the same. example:
config alias     test
option interface lan
option ipaddr    192.168.1.1
option netmask   255.255.0.0

SVN-Revision: 12241
2008-08-07 15:28:48 +00:00
Florian Fainelli
9c8bb0241f Add 11gdt, 11adt, 11ast and fh modes (#3824)
SVN-Revision: 12240
2008-08-07 15:28:07 +00:00
Gabor Juhos
db4d23b457 add 2.6.26 specific files
SVN-Revision: 12239
2008-08-07 13:50:02 +00:00
Steven Barth
6b6d027172 added support for the timer-trigger to uci LED support
SVN-Revision: 12236
2008-08-07 11:01:46 +00:00
Mike Baker
1139608784 allow ctrl-c to trigger preinit
SVN-Revision: 12231
2008-08-07 07:17:03 +00:00
Felix Fietkau
e9ea28b0af use $(FPIC) in a few places where it matters
SVN-Revision: 12225
2008-08-06 22:10:29 +00:00
Florian Fainelli
ce8903f1ce kexec for powerpc actually only support ps3 or gamecube, not magicbox for instance
SVN-Revision: 12223
2008-08-06 20:20:02 +00:00
Gabor Juhos
6c0474b383 ebtables: useless without kmod-eptables
SVN-Revision: 12214
2008-08-06 15:28:49 +00:00
Felix Fietkau
4d795ca98f spca5xx-le does not work with linux 2.6.26+
SVN-Revision: 12194
2008-08-06 01:21:02 +00:00
Felix Fietkau
b4727d665e fix qc-usb compile on atheros
SVN-Revision: 12185
2008-08-05 23:20:42 +00:00
Felix Fietkau
dde1f5fb54 fix ov51x-jpeg compile
SVN-Revision: 12183
2008-08-05 22:56:34 +00:00
Felix Fietkau
0cc7199e71 install libshared into the staging dir (required by wrt-radauth)
SVN-Revision: 12181
2008-08-05 22:32:26 +00:00
Felix Fietkau
e0b43982fb fix nw802-2.4 compile
SVN-Revision: 12180
2008-08-05 22:31:32 +00:00
Felix Fietkau
7bb55d1b91 madwifi: fix crash on ad-hoc interface init
SVN-Revision: 12161
2008-08-05 20:53:39 +00:00
Felix Fietkau
c2cf1d04c9 mark mac80211 as broken on avr32
SVN-Revision: 12147
2008-08-05 18:02:34 +00:00
Florian Fainelli
d3dd2b6ae5 Fix ipkg compilation with ccache, thanks sn9
SVN-Revision: 12137
2008-08-05 14:04:23 +00:00
Florian Fainelli
1b0318158d Reinstate rdc bootability and force it to use init=/etc/preinit, thus the remove the hackish SetInitramfs actions
SVN-Revision: 12136
2008-08-05 13:42:36 +00:00
Gabor Juhos
3527e7a649 modules/gpio_dev: move to drivers/char/ on older kernels as well, and create a package for it
SVN-Revision: 12133
2008-08-05 09:52:23 +00:00
Felix Fietkau
cf8eecaad5 some more fixes for wds sta separation
SVN-Revision: 12127
2008-08-05 07:19:07 +00:00
Travis Kemen
56172a1eba update opkg to 4564, fixes a couple of memory leaks
SVN-Revision: 12115
2008-08-05 00:48:44 +00:00
John Crispin
dd3f4dd178 move json-c to packages feed
SVN-Revision: 12114
2008-08-05 00:34:30 +00:00
John Crispin
936f53e69c EOF for fonera-mp3 packages
SVN-Revision: 12113
2008-08-05 00:33:04 +00:00
John Crispin
13bbd5932b move foxboard utils to packages feed
SVN-Revision: 12111
2008-08-05 00:30:41 +00:00
John Crispin
72396bd614 add uci led support - /etc/config/system can hold led info which is applied at boot - adds /sbin/led.sh to set/clear leds via a name defined in /etc/config/system
SVN-Revision: 12104
2008-08-04 22:56:46 +00:00
Nicolas Thill
4c195465a8 rework workarounds for crypto modules renamed in 2.6.24 & 2.6.25, add workaround for sha512 renamed in 2.6.26
SVN-Revision: 12098
2008-08-04 16:59:16 +00:00
John Crispin
21bbdc24c3 adds a new uci firewall - iptbales and netfilter packages need to be rewrapped when we switch to this firewall as default - there are some examples in the file /etc/config/firewall - iptables-save/restore are still missing - hotplug takes care of adding/removing netdevs during runtime - misisng features ? wishes ? let me know ...
SVN-Revision: 12089
2008-08-04 11:51:58 +00:00
John Crispin
e4a0bfec3c fixes whitespace error
SVN-Revision: 12088
2008-08-04 11:47:46 +00:00
John Crispin
b73eedd62b work aroung error message during boot if swapon is nt installed
SVN-Revision: 12087
2008-08-04 08:50:16 +00:00
John Crispin
863afccae8 remove warning from hotplug2, which pops up 10 times during boot
SVN-Revision: 12086
2008-08-04 08:04:16 +00:00
Felix Fietkau
b75a7811eb madwifi: more fixes and cleanups for wds sta separation
SVN-Revision: 12082
2008-08-03 21:00:34 +00:00
Felix Fietkau
8ff90e326e network scripts: revert the network state after running ifdown, not before
SVN-Revision: 12081
2008-08-03 21:00:01 +00:00
Imre Kaloz
8de805b27c update ath9k to latest git version
SVN-Revision: 12079
2008-08-03 14:28:21 +00:00
Felix Fietkau
e77ddf9252 make grub compilable under fedora core 8 and other newer distros
SVN-Revision: 12076
2008-08-02 15:15:33 +00:00
Andy Boyett
5a0f48c499 Fix broken hso kmod definition
SVN-Revision: 12074
2008-08-02 07:35:51 +00:00
Andy Boyett
fb8ef51362 net/usb: only package hso for 2.6.26
SVN-Revision: 12069
2008-08-02 03:19:42 +00:00
Travis Kemen
e6d14f7cd7 try to clean up some kernel configs
SVN-Revision: 12067
2008-08-02 02:33:15 +00:00
Felix Fietkau
245c16ba5d madwifi: disable bogus vlan handling code which actually breaks vlan
SVN-Revision: 12065
2008-08-01 13:42:36 +00:00
Florian Fainelli
7836449276 OCF cannot be built under UML
SVN-Revision: 12064
2008-08-01 10:05:12 +00:00
Felix Fietkau
aee15469df use the same hotplug2 parameters for initramfs and regular
SVN-Revision: 12059
2008-08-01 03:09:20 +00:00
Felix Fietkau
37c7e13a5f move the hotplug2 kill command from preinit to /etc/init.d/boot, so that it works for initramfs as well
SVN-Revision: 12058
2008-08-01 03:01:42 +00:00
Felix Fietkau
d98002bd59 avoid duplicate vlan add events
SVN-Revision: 12057
2008-08-01 03:01:25 +00:00
Felix Fietkau
8970a1213b enable wds sta interface splitting by default
SVN-Revision: 12056
2008-08-01 00:38:47 +00:00
Felix Fietkau
1201ed1baa madwifi: remove wds type of wifi-iface without essid, imho it never worked properly and is unsupported now, regular ap/sta with option wds 1 is preferred
SVN-Revision: 12055
2008-08-01 00:26:44 +00:00
Felix Fietkau
a5e83a8bed use the madwifi driver instead of wext in the wpa_supplicant command line. the madwifi driver can associate faster because it uses a different ioctl interface
SVN-Revision: 12053
2008-07-31 22:50:43 +00:00
Felix Fietkau
60f834421c madwifi: fix race condition triggered by active split wds sta interfaces during vap delete
SVN-Revision: 12052
2008-07-31 22:41:31 +00:00
Felix Fietkau
d298a4a411 fix multicast/authframe handling for wds ap with split sta interfaces
SVN-Revision: 12051
2008-07-31 21:11:27 +00:00
Felix Fietkau
434f4269ea initialize the CONFIG_APPEND variable
SVN-Revision: 12050
2008-07-31 21:11:15 +00:00
Felix Fietkau
709eae54e4 madwifi: add some beacon setup/update related fixes (based on Bruno Randolf's patchset)
SVN-Revision: 12049
2008-07-31 18:59:25 +00:00
Felix Fietkau
d6d5c715b9 fix madwifi packet injection
This patch from madwifi commit 3337 makes packet injection work.

Signed-off-by: Petr Liebmann <petrliebman@googlemail.com>

SVN-Revision: 12048
2008-07-31 17:37:09 +00:00
Felix Fietkau
c688bb1d11 madwifi: add 0.9.4 madwifi as a menuconfig option, as requested in some mails/tickets untested, does not work with 2.6.26
SVN-Revision: 12047
2008-07-31 17:27:55 +00:00
Felix Fietkau
b479f15c09 another one ...
SVN-Revision: 12045
2008-07-31 16:16:56 +00:00
Felix Fietkau
6a8c0256d0 upgrade to uci 0.4.7 - fixes a stupid regression introduced in 0.4.5
SVN-Revision: 12044
2008-07-31 15:56:35 +00:00
Imre Kaloz
a273f991f7 sync ath9k with latest git code
SVN-Revision: 12038
2008-07-31 09:51:31 +00:00
Felix Fietkau
6a4edcadc1 fix config_clear(), see #3054
SVN-Revision: 12036
2008-07-31 03:04:32 +00:00
Felix Fietkau
473493c834 enable iw for all 2.6 versions
SVN-Revision: 12035
2008-07-31 02:43:42 +00:00
Felix Fietkau
fbc77ede0a fix duplicate "doth" interface option in madwifi
SVN-Revision: 12032
2008-07-31 02:25:43 +00:00
Felix Fietkau
1081dbcb41 broadcom-diag: reset the interrupt mask of configured leds to avoid spurious interrupts
SVN-Revision: 12030
2008-07-31 01:33:14 +00:00
Felix Fietkau
cf2cd1c384 upgrade to uci 0.4.6 - fixes a parser glitch
SVN-Revision: 12028
2008-07-31 01:10:22 +00:00
Felix Fietkau
11df62d176 link default routes added by the network scripts to the appropriate interface (#2621)
SVN-Revision: 12027
2008-07-30 22:49:25 +00:00
Felix Fietkau
ee56e9ec59 network scripts: properly maintain the network state's list of assigned interfaces
SVN-Revision: 12026
2008-07-30 22:39:56 +00:00
Felix Fietkau
8c453b693c functions.sh: add list_contains function for checking whether a list contains a specific element
SVN-Revision: 12025
2008-07-30 22:39:43 +00:00
Felix Fietkau
4d883da9bf functions.sh: add a function for removing an item from a list in a shell variable
SVN-Revision: 12024
2008-07-30 20:35:22 +00:00
Felix Fietkau
3380590790 upgrade to uci 0.4.5 - adds extra input validation
SVN-Revision: 12023
2008-07-30 20:18:15 +00:00
Felix Fietkau
69ed8ba037 clean up the directory layout of the uci shell api
SVN-Revision: 12022
2008-07-30 19:25:36 +00:00
Felix Fietkau
4053fb48cf nuke uci-sh, it is obsolete and no longer works
SVN-Revision: 12021
2008-07-30 19:25:08 +00:00
Felix Fietkau
4cb7df23e9 allow packages to optionally append config file contents in the environment by setting a flag and calling config_load multiple times
SVN-Revision: 12020
2008-07-30 19:21:09 +00:00
Felix Fietkau
c5ecc1790a fix hotplug2 event processing deadlock
when bringing up ethernet on ixp4xx, the driver may request
a firmware while hotplug2 waits for the netdev bringup to complete.
change the event processing loop to keep an event backlog to allow
unthrottled events to pass through while throttled events are being waited for

SVN-Revision: 12019
2008-07-30 19:02:01 +00:00
John Crispin
79aebec9e0 creates a passwd's shadow file if busybox supports the feature, fixes #2887
SVN-Revision: 12017
2008-07-30 17:09:01 +00:00
John Crispin
93ce64320a adds option to select tls provider when using wpa_supplicant, fixes #3770
SVN-Revision: 12016
2008-07-30 17:04:50 +00:00
Florian Fainelli
cc99e5b35d Disable smash stacking support by default, but allow to enable it as an experimental feature
SVN-Revision: 12010
2008-07-30 12:54:28 +00:00
Florian Fainelli
890c213508 x86_64 also needs -fPIC to create lua shared libraries
SVN-Revision: 12008
2008-07-30 10:04:03 +00:00
Felix Fietkau
10b74a2455 madwifi: add some extra sanity checking
SVN-Revision: 12006
2008-07-30 07:05:12 +00:00
Felix Fietkau
55b55f6861 madwifi: change the network scripts to use the new wds sta separation feature
SVN-Revision: 12005
2008-07-30 05:22:16 +00:00
Felix Fietkau
e606b1603b properly keep track of bridged interfaces in the network state
SVN-Revision: 12004
2008-07-30 05:22:02 +00:00
Felix Fietkau
df292e17b1 madwifi: wds updates - refactor wds code - add interface for separating individual wds stations from the master interface - add some queueing fixes for packets passing through virtual interfaces
SVN-Revision: 12003
2008-07-30 04:45:24 +00:00
John Crispin
fba71e7fb1 fixes etables CONFIG_* selection for >= 2.6.25, fixes #3674
SVN-Revision: 12002
2008-07-30 00:58:36 +00:00
John Crispin
411e1a0757 fixes ipkg dependency bug for spi modules, #3272
SVN-Revision: 12001
2008-07-30 00:27:21 +00:00
John Crispin
a817bad21f add lm sensor and clean up dependency, fixes #3821
SVN-Revision: 11999
2008-07-29 23:49:16 +00:00
John Crispin
b639fc4b00 fixes ppp ipv6 scripts, signed-off-by: Alina Friedrichsen
SVN-Revision: 11998
2008-07-29 23:40:19 +00:00
Travis Kemen
a4dbc3ddb3 remove opkg config file and link ipkg.conf to opkg.conf being they are the same
SVN-Revision: 11994
2008-07-29 17:23:52 +00:00
Travis Kemen
c4f368d258 move curl back to packages
SVN-Revision: 11992
2008-07-29 13:12:54 +00:00
Travis Kemen
f988ff9a3a removed a missed dependancy on curl remove use of autogen, just run the one needed command from in it
SVN-Revision: 11991
2008-07-29 12:57:43 +00:00