Jo-Philipp Wich
|
acca7eadc4
|
package/base-files: change sysctl handling Move /etc/init.d/sysctl to index 00 and add hotplug script that applies interface specific sysctls for interfaces that only appear later - this allows to reliably configure per-interface parameters in sysctl.conf, e.g. to disable ipv6 autoconfig on a specific iface.
SVN-Revision: 36129
|
12 years ago |
Jo-Philipp Wich
|
272d95f0f1
|
base-files: remove rdate integration, add busybox ntpd init script and server list in /etc/config/system The rdate applet proved to be too unreliable to obtain the current time on boot: - public time servers are rare and often unreachable or overloaded - rdate does not daemonize, it needs a network connection the moment it is started, leading to race conditions - the /etc/config/timeserver configuration is overly complex and there is no reliable way to disable rdate invocations - the time protocol as specified in RFC 868 is considered obsolete This commit adds an init script /etc/init.d/sysntpd which starts and stops the busybox ntpd accordingly. The builtin ntpd can be disabled by either disabling the init script, removing the symlink to busybox or by clearing the timeserver list in /etc/config/system.
SVN-Revision: 28612
|
13 years ago |
Felix Fietkau
|
c2b5767572
|
base-files: move network related scripts to a separate package to make the transition to netifd easier
SVN-Revision: 28495
|
13 years ago |
Jo-Philipp Wich
|
e0e6d1029e
|
base-files: use uci_toggle_state() to prevent unwanted aggregation of state vars (#9711)
SVN-Revision: 27616
|
14 years ago |
Jo-Philipp Wich
|
fe8b9d5232
|
base-files: properly handle vlans on top of wireless interfaces
SVN-Revision: 26230
|
14 years ago |
Jo-Philipp Wich
|
73468de8d1
|
base-files: fix sysctl handling, do not react on fake ifaces in route hotplug handler
SVN-Revision: 25713
|
14 years ago |
Jo-Philipp Wich
|
875ff44592
|
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
SVN-Revision: 25454
|
14 years ago |
Jo-Philipp Wich
|
79b22b246b
|
base-files: make the skipping of ppp interfaces in 10-net hotplug more explicit, this allows users to rely on hotplug events for ppp0 .. ppp9 interfaces spawned by other programs
SVN-Revision: 25354
|
14 years ago |
Jo-Philipp Wich
|
9a996248d4
|
base-files: derive connect_time from uptime as local system time may warp due to rdate, ntp and other means
SVN-Revision: 24212
|
14 years ago |
Jo-Philipp Wich
|
a8c3d1ab6d
|
base-files: save the connect time of interfaces in uci state
SVN-Revision: 24206
|
14 years ago |
Jo-Philipp Wich
|
506db2a57e
|
base-files: add "mtu" option for route sections, allows setting per-route mtu values
SVN-Revision: 22003
|
15 years ago |
Jo-Philipp Wich
|
94db915196
|
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
SVN-Revision: 21655
|
15 years ago |
Jo-Philipp Wich
|
75941a19ac
|
base-file: move alias setup to route hotplug, this fixes alias sections for non-static interfaces like ppp, dhcp, 6in4 etc.
SVN-Revision: 21652
|
15 years ago |
Jo-Philipp Wich
|
8bc961239b
|
base-files: 3g connection interfaces are now called "3g-*" - adjust 10-net hotplug handler to match them
SVN-Revision: 21591
|
15 years ago |
Jo-Philipp Wich
|
da55c9639a
|
base-files (#7316) - improve rdate reliability - make rdate config more ntp like - move time server list to /etc/config/timeserver - bump package revision
SVN-Revision: 21495
|
15 years ago |
Jo-Philipp Wich
|
ea06a67eac
|
base-files: use uci_get() wrapper (#7312)
SVN-Revision: 21490
|
15 years ago |
Felix Fietkau
|
f9591d229a
|
base-files: do not bring up wlan interfaces from hotplug events, so that wrong network/wireless configs are more noticeable
SVN-Revision: 21379
|
15 years ago |
Jo-Philipp Wich
|
63f49e43e6
|
base-files: add a hotplug handler for rdate
SVN-Revision: 20518
|
15 years ago |
Felix Fietkau
|
bfeb96126d
|
add the block-mount package by Daniel Dickinson (cshore), replacing existing automount functionality
SVN-Revision: 19877
|
15 years ago |
Jo-Philipp Wich
|
3634de3b80
|
base-files: try to activate hotplugged partitions as swap and fall back to lazy mount (#6517)
SVN-Revision: 19300
|
15 years ago |
Jo-Philipp Wich
|
27da9d1984
|
base-files: move ipv6 module loading from setup_interface() to addif() in the hotplug call, this ensures that ipv6 is loaded before any interfaces or aliases with ip6addr option are configured (#5356)
SVN-Revision: 17217
|
15 years ago |
Jo-Philipp Wich
|
f40eaba4df
|
fix broken logic in r15272, r15273
SVN-Revision: 15274
|
16 years ago |
Jo-Philipp Wich
|
b0ea64c211
|
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
SVN-Revision: 15272
|
16 years ago |
Jo-Philipp Wich
|
a03e00bbcf
|
base-files: remove redundant netmask handling in 10-routes
SVN-Revision: 15219
|
16 years ago |
Jose Vasconcellos
|
58b8cdb5fd
|
Use block events for the mounting/unmounting of external storage devices. This handles both USB and IEEE1394 devices. It removes /sbin/usb-storage in favor of using the block hotplug event. There are dummy scripts to handle the plug in/out of USB and IEEE1394 devices for updating LEDs. Storage devices are mount as a sub-directory under /mnt.
SVN-Revision: 14289
|
16 years ago |
Jo-Philipp Wich
|
1cdaa2d3dc
|
allow ipv4 routes without gateway in configuration
SVN-Revision: 13714
|
16 years ago |
Jo-Philipp Wich
|
7c4f0fcbe7
|
package/base-files: allow ipv6 routes without gateway specified
SVN-Revision: 13419
|
16 years ago |
Felix Fietkau
|
5cc72a2874
|
fix up the network ifname in the network state when receiving iface/ifup events
SVN-Revision: 13399
|
16 years ago |
Felix Fietkau
|
ee56e9ec59
|
network scripts: properly maintain the network state's list of assigned interfaces
SVN-Revision: 12026
|
17 years ago |
John Crispin
|
51b28d44a9
|
use default gateway for routes that have no gw specified, Signed off by: Brian J. Murrell
SVN-Revision: 11380
|
17 years ago |
Felix Fietkau
|
0cf1a58282
|
Here comes the new UCI. Enjoy :)
SVN-Revision: 10367
|
17 years ago |
Florian Fainelli
|
e36f4396f6
|
Add route6 option to setup IPv6 routes (#2528)
SVN-Revision: 9337
|
17 years ago |
Felix Fietkau
|
049dc2925b
|
fix a race condition with dynamic interfaces and firewalling
SVN-Revision: 8343
|
18 years ago |
Felix Fietkau
|
a366b4ea98
|
use . /var/state/network instead of config_load to avoid a CONFIG_SECTIONS reset
SVN-Revision: 7953
|
18 years ago |
Felix Fietkau
|
bfa7afbd22
|
fix static routes for dynamic interfaces (#1446)
SVN-Revision: 7949
|
18 years ago |
John Crispin
|
2fe37ccdf6
|
added usb-storage hotpluging
SVN-Revision: 7684
|
18 years ago |
Felix Fietkau
|
4f16e9cc3e
|
keep track of the network interface states (stored in uci format in /var/state/network, overlay over /etc/config/network)
SVN-Revision: 7643
|
18 years ago |
Mike Baker
|
dda5964af5
|
buggy script; nolonger used
SVN-Revision: 7078
|
18 years ago |
Felix Fietkau
|
ab8cb8d959
|
remove automounting script for block devices - it's causing more problems than it solves
SVN-Revision: 6937
|
18 years ago |
Felix Fietkau
|
65b4654000
|
add support for static routes - based on the patch from #1365
SVN-Revision: 6457
|
18 years ago |
Felix Fietkau
|
92feed28d8
|
more reliable fix for handling ppp
SVN-Revision: 6356
|
18 years ago |
Felix Fietkau
|
354a4b31a4
|
don't try to automount loopback devices (#1011)
SVN-Revision: 5877
|
18 years ago |
Mike Baker
|
64b7e4e4cf
|
small tweaks to the usb disk hotplug scripts
SVN-Revision: 5667
|
18 years ago |
Felix Fietkau
|
59a06c71cb
|
rename default/ to files/
SVN-Revision: 5622
|
18 years ago |