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/05/16 21:39] – external edit 127.0.0.1bsd:notes:wifi [2025/05/22 03:42] (current) Sean Rhone
Line 1: Line 1:
-====== Wireless ======+====== Resources ======
  
-  * :?: 2025/04/01''ping'' to a website wouldn't work immediately after connecting to an Android hotspot (even with unrelated USB Tethering and in-house Highgate); may be local DNS?+  * https://srobb.net/fbsdquickwireless.html 
 +  * [[https://man.freebsd.org/cgi/man.cgi?query=wpa_supplicant&apropos=0&sektion=0&manpath=FreeBSD+14.2-RELEASE+and+Ports&arch=default&format=html|wpa_supplicant]] 
 +  * [[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]]
  
-  su -+  * [[bsd:freebsd_14.3_xfce]]
  
-  pkg install 'wifimgr'+====== Interface ====== 
 + 
 +  ifconfig wlan create wlandev iwm0 
 + 
 +  sysrc wlans_iwm0="wlan0" 
 + 
 +====== rc.conf ====== 
 + 
 +  * TODO: Other SSIDs might need DHCP?
  
   ee '/etc/rc.conf'   ee '/etc/rc.conf'
Line 11: Line 21:
 <code> <code>
 wlans_iwm0="wlan0" wlans_iwm0="wlan0"
-ifconfig_wlan0="WPA SYNCDHCP+ifconfg_wlan0="WPA inet 192.168.1.151/24 ssid Highgate (5GHz)"</code> 
-ifconfig_wlan0_ipv6="inet6 accept_rtadv+ 
-create_args_wlan0="country US regdomain FCC"</code>+====== wpa_supplicant.conf ====== 
 + 
 +  ee '/etc/wpa_supplicant.conf' 
 + 
 +<code> 
 +ctrl_interface=/var/run/wpa_supplicant 
 +eapol_version=2 
 +ap_scan=1 
 +fast_reauth=1 
 + 
 +network={ 
 +  ssid="Highgate (5GHz)
 +  psk= 
 +  key_mgmt=WPA-PSK 
 +  priority=5 
 +
 + 
 +network={ 
 +  ssid="The Crossroads (2.4GHz)" 
 +  psk= 
 +  key_mgmt=WPA-PSK 
 +  priority=4 
 +
 + 
 +network={ 
 +  ssid="Izaro" 
 +  psk= 
 +  key_mgmt=WPA-PSK 
 +  priority=3 
 +
 + 
 +network={ 
 +  ssid="Kitava (iPhone XR)" 
 +  psk= 
 +  key_mgmt=WPA-PSK 
 +  priority=2 
 +
 + 
 +# End</code> 
 + 
 +===== wpa_passphrase ===== 
 + 
 +  wpa_passphrase 'Highgate (5GHz)' 
 + 
 +  wpa_passphrase 'The Crossroads (2.4GHz)' 
 + 
 +  wpa_passphrase 'Izaro' 
 + 
 +  wpa_passphrase 'Kitava (iPhone XR)' 
 + 
 +===== Test ===== 
 + 
 +**** 
 + 
 +  wpa_supplicant -d -c '/etc/wpa_supplicant.conf' -i 'wlan0' 
 + 
 +====== Etc ====== 
 + 
 +  sysctl 'net.wlan.devices' 
 + 
 +  dhclient 'wlan0'
  
/srv/www/wiki/data/attic/bsd/notes/wifi.1747445948.txt.gz · Last modified: by 127.0.0.1