From be4d8ca7d2029c9aec3f1b4b827c66a5d9ae991b Mon Sep 17 00:00:00 2001 From: Sukru Senli <sukru.senli@inteno.se> Date: Thu, 30 Jun 2016 15:32:45 +0200 Subject: [PATCH] netmdoes are moved to inteno-netmodes package --- .../cg300/base-files/etc/config/netmode | 6 - .../base-files/etc/netmodes/repeater/DETAILS | 13 -- .../base-files/etc/netmodes/repeater/firewall | 121 ------------------ .../repeater/layer2_interface_ethernet | 6 - .../base-files/etc/netmodes/repeater/network | 23 ---- .../base-files/etc/netmodes/repeater/uhttpd | 33 ----- .../base-files/etc/netmodes/repeater/wireless | 101 --------------- .../base-files/etc/netmodes/routed/DETAILS | 12 -- .../base-files/etc/netmodes/routed/firewall | 113 ---------------- .../netmodes/routed/layer2_interface_ethernet | 5 - .../base-files/etc/netmodes/routed/network | 31 ----- .../base-files/etc/netmodes/routed/wireless | 86 ------------- .../cg301/base-files/etc/config/netmode | 6 - .../base-files/etc/netmodes/repeater/DETAILS | 13 -- .../base-files/etc/netmodes/repeater/firewall | 121 ------------------ .../repeater/layer2_interface_ethernet | 6 - .../base-files/etc/netmodes/repeater/network | 23 ---- .../base-files/etc/netmodes/repeater/uhttpd | 33 ----- .../base-files/etc/netmodes/repeater/wireless | 101 --------------- .../base-files/etc/netmodes/routed/DETAILS | 12 -- .../base-files/etc/netmodes/routed/firewall | 113 ---------------- .../netmodes/routed/layer2_interface_ethernet | 5 - .../base-files/etc/netmodes/routed/network | 31 ----- .../base-files/etc/netmodes/routed/wireless | 86 ------------- .../dg301/base-files/etc/config/netmode | 5 - .../base-files/etc/netmodes/bridged/DETAILS | 12 -- .../base-files/etc/netmodes/bridged/dhcp | 22 ---- .../base-files/etc/netmodes/bridged/firewall | 114 ----------------- .../netmodes/bridged/layer2_interface_adsl | 23 ---- .../bridged/layer2_interface_ethernet | 5 - .../netmodes/bridged/layer2_interface_vdsl | 9 -- .../netmodes/bridged/layer2_interface_vlan | 18 --- .../base-files/etc/netmodes/bridged/mcpd | 18 --- .../base-files/etc/netmodes/bridged/network | 39 ------ .../base-files/etc/netmodes/routed/DETAILS | 12 -- .../dg301/base-files/etc/netmodes/routed/dhcp | 22 ---- .../base-files/etc/netmodes/routed/firewall | 113 ---------------- .../etc/netmodes/routed/layer2_interface_adsl | 13 -- .../netmodes/routed/layer2_interface_ethernet | 5 - .../etc/netmodes/routed/layer2_interface_vdsl | 9 -- .../etc/netmodes/routed/layer2_interface_vlan | 0 .../dg301/base-files/etc/netmodes/routed/mcpd | 14 -- .../base-files/etc/netmodes/routed/network | 31 ----- 43 files changed, 1584 deletions(-) delete mode 100644 iopsys-brcm63xx-mips/cg300/base-files/etc/config/netmode delete mode 100644 iopsys-brcm63xx-mips/cg300/base-files/etc/netmodes/repeater/DETAILS delete mode 100644 iopsys-brcm63xx-mips/cg300/base-files/etc/netmodes/repeater/firewall delete mode 100644 iopsys-brcm63xx-mips/cg300/base-files/etc/netmodes/repeater/layer2_interface_ethernet delete mode 100644 iopsys-brcm63xx-mips/cg300/base-files/etc/netmodes/repeater/network delete mode 100644 iopsys-brcm63xx-mips/cg300/base-files/etc/netmodes/repeater/uhttpd delete mode 100644 iopsys-brcm63xx-mips/cg300/base-files/etc/netmodes/repeater/wireless delete mode 100644 iopsys-brcm63xx-mips/cg300/base-files/etc/netmodes/routed/DETAILS delete mode 100644 iopsys-brcm63xx-mips/cg300/base-files/etc/netmodes/routed/firewall delete mode 100644 iopsys-brcm63xx-mips/cg300/base-files/etc/netmodes/routed/layer2_interface_ethernet delete mode 100644 iopsys-brcm63xx-mips/cg300/base-files/etc/netmodes/routed/network delete mode 100644 iopsys-brcm63xx-mips/cg300/base-files/etc/netmodes/routed/wireless delete mode 100644 iopsys-brcm63xx-mips/cg301/base-files/etc/config/netmode delete mode 100644 iopsys-brcm63xx-mips/cg301/base-files/etc/netmodes/repeater/DETAILS delete mode 100644 iopsys-brcm63xx-mips/cg301/base-files/etc/netmodes/repeater/firewall delete mode 100644 iopsys-brcm63xx-mips/cg301/base-files/etc/netmodes/repeater/layer2_interface_ethernet delete mode 100644 iopsys-brcm63xx-mips/cg301/base-files/etc/netmodes/repeater/network delete mode 100644 iopsys-brcm63xx-mips/cg301/base-files/etc/netmodes/repeater/uhttpd delete mode 100644 iopsys-brcm63xx-mips/cg301/base-files/etc/netmodes/repeater/wireless delete mode 100644 iopsys-brcm63xx-mips/cg301/base-files/etc/netmodes/routed/DETAILS delete mode 100644 iopsys-brcm63xx-mips/cg301/base-files/etc/netmodes/routed/firewall delete mode 100644 iopsys-brcm63xx-mips/cg301/base-files/etc/netmodes/routed/layer2_interface_ethernet delete mode 100644 iopsys-brcm63xx-mips/cg301/base-files/etc/netmodes/routed/network delete mode 100644 iopsys-brcm63xx-mips/cg301/base-files/etc/netmodes/routed/wireless delete mode 100644 iopsys-brcm63xx-mips/dg301/base-files/etc/config/netmode delete mode 100644 iopsys-brcm63xx-mips/dg301/base-files/etc/netmodes/bridged/DETAILS delete mode 100644 iopsys-brcm63xx-mips/dg301/base-files/etc/netmodes/bridged/dhcp delete mode 100644 iopsys-brcm63xx-mips/dg301/base-files/etc/netmodes/bridged/firewall delete mode 100644 iopsys-brcm63xx-mips/dg301/base-files/etc/netmodes/bridged/layer2_interface_adsl delete mode 100644 iopsys-brcm63xx-mips/dg301/base-files/etc/netmodes/bridged/layer2_interface_ethernet delete mode 100644 iopsys-brcm63xx-mips/dg301/base-files/etc/netmodes/bridged/layer2_interface_vdsl delete mode 100644 iopsys-brcm63xx-mips/dg301/base-files/etc/netmodes/bridged/layer2_interface_vlan delete mode 100644 iopsys-brcm63xx-mips/dg301/base-files/etc/netmodes/bridged/mcpd delete mode 100644 iopsys-brcm63xx-mips/dg301/base-files/etc/netmodes/bridged/network delete mode 100644 iopsys-brcm63xx-mips/dg301/base-files/etc/netmodes/routed/DETAILS delete mode 100644 iopsys-brcm63xx-mips/dg301/base-files/etc/netmodes/routed/dhcp delete mode 100644 iopsys-brcm63xx-mips/dg301/base-files/etc/netmodes/routed/firewall delete mode 100644 iopsys-brcm63xx-mips/dg301/base-files/etc/netmodes/routed/layer2_interface_adsl delete mode 100644 iopsys-brcm63xx-mips/dg301/base-files/etc/netmodes/routed/layer2_interface_ethernet delete mode 100644 iopsys-brcm63xx-mips/dg301/base-files/etc/netmodes/routed/layer2_interface_vdsl delete mode 100644 iopsys-brcm63xx-mips/dg301/base-files/etc/netmodes/routed/layer2_interface_vlan delete mode 100644 iopsys-brcm63xx-mips/dg301/base-files/etc/netmodes/routed/mcpd delete mode 100644 iopsys-brcm63xx-mips/dg301/base-files/etc/netmodes/routed/network diff --git a/iopsys-brcm63xx-mips/cg300/base-files/etc/config/netmode b/iopsys-brcm63xx-mips/cg300/base-files/etc/config/netmode deleted file mode 100644 index bae23a276..000000000 --- a/iopsys-brcm63xx-mips/cg300/base-files/etc/config/netmode +++ /dev/null @@ -1,6 +0,0 @@ -config mode 'setup' - option dir '/etc/netmodes' - option detail '' - option curmode 'routed' - option credmodes 'repeater' - diff --git a/iopsys-brcm63xx-mips/cg300/base-files/etc/netmodes/repeater/DETAILS b/iopsys-brcm63xx-mips/cg300/base-files/etc/netmodes/repeater/DETAILS deleted file mode 100644 index 09ae64313..000000000 --- a/iopsys-brcm63xx-mips/cg300/base-files/etc/netmodes/repeater/DETAILS +++ /dev/null @@ -1,13 +0,0 @@ -{ - "description": [ - { "en" : "Wireless Repeater" }, - { "sv" : "Trådlös repeater" } - ], - "explanation": [ - { "en" : "Your router is going to act as a wired extender or wireless repeater to the selected Wireless Access Point." }, - { "sv" : "Routern kommer att fungera som en trådbunden extender eller trådlös repeater till den valda trådlösa åtkomstpunkten." } - ], - "credentials" : 1, - "reboot" : 0 -} - diff --git a/iopsys-brcm63xx-mips/cg300/base-files/etc/netmodes/repeater/firewall b/iopsys-brcm63xx-mips/cg300/base-files/etc/netmodes/repeater/firewall deleted file mode 100644 index 2f7d277c1..000000000 --- a/iopsys-brcm63xx-mips/cg300/base-files/etc/netmodes/repeater/firewall +++ /dev/null @@ -1,121 +0,0 @@ -config defaults - option syn_flood 1 - option input ACCEPT - option output ACCEPT - option forward REJECT -# Uncomment this line to disable ipv6 rules -# option disable_ipv6 1 - -config zone - option name lan - list network 'lan' - option input ACCEPT - option output ACCEPT - option forward ACCEPT - -config zone - option name wan - list network 'wan' - option input REJECT - option output ACCEPT - option forward REJECT - option masq 1 - option mtu_fix 1 - -config forwarding - option src lan - option dest wan - -# We need to accept udp packets on port 68, -# see https://dev.openwrt.org/ticket/4108 -config rule - option name Allow-DHCP-Renew - option src wan - option proto udp - option dest_port 68 - option target ACCEPT - option family ipv4 - option hidden 1 - -config rule - option name Repeater-Management - option src wan - option proto tcp - option dest_port '22 80 8080 8181 9876' - option target ACCEPT - option family ipv4 - option hidden 1 - -# Allow IPv4 ping -config rule - option name Allow-Ping - option src wan - option proto icmp - option icmp_type echo-request - option family ipv4 - option target ACCEPT - option hidden 1 - -# Allow DHCPv6 replies -# see https://dev.openwrt.org/ticket/10381 -config rule - option name Allow-DHCPv6 - option src wan - option proto udp - option src_ip fe80::/10 - option src_port 547 - option dest_ip fe80::/10 - option dest_port 546 - option family ipv6 - option target ACCEPT - option hidden 1 - -# Allow essential incoming IPv6 ICMP traffic -config rule - option name Allow-ICMPv6-Input - option src wan - option proto icmp - list icmp_type echo-request - list icmp_type echo-reply - list icmp_type destination-unreachable - list icmp_type packet-too-big - list icmp_type time-exceeded - list icmp_type bad-header - list icmp_type unknown-header-type - list icmp_type router-solicitation - list icmp_type neighbour-solicitation - list icmp_type router-advertisement - list icmp_type neighbour-advertisement - option limit 1000/sec - option family ipv6 - option target ACCEPT - option hidden 1 - -# Allow essential forwarded IPv6 ICMP traffic -config rule - option name Allow-ICMPv6-Forward - option src wan - option dest * - option proto icmp - list icmp_type echo-request - list icmp_type echo-reply - list icmp_type destination-unreachable - list icmp_type packet-too-big - list icmp_type time-exceeded - list icmp_type bad-header - list icmp_type unknown-header-type - option limit 1000/sec - option family ipv6 - option target ACCEPT - option hidden 1 - -# include a file with users custom iptables rules -config include - option path /etc/firewall.user - option reload 1 - -# include a file with rules for SIP and RTP traffic -config include - option path /etc/firewall.sip - option reload 1 - diff --git a/iopsys-brcm63xx-mips/cg300/base-files/etc/netmodes/repeater/layer2_interface_ethernet b/iopsys-brcm63xx-mips/cg300/base-files/etc/netmodes/repeater/layer2_interface_ethernet deleted file mode 100644 index c9fdaa63b..000000000 --- a/iopsys-brcm63xx-mips/cg300/base-files/etc/netmodes/repeater/layer2_interface_ethernet +++ /dev/null @@ -1,6 +0,0 @@ -config ethernet_interface 'Wan' - option baseifname 'eth0' - option ifname 'eth0.1' - option name 'WAN' - option bridge '1' - diff --git a/iopsys-brcm63xx-mips/cg300/base-files/etc/netmodes/repeater/network b/iopsys-brcm63xx-mips/cg300/base-files/etc/netmodes/repeater/network deleted file mode 100644 index fae1aaae7..000000000 --- a/iopsys-brcm63xx-mips/cg300/base-files/etc/netmodes/repeater/network +++ /dev/null @@ -1,23 +0,0 @@ - -config interface 'loopback' - option is_lan '1' - option ifname 'lo' - option proto 'static' - option ipaddr '127.0.0.1' - option netmask '255.0.0.0' - -config interface 'wan' - option type 'bridge' - option proto 'dhcp' - option vendorid 'Inteno_Repeater_$MAC4' - option hostname 'Inteno_Repeater_$MAC4' - option ifname 'eth0.1' - option reqopts '43' - -config interface 'lan' - option is_lan '1' - option proto 'static' - option ifname 'eth1' - option ipaddr '192.168.11.1' - option netmask '255.255.255.0' - diff --git a/iopsys-brcm63xx-mips/cg300/base-files/etc/netmodes/repeater/uhttpd b/iopsys-brcm63xx-mips/cg300/base-files/etc/netmodes/repeater/uhttpd deleted file mode 100644 index 420b2aacc..000000000 --- a/iopsys-brcm63xx-mips/cg300/base-files/etc/netmodes/repeater/uhttpd +++ /dev/null @@ -1,33 +0,0 @@ -config uhttpd 'main' - list listen_http '0.0.0.0:80' - list listen_http '[::]:80' - list listen_http '0.0.0.0:8080' - list listen_http '[::]:8080' - list listen_http '0.0.0.0:8181' - list listen_http '[::]:8181' - list listen_https '0.0.0.0:443' - list listen_https '[::]:443' - option redirect_https '1' - option home '/www' - option rfc1918_filter '1' - option max_requests '3' - option max_connections '100' - option cert '/etc/uhttpd.crt' - option key '/etc/uhttpd.key' - option cgi_prefix '/cgi-bin' - option script_timeout '60' - option network_timeout '30' - option http_keepalive '20' - option tcp_keepalive '1' - option ubus_prefix '/ubus' - -config cert 'px5g' - option days '730' - option bits '1024' - option country 'ZZ' - option state 'Somewhere' - option location 'Uknown' - option commonname 'OpenWrt' - -config logopts 'logopts' - diff --git a/iopsys-brcm63xx-mips/cg300/base-files/etc/netmodes/repeater/wireless b/iopsys-brcm63xx-mips/cg300/base-files/etc/netmodes/repeater/wireless deleted file mode 100644 index 363d15925..000000000 --- a/iopsys-brcm63xx-mips/cg300/base-files/etc/netmodes/repeater/wireless +++ /dev/null @@ -1,101 +0,0 @@ -config wifi-status 'status' - option wlan '1' - option wps '1' - option sched_status '0' - option schedule '0' - -config wifi-device 'wl0' - option type 'broadcom' - option country 'EU/13' - option band 'a' - option bandwidth '20' - option hwmode '11ac' - option channel 'auto' - option scantimer '15' - option wmm '1' - option wmm_noack '0' - option wmm_apsd '0' - option txpower '100' - option rateset 'default' - option frag '2346' - option rts '2347' - option dtim_period '1' - option beacon_int '100' - option rxchainps '0' - option rxchainps_qt '10' - option rxchainps_pps '10' - option rifs '0' - option rifs_advert '0' - option maxassoc '32' - option beamforming '0' - option doth '1' - option dfsc '1' - -config wifi-iface - option device 'wl0' - option network 'wan' - option mode 'ap' - option ssid 'Inteno-$BSSID4' - option encryption 'psk2' - option cipher 'auto' - option key '$WPAKEY' - option gtk_rekey '3600' - option macfilter '0' - option wps_pbc '1' - option wmf_bss_enable '1' - option bss_max '32' - option autoconf '1' - -config wifi-device 'wl1' - option type 'broadcom' - option country 'EU/13' - option band 'b' - option bandwidth '20' - option hwmode 'auto' - option channel 'auto' - option scantimer '15' - option wmm '1' - option wmm_noack '0' - option wmm_apsd '0' - option txpower '100' - option rateset 'default' - option frag '2346' - option rts '2347' - option dtim_period '1' - option beacon_int '100' - option rxchainps '0' - option rxchainps_qt '10' - option rxchainps_pps '10' - option rifs '0' - option rifs_advert '0' - option maxassoc '32' - option doth '0' - option apsta '1' - -config wifi-iface - option device 'wl1' - option ifname 'wl1' - option network 'wan' - option mode 'wet' - option ssid 'Inteno-$BSSID4' - option encryption 'psk2' - option cipher 'auto' - option wps_pbc '0' - option wmf_bss_enable '1' - option autoconf '1' - -config wifi-iface - option device 'wl1' - option network 'wan' - option mode 'ap' - option ssid 'Inteno-$BSSID4' - option encryption 'psk2' - option cipher 'auto' - option key '$WPAKEY' - option gtk_rekey '3600' - option macfilter '0' - option wps_pbc '1' - option wmf_bss_enable '1' - option bss_max '32' - option autoconf '1' - diff --git a/iopsys-brcm63xx-mips/cg300/base-files/etc/netmodes/routed/DETAILS b/iopsys-brcm63xx-mips/cg300/base-files/etc/netmodes/routed/DETAILS deleted file mode 100644 index 18a562581..000000000 --- a/iopsys-brcm63xx-mips/cg300/base-files/etc/netmodes/routed/DETAILS +++ /dev/null @@ -1,12 +0,0 @@ -{ - "description": [ - { "en" : "Fully Routed (NAT)" }, - { "sv" : "Fullt Omdirigerad (NAT)" } - ], - "explanation": [ - { "en" : "" }, - { "sv" : "" } - ], - "credentials" : 0 -} - diff --git a/iopsys-brcm63xx-mips/cg300/base-files/etc/netmodes/routed/firewall b/iopsys-brcm63xx-mips/cg300/base-files/etc/netmodes/routed/firewall deleted file mode 100644 index 4a48b0ac6..000000000 --- a/iopsys-brcm63xx-mips/cg300/base-files/etc/netmodes/routed/firewall +++ /dev/null @@ -1,113 +0,0 @@ -config defaults - option syn_flood 1 - option input ACCEPT - option output ACCEPT - option forward REJECT -# Uncomment this line to disable ipv6 rules -# option disable_ipv6 1 - -config zone - option name lan - list network 'lan' - option input ACCEPT - option output ACCEPT - option forward ACCEPT - -config zone - option name wan - list network 'wan' - list network 'wan6' - option input REJECT - option output ACCEPT - option forward REJECT - option masq 1 - option mtu_fix 1 - -config forwarding - option src lan - option dest wan - -# We need to accept udp packets on port 68, -# see https://dev.openwrt.org/ticket/4108 -config rule - option name Allow-DHCP-Renew - option src wan - option proto udp - option dest_port 68 - option target ACCEPT - option family ipv4 - option hidden 1 - -# Allow IPv4 ping -config rule - option name Allow-Ping - option src wan - option proto icmp - option icmp_type echo-request - option family ipv4 - option target ACCEPT - option hidden 1 - -# Allow DHCPv6 replies -# see https://dev.openwrt.org/ticket/10381 -config rule - option name Allow-DHCPv6 - option src wan - option proto udp - option src_ip fe80::/10 - option src_port 547 - option dest_ip fe80::/10 - option dest_port 546 - option family ipv6 - option target ACCEPT - option hidden 1 - -# Allow essential incoming IPv6 ICMP traffic -config rule - option name Allow-ICMPv6-Input - option src wan - option proto icmp - list icmp_type echo-request - list icmp_type echo-reply - list icmp_type destination-unreachable - list icmp_type packet-too-big - list icmp_type time-exceeded - list icmp_type bad-header - list icmp_type unknown-header-type - list icmp_type router-solicitation - list icmp_type neighbour-solicitation - list icmp_type router-advertisement - list icmp_type neighbour-advertisement - option limit 1000/sec - option family ipv6 - option target ACCEPT - option hidden 1 - -# Allow essential forwarded IPv6 ICMP traffic -config rule - option name Allow-ICMPv6-Forward - option src wan - option dest * - option proto icmp - list icmp_type echo-request - list icmp_type echo-reply - list icmp_type destination-unreachable - list icmp_type packet-too-big - list icmp_type time-exceeded - list icmp_type bad-header - list icmp_type unknown-header-type - option limit 1000/sec - option family ipv6 - option target ACCEPT - option hidden 1 - -# include a file with users custom iptables rules -config include - option path /etc/firewall.user - option reload 1 - -# include a file with rules for SIP and RTP traffic -config include - option path /etc/firewall.sip - option reload 1 - diff --git a/iopsys-brcm63xx-mips/cg300/base-files/etc/netmodes/routed/layer2_interface_ethernet b/iopsys-brcm63xx-mips/cg300/base-files/etc/netmodes/routed/layer2_interface_ethernet deleted file mode 100644 index 4d9cbc411..000000000 --- a/iopsys-brcm63xx-mips/cg300/base-files/etc/netmodes/routed/layer2_interface_ethernet +++ /dev/null @@ -1,5 +0,0 @@ -config ethernet_interface 'Wan' - option baseifname 'eth0' - option ifname 'eth0.1' - option name 'WAN' - diff --git a/iopsys-brcm63xx-mips/cg300/base-files/etc/netmodes/routed/network b/iopsys-brcm63xx-mips/cg300/base-files/etc/netmodes/routed/network deleted file mode 100644 index a5fd22af5..000000000 --- a/iopsys-brcm63xx-mips/cg300/base-files/etc/netmodes/routed/network +++ /dev/null @@ -1,31 +0,0 @@ - -config interface 'loopback' - option is_lan '1' - option ifname 'lo' - option proto 'static' - option ipaddr '127.0.0.1' - option netmask '255.0.0.0' - -config interface 'lan' - option is_lan '1' - option type 'bridge' - option proto 'static' - option ipaddr '192.168.1.1' - option netmask '255.255.255.0' - option ifname 'eth4 eth3 eth1 eth2' - option ip6assign '60' - -config interface 'wan' - option type 'anywan' - option proto 'dhcp' - option vendorid '$HARDWAREID-INTENO' - option hostname 'Inteno_$MAC4' - option ifname 'ptm0.1 atm0.1 eth0.1' - option reqopts '43' - -config interface 'wan6' - option proto 'dhcpv6' - option ifname '@wan' - - - diff --git a/iopsys-brcm63xx-mips/cg300/base-files/etc/netmodes/routed/wireless b/iopsys-brcm63xx-mips/cg300/base-files/etc/netmodes/routed/wireless deleted file mode 100644 index 281bdc31b..000000000 --- a/iopsys-brcm63xx-mips/cg300/base-files/etc/netmodes/routed/wireless +++ /dev/null @@ -1,86 +0,0 @@ -config wifi-status 'status' - option wlan '1' - option wps '1' - option sched_status '0' - option schedule '0' - -config wifi-device 'wl0' - option type 'broadcom' - option country 'EU/13' - option band 'a' - option bandwidth '80' - option hwmode '11ac' - option channel 'auto' - option scantimer '15' - option wmm '1' - option wmm_noack '0' - option wmm_apsd '1' - option txpower '100' - option rateset 'default' - option frag '2346' - option rts '2347' - option dtim_period '1' - option beacon_int '100' - option rxchainps '0' - option rxchainps_qt '10' - option rxchainps_pps '10' - option rifs '0' - option rifs_advert '0' - option maxassoc '32' - option beamforming '1' - option doth '1' - option dfsc '1' - -config wifi-iface - option device 'wl0' - option network 'lan' - option mode 'ap' - option ssid 'Inteno-$BSSID4' - option encryption 'psk2' - option cipher 'auto' - option key '$WPAKEY' - option gtk_rekey '3600' - option macfilter '0' - option wps_pbc '1' - option wmf_bss_enable '1' - option bss_max '32' - -config wifi-device 'wl1' - option type 'broadcom' - option country 'EU/13' - option band 'b' - option bandwidth '20' - option hwmode 'auto' - option channel 'auto' - option scantimer '15' - option wmm '1' - option wmm_noack '0' - option wmm_apsd '1' - option txpower '100' - option rateset 'default' - option frag '2346' - option rts '2347' - option dtim_period '1' - option beacon_int '100' - option rxchainps '0' - option rxchainps_qt '10' - option rxchainps_pps '10' - option rifs '0' - option rifs_advert '0' - option maxassoc '32' - option doth '0' - -config wifi-iface - option device 'wl1' - option network 'lan' - option mode 'ap' - option ssid 'Inteno-$BSSID4' - option encryption 'mixed-psk' - option cipher 'auto' - option key '$WPAKEY' - option gtk_rekey '3600' - option macfilter '0' - option wps_pbc '1' - option wmf_bss_enable '1' - option bss_max '32' - diff --git a/iopsys-brcm63xx-mips/cg301/base-files/etc/config/netmode b/iopsys-brcm63xx-mips/cg301/base-files/etc/config/netmode deleted file mode 100644 index bae23a276..000000000 --- a/iopsys-brcm63xx-mips/cg301/base-files/etc/config/netmode +++ /dev/null @@ -1,6 +0,0 @@ -config mode 'setup' - option dir '/etc/netmodes' - option detail '' - option curmode 'routed' - option credmodes 'repeater' - diff --git a/iopsys-brcm63xx-mips/cg301/base-files/etc/netmodes/repeater/DETAILS b/iopsys-brcm63xx-mips/cg301/base-files/etc/netmodes/repeater/DETAILS deleted file mode 100644 index 09ae64313..000000000 --- a/iopsys-brcm63xx-mips/cg301/base-files/etc/netmodes/repeater/DETAILS +++ /dev/null @@ -1,13 +0,0 @@ -{ - "description": [ - { "en" : "Wireless Repeater" }, - { "sv" : "Trådlös repeater" } - ], - "explanation": [ - { "en" : "Your router is going to act as a wired extender or wireless repeater to the selected Wireless Access Point." }, - { "sv" : "Routern kommer att fungera som en trådbunden extender eller trådlös repeater till den valda trådlösa åtkomstpunkten." } - ], - "credentials" : 1, - "reboot" : 0 -} - diff --git a/iopsys-brcm63xx-mips/cg301/base-files/etc/netmodes/repeater/firewall b/iopsys-brcm63xx-mips/cg301/base-files/etc/netmodes/repeater/firewall deleted file mode 100644 index 2f7d277c1..000000000 --- a/iopsys-brcm63xx-mips/cg301/base-files/etc/netmodes/repeater/firewall +++ /dev/null @@ -1,121 +0,0 @@ -config defaults - option syn_flood 1 - option input ACCEPT - option output ACCEPT - option forward REJECT -# Uncomment this line to disable ipv6 rules -# option disable_ipv6 1 - -config zone - option name lan - list network 'lan' - option input ACCEPT - option output ACCEPT - option forward ACCEPT - -config zone - option name wan - list network 'wan' - option input REJECT - option output ACCEPT - option forward REJECT - option masq 1 - option mtu_fix 1 - -config forwarding - option src lan - option dest wan - -# We need to accept udp packets on port 68, -# see https://dev.openwrt.org/ticket/4108 -config rule - option name Allow-DHCP-Renew - option src wan - option proto udp - option dest_port 68 - option target ACCEPT - option family ipv4 - option hidden 1 - -config rule - option name Repeater-Management - option src wan - option proto tcp - option dest_port '22 80 8080 8181 9876' - option target ACCEPT - option family ipv4 - option hidden 1 - -# Allow IPv4 ping -config rule - option name Allow-Ping - option src wan - option proto icmp - option icmp_type echo-request - option family ipv4 - option target ACCEPT - option hidden 1 - -# Allow DHCPv6 replies -# see https://dev.openwrt.org/ticket/10381 -config rule - option name Allow-DHCPv6 - option src wan - option proto udp - option src_ip fe80::/10 - option src_port 547 - option dest_ip fe80::/10 - option dest_port 546 - option family ipv6 - option target ACCEPT - option hidden 1 - -# Allow essential incoming IPv6 ICMP traffic -config rule - option name Allow-ICMPv6-Input - option src wan - option proto icmp - list icmp_type echo-request - list icmp_type echo-reply - list icmp_type destination-unreachable - list icmp_type packet-too-big - list icmp_type time-exceeded - list icmp_type bad-header - list icmp_type unknown-header-type - list icmp_type router-solicitation - list icmp_type neighbour-solicitation - list icmp_type router-advertisement - list icmp_type neighbour-advertisement - option limit 1000/sec - option family ipv6 - option target ACCEPT - option hidden 1 - -# Allow essential forwarded IPv6 ICMP traffic -config rule - option name Allow-ICMPv6-Forward - option src wan - option dest * - option proto icmp - list icmp_type echo-request - list icmp_type echo-reply - list icmp_type destination-unreachable - list icmp_type packet-too-big - list icmp_type time-exceeded - list icmp_type bad-header - list icmp_type unknown-header-type - option limit 1000/sec - option family ipv6 - option target ACCEPT - option hidden 1 - -# include a file with users custom iptables rules -config include - option path /etc/firewall.user - option reload 1 - -# include a file with rules for SIP and RTP traffic -config include - option path /etc/firewall.sip - option reload 1 - diff --git a/iopsys-brcm63xx-mips/cg301/base-files/etc/netmodes/repeater/layer2_interface_ethernet b/iopsys-brcm63xx-mips/cg301/base-files/etc/netmodes/repeater/layer2_interface_ethernet deleted file mode 100644 index c9fdaa63b..000000000 --- a/iopsys-brcm63xx-mips/cg301/base-files/etc/netmodes/repeater/layer2_interface_ethernet +++ /dev/null @@ -1,6 +0,0 @@ -config ethernet_interface 'Wan' - option baseifname 'eth0' - option ifname 'eth0.1' - option name 'WAN' - option bridge '1' - diff --git a/iopsys-brcm63xx-mips/cg301/base-files/etc/netmodes/repeater/network b/iopsys-brcm63xx-mips/cg301/base-files/etc/netmodes/repeater/network deleted file mode 100644 index fae1aaae7..000000000 --- a/iopsys-brcm63xx-mips/cg301/base-files/etc/netmodes/repeater/network +++ /dev/null @@ -1,23 +0,0 @@ - -config interface 'loopback' - option is_lan '1' - option ifname 'lo' - option proto 'static' - option ipaddr '127.0.0.1' - option netmask '255.0.0.0' - -config interface 'wan' - option type 'bridge' - option proto 'dhcp' - option vendorid 'Inteno_Repeater_$MAC4' - option hostname 'Inteno_Repeater_$MAC4' - option ifname 'eth0.1' - option reqopts '43' - -config interface 'lan' - option is_lan '1' - option proto 'static' - option ifname 'eth1' - option ipaddr '192.168.11.1' - option netmask '255.255.255.0' - diff --git a/iopsys-brcm63xx-mips/cg301/base-files/etc/netmodes/repeater/uhttpd b/iopsys-brcm63xx-mips/cg301/base-files/etc/netmodes/repeater/uhttpd deleted file mode 100644 index 420b2aacc..000000000 --- a/iopsys-brcm63xx-mips/cg301/base-files/etc/netmodes/repeater/uhttpd +++ /dev/null @@ -1,33 +0,0 @@ -config uhttpd 'main' - list listen_http '0.0.0.0:80' - list listen_http '[::]:80' - list listen_http '0.0.0.0:8080' - list listen_http '[::]:8080' - list listen_http '0.0.0.0:8181' - list listen_http '[::]:8181' - list listen_https '0.0.0.0:443' - list listen_https '[::]:443' - option redirect_https '1' - option home '/www' - option rfc1918_filter '1' - option max_requests '3' - option max_connections '100' - option cert '/etc/uhttpd.crt' - option key '/etc/uhttpd.key' - option cgi_prefix '/cgi-bin' - option script_timeout '60' - option network_timeout '30' - option http_keepalive '20' - option tcp_keepalive '1' - option ubus_prefix '/ubus' - -config cert 'px5g' - option days '730' - option bits '1024' - option country 'ZZ' - option state 'Somewhere' - option location 'Uknown' - option commonname 'OpenWrt' - -config logopts 'logopts' - diff --git a/iopsys-brcm63xx-mips/cg301/base-files/etc/netmodes/repeater/wireless b/iopsys-brcm63xx-mips/cg301/base-files/etc/netmodes/repeater/wireless deleted file mode 100644 index 363d15925..000000000 --- a/iopsys-brcm63xx-mips/cg301/base-files/etc/netmodes/repeater/wireless +++ /dev/null @@ -1,101 +0,0 @@ -config wifi-status 'status' - option wlan '1' - option wps '1' - option sched_status '0' - option schedule '0' - -config wifi-device 'wl0' - option type 'broadcom' - option country 'EU/13' - option band 'a' - option bandwidth '20' - option hwmode '11ac' - option channel 'auto' - option scantimer '15' - option wmm '1' - option wmm_noack '0' - option wmm_apsd '0' - option txpower '100' - option rateset 'default' - option frag '2346' - option rts '2347' - option dtim_period '1' - option beacon_int '100' - option rxchainps '0' - option rxchainps_qt '10' - option rxchainps_pps '10' - option rifs '0' - option rifs_advert '0' - option maxassoc '32' - option beamforming '0' - option doth '1' - option dfsc '1' - -config wifi-iface - option device 'wl0' - option network 'wan' - option mode 'ap' - option ssid 'Inteno-$BSSID4' - option encryption 'psk2' - option cipher 'auto' - option key '$WPAKEY' - option gtk_rekey '3600' - option macfilter '0' - option wps_pbc '1' - option wmf_bss_enable '1' - option bss_max '32' - option autoconf '1' - -config wifi-device 'wl1' - option type 'broadcom' - option country 'EU/13' - option band 'b' - option bandwidth '20' - option hwmode 'auto' - option channel 'auto' - option scantimer '15' - option wmm '1' - option wmm_noack '0' - option wmm_apsd '0' - option txpower '100' - option rateset 'default' - option frag '2346' - option rts '2347' - option dtim_period '1' - option beacon_int '100' - option rxchainps '0' - option rxchainps_qt '10' - option rxchainps_pps '10' - option rifs '0' - option rifs_advert '0' - option maxassoc '32' - option doth '0' - option apsta '1' - -config wifi-iface - option device 'wl1' - option ifname 'wl1' - option network 'wan' - option mode 'wet' - option ssid 'Inteno-$BSSID4' - option encryption 'psk2' - option cipher 'auto' - option wps_pbc '0' - option wmf_bss_enable '1' - option autoconf '1' - -config wifi-iface - option device 'wl1' - option network 'wan' - option mode 'ap' - option ssid 'Inteno-$BSSID4' - option encryption 'psk2' - option cipher 'auto' - option key '$WPAKEY' - option gtk_rekey '3600' - option macfilter '0' - option wps_pbc '1' - option wmf_bss_enable '1' - option bss_max '32' - option autoconf '1' - diff --git a/iopsys-brcm63xx-mips/cg301/base-files/etc/netmodes/routed/DETAILS b/iopsys-brcm63xx-mips/cg301/base-files/etc/netmodes/routed/DETAILS deleted file mode 100644 index 18a562581..000000000 --- a/iopsys-brcm63xx-mips/cg301/base-files/etc/netmodes/routed/DETAILS +++ /dev/null @@ -1,12 +0,0 @@ -{ - "description": [ - { "en" : "Fully Routed (NAT)" }, - { "sv" : "Fullt Omdirigerad (NAT)" } - ], - "explanation": [ - { "en" : "" }, - { "sv" : "" } - ], - "credentials" : 0 -} - diff --git a/iopsys-brcm63xx-mips/cg301/base-files/etc/netmodes/routed/firewall b/iopsys-brcm63xx-mips/cg301/base-files/etc/netmodes/routed/firewall deleted file mode 100644 index 4a48b0ac6..000000000 --- a/iopsys-brcm63xx-mips/cg301/base-files/etc/netmodes/routed/firewall +++ /dev/null @@ -1,113 +0,0 @@ -config defaults - option syn_flood 1 - option input ACCEPT - option output ACCEPT - option forward REJECT -# Uncomment this line to disable ipv6 rules -# option disable_ipv6 1 - -config zone - option name lan - list network 'lan' - option input ACCEPT - option output ACCEPT - option forward ACCEPT - -config zone - option name wan - list network 'wan' - list network 'wan6' - option input REJECT - option output ACCEPT - option forward REJECT - option masq 1 - option mtu_fix 1 - -config forwarding - option src lan - option dest wan - -# We need to accept udp packets on port 68, -# see https://dev.openwrt.org/ticket/4108 -config rule - option name Allow-DHCP-Renew - option src wan - option proto udp - option dest_port 68 - option target ACCEPT - option family ipv4 - option hidden 1 - -# Allow IPv4 ping -config rule - option name Allow-Ping - option src wan - option proto icmp - option icmp_type echo-request - option family ipv4 - option target ACCEPT - option hidden 1 - -# Allow DHCPv6 replies -# see https://dev.openwrt.org/ticket/10381 -config rule - option name Allow-DHCPv6 - option src wan - option proto udp - option src_ip fe80::/10 - option src_port 547 - option dest_ip fe80::/10 - option dest_port 546 - option family ipv6 - option target ACCEPT - option hidden 1 - -# Allow essential incoming IPv6 ICMP traffic -config rule - option name Allow-ICMPv6-Input - option src wan - option proto icmp - list icmp_type echo-request - list icmp_type echo-reply - list icmp_type destination-unreachable - list icmp_type packet-too-big - list icmp_type time-exceeded - list icmp_type bad-header - list icmp_type unknown-header-type - list icmp_type router-solicitation - list icmp_type neighbour-solicitation - list icmp_type router-advertisement - list icmp_type neighbour-advertisement - option limit 1000/sec - option family ipv6 - option target ACCEPT - option hidden 1 - -# Allow essential forwarded IPv6 ICMP traffic -config rule - option name Allow-ICMPv6-Forward - option src wan - option dest * - option proto icmp - list icmp_type echo-request - list icmp_type echo-reply - list icmp_type destination-unreachable - list icmp_type packet-too-big - list icmp_type time-exceeded - list icmp_type bad-header - list icmp_type unknown-header-type - option limit 1000/sec - option family ipv6 - option target ACCEPT - option hidden 1 - -# include a file with users custom iptables rules -config include - option path /etc/firewall.user - option reload 1 - -# include a file with rules for SIP and RTP traffic -config include - option path /etc/firewall.sip - option reload 1 - diff --git a/iopsys-brcm63xx-mips/cg301/base-files/etc/netmodes/routed/layer2_interface_ethernet b/iopsys-brcm63xx-mips/cg301/base-files/etc/netmodes/routed/layer2_interface_ethernet deleted file mode 100644 index 4d9cbc411..000000000 --- a/iopsys-brcm63xx-mips/cg301/base-files/etc/netmodes/routed/layer2_interface_ethernet +++ /dev/null @@ -1,5 +0,0 @@ -config ethernet_interface 'Wan' - option baseifname 'eth0' - option ifname 'eth0.1' - option name 'WAN' - diff --git a/iopsys-brcm63xx-mips/cg301/base-files/etc/netmodes/routed/network b/iopsys-brcm63xx-mips/cg301/base-files/etc/netmodes/routed/network deleted file mode 100644 index a5fd22af5..000000000 --- a/iopsys-brcm63xx-mips/cg301/base-files/etc/netmodes/routed/network +++ /dev/null @@ -1,31 +0,0 @@ - -config interface 'loopback' - option is_lan '1' - option ifname 'lo' - option proto 'static' - option ipaddr '127.0.0.1' - option netmask '255.0.0.0' - -config interface 'lan' - option is_lan '1' - option type 'bridge' - option proto 'static' - option ipaddr '192.168.1.1' - option netmask '255.255.255.0' - option ifname 'eth4 eth3 eth1 eth2' - option ip6assign '60' - -config interface 'wan' - option type 'anywan' - option proto 'dhcp' - option vendorid '$HARDWAREID-INTENO' - option hostname 'Inteno_$MAC4' - option ifname 'ptm0.1 atm0.1 eth0.1' - option reqopts '43' - -config interface 'wan6' - option proto 'dhcpv6' - option ifname '@wan' - - - diff --git a/iopsys-brcm63xx-mips/cg301/base-files/etc/netmodes/routed/wireless b/iopsys-brcm63xx-mips/cg301/base-files/etc/netmodes/routed/wireless deleted file mode 100644 index 281bdc31b..000000000 --- a/iopsys-brcm63xx-mips/cg301/base-files/etc/netmodes/routed/wireless +++ /dev/null @@ -1,86 +0,0 @@ -config wifi-status 'status' - option wlan '1' - option wps '1' - option sched_status '0' - option schedule '0' - -config wifi-device 'wl0' - option type 'broadcom' - option country 'EU/13' - option band 'a' - option bandwidth '80' - option hwmode '11ac' - option channel 'auto' - option scantimer '15' - option wmm '1' - option wmm_noack '0' - option wmm_apsd '1' - option txpower '100' - option rateset 'default' - option frag '2346' - option rts '2347' - option dtim_period '1' - option beacon_int '100' - option rxchainps '0' - option rxchainps_qt '10' - option rxchainps_pps '10' - option rifs '0' - option rifs_advert '0' - option maxassoc '32' - option beamforming '1' - option doth '1' - option dfsc '1' - -config wifi-iface - option device 'wl0' - option network 'lan' - option mode 'ap' - option ssid 'Inteno-$BSSID4' - option encryption 'psk2' - option cipher 'auto' - option key '$WPAKEY' - option gtk_rekey '3600' - option macfilter '0' - option wps_pbc '1' - option wmf_bss_enable '1' - option bss_max '32' - -config wifi-device 'wl1' - option type 'broadcom' - option country 'EU/13' - option band 'b' - option bandwidth '20' - option hwmode 'auto' - option channel 'auto' - option scantimer '15' - option wmm '1' - option wmm_noack '0' - option wmm_apsd '1' - option txpower '100' - option rateset 'default' - option frag '2346' - option rts '2347' - option dtim_period '1' - option beacon_int '100' - option rxchainps '0' - option rxchainps_qt '10' - option rxchainps_pps '10' - option rifs '0' - option rifs_advert '0' - option maxassoc '32' - option doth '0' - -config wifi-iface - option device 'wl1' - option network 'lan' - option mode 'ap' - option ssid 'Inteno-$BSSID4' - option encryption 'mixed-psk' - option cipher 'auto' - option key '$WPAKEY' - option gtk_rekey '3600' - option macfilter '0' - option wps_pbc '1' - option wmf_bss_enable '1' - option bss_max '32' - diff --git a/iopsys-brcm63xx-mips/dg301/base-files/etc/config/netmode b/iopsys-brcm63xx-mips/dg301/base-files/etc/config/netmode deleted file mode 100644 index 7d7bc1e69..000000000 --- a/iopsys-brcm63xx-mips/dg301/base-files/etc/config/netmode +++ /dev/null @@ -1,5 +0,0 @@ -config mode 'setup' - option dir '/etc/netmodes' - option detail '' - option curmode 'routed' - diff --git a/iopsys-brcm63xx-mips/dg301/base-files/etc/netmodes/bridged/DETAILS b/iopsys-brcm63xx-mips/dg301/base-files/etc/netmodes/bridged/DETAILS deleted file mode 100644 index f19dd67b2..000000000 --- a/iopsys-brcm63xx-mips/dg301/base-files/etc/netmodes/bridged/DETAILS +++ /dev/null @@ -1,12 +0,0 @@ -{ - "description": [ - { "en" : "Bridged IPTV" }, - { "sv" : "Brygg IPTV" } - ], - "explanation": [ - { "en" : "LAN4 port is bridged with IPTV VLAN" }, - { "sv" : "LAN4 port överbryggas med IPTV VLAN" } - ], - "credentials" : 0 -} - diff --git a/iopsys-brcm63xx-mips/dg301/base-files/etc/netmodes/bridged/dhcp b/iopsys-brcm63xx-mips/dg301/base-files/etc/netmodes/bridged/dhcp deleted file mode 100644 index 0e05f79c1..000000000 --- a/iopsys-brcm63xx-mips/dg301/base-files/etc/netmodes/bridged/dhcp +++ /dev/null @@ -1,22 +0,0 @@ -config dnsmasq - option domainneeded 1 - option boguspriv 1 - option filterwin2k 0 - option localise_queries 1 - option rebind_protection 0 - option rebind_localhost 1 - option local '/lan/' - option domain 'lan' - option expandhosts 1 - option nonegcache 0 - option authoritative 1 - option readethers 1 - option leasefile '/tmp/dhcp.leases' - option resolvfile '/tmp/resolv.conf.auto' - -config dhcp lan - option interface lan - option start 100 - option limit 150 - option leasetime 12h - diff --git a/iopsys-brcm63xx-mips/dg301/base-files/etc/netmodes/bridged/firewall b/iopsys-brcm63xx-mips/dg301/base-files/etc/netmodes/bridged/firewall deleted file mode 100644 index ffbde2db5..000000000 --- a/iopsys-brcm63xx-mips/dg301/base-files/etc/netmodes/bridged/firewall +++ /dev/null @@ -1,114 +0,0 @@ -config defaults - option syn_flood 1 - option input ACCEPT - option output ACCEPT - option forward REJECT -# Uncomment this line to disable ipv6 rules -# option disable_ipv6 1 - -config zone - option name lan - list network 'lan' - option input ACCEPT - option output ACCEPT - option forward ACCEPT - -config zone - option name wan - list network 'wan' - list network 'wan6' - list network 'iptv' - option input REJECT - option output ACCEPT - option forward REJECT - option masq 1 - option mtu_fix 1 - -config forwarding - option src lan - option dest wan - -# We need to accept udp packets on port 68, -# see https://dev.openwrt.org/ticket/4108 -config rule - option name Allow-DHCP-Renew - option src wan - option proto udp - option dest_port 68 - option target ACCEPT - option family ipv4 - option hidden 1 - -# Allow IPv4 ping -config rule - option name Allow-Ping - option src wan - option proto icmp - option icmp_type echo-request - option family ipv4 - option target ACCEPT - option hidden 1 - -# Allow DHCPv6 replies -# see https://dev.openwrt.org/ticket/10381 -config rule - option name Allow-DHCPv6 - option src wan - option proto udp - option src_ip fe80::/10 - option src_port 547 - option dest_ip fe80::/10 - option dest_port 546 - option family ipv6 - option target ACCEPT - option hidden 1 - -# Allow essential incoming IPv6 ICMP traffic -config rule - option name Allow-ICMPv6-Input - option src wan - option proto icmp - list icmp_type echo-request - list icmp_type echo-reply - list icmp_type destination-unreachable - list icmp_type packet-too-big - list icmp_type time-exceeded - list icmp_type bad-header - list icmp_type unknown-header-type - list icmp_type router-solicitation - list icmp_type neighbour-solicitation - list icmp_type router-advertisement - list icmp_type neighbour-advertisement - option limit 1000/sec - option family ipv6 - option target ACCEPT - option hidden 1 - -# Allow essential forwarded IPv6 ICMP traffic -config rule - option name Allow-ICMPv6-Forward - option src wan - option dest * - option proto icmp - list icmp_type echo-request - list icmp_type echo-reply - list icmp_type destination-unreachable - list icmp_type packet-too-big - list icmp_type time-exceeded - list icmp_type bad-header - list icmp_type unknown-header-type - option limit 1000/sec - option family ipv6 - option target ACCEPT - option hidden 1 - -# include a file with users custom iptables rules -config include - option path /etc/firewall.user - option reload 1 - -# include a file with rules for SIP and RTP traffic -config include - option path /etc/firewall.sip - option reload 1 - diff --git a/iopsys-brcm63xx-mips/dg301/base-files/etc/netmodes/bridged/layer2_interface_adsl b/iopsys-brcm63xx-mips/dg301/base-files/etc/netmodes/bridged/layer2_interface_adsl deleted file mode 100644 index b858c47ac..000000000 --- a/iopsys-brcm63xx-mips/dg301/base-files/etc/netmodes/bridged/layer2_interface_adsl +++ /dev/null @@ -1,23 +0,0 @@ - -config atm_bridge - option link_type 'EoA' - option encapseoa 'llcsnap_eth' - option unit '0' - option ifname 'atm0.1' - option baseifname 'atm0' - option atmtype 'ubr' - option name 'atm_inet' - option vpi '8' - option vci '35' - -config atm_bridge - option link_type 'EoA' - option encapseoa 'llcsnap_eth' - option unit '1' - option ifname 'atm1.1' - option baseifname 'atm1' - option atmtype 'ubr' - option name 'atm_tv' - option vpi '8' - option vci '45' - diff --git a/iopsys-brcm63xx-mips/dg301/base-files/etc/netmodes/bridged/layer2_interface_ethernet b/iopsys-brcm63xx-mips/dg301/base-files/etc/netmodes/bridged/layer2_interface_ethernet deleted file mode 100644 index 4d9cbc411..000000000 --- a/iopsys-brcm63xx-mips/dg301/base-files/etc/netmodes/bridged/layer2_interface_ethernet +++ /dev/null @@ -1,5 +0,0 @@ -config ethernet_interface 'Wan' - option baseifname 'eth0' - option ifname 'eth0.1' - option name 'WAN' - diff --git a/iopsys-brcm63xx-mips/dg301/base-files/etc/netmodes/bridged/layer2_interface_vdsl b/iopsys-brcm63xx-mips/dg301/base-files/etc/netmodes/bridged/layer2_interface_vdsl deleted file mode 100644 index 6c2179eb0..000000000 --- a/iopsys-brcm63xx-mips/dg301/base-files/etc/netmodes/bridged/layer2_interface_vdsl +++ /dev/null @@ -1,9 +0,0 @@ -config vdsl_interface - option unit '0' - option ifname 'ptm0.1' - option baseifname 'ptm0' - option name 'VDSL2' - option dslat '1' - option ptmprio '1' - option ipqos '1' - diff --git a/iopsys-brcm63xx-mips/dg301/base-files/etc/netmodes/bridged/layer2_interface_vlan b/iopsys-brcm63xx-mips/dg301/base-files/etc/netmodes/bridged/layer2_interface_vlan deleted file mode 100644 index 18bdf9e68..000000000 --- a/iopsys-brcm63xx-mips/dg301/base-files/etc/netmodes/bridged/layer2_interface_vlan +++ /dev/null @@ -1,18 +0,0 @@ - - -config 'vlan_interface' - option name 'eth_tv' - option ifname 'eth0.101' - option baseifname 'eth0' - option vlan8021q '101' - option vlan8021p '0' - option bridge '1' - -config 'vlan_interface' - option name 'vdsl_tv' - option ifname 'ptm0.101' - option baseifname 'ptm0' - option vlan8021q '101' - option vlan8021p '0' - option bridge '1' - diff --git a/iopsys-brcm63xx-mips/dg301/base-files/etc/netmodes/bridged/mcpd b/iopsys-brcm63xx-mips/dg301/base-files/etc/netmodes/bridged/mcpd deleted file mode 100644 index 2e00cc735..000000000 --- a/iopsys-brcm63xx-mips/dg301/base-files/etc/netmodes/bridged/mcpd +++ /dev/null @@ -1,18 +0,0 @@ - -config mcpd 'mcpd' - option igmp_query_response_interval '10' - option igmp_last_member_query_interval '10' - option igmp_robustness_value '2' - option igmp_lan_to_lan_multicast '0' - option igmp_max_groups '25' - option igmp_max_sources '10' - option igmp_max_members '25' - option igmp_fast_leave '1' - option igmp_join_immediate '0' - option igmp_proxy_enable '0' - option igmp_snooping_enable '2' - option igmp_snooping_interfaces 'br-iptv' - option igmp_default_version '2' - option igmp_query_interval '120' - option igmp_proxy_interfaces 'iptv' - diff --git a/iopsys-brcm63xx-mips/dg301/base-files/etc/netmodes/bridged/network b/iopsys-brcm63xx-mips/dg301/base-files/etc/netmodes/bridged/network deleted file mode 100644 index 8ecdb64bf..000000000 --- a/iopsys-brcm63xx-mips/dg301/base-files/etc/netmodes/bridged/network +++ /dev/null @@ -1,39 +0,0 @@ - -config interface 'loopback' - option is_lan '1' - option ifname 'lo' - option proto 'static' - option ipaddr '127.0.0.1' - option netmask '255.0.0.0' - -config interface 'lan' - option is_lan '1' - option type 'bridge' - option proto 'static' - option ipaddr '192.168.1.1' - option netmask '255.255.255.0' - option ifname 'eth4 eth3 eth1' - option ip6assign '60' - -config interface 'wan' - option type 'anywan' - option proto 'dhcp' - option vendorid '$HARDWAREID-INTENO' - option hostname 'Inteno_$MAC4' - option ifname 'ptm0.1 atm0.1 eth0.1' - option ipv6 '1' - -config interface 'iptv' - option type 'bridge' - option proto 'dhcp' - option gateway '0.0.0.0' - option reqopts 'staticroutes' - option ifname 'ptm0.101 atm1.1 eth0.101 eth2' - option defaultroute '0' - -config interface 'wan6' - option proto 'dhcpv6' - option ifname '@wan' - - - diff --git a/iopsys-brcm63xx-mips/dg301/base-files/etc/netmodes/routed/DETAILS b/iopsys-brcm63xx-mips/dg301/base-files/etc/netmodes/routed/DETAILS deleted file mode 100644 index 18a562581..000000000 --- a/iopsys-brcm63xx-mips/dg301/base-files/etc/netmodes/routed/DETAILS +++ /dev/null @@ -1,12 +0,0 @@ -{ - "description": [ - { "en" : "Fully Routed (NAT)" }, - { "sv" : "Fullt Omdirigerad (NAT)" } - ], - "explanation": [ - { "en" : "" }, - { "sv" : "" } - ], - "credentials" : 0 -} - diff --git a/iopsys-brcm63xx-mips/dg301/base-files/etc/netmodes/routed/dhcp b/iopsys-brcm63xx-mips/dg301/base-files/etc/netmodes/routed/dhcp deleted file mode 100644 index 0e05f79c1..000000000 --- a/iopsys-brcm63xx-mips/dg301/base-files/etc/netmodes/routed/dhcp +++ /dev/null @@ -1,22 +0,0 @@ -config dnsmasq - option domainneeded 1 - option boguspriv 1 - option filterwin2k 0 - option localise_queries 1 - option rebind_protection 0 - option rebind_localhost 1 - option local '/lan/' - option domain 'lan' - option expandhosts 1 - option nonegcache 0 - option authoritative 1 - option readethers 1 - option leasefile '/tmp/dhcp.leases' - option resolvfile '/tmp/resolv.conf.auto' - -config dhcp lan - option interface lan - option start 100 - option limit 150 - option leasetime 12h - diff --git a/iopsys-brcm63xx-mips/dg301/base-files/etc/netmodes/routed/firewall b/iopsys-brcm63xx-mips/dg301/base-files/etc/netmodes/routed/firewall deleted file mode 100644 index 4a48b0ac6..000000000 --- a/iopsys-brcm63xx-mips/dg301/base-files/etc/netmodes/routed/firewall +++ /dev/null @@ -1,113 +0,0 @@ -config defaults - option syn_flood 1 - option input ACCEPT - option output ACCEPT - option forward REJECT -# Uncomment this line to disable ipv6 rules -# option disable_ipv6 1 - -config zone - option name lan - list network 'lan' - option input ACCEPT - option output ACCEPT - option forward ACCEPT - -config zone - option name wan - list network 'wan' - list network 'wan6' - option input REJECT - option output ACCEPT - option forward REJECT - option masq 1 - option mtu_fix 1 - -config forwarding - option src lan - option dest wan - -# We need to accept udp packets on port 68, -# see https://dev.openwrt.org/ticket/4108 -config rule - option name Allow-DHCP-Renew - option src wan - option proto udp - option dest_port 68 - option target ACCEPT - option family ipv4 - option hidden 1 - -# Allow IPv4 ping -config rule - option name Allow-Ping - option src wan - option proto icmp - option icmp_type echo-request - option family ipv4 - option target ACCEPT - option hidden 1 - -# Allow DHCPv6 replies -# see https://dev.openwrt.org/ticket/10381 -config rule - option name Allow-DHCPv6 - option src wan - option proto udp - option src_ip fe80::/10 - option src_port 547 - option dest_ip fe80::/10 - option dest_port 546 - option family ipv6 - option target ACCEPT - option hidden 1 - -# Allow essential incoming IPv6 ICMP traffic -config rule - option name Allow-ICMPv6-Input - option src wan - option proto icmp - list icmp_type echo-request - list icmp_type echo-reply - list icmp_type destination-unreachable - list icmp_type packet-too-big - list icmp_type time-exceeded - list icmp_type bad-header - list icmp_type unknown-header-type - list icmp_type router-solicitation - list icmp_type neighbour-solicitation - list icmp_type router-advertisement - list icmp_type neighbour-advertisement - option limit 1000/sec - option family ipv6 - option target ACCEPT - option hidden 1 - -# Allow essential forwarded IPv6 ICMP traffic -config rule - option name Allow-ICMPv6-Forward - option src wan - option dest * - option proto icmp - list icmp_type echo-request - list icmp_type echo-reply - list icmp_type destination-unreachable - list icmp_type packet-too-big - list icmp_type time-exceeded - list icmp_type bad-header - list icmp_type unknown-header-type - option limit 1000/sec - option family ipv6 - option target ACCEPT - option hidden 1 - -# include a file with users custom iptables rules -config include - option path /etc/firewall.user - option reload 1 - -# include a file with rules for SIP and RTP traffic -config include - option path /etc/firewall.sip - option reload 1 - diff --git a/iopsys-brcm63xx-mips/dg301/base-files/etc/netmodes/routed/layer2_interface_adsl b/iopsys-brcm63xx-mips/dg301/base-files/etc/netmodes/routed/layer2_interface_adsl deleted file mode 100644 index a22d7bbb6..000000000 --- a/iopsys-brcm63xx-mips/dg301/base-files/etc/netmodes/routed/layer2_interface_adsl +++ /dev/null @@ -1,13 +0,0 @@ - -config atm_bridge - option link_type 'EoA' - option encapseoa 'llcsnap_eth' - option unit '0' - option ifname 'atm0.1' - option baseifname 'atm0' - option atmtype 'ubr' - option name 'atm_inet' - option vpi '8' - option vci '35' - - diff --git a/iopsys-brcm63xx-mips/dg301/base-files/etc/netmodes/routed/layer2_interface_ethernet b/iopsys-brcm63xx-mips/dg301/base-files/etc/netmodes/routed/layer2_interface_ethernet deleted file mode 100644 index 4d9cbc411..000000000 --- a/iopsys-brcm63xx-mips/dg301/base-files/etc/netmodes/routed/layer2_interface_ethernet +++ /dev/null @@ -1,5 +0,0 @@ -config ethernet_interface 'Wan' - option baseifname 'eth0' - option ifname 'eth0.1' - option name 'WAN' - diff --git a/iopsys-brcm63xx-mips/dg301/base-files/etc/netmodes/routed/layer2_interface_vdsl b/iopsys-brcm63xx-mips/dg301/base-files/etc/netmodes/routed/layer2_interface_vdsl deleted file mode 100644 index 6c2179eb0..000000000 --- a/iopsys-brcm63xx-mips/dg301/base-files/etc/netmodes/routed/layer2_interface_vdsl +++ /dev/null @@ -1,9 +0,0 @@ -config vdsl_interface - option unit '0' - option ifname 'ptm0.1' - option baseifname 'ptm0' - option name 'VDSL2' - option dslat '1' - option ptmprio '1' - option ipqos '1' - diff --git a/iopsys-brcm63xx-mips/dg301/base-files/etc/netmodes/routed/layer2_interface_vlan b/iopsys-brcm63xx-mips/dg301/base-files/etc/netmodes/routed/layer2_interface_vlan deleted file mode 100644 index e69de29bb..000000000 diff --git a/iopsys-brcm63xx-mips/dg301/base-files/etc/netmodes/routed/mcpd b/iopsys-brcm63xx-mips/dg301/base-files/etc/netmodes/routed/mcpd deleted file mode 100644 index c99e05b36..000000000 --- a/iopsys-brcm63xx-mips/dg301/base-files/etc/netmodes/routed/mcpd +++ /dev/null @@ -1,14 +0,0 @@ -config mcpd 'mcpd' - option igmp_proxy_interfaces 'wan' - option igmp_default_version '2' - option igmp_query_interval '125' - option igmp_query_response_interval '100' - option igmp_last_member_query_interval '10' - option igmp_robustness_value '2' - option igmp_max_groups '25' - option igmp_max_sources '10' - option igmp_max_members '25' - option igmp_fast_leave '1' - option igmp_proxy_enable '1' - option igmp_snooping_enable '2' - option igmp_snooping_interfaces 'br-lan' diff --git a/iopsys-brcm63xx-mips/dg301/base-files/etc/netmodes/routed/network b/iopsys-brcm63xx-mips/dg301/base-files/etc/netmodes/routed/network deleted file mode 100644 index 8e7257aa5..000000000 --- a/iopsys-brcm63xx-mips/dg301/base-files/etc/netmodes/routed/network +++ /dev/null @@ -1,31 +0,0 @@ - -config interface 'loopback' - option is_lan '1' - option ifname 'lo' - option proto 'static' - option ipaddr '127.0.0.1' - option netmask '255.0.0.0' - -config interface 'lan' - option is_lan '1' - option type 'bridge' - option proto 'static' - option ipaddr '192.168.1.1' - option netmask '255.255.255.0' - option ifname 'eth4 eth3 eth1 eth2' - option ip6assign '60' - -config interface 'wan' - option type 'anywan' - option proto 'dhcp' - option vendorid '$HARDWAREID-INTENO' - option hostname 'Inteno_$MAC4' - option ifname 'ptm0.1 atm0.1 eth0.1' - option ipv6 '1' - -config interface 'wan6' - option proto 'dhcpv6' - option ifname '@wan' - - - -- GitLab