Networking Forums

Networking Forums > Computer Networking > Linux Networking > wpa_supplicant only works with a non_blocking raw socket

Reply
Thread Tools Display Modes

wpa_supplicant only works with a non_blocking raw socket

 
 
syuga2012@gmail.com
Guest
Posts: n/a

 
      01-29-2009, 05:55 AM
Hi folks,

I am using a wpa_supplicant for fedora with madwifi driver to simulate
multiple wireless clients. It creates multiple virtual interfaces over
a physical wireless i/f.

Each virtual wireless client is a process and opens a raw socket
connection to receive/send 802.11 packets.

The problem I am facing is that each process has to poll the socket,
to check if a packet matching its MAC address has arrived. It only
works if the socket is non-blocking. If I make the socket blocking and
use select(), none of the process receive any packets over raw socket.
I am not able to figure out the reason for this behaviour and also you
may agree that polling is a clumsy design. Appreciate if someone could
shed some light on this behaviour and suggest better ideas to overcome
this problem.

Thanks,
syuga
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
adsl connection only works from test socket alexanderd79@googlemail.com Broadband 6 12-16-2007 03:19 PM
Simple client/server socket program works on one Linux machine, it doesnot work on other machine GS Linux Networking 2 05-09-2006 12:55 PM
wpa_supplicant, & winpcap johnny Wireless Internet 0 11-20-2005 01:39 AM
wpa_supplicant Randomthots Linux Networking 1 10-17-2005 07:14 PM
Strange: Works, doesn't works, then works Anthony Giorgianni Wireless Internet 23 05-24-2005 02:43 AM



1 2 3 4 5 6 7 8 9 10 11