linux-can.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* j1939 - first steps
@ 2013-03-18 20:13 Oliver Hartkopp
  2013-03-18 21:41 ` Kurt Van Dijck
  0 siblings, 1 reply; 8+ messages in thread
From: Oliver Hartkopp @ 2013-03-18 20:13 UTC (permalink / raw)
  To: Kurt Van Dijck; +Cc: linux-can@vger.kernel.org

Hi Kurt,

following the idea from Marc (cloning linux-stable, check-out 3.7.10, adding
j1939 branch, applying the j1939-3.7 branch) i managed to get my linux-box
working with your stack.

Following the documentation, i did this (as root):

./ip link set vcan0 j1939 on
./ip addr show vcan0
./ip addr add dev vcan0 j1939 0x22
./ip addr show vcan0
6: vcan0: <NOARP,UP,LOWER_UP> mtu 72 qdisc noqueue state UNKNOWN
    link/can
    can-j1939 0x22 scope link

And this (as user):

./jsr -v vcan0:0x22
./jsr: bind(vcan0:0000000000000022), -99: Cannot assign requested address

./jsr -v 0x22
./jsr: bind(#34:-), -19: No such device


./jsr -v 22
./jsr: bind(#22:-), -19: No such device


Any idea?

Regards,
Oliver

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-03-21  6:50 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-18 20:13 j1939 - first steps Oliver Hartkopp
2013-03-18 21:41 ` Kurt Van Dijck
2013-03-19  6:52   ` Oliver Hartkopp
2013-03-20  9:07     ` Kurt Van Dijck
2013-03-20 19:24     ` Kurt Van Dijck
2013-03-20 20:44       ` Marc Kleine-Budde
2013-03-21  5:53         ` Kurt Van Dijck
2013-03-21  6:50           ` Oliver Hartkopp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).