[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: [LI] Tcpdump and eth0



On Sun, 14 November 1999, subb3@xxxxxxx wrote:
> I have 2 interfaces on my linux system. They are modem and ethernet.
> When I use tcpdump to capture info, I cannot get any information
> from the ethernet interface. tcpdump just waits and waits.
  Possibilities: All other m/c in your LAN were off ;)
                 Maybe the interface is not eth0 (try ifconfig).
                 Maybe problem in name resolving..Try without "-a".
  If all else fails, do an "strace" on your tcpdump command, and see
where it stalls.
                If you suspect ppp0, try disconnecting the modem
and "ifconfig ppp0 down" and try again...
                Check /var/log/messages if kernel is sending error
messages. Maybe unable to set promiscous mode. Do "ifconfig eth0"
when tcpdump is running and check if you see a PROMISC among the
flags(Note: ifconfig resets the flag on exiting).
                Check /var/log/secure for timepass.
Bye,
--vml,
Model Engg. College, Cochin


_______________________________________________________
Are you a Techie? Get Your Free Tech Email Address Now!
Many to choose from! Visit http://www.TechEmail.com
--------------------------------------------------------------------
The Linux India Mailing List Archives are now available.  Please search
the archive at http://lists.linux-india.org/ before posting your question
to avoid repetition and save bandwidth.