bsd:notes:wifi
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
bsd:notes:wifi [2025/08/15 04:55] – [rc.conf] Sean Rhone | bsd:notes:wifi [2025/08/24 19:42] (current) – Sean Rhone | ||
---|---|---|---|
Line 5: | Line 5: | ||
* [[https:// | * [[https:// | ||
- | * [[bsd: | + | * [[bsd: |
- | + | ||
- | ====== Interface ====== | + | |
- | + | ||
- | ifconfig wlan create wlandev iwm0 | + | |
- | + | ||
- | sysrc wlans_iwm0=" | + | |
====== rc.conf ====== | ====== rc.conf ====== | ||
- | | + | |
ee '/ | ee '/ | ||
< | < | ||
- | wlans_iwm0=" | + | wlans_iwlwifi0=" |
- | ifconfig_wlan0=" | + | ifconfig_wlan0=" |
- | ifconfig_wlan0=" | + | defaultrouter=" |
- | ifconfig_wlan0="WPA inet '192.168.1.150/24' ssid 'The Crossroads (2.4GHz)' | + | |
- | ifconfig_wlan0_ipv6="inet6 accept_rtadv"</ | + | ===== DHCP ===== |
+ | |||
+ | < | ||
+ | wlans_iwlwifi0=" | ||
+ | ifconfig_wlan0="WPA DHCP" | ||
+ | # | ||
====== wpa_supplicant.conf ====== | ====== wpa_supplicant.conf ====== | ||
+ | |||
+ | * :!: Blank line between '' | ||
ee '/ | ee '/ | ||
Line 38: | Line 39: | ||
network={ | network={ | ||
ssid=" | ssid=" | ||
- | | + | |
- | key_mgmt=WPA-PSK | + | |
- | priority=5 | + | |
- | } | + | |
- | + | ||
- | network={ | + | |
- | ssid=" | + | |
- | psk= | + | |
key_mgmt=WPA-PSK | key_mgmt=WPA-PSK | ||
priority=4 | priority=4 | ||
Line 52: | Line 46: | ||
network={ | network={ | ||
ssid=" | ssid=" | ||
- | | + | |
key_mgmt=WPA-PSK | key_mgmt=WPA-PSK | ||
priority=3 | priority=3 | ||
Line 59: | Line 53: | ||
network={ | network={ | ||
ssid=" | ssid=" | ||
- | | + | |
key_mgmt=WPA-PSK | key_mgmt=WPA-PSK | ||
priority=2 | priority=2 | ||
Line 69: | Line 63: | ||
wpa_passphrase ' | wpa_passphrase ' | ||
- | |||
- | wpa_passphrase 'The Crossroads (2.4GHz)' | ||
wpa_passphrase ' | wpa_passphrase ' | ||
wpa_passphrase ' | wpa_passphrase ' | ||
- | |||
- | ===== Test ===== | ||
- | |||
- | * TODO: Had suspicious error messages but conf works fine; test what? | ||
- | |||
- | wpa_supplicant -d -c '/ | ||
====== Network Restart ====== | ====== Network Restart ====== | ||
- | su - | + | **** |
- | + | ||
- | service ' | + | |
- | '/ | + | |
====== Etc ====== | ====== Etc ====== |
/usr/local/www/wiki/data/attic/bsd/notes/wifi.1755248123.txt.gz · Last modified: by Sean Rhone