Method 1. api

uci set  system.@system[0].hostname=Arduino12345
uci commit system
hostname Arduino12345
/etc/init.d/avahi-daemon restart

Method 2. modify config file

nano /etc/config/system
...
option hostname 'Arduino'
...
reboot