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 [2026/05/28 05:25] Sean Rhonebsd:notes:wifi [2026/05/28 08:02] (current) Sean Rhone
Line 9: Line 9:
 ====== TODO ====== ====== TODO ======
  
-===== Device =====+  su -
  
-  ''Wi-Fi 6E(802.11ax) AX210/AX1675* 2x2 [Typhoon Peak]'' +  ee '/etc/rc.conf'
-  * ''iwlwifi0''+
  
-  pciconf -lv | grep -A'1' -B'3' 'network'+<code> 
 +wlans_iwlwifi0="wlan0" 
 +create_args_wlan0="country US regdomain fcc" 
 +ifconfig_wlan0="WPA inet 192.168.1.150 netmask 255.255.255.0" 
 +#ifconfig_wlan0="WPA DHCP"</code>
  
-  sysctl 'net.wlan.devices'+====== wpa_supplicant.conf ======
  
-===== Initial =====+  * :!: Blank line between ''ssid'' and ''key_mgmt'' is for ''psk='' from [[#wpa_passphrase]]
  
-  ifconfig 'wlan0' create 'wlandev' 'iwlwifi0' +  su -
- +
-  ifconfig 'wlan0' regdomain 'fcc' country 'US' +
- +
-==== Persist ==== +
- +
-  sysrc wlans_iwlwifi0="wlan0" +
- +
-  sysrc create_args_wlan0="country US regdomain fcc" +
- +
-===== Scan ===== +
- +
-**** +
- +
-  ifconfig 'wlan0' up list scan +
- +
-===== 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 74: Line 59:
   wpa_passphrase 'Kitava (iPhone XR)'   wpa_passphrase 'Kitava (iPhone XR)'
  
-===== Etc =====+====== Network Restart ======
  
-  ee '/etc/rc.conf'+  su 'root' -c "service 'netif' restart && '/etc/netstart'"
  
-<code> +  su -
-ifconfig_wlan0="inet 192.168.1.150 netmask 255.255.255.0" +
-#ifconfig_wlan0="WPA DHCP" +
-ifconfig_wlan0_ipv6="inet6 accept_rtadv"</code>+
  
   service 'netif' restart   service 'netif' restart
  
-  wpa_supplicant -i'wlan0' -c'/etc/wpa_supplicant.conf'+  '/etc/netstart'
  
-====== rc.conf ======+====== Scan ======
  
-  su -+****
  
-  ee '/etc/rc.conf' +  ifconfig 'wlan0' list scan
- +
-<code> +
-wlans_iwlwifi0="wlan0+
-ifconfig_wlan0="WPA inet 192.168.1.150 netmask 255.255.255.0" +
-defaultrouter="192.168.1.1"</code>+
  
 ===== DHCP ===== ===== DHCP =====
Line 105: Line 82:
 #ifconfig_ue0="SYNCDHCP"</code> #ifconfig_ue0="SYNCDHCP"</code>
  
-====== Network Restart ======+====== Etc ======
  
-****+===== Device =====
  
-  su 'root' -c "service 'netifrestart && '/etc/netstart'"+  ''Wi-Fi 6E(802.11ax) AX210/AX1675* 2x2 [Typhoon Peak]'' 
 +  * ''iwlwifi0''
  
-====== Etc ======+  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.1779960300.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