juhosg
9d3fb21d4a
Fix iptables abuse of kernel header files. Use exported headers instead.
...
[juhosg: export xt_layer7.h for all kernel versions]
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31566 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-03 09:43:10 +00:00
juhosg
fe8fbd1c05
Fix pptp handling of routes to server.
...
The existing code is fairly broken. It assumes you're using Legacy IP, and
it assumes that the server is reachable via your default route. Via the
first default route in the 'route -n' output, in fact, regardless of metric.
Fix all those problems by using 'ip route get' to really find the *current*
route to the server, and install a host-specific route to match.
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31565 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-03 09:39:01 +00:00
juhosg
f34832554e
Add ppp-mod-pppol2tp subpackage to ppp
...
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31564 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-03 09:38:58 +00:00
juhosg
439a47e380
ramips: W306R V2.0 - GPIO and Network fixes
...
Fixed: GPIO typos and confirmed GPIO_BUTTON_RESET
Fixed: Lan & Wan reversed: swaped "eth0.2" with "eth0.1" by
removing a line(default is correct), and reversed the
Lan/wan layout LLLLW to WLLLL.
Added: image/Makefile now builds -factory.bin files. I am
unsure of the accepted way to change the makefile but
the name of the image needs to be 'linkn Kernel Image'
in order to be accepted by the OEM firmware.
Known issue: eth0 (internal switch i think has mac address:
00:11:22:33:44:55 but i think it should be same as
the lan).
Known issue: Pressing the reset button has no noticable effect,
i would expect the router to boot failsafe if being
pressed on boot, reboot if short press and reset all
to default if long press.
[juhosg: remove mtdlayout_W306R and use mtdlayout_4M instead]
Signed-off-by: David Pearce <david_18051985@hotmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31557 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-02 19:17:59 +00:00
juhosg
1f249922ce
ramips: Make serial console for DIR-300-B1 work again
...
Make serial console for DIR-300-B1 work again.
With some recent change, "console=ttyS1,57600" was removed from the
default kernel command line, this adds the necessary mkcmdline
incantation to image/Makefile to add it there for this target.
This is quite likely broken for other targets as well.
Without this the console switches to ttyS0 instead of ttyS1 and
kernel output is missing, and the userspace comes up with 9600 baud
instead of 57600.
Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31556 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-02 19:17:58 +00:00
juhosg
371f652cf1
mpc83xx: remove 2.6.36 support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31555 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-02 18:27:26 +00:00
juhosg
d316e764cb
mpc83xx: switch to 3.3
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31554 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-02 18:27:25 +00:00
juhosg
01415999cf
mpc83xx: add support for 3.3
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31553 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-02 18:27:22 +00:00
juhosg
4b296a3cb3
linux/3.3: add more missing symbols
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31552 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-02 18:27:19 +00:00
florian
ec6780b901
[package] openssl: update to 1.0.1b
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31551 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-02 15:40:32 +00:00
florian
a1c9b29340
[brcm63xx] use a define for the poll and debounce interval
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31550 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-02 15:40:26 +00:00
jow
67861b3726
[scripts] ext-toolchain.sh: don't pass CFLAGS when wrapping ld
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31549 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-01 22:45:55 +00:00
juhosg
c5006eede0
linux/3.3: add more missing symbols
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31548 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-01 08:00:26 +00:00
juhosg
a12fd13e23
move CONFIG_BOOKE_WDT_DEFAULT_TIMEOUT to the target configs
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31547 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-01 08:00:25 +00:00
kaloz
7e7649baa9
[coldfire]: switch to 2.6.38
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31546 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-01 07:00:17 +00:00
nbd
7877ca154f
relayd: move the interface fixup to the right place
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31545 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-30 18:27:12 +00:00
nbd
866b5511e1
relayd: use config_load+fixup_interface instead of scan_interfaces to speed up startup time
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31544 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-30 18:24:00 +00:00
nbd
b905c102f0
base-files-network: add a fixup_interface function like with the netifd compatibility scripts - allows selective fixup of individual interface sections instead of having to do the full scan_interfaces
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31543 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-30 18:23:56 +00:00
nbd
5bae60a024
relayd: use an init script instead of a legacy network proto handler ( fixes #11276 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31542 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-30 18:23:52 +00:00
juhosg
e51f7c5d1b
kernel: update linux 3.3 to 3.3.4
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31541 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-30 08:38:11 +00:00
nbd
90ed704fdb
ath9k: merge a ar93xx ht40 performance fix
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31540 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-30 08:20:34 +00:00
nbd
08759f0f3b
mac80211: fix station lookup issues
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31539 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-30 07:57:09 +00:00
nbd
fcaac512c0
mac80211: load lib80211 after cfg80211 ( #11342 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31537 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-29 21:00:17 +00:00
juhosg
1cfcccb5b0
linux: rtl836x: add a generic reset_switch function
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31536 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-29 18:29:31 +00:00
juhosg
5df734f0bc
linux: rtl836x: rename rtl836*_hw_init to rtl836*_setup
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31535 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-29 18:29:29 +00:00
juhosg
1dcdbf2d3f
linux: rtl836x: add a reset_chip callback to rtl8366_smi_ops
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31534 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-29 18:29:26 +00:00
juhosg
f07500066e
ar71xx: allow to disable link polling on unused PHYs
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31533 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-29 18:29:24 +00:00
juhosg
b20dcb287e
rb532: remove 2.6.35 support
...
The generic 2.6.35 support has been remove long time ago.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31532 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-29 16:56:07 +00:00
juhosg
8ca642965f
linux/3.3: refresh patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31531 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-29 16:56:03 +00:00
juhosg
be6aa90ec2
rdc: add 3.3 support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31530 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-29 15:59:49 +00:00
juhosg
8e06d437aa
mpc85xx: add support for 3.3
...
Based on a patch by Wojciech Dubowik <Wojciech.Dubowik@neratec.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31529 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-29 15:55:28 +00:00
juhosg
c3bfb23a87
orion: add 3.3 support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31528 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-29 15:20:40 +00:00
juhosg
418e0144a0
linux/3.3: yet another missing symbol
...
Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31527 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-29 15:08:24 +00:00
juhosg
854a591dbd
package/kernel: add module for the Pericom PT7C4338 RTC chip
...
Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31526 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-29 15:08:23 +00:00
juhosg
d2863cfd2d
linux/3.3: add support for the Pericom PT7C4338 I2C RTC chip
...
Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31525 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-29 15:08:22 +00:00
juhosg
c7ff282f4e
package/kernel: add i2c module support for Freescale MPC processors
...
Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31524 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-29 15:08:21 +00:00
juhosg
3adac4c8e4
mpc85xx: add kmod-booke-wdt to the default packages
...
Based on a patch by Wojciech Dubowik <Wojciech.Dubowik@neratec.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31523 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-29 15:00:38 +00:00
juhosg
a9636d6819
package/kernel: add module for the Booke watchdog
...
Based on a patch by Wojciech Dubowik <Wojciech.Dubowik@neratec.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31522 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-29 15:00:37 +00:00
juhosg
e4a752ed29
mpc85xx: don't override CONFIG_WATHCDOG
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31521 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-29 15:00:36 +00:00
juhosg
95fc5670e1
linux: move CONFIG_BOOKE_WDT to the generic config
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31520 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-29 15:00:34 +00:00
juhosg
afab35ea6e
linux/2.6.36: R.I.P.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31519 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-29 15:00:33 +00:00
juhosg
b2fc0c6423
linux: add broken flag to targets which are using 2.6.36
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31518 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-29 15:00:32 +00:00
nbd
907c8fd776
mac80211: fix WDS AP authentication issues ( #11261 , #11318 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31517 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-29 13:47:37 +00:00
nbd
f5e34b16d4
netifd: update to latest version, fixes address/route list handling issues and fixes dual-stack ppp route handling
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31516 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-29 12:20:10 +00:00
nbd
f730e825f0
hostapd: update to 20120428, fixes some radius issues and wds ap mac address issues
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31515 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-29 11:14:53 +00:00
nbd
b037731dd6
pppd: fix parsing the ipv6-{up,down}-script option
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31514 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-29 10:08:33 +00:00
juhosg
3fa6652791
adm5120: create a new subtarget for the RB1xx devices
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31513 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-29 07:36:46 +00:00
juhosg
d50d82ab6e
adm5120: share a common kernel config between the subtargets
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31512 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-29 07:36:44 +00:00
juhosg
0c3e51f31c
adm5120: merge 3.3 patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31511 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-29 07:36:43 +00:00
juhosg
71b94eaba4
adm5120: remove 2.6.32 support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31510 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-29 07:36:37 +00:00