Setting the wifi on the Raspberry Pi with a TL-WN725N v2 adaptor

Since the release of the Linux kernel 3.4, the driver RTL8188eu is provided by default, which wasn’t the case some times ago: the TL-WN725N v2 wifi dongle should be working out of the box.

Install what you need

# pacman -S wpa_supplicant
Yes, that’s it… Because netctl is already installed.

Configuration of the wifi

Prepare the WPA key

# wpa_passphrase your_essid 'passphrase'

Put the passphrase between simple quotes to escape special characters.

You should get someting like:

network={
  ssid="your_essid"
  #psk="passphrase"
  psk=64cf3ced850ecef39197bb7b7b301fc39437a6aa6c6a599d0534b16af578e04a
}

Copy the psk value.

Set up netctl

To now the name of the interfaces type:
# ip link show

Here I have lo (loopback interface), eth0 (ethernet), wlan0 (wifi).

In /etc/netctl/wlan0-your_essid

Description='description'
Interface=wlan0
Connection=wireless
Security=wpa
ESSID=your_essid
IP=dhcp
Key=\"64cf3ced850ecef39197bb7b7b301fc39437a6aa6c6a599d0534b16af578e04a

Note that the value of Key is \"[what you copied before]

Test it

# netctl start wlan0-your_essid

If it works it can be enabled at boot.
# netctl enable wlan0-your_essid

If it doesn’t work, you can try to see if the problem comes from the interface or not. Using wifi-menu can be helpful. It’s a dialog in the terminal that makes things easier and in an automatic way. However it seems to have troubles with special characters in the password.

Else follow the sources …

Sources

https://wiki.archlinux.org/index.php/Wireless_network_configuration
https://wiki.archlinux.org/index.php/Netctl

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.