Created
February 20, 2018 14:25
-
-
Save psachin/e9a11eef873fef5644ce69e26d8de046 to your computer and use it in GitHub Desktop.
D-Link DIR-615 "shark" file: /etc/config/network
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
config interface 'loopback' | |
option ifname 'lo' | |
option proto 'static' | |
option ipaddr '127.0.0.1' | |
option netmask '255.0.0.0' | |
config interface 'lan' | |
option ifname 'eth0' | |
option type 'bridge' | |
option proto 'static' | |
option ipaddr '192.168.1.1' | |
option netmask '255.255.255.0' | |
option gateway '192.168.1.1' | |
option delegate '0' | |
config interface 'wan' | |
option ifname 'eth1' | |
option proto 'pppoe' | |
option username 'USERNAME' | |
option password 'PASSWORD' | |
option macaddr 'CLONED_MAC_ADDR' | |
option service 'ISP_SERVICE_NAME' | |
option mtu '1500' | |
option disable_ipv6 '1' | |
option delegate '0' | |
config switch | |
option reset '1' | |
option name 'switch0' | |
option enable_vlan '1' | |
config switch_vlan | |
option vlan '1' | |
option ports '0 1 2 3 4' | |
option device 'switch0' | |
option vid '1' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment