Comments (6)
IC! That functionality was removed in a9985c7, as it's no longer needed with can-gw
.
candump: remove bridging functionality
The tool 'candump' is used to dump CAN traffic to stdout or logfile.
In early days where the in-kernel CAN gateway (can-gw) with the cangw tool was
not yet implemented the bridging functionality allowed to send received (and
filtered) CAN frames to another outgoing CAN interface.
As we now have can-gw and sending CAN frames from a 'reading tool' seems wrong
especially from the Unix philosophy "Write programs that do one thing and do
it well." this patch removes the obsolete functionality from candump.
Signed-off-by: Oliver Hartkopp <[email protected]>
from can-utils.
it works now, it was HW issue
Thanks
from can-utils.
candump
doesn't have a -B
option. What should it do?
from can-utils.
Earlier candump has options:
-b
(bridge mode - send received frames to )
-B <can>
(bridge mode - like '-b' with disabled loopback)
See: https://manpages.ubuntu.com/manpages/focal/en/man1/candump.1.html
I used this option to bridge can0 to can1
But since few updates, option doesn't exist anymore.
from can-utils.
I managed to use previously cangw on physical interfaces (can0&can1)with for instance:
sudo modprobe can-gw sudo cangw -A -s can0 -d can1 sudo cangw -A -s can1 -d can0
but can interfaces are not forwarded to each other. How can I set bridging between interfaces? What's wrong with my set up?
The setup is correct - but you likely do not see the outgoing traffic on your local machine as you did not enable the -e
option to echo the sent traffic.
To have the -B can1
functionality invoke sudo cangw -A -s can0 -d can1 -e
Please also take a look what cangw -L
tells you about the current can-gw routing jobs.
from can-utils.
Thanks!
from can-utils.
Related Issues (20)
- cangw freezes after ~4,000 msgs HOT 18
- In can-calc-bit-timing -? the --tq parameter is not described HOT 2
- cangw persistent rules HOT 11
- canbusload: pselect() is called with uninitialzied sigmask HOT 7
- Use of J1939, can-utils, RaspberryPi, ValueCan4 HOT 11
- Candump dont show delta HOT 60
- systemd cannot configure canbus TransmitQueueLength does not take effect HOT 1
- CANGW: Getting Around Multiple Inverted Filters HOT 1
- canplayer -g gap option seems not working. HOT 6
- Is it possible to send statically addressed J1939 messages to a can bus with just one active node? HOT 2
- Sending keyframes using can utils will result in multiple repetitions of the received packet HOT 11
- cangw and multiple vcan HOT 3
- Help me with data padding HOT 9
- TX/RX packets are incorrectly labeled HOT 1
- Miss frame when using canfdtest HOT 4
- CMake build broken due to ISOBUS HOT 2
- Any write to CAN_BCM socket returns -1 with errno = 22 HOT 7
- isobusfs throws warning when compiled with recent clang HOT 1
- can-j1939 - trying to emulate an entire truck HOT 21
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from can-utils.