Jump to content

possible to run tcpreplay ?


Stevko

Recommended Posts

To be a little more specific about the application - I would like to capture and replay UDP packets containing art-net protocol datagrams destined for lighting controllers like the pixlite. Most likely only need to alter the timestamp. This would allow us to record light shows and replay them as backup for a high powered controller laptop.

 

Link to comment
Share on other sites

  • 2 weeks later...

Thanks for the opkg cli tip.  I may need a bit more help.

I have been trying to install tcpreplay but have not had any success.

The default chaos_calmer/15.05 package set does not contain tcpreplay.  https://archive.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/

 

I did manage to find tcpreplay-all in snapshots https://archive.openwrt.org/snapshots/trunk/ar71xx/generic/packages/packages/

After fetching and opkg install'ing all 6 dependencies, I find the binaries at /usr/bin/... but trying to execute them results in a error message.

Quote

 

root@squirrel:/usr/bin# tcpreplay

-ash: tcpreplay: not found

root@squirrel:/usr/bin# tcprewrite

-ash: tcprewrite: not found

root@squirrel:/usr/bin# opkg info tcpreplay

Package: tcpreplay

Version: 4.2.5-1

Depends: libc, librt, libpcap

Status: install user installed

Architecture: ar71xx

Installed-Time: 1530920071

Am i missing some kind of install flag?

Is there a source for compatible binaries?

-- TIA

Link to comment
Share on other sites

Thanks for the reply Ben. I'm new to this community but have been watching Snubbs on DTNS and Twit forever.

The result from that command is No such file or directory

Quote

 

root@squirrel:/# ls /bin/{tcpreplay,usr/tcpreplay}

ls: /bin/{tcpreplay,usr/tcpreplay}: No such file or directory

 

The package manager installed the binaries into /usr/bin

Quote

 

root@squirrel:/# ls -lat /usr/bin/tcpreplay

-rwxr-xr-x    1 root     root        114640 Nov  4 21:15 /usr/bin/tcpreplay

root@squirrel:/# ls /usr/bin/tcp*

/usr/bin/tcpbridge       /usr/bin/tcpprep         /usr/bin/tcprewrite

/usr/bin/tcpcapinfo      /usr/bin/tcpreplay

/usr/bin/tcpliveplay     /usr/bin/tcpreplay-edit

root@squirrel:/# 

 

While trying to execute these binaries - I added sym links from /bin/tcpxxx to /usr/bin/tcpxxx but no combination will launch the program (although shell auto complete works).

Quote

 

root@squirrel:/# /bin/tcpreplay

-ash: /bin/tcpreplay: not found

root@squirrel:/# /usr/bin/tcpreplay

-ash: /usr/bin/tcpreplay: not found

root@squirrel:/# /usr/bin/tcpreplay-edit 

-ash: /usr/bin/tcpreplay-edit: not found

 

 

Link to comment
Share on other sites

sorry but no,  tried that and most every variation.

Not knowing why it won't execute, I'm thinking of cleaning out all the local changes, altering the opkg config to include SNAPSHOTs and reinstall.

Perhaps some kind of dependency is missing or a corrupted binary...

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...