TP-LINK TL-WR841ND OpenWrt as repeater for MSCHAPv2 Wifi

Hi there,

I'm sitting here with a friend at the openWrt installation on his new TP-LINK router. We took the firmware from this page: https://openwrt.org/de/toh/tp-link/tl-wr841nd and could successfully install. That was easy going like in the description. This is the status now:

  • Model: TP-Link TL-WR841N/ND v10
  • Architecture: Qualcomm Atheros QCA9533 ver 2 rev 0
  • Firmware Version: OpenWrt 18.06.8 r7989-82fbd85747 / LuCI openwrt-18.06 branch (git-20.029.49294-41e2258)
  • Kernel Version: 4.9.214

Now the problem is that my friend wants to connect to wifi network that requires username and password and use the router as repeater. The target wifi uses

  • EAP-Method: EAP-TTLS
  • Authentification Method: MSCHAPv2

How can we configure openWrt to connect to this wifi and then repeat as a new wifi for us?

On a german forum it was written that we need to replace 'wpad-mini' by 'wpad'. Is that right? How to do that? Where can we download the right wpad?

Thanks in advance everybody!

This device only has 4 MB of flash memory, please consider replacing it.

Install wpad with LuCI:

System->Software
Update lists
Installed packages -> wpad-mini -> Remove
Available packages -> wpad -> Install

or on the shell:

opkg update
opkg remove wpad-mini
opkg install wpad 

I cannot help with MSCHAPv2, you might find some documentation on the wiki.

Set up the device as a repeater:
https://openwrt.org/docs/guide-user/network/wifi/relay_configuration

Note that the latest OpenWrt release is 19.07.2, but no image was built for this device, presumably because it has run out of flash space. The same can happen when you try to install wpad.
It might be possible to save some space by building a custom firmware image with the imagebuilder, leaving out unneeded packages.

1 Like

Like @mpa said, there isn't space for a run-time replacement. To use this model (not recommended) you'll need to use Image Builder to make an image with the full wpad. Also you'll probably need to remove some packages like ipv6, ppp, and maybe even LuCI.

Thanks a lot for your replies. I will try to build a custom image with Image Builder. Never done this before, so I hope I that it will work out.

I looked a little bit through the packages. I hope that it would work without removing LuCI - if I understand correctly, that's the web interface, right??

Do you think it would be enough (and safe) to remove only pppoe, ipv6 and opkg?