User Tools

Site Tools


bsd:notes:wifi

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
bsd:notes:wifi [2025/08/15 01:29] Sean Rhonebsd:notes:wifi [2025/08/24 19:42] (current) Sean Rhone
Line 5: Line 5:
   * [[https://man.freebsd.org/cgi/man.cgi?query=wpa_supplicant.conf&apropos=0&sektion=0&manpath=FreeBSD+14.2-RELEASE+and+Ports&arch=default&format=html|wpa_supplicant.conf]]   * [[https://man.freebsd.org/cgi/man.cgi?query=wpa_supplicant.conf&apropos=0&sektion=0&manpath=FreeBSD+14.2-RELEASE+and+Ports&arch=default&format=html|wpa_supplicant.conf]]
  
-  * [[bsd:freebsd_14.3_xfce]] +  * [[bsd:freebsd_14.3_xfce|FreeBSD 14.3 (Xfce)]]
- +
-====== Interface ====== +
- +
-  ifconfig wlan create wlandev iwm0 +
- +
-  sysrc wlans_iwm0="wlan0"+
  
 ====== rc.conf ====== ====== rc.conf ======
  
-  * TODO: Other SSIDs might need DHCP?+  su -
  
   ee '/etc/rc.conf'   ee '/etc/rc.conf'
  
 <code> <code>
-wlans_iwm0="wlan0" +wlans_iwlwifi0="wlan0" 
-ifconfg_wlan0="WPA inet 192.168.1.151/24 ssid Highgate (5GHz)"</code>+ifconfig_wlan0="WPA inet 192.168.1.150 netmask 255.255.255.0" 
 +defaultrouter="192.168.1.1"</code> 
 + 
 +===== DHCP ===== 
 + 
 +<code> 
 +wlans_iwlwifi0="wlan0" 
 +ifconfig_wlan0="WPA DHCP" 
 +#ifconfig_ue0="SYNCDHCP"</code>
  
 ====== wpa_supplicant.conf ====== ====== wpa_supplicant.conf ======
 +
 +  * :!: Blank line between ''ssid'' and ''key_mgmt'' is for ''psk='' from [[#wpa_passphrase]]
  
   ee '/etc/wpa_supplicant.conf'   ee '/etc/wpa_supplicant.conf'
Line 35: Line 39:
 network={ network={
   ssid="Highgate (5GHz)"   ssid="Highgate (5GHz)"
-  psk= +  
-  key_mgmt=WPA-PSK +
-  priority=5 +
-+
- +
-network={ +
-  ssid="The Crossroads (2.4GHz)" +
-  psk=+
   key_mgmt=WPA-PSK   key_mgmt=WPA-PSK
   priority=4   priority=4
Line 49: Line 46:
 network={ network={
   ssid="Izaro"   ssid="Izaro"
-  psk=+  
   key_mgmt=WPA-PSK   key_mgmt=WPA-PSK
   priority=3   priority=3
Line 56: Line 53:
 network={ network={
   ssid="Kitava (iPhone XR)"   ssid="Kitava (iPhone XR)"
-  psk=+  
   key_mgmt=WPA-PSK   key_mgmt=WPA-PSK
   priority=2   priority=2
Line 66: Line 63:
  
   wpa_passphrase 'Highgate (5GHz)'   wpa_passphrase 'Highgate (5GHz)'
- 
-  wpa_passphrase 'The Crossroads (2.4GHz)' 
  
   wpa_passphrase 'Izaro'   wpa_passphrase 'Izaro'
Line 73: Line 68:
   wpa_passphrase 'Kitava (iPhone XR)'   wpa_passphrase 'Kitava (iPhone XR)'
  
-===== Test =====+====== Network Restart ======
  
 **** ****
  
-  wpa_supplicant -d -c '/etc/wpa_supplicant.conf' -i 'wlan0'+  su 'root' -c "service 'netif' restart && '/etc/netstart'"
  
 ====== Etc ====== ====== Etc ======
/usr/local/www/wiki/data/attic/bsd/notes/wifi.1755235744.txt.gz · Last modified: by Sean Rhone