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/24 15:49] – [rc.conf] Sean Rhonebsd:notes:wifi [2026/05/28 08:02] (current) Sean Rhone
Line 7: Line 7:
   * [[bsd:freebsd_14.3_xfce|FreeBSD 14.3 (Xfce)]]   * [[bsd:freebsd_14.3_xfce|FreeBSD 14.3 (Xfce)]]
  
-====== rc.conf ======+====== TODO ======
  
   su -   su -
Line 15: Line 15:
 <code> <code>
 wlans_iwlwifi0="wlan0" wlans_iwlwifi0="wlan0"
-ifconfig_wlan0="WPA DHCP+create_args_wlan0="country US regdomain fcc" 
-ifconfig_ue0="SYNCDHCP"</code>+ifconfig_wlan0="WPA inet 192.168.1.150 netmask 255.255.255.0
 +#ifconfig_wlan0="WPA DHCP"</code>
  
 ====== wpa_supplicant.conf ====== ====== wpa_supplicant.conf ======
  
   * :!: Blank line between ''ssid'' and ''key_mgmt'' is for ''psk='' from [[#wpa_passphrase]]   * :!: Blank line between ''ssid'' and ''key_mgmt'' is for ''psk='' from [[#wpa_passphrase]]
 +
 +  su -
  
   ee '/etc/wpa_supplicant.conf'   ee '/etc/wpa_supplicant.conf'
  
 <code> <code>
-ctrl_interface=/var/run/wpa_supplicant 
-eapol_version=2 
-ap_scan=1 
-fast_reauth=1 
- 
 network={ network={
   ssid="Highgate (5GHz)"   ssid="Highgate (5GHz)"
-   
-  key_mgmt=WPA-PSK 
-  priority=5 
-} 
- 
-network={ 
-  ssid="The Crossroads (2.4GHz)" 
      
   key_mgmt=WPA-PSK   key_mgmt=WPA-PSK
Line 60: Line 51:
 # End</code> # End</code>
  
-===== wpa_passphrase =====+==== wpa_passphrase ====
  
   wpa_passphrase 'Highgate (5GHz)'   wpa_passphrase 'Highgate (5GHz)'
- 
-  wpa_passphrase 'The Crossroads (2.4GHz)' 
  
   wpa_passphrase 'Izaro'   wpa_passphrase 'Izaro'
Line 71: Line 60:
  
 ====== Network Restart ====== ====== Network Restart ======
 +
 +  su 'root' -c "service 'netif' restart && '/etc/netstart'"
 +
 +  su -
 +
 +  service 'netif' restart
 +
 +  '/etc/netstart'
 +
 +====== Scan ======
  
 **** ****
  
-  su 'root-c "service 'netif' restart && '/etc/netstart'"+  ifconfig 'wlan0list scan 
 + 
 +===== DHCP ===== 
 + 
 +<code> 
 +wlans_iwlwifi0="wlan0" 
 +ifconfig_wlan0="WPA DHCP" 
 +#ifconfig_ue0="SYNCDHCP"</code>
  
 ====== Etc ====== ====== Etc ======
 +
 +===== Device =====
 +
 +  * ''Wi-Fi 6E(802.11ax) AX210/AX1675* 2x2 [Typhoon Peak]''
 +  * ''iwlwifi0''
 +
 +  pciconf -lv | grep -A'1' -B'3' 'network'
  
   sysctl 'net.wlan.devices'   sysctl 'net.wlan.devices'
  
-  dhclient 'wlan0'+===== Initial =====
  
-===== Default =====+  ifconfig 'wlan0' create 'wlandev' 'iwlwifi0'
  
-  * Included with fresh-install, might be useful for connecting to random APs?+  ifconfig 'wlan0' regdomain 'fcc' country 'US'
  
-<code> +==== Persist ==== 
-network=+ 
-        priority=0 +  sysrc wlans_iwlwifi0="wlan0" 
-        key_mgmt=NONE + 
-}</code>+  sysrc create_args_wlan0="country US regdomain fcc"
  
/srv/www/wiki/data/attic/bsd/notes/wifi.1756064980.txt.gz · Last modified: by Sean Rhone

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki