User manual
4 Network Services and Tools Provided by OnRISC
4.8. Socketcand
socketcand is a daemon that provides access to CAN interfaces on a machine via a network inter-
face. The communication protocol uses a TCP/IP connection and a specific protocol to transfer
CAN frames and control commands. The protocol specification can be found in ./doc/protocol.md.
33
The project provides Java API to develop your own client applications for socketcand. There is
also a CAN sniffer software Kayak
34
, that uses socketcand protocol, so that you can use OnRISC
as a network based CAN sniffer at once.
Please note that socketcand service is disabled by default. You need to activate using sysv-rc-conf
(see Section 3.3).
4.9. Other Possible Services
Other services such as Samba (see Section 3.7.5) or NFS could also be installed to share resources.
4.9.1. Samba
To install Samba execute:
apt-get install samba
To access your home directory from Windows, you must register the user in Samba:
smbpasswd -a user
For further information see:
man samba
4.9.2. NFS
To install the NFS-server execute:
apt-get install nfs-kernel-server
For further information see:
man nfsd
33
https://github.com/dschanoeh/socketcand
34
http://kayak.2codeornot2code.org/
May 2014 OnRISC User Manual 30