Solved

Can't get Knoppix STD to sniff packets

Posted on 2006-06-12
14
431 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
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
 

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
Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

912 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now