EasyManuals Logo

STW TC1 User Manual

STW TC1
374 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #62 background imageLoading...
Page #62 background image
6 Software
User Manual 62/374
ppp0.
export IP_FORWARDING="OFF"
# NAT options will be used in case IP forwarding is activated.
# Deactivate service by setting export to "OFF", else activates the NAT for network
interface (wlan0 / eth0).
export ETH0_NAT="OFF"
export WLAN0_NAT="OFF"
6.4.5 CAN
High Level Hardware Access
The Socket CAN package is an implementation of CAN (Controller Area Network) protocols for Linux. CAN is a
networking technology which has wide-spread use in automation, embedded devices, and automotive fields.
While there have been other CAN implementations for Linux based devices, Socket CAN uses the Berkeley
socket API, the Linux network stack and implements the CAN device drivers as network interfaces. The CAN
socket API has been designed as similar as possible to the TCP/IP protocols to allow programmers, who are
familiar with network programming, easily to learn how to use CAN sockets.
Get local information
It is possible to read out the local settings of the can0 and can1 devices, such as RX bytes, TX bytes,....
# ifconfig can0; ifconfig can1
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:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 B) TX bytes:780 (780.0 B)
Interrupt:145
can1 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:100
RX bytes:780 (780.0 B) TX bytes:0 (0.0 B)
Interrupt:146

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the STW TC1 and is the answer not in the manual?

STW TC1 Specifications

General IconGeneral
BrandSTW
ModelTC1
CategoryController
LanguageEnglish