Vera host name

My home router identify the Vera 2 device by its MAC address.

Knowing that all other devices are identified by the “nickname” I gave them, how do I change the “nickname” (host name) of Vera ? I didn’t see anything in the Net & Wi-Fi tab of the advanced section, nor in the wiki.

Thanks

huogas,

This is from memory: I checked: the hostname is in a file /etc/config/system on the Vera. Use a text editor to change it.

But: this won’t make the network know to call it by that. The automatic propagation of hostnames that you describe is done with multicast DNS, something that IIRC is not installed on Vera.

To give your Vera a human-readable hostname you will need to have a DNS server running on your network. I bet your router has a rudimentary one built in.

Edit: you might instead be talking about the DHCP client ID. That’s in /etc/config/network. Add a “hostname” line to the wan section:

config 'interface' 'wan' option 'ifname' 'eth0:0' option 'proto' 'dhcp' option 'macaddr' 'xx:xx:xx:xx:xx:xx:' option 'hostname' 'my-vera'

(Though MiOS may try to overwrite this file. Try it and see.)

(Further edit: it may be the “clientid” option and not the “hostname” option. Try both.)

A bit less of a hack would be to log in to Mios at cp.mios.com
…the screen shows you your known systems and each has a link to rename them.

Same issue as previously stated, though.
This is not necessarily what your local LAN thinks they’re called.

AKB

Thanks, I will try your suggestions.

GH

After testing, I can say that it doesn’t seem possible to change the way Vera is displayed in my router interface.

Thanks for the suggestions,

GH

My router didn’t have any means to assign a name either. All I could do was set the static IP. It did show a name coming all on it’s own of MicasaVerde but trying to use that didn’t provide me any access locally on the LAN. I’m on Windows so I just edited my hosts file on my computer in C:\Windows\System32\drivers\etc\hosts and added a line in this format and saved the file.

<IP_of_vera><any_name_wanted_to_access_vera_by_here>

It doesn’t work using https://vera for example but it does using http://vera . It goes without saying you would want to set a static IP in your router for the Vera.

Unless you have a local DNS server, the above is about the only way to achieve this. I have hosts files on all my various boxes so I can access any of my boxes by name. I do have a DHCP server running which assigns ‘static’ IP addresses based on the MAC address and has an address range set for unknown devices.

[quote=“huogas, post:5, topic:173607”]After testing, I can say that it doesn’t seem possible to change the way Vera is displayed in my router interface.

Thanks for the suggestions,

GH[/quote]

Hello, while the posts regarding this topic is quite old, just want to mention that in my Vera3 adding option ‘hostname’ ‘myveraname’ in corresponding /etc/config/network file worked for me.
In my case, Vera is connected as a wlan DHCP client. The segment of my file is:

config ‘interface’ ‘wan’
option ‘proto’ ‘dhcp’
option ‘ifname’ ‘wlan0’
option ‘hostname’ ‘vera’
Now my router assign a permanent IP address (reserved through MAC address) with the name vera and is listed as such in dhcp connected clients.