LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-27-2010, 02:20 AM   #1
karthi2811
LQ Newbie
 
Registered: Jan 2010
Posts: 4

Rep: Reputation: 0
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
 
Old 01-27-2010, 06:40 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153
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/
.....

Last edited by knudfl; 01-27-2010 at 06:44 AM.
 
Old 01-29-2010, 04:53 AM   #3
karthi2811
LQ Newbie
 
Registered: Jan 2010
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks a lot

I did your comments, it works properly

Quote:
Originally Posted by knudfl View Post
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/
.....
 
Old 01-29-2010, 05:26 AM   #4
karthi2811
LQ Newbie
 
Registered: Jan 2010
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks a lot

Quote:
Originally Posted by karthi2811 View Post
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)".
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot find Tcl dll ( Perl's Tcl bridge ) Xyem Linux - Software 2 08-08-2006 10:45 AM
fedora core 4 - tcl/tk wish not installed? afa_linux Linux - General 2 11-23-2005 11:22 AM
fedora core 4 and tcl support rehtorisi Fedora 3 08-07-2005 02:06 PM
Problems installing TCL/TK in Fedora C2 quilop Linux - Software 1 07-09-2004 08:28 AM
tcl and perl on Fedora? jfowles Linux - Newbie 2 05-29-2004 09:50 PM


All times are GMT -5. The time now is 09:55 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration