Which wpad with D-Link DAP-X1860

Which wpad should I use for 802.11s Mesh with a D-Link DAP-X1860 (OpenWrt 23.05.2)

I am a beginner with mesh and have no idea what makes sense to use. I have installed a few opkg-programs already, mainly iperf. At the moment I have no idea which packages I would like to use else with this extender.

Maybe these packages make sense to install:

Is there enough space to install a full package? Which would you recommend?

https://openwrt.org/docs/guide-user/network/wifi/mesh/80211s

At the time of writing, one of the following versions of wpad is required:

wpad-mesh-openssl (stripped down version to save space)
wpad-openssl (the full large version)
wpad-mesh-wolfssl (stripped down version to save space)
wpad-wolfssl (the full large version)
wpad-mesh-mbedtls (stripped down version to save space)
wpad-mbedtls (the full large version)
Flash size 128 MiB
RAM 256 MiB

At the moment there is:

root@X1860-K1M:~# ubus call system board
{
	"kernel": "5.15.137",
	"hostname": "X1860-K1M",
	"system": "MediaTek MT7621 ver:1 eco:3",
	"model": "D-Link DAP-X1860 A1",
	"board_name": "dlink,dap-x1860-a1",
	"rootfs_type": "squashfs",
	"release": {
		"distribution": "OpenWrt",
		"version": "23.05.2",
		"revision": "r23630-842932a63d",
		"target": "ramips/mt7621",
		"description": "OpenWrt 23.05.2 r23630-842932a63d"
	}
}
root@X1860-K1M:~# df -HT
Filesystem           Type            Size      Used Available Use% Mounted on
/dev/root            squashfs        4.0M      4.0M         0 100% /rom
tmpfs                tmpfs         122.2M   1016.0K    121.2M   1% /tmp
/dev/ubi0_1          ubifs          81.9M      1.4M     76.2M   2% /overlay
overlayfs:/overlay   overlay        81.9M      1.4M     76.2M   2% /
tmpfs                tmpfs         512.0K         0    512.0K   0% /dev
root@X1860-K1M:~# free
              total        used        free      shared  buff/cache   available
Mem:         250340       52380      176356        1016       21604      162076
Swap:             0           0           0

I still have 16 MB devices at home and with these packages mentioned in the other thread I still have spare. (Kids these days :roll_eyes: :sweat_smile: when I got introduced to Openwrt, 4 MB flash were state of the art! Jokes a side, 128 MB is a shit lot of plenty of space. As long as you do not try to run nodes apps on it you should be more then fine. Just fiddle around.)

Ps: df -h gives you the allocated storage.

1 Like

Differences between the wpad-versions I found at:

and

So can I mix wpad-packages? Für devices with less memory

wpad-mbedtls (the full large version)

and for devices with 64MB memory and more

wpad-openssl (the full large version)

Ok, what is the minimum recommended space?

So is 16MB flash enough for wpad-openssl (the full large version) ?

https://openwrt.org/toh/netgear/ex6150
Flash MB: 16
RAM MB: 256

or

https://openwrt.org/toh/tp-link/archer_c7
Flash MB: 16
RAM MB: 128

These are my devices with "reduced" space.

Looks like openwrt doesn't know -H.

uhm, -H <> -h

I depends on the features you will use. I assume...

/* yes yes I know I should upgrade yadda yadda omg the nsa is gonna hack me */

root@cpe:~# opkg list-installed | grep wpa
wpad-openssl - 2020-06-08-5a8b3662-38
root@cpe:~#
root@cpe:~# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                 6.8M      6.8M         0 100% /rom
tmpfs                    60.3M    152.0K     60.1M   0% /tmp
/dev/mtdblock9            6.4M      1.6M      4.8M  25% /overlay
overlayfs:/overlay        6.4M      1.6M      4.8M  25% /
tmpfs                   512.0K         0    512.0K   0% /dev

I would still say even 16 MB is plenty of space.

With these 6.8 MB I even have freeradius3 running, and bird2 and batman-adv and ip-full and ip-bridge bla bla. :person_shrugging:

It's not that long a ago that the support of 4 MB devices was dropped. I think the current default is 8 MB for the base OpenWrt installation, and even there you have some head room left...

PS: What will clutter your ROM is using opkg to install packages after you have flashed. If you know what you will need its better to use the image-builder to tailor your firmware as-is. (Don't ask me about the details, but something about how the flash memory is allocated and you will loose some kB here and there.)

You can use ANY of these. Also it does not have to be the same on every meshnode.

As mbedtls is the current preferred choice for OpenWrt, go for wpad-mesh-mbedtls as it is the smallest version to support mesh.

If you install something fancy later that needs a full version, you know what to do!

Make sure you have read:

and

Then if after reading these you have any questions, start another thread to get help.

2 Likes