Onion-Console icon indicating copy to clipboard operation
Onion-Console copied to clipboard

wui doesn't change hostname properly

Open lexfrei opened this issue 7 years ago • 1 comments

Hello! Hostname line in web ui config doesn't change it properly. As you see, hostname on wwan interface not changed. It affects some case when DNS-server adds hosts automatically.

root@omega:/etc/config# cat ./* | grep hostname -C3
config interface 'wwan'
        option ifname 'apcli0'
        option proto 'dhcp'
	option hostname 'OnionOmega2'

config onion
	option version '0.2.0'
--
	option cronloglevel '8'
	option timezone 'MSK-3'
	option zonename 'Minsk'
	option hostname 'omega'

config timeserver 'ntp'
	option enabled '1'

lexfrei avatar Jun 06 '18 22:06 lexfrei

Seems fixed here https://github.com/OnionIoT/omega2-hostname-tool/commit/6d31ef0e8674e1f68f1f216fce060155161751e8

lexfrei avatar Jun 06 '18 22:06 lexfrei