LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 12-19-2004, 01:01 AM   #1
oulevon
Member
 
Registered: Feb 2001
Location: Boston, USA
Distribution: Slackware
Posts: 438

Rep: Reputation: 30
Ethereal on a Wireless Lan


I've got an ethereal question. I've got a home network that is using a wireless linksys router. I have 3 computers on this network. Computer 1 is directly connected to the router with an ethernet cable. Computer 2 is a wireless Centrino laptop that uses the default wireless card that is installed in it. Computer 3 uses a wireless network card (linksys) to connect to the router. So I've been playing around with ethereal since there are a number of labs in my computer networking textbook that use ethereal. I startup ethereal on Computer 2. And then I do a couple of HTTP GET requests with Computer 3 expecting to see the output in Ethereal on Computer 2. But I don't see anything concerning HTTP requests. IT's mostly just ARP requests and SMB announcements. Anyone have any idea why I'm not seeing the packets from the other machine?

I have WEP disabled for this, and my professor seemed to think I should be seeing the output from Computer 3 on Ethereal (computer 2). Another guy in my class thought the problem might be because the nic on computer2 isn't the same as the router and computer 3 (linksys). I'm still not sure though.
 
Old 12-20-2004, 12:17 PM   #2
Xolo
Member
 
Registered: Jul 2004
Location: The Netherlands
Distribution: Mandrake, Knoppix, Coyote Linux, RedHat
Posts: 354
Blog Entries: 3

Rep: Reputation: 31
Computer 1 --> Router+WLAN
Computer 2 --> WLAN
Computer 3 --> WLAN

HTTP GET ---> ??

Which of these 3 has the webserver on it, or are you requesting from the internet?
The switch in your router is probably where your setup fails, because the switch
inside the router determines that the data sent from Computer 3 is destined for
<Inet or server> and therefore does not reach Computer 2 at all, so it won't
show up in Ethereal.
The switch in the router acts as a 'shield' of sorts, or a filter, if you will.

$0.02

Last edited by Xolo; 12-20-2004 at 12:21 PM.
 
Old 12-20-2004, 12:45 PM   #3
oulevon
Member
 
Registered: Feb 2001
Location: Boston, USA
Distribution: Slackware
Posts: 438

Original Poster
Rep: Reputation: 30
Thanks for your reply. The HTTP request was to the Internet. If the lan was setup with all cables, I could see that the router could act as a switch. But in the wireless lan everything is being broadcast, so the router can't control where the signal is broadcasting. And if a wireless card works like an Ethernet card, then in promiscous mode, it should pick up every frame, even those not destined for it's address. So I'm wondering if a wireless card acts analagously to an Ethernet card in promiscous mode? Or do the different hosts broadcast on different channels to prevent collisions?
 
Old 12-20-2004, 03:30 PM   #4
fur
Member
 
Registered: Dec 2003
Distribution: Debian, FreeBSD
Posts: 310

Rep: Reputation: 35
You will need to make sure the centrino card will capable of going into rfmon mode. If it cant go into that state you will only see the packets that were ment to go to that computer or came from that computer, and not everything else in the air. I think that is why you are only seeing the ARP, and SMB traffic etc, and not the http requests from the other computer

There is a link here..

http://www.kismetwireless.net/links.shtml

for centrino drivers that should go into rfmon mode.
 
Old 12-20-2004, 10:06 PM   #5
scowles
Member
 
Registered: Sep 2004
Location: Texas, USA
Distribution: Fedora
Posts: 620

Rep: Reputation: 31
Are you selecting the wireless interface "before" you start the capture?
 
Old 12-20-2004, 11:40 PM   #6
oulevon
Member
 
Registered: Feb 2001
Location: Boston, USA
Distribution: Slackware
Posts: 438

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by scowles
Are you selecting the wireless interface "before" you start the capture?
Yes I'm selecting the right interface.

Fur,
I think that's my problem. I'll have to reconfigure the kernel. Thanks for everyone's help.
 
Old 12-21-2004, 07:08 AM   #7
scowles
Member
 
Registered: Sep 2004
Location: Texas, USA
Distribution: Fedora
Posts: 620

Rep: Reputation: 31
Quote:
Originally posted by oulevon
Yes I'm selecting the right interface.

Fur,
I think that's my problem. I'll have to reconfigure the kernel. Thanks for everyone's help.
This thread has perked my interest. Based on running ethereal with my wireless card (infrastructure mode), I have never seen any adjacent (wireless) traffic being captured other than packets to/from the system running ethereal (like http requests/replies) and arps/broadcast packets.

When I find some time, I'm going to reconfigure my WAP/NIC's and give this some further study.
 
  


Reply



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
Ethereal/TCPdump/Kismet, wireless sniffing scott4957 Linux - Software 1 10-17-2005 11:22 PM
Ethereal and Kismet wireless sniffers difference powah Linux - Wireless Networking 1 10-08-2005 07:19 AM
Wireless sniffing with Ethereal/tcpdump/kismet scott4957 Linux - Wireless Networking 2 10-07-2005 01:13 PM
wireless on Linux dying when I bring another wireless device in the LAN sal_paradise42 Linux - Wireless Networking 5 11-14-2004 03:38 AM
connecting to the internet via wireless through Intel PRo/Wireless LAN 2100 3B Mini P k_wjss Linux - Newbie 1 09-28-2004 05:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 04:31 PM.

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
Open Source Consulting | Domain Registration