can problem - Raspberry Pi Forums


im trying install can on rpi2 , 3...
, http://www.mikroe.com/click/can-spi-5v/
http://www.mikroe.com/click/pi2-shield/

have using guide:
viewtopic.php?f=44&t=141052

sems right if do:

code: select all

ls /sys/bus/spi/devices/spi0.0


i get driver modalias net of_node subsystem uevent

if im doing

code: select all

ls /sys/bus/spi/devices/spi0.0/net

i get can0

sems right connected or wrong?

when trying set

code: select all

pi@piv2:~ $ sudo ip link set can0 type can bitrate 125000

i get rtnetlink answers: no such device

, if try ifconfig.. cant see can

ides?
im rely stuck, , dont know rely , advice or hint appreciated

regard

a update... can see under ifcofing

code: select all

ifconfig can0      link encap:unspec  hwaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00             running noarp  mtu:16  metric:1           rx packets:0 errors:0 dropped:0 overruns:0 frame:0           tx packets:0 errors:0 dropped:0 overruns:0 carrier:0           collisions:0 txqueuelen:10            rx bytes:0 (0.0 b)  tx bytes:0 (0.0 b) 
have no ide if right?

uplink ist not working:(


raspberrypi



Comments