Operating System - HP-UX
1748235 Members
3338 Online
108759 Solutions
New Discussion юеВ

tcpdump command not working

 
SOLVED
Go to solution
rajesh73
Super Advisor

tcpdump command not working

tcpdump command not working in hp-ux 11.11 server

$ whereis tcpdump
tcpdump:


pls advice how to enable the tcpdump
7 REPLIES 7
Jose Mosquera
Honored Contributor

Re: tcpdump command not working

Hi,

You need install it first. Please download from:
http://hpux.connect.org.uk/hppd/hpux/Networking/Admin/tcpdump-4.1.1/

Rgds.
rajesh73
Super Advisor

Re: tcpdump command not working

Hi,

i install the depot file .this is required some additional pathces

please find the error screen shot
Shibin_2
Honored Contributor
Solution

Re: tcpdump command not working

Please uncheck "Enforce dependent" and try to install. But first, preview the installation. If all looks good you can proceed.
Regards
Shibin
Viktor Balogh
Honored Contributor

Re: tcpdump command not working

>Please uncheck "Enforce dependent" and try to install.

avoid this if you want a system in a consistent and working state. Instead, read carefully what the description on the porting center says:

Run-time dependencies: libpcap openssl

http://hpux.connect.org.uk/hppd/hpux/Networking/Admin/tcpdump-4.1.1/

download these two packages also, and install both three packages.
****
Unix operates with beer.
Stephan.
Honored Contributor

Re: tcpdump command not working

Obviously you want to take a network trace, so why not using nettl instead of installing another product?

start Trace:
nettl -tn 0x30800000 -e all -size 1024 -tracemax 99999 -f //raw0

stop Trace:
nettl -tf -e all

Get wireshark http://www.wireshark.org/download.html

to anylyse your raw0.TRC00* Files

hth
Stephan
rajesh73
Super Advisor

Re: tcpdump command not working

i install lipcap and openssl .but during tcpdump installation it give some additional patch need for this tcpdump installation.

but i installed tcpdump .this command works only root access.
this is ok .or we need to install some additional patches

in normal user login
$whereis tcpdump
it give the output /usr/local/sbin/man ------something


can any one advice me to their is any total depot available for this tcpdump command

Dennis Handly
Acclaimed Contributor

Re: tcpdump command not working

>this command works only root access. this is ok?

This seems reasonable, start using it.