56 Commits (529e87f6c51d767e74882a3233b9d8ec73d0feab)

Author SHA1 Message Date
Felix Fietkau 9b75b9e35c don't bring down interfaces when preparing them 16 years ago
Felix Fietkau 7300d22877 install missing busybox symlinks for sysupgrade (patch by Frédéric Moulins) 16 years ago
Felix Fietkau f47a4a58c5 fix sysupgrade support for brcm-2.4 and brcm47xx make mtd refresh based config append optional (leave enabled on x86) 16 years ago
Felix Fietkau 22585e578b sysupgrade: add optional delay before rebooting 16 years ago
John Crispin fd26ece7f1 fixes variables, oops 16 years ago
John Crispin 3cf1a8932b adds the option to have no proto for a interface, usefull if the uci states need to be set, but interface bring up is handled somewhere else 16 years ago
Felix Fietkau c05eb4ba63 add basic interface alias support. for now (since we don't use ip in our network scripts yet), it adds :1, :2, ... alias interfaces this will change when we add support for the ip utility, but the config format will remain the same. example: 16 years ago
Felix Fietkau d98002bd59 avoid duplicate vlan add events 16 years ago
Felix Fietkau 11df62d176 link default routes added by the network scripts to the appropriate interface (#2621) 16 years ago
Felix Fietkau e606b1603b properly keep track of bridged interfaces in the network state 16 years ago
Travis Kemen 7346ef83e1 fix sysupgrade endian issues 16 years ago
Felix Fietkau 036b397595 fix sysupgrade 'do_upgrade: not found' error 17 years ago
Felix Fietkau 3c94156b28 fix use of uci_set_state in network scripts (thx, netprince) 17 years ago
Felix Fietkau f4f7d687f0 fix interface enumeration issues related to /var/state/network (thx to fish for debugging this) 17 years ago
Felix Fietkau 0cf1a58282 Here comes the new UCI. Enjoy :) 17 years ago
Felix Fietkau 2afa8ad23c fix ppp issues (thanks to Fatus for debugging this) 17 years ago
Florian Fainelli d8faf285a8 Allow specifying static IPv6 gateways (#2710) 17 years ago
Felix Fietkau 071a907015 add support for interfaces with ipv6, but no ipv4 (patch from #2695) 17 years ago
Florian Fainelli 0d2e9a6539 Turn off stp by default, thanks ejka 17 years ago
Florian Fainelli c37f550144 Turn on stp by default for bridges (#2476) 17 years ago
Travis Kemen 1c09c55875 add clientid to udhcpc thanks pjama 17 years ago
Felix Fietkau ce63393e36 sync awk implementation of config_get_bool with the shell variant 17 years ago
Felix Fietkau 1e38527a52 add sysupgrade script for config preserving system upgrades. only implemented for x86-2.6 at the moment, but can be ported to other platforms easily 17 years ago
Felix Fietkau 049dc2925b fix a race condition with dynamic interfaces and firewalling 17 years ago
Mike Baker 57da2d5713 move uci_load into config_load so that changes can be applied via uci without commiting 18 years ago
Mike Baker 9a785f0b0a more wpa+wds patches 18 years ago
Felix Fietkau 5b52ebfcb1 fix a race condition with broadcom wl devices in a bridge if a device is added before the bridge is brought up, the wifi settings are lost 18 years ago
Mike Baker 810b0bcb22 fix broadcast address (#1611) 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
Felix Fietkau 90d54c0faa more fixes 18 years ago
Felix Fietkau 5e6f8739be some shell variable handling fixes 18 years ago
Felix Fietkau 74f84753e7 fix typo 18 years ago
Felix Fietkau 796e53414f allow config_* and uci_* functions to work on files outside of /etc/config - these files are assumed to use commands generated by uci_* only (as overlay to regular config files) 18 years ago
Travis Kemen ff111c2511 keep uci_set from saving things that have not changed 18 years ago
Eugene Konev 9cea5657af Fix ipv6 address assignment (#1622). 18 years ago
Mike Baker 10ac836039 various patches to add support for ppp over evdo or character devices 18 years ago
Felix Fietkau 478ee4a135 network config: ignore nonexistant interfaces 18 years ago
Felix Fietkau 7f0dd3fa45 rename uci-update.awk to uci.awk and add a few config_* functions 18 years ago
Felix Fietkau f9abb7cbba add an optional parameter to scan_interfaces() that can override the network config file (defaults to 'network') 18 years ago
Felix Fietkau 2c62bddcfe Add an 'Image Configuration' menu to menuconfig Packages can export a list of config options with labels and data types through the metadata. The selected config values will be exported to the target filesystem in /etc/uci-defaults and applied on the first boot. 18 years ago
Felix Fietkau a44c286fdb nuke mdev and replace it with hotplug2 :) 18 years ago
Felix Fietkau c1ab24d04a add a check for brctl in the unbridge() function (fixes #1417) 18 years ago
Felix Fietkau 9405a2a6be Integrate basic UCI config file validation support Needs more testing and validation is not enforced yet 18 years ago
Felix Fietkau 43580f1b1d integrate the fix from #1348 and clean up the network scripts a bit... 18 years ago
Felix Fietkau 2ff5dc759a add broadcast setting for /etc/config/network interfaces 18 years ago
Felix Fietkau 857d350bc7 ignore the bridge option if brctl is not available 18 years ago
Felix Fietkau 73e982ce0c Fix the issue where the default gateway is not set in static mode most of the time. Seems like the bridge is not fast enough at switching to 'forwarding' mode so a short delay before setting the routes is necessary. 18 years ago
Felix Fietkau d18161d2df add checks for {ip,ip6}addr in the network config 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 218b006536 fix CONFIG_FILENAME in uci_commit() 18 years ago