Onion Omega2 Debugger

Current setup
Dovre-Management
– Used as Wifi to Ethernet bridge for controlling devices on a lan without wireless
– IP/TCP Serial gateway
– TCP Port 4999 for Serial 1
– TCP Port 5000 for Serial 2
– NO DHCP enabled
– Omega2 Management IP Address
– IP: 172.31.100.254
– NetMask: 255.255.255.0
– Gateway: No Gateway
– Wireless is password protected

Dovre-Airplay
– Used for AirPlay playback
– DHCP Enabled
– Using 10.0.0.x subnet
– Lease starts at 10.0.0.50
– Lease ends at 10.0.0.200
– Omega2 Airplay IP Address
– IP: 10.0.0.254
– NetMask: 255.255.255.0
– Gateway: 10.0.0.254
– DNS: 10.0.0.254

Config files for the Omega 2

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’
option localservice ‘1’

config dhcp ‘wwan’
option interface ‘wwan’
option ignore ‘1’

config odhcpd ‘odhcpd’
option maindhcp ‘0’
option leasefile ‘/tmp/hosts/odhcpd’
option leasetrigger ‘/usr/sbin/odhcpd-update’

config dhcp ‘airplay’
option interface ‘airplay’
option start ’50’
option limit ‘200’
option leasetime ‘1h’
option ra1 ‘server’

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 ‘fd1d:48c4:7633::/48’

config interface ‘wlan’
option type ‘bridge’
option ifname ‘eth0’
option _orig_ifname ‘eth0 ra0’
option _orig_bridge ‘true’
option proto ‘static’
option ipaddr ‘172.31.100.254’
option netmask ‘255.255.255.0’
option ip6assign ’60’

config interface ‘airplay’
option type ‘bridge’
option proto ‘static’
option ipaddr ‘10.0.0.254’
option _orig_ifname ‘ra1’
option netmask ‘255.255.255.0’
option ifname ‘ra1’

config route ‘airplayroute’
option interface ‘airplay’
option target ‘224.0.0.0’
option netmask ‘224.0.0.0’

Wireless
config wifi-device ‘ra0’
option type ‘ralink’
option mode ‘9’
option channel ‘auto’
option txpower ’15’
option htmode ‘HT20’
option country ‘US’
option disabled ‘0’

config wifi-iface
option device ‘ra0’
option network ‘wlan’
option mode ‘ap’
option encryption ‘psk2’
option key ‘Hidden for Obvious Reasons’ #####REMEMBER TO RENAME######
option ssid ‘Dovre-Management’

config wifi-iface
option device ‘ra0’
option mode ‘ap’
option network ‘airplay’
option ssid ‘Dovre-Airplay’
option encryption ‘none’

Leave a Reply

Your email address will not be published. Required fields are marked *