6 Commits (3a9b6dc313ddaddac16ccf0a1cc8672ee065d323)

Author SHA1 Message Date
Felix Fietkau 6f46704743 base-files: split service related functions off to /lib/functions/service.sh 13 years ago
Jo-Philipp Wich 95edc71814 base-files-network: configure vlan interface name type immediately before the vconfig add calls, fixes race condition (#11127) 13 years ago
Nicolas Thill 348347ce41 package/base-files-network: fix udhcpc issues introduced in r28866 (closes: #10383) 13 years ago
Nicolas Thill f4dacc850c package/base-files-network: use new service wrappers 13 years ago
Felix Fietkau dab5ebaa76 netifd: ensure that a bridge gets created before hostapd needs it, hostapd must not attempt to create the bridge by itself 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 59c13202e0 base-files: introduce "igmp_snooping" option to toggle IGMP snooping on bridge interfaces 13 years ago
Felix Fietkau 4246c6a6b5 base-files: apply network interface settings such as macaddr, mtu and txqueuelen in prepare_interface instead of setup_interface. setting the mtu after the interface is up is unreliable on some drivers such as gianfar 13 years ago
Jo-Philipp Wich 41838f4585 base-files: make ip matching in dns add/remove functions more explicit, avoids overmatching pairs like 1.2.3.35 and 1.2.3.3 13 years ago
Vasilis Tsiligiannis 98372a8eb5 base-files: Fix IPv6 address and route adding on aliases with no IPv4 address configured 13 years ago
Vasilis Tsiligiannis 200fd7bce1 Revert "[package] base-files: Add support for assigning multiple IPv6 addresses on an interface" 13 years ago
Vasilis Tsiligiannis 718c8ab940 base-files: Add support for assigning multiple IPv6 addresses on an interface 13 years ago
Jo-Philipp Wich 0de28706ca base-files: implement a generic mechanism to map per-interface sysctls to uci. - option ipv4_xyz is mapped to /proc/sys/net/ipv4/{conf,neigh}/xyz - option ipv6_xyz is mapped to /proc/sys/net/ipv6/{conf,neigh}/xyz This allows e.g. "option ipv6_proxy_ndp 1" to enable NDP proxying on wan. Fixes ticket #8699. 13 years ago
Jo-Philipp Wich e0e6d1029e base-files: use uci_toggle_state() to prevent unwanted aggregation of state vars (#9711) 13 years ago
Jo-Philipp Wich 344445715a base-files: assume a default ipv6 prefix size of /64, thats what the majority of users mean when they just specify an ip address 14 years ago
Jo-Philipp Wich fd8ec24187 base-files: if an ip6addr without a prefix is given, assume /128 - otherwise the busybox utilities will interpret it as /0 and create an invalid default route 14 years ago
Jo-Philipp Wich 97ee10d691 base-files: fix error reporting for unsupported protocols on virtual interfaces 14 years ago
Felix Fietkau 60f66ded72 base-files: make the MAC address of bridge interfaces sticky to avoid ARP issues on wifi re-configuration 14 years ago
Felix Fietkau e4e63b9c1b base-files: bridge config, avoid having a random ipv6 ll address 14 years ago
Jo-Philipp Wich ee3a4c2ee9 base-file: cleanup ipv6 enabling in unbridge 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 a0b2eba08c base-files: fix a typo in processing of additional dhcp request opts 14 years ago
Jo-Philipp Wich a8edd9d50e base-files: fix handling of dhcp "reqopts" option 14 years ago
Jo-Philipp Wich 3b6851aa82 base-files: implement "reqopts" parameter for dhcp interfaces to specify additional dhcp options to request 14 years ago
Jo-Philipp Wich ca829e805b base-files: disable ipv6 on bridge ports, this prevents stray RA assigned and link local addresses on bridge member devices 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 d856ed78ad base-files: add udhcpc vendorid option (#7744) 14 years ago
Jo-Philipp Wich 52531f4eb6 base-files: kill possibly existing udhcpc instance when bringing up a dhcp iface, utilize service_kill() in dhcp shutdown. Based on patch by Stijn Tintel. Possibly related to #7314 14 years ago
Jo-Philipp Wich 8c4ac87e8f base-files: r22444 caused interfaces to remain down if the macaddr option is used, fix it. Also localize the txqueuelen option variable 14 years ago
Florian Fainelli 56aa129fed add txqueuelen option, patch from Roberto Riggio 14 years ago
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