Cannot find device can0
Posted: Mon 15. Jul 2024, 20:13
I'm using PCAN-USB device with the Linux version of pcan-view and it works fine, but if I try instead to use candump (from can-utils) is claims there is no can0 device. I've checked with ifconfig and with "ip link ls" and there is really no can0 device.
I'm using:
Ubuntu 20.04
peak-linux-driver-8.18.0
can-utils
I remember in the past using both candump and pcan-view. I had to bring down the can0 device with "sudo ip link set down can0" in order to be able to use pcan-view in listen-only mode. But now when I do "sudo ip link set up can0" it tells me there is no can0 device.
I have copied 80-can.network to directory /etc/systemd/network/ and run "sudo systemctl enable systemd-networkd" and "sudo systemctl start systemd-networkd" - didn't help.
I don't know if it will help - I don't see peak_usb in lsmod.
Any ideas?
Freddy
I'm using:
Ubuntu 20.04
peak-linux-driver-8.18.0
can-utils
I remember in the past using both candump and pcan-view. I had to bring down the can0 device with "sudo ip link set down can0" in order to be able to use pcan-view in listen-only mode. But now when I do "sudo ip link set up can0" it tells me there is no can0 device.
I have copied 80-can.network to directory /etc/systemd/network/ and run "sudo systemctl enable systemd-networkd" and "sudo systemctl start systemd-networkd" - didn't help.
I don't know if it will help - I don't see peak_usb in lsmod.
Any ideas?
Freddy