dmesg
:-iwn0: <Intel Centrino Advanced-N 6205> mem 0xf2400000-0xf2401fff irq 17 at device 0.0 on pci2
pciconf -lcve
:-iwn0@pci0:3:0:0: class=0x028000 card=0x13118086 chip=0x00858086 rev=0x34 hdr=0x00
vendor = 'Intel Corporation'
device = 'Centrino Advanced-N 6205 [Taylor Peak]'
class = network
cap 01[c8] = powerspec 3 supports D0 D3 current D0
cap 05[d0] = MSI supports 1 message, 64 bit enabled with 1 message
cap 10[e0] = PCI-Express 1 endpoint max data 128(128) FLR RO NS
link x1(x1) speed 2.5(2.5) ASPM L1(L0s/L1)
ecap 0001[100] = AER 1 0 fatal 0 non-fatal 0 corrected
ecap 0003[140] = Serial 1 8c705affff64e5dc
wlans_iwn0="wlan0"
ifconfig_wlan0="WPA SYNCDHCP"
network={
ssid=ssid
psk=password
}
service netif restart
ifconfig
:-
wlan0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 8c:70:5a:64:e5:dc
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
status: no carrier
ssid "" channel 1 (2412 MHz 11b)
regdomain FCC country US authmode OPEN privacy OFF txpower 30
bmiss 10 scanvalid 60 wme bintval 0
groups: wlan
There is nice ncurses tool you can use for that:
bsdinstall wireless
This is assuming you are trying to setup a wireless client.
bsdinstall netconfig
...Read Chapter 30. Advanced Networking for manual setting the wifi or if you prefer a graphical tool, try net-mgmt/networkmgr.
Nope I meant what I said:although you probably meany bsdinstall netconfig
bsdinstall wireless
didn't do anything on my system and man bsdinstall
didn't show wireless as an optional target... bsdconfig wireless
I had a look, but it's unclear which driver goes with which card. I have Intel Centrino Advanced-N 6230 but can't work which is the correct driver.The manual mentions some firmware:
https://www.freebsd.org/cgi/man.cgi?iwn
if_iwn_load="YES"
iwn1000fw_load="YES"
iwn100fw_load="YES"
iwn105fw_load="YES"
iwn135fw_load="YES"
iwn2000fw_load="YES"
iwn2030fw_load="YES"
iwn4965fw_load="YES"
iwn5000fw_load="YES"
iwn5150fw_load="YES"
iwn6000fw_load="YES"
iwn6000g2afw_load="YES"
iwn6000g2bfw_load="YES"
iwn6050fw_load="YES"
Sorry I got the app name wrong.
bsdconfig wireless
bsdinstall * writes to a chroot and really don't work for an installed system.
legal.intel_iwn.license_ack=1 # loader.conf
Strange, but the interface becomes active, since it will scan for nearby SSIDs, but seem unable to connect.
ifconfig wlan0 scan
displays all the nearby SSIDs...
dmesg
tells me
module iwn already present!
#ifconfig_wlan0="DHCP"
#ifconfig_wlan0="WPA DHCP"
#ifconfig_wlan0="WPA SYNCDHCP"
ifconfig wlan0 up
and ifconfig wlan0 down
?Works for meHow do I go about switching wifi access on and off? Is it just ifconfig wlan0 up and ifconfig wlan0 down?
This would be used with your wireless card connect to the nearest Access Point with no encryption. Open WiFi Hotspots for example.ifconfig_wlan0="DHCP"
/usr/local/sbin/wpa_supplicant -i wlan0 -dd -c /etc/wpa_supplicant.conf -Dbsd
iwn_load="YES"
iwn6000fw_load="YES"
ifconfig_iwn0="wlan0
ifconfig_wlan0=WPA SYNCDHCP"