Hostname not working with LEDE as WiFi client

I have a LEDE device (with hostname LEDE) connected to a router over WiFi, however the router and other clients can't see its hostname (ping LEDE fails). However if I connect directly to the device over the LAN port then I can access it as LEDE.lan.

I added the following to /etc/config/network:

config interface 'wwan'
        option proto 'dhcp'
        option hostname 'XLEDE'

and restarted, but ping XLEDE still fails over WiFi.

I looked around and noticed the process udhcpc does indeed have this hostname:

udhcpc -p /var/run/udhcpc-wlan0.pid -s /lib/netifd/dhcp.script -f -t 0 -i wlan0 -x hostname XLEDE -C -O 121

Apparently udhcpc takes the hostname in the format -x hostname:HOSTNAME so I don't know if the missing colon is the problem.

Any ideas?

From Web UI
System > System > General Settings > Hostname
Network > DHCP and DNS > Static Lease
Network > Hostnames

From File
https://wiki.openwrt.org/doc/howto/dhcp.dnsmasq
https://wiki.openwrt.org/doc/uci/dhcp

Thanks, but I don't want to set a static lease for this client. The hostname is already in System > System > General Settings > Hostname but it doesn't work from other clients on the same network.

It will only work on the other clients if you have a dynamic DNS server setup
and have your dhcp server set to update it with the hostname provided by the
client.

I haven't been watching this thread, is this LEDE server your DHCP/DNS server or
do you have something else on your network doing that job?

No, the LEDE device connects to a WiFi AP (not running LEDE).

I have other devices that register hostnames (Kindles, iPads, etc.) but I can't get my LEDE devices to show up.

Hello everyone, I'm facing the same problem.
My cpe510 v1.1 does not divulge the hostname to my Mikrotik omnitik, the registered wireless tab does not show the name of the 510, everything is blank.

Sorry, I'm using google translator