Skip to content

Instantly share code, notes, and snippets.

@jgavinray
Created July 20, 2024 20:00
Show Gist options
  • Select an option

  • Save jgavinray/34e5894fe5f0c2f072b71cbad6040fc2 to your computer and use it in GitHub Desktop.

Select an option

Save jgavinray/34e5894fe5f0c2f072b71cbad6040fc2 to your computer and use it in GitHub Desktop.
ThinkPad T490 Wifi Configuration
# A wireless interface needs to be created so that the system knows what interface to bind to
ifconfig wlan create wlandev iwm0
# After the interface is created, the drivers for the appropriate wireless card - for the Thinkpad T490 the Intel Wireless-AC 9560 is the most common device
# The drivers need to be loaded - add the following to /boot/loader.conf
if_iwm_load="YES"
iwm9000fw_load="YES"
# Then add the wifi configuration to the "common" configurations.
# in the /etc/rc.conf file add the following
kld_list="if_iwm iwlwifi"
wlans_iwm0="wlan0"
ifconfig_wlan0="WPA SYNCDHCP"
# Config your wifi connection by defining the network and the pre shared key.
# Create the /etc/wpa_supplicant.conf file and place the following in it. Swap ssid with the name of the network and psk with the password
network={
ssid="mywpa"
psk="1234"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment