Commit Graph

134 Commits (1907e1587aed3911a61a85a1440faf2430b8254e)

Author SHA1 Message Date
Felix Fietkau fd77ccf847 fix a race condition where ppp interfaces were not added to the firewall properly when brought up at boot time - save the ppp interface unit number in the network state
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13402 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-28 16:41:46 +00:00
Nicolas Thill 8db5c02f5f add missing /etc/functions.sh include required for saving network state (closes: #3902)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12660 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-23 12:48:53 +00:00
Felix Fietkau 2c1edb7dd0 ppp: derive interface unit numbers from previous enumeration
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12417 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-28 00:15:10 +00:00
Felix Fietkau b84846eedc fix ppp interface enumeration - don't enumerate already processed interfaces
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12416 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-27 22:19:42 +00:00
Nicolas Thill d1126692b6 oops, fix typo in [12368]
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12369 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-22 05:03:37 +00:00
Nicolas Thill 5ad11c0b0f install ppp development headers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12368 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-22 05:02:04 +00:00
John Crispin a155b9370d fixes ppp ipv6 scripts, signed-off-by: Alina Friedrichsen
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11998 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-29 23:40:19 +00:00
John Crispin 15e807bd2f make ip-up scripts aware of network settings
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11446 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-11 20:03:08 +00:00
Nicolas Thill e339a3e0b8 [package] ppp/pptp fixes:
- prevent ppp from logging to /etc/ppp/connect-errors (closes: #2989)
 - add dependency on ppp and kmod-gre to pptp
 - bump release number


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11018 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-03 12:11:35 +00:00
Felix Fietkau 7a3bb84d5a fix interface enumeration issues related to /var/state/network (thx to fish for debugging this)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10715 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-02 21:27:28 +00:00
John Crispin 65f00265d2 made ppp usepeerdns configurable, fixes #3187
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10562 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-03-07 11:18:54 +00:00
Felix Fietkau 2f8b5f8c28 Here comes the new UCI. Enjoy :)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10367 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-03 06:48:15 +00:00
Felix Fietkau c307d6ca4a fix pppoe on dynamically assigned interfaces
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9852 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-23 00:41:38 +00:00
Felix Fietkau b5e0831f1e add workaround for ppp-on-boot issues, fixes #2524
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9722 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-13 05:50:24 +00:00
Felix Fietkau b7e711f20f bump ppp version
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9509 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-07 13:24:13 +00:00
Felix Fietkau 9412d8c41f add ppp ipv6 patch by farnz (from #2525)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9508 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-07 13:24:10 +00:00
Felix Fietkau dc8ac151c7 remove linux-atm from ppp build deps - the internal version seems to be working
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8964 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-22 23:32:24 +00:00
Florian Fainelli c3f3661b31 Add ipv6 up/down using route (#2372)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8794 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-16 13:35:51 +00:00
Florian Fainelli b7871c2d93 Use default values for lcp-echo-failure and lcp-echo-interval (#2373)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8785 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-16 09:58:10 +00:00
Felix Fietkau 6ad5c919ce bump package versions after updates
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8680 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-07 20:41:57 +00:00
Felix Fietkau f49065167c fix ppp unit number issues (#2178)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8665 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-07 13:09:17 +00:00
Nicolas Thill 2180fa92a1 move package description to a separate definition, remove it when DESCRIPTION=TITLE
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8659 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-07 08:34:51 +00:00
Felix Fietkau a9908ad1e9 allow the user to disable the defaultroute option for ppp
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8569 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-01 12:57:15 +00:00
Felix Fietkau a15765ecff oops... typo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8564 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-31 16:20:40 +00:00
Felix Fietkau f9b19d8d1c fix issues with multiple ppp links (noticed by Stefano Rivera)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8563 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-31 16:19:19 +00:00
Felix Fietkau 66c928d063 fix ifname in network state for pppoe and pptp, add a workaround for isps sending wrong netmasks for pptp (thx, moonwatcher)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8552 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-30 16:53:22 +00:00
Felix Fietkau 60364baa02 add pppd options patch from #2114
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8116 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-23 02:50:03 +00:00
Felix Fietkau 97ca42e813 keep track of the network interface states (stored in uci format in /var/state/network, overlay over /etc/config/network)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7643 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-16 00:01:33 +00:00
Felix Fietkau 12a81e859f refresh all package patches in the buildroot using quilt
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7490 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-04 11:25:53 +00:00
Mike Baker 74a394b031 various patches to add support for ppp over evdo or character devices
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7076 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-01 21:53:32 +00:00
Felix Fietkau c46c4ead44 add better default config for ar7, add br2684ctl init script, add a missing setting for pppoa
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7024 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-21 09:37:13 +00:00
Florian Fainelli b6d7e32d50 Fix the device names too long (#1591)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6987 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-17 16:45:49 +00:00
Felix Fietkau 0342135981 set the DEVICE variable in hotplug events from ppp interfaces
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6667 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-24 14:12:22 +00:00
Felix Fietkau 713863458d add file type autodetection for the unpack command and nuke PKG_CAT:= in lots of places
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6582 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-16 20:21:39 +00:00
Felix Fietkau c70cfb3d1a add a default for PKG_BUILD_DIR and PKG_INSTALL_DIR (will use KERNEL_BUILD_DIR if kernel.mk is included, BUILD_DIR otherwise)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6580 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-16 19:18:55 +00:00
Florian Fainelli 70a1d9498c Change mtu value for pppoa and pppoe (#945)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6566 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-14 19:00:10 +00:00
Felix Fietkau ae39d6a370 nuke mdev and replace it with hotplug2 :)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6512 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-04 20:31:53 +00:00
Felix Fietkau b66907b65d more reliable fix for handling ppp
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6356 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-25 13:45:45 +00:00
Felix Fietkau 4d6e25d549 fix ppp defaultroute issues (based on patch from #1386, fixes #1181)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6354 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-25 11:53:50 +00:00
Nicolas Thill f9ce8738dd cosmetic change: rename PKG_BUILDDEP to PKG_BUILD_DEPENDS
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6180 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-22 17:33:10 +00:00
Felix Fietkau bd078bad0f Forward port whiterussian resolv.conf changes
/etc/resolv.conf links to /tmp/resolv.conf
/tmp/resolv.conf links to /tmp/resolv.conf.auto by default (which is where the ISPs nameserver is in)
When dnsmasq starts, it replaces /tmp/resolv.conf with a file pointing to 127.0.0.1


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6043 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-08 21:33:53 +00:00
Florian Fainelli 6e7d1b1171 Also use INSTALL_CONF for ppp
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5994 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-05 15:34:48 +00:00
Felix Fietkau 2b439bc328 fix ppp keepalive setting (#1071)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5875 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-20 05:12:49 +00:00
Florian Fainelli 1786ec9400 Add ipv6 support to PPP
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5708 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-07 13:58:21 +00:00
Felix Fietkau 5a32593057 replace lots of manual install commands with INSTALL_* variables
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5624 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-23 00:29:07 +00:00
Felix Fietkau 1d7168260e hopefully fix duplicate ppp instances (#895)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5577 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-18 23:19:32 +00:00
Felix Fietkau 768b48f380 implement target profiles in menuconfig
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5512 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-12 05:06:56 +00:00
Felix Fietkau 26f9b83172 fix vpi/vci setting for pppoa
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5351 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-30 23:58:01 +00:00
Felix Fietkau b108e625f4 enable pppoa for ar7
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5350 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-30 23:00:08 +00:00
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