forked from freifunk-franken/firmware
Fabian Blaese
b5563caa23
Until now, IPv6 connectivity was only ensured by some custom sysctls. OpenWrt has a proper way of enabling IPv6 client (SLAAC, as well as DHCPv6) for an interface. Switching to OpenWrt's way of configuring client addresses for an interface might also make configuration more reliable, as the appropriate sysctls are now set by netifd. Especially OnePort and TwoPort devices will benefit from this change, as IPv6 auto configuration does not have to be manually enabled and disabled for a physical interface, but rather is set as an option for our logical wan interface. At the same time this change enables DHCPv6 client support for WAN. Signed-off-by: Fabian Bläse <fabian@blaese.de> Reviewed-by: Robert Langhammer <rlanghammer@web.de> Reviewed-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> [bump PKG_RELEASE] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
40 lines
736 B
Makefile
40 lines
736 B
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=fff-network
|
|
PKG_RELEASE:=23
|
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/$(PKG_NAME)
|
|
SECTION:=base
|
|
CATEGORY:=Freifunk
|
|
TITLE:= Freifunk-Franken network configuration
|
|
URL:=http://www.freifunk-franken.de
|
|
DEPENDS:=+fff-boardname +fff-firewall
|
|
endef
|
|
|
|
define Package/$(PKG_NAME)/description
|
|
This package configures the network interfaces
|
|
endef
|
|
|
|
define Build/Prepare
|
|
echo "all: " > $(PKG_BUILD_DIR)/Makefile
|
|
endef
|
|
|
|
define Build/Configure
|
|
# nothing
|
|
endef
|
|
|
|
define Build/Compile
|
|
# nothing
|
|
endef
|
|
|
|
define Package/$(PKG_NAME)/install
|
|
$(CP) ./files/* $(1)/
|
|
test -d ./$(ARCH) && $(CP) ./$(ARCH)/* $(1)/etc/
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,$(PKG_NAME)))
|