No WiFi on fresh FreeBSD install.

gotdrip88

New Member

Reaction score: 2
Messages: 5

Just installed and booted FreeBSD on a 64 gig sd on my HP 11A G8 EE chromebook

Need help configuring network
already tried a bunch of things but they won't work!
 

jbodenmann

Aspiring Daemon

Reaction score: 307
Messages: 552

Hello & Welcome to the FreeBSD community!

What did you try? What problems did you encounter? Which WiFi card is installed in the machine? Did you read the corresponding chapter of the handbook?
If in doubt, show us the output of pciconf -lv and usbconf (please be sure to wrap the output into [cmd][/cmd] when posting it here.

As a (side) note: Wireless on FreeBSD is bit of a mood point. Don't expect the same level of compatibility & performance as with other operating systems. However, the FreeBSD foundation is currently funding work for WiFi 5 support.
 
OP
G

gotdrip88

New Member

Reaction score: 2
Messages: 5

Browser be acting weird
this isnt literally a copy paste but
vendor = Qualcomm atheros
device = QCA6174.11ac Wireless Network Adapter
class = network

I tried different things but thing is I was mostly copy pasting everything I found online
 

Alain De Vos

Son of Beastie

Reaction score: 869
Messages: 2,826

Most problematic can be integrated accelerated video cards.
As wifi can always be fixed using the cheapest usb dongle, even if this is not the most beautiful solution.
 

ccammack

Member

Reaction score: 43
Messages: 66

If you need a GUI-based Wi-Fi manager for a desktop environment, try networkmgr or wifimgr. For console-based devices, try the 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.

To identify your WiFi hardware:

Code:
$ 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
[...]

If your device is not recognized, try a USB WiFi dongle instead. Supported hardware appears in the release notes under the section Wireless Network Interfaces. Once the hardware is recognized, add 2 lines to /etc/rc.conf to configure the drivers for that device (iwn0 in this case):

Code:
# cat /etc/rc.conf
[...]
wlans_iwn0="wlan0"
ifconfig_wlan0="WPA SYNCDHCP"

Finally, use wpa_passphrase >> to add the SSID and passphrase to /etc/wpa_supplicant.conf for the hotspot.

Code:
# wpa_passphrase "SSID" "WPA2passphrase" >> /etc/wpa_supplicant.conf

# cat /etc/wpa_supplicant.conf
network={
        ssid="SSID"
        #psk="WPA2passphrase"
        psk=8f0022337a28144c1ee2ae9b7f570d978c9c014b9e3b6e7ad3bfaf816d272f60
}

Restart the network service and ping something to check:

Code:
# 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
[...]
 

grahamperrin

Son of Beastie

Reaction score: 1,006
Messages: 3,418

QCA6174.11ac

<https://bsd-hardware.info/?view=search&name=QCA6174&d=FreeBSD&typeid=all#list>

For the ac aspect, I guess, see:



The project page lacks a link to the wiki page through which progress is summarised:

 
Top