Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Mar 2016 18:06:26 +0300
From:      Aleksander Alekseev <afiskon@devzen.ru>
To:        Carmel <carmel_ny@outlook.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Getting wireless network up and running
Message-ID:  <20160315180626.24ebe79f@fujitsu>
In-Reply-To: <BLU436-SMTP12AE507FBD02D82FD09BC680890@phx.gbl>
References:  <BLU436-SMTP73D3E85202EF34C6B8BBFD80880@phx.gbl> <CAOc73CCDhGqu7vLKJ7kO8rnvPMtzH+U=tMa3x--nEVqUc4ZUNg@mail.gmail.com> <BLU436-SMTP177232924BD6F54F9054D1E80890@phx.gbl> <BLU436-SMTP12AE507FBD02D82FD09BC680890@phx.gbl>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
Hello, Carmel

Indeed wireless network configuration could be tricky in FreeBSD, been
there. Here are a few hints that may help (not only in your but in
general case).

0. Use stable FreeBSD version, e.g. not CURRENT

1. Make sure your hardware is supported by FreeBSD:
https://www.freebsd.org/relnotes/CURRENT/hardware/support.html If not
consider buying USB wireless adapter which is supported by FreeBSD. I
personally use TP-LINK TL-WN725N. Edimax EW-7811Un also looks good.

2. Make sure corresponding driver is successfully loaded, see `dmesg`,
`man kldload`.

3. Read https://www.freebsd.org/doc/handbook/network-wireless.html
carefully. Here is very least you have to do:

sudo ifconfig wlan0 create wlandev (device name here)
sudo ifconfig wlan0 up scan

/etc/rc.conf:

```
wlans_(device name here)="wlan0"
ifconfig_wlan0="WPA DHCP"
```

/etc/wpa_supplicant.conf:

```
network = {
  ssid="tp-link"
  psk="ololotrololo"
}
```

sudo service netif restart
netstat -nr

4. Also consider using wifimgr - GUI tool for configuring Wi-Fi:

sudo pkg install wifimgr

Good luck!

-- 
Best regards,
Aleksander Alekseev
http://eax.me/



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20160315180626.24ebe79f>