LinuxQuestions.org
Support LQ: Use code LQCO20 and save 20% on CrossOver Office
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 05-30-2004, 11:28 PM   #1
murugesan
Member
 
Registered: May 2003
Location: India
Distribution: Linux, SUN, AIX, (HP-UX 11.11 11.00 and 11.23 IPF PA-RISC), CYGWIN
Posts: 145

Rep: Reputation: 27
tethereal and tcpdump: -y invalid data link type 1


Hello all,
This post is with respect to ethereal protocol analyzer and tcpdump Network Monitoring tool.

In older version of ethereal ( version 0.10.0 ) the command
tethereal -y 1
gives me
Code:
# tethereal -y 1 -c 2
Capturing on lan0
  0.000000 172.16.1.11 -> 172.16.1.12  TELNET Telnet Data ...
  0.001271 172.16.1.11 -> 172.16.1.12  TELNET Telnet Data ...
when I do the same with latest version of ethereal
I am getting
Code:
# tethereal -y 1
tethereal: The specified data link type "1" is not valid
Similarly
for tcpdump, where the older version 0.7.2 does not support this option, with newer version 3.8.3, I am getting the same error as tethereal
That is,
Code:
# tcpdump -y 1
tcpdump: invalid data link type 1
My questions is
What parameter should I use to get the output for the option -y ( for tcpdump and ethereal ) ?
I have tried all the values from -5000 to 5000.
I am using HPUX 11.2* on PA and IPF and 11i on PA.
All produces the same result.

Thanks in advance for the help.

-Murugesan
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
iwlist vs tethereal in capturing 802.11 wifi ESSID and data rates powah Linux - Wireless Networking 0 11-07-2005 10:21 AM
3Com fiber n/w card - only start to recieves data when tcpdump runs sceadu Linux - Networking 1 07-27-2005 08:00 AM
tcpdump- link level header pcap shivaligupta Linux - Networking 1 04-28-2005 06:28 AM
How to use tcpdump command to post a special type? jerrytw Linux - Networking 1 11-08-2004 08:56 AM
How to find an invalid symbolic link?? zhaoyoubing Linux - General 3 08-21-2003 09:01 PM


All times are GMT -5. The time now is 08:01 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration