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 bae23a276053a194886b37e32347794ac41b921c..0000000000000000000000000000000000000000 --- 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 09ae643138f3208b457b76b9e4b87f8fe90c49f3..0000000000000000000000000000000000000000 --- 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 2f7d277c1c67bfc7be0a1b897eff91409b307d25..0000000000000000000000000000000000000000 --- 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 c9fdaa63bb4f39a82f68e6db9e621b599a90c31f..0000000000000000000000000000000000000000 --- 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 fae1aaae778e5ac01da5ff1485c45d3799a5aad0..0000000000000000000000000000000000000000 --- 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 420b2aacc1e13b990226197b6f4ed84a8f904752..0000000000000000000000000000000000000000 --- 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 363d159250b15549f80cf864c821c25cd7b235c0..0000000000000000000000000000000000000000 --- 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 18a562581b1632f25343786639fab7fdc4a30bd8..0000000000000000000000000000000000000000 --- 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 4a48b0ac6cfe9d810b9cff7d60343e7918ddd5eb..0000000000000000000000000000000000000000 --- 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 4d9cbc41119b5d75474d72e672a2999fc7b0b0ba..0000000000000000000000000000000000000000 --- 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 a5fd22af590e565f7f2a40559d4f51be9d7b6be0..0000000000000000000000000000000000000000 --- 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 281bdc31b40cc63456ad289978f55327dc56d54e..0000000000000000000000000000000000000000 --- 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 bae23a276053a194886b37e32347794ac41b921c..0000000000000000000000000000000000000000 --- 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 09ae643138f3208b457b76b9e4b87f8fe90c49f3..0000000000000000000000000000000000000000 --- 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 2f7d277c1c67bfc7be0a1b897eff91409b307d25..0000000000000000000000000000000000000000 --- 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 c9fdaa63bb4f39a82f68e6db9e621b599a90c31f..0000000000000000000000000000000000000000 --- 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 fae1aaae778e5ac01da5ff1485c45d3799a5aad0..0000000000000000000000000000000000000000 --- 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 420b2aacc1e13b990226197b6f4ed84a8f904752..0000000000000000000000000000000000000000 --- 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 363d159250b15549f80cf864c821c25cd7b235c0..0000000000000000000000000000000000000000 --- 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 18a562581b1632f25343786639fab7fdc4a30bd8..0000000000000000000000000000000000000000 --- 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 4a48b0ac6cfe9d810b9cff7d60343e7918ddd5eb..0000000000000000000000000000000000000000 --- 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 4d9cbc41119b5d75474d72e672a2999fc7b0b0ba..0000000000000000000000000000000000000000 --- 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 a5fd22af590e565f7f2a40559d4f51be9d7b6be0..0000000000000000000000000000000000000000 --- 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 281bdc31b40cc63456ad289978f55327dc56d54e..0000000000000000000000000000000000000000 --- 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 7d7bc1e69eb935d50d036e7ed4d8c3b79f5f14a6..0000000000000000000000000000000000000000 --- 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 f19dd67b21672f5c49ceb6d2ddc689107d6d4a27..0000000000000000000000000000000000000000 --- 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 0e05f79c1f8cc9be15c25ff06998a5d7ae9388a3..0000000000000000000000000000000000000000 --- 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 ffbde2db57d18f85e23b1d2efcac1d346eec1289..0000000000000000000000000000000000000000 --- 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 b858c47ac5978b135d6074a57e5bec9a36129597..0000000000000000000000000000000000000000 --- 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 4d9cbc41119b5d75474d72e672a2999fc7b0b0ba..0000000000000000000000000000000000000000 --- 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 6c2179eb09de2f38f3d1f7ed10a31415eedcc7cd..0000000000000000000000000000000000000000 --- 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 18bdf9e687069ae5486707bb9749f3a9d7fb1bae..0000000000000000000000000000000000000000 --- 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 2e00cc735b30c7d53a9fa41f81ab1f628b4f2978..0000000000000000000000000000000000000000 --- 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 8ecdb64bf3df9aaccb3b120e4b04c79a2cbc3856..0000000000000000000000000000000000000000 --- 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 18a562581b1632f25343786639fab7fdc4a30bd8..0000000000000000000000000000000000000000 --- 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 0e05f79c1f8cc9be15c25ff06998a5d7ae9388a3..0000000000000000000000000000000000000000 --- 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 4a48b0ac6cfe9d810b9cff7d60343e7918ddd5eb..0000000000000000000000000000000000000000 --- 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 a22d7bbb65badaf76d1958b59d2cd7bea6a83577..0000000000000000000000000000000000000000 --- 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 4d9cbc41119b5d75474d72e672a2999fc7b0b0ba..0000000000000000000000000000000000000000 --- 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 6c2179eb09de2f38f3d1f7ed10a31415eedcc7cd..0000000000000000000000000000000000000000 --- 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 e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000 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 c99e05b36f18e080e242b2cda6c40b0538d81f13..0000000000000000000000000000000000000000 --- 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 8e7257aa5c7431754d6f2bd84aa08ac8fc6ddc86..0000000000000000000000000000000000000000 --- 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' - - -