Last active
August 29, 2015 14:20
-
-
Save mhaberler/a9af7ef9f885113795cc to your computer and use it in GitHub Desktop.
setting up vcan (virtual can interface - loopback) in wheezy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# in /etc/modules add | |
vcan | |
so the vcan module is loaded at boot | |
# in /etc/rc.local, add | |
ip link add dev vcan0 type vcan | |
ip link set up vcan0 | |
# reboot, ifconfig vcan0 should show: | |
mah@nwheezy:/etc/udev/rules.d$ /sbin/ifconfig vcan0 | |
vcan0 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:0 errors:0 dropped:0 overruns:0 carrier:0 | |
collisions:0 txqueuelen:0 | |
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment