nbd
032074b799
base-files: move network related scripts to a separate package to make the transition to netifd easier
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28495 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-20 15:01:06 +00:00
jow
108528b2ce
[package] base-files: use uci_toggle_state() to prevent unwanted aggregation of state vars ( #9711 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27616 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-15 14:57:44 +00:00
jow
13bfc6e1cf
[package] base-files: fix sysctl handling, do not react on fake ifaces in route hotplug handler
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25713 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-25 22:44:37 +00:00
jow
370e79ea76
[package] base-files:
...
- properly disable IPv6 on bridge ports
- introduce accept_ra option, defaults to true for dhcp interfaces, false for others
- introduce send_rs option, defaults to true for static interfaces, false for others
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25454 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-11 00:39:11 +00:00
jow
c151dac4be
[package] base-files: derive connect_time from uptime as local system time may warp due to rdate, ntp and other means
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24212 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-01 19:55:24 +00:00
jow
4956084c97
[package] base-files: save the connect time of interfaces in uci state
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24206 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-01 17:37:32 +00:00
jow
0218c10c87
[package] base-files: add "mtu" option for route sections, allows setting per-route mtu values
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22003 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-30 23:46:34 +00:00
jow
796dcb6b2e
[package] base-files:
...
- add aliases to device by default (not ifname)
- introduce option "layer" to select the target ifname to attach the alias to:
- 3 use tun device (tun over bridge over device) fallback to bridge or device
- 2 use bridge (bridge over device) fallback to device
- 1 use device
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21655 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-02 00:22:13 +00:00
jow
85773b84be
[package] base-file: move alias setup to route hotplug, this fixes alias sections for non-static interfaces like ppp, dhcp, 6in4 etc.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21652 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-01 21:43:52 +00:00
jow
5d18a177d8
[package] base-files ( #7316 )
...
- improve rdate reliability
- make rdate config more ntp like
- move time server list to /etc/config/timeserver
- bump package revision
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21495 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-17 19:54:35 +00:00
jow
1ac5ad687b
[package] base-files: add a hotplug handler for rdate
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20518 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-27 17:13:33 +00:00
jow
aa9736360e
fix broken logic in r15272, r15273
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15274 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-19 17:12:02 +00:00
jow
eb4ec858a3
[package] base-files: ( #4928 )
...
handle "option gateway 0.0.0.0" and "option gateway interface" in route sections
as "no gateway given" to allow defining gateway-less routes while still keeping
the possibility to have static routes with a proper gateway on interfaces with#
dynamic ips
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15272 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-19 16:51:58 +00:00
jow
dda4e674ce
[package] base-files: remove redundant netmask handling in 10-routes
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15219 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-12 16:39:29 +00:00
jow
e713ba8d94
allow ipv4 routes without gateway in configuration
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13714 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-22 02:21:25 +00:00
jow
bcab48e4d5
package/base-files: allow ipv6 routes without gateway specified
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13419 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-28 22:45:16 +00:00
nbd
a0accd105e
fix up the network ifname in the network state when receiving iface/ifup events
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13399 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-28 16:18:11 +00:00
blogic
171e1e3acd
use default gateway for routes that have no gw specified, Signed off by: Brian J. Murrell
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11380 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-06 18:49:23 +00:00
nbd
afa5da1d1b
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
florian
8c019c3a53
Add route6 option to setup IPv6 routes ( #2528 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9337 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-16 15:05:19 +00:00
nbd
3c77e53b3f
fix a race condition with dynamic interfaces and firewalling
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8343 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-04 13:26:41 +00:00
nbd
05d9e9fa59
use . /var/state/network instead of config_load to avoid a CONFIG_SECTIONS reset
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7953 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-13 00:44:41 +00:00
nbd
779f081363
fix static routes for dynamic interfaces ( #1446 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7949 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-12 21:23:23 +00:00
nbd
46da140988
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
nbd
c4ce6af0a0
add support for static routes - based on the patch from #1365
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6457 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-02 15:48:29 +00:00