Arduino Yun cheat sheet: Difference between revisions

opkg install relayd
opkg install luci-proto-relay
/etc/init.d/relayd enable
</syntaxhighlight>
 
↓を忘れずに。(Yun は wan が eth1)
<syntaxhighlight lang="text" enclose="div">
config 'interface' 'wan'
option ifname 'eth1'
option proto 'static'
option ipaddr '192.168.2.1'
option netmask '255.255.255.0'
option gateway '192.168.1.1'
option dns broadcast '192.168.12.1255'
config interface 'repeater_bridge'
option proto 'relay'
list network 'lan'
list network 'wan'
</syntaxhighlight>