Commit Graph

85 Commits (c17b680a77cbb3371f379e7883dc8722bb19d5b0)

Author SHA1 Message Date
Felix Fietkau d60a55ea0e use lock to remove race conditions in bringing up ppp and dhcp that would lead to multiple active processes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5298 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-26 01:33:36 +00:00
Felix Fietkau 85926fd547 make network scripts more robust, prevent multiple instances of pppd and udhcpc for the same interface
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5290 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-24 23:59:08 +00:00
Felix Fietkau 03b7db81ac pppd: pass on the configured upper limit for mtu to the channel that ppp uses
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@5010 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-10 12:30:14 +00:00
Felix Fietkau 2b68446157 save the real configured interface name in the 'device' variable when running scan_interfaces() - fixes pppoe problems
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4983 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-09 12:35:31 +00:00
Felix Fietkau b021a87716 fix ppp compile on osx
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4869 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-09-27 17:33:45 +00:00
Nicolas Thill ecb6c4b599 new (last?) attempt at standardizing Makefiles
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4855 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-09-24 20:49:31 +00:00
Felix Fietkau 1b1f3eb0cf add fixes for the pptp network scripts
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4835 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-09-23 18:01:51 +00:00
Felix Fietkau fbb234b915 allow spaces in the keepalive option
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4781 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-09-12 00:34:46 +00:00
Felix Fietkau c434960c71 allow the user to override the lcp echo interval in ppp network configurations
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4780 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-09-12 00:31:37 +00:00
Felix Fietkau a4a9ba8874 fix typo
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4435 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-04 08:43:04 +00:00
Mike Baker ad8fe944b9 more cleanup (make sure to pass TARGET_PATH and not just TARGET_CC)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4432 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-04 05:30:27 +00:00
Mike Baker 0611443ef9 add quotes to TARGET_CC and TARGET_CROSS to help with distcc and ccache
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4429 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-04 03:26:32 +00:00
Felix Fietkau 5c36607da6 port ppp modules to package/kernel and fix ppp package dependencies
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4329 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-07-30 15:27:51 +00:00
Felix Fietkau d3a6fe9915 rewrite of the network scripts and configuration
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4323 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-07-30 03:09:09 +00:00
Nicolas Thill 18b85db06b remove unneeded RSTRIP calls.
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4115 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-07-03 06:38:27 +00:00
Mike Baker f9e5c1b1d5 credit where credit is due
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4091 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-27 00:35:46 +00:00
Felix Fietkau 24cf53528f add INCLUDE_DIR variable for $(TOPDIR)/include
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4033 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-21 02:32:39 +00:00
Felix Fietkau 08cbdbc1b0 build system cleanup. move shared include files into $(TOPDIR)/include, move lzma, mkfs.* into toolchain/
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4032 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-21 02:16:37 +00:00
Nicolas Thill c12c40f4a6 normalize Makefiles.
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3998 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-18 18:30:40 +00:00
Felix Fietkau 908e84df90 ppp: try to reconnect indefinitely (#551)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3921 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-09 01:34:58 +00:00
Felix Fietkau f45baccdc5 improve dependency handling, fix some package makefile bugs
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3843 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-05-30 18:55:52 +00:00
Felix Fietkau bd6b6a84e7 add proper build depends
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3841 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-05-30 17:09:21 +00:00
Nicolas Thill 784e704a9a sync ppp with trunk and convert it to -ng.
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3826 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-05-24 07:19:27 +00:00
Mike Baker ad146e3f65 more BR2_ / CONFIG_ patches
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3784 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-05-15 23:13:49 +00:00
Felix Fietkau e1b417ee76 large init script cleanup and merge of whiterussian changes, new dnsmasq config handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3588 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-04-05 02:09:22 +00:00
Felix Fietkau 5359dd8c8a precompile ppp active filter (reduces libpcap overhead to only a few k), enable by default to support proper demand dialling, fixes #307
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3401 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-03-18 17:27:20 +00:00
Felix Fietkau c80b2d46af disable ppp filter support by default (adds unnecessary bloat by requiring libpcap)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3227 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-02-12 18:33:00 +00:00
Imre Kaloz 8bb7668b19 use gcc 4.0.2 and deselect ppp by default for Aruba, use gcc 3.4.5 for the other platforms
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3210 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-02-10 11:04:44 +00:00
Felix Fietkau a67a857eb6 pppo*: change lcp-echo-interval to 1s instead of 10s
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3191 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-02-08 18:28:21 +00:00
Florian Fainelli 2b3d489f7a Added needed patch for ppp to compile with filter enable
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3148 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-02-05 20:19:24 +00:00
Florian Fainelli 2dab10ef0c Updated ppp to be compiled with PPP filtering options as it was introduced with the newest libpcap
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3147 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-02-05 20:18:24 +00:00
Mike Baker e0af0a4eb8 change cp to $(CP)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3112 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-02-01 23:53:19 +00:00
Felix Fietkau 8eb40fecef port wan_device changes from whiterussian to kamikaze
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2993 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-01-16 03:14:59 +00:00
Felix Fietkau ce4cde8a93 remove useless /etc/ppp/peers/sample file (forgot the Makefile change)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2910 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-01-11 14:41:45 +00:00
Felix Fietkau 94e92de559 remove useless /etc/ppp/peers/sample file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2909 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-01-11 14:40:52 +00:00
Felix Fietkau dc2ed05154 remove nodetach from ppp init scripts
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2534 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-11-19 14:07:54 +00:00
Felix Fietkau 041c66c348 hotplug-based network script rewrite
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2531 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-11-19 03:17:20 +00:00
Felix Fietkau 09b4890dae add lcp ping to ppp ifup script so that it timeouts properly (fixes #42)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2434 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-11-11 20:51:58 +00:00
Felix Fietkau 2acbf41731 patch pppd to be able to deal with time changes during a connection, fixes #31
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2432 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-11-11 19:42:49 +00:00
Felix Fietkau be5c7d2d25 add hotplug stuff to trunk/
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2364 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-11-07 01:12:51 +00:00
Nicolas Thill fdffe64b46 reorganize/rationalize/format package menuconfig,
make updatedd modular

git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2333 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-11-05 02:16:36 +00:00
Felix Fietkau f9970eb8f8 fix typo in ppp init scripts
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2245 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-10-22 16:16:09 +00:00
Felix Fietkau a2ad0ad108 remove Maintainer: and Source: from packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2210 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-10-21 17:21:28 +00:00
Felix Fietkau becad49732 clean up mtu handling in ppp init scripts
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2181 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-10-19 13:07:25 +00:00
Felix Fietkau 6366264aeb add fixes for dsl code, clean up old hacks
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1874 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-09-07 22:28:21 +00:00
Felix Fietkau 294d167cfa reduce timeout for pppoe
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1853 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-09-05 14:13:53 +00:00
Waldemar Brodkorb 18c95414a2 i think ATM is right
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1833 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-09-03 20:36:06 +00:00
Felix Fietkau fb4d3f63fc change pppoa default mtu, fix typo in default config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1820 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-09-01 14:10:50 +00:00
Felix Fietkau fad6b71b9c fix pppoatm init script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1800 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-08-30 21:49:35 +00:00
Felix Fietkau 6e4f79d884 remove connect line from pppoa start script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1757 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-08-26 20:24:49 +00:00