I am trying to use my wireless card to share a wired connection. I have an Intel 4965AGN card, and I am fairly confident that this should be possible; however, I've been unsuccessful after a few hours of trying and Googling.
The issue seems to be that the card won't enter master mode. Trying to set it up manually with `iwconfig wlan0 mode master` results in "SET failed on device wlan0 ; Invalid argument." (As an interesting side note, I can easily put it into ad-hoc, managed, or even monitor mode this way.)
Using hostapd (with the nl80211 driver) fails with the message "Failed to set interface wlan0 to master mode."
According to `iw phy0 info`, the supported interface modes are IBSS, managed, and monitor. I booted up an Ubuntu 9.04 live CD and compared the output of `iw phy phy0 info` there, and indeed, AP and AP(VLAN) (I believe) were also present in the list.
I've tried on Arch with both the current 2.6.30 kernel and the 2.6.31 kernel in [testing], and neither has worked. The version of iwlwifi-4965-ucode I have installed is 220.127.116.11-1.
Anyone have any idea what might be wrong and how to fix it? I'll happily provide any further information that might be relevant.