Can't connect the wifi.

Hello, first of all, I'm French. New on FreeBSD.

My issue is: I can't connect to the wifi network.

According to the command I did hw-probe -all -upload my wireless chipset works on FreeBSD.

What I did :

ifconfig returns:
Code:
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
    options=0
    ether 98:2c:bc:9c:92:9e
    groups: wlan
    ssid "" channel 1 (2412 MHz 11g)
    regdomain FCC country US authmode WPA1+WPA2/802.11i privacy ON
    deftxkey UNDEF txpower 30 bmiss 10 scanvalid 60 protmode CTS wme
    roaming MANUAL
    parent interface: iwm0
    media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
    status: no carrier
    nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>

sysctl -n net.wlan.devices returns: iwm0
ifconfig wlan0 up list scan returns: my router Livebox-8B60 is visible.

I added
Code:
wlans_iwm0="wlan0"
ifconfig_wlan0="WPA DHCP
in /etc/rc.conf

I added in /boot/loader.conf
Code:
if_iwm0_load=YES"
wlan_wep_load="YES"
wlan_ccmp_load="YES"
wlan_tklp_load="YES"

I added in /etc/wpa_supplicant.conf
Code:
network={
ssid="Livebox-8B60"
bssid=50:6f:0c:63:8b:60
key_mgmt=WPA-PSK
proto=RSN
psk="my password here"
}

I did service netif restart

Nothing! I did reboot, nothing! no connection to wifi.

The wlan0 status is still "no carrier"

Someone can help me? thanks in advance.
 

Attachments

  • wifi.png
    wifi.png
    96 KB · Views: 13
To answer the questions: it's a visible ssid, and a plain text password.

I don't know how to use wpa_supplicant with debbuging...

I also tried to connect with the WPS button on the router, and no connection either.
 
POSIX.1 already said, but but to slightly elaborate, you can run, for example

Code:
 wpa -ddd -i <interfacename> -c /etc/wpa_supplicant.conf
For example:
Code:
 wpa -ddd -i wlan0 -c /etc/wpa_supplicant.conf

The extra d's give you more debugging information. wpa_supplicant -d is probably enough but the extra d's give you a little more info.

I'll also spam my own https://srobb.net/fbsdquickwireless.html page which goes through the steps.
 
I added in /boot/loader.conf
Code:
if_iwm0_load=YES"
wlan_wep_load="YES"
wlan_ccmp_load="YES"
wlan_tklp_load="YES"
Please remove those, in particular if_iwm0_load=YES".

According to the attached image you provided, the PCI wifi device is a Intel Cannon Point-LP CNVi [Wireless-AC] (PCI vendor/device ID 8086:9df0).

This adapter apparently requires the iwlwifi(4) driver on Linux, but on FreeBSD the devmatch(8) utility may attaches the iwm(4) driver automatically.

To prevent the iwm(4) driver attaching automatically to the device, force the iwlwifi(4) driver by setting in /boot/loader.conf
Code:
devmatch_blocklist="if_iwm"
, and reboot the system.

Change in /etc/rc.conf wlans_iwm0 to wlans_iwlwifi0
 
scottro you slightly elaborated, but I intentionally did not, because it is better for anyone to get used to the habit finding and reading in the manuals. The learning effect is much better if there was an effort to achieve. Presenting everything for the sake of comfort does harm to the brains of humans. Well, the brain is not a muscle, but it needs own activity to create new synapses.

Take this as an hint to learn the learning.
 
Back
Top