Hallo zusammen,
ich verzweifel gerade ein wenig.
Ich habe gestern nach dieser Anleitung (Klick) eine WLAN Bridge aufgebaut.
Sprich, ich habe ein Lan-Kabel an eth0, welches im Netzwerk hängt und per DHCP eine IP-Adresse vom Router erhält. Dann habe ich einen WLAN-Stick (RT5370), über welchen ein WLAN-Signal aufgebaut werden soll, über das ich dann ins selbe Netzwerk kommen kann. Also nichts zusätzlich per DHCP oder so, weil das ja alles der Router macht.
Gestern Abend lief auch alles wunderbar und ich konnte mit meinen mobilen Geräten surfen und co.
Heute Abend war das WLAN-Signal aber plötzlich weg. Also habe ich den RPi neugestartet und so weiter. Jedoch lief alles nicht.
Hat jemand eine Ahnung, woran das liegen könnte?
Hier mal meine Konfig-Dateien:
/etc/hostapd/hostapd.conf
bridge=br0
ssid=astruppI2012
wpa_passphrase=7077067500805052rbt
interface=wlan0
driver=nl80211
hw_mode=g
channel=1
auth_algs=1
wpa=2
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP
Alles anzeigen
/etc/network/interface
auto lo
iface lo inet loopback
iface default inet dhcp
iface eth0 inet dhcp
#address 192.168.2.210
#netmask 255.255.255.0
#broadcast 192.168.2.255
#gateway 192.168.2.1
#dns-nameservers 192.168.2.1
allow-hotplug wlan0
iface wlan0 inet manual
# Netzwerkbrücke
auto br0
iface br0 inet static
address 192.168.2.211
netmask 255.255.255.0
broadcast 192.168.2.255
gateway 192.168.2.1
dns-nameservers 192.168.2.1
bridge_ports eth0 wlan0
bridge_fd 0
bridge_stp no
Alles anzeigen
/etc/default/hostapd
# Defaults for hostapd initscript
#
# See /usr/share/doc/hostapd/README.Debian for information about alternative
# methods of managing hostapd.
#
# Uncomment and set DAEMON_CONF to the absolute path of a hostapd configuration
# file and hostapd will be started during system boot. An example configuration
# file can be found at /usr/share/doc/hostapd/examples/hostapd.conf.gz
#
#DAEMON_CONF="/etc/hostapd/hostapd.conf"
# Additional daemon options to be appended to hostapd command:-
# -d show more debug messages (-dd for even more)
# -K include key data in debug messages
# -t include timestamps in some debug messages
#
# Note that -B (daemon mode) and -P (pidfile) options are automatically
# configured by the init.d script and must not be added to DAEMON_OPTS.
#
#DAEMON_OPTS=""
#RUN_DAEMON=yes
Alles anzeigen
Hier habe ich den Dämon heute ausgeschaltet, um den Debug-Modus zu starten.
Diesen startet er und bleibt dann bei
nl80211: Add ifindex 4 for bridge br0
nl80211: Add own interface ifindex 4
mgmt::deauth cb
VLAN: vlan_newlink(wlan0)
RTM_NEWLINK: operstate=1 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
nl80211: if_removed already cleared - ignore event
nl80211: Add ifindex 4 for bridge br0
nl80211: Add own interface ifindex 4
RTM_NEWLINK: operstate=1 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
nl80211: if_removed already cleared - ignore event
VLAN: vlan_newlink(wlan0)
VLAN: vlan_newlink(wlan0)
VLAN: vlan_newlink(wlan0)
Alles anzeigen
stehen. Nach etlichen Minuten ist er nun bei
wlan0: WPA rekeying GTK
WPA: group state machine entering state SETKEYS (VLAN-ID 0)
Get randomness: len=16 entropy=0
GTK - hexdump(len=16): [REMOVED]
wpa_group_setkeys: GKeyDoneStations=0
WPA: group state machine entering state SETKEYSDONE (VLAN-ID 0)
wpa_driver_nl80211_set_key: ifindex=3 alg=3 addr=0x88d1c key_idx=2 set_tx=1 seq_
len=0 key_len=16
broadcast key
Und bleibt wieder da stehen. Ich sehe die ganze Zeit über nicht das WLAN-Signal.
Kann mir hier vielleicht jemand helfen?
Vielen Dank und schöne Grüße
Tobi