I currently have two device running OpenWRT. The first one is acting as a wireless AP. The second device is in client mode and connected to first devices wireless network. For some reason the client device is not providing it's hostname. All I see is in LUCI is a question mark. If I connect other non-openwrt devices (laptop and phone) to the AP, the hostnames shows up. I can't figure out why the OpenWRT install on the client device is not providing it's hostname.
If the second OpenWrt box isn't a DHCP client of the first, you're not going to have an entry for it unless you add it yourself to either DNS or a MAC database of some sort.
/etc/ethers is one way to have it show up with "any" hostname you want on the machine that you enter the host's MAC address and hostname.
Does it actually make a DHCP request or it is configured with a static address?
Hostnames, both reporting to using when suggested by a DHCP server are completely optional. There's good security reasons not to trust a client, though it is convenient when a benign client announces themselves in a way that is easily recognized by a human.
The client device is not configured with a static LAN. Another question that came to mind, all the client devices on the network will be controlled. I had orginally planned to reference them by there hostname, which was going to be a unique ID assigned to that device. Do you think it would be better to use their MAC addresses as UIDs? I'm thinking that might be more reliable.