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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Felix Fietkau
7dd7852ba2
clean up board-dependent files, add pppoatm support, add proper config examples
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1754 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-08-26 15:52:12 +00:00
Felix Fietkau
7ef1c93d15
fix pppoe init script
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1734 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-08-23 12:53:17 +00:00
Felix Fietkau
553c37710e
add pppoe fix from whiterussian
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1703 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-08-20 15:06:22 +00:00
Nicolas Thill
0b56edf44d
Make MTU default to 1492 when ppp_mtu nvram variable is not set
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1606 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-08-10 23:27:28 +00:00
Felix Fietkau
2afc4e3e66
add config file /etc/config/network, add board-specific network.overrides (instead of nvram.overrides)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1519 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-07-21 14:02:53 +00:00
Felix Fietkau
26a9aa80de
give basic commandline help
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1447 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-07-15 16:56:23 +00:00
Felix Fietkau
4de322b01a
remove pppoe init script, add ifup.pppoe for that
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1325 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-07-03 18:02:34 +00:00
Nicolas Thill
36ae98c96e
Convert ppp to new packaging style, rename ppp-*-plugin to ppp-mod-*, enable chat package, split ppp patch into multiple patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@940 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-05-18 18:05:44 +00:00