goalmarketing / vigor2130

Automatically exported from code.google.com/p/vigor2130
0 stars 0 forks source link

Hostname -> http://ipbindmac0.lan/ #15

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Why is the hostname overridden when using bind ip to mac also when a specific 
hostname is set in the client machine?

Original issue reported on code.google.com by johannes...@gmail.com on 8 Apr 2011 at 2:29

GoogleCodeExporter commented 8 years ago
Can you describe more detail about your operation steps and error message ?

Original comment by jht...@gmail.com on 13 Apr 2011 at 1:57

GoogleCodeExporter commented 8 years ago
Isn't this a DHCP client feature to override hostname/domainname ? I guess if 
you want to preserve hostname/domainname you need to re-configure your dhcp 
client to do so.

Original comment by marcin.d...@slonko.net on 19 Apr 2011 at 7:20

GoogleCodeExporter commented 8 years ago
Yes. The currnet design. DHCP client name is the same as router hostname.
Also can re-configure in syslog page.

Original comment by jht...@gmail.com on 20 Apr 2011 at 2:42

GoogleCodeExporter commented 8 years ago
Same here. It wasn't like this in the past. It's confusing. I just Want my 
Computer name shown and not this abstract ipbindmacX

Original comment by 2poin...@gmail.com on 21 Jul 2011 at 6:33

GoogleCodeExporter commented 8 years ago
This issue have been fixed.
You can upgrade the beta firmware in issue 34.
(http://code.google.com/p/vigor2130/issues/detail?id=34#c8)
And then click 'OK' in WUI (LAN >> Bind IP to MAC) to apply the fix.

Original comment by vincent....@gmail.com on 22 Jul 2011 at 2:15

GoogleCodeExporter commented 8 years ago
I have found an alternative solution to this:

* login via ssh
* do `uci export > dump`
* edit the config with `vim dump`, look for the name lines under: config 'host' 
'h*'
* import the modified config; `uci import < dump`
* commit changes (just to be sure) `uci commit`
* reboot the device

This worked for me, the correct hostname is returned after refreshing the dhcp 
lease

Original comment by Sjon.Hor...@gmail.com on 8 Apr 2012 at 10:42

GoogleCodeExporter commented 8 years ago
@Sjon, Your solution worked great

Original comment by 2poin...@gmail.com on 9 Apr 2012 at 9:21