Fórumok
Üdv!
FreeBSD-n ad-hoc wifihez hogyan tudok csatlakozni? Egy TP-Link vezeték nélküli nyomtatószerverre kellene.
Ahogy próbáltam, a wpa_supplicant.conf manual szerint:
mode IEEE 802.11 operation mode; either 0 (infrastructure, default) or 1 (IBSS). Note that IBSS (adhoc) mode can only be used with key_mgmt set to NONE (plaintext and static WEP), or key_mgmt set to WPA-NONE (fixed group key TKIP/CCMP). In addition, ap_scan has to be set to 2 for IBSS. WPA-NONE requires proto set to WPA, key_mgmt set to WPA-NONE, pairwise set to NONE, group set to ei- ther CCMP or TKIP (but not both), and psk must also be set.
A /etc/wpa_supplicant.conf fájlt így próbálom:
ap_scan=2
network={
ssid="WLAN-PS"
priority=1
key_mgmt=NONE
mode=1
pairwise=NONE
group=TKIP
}
A wpa_supplicant indítása:
# wpa_supplicant -Dbsd -iwlan0 -c /etc/wpa_supplicant.conf
Successfully initialized wpa_supplicant
wlan0: Trying to associate with SSID 'WLAN-PS'
bsd_set_if_media: SIOCSIFMEDIA Device not configured
wpa_driver_bsd_associate: failed to set operation mode
wlan0: Association request to the driver failed
wlan0: Authentication with 00:00:00:00:00:00 timed out.
wlan0: CTRL-EVENT-DISCONNECTED bssid=00:00:00:00:00:00 reason=3 locally_generated=1
A hálózatokhoz nagyon-nagyon alapszinten értek, így könnyen lehet, hogy valami nagyon egyszerű dolog marad ki. Mit kellene csinálni, hogy tudjak értelmesen csatlakozni?
- 52 megtekintés