Ich nutze Raspbmc und einen LogiLink Wireless N 300Mbps USB Adapter.
Habe aber noch ein kleines Problem, ich kann den Access Point nur manuell starten, indem ich "sudo /sbin/ifup br0" über ssh ausführe. Dann kommt:
Code
can't add wlan0 to bridge br0: Operation not supported
Waiting for br0 to get ready (MAXWAIT is 32 seconds).
Configuration file: /etc/hostapd.conf
Failed to update rate sets in kernel module
Using interface wlan0 with hwaddr 7c: dd:90:5a:94:86 and ssid 'RASPBMC'
random: Only 11/20 bytes of strong random data available from /dev/random
random: Not enough entropy pool available for secure operations
WPA: Not enough entropy in random pool for secure operations - update keys later when the first station connects
Und danach läuft alles wie gewünscht. Obwohl der Befehl in meiner rc.local steht, wird beim booten der Access Point NICHT gestartet.
Was mache ich flasch?
Meine Konfiguration "/etc/hostapd.conf"
Code
interface=wlan0
bridge=br0
driver=nl80211
ctrl_interface=/var/run/hostapd
ctrl_interface_group=0
ssid=RASPBMC
ignore_broadcast_ssid=0
hw_mode=g
ieee80211n=1
channel=7
wpa=3
wpa_passphrase=12345678
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP
macaddr_acl=0
beacon_int=100
auth_algs=3
wmm_enabled=1
country_code=DE
Alles anzeigen
Meine Konfiguration "/etc/network/interfaces"
Code
auto lo br0 eth0
iface lo inet loopback
# Bestehendes Netzwerk
iface eth0 inet static
address 192.168.2.234
netmask 255.255.255.0
broadcast 192.168.2.255
gateway 192.168.2.1
dns-nameservers 192.168.2.1
# WLAN Interface / AP-Adressraum
iface wlan0 inet static
address 192.168.2.234
network 192.168.2.0
gateway 192.168.2.1
netmask 255.255.255.0
broadcast 192.168.2.255
iface br0 inet static
bridge_ports eth0 wlan0
address 192.168.2.234
network 192.168.2.0
gateway 192.168.2.1
netmask 255.255.255.0
broadcast 192.168.2.255
up /sbin/ifconfig br0 up
post-up /bin/sleep 10 ; /usr/sbin/hostapd -B /etc/hostapd.conf
pre-down /usr/bin/killall hostapd
down /sbin/ifconfig br0 down
Alles anzeigen
Meine Konfiguration "/etc/rc.local"
Bin für jeden Hinwies dankbar.