From 126dd581002760d32820e72a34d7f57ff7a72c03 Mon Sep 17 00:00:00 2001 From: lupeng Date: Thu, 2 Aug 2018 17:36:06 +0800 Subject: [PATCH] [softap] kernel config and menuconfig --- package/network/services/dnsmasq/Makefile | 1 + target/allwinner/mandolin-pv1/config-4.9 | 61 +++++++++++- target/allwinner/mandolin-pv1/defconfig | 115 ++++++++++++++++++---- 3 files changed, 158 insertions(+), 19 deletions(-) mode change 100644 => 100755 package/network/services/dnsmasq/Makefile diff --git a/package/network/services/dnsmasq/Makefile b/package/network/services/dnsmasq/Makefile old mode 100644 new mode 100755 index f9c003870..e94de7c14 --- a/package/network/services/dnsmasq/Makefile +++ b/package/network/services/dnsmasq/Makefile @@ -44,6 +44,7 @@ endef define Package/dnsmasq $(call Package/dnsmasq/Default) VARIANT:=nodhcpv6 + PROVIDES:=dhcp-server endef define Package/dnsmasq-dhcpv6 diff --git a/target/allwinner/mandolin-pv1/config-4.9 b/target/allwinner/mandolin-pv1/config-4.9 index a23e10cd5..5e2440f31 100644 --- a/target/allwinner/mandolin-pv1/config-4.9 +++ b/target/allwinner/mandolin-pv1/config-4.9 @@ -283,6 +283,7 @@ CONFIG_DMA_OF=y CONFIG_DMA_SHARED_BUFFER=y CONFIG_DMA_SUNXI=y CONFIG_DMA_VIRTUAL_CHANNELS=y +CONFIG_DNOTIFY=y CONFIG_DST_CACHE=y CONFIG_DTC=y CONFIG_DT_IDLE_STATES=y @@ -322,7 +323,6 @@ CONFIG_FIX_EARLYCON_MEM=y CONFIG_FRAME_VECTOR=y CONFIG_FRAME_WARN=2048 CONFIG_FREEZER=y -# CONFIG_FSNOTIFY is not set # CONFIG_FS_ENCRYPTION is not set CONFIG_FS_MBCACHE=y CONFIG_FS_POSIX_ACL=y @@ -447,7 +447,6 @@ CONFIG_INET_TCP_DIAG=y CONFIG_INET_TUNNEL=y CONFIG_INET_UDP_DIAG=y CONFIG_INITRAMFS_SOURCE="" -# CONFIG_INOTIFY_USER is not set CONFIG_INPUT=y CONFIG_INPUT_EVDEV=y CONFIG_INPUT_KEYBOARD=y @@ -466,12 +465,42 @@ CONFIG_ION_SUNXI=y # CONFIG_ION_TEST is not set CONFIG_IOSCHED_CFQ=y CONFIG_IP_FIB_TRIE_STATS=y +CONFIG_IP_NF_FILTER=y +CONFIG_IP_NF_IPTABLES=y +CONFIG_IP_NF_MANGLE=y +CONFIG_IP_NF_NAT=y +CONFIG_IP_NF_TARGET_MASQUERADE=y +CONFIG_IP_NF_TARGET_NETMAP=y +CONFIG_IP_NF_TARGET_REDIRECT=y CONFIG_IP_PIMSM_V1=y CONFIG_IP_PIMSM_V2=y CONFIG_IP_PNP=y # CONFIG_IP_PNP_BOOTP is not set # CONFIG_IP_PNP_DHCP is not set # CONFIG_IP_PNP_RARP is not set +CONFIG_IP_VS=y +# CONFIG_IP_VS_DEBUG is not set +# CONFIG_IP_VS_DH is not set +# CONFIG_IP_VS_FO is not set +# CONFIG_IP_VS_LBLC is not set +# CONFIG_IP_VS_LBLCR is not set +# CONFIG_IP_VS_LC is not set +CONFIG_IP_VS_NFCT=y +# CONFIG_IP_VS_NQ is not set +# CONFIG_IP_VS_OVF is not set +# CONFIG_IP_VS_PROTO_AH is not set +# CONFIG_IP_VS_PROTO_AH_ESP is not set +# CONFIG_IP_VS_PROTO_ESP is not set +# CONFIG_IP_VS_PROTO_SCTP is not set +# CONFIG_IP_VS_PROTO_TCP is not set +# CONFIG_IP_VS_PROTO_UDP is not set +# CONFIG_IP_VS_RR is not set +# CONFIG_IP_VS_SED is not set +# CONFIG_IP_VS_SH is not set +CONFIG_IP_VS_SH_TAB_BITS=8 +CONFIG_IP_VS_TAB_BITS=12 +# CONFIG_IP_VS_WLC is not set +# CONFIG_IP_VS_WRR is not set CONFIG_IRQCHIP=y CONFIG_IRQ_DOMAIN=y CONFIG_IRQ_DOMAIN_HIERARCHY=y @@ -549,6 +578,19 @@ CONFIG_NEED_DMA_MAP_STATE=y CONFIG_NEED_MACH_IO_H=y CONFIG_NEED_MACH_MEMORY_H=y CONFIG_NEON=y +CONFIG_NETFILTER=y +CONFIG_NETFILTER_ADVANCED=y +CONFIG_NETFILTER_NETLINK=m +CONFIG_NETFILTER_XTABLES=y +CONFIG_NETFILTER_XT_MATCH_CONNTRACK=y +# CONFIG_NETFILTER_XT_MATCH_IPVS is not set +# CONFIG_NETFILTER_XT_MATCH_QUOTA2 is not set +CONFIG_NETFILTER_XT_MATCH_STATE=y +CONFIG_NETFILTER_XT_NAT=y +# CONFIG_NETFILTER_XT_TARGET_CONNSECMARK is not set +CONFIG_NETFILTER_XT_TARGET_NETMAP=y +CONFIG_NETFILTER_XT_TARGET_REDIRECT=y +# CONFIG_NETFILTER_XT_TARGET_SECMARK is not set CONFIG_NETWORK_SECMARK=y # CONFIG_NET_CLS_MATCHALL is not set # CONFIG_NET_DEVLINK is not set @@ -563,6 +605,21 @@ CONFIG_NET_VENDOR_ALLWINNER=y CONFIG_NET_VENDOR_AMAZON=y CONFIG_NET_VENDOR_NETRONOME=y # CONFIG_NEW_LEDS is not set +CONFIG_NF_CONNTRACK=y +CONFIG_NF_CONNTRACK_EVENTS=y +CONFIG_NF_CONNTRACK_IPV4=y +CONFIG_NF_CONNTRACK_MARK=y +CONFIG_NF_CONNTRACK_SECMARK=y +CONFIG_NF_CONNTRACK_TIMEOUT=y +CONFIG_NF_CONNTRACK_TIMESTAMP=y +CONFIG_NF_CT_NETLINK=m +CONFIG_NF_CT_NETLINK_TIMEOUT=m +CONFIG_NF_DEFRAG_IPV4=y +CONFIG_NF_NAT=y +CONFIG_NF_NAT_IPV4=y +CONFIG_NF_NAT_MASQUERADE_IPV4=y +CONFIG_NF_NAT_NEEDED=y +CONFIG_NF_NAT_REDIRECT=y CONFIG_NL80211_TESTMODE=y CONFIG_NLS=y CONFIG_NLS_CODEPAGE_437=y diff --git a/target/allwinner/mandolin-pv1/defconfig b/target/allwinner/mandolin-pv1/defconfig index f01e5d7cc..83ae263a9 100644 --- a/target/allwinner/mandolin-pv1/defconfig +++ b/target/allwinner/mandolin-pv1/defconfig @@ -1256,7 +1256,7 @@ CONFIG_BUSYBOX_DEFAULT_ASH_TEST=y CONFIG_BUSYBOX_DEFAULT_FEATURE_SH_MATH=y CONFIG_BUSYBOX_DEFAULT_FEATURE_SH_MATH_64=y # CONFIG_PACKAGE_ca-certificates is not set -# CONFIG_PACKAGE_dnsmasq is not set +CONFIG_PACKAGE_dnsmasq=y # CONFIG_PACKAGE_dnsmasq-full is not set CONFIG_PACKAGE_dropbear=y @@ -1362,7 +1362,7 @@ CONFIG_PACKAGE_wireless-tools=y # CONFIG_PACKAGE_jpegdecodedemo is not set # CONFIG_PACKAGE_moduledemo is not set # CONFIG_PACKAGE_tmetadataretrieverdemo is not set -# CONFIG_PACKAGE_tplayerdemo is not set +CONFIG_PACKAGE_tplayerdemo=y # CONFIG_PACKAGE_trecorderdemo is not set # CONFIG_PACKAGE_MtpDaemon is not set CONFIG_PACKAGE_adau1761=y @@ -1385,7 +1385,7 @@ CONFIG_NO_USE_VIN_ISP=y CONFIG_PACKAGE_liballwinner-base=y # CONFIG_PACKAGE_liballwinner-ipc is not set # CONFIG_PACKAGE_libc-bench is not set -# CONFIG_PACKAGE_libcedarx2.7 is not set +CONFIG_PACKAGE_libcedarx2.7=y # # Select cedarx configuration options @@ -1394,46 +1394,83 @@ CONFIG_PACKAGE_liballwinner-base=y # # Video Encoders --- # +CONFIG_CEDAR_VIDEO_ENCODER_ALL=y # # Muxers --- # +CONFIG_CEDAR_MUXER_ALL=y # # Audio Encoders --- # +CONFIG_CEDAR_AENCODER_ALL=y # # Video Decoders --- # +CONFIG_CEDAR_VDECODER_H264=y +CONFIG_CEDAR_VDECODER_AVS=y +CONFIG_CEDAR_VDECODER_H265=y +CONFIG_CEDAR_VDECODER_MJPEG=y +CONFIG_CEDAR_VDECODER_MPEG2=y +CONFIG_CEDAR_VDECODER_MPEG4BASE=y +CONFIG_CEDAR_VDECODER_MPEG4DX=y +CONFIG_CEDAR_VDECODER_MPEG4H263=y +CONFIG_CEDAR_VDECODER_MPEG4NORMAL=y +CONFIG_CEDAR_VDECODER_VP8=y +CONFIG_CEDAR_VDECODER_WMV3=y # # Audio Decoders --- # +CONFIG_CEDAR_ADECODER_AAC=y +CONFIG_CEDAR_ADECODER_ALAC=y +CONFIG_CEDAR_ADECODER_AMR=y +CONFIG_CEDAR_ADECODER_APE=y +CONFIG_CEDAR_ADECODER_ATRC=y +CONFIG_CEDAR_ADECODER_COOK=y +CONFIG_CEDAR_ADECODER_FLAC=y +CONFIG_CEDAR_ADECODER_MP3=y +CONFIG_CEDAR_ADECODER_OGG=y +CONFIG_CEDAR_ADECODER_SIPR=y +CONFIG_CEDAR_ADECODER_WAV=y +CONFIG_CEDAR_ADECODER_RA=y # # Subtitle Decoders --- # +CONFIG_CEDAR_SUBTITLE_SUPPORT=y # # Parsers --- # +CONFIG_CEDAR_PARSER_ALL=y # # Streams --- # +CONFIG_CEDAR_STREAM_ALL=y # # Middleware --- # +CONFIG_TPLAYER=y +CONFIG_TRECORDER=y +CONFIG_TMETADATARETRIVER=y +CONFIG_JPEGDECODER=y # # OMX interface support --- # +# CONFIG_OMX is not set # # Select Cedarx memory options # +# CONFIG_CUSTOM_VBV_ENABLE is not set +# CONFIG_SCALE_DOWN_ENABLE is not set +# CONFIG_CUSTOM_FBM_NUM_ENABLE is not set # CONFIG_USE_ION_BUF_ENABLE is not set # CONFIG_CUSTOM_CACHE_ENABLE is not set # CONFIG_TR_YES_USE_VIN_ISP is not set @@ -1461,7 +1498,7 @@ CONFIG_PACKAGE_resample=y # CONFIG_PACKAGE_smartlinkd is not set # CONFIG_PACKAGE_snapcast is not set CONFIG_PACKAGE_softap=y -# CONFIG_PACKAGE_softap-demo is not set +CONFIG_PACKAGE_softap-demo=y # CONFIG_PACKAGE_speech is not set # CONFIG_PACKAGE_stress-ng is not set # CONFIG_PACKAGE_tina-upgrade is not set @@ -1661,6 +1698,7 @@ CONFIG_PACKAGE_kmod-touchscreen-gt82x=y # CONFIG_PACKAGE_kmod-ledtrig-heartbeat is not set # CONFIG_PACKAGE_kmod-ledtrig-morse is not set # CONFIG_PACKAGE_kmod-ledtrig-netdev is not set +# CONFIG_PACKAGE_kmod-ledtrig-netfilter is not set # CONFIG_PACKAGE_kmod-ledtrig-oneshot is not set # CONFIG_PACKAGE_kmod-ledtrig-timer is not set # CONFIG_PACKAGE_kmod-ledtrig-transient is not set @@ -1717,7 +1755,7 @@ CONFIG_PACKAGE_kmod-nls-base=y # CONFIG_PACKAGE_kmod-ipt-condition is not set # CONFIG_PACKAGE_kmod-ipt-conntrack is not set # CONFIG_PACKAGE_kmod-ipt-conntrack-extra is not set -# CONFIG_PACKAGE_kmod-ipt-core is not set +CONFIG_PACKAGE_kmod-ipt-core=y # CONFIG_PACKAGE_kmod-ipt-debug is not set # CONFIG_PACKAGE_kmod-ipt-delude is not set # CONFIG_PACKAGE_kmod-ipt-dhcpmac is not set @@ -1755,7 +1793,7 @@ CONFIG_PACKAGE_kmod-nls-base=y # CONFIG_PACKAGE_kmod-ipt-ulog is not set # CONFIG_PACKAGE_kmod-nf-conntrack is not set # CONFIG_PACKAGE_kmod-nf-conntrack-netlink is not set -# CONFIG_PACKAGE_kmod-nf-ipt is not set +CONFIG_PACKAGE_kmod-nf-ipt=y # CONFIG_PACKAGE_kmod-nf-nat is not set # CONFIG_PACKAGE_kmod-nf-nathelper is not set # CONFIG_PACKAGE_kmod-nf-nathelper-extra is not set @@ -2587,25 +2625,25 @@ CONFIG_PACKAGE_zlib=y # # Translations # -# CONFIG_LUCI_LANG_uk is not set # CONFIG_LUCI_LANG_hu is not set # CONFIG_LUCI_LANG_pt is not set -# CONFIG_LUCI_LANG_ro is not set -# CONFIG_LUCI_LANG_en is not set -# CONFIG_LUCI_LANG_el is not set # CONFIG_LUCI_LANG_sk is not set -# CONFIG_LUCI_LANG_ja is not set +# CONFIG_LUCI_LANG_no is not set +# CONFIG_LUCI_LANG_en is not set +# CONFIG_LUCI_LANG_pl is not set +# CONFIG_LUCI_LANG_uk is not set +# CONFIG_LUCI_LANG_ru is not set # CONFIG_LUCI_LANG_vi is not set # CONFIG_LUCI_LANG_he is not set -# CONFIG_LUCI_LANG_no is not set +# CONFIG_LUCI_LANG_ro is not set # CONFIG_LUCI_LANG_ms is not set -# CONFIG_LUCI_LANG_pl is not set # CONFIG_LUCI_LANG_zh-cn is not set # CONFIG_LUCI_LANG_de is not set # CONFIG_LUCI_LANG_zh-tw is not set # CONFIG_LUCI_LANG_tr is not set # CONFIG_LUCI_LANG_sv is not set -# CONFIG_LUCI_LANG_ru is not set +# CONFIG_LUCI_LANG_ja is not set +# CONFIG_LUCI_LANG_el is not set # CONFIG_LUCI_LANG_ca is not set # CONFIG_LUCI_LANG_es is not set # CONFIG_LUCI_LANG_pt-br is not set @@ -2645,6 +2683,7 @@ CONFIG_PACKAGE_zlib=y # CONFIG_PACKAGE_luci-app-olsr-services is not set # CONFIG_PACKAGE_luci-app-olsr-viz is not set # CONFIG_PACKAGE_luci-app-openvpn is not set +# CONFIG_PACKAGE_luci-app-p2pblock is not set # CONFIG_PACKAGE_luci-app-p910nd is not set # CONFIG_PACKAGE_luci-app-pbx is not set # CONFIG_PACKAGE_luci-app-pbx-voicemail is not set @@ -2657,6 +2696,7 @@ CONFIG_PACKAGE_zlib=y # CONFIG_PACKAGE_luci-app-shairplay is not set # CONFIG_PACKAGE_luci-app-shairport is not set # CONFIG_PACKAGE_luci-app-siitwizard is not set +# CONFIG_PACKAGE_luci-app-splash is not set # CONFIG_PACKAGE_luci-app-statistics is not set # CONFIG_PACKAGE_luci-app-tinyproxy is not set # CONFIG_PACKAGE_luci-app-transmission is not set @@ -2702,6 +2742,7 @@ CONFIG_PACKAGE_zlib=y # # CONFIG_PACKAGE_freifunk-common is not set # CONFIG_PACKAGE_freifunk-firewall is not set +# CONFIG_PACKAGE_freifunk-p2pblock is not set # CONFIG_PACKAGE_freifunk-policyrouting is not set # CONFIG_PACKAGE_freifunk-watchdog is not set # CONFIG_PACKAGE_meshwizard is not set @@ -2821,6 +2862,7 @@ CONFIG_PACKAGE_ntes_record=y # # Captive Portals # +# CONFIG_PACKAGE_nodogsplash is not set # # File Transfer @@ -2838,7 +2880,45 @@ CONFIG_PACKAGE_ntes_record=y # CONFIG_PACKAGE_ebtables is not set # CONFIG_PACKAGE_fwknop is not set # CONFIG_PACKAGE_fwknopd is not set -# CONFIG_PACKAGE_iptables is not set +CONFIG_PACKAGE_iptables=y +# CONFIG_PACKAGE_iptables-mod-account is not set +# CONFIG_PACKAGE_iptables-mod-chaos is not set +# CONFIG_PACKAGE_iptables-mod-cluster is not set +# CONFIG_PACKAGE_iptables-mod-clusterip is not set +# CONFIG_PACKAGE_iptables-mod-condition is not set +# CONFIG_PACKAGE_iptables-mod-conntrack-extra is not set +# CONFIG_PACKAGE_iptables-mod-delude is not set +# CONFIG_PACKAGE_iptables-mod-dhcpmac is not set +# CONFIG_PACKAGE_iptables-mod-dnetmap is not set +# CONFIG_PACKAGE_iptables-mod-extra is not set +# CONFIG_PACKAGE_iptables-mod-filter is not set +# CONFIG_PACKAGE_iptables-mod-fuzzy is not set +# CONFIG_PACKAGE_iptables-mod-geoip is not set +# CONFIG_PACKAGE_iptables-mod-hashlimit is not set +# CONFIG_PACKAGE_iptables-mod-iface is not set +# CONFIG_PACKAGE_iptables-mod-ipmark is not set +# CONFIG_PACKAGE_iptables-mod-ipopt is not set +# CONFIG_PACKAGE_iptables-mod-ipp2p is not set +# CONFIG_PACKAGE_iptables-mod-iprange is not set +# CONFIG_PACKAGE_iptables-mod-ipsec is not set +# CONFIG_PACKAGE_iptables-mod-ipv4options is not set +# CONFIG_PACKAGE_iptables-mod-led is not set +# CONFIG_PACKAGE_iptables-mod-length2 is not set +# CONFIG_PACKAGE_iptables-mod-logmark is not set +# CONFIG_PACKAGE_iptables-mod-lscan is not set +# CONFIG_PACKAGE_iptables-mod-lua is not set +# CONFIG_PACKAGE_iptables-mod-nat-extra is not set +# CONFIG_PACKAGE_iptables-mod-nflog is not set +# CONFIG_PACKAGE_iptables-mod-nfqueue is not set +# CONFIG_PACKAGE_iptables-mod-psd is not set +# CONFIG_PACKAGE_iptables-mod-quota2 is not set +# CONFIG_PACKAGE_iptables-mod-sysrq is not set +# CONFIG_PACKAGE_iptables-mod-tarpit is not set +# CONFIG_PACKAGE_iptables-mod-tee is not set +# CONFIG_PACKAGE_iptables-mod-tproxy is not set +# CONFIG_PACKAGE_iptables-mod-u32 is not set +# CONFIG_PACKAGE_iptables-mod-ulog is not set +# CONFIG_PACKAGE_iptaccount is not set # CONFIG_PACKAGE_miniupnpd is not set # @@ -3028,10 +3108,11 @@ CONFIG_PACKAGE_ntes_record=y # CONFIG_PACKAGE_hnet-full-secure is not set # CONFIG_PACKAGE_hnetd-nossl is not set # CONFIG_PACKAGE_hnetd-openssl is not set -# CONFIG_PACKAGE_hostapd is not set -# CONFIG_PACKAGE_hostapd-common is not set +CONFIG_PACKAGE_hostapd=y +CONFIG_PACKAGE_hostapd-common=y # CONFIG_PACKAGE_hostapd-common-old is not set # CONFIG_PACKAGE_hostapd-mini is not set +# CONFIG_PACKAGE_hostapd-utils is not set # CONFIG_PACKAGE_iftop is not set # CONFIG_PACKAGE_iotivity is not set # CONFIG_PACKAGE_iotivity-cpp is not set