Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Can't get Knoppix STD to sniff packets

Posted on 2006-06-12
14
Medium Priority
?
445 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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

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 500 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

A new era in Cloud training has arrived.

A day that will go down in Cloud history.. But are you ready for it? Will you accept this Cloud challenge?

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…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

704 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