Solved

Can't get Knoppix STD to sniff packets

Posted on 2006-06-12
14
436 Views
Last Modified: 2010-03-18
Hi all,

I have the Knoppix std cd, but i can't get any of the tools to read any packets. The computer is plugged into a port to which all ports are mirrored to, and I can sniff packets easily from the Windows based Ethereal, but can't get anything using Ethereal, dsniff, or etherape on the Knoppix.

Can somebody help me out. The only thing I know to do is boot it up to the CD, right click, go to sniffers and choose ethereal. I did try opening up a Sniffer Shell, and going in like that, but it didn't work either. I have tried this on both a Dell OptiPlex and an IBM Thinkpad.

Thanks.
0
Comment
Question by:btkrausen
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
14 Comments
 
LVL 27

Expert Comment

by:Nopius
ID: 16892105
1) Try 'tcpdump' command line utility, does it work?
2) Try to listen (with tcpdump) on different interfaces, probably you are trying to listen on incorrect device:
tcpdump -i eth0 -n
tcpdump -i eth1 -n
to list all network devices (like eth0, eth1, ...): "ifconfig -a"
3) If 2) works, you may capture network traffic with 'tcpdump -w filename -s 2048' and to open with ehtereal then.
0
 
LVL 19

Expert Comment

by:alextoft
ID: 16893008
Are you trying this as root or the knoppix user? Sniffing means putting the NIC in promiscuous mode which requires root privileges.
0
 

Author Comment

by:btkrausen
ID: 16893738
I pretty much just boot to the CD, and press enter when it asks for the root password, so I take it I'm logged in as root.

I know that the Laptop does have like three different devices on it, but in the GUI of Etherape, it only shows one, which shows as Io.
0
Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

 

Author Comment

by:btkrausen
ID: 16894465
Ok, after doing the ifconfig, it shows the only device is Io, which is a loopback. After there certain cards that won't work with the Knoppix? Or do I have to load a driver for the current NIC on this machine?
0
 
LVL 27

Expert Comment

by:Nopius
ID: 16898473
Probably you need to load appropriate driver for your NIC. Please specify what is your NIC card.
0
 

Author Comment

by:btkrausen
ID: 16899009
It'll try in on the Dell Optiplex, which has a Broadcom 57XX Gigabit Integrated Controller. I haven't used Linux at all before, so I don't know how to load the driver either. Thanks for your help
0
 
LVL 27

Accepted Solution

by:
Nopius earned 125 total points
ID: 16899385
This command loads Broadcomm 57xx driver:
modprobe bcm5700
0
 
LVL 27

Expert Comment

by:Nopius
ID: 16899388
after that you should have eth0 in  'ifconfig -a'
0
 

Author Comment

by:btkrausen
ID: 16901999
I tried to do the command in a ATERM shell, and it says Cannot locate module bcm5700
0
 
LVL 88

Expert Comment

by:rindi
ID: 16904348
Under knoppix STD do you mean the normal knoppix CD from http://knoppix.net? If so, you should see a knoppix menu on the taskbar. Inside that menu look for an undermenu which will allow you to configure your nic (if it is compatible with knoppix). After that open a terminal and enter

sudo passwd root

Now enter the password you want to assign root twice. After that you can change to root using the su command and then start ethereal etc, or look for the "run as user" somewhere in system tools, from which you can then start the apps as a different user (root).
0
 

Author Comment

by:btkrausen
ID: 16905420
The problem isn't about the root log in, i'm running under root. The problem is that i don't know how to load the driver for the NIC card on this machine. Doing a ifconfig -a, it shows only the loopback.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question