Page 1 of 1
[solved] install tcpdump?
Posted: Thu Jun 05, 2014 6:33 pm
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?
Re: install tcpdump?
Posted: Thu Jun 05, 2014 6:51 pm
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
Re: install tcpdump?
Posted: Fri Jun 06, 2014 3:38 am
by n0pin
You could try to install it into RAM (/tmp) folder, but it will be gone on restart.
Re: install tcpdump?
Posted: Fri Jun 06, 2014 8:06 am
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
Re: install tcpdump?
Posted: Sat Jun 07, 2014 1:01 pm
by n0pin
Use "-d ram" switch.
Re: install tcpdump?
Posted: Sat Jun 07, 2014 8:49 pm
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
Re: [solved] install tcpdump?
Posted: Wed Oct 03, 2018 9:50 am
by darrepac
Is it normal that I do not find tcpdump in opkg list??