I currently have a Raspberry Pi since July, 2014 and I'm running Raspbmc Gotham 14.0 (Build: 24-Dec-2014); and I recently bought a TP-Link TL-W722N Wireless Dongle with an Atheros AR9XXX series chipset (ath9k_htc); I decided to use my raspberry pi box as an AP for my phone, PC, Nintendo DS (WEP or open security only), PSP (WPA-PSK TKIP, WEP, and Open Security only), and so on.
I have two different SSIDs associated with hostapd, dnsmasq as both the DHCP server and DNS forwarder/server, but, unfortunately, I hit a snag recently.
I have one AP SSID setup with WPA/WPA2-PSK security (CCMP/TKIP), and the other open (for the Nintendo DS).
The primary SSID connects without issues, but the other one went south: my PSP would say SSID has either left, or the security is wrong, and none of my other devices won't connect to that either, but every device, except my DS can connect to the primary SSID without snags or issues.
Here is my hostapd.conf setup:
Code: Select all
interface=wlan0
ssid=raspbmc
bssid=04:cc:20:13:e8:20
channel=11
hw_mode=g
ieee80211n=1
ht_capab=[HT20][SHORT-GI-20]
wpa=3
wpa_passphrase=Thr33$t00g3$
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP
bss=wlan0_0
ssid=nintendo - problem one
#bssid=04:cc:20:13:e8:21 - disabled since wlan0_0 gets its own BSSID MAC Address
Code: Select all
domain=raspberry.local
resolv-file=/etc/resolv.conf
min-port=4096
server=208.67.222.222
server=208.67.220.220
cache-size=10000
interface=wlan0
interface=wlan0_0
dhcp-range=interface:wlan0,10.0.0.2,10.0.0.5,255.255.255.248,12h
dhcp-range=interface:wlan0_0,10.0.0.10,10.0.0.14,255.255.255.248,12h
Here's part of the hostapd file (/etc/init.d/hostapd)
Code: Select all
start)
log_daemon_msg "Starting $DESC" "$NAME"
start-stop-daemon --start --oknodo --quiet --exec "$DAEMON_SBIN" \
--pidfile "$PIDFILE" -- $DAEMON_OPTS >/dev/null && sleep 5 ; ifup wlan0_0
log_end_msg "$?"
;;