45 Commits (58de4a47597876d9da25d1400b92c5b647fd75bd)

Author SHA1 Message Date
John Crispin 533dfc39e3 base-files: drop 2 pointless hotplug trigger stubs 12 years ago
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. 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. 13 years ago
Felix Fietkau c2b5767572 base-files: move network related scripts to a separate package to make the transition to netifd easier 13 years ago
Jo-Philipp Wich e0e6d1029e base-files: use uci_toggle_state() to prevent unwanted aggregation of state vars (#9711) 14 years ago
Jo-Philipp Wich fe8b9d5232 base-files: properly handle vlans on top of wireless interfaces 14 years ago
Jo-Philipp Wich 73468de8d1 base-files: fix sysctl handling, do not react on fake ifaces in route hotplug handler 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 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 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 14 years ago
Jo-Philipp Wich a8c3d1ab6d base-files: save the connect time of interfaces in uci state 14 years ago
Jo-Philipp Wich 506db2a57e base-files: add "mtu" option for route sections, allows setting per-route mtu values 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 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. 15 years ago
Jo-Philipp Wich 8bc961239b base-files: 3g connection interfaces are now called "3g-*" - adjust 10-net hotplug handler to match them 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 15 years ago
Jo-Philipp Wich ea06a67eac base-files: use uci_get() wrapper (#7312) 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 15 years ago
Jo-Philipp Wich 63f49e43e6 base-files: add a hotplug handler for rdate 15 years ago
Felix Fietkau bfeb96126d add the block-mount package by Daniel Dickinson (cshore), replacing existing automount functionality 15 years ago
Jo-Philipp Wich 3634de3b80 base-files: try to activate hotplugged partitions as swap and fall back to lazy mount (#6517) 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) 15 years ago
Jo-Philipp Wich f40eaba4df fix broken logic in r15272, r15273 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 16 years ago
Jo-Philipp Wich a03e00bbcf base-files: remove redundant netmask handling in 10-routes 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. 16 years ago
Jo-Philipp Wich 1cdaa2d3dc allow ipv4 routes without gateway in configuration 16 years ago
Jo-Philipp Wich 7c4f0fcbe7 package/base-files: allow ipv6 routes without gateway specified 16 years ago
Felix Fietkau 5cc72a2874 fix up the network ifname in the network state when receiving iface/ifup events 16 years ago
Felix Fietkau ee56e9ec59 network scripts: properly maintain the network state's list of assigned interfaces 17 years ago
John Crispin 51b28d44a9 use default gateway for routes that have no gw specified, Signed off by: Brian J. Murrell 17 years ago
Felix Fietkau 0cf1a58282 Here comes the new UCI. Enjoy :) 17 years ago
Florian Fainelli e36f4396f6 Add route6 option to setup IPv6 routes (#2528) 17 years ago
Felix Fietkau 049dc2925b fix a race condition with dynamic interfaces and firewalling 18 years ago
Felix Fietkau a366b4ea98 use . /var/state/network instead of config_load to avoid a CONFIG_SECTIONS reset 18 years ago
Felix Fietkau bfa7afbd22 fix static routes for dynamic interfaces (#1446) 18 years ago
John Crispin 2fe37ccdf6 added usb-storage hotpluging 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) 18 years ago
Mike Baker dda5964af5 buggy script; nolonger used 18 years ago
Felix Fietkau ab8cb8d959 remove automounting script for block devices - it's causing more problems than it solves 18 years ago
Felix Fietkau 65b4654000 add support for static routes - based on the patch from #1365 18 years ago
Felix Fietkau 92feed28d8 more reliable fix for handling ppp 18 years ago
Felix Fietkau 354a4b31a4 don't try to automount loopback devices (#1011) 18 years ago
Mike Baker 64b7e4e4cf small tweaks to the usb disk hotplug scripts 18 years ago
Felix Fietkau 59a06c71cb rename default/ to files/ 18 years ago