[Howto] FreeBSD v12 and TP-Link TL-WN725N WLAN-Stick

posted in: Uncategorized | 0

OS: FreeBSD 12.0-RELEASE-p4 amd64

WLAN hardware: TP-Link TL-WN725N (builtin REALTEK RTL8188EU chipset)

  • insert the USB WLAN-stick to your computer
  • check, if the kernel recognizes the usb-stick: dmesg and check the output
  • load the corresponding kernel-modules: kldload rtwn.ko and kldload if_rtwn_usb.ko
  • check, if the kernel modules are loaded correctly: kldstat and check the output
  • check, if the kernel lists the wlan-device: sysctl net.wlan.devices should list “rwtn0”
  • create the wlan-interface: ifconfig wlan0 create wlandev rwtn0 (note: the device must be manually created otherwise it is not shown by ifconfig!)
  • configure the interface to your wlan-settings: ifconfig wlan0 ssid=<your-ssid>
  • login to the encrypted wlan: wpa_supplicant -B -iwlan0 -c/etc/wpa_supplicant.conf
  • check, if the internet-connection works: e.g. ping 8.8.8.8 (=Google DNS-Server IPv4)