Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
03-31-2005, 08:26 AM
|
#1
|
Senior Member
Registered: Sep 2004
Location: Sweden
Distribution: Ubuntu, Debian
Posts: 1,109
Rep:
|
Sniffing packages (only get one way)
I am playing around with a wifi lan here. My friend (who is asleep) has a wifi card just as I do and we have a router here that we both connect to. So I started ethereal and started sniffing.
Then I went to his computer and logged in at my own account here at LQ, trying to sniff my own password. Then I saw that the only packages I got was the one sent TO his card, I did not get anything with his ip as the source.
My guess is that there is a big difference between an access point and a card, so my card does not get what he is sending, just what he is getting. Is this right and is there anyway that I can sniff things coming FROM him?
|
|
|
03-31-2005, 11:14 AM
|
#2
|
Member
Registered: Aug 2003
Location: Little Rock, Arkansas
Distribution: RH, Fedora, Suse, AIX
Posts: 736
Rep:
|
The problem is your wireless card drivers. To my understanding, drivers supplied by wireless vendors dont support "monitor" mode, which is necessary to capture from wireless interfaces besides yours and the AP.
Try Kismet instead. Or you can get an Orinoco wireless card.
For some really excellent discussion about wireless networking, check out netstumbler.org.
|
|
|
03-31-2005, 11:57 AM
|
#3
|
Senior Member
Registered: Jan 2002
Location: Southern California
Distribution: Slackware
Posts: 1,880
Rep:
|
Kismet will not allow packet sniffing as described by the original poster.
An ORiNOCO card, in and of itself will not allow monitor mode. A driver patch or release candidate drivers are required for that (and for using Kismet). More detail is available on the Kismet-wireless site.
Ethereal must be run in promiscuous mode to see things in both directions. MezzyMeat, make sure you select that option when running it.
|
|
|
03-31-2005, 03:35 PM
|
#4
|
Senior Member
Registered: Sep 2004
Location: Sweden
Distribution: Ubuntu, Debian
Posts: 1,109
Original Poster
Rep:
|
Yeah, it worked when I manually put it into monitor mode before sniffing
Code:
$ iwconfig ath0 mode monitor
|
|
|
All times are GMT -5. The time now is 05:46 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|