Table of Contents
OpenWRT Box - Demo
- Setup OpenWRT on OpenVox hardware: http://localhost/wiki/doku.php?id=work_dai_labor:projects:ima:ima_ws:car_pc:openwrt_setup
Current IMA RSU AP Installation
Summary:
- System
- hostname: imarsu(.local)
- root: openwrt
- eth0: LAN port to local 192.168.100.0/24 subnet, dnsmasq
- eth1: WAN
Software
ibrdtn
Using script for start/stop. Otherwise, if killed, a wrapper will detect if program is running and auto start it. /etc/init.d/ibrdtn start
When debug /etc/init.d/ibrdtn stop /usr/sbin/dtnd -v -d 20 -c /tmp/ibrdtn.config
dtnimaapp
This provides gateway function, receiving dtn packet, extracting GPS and sending to GPS Agent. This require dtnd and GPS Agent on IMA-server, e.g., demo, test
Start GPS-Agent if not already started:
ssh to demo@ima-server chmod +x repos/nemo/target/appassembler/bin/run_transportAdapterWrapperDemoAgent ./repos/nemo/target/appassembler/bin/run_transportAdapterWrapperDemoAgent &
Start or restart dtnimaapp
/etc/init.d/dtnimaapp restart
When debug
/etc/init.d/dtnimaapp stop /usr/bin/dtnimaapp -d -c /etc/dtnimaapp.conf
Current config
## ima-demo ima_platform_ip 130.149.154.25
Network
config wifi-iface
option device 'radio0'
option network 'wlan0'
option mode 'ap'
option ssid 'IMARSU-AP'
option encryption 'psk2'
option key 'imademo123'