User Tools

Site Tools


bsd:notes:wifi

This is an old revision of the document!


Resources

rc.conf

ee '/etc/rc.conf'
wlans_iwlwifi0="wlan0"
ifconfig_wlan0="WPA DHCP"
ifconfig_ue0="SYNCDHCP"

wpa_supplicant.conf

  • :!: Blank line between ssid and key_mgmt is for psk= from wpa_passphrase
ee '/etc/wpa_supplicant.conf'
ctrl_interface=/var/run/wpa_supplicant
eapol_version=2
ap_scan=1
fast_reauth=1

network={
  ssid="Highgate (5GHz)"
  
  key_mgmt=WPA-PSK
  priority=5
}

network={
  ssid="The Crossroads (2.4GHz)"
  
  key_mgmt=WPA-PSK
  priority=4
}

network={
  ssid="Izaro"
  
  key_mgmt=WPA-PSK
  priority=3
}

network={
  ssid="Kitava (iPhone XR)"
  
  key_mgmt=WPA-PSK
  priority=2
}

# End

wpa_passphrase

wpa_passphrase 'Highgate (5GHz)'
wpa_passphrase 'The Crossroads (2.4GHz)'
wpa_passphrase 'Izaro'
wpa_passphrase 'Kitava (iPhone XR)'

Network Restart

su 'root' -c "service 'netif' restart && '/etc/netstart'"

Etc

sysctl 'net.wlan.devices'
dhclient 'wlan0'

Default

  • Included with fresh-install, might be useful for connecting to random APs?
network={
        priority=0
        key_mgmt=NONE
}
/usr/local/www/wiki/data/attic/bsd/notes/wifi.1756060062.txt.gz · Last modified: by Sean Rhone