68 Commits (e56dcdcffd8636ea59512fde8fc5e62863af9d49)

Author SHA1 Message Date
Jo-Philipp Wich 93c2c81bcf base-files: introduce option "broadcast" for proto=dhcp interface to enable the broadcast flag in DHCP requests, required by certain providers 15 years ago
Jo-Philipp Wich fa244a1265 base-files: remove IPv6 LL addr from interfaces before adding them to a bridge 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 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 09df0523fd base-files: revert r21595 15 years ago
Jo-Philipp Wich 482b8385d2 base-files: bring bridge port iface down before changing the mac (#7111) 15 years ago
Felix Fietkau 6df2ad3e70 when changing the mac address of a bridge interface, keep member interface addresses in sync (patch from #7111) 15 years ago
Jo-Philipp Wich be41fdd01a base-files: add add_dns() and remove_dns() helpers to network config, useful to merge dns entries from multiple interfaces 15 years ago
Jo-Philipp Wich dd38b15b75 base-files, ppp: fix interface shutdown 15 years ago
Jo-Philipp Wich 66ab73d01f base-files, ppp: remove protocol specific cleanup code from /sbin/ifdown and move it to protocol stop callbacks 15 years ago
Felix Fietkau 73f61a64eb fix error output of brctl if bridging is not supported. 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 7ad9c8615f base-file: revert unrelated change accidentally committed in r19478 15 years ago
Jo-Philipp Wich e367f5434a base-files: preinit: get rid of /dev/null redirections and use grep -q where applicable 15 years ago
Jo-Philipp Wich 8d0bb8f5dd base-files: ensure that the ip6addr of the main interface stays the primary ip by re-adding it after alias setup is completed - patch by Alina Friedrichsen 15 years ago
Hamish Guthrie 406a4a885d Add udhcpc command-line argument to request rootpath 15 years ago
Jo-Philipp Wich 2f921cb48d base-files: clear ip addresses on interfaces that are about to be added to a bridge 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
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
Felix Fietkau 91f98f1756 base-files: some /lib/network/config.sh refactoring 15 years ago
Jo-Philipp Wich 3bb5ea71eb base-files: ensure that ipv6 is loaded if interfaces have an ip6addr defined, clean trailing whitespace, bump pkg revision (#5356) 15 years ago
Felix Fietkau 642870d0cc network: prevent unnecessary interface down/up cycles if no mac address change is requested 16 years ago
Felix Fietkau 154ebf9380 network: do not unnecessarily touch interfaces configured as proto=none; bring down old aliases before setting up new ones 16 years ago
Felix Fietkau 6397e188af do not run hotplug event for aliases 16 years ago
Jo-Philipp Wich 9a72419724 - fix mac assignment for broadcom vifs in bridging mode - thanks abramoff1 for spotting this - fix possible regression with different interface protocols - bump PKG_RELEASE 16 years ago
Jo-Philipp Wich 7e6c947e4b sync macs with vif bssids in broadcom.sh, fixes multi-ssid with wpa 16 years ago
Jo-Philipp Wich 789848d327 Prevent "SIOCSIFHWADDR: Device or resource busy" when trying to change mac address 16 years ago
Nicolas Thill ac915623a6 make network config script work with brctl from both bridge-utils & busybox 16 years ago
Felix Fietkau 9b75b9e35c don't bring down interfaces when preparing them 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
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 049dc2925b fix a race condition with dynamic interfaces and firewalling 17 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