LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   load pcap through tcl in fedora 11 (https://www.linuxquestions.org/questions/linux-newbie-8/load-pcap-through-tcl-in-fedora-11-a-785009/)

karthi2811 01-27-2010 01:20 AM

load pcap through tcl in fedora 11
 
Am fresh to linux
How can i load pcap through tcl in fedora 11, i knew something about this please tell me which is right or not.

Pre installations
Libpcap-0.8.1
Tcl/Tk 8.3
Pcap
libnet.

i have downloaded all things, but i might not be able to install these things.

First of all i need to know whether a exe file installed or not and where i may find that installed documents.

thanks in advance
karthick

knudfl 01-27-2010 05:40 AM

Welcome to LQ.

Libpcap-0.8.1 , Tcl/Tk 8.3 : Very old files, 2004 ? Or older ?

Better not install something, you download, and
definitely not system libraries.

Get them with the Package Manager, "Add-Remove Software"
or use ' yum ' : Open the terminal window and type ..
1) su
2) yum install tcl-devel tk-devel libnet-devel libpcap-devel

Some tcl, libnet, libpcap is probably already installed .

Knowing, what is installed, rpm packages :
rpm -qa | sort > installed-packages.txt
.. will save a text file in /home/"user"/

rpm -ql <package-name>
.. will show a file list : all files in <package-name>.

locate <file>
.. will show all files with 'file' in the name.

find /usr/ -name "*file*"
can be used to find files in /usr/
....
....
There are no ".exe" files in Linux.
The most executables are in /usr/bin/
.....

karthi2811 01-29-2010 03:53 AM

Thanks a lot
 
I did your comments, it works properly

Quote:

Originally Posted by knudfl (Post 3842076)
Welcome to LQ.

Libpcap-0.8.1 , Tcl/Tk 8.3 : Very old files, 2004 ? Or older ?

Better not install something, you download, and
definitely not system libraries.

Get them with the Package Manager, "Add-Remove Software"
or use ' yum ' : Open the terminal window and type ..
1) su
2) yum install tcl-devel tk-devel libnet-devel libpcap-devel

Some tcl, libnet, libpcap is probably already installed .

Knowing, what is installed, rpm packages :
rpm -qa | sort > installed-packages.txt
.. will save a text file in /home/"user"/

rpm -ql <package-name>
.. will show a file list : all files in <package-name>.

locate <file>
.. will show all files with 'file' in the name.

find /usr/ -name "*file*"
can be used to find files in /usr/
....
....
There are no ".exe" files in Linux.
The most executables are in /usr/bin/
.....


karthi2811 01-29-2010 04:26 AM

Thanks a lot
 
Quote:

Originally Posted by karthi2811 (Post 3844624)
I did your comments, it works properly

now tclsh load the pcap
but am not able to capture remote host packets, even i started the remote host windows server by following way

"c:\programfiles\winpcap\rpcap.exe -n"

if i did the following error message will display in my terminal

"% pcap open -ip 192.168.1.200
error listing the interfaces or if remote please run remote server"

am currently using fedora 11 with dual boot windows xp sp2 and windows7.

Then next i was not able to access my windows xp sp2 files from fedora 11
the following error message will display when i select (places -> network -> Windows Network icon) in fedora 11.

"Unable to mount location
DBus error org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)".


All times are GMT -5. The time now is 10:10 PM.