Mailinglist Archive: opensuse (5130 mails)

< Previous Next >
Re: [SLE] connection test for network card
  • From: kai <kai@xxxxxxxxxxxxxxxx>
  • Date: Fri, 19 May 2006 19:08:43 -0700
  • Message-id: <200605191908.43224.kai@xxxxxxxxxxxxxxxx>
On Friday 19 May 2006 06:16 pm, James D. Parra wrote:
> Hello,
> Is there a way from a CLI to tell if the computer is connected to the
> network at a 100tx or 1000?

Use the tcpdump utility. It isn't just for teh l33t h4xx0rs. :)

Run as root: tcpdump -c xx -i eth(n)

xx is the number of packets you want to capture - this can be really small.

(n) is the ethernet port you're running. Here's an example from my machine
showing I'm running 10MB/S

yoda:/home/kai # tcpdump -c 10 -i eth1
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth1, link-type EN10MB (Ethernet), capture size 96 bytes

kai - - the filenet community forum

43...for those who require slightly more than
the answer to life, the universe and everything.

< Previous Next >