Hi. I think I'm close to getting CAN up and running, but I'm having one issue that I'm not sure how to correct: when I try to bring up the CAN interface I get the error: cannot find device "can0".

Here's a brief description of my system:
Versalogic Acelot Single Board Computer with an Intel Atom
Debian Linux with 2.6.38.4 kernel, CAN support enabled
Latest SocketCAN (as of May 12, 2011)
TS-CAN1 PC/104 CAN controller with SJA1000 (also have an MCP2515-based board on SPI available)

I'm able to load to all the following modules: can, can_dev, can_raw, sja1000_platform, sja1000, tscan1

I've tried various things in /etc/network/interfaces but currently I have:

auto can0
iface can0 inet manual
up /usr/local/bin/ip link set can0 up txqueuelen 1000 type can bitrate 1000000
down /sbin/ifconfig $IFACE down

When I run "ip link set can0 up type can bitrate 1000000" I get the error about can0 not being found.

ip -V returns:
ip utility, iproute2-ss100519

It seems that I'm missing some critical step or setup, or there's something I'm not understanding. Any advice would be much appreciated!

Thanks

-Jesse

_______________________________________________
Socketcan-users mailing list
Socketcan-users@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/socketcan-users

Reply via email to