Netzwerk Wireless (Raspbian): Unterschied zwischen den Versionen

Aus Tutorials
Zur Navigation springen Zur Suche springen
Zeile 83: Zeile 83:


[http://www.freebsd.org/cgi/man.cgi?wpa_supplicant.conf%285%29 http://www.freebsd.org/cgi/man.cgi?wpa_supplicant.conf%285%29]
[http://www.freebsd.org/cgi/man.cgi?wpa_supplicant.conf%285%29 http://www.freebsd.org/cgi/man.cgi?wpa_supplicant.conf%285%29]
[https://developer-blog.net/raspberry-pi-problem-mit-wlan-stick-edimax-ew-7811un/ https://developer-blog.net/raspberry-pi-problem-mit-wlan-stick-edimax-ew-7811un/]




Zurück zu [[Raspbian]]
Zurück zu [[Raspbian]]

Version vom 1. Mai 2016, 12:40 Uhr

Nur interfaces-Datei

In der Datei /etc/network/interfaces folgende Zeilen hinzufügen / anpassen:

auto wlan0
allow-hotplug wlan0
iface wlan0 inet static
address <static ip>
netmask 255.255.255.0
gateway <gateway ip>
dns-nameservers <nameserver ip>

wpa-ap-scan 1
wpa-scan-ssid 1

wpa-ssid "<ssid>"
wpa-psk "<password>"

Dateien interfaces und wpa_supplicant.conf

Datei /etc/wpa_supplicant/wpa_supplicant.conf:

country=AT
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1

network={
        ssid="<ssid>"
        psk="<password>"
}

Datei /etc/network/interfaces:

source-directory /etc/network/interfaces.d

auto lo
iface lo inet loopback

# WLAN
auto  wlan0
allow-hotplug wlan0
iface wlan0 inet manual
        wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

bzw. mit statischer IP-Addresse:

source-directory /etc/network/interfaces.d

auto lo
iface lo inet loopback

iface eth0 inet manual

allow-hotplug wlan0
iface wlan0 inet static
    wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
    address 10.0.0.98
    netmask 255.255.255.0
    gateway 10.0.0.138
    dns-nameservers 10.0.0.138

Energiesparmodus deaktivieren

Edimax EW-7811un

Datei 8192cu.conf anlegen:

sudo nano /etc/modprobe.d/8192cu.conf

Folgenden Inhalt einfügen:

options 8192cu rtw_power_mgnt=0 rtw_enusbss=0

Links

http://linux.die.net/man/5/wpa_supplicant.conf

http://www.freebsd.org/cgi/man.cgi?wpa_supplicant.conf%285%29

https://developer-blog.net/raspberry-pi-problem-mit-wlan-stick-edimax-ew-7811un/


Zurück zu Raspbian