Hi,
for the script: /rom/usr/share/udhcpc/default.script, a patch..
there is an annoying bug when for the WAN side DHCP is used and pptp or pppoe.
Everytime the dhcp lease is renewed the default route is deleted -> internet
connection is gone.
Here in my setup (orginal from openwrt) i never saw the case that in an renew
the ip address or routes changed (Provider Inode&Telekom Austria), if renew
should change something then it should check if there is really a change.
--- default.script 2007-06-14 19:29:57.316270942 +0200
+++ default.script2 2007-06-14 19:31:55.347549002 +0200
@@ -8,7 +8,9 @@
ip addr flush $interface
env -i ACTION="ifdown" INTERFACE=$interface PROTO=dhcp
/sbin/hotplug iface
;;
- renew|bound)
+ renew)
+ ;;
+ bound)
ip addr add $ip/${mask:-24} dev $interface
if [ -n "$router" ] ; then
--
Florian Reitmeir
_______________________________________________
freewrt-developers mailing list
[email protected]
https://www.freewrt.org/lists/listinfo/freewrt-developers