pciconf -lv
and usbconf
(please be sure to wrap the output into [cmd][/cmd] when posting it here. bsdconfig wireless
command, but I have never been able to get it to work properly on my laptop, so I just set each hotspot up by hand.$ su
Password:
# sysctl net.wlan.devices
net.wlan.devices: iwn0
# pciconf -lv | grep -B3 network
[...]
iwn0@pci0:3:0:0: class=0x028000 rev=0x34 hdr=0x00 vendor=0x8086 device=0x0085 subvendor=0x8086 subdevice=0x1311
vendor = 'Intel Corporation'
device = 'Centrino Advanced-N 6205 [Taylor Peak]'
class = network
# apropos intel | grep wireless
iwm, if_iwm(4) - Intel IEEE 802.11ac wireless network driver
iwn, if_iwn(4) - Intel IEEE 802.11n wireless network driver
# man iwn
[...]
/etc/rc.conf
to configure the drivers for that device (iwn0 in this case):# cat /etc/rc.conf
[...]
wlans_iwn0="wlan0"
ifconfig_wlan0="WPA SYNCDHCP"
wpa_passphrase >>
to add the SSID and passphrase to /etc/wpa_supplicant.conf
for the hotspot.# wpa_passphrase "SSID" "WPA2passphrase" >> /etc/wpa_supplicant.conf
# cat /etc/wpa_supplicant.conf
network={
ssid="SSID"
#psk="WPA2passphrase"
psk=8f0022337a28144c1ee2ae9b7f570d978c9c014b9e3b6e7ad3bfaf816d272f60
}
# service netif restart
[...]
# ifconfig
[...]
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 8c:70:5a:bd:39:3c
inet 192.168.0.101 netmask 0xffffff00 broadcast 192.168.0.255
groups: wlan
ssid SSID channel 2 (2417 MHz 11g ht/20) bssid 1c:af:f7:dd:9c:3b
[...]
# ping google.com
[...]
QCA6174.11ac
vendor = Qualcomm atheros