User avatar
howroyd
Posts: 39
Joined: Thu Aug 02, 2012 1:41 pm
Location: Loughborough
Contact: Website

Raspi WiFi Access Point bridges to a second WiFi Dongle

Tue Jul 08, 2014 9:52 pm

Evening all,

Trying to set up an interesting one...

I have setup my Pi as a WiFi Access Point using hostapd, and am able to bridge this to eth0. This is well documented elsewhere. I now want to remove the eth0 associations and replace them with a second wifi dongle, to become wlan1 associations. However, it just doesn't seem to want to work. It simply isnt letting me have the access point on wlan0 and the normal client on wlan1 working at the same time.

Can anyone help?

/etc/wpa_supplicant/wpa_supplicant.conf

Code: Select all

ctrl_interface=DIR=/run/wpa_supplicant GROUP=netdev
update_config=1
ap_scan=1

network={
        ssid="myssid"
        scan_ssid=1
        proto=RSN
        key_mgmt=WPA-PSK
        pairwise=CCMP
        group=CCMP
        psk="password"
}
/etc/network/interfaces

Code: Select all

auto lo
iface lo inet loopback

iface eth0 inet dhcp

auto wlan0
allow-hotplug wlan0
iface wlan0 inet static
address 96.69.10.69
netmask 255.255.255.0

auto wlan1
allow-hotplug wlan1
iface wlan1 inet manual
 wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface home inet dhcp
/etc/hostapd/hostapd.conf

Code: Select all

interface=wlan0
driver=nl80211

ctrl_interface=/var/run/hostapd
ctrl_interface_group=0

ssid=Simon-QUAD
channel=3

beacon_int=100
wmm_enabled=1
ht_capab=[HT40-][HT40+][SHORT-GI-40][DSSS_CCK-40]

Return to “Networking and servers”