Commit graph

20392 commits

Author SHA1 Message Date
Gabor Juhos
60db046ef2 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>

SVN-Revision: 31565
2012-05-03 09:39:01 +00:00
Gabor Juhos
97697c332f Add ppp-mod-pppol2tp subpackage to ppp
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>

SVN-Revision: 31564
2012-05-03 09:38:58 +00:00
Gabor Juhos
b0449ccf04 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>

SVN-Revision: 31557
2012-05-02 19:17:59 +00:00
Gabor Juhos
90e99b9fe8 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>

SVN-Revision: 31556
2012-05-02 19:17:58 +00:00
Gabor Juhos
fb28062182 mpc83xx: remove 2.6.36 support
SVN-Revision: 31555
2012-05-02 18:27:26 +00:00
Gabor Juhos
3269924fed mpc83xx: switch to 3.3
SVN-Revision: 31554
2012-05-02 18:27:25 +00:00
Gabor Juhos
8ee595315d mpc83xx: add support for 3.3
SVN-Revision: 31553
2012-05-02 18:27:22 +00:00
Gabor Juhos
b4b5f2d018 linux/3.3: add more missing symbols
SVN-Revision: 31552
2012-05-02 18:27:19 +00:00
Florian Fainelli
e69d1b9940 openssl: update to 1.0.1b
SVN-Revision: 31551
2012-05-02 15:40:32 +00:00
Florian Fainelli
5d9b44d110 use a define for the poll and debounce interval
SVN-Revision: 31550
2012-05-02 15:40:26 +00:00
Jo-Philipp Wich
643babfc3c ext-toolchain.sh: don't pass CFLAGS when wrapping ld
SVN-Revision: 31549
2012-05-01 22:45:55 +00:00
Gabor Juhos
7a2b3d8a55 linux/3.3: add more missing symbols
SVN-Revision: 31548
2012-05-01 08:00:26 +00:00
Gabor Juhos
70322ba3d1 move CONFIG_BOOKE_WDT_DEFAULT_TIMEOUT to the target configs
SVN-Revision: 31547
2012-05-01 08:00:25 +00:00
Imre Kaloz
880de62f91 switch to 2.6.38
SVN-Revision: 31546
2012-05-01 07:00:17 +00:00
Felix Fietkau
7a8d12bafa relayd: move the interface fixup to the right place
SVN-Revision: 31545
2012-04-30 18:27:12 +00:00
Felix Fietkau
ea1d49fc90 relayd: use config_load+fixup_interface instead of scan_interfaces to speed up startup time
SVN-Revision: 31544
2012-04-30 18:24:00 +00:00
Felix Fietkau
4ea86b956c 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
SVN-Revision: 31543
2012-04-30 18:23:56 +00:00
Felix Fietkau
8a790d9730 relayd: use an init script instead of a legacy network proto handler (fixes #11276)
SVN-Revision: 31542
2012-04-30 18:23:52 +00:00
Gabor Juhos
cbfce53831 kernel: update linux 3.3 to 3.3.4
SVN-Revision: 31541
2012-04-30 08:38:11 +00:00
Felix Fietkau
f8868fc87b ath9k: merge a ar93xx ht40 performance fix
SVN-Revision: 31540
2012-04-30 08:20:34 +00:00
Felix Fietkau
897abd824f mac80211: fix station lookup issues
SVN-Revision: 31539
2012-04-30 07:57:09 +00:00
Felix Fietkau
a85af68ad0 mac80211: load lib80211 after cfg80211 (#11342)
SVN-Revision: 31537
2012-04-29 21:00:17 +00:00
Gabor Juhos
e931ffd678 linux: rtl836x: add a generic reset_switch function
SVN-Revision: 31536
2012-04-29 18:29:31 +00:00
Gabor Juhos
1d9400263f linux: rtl836x: rename rtl836*_hw_init to rtl836*_setup
SVN-Revision: 31535
2012-04-29 18:29:29 +00:00
Gabor Juhos
badd7a3cf2 linux: rtl836x: add a reset_chip callback to rtl8366_smi_ops
SVN-Revision: 31534
2012-04-29 18:29:26 +00:00
Gabor Juhos
3e3a4d3d6b ar71xx: allow to disable link polling on unused PHYs
SVN-Revision: 31533
2012-04-29 18:29:24 +00:00
Gabor Juhos
a8d3109208 rb532: remove 2.6.35 support
The generic 2.6.35 support has been remove long time ago.

SVN-Revision: 31532
2012-04-29 16:56:07 +00:00
Gabor Juhos
532b74ff7b linux/3.3: refresh patches
SVN-Revision: 31531
2012-04-29 16:56:03 +00:00
Gabor Juhos
27a1f6652a rdc: add 3.3 support
SVN-Revision: 31530
2012-04-29 15:59:49 +00:00
Gabor Juhos
c59b60fa0b mpc85xx: add support for 3.3
Based on a patch by Wojciech Dubowik <Wojciech.Dubowik@neratec.com>

SVN-Revision: 31529
2012-04-29 15:55:28 +00:00
Gabor Juhos
f687ca2296 orion: add 3.3 support
SVN-Revision: 31528
2012-04-29 15:20:40 +00:00
Gabor Juhos
923ebbac81 linux/3.3: yet another missing symbol
Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com>

SVN-Revision: 31527
2012-04-29 15:08:24 +00:00
Gabor Juhos
5528e0b008 package/kernel: add module for the Pericom PT7C4338 RTC chip
Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com>

SVN-Revision: 31526
2012-04-29 15:08:23 +00:00
Gabor Juhos
55fdc18beb linux/3.3: add support for the Pericom PT7C4338 I2C RTC chip
Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com>

SVN-Revision: 31525
2012-04-29 15:08:22 +00:00
Gabor Juhos
8c60f7825b package/kernel: add i2c module support for Freescale MPC processors
Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com>

SVN-Revision: 31524
2012-04-29 15:08:21 +00:00
Gabor Juhos
f6d5998d31 mpc85xx: add kmod-booke-wdt to the default packages
Based on a patch by Wojciech Dubowik <Wojciech.Dubowik@neratec.com>

SVN-Revision: 31523
2012-04-29 15:00:38 +00:00
Gabor Juhos
01a9103254 package/kernel: add module for the Booke watchdog
Based on a patch by Wojciech Dubowik <Wojciech.Dubowik@neratec.com>

SVN-Revision: 31522
2012-04-29 15:00:37 +00:00
Gabor Juhos
296086868a mpc85xx: don't override CONFIG_WATHCDOG
SVN-Revision: 31521
2012-04-29 15:00:36 +00:00
Gabor Juhos
77735b5930 linux: move CONFIG_BOOKE_WDT to the generic config
SVN-Revision: 31520
2012-04-29 15:00:34 +00:00
Gabor Juhos
4fa9cf6c33 linux/2.6.36: R.I.P.
SVN-Revision: 31519
2012-04-29 15:00:33 +00:00
Gabor Juhos
3bc2afc384 linux: add broken flag to targets which are using 2.6.36
SVN-Revision: 31518
2012-04-29 15:00:32 +00:00
Felix Fietkau
bfa2c971a0 mac80211: fix WDS AP authentication issues (#11261, #11318)
SVN-Revision: 31517
2012-04-29 13:47:37 +00:00
Felix Fietkau
f44934b9ae netifd: update to latest version, fixes address/route list handling issues and fixes dual-stack ppp route handling
SVN-Revision: 31516
2012-04-29 12:20:10 +00:00
Felix Fietkau
d4d223edad hostapd: update to 20120428, fixes some radius issues and wds ap mac address issues
SVN-Revision: 31515
2012-04-29 11:14:53 +00:00
Felix Fietkau
873cdb190c pppd: fix parsing the ipv6-{up,down}-script option
SVN-Revision: 31514
2012-04-29 10:08:33 +00:00
Gabor Juhos
417185b33c adm5120: create a new subtarget for the RB1xx devices
SVN-Revision: 31513
2012-04-29 07:36:46 +00:00
Gabor Juhos
7925eea45f adm5120: share a common kernel config between the subtargets
SVN-Revision: 31512
2012-04-29 07:36:44 +00:00
Gabor Juhos
e96d52d198 adm5120: merge 3.3 patches
SVN-Revision: 31511
2012-04-29 07:36:43 +00:00
Gabor Juhos
19be4923e0 adm5120: remove 2.6.32 support
SVN-Revision: 31510
2012-04-29 07:36:37 +00:00
Gabor Juhos
aa48f1326b adm5120: switch to 3.3.3
SVN-Revision: 31509
2012-04-29 07:36:36 +00:00