Using raw socket in wireless link
Hi,
I would like to use raw socket in layer 2 in Linux.
I tried socket(AF_PACKET, SOCK_RAW, ntohs(ETH_P_ALL)), and I can send packets over Ethernet wired link but nothing over 802.11 wireless link.
There are lots of introduction about raw socket but I didn't find any using wireless link.
Who can give me a hand ?
Thanks a lot
|