Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Virtual CAN seems to be ignored #4

Open
pompushko opened this issue Sep 21, 2023 · 0 comments
Open

Virtual CAN seems to be ignored #4

pompushko opened this issue Sep 21, 2023 · 0 comments

Comments

@pompushko
Copy link

pompushko commented Sep 21, 2023

I have a Raspberry Pi and use virtual can interface.
But it not in list of interfaces of struct ifreq

2023-09-22 00:28:36+0200 [INF] Found CAN interface: lo
2023-09-22 00:28:36+0200 [INF] Found CAN interface: eth0
2023-09-22 00:28:36+0200 [INF] Found CAN interface: wlan0
eth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether b8:27:eb:0e:50:e5  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 32  bytes 2682 (2.6 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 32  bytes 2682 (2.6 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

vcan0: flags=193<UP,RUNNING,NOARP>  mtu 72
        unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 1000  (UNSPEC)
        RX packets 1268178  bytes 8674723 (8.2 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1268178  bytes 8674723 (8.2 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.3.75  netmask 255.255.255.0  broadcast 192.168.3.255
        inet6 fe80::c441:e7:e65d:db09  prefixlen 64  scopeid 0x20<link>
        ether b8:27:eb:5b:05:b0  txqueuelen 1000  (Ethernet)
        RX packets 64424  bytes 24806192 (23.6 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 73311  bytes 10967443 (10.4 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

This is a bug?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant