linklayer / cantact-fw

Firmware source files for the CANtact tool
http://cantact.io
Other
260 stars 179 forks source link

Issue with CANtact #15

Open shipcod3 opened 7 years ago

shipcod3 commented 7 years ago

Hello,

I tried the steps in my OBD-II connector and here is what I got:

root@ubuntu:~# ifconfig
can0      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
          UP RUNNING NOARP  MTU:16  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:10 
          RX bytes:0 (0.0 B)  TX bytes:16 (16.0 B)

ens33     Link encap:Ethernet  HWaddr 00:0c:29:80:d7:24  
          inet addr:192.168.96.151  Bcast:192.168.96.255  Mask:255.255.255.0
          inet6 addr: fe80::bb80:92f2:64ef:dc3f/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4954 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3391 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:4238809 (4.2 MB)  TX bytes:286960 (286.9 KB)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:1160 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1160 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1 
          RX bytes:170211 (170.2 KB)  TX bytes:170211 (170.2 KB)

root@ubuntu:~# cansend can0 123#1122334455667788
write: No buffer space available
root@ubuntu:~# cansniffer can0

46 delta   ID  data ...                  < cansniffer can0 # l=20 h=100 t=500 >

I can't seem to sniff the data on it. I'm using vmware fusion for my Ubuntu btw.