Wie kann man den Raspberry Pi mit versteckten WLAN verbinden?

2 Antworten

Ich habe das hier gefunden:

Code

scan_ssid=1

in der wpa_supplicant.conf

Code
# For finding networks using hidden SSID, scan_ssid=1 in the network block can
# be used with nl80211.

Quelle: https://forum-raspberrypi.de/forum/thread/38126-wlan-verbindung-mit-verstecktem-wlan-herstellen/

Dann wäre da noch:

# AP scanning/selection
# By default, wpa_supplicant requests driver to perform AP scanning and then
# uses the scan results to select a suitable AP. Another alternative is to
# allow the driver to take care of AP scanning and selection and use
# wpa_supplicant just to process EAPOL frames based on IEEE 802.11 association
# information from the driver.
# 1: wpa_supplicant initiates scanning and AP selection; if no APs matching to
#    the currently enabled networks are found, a new network (IBSS or AP mode
#    operation) may be initialized (if configured) (default)
# 0: This mode must only be used when using wired Ethernet drivers
#    (including MACsec).
# 2: like 0, but associate with APs using security policy and SSID (but not
#    BSSID); this can be used, e.g., with ndiswrapper and NDIS drivers to
#    enable operation with hidden SSIDs and optimized roaming; in this mode,
#    the network blocks in the configuration file are tried one by one until
#    the driver reports successful association; each network block should have
#    explicit security policy (i.e., only one option in the lists) for
#    key_mgmt, pairwise, group, proto variables
# Note: ap_scan=0/2 should not be used with the nl80211 driver interface (the
# current Linux interface). ap_scan=1 is the only option working with nl80211.
# For finding networks using hidden SSID, scan_ssid=1 in the network block can
# be used with nl80211.
# When using IBSS or AP mode, ap_scan=2 mode can force the new network to be
# created immediately regardless of scan results. ap_scan=1 mode will first try
# to scan for existing networks and only if no matches with the enabled
# networks are found, a new IBSS or AP mode network is created.
ap_scan=1

Quelle: https://w1.fi/cgit/hostap/plain/wpa_supplicant/wpa_supplicant.conf

Vielleicht hilft dir das weiter ;-)

Mal eine ganz blöde Frage, da du "Firma" erwähntest: Du bist dir im Klaren, dass du ein nicht verwaltetes Gerät mit ins Netzwerk bringst und weißt auch, wie die Richtlinien insbesondere was das versteckte WLAN angeht aussehen? Nicht dass du gegen irgendwelche Bestimmungen deines Arbeitgebers verstößt oder noch schlimmer ein Sicherheitsproblem auslöst oder sogar ein Tor öffnest.

Zweite Frage, die sich mir gerade stellt: Weißt du, ob PSK verwendet wird, oder vermutest du das vielleicht nur?

Woher ich das weiß:Recherche
LukeatWork 
Fragesteller
 21.07.2020, 14:08

Vielen Dank für deine Antwort!

Du bist dir im Klaren, dass du ein nicht verwaltetes Gerät mit ins Netzwerk bringst und weißt auch, wie die Richtlinien insbesondere was das versteckte WLAN angeht aussehen?

Danke für den Hinweis, das ist wirklich nett von dir. Aber ja, das ist mir klar. Unser WLAN hier ist ein gesondertes Netz und es wurde extra für solche sachen eingerichtet (Hauptsächlich damit sich Gäste dort anmelden können).

Weißt du, ob PSK verwendet wird, oder vermutest du das vielleicht nur?

100% sicher bin ich mir nicht... Ich werde hier nochmal genauer nachforschen.

Vielen Dank nochmal!

1

Versuch mal, vor Zeile 4 einzufügen:

ap_scan=1

Ich gebe auch die Verschlüsselungsparameter im network-Block komplett an:

network={
   scan_ssid=1
   ssid="Your Hidden SSID"
   psk="Your SSID's Password"
   key_mgmt=WPA-PSK
   proto=RSN
   pairwise=CCMP
   group=CCMP
}