No active virtual can messages when using candump (SocketCAN)

Viewed 1575

I am playing with can-utils package, trying to run a virtual can device. Everything seems to work fine except there is no active messages. Candump and cansniffer works, because I send a message manually and it shows up.

Am I doing something wrong?

Here are the commands I run:

sudo modprobe vcan
sudo ip link add dev vcan0 type vcan
sudo ip link set up vcan0
candump vcan0

I am using Ubuntu 16, Kernel 4.11.0

2 Answers
Related