$ sudo tcpdump -nls128 host 192.168.1.1 | tee tcpdump.txt
[sudo] password for shirish:
tcpdump: WARNING: eth0: no IPv4 address assigned
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 128 bytes
^C0 packets captured
0 packets received by filter
0 packets dropped by kernel
Hi Marmuta,
What do I do, I have two ethernet ports, one (eth0) not used, the
other (eth1) being used
~$ ifconfig
collisions: 0 txqueuelen:1000
Interrupt: 18 Base address:0xc800
eth0 Link encap:Ethernet HWaddr 00:07:95:44:10:db
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
eth1 Link encap:Ethernet HWaddr 00:08:a1:92:56:33 a1ff:fe92: 5633/64 Scope:Link
collisions: 0 txqueuelen:1000
Interrupt: 22 Base address:0xcc00
inet addr:192.168.1.3 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::208:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6801947 errors:0 dropped:0 overruns:0 frame:0
TX packets:7413867 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:4229253367 (4.2 GB) TX bytes:2328395793 (2.3 GB)
lo Link encap:Local Loopback
collisions: 0 txqueuelen:0
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:5403 errors:0 dropped:0 overruns:0 frame:0
TX packets:5403 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:1102931 (1.1 MB) TX bytes:1102931 (1.1 MB)
Can you tell how should I give my tcpdump?
Using the above I get this :-
$ sudo tcpdump -nls128 host 192.168.1.1 | tee tcpdump.txt
[sudo] password for shirish:
tcpdump: WARNING: eth0: no IPv4 address assigned
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 128 bytes
^C0 packets captured
0 packets received by filter
0 packets dropped by kernel
This is though on Intrepid atm but still would love to know how. creativecommons .org/licenses/ by-nc/3. 0/ flossexperience s.wordpress. com
--
Regards,
Shirish Agarwal
This email is licensed under http://
http://
065C 6D79 A68C E7EA 52B3 8D70 950D 53FB 729A 8B17