Has anyone successfully configured a bridge between wlan0
and wlan1
?
On wlan1
I have an internet connection with subnet 192.168.107.xxx
At wlan0
I would like to have an internet connection available with the address in the 192.168.107.xxx
subnet given by wlan1
.
This is my /etc/network/interfaces
:
auto lo
iface lo inet loopback
auto wlan1
iface wlan1 inet manual
allow-hotplug wlan0
iface wlan0 inet manual
auto br0
iface br0 inet static
bridge_ports wlan1
address 192.168.107.13
netmask 255.255.255.0
network 192.168.107.0
broadcast 192.168.107.255
And in /etc/hostapd/hostapd.conf
:
bridge=br0
interface=wlan0
driver=nl80211
ssid=blablabla
hw_mode=g
channel=6
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
wpa=2
wpa_passphrase=12345678
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP
/etc/default/hostapd
DAEMON_CONF="/etc/hostapd/hostapd.conf"
Can anyone show me how to run it and is it possible at all?