Has this tutorial helped you?

Yes, I have successfully setup a non-bridged AP
38%
10
No, it didn't work for me
62%
16
 
Total votes: 26
mateuszshade
Posts: 1
Joined: Mon Mar 21, 2016 1:02 pm

Re: Access Point (AP) for TP-Link TL-WN725N V2

Mon Mar 21, 2016 1:05 pm

ipablo_gomez wrote:I have a problem, when i reboot raspberry pi don't start,
says "A start job is runnin for LSB: Raise network interfaces (time/no limit)
I have the same problem and I don't know how to solve it :(

ibrahimansari
Posts: 82
Joined: Sat Aug 16, 2014 8:22 am

Re: Access Point (AP) for TP-Link TL-WN725N V2

Mon Mar 21, 2016 1:37 pm

airlomba wrote:Hello all,

After a while, I spent the last couple of days reading a lost of posts on this and other forums, blogs and other webpages. And after several trials I finally got my Access Point up and running!
$ sudo apt-get update
$ sudo apt-get upgrade
$ uname -a
returned: Linux ADB-rpi3 3.10.25+ #622 PREEMPT Fri Jan 3 18:41:00 GMT 2014 armv6l GNU/Linux
Installation of the appropriate TP-LINK TL-WN725N V2 drivers
$ wget https://dl.dropboxusercontent.com/u/802 ... 219.tar.gz
$ tar -zxvf 8188eu-20131219.tar.gz
$ sudo install -p -m 644 8188eu.ko /lib/modules/$(uname -r)/kernel/drivers/net/wireless
$ sudo insmod /lib/modules/$(uname -r)/kernel/drivers/net/wireless/8188eu.ko
$ sudo depmod -a
$ lsmod
returned: 8188eu 665215 0
$ sudo reboot
$ ifconfig -a
returned: wlan0 Link encap:Ethernet HWaddr 10:nn:nn:nn:1d:55
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:97 erros:0 dropped:0 averruns:0 frame:0
TX packets:0 erros:0 dropped:0 averruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0B) TX bytes: 0 (0.0 B)
Installation of the Access Point tools:
$ sudo apt-get install udhcpd hostapd
$ sudo nano /etc/udhcpd.conf
start 192.168.2.10
stop 192.168.2.20
interface wlan0
remaining yes
opt dns 8.8.8.8 4.4.4.4
opt subnet 255.255.255.0
opt router 192.168.2.1
opt lease 864000
$ sudo nano /etc/default/udhcpd
changed line DHCPD_ENABLED="no" to #DHCPD_ENABLED="no"
$ sudo nano /etc/network/interfaces
auto lo
iface lo inet loopback
iface eth0 inet dhcp
auto wlan0
iface wlan0 inet static
address 192.168.2.1
netmask 255.255.255.0
$ sudo nano /etc/hostapd/hostapd.conf
interface=wlan0
driver=rtl871xdrv
ssid=MY-SSID
hw_mode=g
channel=6
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
wpa=2
wpa_passphrase=MY-PASSWORD
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP
$ sudo nano /etc/default/hostapd
changed line #DAEMON_CONF=""
to DAEMON_CONF="/etc/hostapd/hostapd.conf"
Replacing original hostapd with one that works on my Dongle
$ wget http://www.daveconroy.com/wp3/wp-conten ... ostapd.zip
$ unzip hostapd.zip
$ sudo mv /usr/sbin/hostapd /usr/sbin/hostapd.bak
$ sudo mv hostapd /usr/sbin/hostapd
$ sudo chmod 755 /usr/sbin/hostapd
Starting it all:
$ sudo service hostapd start
$ sudo service udhcpd start
Enabling hostapd and udhcpd to start at each Pi's boot:
Since the IP address mentioned in interfaces files wasn't assigned to wlan0 in every boot (bizarre), I had to come up with the following workaround. This, because without an IP assigned to wlan0, the DHCP deamon wouldn't start, thus the Pi wouldn't distribute an IP to any client willing to pair with your Pi.
$ sudo update-rc.d hostapd enable
$ sudo nano /etc/rc.local
sudo ifconfig wlan0 192.168.2.1
sudo service udhcpd start
$ sudo reboot
I hope this post can be of some help.

Best regards,
Emmanuel.
I used the built-in drivers in Raspbian Jessie. No more reinstalling drivers after every kernel update! Yaaaaaaaaay!
I is the master of Linux, Windows and the computer realms.
But always with a Pi(e). ;)

Sherlock123
Posts: 3
Joined: Sun Apr 03, 2016 10:51 am

Re: Access Point (AP) for TP-Link TL-WN725N V2

Sun Apr 03, 2016 11:50 am

Can you set password/WPA for this AP?
If I set password in hostapd.conf, I can't connect the AP, and it complains "password error".
By the way, where is your driver from?

I got my driver from here: viewtopic.php\?p=462982#p462982

ibrahimansari wrote:
airlomba wrote:Hello all,

After a while, I spent the last couple of days reading a lost of posts on this and other forums, blogs and other webpages. And after several trials I finally got my Access Point up and running!
$ sudo apt-get update
$ sudo apt-get upgrade
$ uname -a
returned: Linux ADB-rpi3 3.10.25+ #622 PREEMPT Fri Jan 3 18:41:00 GMT 2014 armv6l GNU/Linux
Installation of the appropriate TP-LINK TL-WN725N V2 drivers
$ wget https://dl.dropboxusercontent.com/u/802 ... 219.tar.gz
$ tar -zxvf 8188eu-20131219.tar.gz
$ sudo install -p -m 644 8188eu.ko /lib/modules/$(uname -r)/kernel/drivers/net/wireless
$ sudo insmod /lib/modules/$(uname -r)/kernel/drivers/net/wireless/8188eu.ko
$ sudo depmod -a
$ lsmod
returned: 8188eu 665215 0
$ sudo reboot
$ ifconfig -a
returned: wlan0 Link encap:Ethernet HWaddr 10:nn:nn:nn:1d:55
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:97 erros:0 dropped:0 averruns:0 frame:0
TX packets:0 erros:0 dropped:0 averruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0B) TX bytes: 0 (0.0 B)
Installation of the Access Point tools:
$ sudo apt-get install udhcpd hostapd
$ sudo nano /etc/udhcpd.conf
start 192.168.2.10
stop 192.168.2.20
interface wlan0
remaining yes
opt dns 8.8.8.8 4.4.4.4
opt subnet 255.255.255.0
opt router 192.168.2.1
opt lease 864000
$ sudo nano /etc/default/udhcpd
changed line DHCPD_ENABLED="no" to #DHCPD_ENABLED="no"
$ sudo nano /etc/network/interfaces
auto lo
iface lo inet loopback
iface eth0 inet dhcp
auto wlan0
iface wlan0 inet static
address 192.168.2.1
netmask 255.255.255.0
$ sudo nano /etc/hostapd/hostapd.conf
interface=wlan0
driver=rtl871xdrv
ssid=MY-SSID
hw_mode=g
channel=6
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
wpa=2
wpa_passphrase=MY-PASSWORD
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP
$ sudo nano /etc/default/hostapd
changed line #DAEMON_CONF=""
to DAEMON_CONF="/etc/hostapd/hostapd.conf"
Replacing original hostapd with one that works on my Dongle
$ wget http://www.daveconroy.com/wp3/wp-conten ... ostapd.zip
$ unzip hostapd.zip
$ sudo mv /usr/sbin/hostapd /usr/sbin/hostapd.bak
$ sudo mv hostapd /usr/sbin/hostapd
$ sudo chmod 755 /usr/sbin/hostapd
Starting it all:
$ sudo service hostapd start
$ sudo service udhcpd start
Enabling hostapd and udhcpd to start at each Pi's boot:
Since the IP address mentioned in interfaces files wasn't assigned to wlan0 in every boot (bizarre), I had to come up with the following workaround. This, because without an IP assigned to wlan0, the DHCP deamon wouldn't start, thus the Pi wouldn't distribute an IP to any client willing to pair with your Pi.
$ sudo update-rc.d hostapd enable
$ sudo nano /etc/rc.local
sudo ifconfig wlan0 192.168.2.1
sudo service udhcpd start
$ sudo reboot
I hope this post can be of some help.

Best regards,
Emmanuel.
I used the built-in drivers in Raspbian Jessie. No more reinstalling drivers after every kernel update! Yaaaaaaaaay!

ndariass
Posts: 1
Joined: Sun Oct 23, 2016 3:01 am

Re: Access Point (AP) for TP-Link TL-WN725N V2

Sat Apr 15, 2017 1:00 am

I had the same problem as @ipablo_gomez After disabling DHCP server the problem was solved. When connecting to the wifi AP, I have to set a valid IP address. My

Code: Select all

/etc/network/inerfaces
looks like this:

Code: Select all

iface eth0 inet manual

# WiFi AP
auto wlan0
iface wlan0 inet static
  address 192.168.42.1
  netmask 255.255.255.0

wewa
Posts: 63
Joined: Thu Aug 22, 2013 6:36 am
Location: Austria

(working) Raspbian Stretch: Access Point (AP) for TP-Link TL-WN725N V2

Sat Feb 09, 2019 1:16 pm

Hello,

I didn't get my TL-WN725N (RTL8188EUS) working on my raspberry. Does anyone know if this is still working on Raspbian stretch?

By the way: The provided links with the alternate hostapd are not working anymore, so i compiled it my self following this post: https://jenssegers.com/43/realtek-rtl81 ... spberry-pi. But I don't see my AP.

Best regards
wewa

UPDATE - 2019-02-10:
:D Yeah, I finally managed to create a working access point with the TL-WN725N.

It looks like the standard driver r8188eu for RTL8188EUS chipset from the package "firmware-realtek" is not working with hostapd on Raspbian Stretch. After lots of trial and error and using deprecated tutorials I found out, that hostapd is working with the driver from MrEngman. There is no patched hostapd necessary, simply update the driver for the wifi dongle. Here is what I did:
  1. First remove "firmware-realtek".

    Code: Select all

    sudo apt purge firmware-realtek
  2. Then install MrEngman's driver for the TL-WN725N. See this post for instructions: https://www.raspberrypi.org/forums/view ... =0#p462982 (many thanks to MrEngman)
  3. Afterwards follow this tutorial: https://www.raspberrypi.org/documentati ... s-point.md
  4. Voilà, the access should be working.
For completeness, here the facts about my Raspberry system:
  • HW: Rasbperry Pi 1 Mod. B
  • OS: Raspbian Stretch
  • uname -a: Linux raspberrypi 4.14.79+ #1159 Sun Nov 4 17:28:08 GMT 2018 armv6l GNU/Linux
  • wifi dongle: TL-WN725N, ID 0bda:8179 Realtek Semiconductor Corp. RTL8188EUS 802.11n Wireless Network Adapter

arunkumaraymuo
Posts: 34
Joined: Fri Feb 15, 2013 1:06 pm

Re: Access Point (AP) for TP-Link TL-WN725N V2

Mon Feb 25, 2019 1:18 pm

I am trying to create an access point for my compute module 3 board. But I can't download this file
wget https://dl.dropboxusercontent.com/u/802 ... 212.tar.gz

MrEngman
Posts: 3768
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: Access Point (AP) for TP-Link TL-WN725N V2

Mon Feb 25, 2019 4:13 pm

arunkumaraymuo wrote:
Mon Feb 25, 2019 1:18 pm
I am trying to create an access point for my compute module 3 board. But I can't download this file
wget https://dl.dropboxusercontent.com/u/802 ... 212.tar.gz
Take a look at http://downloads.fars-robotics.net/wifi ... u-drivers/ and download the file that matches the kernel version and build the output of command uname -a shows.
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

Return to “Beginners”