emane-tutorial
emane-tutorial copied to clipboard
olsrlinkview.py not showing the two nodes
I am trying to get the Emane tutorial "0" to run. After some effort, I have OLSRd running on node-1 and node-2 and they seem to have each other as neighbors but in olsrlinkview.py window I see nothing. Can anyone help? Thanks.
Can you show a screenshot?
Thats the olsrlinkview window. I expected two OLSRd nodes showing up
This is OLSRd running on node-1
This is on node-2
There seems to be the 2 nodes the corner which you can drag out into the open canvas. Although, assuming you successfully built the emane-tutorial repo with make
and started all processes in Demo 0 like so,
rm NO-* -f
sudo ./demo-start
your links still saying 0 is a problem, alongside the gps data not showing up. Are you sure you have successfully installed the olsrd txt info plugin and gps packages, and they are being configured and used?
In general I would try checking wherever your lxcroot/<node-nem>/logs
are for any errors, as well as your emame.log
, eventdaemon.log
, emaneeventservice.log
files for "ERROR" messages.
Also try checking the gpsd devices are being shared and have the necessary permissions. Personally on my Ubuntu machine, I found this configuration in this file location: /etc/apparmor.d/usr.sbin.gpsd
since my machine had apparmor that was messing with the permissions.
Thanks Vivian. I'll check it out
Vivian, Dragging the nodes out to the center one by one still does not show nodes 1 and 2 forming a connection. I was looking in the "persist" directory of the tutorial. (persist/1/var/log/) filename = lxc-execute.log.1. That file has 0 bytes.
-rw-r-----. 1 root root 0 Aug 18 17:15 lxc-execute.log.1
Not sure where else to look.
Your latest screenshot tells me that the GPS related stuff in your running EMANE emulation is good, and the only thing lacking in the picture is your links are connected. So you need to investigate deeper down the stack. Is your PHY layer dropping packets? Is your MAC layer dropping packets?
Use emanesh like so:
ssh helper emanesh node-1 get stat nems all
ssh helper emanesh node-1 get table nems mac
ssh helper emanesh node-1 get table nems phy
Major tables I like to look at to make sure things are happening as I expect them to are: NeighborMetricTable, ReceivePowerTable, EventReceptionTable, and the accept/drop tables.
Links will show on olsrlinkview.py if your MAC layer is successfully sending packets up the chain and through the application/emulation transport boundary to the user side.
Though since this tutorial should work out of the box, I'm not sure why this is happening.