sudo ip link set can0 up Cannot find device "can0"
socketcan_interface,the ros package seems not working.I am using Peak-Can USB at Ubuntu 18.04.3 and 16.04,melodic.I am sure pcan driver is installed fine,testing by pcan-viewer.
But neither can work,with same error"Cannot find device "can0"",when executing "sudo ip link set can0 up",really confused,wish for reply,thanks~
sudo ip link set can0 type can bitrate 500000
Try this maybe before you give your command
Let me know, if it had worked, we can update it as an answer!
No, it's not working. Above I have said,it's just right this conmand "set ip link set can0 type can bitrate 500000" causes the error occurrence---"cannot find device can0".