-   Linux - Wireless Networking (
-   -   ath5k hostapd AP problem, ping: sendmsg: Operation not permitted (

bizoo 07-21-2009 11:10 AM

ath5k hostapd AP problem, ping: sendmsg: Operation not permitted
HI all
I have an issue regarding setting up an AP with ath5k driver and hostapd.
Both my compat wireless code and hostapd code are from latest git and after following the instructions i managed to set up an AP with nl80211 and for the sake of simplicity, i turned off key encryption.

I set up the AP on one laptop, gave it a static IP and then set up a wlan STA on another notebook with a static IP. I appropriately chose the subnet masks and gateways to support a wlan connection and my routing tables are also properly configured (got it confirmed from our netwtork admin). The sta can associate to AP but no ping messages are sent. If i send a ping message from sta, it shows unsuccessful pings while from AP side,upon pinging the sta, i get message that
ping: sendmsg: Operation not permitted

dmesg from both client and AP side shows no strange messages. Also each wlan entity can ping itself successfully but they can not ping each other and i guess problem is on hostapd side.
any one with any clues and pointers about how to get rid of it??


GrapefruiTgirl 07-22-2009 09:06 PM

The only time(s) I have ever received such a message as you have in bold in your post, when trying to ping something, is when my iptables firewall was configured to drop/reject ICMP traffic.

Have you got a firewall in the mix here anywhere, on one of the two machines?


All times are GMT -5. The time now is 03:07 AM.