To get up and going with the DAQ basics, all you need to do is...
(starting with a vanilla Debian Linux install)
$ git clone http://github.com/faucetsdn/daq.git … $ cd daq $ bin/setup_daq … Docker execution failed, is the docker group setup? If this is the first time, try logging out and log back in again.
Be a good person and logout then log back in again... and then...
$ cd daq $ cmd/build
- Plug one ethernet cable into the last port of the switch.
- If the switch has more than 8 ethernet ports, change interface port1.0.1-1.0.7 in etc/switch_configs/at_8ports.cfg to interface port1.0.1-1.0.(number of ports - 1). Everything else can stay the same.
- Find interface name that's connected to switch e.g. enx00e04c68036b
- run
$ sudo bin/setup_switch enx00e04c68036b
replace enx00e04c68036b with your interface name. After about 2 mins, the switch is ready to be used by DAQ. - Confirm you can ping switch at 192.168.1.1
- Connect another ethernet cable into second to last port of the switch and find the interface name.
- Create local/system.yaml to specify switch configurations and fill in the following information:
#Load the defaults include: ../config/system/default.yaml switch_setup: of_dpid=0x12345 ctrl_intf=enx00e04c68036b <-- replace with first interface name data_intf=enx00e03c689934 <-- replace with second interface name lo_port=6653 lo_addr=192.168.1.10/16 ip_addr=192.168.1.1
- Verify switch config with
$ bin/physical_sec
- Plug in a test device in any port not in use. See test_lab for more settings and additional troubleshooting.
$ cmd/run -s … Done with run, exit 0
Reports generated fall under inst/reports. An example report can be viewed here.
The system can be further configured by using a variety of run options
Then declare victory.