hi..i'm using tcpdump to capture my network traffic..When it reached the specified limit, it will automatically created a new file. The problem is i got this error when issue this command :
Command
Quote:
|
root@akubuntu:/home/apit/capture# tcpdump -i $INT -C $filesize -ns 1514 -w /home/apit/capture-'date +%Y%M%d-%H%M%s' .pcap
|
Error
Quote:
|
tcpdump: SIOCGIFHWADDR: No such device
|
Question
1- I got this command from network security book. Not really understand the command. What is
%INT and
$filesize used for? Is it variables that we have to declare ?
2- Using google, i found that
"tcpdump: SIOCGIFHWADDR: No such device" is network card driver problem.Is it true?
3- How to solve this problem?
Thanks