Nemesis2k
Posts: 2
Joined: Sat Oct 22, 2016 10:47 am

hostapd killt lanverbindung im autostart - sonst nicht

Sat Oct 22, 2016 11:26 am

Ich hab einen Pi3 am laufen mit raspbian drauf und wollt ihn als ap benutzen, gesagt getan, getestet und super.
Oder doch nicht.

Starte ich hostapd mittels

Code: Select all

sudo hostapd /etc/hostapd/hostapd.conf
funktioniert alles wunderbar, füge ich jedoch unter /etc/default/hostapd folgende Zeile ein:

Code: Select all

DAEMON_CONF="/etc/hostapd/hostapd.conf"
ist beim nächsten reboot die lan verbindung tot, ping geht icht raus und kommt nicht rein, kein internet.
Selbst wenn ich das umgehe und "hostapd /etc/hostapd/hostapd.conf" in die rc.local einfüge habe ich das gleiche problem.

hostapd.conf:

Code: Select all

                    

# Bridge-Betrieb
bridge=br0

# Schnittstelle und Treiber
interface=wlan0
#driver=nl80211

# WLAN-Konfiguration
ssid=Zensiert
channel=1
hw_mode=g
wmm_enabled=1
country_code=DE
ieee80211d=1
ignore_broadcast_ssid=0
auth_algs=1
ieee80211n=1

# WLAN-Verschlüsselung
wpa=2
wpa_key_mgmt=WPA-PSK
rsn_pairwise=CCMP
wpa_passphrase=zensiert
/etc/network/interfaces:

Code: Select all

# Localhost
auto lo
iface lo inet loopback

# Ethernet
auto eth0
allow-hotplug eth0
iface eth0 inet manual

# WLAN
auto wlan0
allow-hotplug wlan0
iface wlan0 inet manual
wireless-power off

# Netzwerkbrücke
auto br0
iface br0 inet static
address 192.168.178.2
netmask 255.255.255.0
gateway 192.168.178.1
dns-nameservers 192.168.178.1
bridge_ports eth0 wlan0 # build bridge
bridge_fd 0             # no forwarding delay
bridge_stp off          # disable Spanning Tree Protocol

Return to “Deutsch”