1 Commits (7aefa1da37f5f09cc9364ada2dddb3af863133cc)

Author SHA1 Message Date
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 4e34fc521c base-files: derive lease_acquired dhcp state var from /proc/uptime 14 years ago
Jo-Philipp Wich 3bd7985a0b base-files: the busybox update to v1.15.3 completely broke udhcpc route option handling, repair default.script to work with the new format (#6435) 14 years ago
Jo-Philipp Wich d0ab35c115 base-file: add metric option for static and dhcp protos, this simplifies the management of multiple default routes 14 years ago
Jo-Philipp Wich 0fda5f7507 base-files: utilize uci_get_state to read the previous dhcp router address in udhcpc default script. The setup_switch() procedure provided by swconfig calls config_load() during network restart and thus confuses udhcpc's uci state keeping resulting in a missing default route on each second network restart. Bypass the cached state vars and query uci directly to make the script immune against unwanted runtime changes. 14 years ago
Jo-Philipp Wich 84b7b812f3 base-files: cached state vars after scan_interfaces might be out of sync when binding dhcp leases, this could lead to an unconfigured wan interface in certain circumstances. Replace config_get calls with uci_get_state 14 years ago
Jo-Philipp Wich 261d41a906 base-files: - use add_dns() and remove_dns() for when changing resolv.conf.auto for static or dhcp interfaces - force 0644 permissions when creating resolv.conf.auto, fixes dnsmasq permissions denied problem with pppd interfaces - revert dns servers in /sbin/ifdown - bump package revision 15 years ago
Jo-Philipp Wich ea06a67eac base-files: use uci_get() wrapper (#7312) 15 years ago
Jo-Philipp Wich 250b52f673 base-files: revert dhcp state information on ifdown and restore pre-r19530 behaviour in udhcp default.script 15 years ago
Jo-Philipp Wich 520ea8e5f9 base-files: fix udhcpc address acquisition on network restart (patch by Scott Dudley) 15 years ago
Felix Fietkau 91d40a14af Revert "fix nonhotpluggable networks not being brought up. Closes #2781" (r17527) until we've solved the race conditions it creates 15 years ago
Travis Kemen 27915ac778 fix nonhotpluggable networks not being brought up. Closes #2781 15 years ago
Vasilis Tsiligiannis e5b097425d udhcpc: Pass all events to udhcpc.user 16 years ago
Felix Fietkau 7a576b004e allow udhcpc to work properly for interfaces that are not configured through uci 16 years ago
Felix Fietkau d196e4087e udhcpc: add cidr routes support (patch from #5299) 16 years ago
Jo-Philipp Wich 2ee67f7272 base-files: fixup resolv.conf check in udhcpc script 16 years ago
Jo-Philipp Wich 33c38fba27 base-files: - restore device, ifname and aliases state in dhcp script - make sure that resolv.conf.tmp is written once at least for statically configured dns 16 years ago
Jo-Philipp Wich ca609a2431 base-files: replace udhcpc script with an improved version 16 years ago
Felix Fietkau 6a50bf433a udhcpc: run dhcp hotplug events after dns has been set 16 years ago
Jo-Philipp Wich 2d672ef2f5 base-files: allow option dns to override dhcp assigned dns servers 16 years ago
Felix Fietkau 35b92f0c99 don't emit ifup hotplug events on dhcp renew - use a new iface hotplug type 'update' instead; fixes #3906 16 years ago
Felix Fietkau 0cf1a58282 Here comes the new UCI. Enjoy :) 17 years ago
Felix Fietkau f7ff1d6d0f fix a few issues with dynamically assigned interfaces 17 years ago
Felix Fietkau 1b4380b8ed avoid a race condition that might lead to dnsmasq reading an empty resolv.conf (#2007) 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 924cd1ffc9 fix typo 18 years ago
Mike Baker 3e112cbedb cleaner version of the udhcp script 18 years ago
Florian Fainelli 3e9c0379ba Do not suppress routes if the router received on renew is the same (#138) 18 years ago
Felix Fietkau a44c286fdb nuke mdev and replace it with hotplug2 :) 18 years ago
Felix Fietkau 656412d1a3 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 18 years ago
Felix Fietkau 59a06c71cb rename default/ to files/ 18 years ago
Felix Fietkau 5808fe52a4 fix dhcp hotplug events 18 years ago