Benutzer-Werkzeuge

Webseiten-Werkzeuge


wlan

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
Letzte Überarbeitung Beide Seiten der Revision
wlan [2017/04/18 13:25]
admin
wlan [2018/04/05 00:16]
admin [WLAN mit wpa_supplikant einrichten]
Zeile 1: Zeile 1:
 +
 +===== WLAN - Repeater =====
 +
 +https://​www.elektronik-kompendium.de/​sites/​net/​1407071.htm
 +
 ===== WLAN mit /​etc/​network/​interfaces einrichten ===== ===== WLAN mit /​etc/​network/​interfaces einrichten =====
  
-  - sudo /​etc/​init.d/​network-manager stop+  - sudo service ​network-manager stop
   - für eth0 keine statische IP festgelegt   - für eth0 keine statische IP festgelegt
   - /​etc/​network/​interfaces   - /​etc/​network/​interfaces
  
-<code interfaces>​+<​code ​bash interfaces
 +source-directory /​etc/​network/​interfaces.d 
 +auto lo 
 +iface lo inet loopback 
 +   
 +#auto eth0 
 +#​allow-hotplug eth0 
 +#iface eth0 inet static 
 +#  address 10.0.0.55 
 +#  netmask 255.255.255.0 
 +
 +#WLAN funktioniert nur, wenn 
 +#sudo /​etc/​init.d/​network-manager stop 
 +#und für eth0 keine statische IP festgelegt wurde 
 +auto wlan0 
 +allow-hotplug wlan0 
 +iface wlan0 inet dhcp 
 +    wpa-ssid ​ <​SSID>​ 
 +    wpa-psk ​  <​password>​ 
 +
 +#Manuelles Umschalten zwischen WLANs 
 +
 +#iface anger inet dhcp 
 +#      wpa-ssid <​SSID>​ 
 +#      wpa-psk <​password>​ 
 +
 +#iface graz inet dhcp 
 +#      wpa-ssid ​ <​SSID>​ 
 +#      wpa-psk ​  <​password>​ 
 +
 +#sudo ifdown wlan0=anger 
 +#sudo ifup wlan0=graz 
 +</code>
  
-  source-directory ​/​etc/​network/​interfaces.d+===== WLAN mit wpa_supplikant einrichten ===== 
 + 
 +https://​jankarres.de/​2016/​03/​raspberry-pi-3-wlan-einrichten/​ 
 + 
 +  ​/​etc/​network/​interfaces 
 + 
 +  # The loopback network interface
   auto lo   auto lo
   iface lo inet loopback   iface lo inet loopback
   ​   ​
-  #auto eth0 +  # The primary network interface 
-  ​#allow-hotplug eth0 +   
-  ​#iface eth0 inet static +  ​auto eth0 
-  ​#  address 10.0.0.55 +  allow-hotplug eth0 
-  ​#  netmask 255.255.255.0 +  iface eth0 inet dhcp 
-  # +   
-  #WLAN funktioniert nur, wenn +  ​
-  #sudo /​etc/​init.d/​network-manager stop +
-  #und für eth0 keine statische IP festgelegt wurde+
   auto wlan0   auto wlan0
   allow-hotplug wlan0   allow-hotplug wlan0
-  iface wlan0 inet dhcp +  iface wlan0 inet manual 
-      wpa-ssid  <​SSID>​ +  wpa-roam /​etc/​wpa_supplicant/​wpa_supplicant.conf 
-      wpa-psk ​  <​password>​+  iface default inet dhcp
  
-</code>+  ​/etc/​wpa_supplicant/​wpa_supplicant.conf 
 + 
 +  ctrl_interface=DIR=/​var/​run/​wpa_supplicant GROUP=netdev 
 +  update_config=1 
 +  network={ 
 +        ssid="​SSID1"​ 
 +        psk="​password"​ 
 +  } 
 +   
 +  network={ 
 +        ssid="​SSID2"​ 
 +        psk="​password"​ 
 +  } 
 +   
 +  network={ 
 +    ssid="​KolpingCampusKrems"​ 
 +    key_mgmt=NONE 
 +  }
  
 ===== Network-Manager auf der Kommandozeile ===== ===== Network-Manager auf der Kommandozeile =====
Zeile 120: Zeile 178:
  
   http://​sourceforge.net/​projects/​netstress/​   http://​sourceforge.net/​projects/​netstress/​
 +
 +==== WLAN-Speedtest Konsole ====
 +
 +  cd /opt
 +  sudo apt-get git
 +  sudo git clone https://​github.com/​sivel/​speedtest-cli.git
 +
 +  sudo python /​opt/​speedtest-cli/​speedtest.py
  
  
wlan.txt · Zuletzt geändert: 2020/03/18 13:56 von admin