From 2e52e0546edbf0b9eebd59fbba541b0430639cb4 Mon Sep 17 00:00:00 2001 From: Petko Bordjukov Date: Mon, 2 Nov 2015 04:38:03 +0200 Subject: [PATCH] Initial Archer C5 configuration --- archer-c5.configdiff | 151 ++++++++++++++++++ files/all/etc/config/wifi-sentinel | 5 + files/all/etc/dropbear/authorized_keys | 8 + files/archer-c5-dual-trunk/etc/config/network | 37 +++++ files/archer-c5/etc/config/system | 44 +++++ files/archer-c5/etc/config/wireless | 53 ++++++ files/archer-c5/etc/rc.local | 9 ++ 7 files changed, 307 insertions(+) create mode 100644 archer-c5.configdiff create mode 100644 files/all/etc/config/wifi-sentinel create mode 100644 files/all/etc/dropbear/authorized_keys create mode 100644 files/archer-c5-dual-trunk/etc/config/network create mode 100644 files/archer-c5/etc/config/system create mode 100644 files/archer-c5/etc/config/wireless create mode 100644 files/archer-c5/etc/rc.local diff --git a/archer-c5.configdiff b/archer-c5.configdiff new file mode 100644 index 0000000..ca66630 --- /dev/null +++ b/archer-c5.configdiff @@ -0,0 +1,151 @@ +--- archer-c5.diffconfig 2015-10-31 15:33:36.556255038 +0200 ++++ test.configdiff 2015-11-01 16:11:24.576118304 +0200 +@@ -13,7 +13,6 @@ + CONFIG_LUCI_SRCDIET=y + CONFIG_MAKE_TOOLCHAIN=y + CONFIG_PACKAGE_ATH_DEBUG=y +-CONFIG_PACKAGE_arptables=m + CONFIG_PACKAGE_bmon=y + CONFIG_PACKAGE_bwm-ng=y + CONFIG_PACKAGE_collectd=y +@@ -37,13 +36,11 @@ + # CONFIG_PACKAGE_iptables is not set + CONFIG_PACKAGE_kismet-drone=y + CONFIG_PACKAGE_kmod-8021q=y +-CONFIG_PACKAGE_kmod-arptables=m + CONFIG_PACKAGE_kmod-ath10k=y + CONFIG_PACKAGE_kmod-bridge=y + CONFIG_PACKAGE_kmod-ebtables=y + CONFIG_PACKAGE_kmod-ebtables-ipv4=y + CONFIG_PACKAGE_kmod-ebtables-ipv6=y +-CONFIG_PACKAGE_kmod-ebtables-watchers=m + # CONFIG_PACKAGE_kmod-ip6tables is not set + # CONFIG_PACKAGE_kmod-ipt-conntrack is not set + # CONFIG_PACKAGE_kmod-ipt-nat is not set +@@ -64,7 +61,7 @@ + CONFIG_PACKAGE_kmod-usb2=m + CONFIG_PACKAGE_kmod-zd1211rw=m + CONFIG_PACKAGE_libcap=y +-CONFIG_PACKAGE_libip6tc=m ++# CONFIG_PACKAGE_libip6tc is not set + CONFIG_PACKAGE_libiwinfo-lua=y + CONFIG_PACKAGE_libltdl=y + CONFIG_PACKAGE_liblua=y +@@ -85,7 +82,6 @@ + # CONFIG_PACKAGE_odhcpd is not set + # CONFIG_PACKAGE_ppp is not set + CONFIG_PACKAGE_rpcd=y +-CONFIG_PACKAGE_rpcd-mod-iwinfo=y + CONFIG_PACKAGE_strace=y + CONFIG_PACKAGE_tcpdump=m + CONFIG_PACKAGE_tcpdump-mini=y +openwrt-build@eric:~/openwrt$ cat test.configdiff +CONFIG_TARGET_ar71xx=y +CONFIG_TARGET_ar71xx_generic=y +CONFIG_TARGET_ar71xx_generic_Default=y +CONFIG_DEVEL=y +CONFIG_ATH_USER_REGD=y +CONFIG_BWMNG_EXTENDEDSTATS=y +CONFIG_BWMNG_TIME=y +CONFIG_COLLECT_KERNEL_DEBUG=y +CONFIG_DROPBEAR_ECC=y +CONFIG_IB=y +CONFIG_IMAGEOPT=y +# CONFIG_KERNEL_KALLSYMS is not set +CONFIG_LUCI_SRCDIET=y +CONFIG_MAKE_TOOLCHAIN=y +CONFIG_PACKAGE_ATH_DEBUG=y +CONFIG_PACKAGE_bmon=y +CONFIG_PACKAGE_bwm-ng=y +CONFIG_PACKAGE_collectd=y +CONFIG_PACKAGE_collectd-mod-contextswitch=y +CONFIG_PACKAGE_collectd-mod-cpu=y +CONFIG_PACKAGE_collectd-mod-interface=y +CONFIG_PACKAGE_collectd-mod-irq=y +CONFIG_PACKAGE_collectd-mod-iwinfo=y +CONFIG_PACKAGE_collectd-mod-load=y +CONFIG_PACKAGE_collectd-mod-network=y +CONFIG_PACKAGE_collectd-mod-wireless=y +CONFIG_PACKAGE_confuse=y +# CONFIG_PACKAGE_dnsmasq is not set +CONFIG_PACKAGE_ebtables=y +CONFIG_PACKAGE_ebtables-utils=y +# CONFIG_PACKAGE_firewall is not set +CONFIG_PACKAGE_horst=y +CONFIG_PACKAGE_hostapd-utils=y +CONFIG_PACKAGE_htop=y +# CONFIG_PACKAGE_ip6tables is not set +# CONFIG_PACKAGE_iptables is not set +CONFIG_PACKAGE_kismet-drone=y +CONFIG_PACKAGE_kmod-8021q=y +CONFIG_PACKAGE_kmod-ath10k=y +CONFIG_PACKAGE_kmod-bridge=y +CONFIG_PACKAGE_kmod-ebtables=y +CONFIG_PACKAGE_kmod-ebtables-ipv4=y +CONFIG_PACKAGE_kmod-ebtables-ipv6=y +# CONFIG_PACKAGE_kmod-ip6tables is not set +# CONFIG_PACKAGE_kmod-ipt-conntrack is not set +# CONFIG_PACKAGE_kmod-ipt-nat is not set +CONFIG_PACKAGE_kmod-ledtrig-heartbeat=y +CONFIG_PACKAGE_kmod-ledtrig-usbdev=m +# CONFIG_PACKAGE_kmod-lib-crc-ccitt is not set +CONFIG_PACKAGE_kmod-llc=y +# CONFIG_PACKAGE_kmod-nf-conntrack is not set +# CONFIG_PACKAGE_kmod-nf-conntrack6 is not set +# CONFIG_PACKAGE_kmod-nf-ipt6 is not set +# CONFIG_PACKAGE_kmod-nf-nat is not set +# CONFIG_PACKAGE_kmod-nf-nathelper is not set +CONFIG_PACKAGE_kmod-nls-base=m +# CONFIG_PACKAGE_kmod-ppp is not set +CONFIG_PACKAGE_kmod-stp=y +CONFIG_PACKAGE_kmod-usb-core=m +CONFIG_PACKAGE_kmod-usb-ohci=m +CONFIG_PACKAGE_kmod-usb2=m +CONFIG_PACKAGE_kmod-zd1211rw=m +CONFIG_PACKAGE_libcap=y +# CONFIG_PACKAGE_libip6tc is not set +CONFIG_PACKAGE_libiwinfo-lua=y +CONFIG_PACKAGE_libltdl=y +CONFIG_PACKAGE_liblua=y +CONFIG_PACKAGE_libncurses=y +CONFIG_PACKAGE_libnl=y +CONFIG_PACKAGE_libpcap=y +CONFIG_PACKAGE_libpcre=y +CONFIG_PACKAGE_libpthread=y +CONFIG_PACKAGE_libubus-lua=y +CONFIG_PACKAGE_libuci-lua=y +CONFIG_PACKAGE_lua=y +CONFIG_PACKAGE_luci-base=y +CONFIG_PACKAGE_luci-lib-ip=y +CONFIG_PACKAGE_luci-lib-nixio=y +CONFIG_PACKAGE_luci-mod-admin-full=y +CONFIG_PACKAGE_luci-proto-ipv6=y +CONFIG_PACKAGE_luci-theme-bootstrap=y +# CONFIG_PACKAGE_odhcpd is not set +# CONFIG_PACKAGE_ppp is not set +CONFIG_PACKAGE_rpcd=y +CONFIG_PACKAGE_strace=y +CONFIG_PACKAGE_tcpdump=m +CONFIG_PACKAGE_tcpdump-mini=y +CONFIG_PACKAGE_terminfo=y +CONFIG_PACKAGE_uclibcxx=y +CONFIG_PACKAGE_uhttpd=y +CONFIG_PACKAGE_uhttpd-mod-ubus=y +CONFIG_PACKAGE_wavemon=y +CONFIG_PACKAGE_wireless-tools=y +CONFIG_PACKAGE_wpad=y +# CONFIG_PACKAGE_wpad-mini is not set +CONFIG_PACKAGE_zlib=y +# CONFIG_PER_FEED_REPO_ADD_COMMENTED is not set +CONFIG_SDK=y +CONFIG_VERSIONOPT=y +CONFIG_VERSION_DIST="OpenFestWrt" +CONFIG_VERSION_FILENAMES=y +CONFIG_VERSION_HWREV="" +CONFIG_VERSION_MANUFACTURER="" +CONFIG_VERSION_NICK="Chaos Calmer" +CONFIG_VERSION_NUMBER="15.05" +CONFIG_VERSION_PRODUCT="" +CONFIG_VERSION_REPO="http://downloads.openwrt.org/%n/%v/%S/packages" +CONFIG_WPA_SUPPLICANT_INTERNAL=y +# CONFIG_IB_STANDALONE is not set diff --git a/files/all/etc/config/wifi-sentinel b/files/all/etc/config/wifi-sentinel new file mode 100644 index 0000000..61e22f5 --- /dev/null +++ b/files/all/etc/config/wifi-sentinel @@ -0,0 +1,5 @@ + +config wifi-sentinel + option packets 3 + option interval 10 + option network 'management' diff --git a/files/all/etc/dropbear/authorized_keys b/files/all/etc/dropbear/authorized_keys new file mode 100644 index 0000000..de7d14d --- /dev/null +++ b/files/all/etc/dropbear/authorized_keys @@ -0,0 +1,8 @@ +ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDkU0XO6kWKTQICeMCwbYJzelnS4MFlj/Izzwd2eP737ABw7zoOuQo3KznHEh9OxgynAsBDQDPCPyNhaFnqK/+JTSo0dOtjfcR3d/mV6CUjKrCaXNQaiYa2QRPJwOO1u52dgvJxJZwuVxvYCcinb7SR3n/iAF8DX0/uJU+NkCLF5XUjVUGCXP8Y+2uD7gsVn6+yn/BT8WyBMWhHE5FFcvRGB/J7ICvGC3gsa2OXCvZzJpKayucovN3RbxePJQH+8rqEAIWO84T2g4m0/qAdd/QxQ6mmGnmRotIHliHgQ9GX7JmyMl4rieh5Tis/ZUkDnIXdrFWoNkRN13Wd5K9+sxL7 eniac@eniac-lap-lin +ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAgEA8AEJ6git5yAJ5VIv0TkNVWydFjnIV7Yh7yGVI411Ilin8LZ5PTrv0Hl+LkzOYpdzub4cqdgJco6RmvvdqsxENRUb3alrtnUoo7VoWmYCB9fdX7PUuTAVJwf23zzs6fN9VXFR1++yKFJbxyrSHCq/B/G6FrSMdSiCZMeW7q4mKuopP5QEbM6B1L4ASVcEivV0I7IXUkKaJ2mMNlq30ikVVPY+GVkZVE3X3GXLAFMnHjqXkfhs3byuYWrOp07EzgxnS4lIJSP6pfyJEoRSjdBOAn4zRel6KGIHyoQ3sp1JND8L+1GkhqSMVpK9+28XftSIjxPpWA4HC8KAbrjCqyurSH1bRP4KfJtUkBBozaf/3Nzqk2HWMW2v2PERRJwth4xJ1ILWKJCo9tW8TwPhch12wRzqgBrXRu0SppTG6D2jxU0hJIpqUWCutnjyU8/gm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PrhZeGROzPoZwqP3b2xoX3CJRwMumqUiERN2eAU2JXMTATWlPa8Xmd8t4jEFFve79JkmDpggCV/knvWW54QtWUAu9sKlcu0Ue9tvcic9zm3NjZIkPCOj+vlA7pdA4+oias/tmj94fGNWkoUpJTQdqK5khma6MZXtMSq6K0ddojrkkPhH4usdsUKqNrFSKUKfXIFkmxrqOK7kpXpe4npzBtZCoe39Oz5spu1BXD3t+ZK3IqmURS/FHdDTst69RagrY0nF/UGkSWCB3rgJp2yW6aQpBucw6C4zhXdCyx+JVbkzK9eORZlOQn8onAOpkqekvt+/mVVI48VQy20kpjMjzPSKP60ZxPR32mgQsEsSZiCNezGOkoCJvygbRKqV4LOULgiuvbU+gsoCvETzHuMry/lSBqR2LvBF9xB1ks+44aMQNQ3BcfGm1fFeP91dnGt0MNnr+v4MIE+WlNTkFcktCU7Q4svu2nDN0qTQk+IyOUdaQLWcv7Z7LNNypRAbW8PM65hItNxaedeNLjFGYKaP7DbfsLp2oRy1UezIWtK/5jSCMrT9CXOw5SjIhKQu6zC8PVcBdCxT9BBUqCmCtOv87j+d+44iuGZuDAKghZbW0qA2YHlGByP+/yLeKxxM5wHyaQn1R7WUVMhVEg/WAQwSuvoYurOoKRC7st4ngcdKZM+MwPs/ImrMo4REl59nGsw+Z/ql12SYE0qKMCEx94uGc8ZC80fx6dNa4Nq/Gfm+L stefan.lekov@devhex.org \ No newline at end of file diff --git a/files/archer-c5-dual-trunk/etc/config/network b/files/archer-c5-dual-trunk/etc/config/network new file mode 100644 index 0000000..f45f2b0 --- /dev/null +++ b/files/archer-c5-dual-trunk/etc/config/network @@ -0,0 +1,37 @@ +config interface 'loopback' + option ifname 'lo' + option proto 'static' + option ipaddr '127.0.0.1' + option netmask '255.0.0.0' + +config interface 'management' + option ifname 'eth0' + option proto 'dhcp' + option ipv6 'no' + +config interface 'wireless' + option ifname 'eth1' + option proto 'none' + option ipv6 'no' + option force_link '1' + option type 'bridge' + +config switch + option name 'switch0' + option reset '1' + option enable_vlan '1' + +config switch_vlan + option device 'switch0' + option vlan '25' + option ports '1 2' + +config switch_vlan + option device 'switch0' + option vlan '100' + option ports '1t 2t 6' + +config switch_vlan + option device 'switch0' + option vlan '102' + option ports '0 1t 2t' diff --git a/files/archer-c5/etc/config/system b/files/archer-c5/etc/config/system new file mode 100644 index 0000000..aa4f6c1 --- /dev/null +++ b/files/archer-c5/etc/config/system @@ -0,0 +1,44 @@ + +config system + option hostname '' + option zonename 'Europe/Sofia' + option timezone 'EET-2EEST,M3.5.0/3,M10.5.0/4' + option log_ip '10.100.0.1' + option log_remote '1' + +config timeserver 'ntp' + list server '0.openwrt.pool.ntp.org' + list server '1.openwrt.pool.ntp.org' + list server '2.openwrt.pool.ntp.org' + list server '3.openwrt.pool.ntp.org' + option enabled '1' + option enable_server '0' + +config led 'led_usb1' + option name 'USB1' + option sysfs 'tp-link:green:usb1' + option trigger 'usbdev' + option dev '1-1' + option interval '50' + +config led 'led_usb2' + option name 'USB2' + option sysfs 'tp-link:green:usb2' + option trigger 'usbdev' + option dev '2-1' + option interval '50' + +config led 'led_wlan2g' + option name 'WLAN2G' + option sysfs 'tp-link:blue:wlan2g' + option trigger 'phy1tpt' + +config led 'led_wlan5g' + option name 'WLAN5G' + option sysfs 'tp-link:blue:wlan5g' + option trigger 'phy0tpt' + +config led 'led_system' + option name 'SYSTEM' + option sysfs 'tp-link:blue:system' + option trigger 'heartbeat' \ No newline at end of file diff --git a/files/archer-c5/etc/config/wireless b/files/archer-c5/etc/config/wireless new file mode 100644 index 0000000..6733d54 --- /dev/null +++ b/files/archer-c5/etc/config/wireless @@ -0,0 +1,53 @@ +config wifi-device radio0 + option type mac80211 + option hwmode 11a + option path 'pci0000:01/0000:01:00.0' +# option channel +# option txpower '30' + option htmode VHT80 + option distance '20' + list basic_rate '54000' + option require_mode 'n' + option log_level '-1' + option country 'BG' + option country_ie '1' + option doth '1' +# option pwr_constraint 0 + +config wifi-iface + option device radio0 + option network 'wireless' + option mode ap + option ssid 'OpenFest' + option encryption 'none' +# option macaddr '' + option isolate '1' + option iapp_interface 'management' + +config wifi-device radio1 + option type mac80211 + option hwmode 11g + option path 'platform/qca955x_wmac' +# option channel +# option txpower '20' + option htmode 'HT20' + option distance '20' + list basic_rate '54000' + option require_mode 'g' + option beacon_int 250 + option log_level '-1' + option country 'BG' + option country_ie '1' +# option doth '1' +# option pwr_constraint 4 +# option spectrum_mgmt 1 + +config wifi-iface + option device radio1 + option network 'wireless' + option mode 'ap' + option ssid 'OpenFest' + option encryption 'none' +# option macaddr '' + option isolate '1' + option iapp_interface 'management' \ No newline at end of file diff --git a/files/archer-c5/etc/rc.local b/files/archer-c5/etc/rc.local new file mode 100644 index 0000000..03491d3 --- /dev/null +++ b/files/archer-c5/etc/rc.local @@ -0,0 +1,9 @@ +# Put your custom commands here that should be executed once +# the system init finished. By default this file does nothing. + +# Never uncomment this unless YOU KNOW WHAT YOU'RE DOING +#for file in /sys/kernel/debug/ieee80211/*/ath10k/dfs_block_radar_events; do +# echo Y > $file +#done + +exit 0