09-01-2023 05:11 AM
Hi,
It seems that TCPDUMP is not included in the Linux installation. Is there away to install this application so that we can sniff an ethernet interface?
BR
Jonas
09-01-2023 07:47 AM
You can use Raw Ethernet Frame Decode and Encode Example. Follow the instructions in the readme to install the library for Linux RT.
Alternatively, you install the package from NI feed. See Solved: Wireshark and libpcap
09-01-2023 09:33 AM
TCPDUMP is available through the OPKG package manager:
>> opkg install tcpdump
09-04-2023 01:15 AM
Hi,
Seems like tcpdump is not part of the installation:
admin@EBS9-1:~# opkg install tcpdump
Collected errors:
* opkg_prepare_url_for_install: Couldn't find anything to satisfy 'tcpdump'.
admin@EBS9-1:~#
The linux machine doesn't have internet access.
09-04-2023 02:26 AM
Hi,
It's possible to download the needed packages for TCPDUMP on your desktop PC, copy it to the cRIO and then install it. I did this several times, also with TCPDUMP. Here is a short tutorial and tipps: https://dokuwiki.hampel-soft.com/kb/ni-rt/linuxrt/opkg#installation_of_packages_on_offline_devices
Regards
Manu
09-04-2023 06:11 AM
Hi,
Which .ipk file should I download to install TCPDUMP?
Regards,
Jonas
09-04-2023 06:35 AM
The tcpdump is included with the NI Linux RT System Image Feed. If your controller does not have access to the internet, follow the steps in Offline installation of OPKG packages on Linux Real-Time devices
09-04-2023 06:50 AM
The windows server with which I connect to the cRIO neither has internet connection. Is that a problem if I use NI Linux Real-Time Offline Installation Support ?
09-04-2023 07:00 AM
You can use another PC that has internet access to download the NI Linux Real-Time Offline Installation Support, then install it to the machine without internet access. The machine will then act as the feed repo server for the real-time target. No further internet access is required.
09-05-2023 08:07 AM
I get the following error when I try to enable the server.
I tried everything that is suggested here but it doesn't solve the problem:
“SSH Must Be Enabled on the Target” Message Displayed When Adding Software to NI Linux Real-Time Tar...
---------------------------
Real-Time Software
---------------------------
Something went wrong while getting the installed and available software.
SSH must be enabled on the target.
---------------------------
OK
---------------------------