Netzwerk Wireless (Raspbian): Unterschied zwischen den Versionen

Aus Tutorials
Zur Navigation springen Zur Suche springen
Zeile 18: Zeile 18:
</pre>
</pre>


== Dateien 'Interfaces'' und 'wpa_supplicant.conf' ==
== Dateien ''interfaces'' und 'wpa_supplicant.conf' ==


Datei /etc/wpa_supplicant/wpa_supplicant.conf:
Datei /etc/wpa_supplicant/wpa_supplicant.conf:
Zeile 50: Zeile 50:
         wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
         wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
</pre>
</pre>
== Links ==
[http://linux.die.net/man/5/wpa_supplicant.conf http://linux.die.net/man/5/wpa_supplicant.conf]
[http://www.freebsd.org/cgi/man.cgi?wpa_supplicant.conf%285%29 http://www.freebsd.org/cgi/man.cgi?wpa_supplicant.conf%285%29]




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

Version vom 30. April 2016, 18:10 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>"
        proto=RSN
        key_mgmt=WPA-PSK
        pairwise=CCMP
        #group=TKIP
        auth_alg=OPEN
}

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

Links

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

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


Zurück zu Raspbian