Difference between revisions of "OpenWRT IPv6: Konfigurasi"

From OnnoWiki
Jump to navigation Jump to search
Line 90: Line 90:
 
  config globals 'globals'
 
  config globals 'globals'
 
   option ula_prefix 'fdde:f315:7672::/48'
 
   option ula_prefix 'fdde:f315:7672::/48'
 
+
 
  config interface 'lan'
 
  config interface 'lan'
 
  option ifname 'eth0'
 
  option ifname 'eth0'
Line 118: Line 118:
 
  option vlan '1'
 
  option vlan '1'
 
  option ports '0 1 2 3 4 5'
 
  option ports '0 1 2 3 4 5'
 
+
 
  config interface 'MESH'
 
  config interface 'MESH'
 
  option proto 'none'
 
  option proto 'none'
Line 129: Line 129:
 
  option username 'tb51aa9310a105d0.19920640'
 
  option username 'tb51aa9310a105d0.19920640'
 
  option password 'ONNOWPURBO1781962'
 
  option password 'ONNOWPURBO1781962'
 +
 +
 +
==/etc/config/system==
 +
 +
config system
 +
option zonename 'Asia/Jakarta'
 +
option timezone 'WIT-7'
 +
option conloglevel '8'
 +
option cronloglevel '8'
 +
option hostname 'Linksys-WRT160NL'
 +
 +
config timeserver 'ntp'
 +
list server '0.openwrt.pool.ntp.org'
 +
list server '1.openwrt.pool.ntp.org'
 +
list server '2.openwrt.pool.ntp.org'
 +
list server '3.openwrt.pool.ntp.org'
 +
 +
config led 'led_wlan'
 +
option name 'WLAN'
 +
option sysfs 'wrt160nl:blue:wlan'
 +
option trigger 'phy0tpt'
 +
 +
 +
==/etc/config/wireless==
 +
 +
config wifi-device 'radio0'
 +
option type 'mac80211'
 +
option hwmode '11ng'
 +
option path 'platform/ath9k'
 +
option htmode 'HT20'
 +
list ht_capab 'SHORT-GI-40'
 +
list ht_capab 'DSSS_CCK-40'
 +
option country 'US'
 +
option channel '1'
 +
option txpower '10'
 +
 +
config wifi-iface
 +
option device 'radio0'
 +
option encryption 'none'
 +
option ssid 'MESH'
 +
option mode 'adhoc'
 +
option bssid '02:CA:FF:EE:BA:BE'
 +
option network 'MESH'

Revision as of 05:07, 4 June 2013

/etc/config/6relayd

config server 'default' 
	list network 'lan' 
	option rd 'server'
	option dhcpv6 'server'
	option fallback_relay 'rd dhcpv6 ndp'
	option management_level '1'
	option compat_ula '1'
	option master 'henet'
	option always_rewrite_dns '1'
	option always_assume_default '1'


/etc/config/dhcp

config dnsmasq
	option domainneeded '1'
	option boguspriv '1'
	option filterwin2k '0'
	option localise_queries '1'
	option rebind_protection '1'
	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'
	option force '1'

config dhcp 'wan'
	option interface 'wan'
	option ignore '1'


/etc/config/radvd

config interface
	option interface 'lan'
	option AdvSendAdvert '1'
	list client 
	option ignore '0'
	option IgnoreIfMissing '1'
	option AdvSourceLLAddress '1'
	option AdvDefaultPreference 'medium'

config prefix
	option interface 'lan'
	option AdvOnLink '1'
	option AdvAutonomous '1'
	list prefix '2001:470:36:ab6::/64'
	option ignore '0'

config route
	option interface 'lan'
	list prefix '2001:470:36:ab6::/64'
	option ignore '0'

config rdnss
	option interface 'lan'
	list addr '2001:470:36:ab6::1/64'
	option ignore '0'

config dnssl
	option interface 'lan' 

list suffix

	option ignore '1'


/etc/config/network

config interface 'loopback'
	option ifname 'lo'
	option proto 'static'
	option ipaddr '127.0.0.1'
	option netmask '255.0.0.0'

config globals 'globals'
 	option ula_prefix 'fdde:f315:7672::/48'

config interface 'lan'
	option ifname 'eth0'
	option type 'bridge'
	option proto 'static'
	option netmask '255.255.255.0'
	option ip6assign '60'
	option ipaddr '192.168.0.222'
	option ip6addr '2001:470:36:ab6::1/64'

config interface 'wan'
	option ifname 'eth1'
	option proto 'dhcp'
	option macaddr '00:1E:EC:97:4D:C2'

config interface 'wan6'
	option ifname '@wan'
	option proto 'dhcpv6'

config switch
	option name 'switch0'
	option reset '1'
	option enable_vlan '1'

config switch_vlan
	option device 'switch0'
	option vlan '1'
	option ports '0 1 2 3 4 5'

config interface 'MESH'
	option proto 'none'

config interface 'henet'
	option proto '6in4'
	option peeraddr '216.218.221.42'
	option ip6addr '2001:470:35:ab6::2/64'
	option tunnelid '208951'
	option username 'tb51aa9310a105d0.19920640'
	option password 'ONNOWPURBO1781962'


/etc/config/system

config system
	option zonename 'Asia/Jakarta'
	option timezone 'WIT-7'
	option conloglevel '8'
	option cronloglevel '8'
	option hostname 'Linksys-WRT160NL'

config timeserver 'ntp'
	list server '0.openwrt.pool.ntp.org'
	list server '1.openwrt.pool.ntp.org'
	list server '2.openwrt.pool.ntp.org'
	list server '3.openwrt.pool.ntp.org'

config led 'led_wlan'
	option name 'WLAN'
	option sysfs 'wrt160nl:blue:wlan'
	option trigger 'phy0tpt'


/etc/config/wireless

config wifi-device 'radio0'
	option type 'mac80211'
	option hwmode '11ng'
	option path 'platform/ath9k'
	option htmode 'HT20'
	list ht_capab 'SHORT-GI-40'
	list ht_capab 'DSSS_CCK-40'
	option country 'US'
	option channel '1'
	option txpower '10'

config wifi-iface
	option device 'radio0'
	option encryption 'none'
	option ssid 'MESH'
	option mode 'adhoc'
	option bssid '02:CA:FF:EE:BA:BE'
	option network 'MESH'