> -----Original Message-----
> From: Oliver Hartkopp [mailto:[email protected]]
> Sent: 22 August 2011 18:14
> To: Ansell, John
> Cc: [email protected]
> Subject: Re: [Socketcan-users] Need help starting socketCAN
> 
> On 22.08.2011 14:22, Ansell, John wrote:
> 
> > Hi guys,
> 
> Hi John,
> 
> i'll try to enhance the answer from Rene a bit ;-)
> 
> > probes are successful and the CAN drivers are being loaded.
> 
> Then you should see the CAN netdevices also in /proc/net/dev

I have /sys/class/net/can0/ and .../can1/ but nothing in /proc/net/dev
I also have /proc/net/can.
Will there be a clue in the dmesg log?


> There are no CAN files created in /dev/xxx as the CAN devices use the
> network driver model like ethernet cards.

OK, thanks.

> 
> As Rene wrote, you need a 'recent' 'ip' from the iproute2 package:
> 
> http://git.kernel.org/?p=network/iproute2/iproute2.git;a=summary

Was really hoping you guys wouldn't say that, I was hoping I could do it all
from userland :( 

I've been trying to get a version of iproute2 to build but it fails to build 
the misc
folder at the moment. :(  OK, will keep going!

> 
> In our setup we disabled the 'ip' tool in busybox and compiled the 'ip'
> from iproute2 ...

Ah, but there's a difference - you know what you're doing :)

> >
> > I don’t see a CAN device in /dev – should I?
> 
> 
> That's correct that you don't see things in /dev/xxx .-)

Cool, at least I don't have devices where they shouldn't be. Now to get them 
where they should be!

> 
> Regards,
> Oliver


_______________________________________________
Socketcan-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/socketcan-users

Reply via email to