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 07-21-2009, 11:10 AM   #1
bizoo
LQ Newbie
 
Registered: Jul 2009
Posts: 17

Rep: Reputation: 0
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
 
Old 07-22-2009, 09:06 PM   #2
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
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
 
  


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
ping: sendmsg: operation not permitted br_sriram Linux - Networking 24 04-03-2011 11:12 AM
sendmsg: Operation not permitted on wireless router joe-000 Linux - Wireless Networking 2 07-19-2008 12:53 PM
ping:sendmsg: operation not permitted jeejasmin Linux - Networking 7 04-03-2008 10:15 AM
ping: sendmsg: Operation not permitted kholloi Linux - Networking 0 05-02-2007 05:00 AM
iptables behaviour: sendmsg: Operation mot permitted phsythax Linux - Security 5 04-24-2007 03:18 PM

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

All times are GMT -5. The time now is 06:04 AM.

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