Hello, After installing hostapd I can successfully connect to the AP, I can get DHCP from it, but I cannot access the network through it (neither lan or internet). This is an existing router box so iptables and everything else is already properly configured.
I'm using this minimal config: interface=wlp0s10 #driver=nl80211 hw_mode=g channel=6 #ieee80211d=1 #country_code=FR #ieee80211n=1 #wmm_enabled=1 ssid=LinuxAP auth_algs=1 wpa=2 wpa_key_mgmt=WPA-PSK rsn_pairwise=CCMP wpa_passphrase=hello linux ap iw list shows the following supported modes: * IBSS * managed * AP * AP/VLAN * monitor The ebuild warns that in order for hostapd to work I need to set the card in master mode (the wiki makes no mention of it). But when I try to do that (either through the net init scripts or through iwconfig) I get the following error: Error for wireless request "Set Mode" (8B06) : SET failed on device wlp0s10 ; Invalid argument. However after starting hostapd it appears that it was able to set the card to master mode according to iwconfig: wlp0s10 IEEE 802.11bg Mode:Master Tx-Power=20 dBm Retry short limit:7 RTS thr:off Fragment thr:off Power Management:off So, is this card supported or not? Will I be able to connect and get dhcp from the server if it didn't? Avahi also _sortof_ works. If I add the wifi card to the deny-interfaces list on avahi-daemon.conf and try to ping the AP using the avahi name the avahi daemon (on the AP) logs the following: Received packet from invalid interface. This is the output of rc-service hostapd start: Configuration file: /etc/hostapd/hostapd.conf Using interface wlp0s10 with hwaddr 00:14:a5:cb:4d:8a and ssid "LinuxAP" wlp0s10: interface state UNINITIALIZED->ENABLED wlp0s10: AP-ENABLED [ ok ] Any suggestions? -- Fernando Rodriguez