LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (http://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   ath5k hostapd AP problem, ping: sendmsg: Operation not permitted (http://www.linuxquestions.org/questions/linux-wireless-networking-41/ath5k-hostapd-ap-problem-ping-sendmsg-operation-not-permitted-741724/)

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??

br

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?

Sasha


All times are GMT -5. The time now is 09:54 PM.