Schritt 6: Interfaces
Bild: Ergebnisse der laufenden iperf3 für 100 Intervalle mit "Iface eth0 Inet Dhcp" (blau), und dann wieder mit "# Iface eth0 Inet Dhcp" (rot). Die x-Achse ist Mbit/s und die y-Achse ist die Anzahl der Messungen in dieser Bandbreite.
Interfaces
Jeder Parameter in der Datei Interfaces wurde gemessen.
Diese Datei muss korrekt sein oder Wifi wird nicht funktionieren.
Login in Raspberry Pi und führen Sie den Befehl:
$ sudo nano /etc/network/interfaces
Bearbeiten Sie die Datei um:
# interfaces(5) file used by ifup(8) and ifdown(8) # Please note that this file is written to be used with dhcpd # For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf' # Include files from /etc/network/interfaces.d: # source-directory /etc/network/interfaces.d # Commented parameters were used in measurements # All comments can be removed # Replace spades (♣) and text enclosed in ♣replace-this♣ with actual value # loopback interface # loopback is used for tools to talk to themselves on the RPi auto lo iface lo inet loopback # ethernet interface # leave ethernet interface - may be needed for cable connection in the future iface eth0 inet dhcp # Wireless adapter # Use only one group of settings at a time - either RT5370 or WiPi # RT5370 settings: auto wlan0 allow-hotplug wlan0 iface wlan0 inet dhcp # Use wpa-ssid and wpa-psk OR wpa_supplicant, but not both # wpa-ssid "♣your-ssid♣" # wpa-psk "♣your-pass-phrase♣" # Use wpa-conf instead of wpa-roam # Using wpa-roam without correct wpa_roam.conf causes issues # For example, on reboot wpa-roam can default to IPv6 and wifi stops wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf # # Turning power management off reduces dropped packets wireless-power off # WiPi settings: # auto wlan0 # iface wlan0 inet dhcp # wpa-ssid "♣your-ssid♣" # wpa-psk "♣your-pass-phrase♣" # default interface # iface default inet dhcp
Strg-o Datei schreiben
Mit ENTER bestätigen schreiben
CTRL-X Nano-Editor beenden