Commit graph

18252 commits

Author SHA1 Message Date
Jo-Philipp Wich
365f76551a base-files: attempt bring up related wifi devices when calling ifup If a user invoked /sbin/ifup to bring up an interface, the setup used to fail in case of wireless networks tied to a non-bridged interface definition. Likewise, the bringup of "lan" in the default configuration will reinitialize the bridge but do not re-join the wireless network to it, requiring an extra call to /sbin/wifi (which might not be possible anymore due to a severed link if connected wirelessly).
The changeset modifies the "ifup" command to search for related wireless
devices and call "wifi up" on them if applicable. This way the commands for
wireless and non-wireless interfaces are unified from a cli point of view.

The "ifup -a" case has not been changed to keep the logic of the
/etc/init.d/network boot sequence. This might be changed later.

Solves #9763.

SVN-Revision: 27720
2011-07-22 00:21:20 +00:00
Jo-Philipp Wich
90ac92e8be firewall: fix serious bug in state var handling (#9746)
SVN-Revision: 27711
2011-07-20 15:29:10 +00:00
Felix Fietkau
c7173a211d ar71xx: reinitialize global switch settings after reset on ar7240
SVN-Revision: 27705
2011-07-20 14:39:47 +00:00
Felix Fietkau
ca473833c4 ar71xx: configure address aging on ar7240
SVN-Revision: 27704
2011-07-20 14:39:42 +00:00
Felix Fietkau
fefc79f3cb ar71xx: reset the phy in the ethernet init on ar724x
SVN-Revision: 27703
2011-07-20 12:04:34 +00:00
Felix Fietkau
005fe5d1fd ar71xx: make sure that rx and interrupts are disabled before issuing the hardware reset
SVN-Revision: 27702
2011-07-20 12:04:29 +00:00
Felix Fietkau
e7ab000008 ar71xx: increase the delay after the ethernet MAC reset
SVN-Revision: 27701
2011-07-20 12:04:25 +00:00
Felix Fietkau
255dcaa3a6 ar71xx: fix an unused variable warning
SVN-Revision: 27700
2011-07-20 12:04:20 +00:00
Felix Fietkau
49b905a2cf comgt: clean up patch, rename gcom binary to comgt, but add a compatibility symlink
SVN-Revision: 27699
2011-07-20 08:47:19 +00:00
Felix Fietkau
60d593c2d7 uci: fix one more unused-but-set issue (#9731)
SVN-Revision: 27698
2011-07-19 20:44:35 +00:00
John Crispin
8acc276692 sync default kernel config for lantiq danube/ar9
SVN-Revision: 27697
2011-07-19 18:08:09 +00:00
John Crispin
500d7d4bc8 fix etehrnet when using EPHY on lantiq ASE
SVN-Revision: 27696
2011-07-19 18:06:52 +00:00
John Crispin
78a9b1a2ad fixes pci on lantiq AR9 SoC
SVN-Revision: 27695
2011-07-19 18:06:42 +00:00
John Crispin
3833b7be24 add support for more lantiq AR9 boards
SVN-Revision: 27694
2011-07-19 18:06:33 +00:00
Felix Fietkau
fee32761f3 kernel: backport and enable tmpfs xattr support for 2.6.39
SVN-Revision: 27691
2011-07-19 09:00:55 +00:00
Jo-Philipp Wich
9c606eb4c5 uhttpd: pass feature flags (#9742)
SVN-Revision: 27689
2011-07-19 06:59:47 +00:00
Felix Fietkau
80ae98d604 ath9k: validate eeprom chainmask settings, some Ubiquiti devices (and maybe others) contain bogus data, which breaks wifi
SVN-Revision: 27688
2011-07-19 06:42:26 +00:00
John Crispin
6b8c119b41 * fix external interrupts
SVN-Revision: 27687
2011-07-18 16:27:11 +00:00
Jo-Philipp Wich
6576d110d2 uhttpd: support building against openssl instead of cyassl, minor cleanups (#7827)
SVN-Revision: 27686
2011-07-18 14:18:31 +00:00
Felix Fietkau
75d2ba7a5c uci: update to fix more unused-but-set issues (#9731)
SVN-Revision: 27681
2011-07-18 10:09:53 +00:00
Felix Fietkau
226ad1d259 uci: update to 2011-07-18, fixes #9731
SVN-Revision: 27680
2011-07-18 06:32:45 +00:00
Jo-Philipp Wich
85dcf817d8 resolveip: fix whitespace
SVN-Revision: 27671
2011-07-17 22:47:56 +00:00
Jo-Philipp Wich
60fe01e698 pptp: properly support symbolic VPN host names, tear down created host routes (#4876)
SVN-Revision: 27669
2011-07-17 22:42:29 +00:00
Jo-Philipp Wich
28505cad0d add "resolveip", a small DNS lookup utility for use in scripts (#4876)
SVN-Revision: 27666
2011-07-17 22:20:48 +00:00
John Crispin
5906377332 * add gigasx76x update
* rebase patches
* add arv752DPW arv7525PD
* fixes gpio_keys

Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 27665
2011-07-17 19:27:44 +00:00
John Crispin
4da4c491a6 uboot-lantiq
fix arv752DPW and add arv7525PW

SVN-Revision: 27664
2011-07-17 19:27:34 +00:00
John Crispin
c0c7c82a2f revert parts of r27488 to uboot-lantiq
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>

SVN-Revision: 27663
2011-07-17 19:27:24 +00:00
John Crispin
a6ceecd973 better lantiq support in madwifi
Allow for each lantiq target (without wifi eeprom) to define where
wireless configuration data is on flash. Patch also adds support for
sx763 lantiq target.

Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>

SVN-Revision: 27662
2011-07-17 19:27:14 +00:00
John Crispin
e80af9da6b reorganize ltq-dsl-app
Add menu options to ltq-dsl-app.

Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>

SVN-Revision: 27661
2011-07-17 19:26:35 +00:00
Jo-Philipp Wich
0de28706ca base-files: implement a generic mechanism to map per-interface sysctls to uci. - option ipv4_xyz is mapped to /proc/sys/net/ipv4/{conf,neigh}/xyz - option ipv6_xyz is mapped to /proc/sys/net/ipv6/{conf,neigh}/xyz This allows e.g. "option ipv6_proxy_ndp 1" to enable NDP proxying on wan. Fixes ticket #8699.
SVN-Revision: 27653
2011-07-17 17:10:30 +00:00
Jo-Philipp Wich
1267f048da iptables: refresh patches
SVN-Revision: 27652
2011-07-17 15:53:34 +00:00
Jo-Philipp Wich
4b362b98bb 6to4: provide "adv_preferred_lifetime" and "adv_valid_lifetime" options to control the generated radvd prefix values (#9147)
SVN-Revision: 27650
2011-07-17 15:43:18 +00:00
Jo-Philipp Wich
597be91074 iptables: rewrite module help texts (#7446)
SVN-Revision: 27648
2011-07-17 15:31:30 +00:00
Jo-Philipp Wich
1ff200ead5 iptables: fix redundant binaries in iptables-utils & ip6tables-utils (#9691)
SVN-Revision: 27646
2011-07-17 15:01:07 +00:00
Florian Fainelli
3994a2d1f9 add additionnal debug symbols when kernel debugging is enabled
SVN-Revision: 27637
2011-07-17 12:30:04 +00:00
Jo-Philipp Wich
61aba42d5c mountd: correctly handle poll() timeout case, solves possible 100% CPU load when idle (#7293)
SVN-Revision: 27635
2011-07-17 11:58:05 +00:00
Jo-Philipp Wich
1e34c02e3e base-files: add -h and --help options to sysupgrade (#9728)
SVN-Revision: 27630
2011-07-17 09:27:14 +00:00
Jo-Philipp Wich
53a5beaca8 uhttpd: unblock signals in CGI childs, solves hanging ssh logout after server restart from within LuCI and similar problems
SVN-Revision: 27628
2011-07-17 07:18:59 +00:00
Felix Fietkau
d7fa989b42 eglibc: remove obsolete dependencies to fix missing config options for eglibc 2.13
SVN-Revision: 27623
2011-07-16 10:27:48 +00:00
Florian Fainelli
9c7294f7c7 add ehci support to DWV-S0 board (#9059)
SVN-Revision: 27622
2011-07-16 08:39:04 +00:00
Jo-Philipp Wich
78fa88ca81 firewall: rework state variable handling, use uci_toggle_state() where applicable and properly handle duplicates in add and del state helpers (#9152, #9710)
SVN-Revision: 27618
2011-07-15 15:03:57 +00:00
Jo-Philipp Wich
e0e6d1029e base-files: use uci_toggle_state() to prevent unwanted aggregation of state vars (#9711)
SVN-Revision: 27616
2011-07-15 14:57:44 +00:00
Jo-Philipp Wich
9ee12e3f62 uci: implement a uci_toogle_state() wrapper in the shell api which calls uci_revert_state() before uci_set_state()
SVN-Revision: 27614
2011-07-15 14:52:38 +00:00
Felix Fietkau
e084d0e92a ath9k: add some more fixes to the mic failure handling rework patch
SVN-Revision: 27607
2011-07-13 15:37:36 +00:00
Felix Fietkau
9ef09af36d mac80211: fix compile errors because of duplicate atomic64 implementations (#9690)
SVN-Revision: 27605
2011-07-13 15:01:18 +00:00
Florian Fainelli
930485561c fix GEN_SPI_RSET_BASE macro (#9697)
SVN-Revision: 27604
2011-07-13 09:33:11 +00:00
Imre Kaloz
ab5fd3c1cb upgrade to 3.0-rc7
SVN-Revision: 27600
2011-07-12 13:44:16 +00:00
Imre Kaloz
62daf628c0 In R27118, TARGET_FIX_V4BX_SPEC got lost in the linker parameters. Add it back.
Signed-off-by: Jochen Friedrich <jochen@scram.de>

SVN-Revision: 27599
2011-07-12 13:34:18 +00:00
Felix Fietkau
6493242f94 ath9k: fix mic frame handling for bigger packets
SVN-Revision: 27596
2011-07-12 03:24:53 +00:00
Imre Kaloz
0321740a62 upgrade to 3.0-rc6 and optimize for armv5te again
SVN-Revision: 27592
2011-07-11 20:35:16 +00:00