[solved] install tcpdump?

If your problem doesn't fall into one of the other categories, report it here.

Moderator: Moderators

Post Reply
oliver
Posts: 48
Joined: Wed Jun 04, 2014 7:30 pm

[solved] install tcpdump?

Post by oliver »

I'm a new user running 1.6.1 on a TP-Link TL-WR741N/ND v1 (re-badged Rosewill RNX-N150RT)

I'm trying to troubleshoot an SIP/VoIP problem where my phone will no longer register and tcpdump would really help :-)

Can it be installed? If so, how?
Last edited by oliver on Sat Jun 07, 2014 8:53 pm, edited 1 time in total.

oliver
Posts: 48
Joined: Wed Jun 04, 2014 7:30 pm

Re: install tcpdump?

Post by oliver »

answering my own question

Code: Select all

root@Gargoyle:/tmp# opkg update
Downloading package list for attitude_adjustment source...
Package list for attitude_adjustment downloaded successfully.

Downloading package list for gargoyle source...
Package list for gargoyle downloaded successfully.


root@Gargoyle:/tmp# opkg list |grep  ^tcpd
tcpdump - 4.2.1-3 - Network monitoring and data acquisition tool
tcpdump-mini - 4.2.1-3 - Network monitoring and data acquisition tool (minimal version)


root@Gargoyle:/tmp# opkg install tcpdump
ERROR: Not enough space in destination root to install specified packages:
        tcpdump, libpcap


root@Gargoyle:/tmp# opkg install tcpdump-mini
ERROR: Not enough space in destination root to install specified packages:
        tcpdump-mini, libpcap

oh well

n0pin
Posts: 129
Joined: Thu Jan 09, 2014 6:39 am

Re: install tcpdump?

Post by n0pin »

You could try to install it into RAM (/tmp) folder, but it will be gone on restart.

oliver
Posts: 48
Joined: Wed Jun 04, 2014 7:30 pm

Re: install tcpdump?

Post by oliver »

n0pin wrote:You could try to install it into RAM (/tmp) folder, but it will be gone on restart.
I tried adding the ' -d' option to opkg but I get an error. Is the syntax incorrect? Any way to just extract the ipkg file?

Code: Select all

root@Gargoyle:/tmp# opkg install -d /tmp tcpdump
ERROR: No destination /tmp found, cannot install
/tmp does exist and is writable

n0pin
Posts: 129
Joined: Thu Jan 09, 2014 6:39 am

Re: install tcpdump?

Post by n0pin »

Use "-d ram" switch.

oliver
Posts: 48
Joined: Wed Jun 04, 2014 7:30 pm

Re: install tcpdump?

Post by oliver »

Perfect... thank you. A quick change to LD_LIBRARY_PATH and all was good

It's not a problem that this will be lost on a reboot since it's not like it has to be there 24/7. And I could always put a cron job in place to re-install if the file is missing

I'm loving Gargoyle BTW

darrepac
Posts: 31
Joined: Thu Dec 22, 2016 6:00 am

Re: [solved] install tcpdump?

Post by darrepac »

Is it normal that I do not find tcpdump in opkg list??

Post Reply