Only change that one item.
I’ve done this sort of thing in the past.
Everything else stayed.
Some updates in the past have messed up my nic assignment. So ran setup and fixed it quick.
It was the ONE setting in domain so it was fastly done.
WhoIsOnline still thinks I use the old stuff, even now a couple of hours later… so I disabled that one for a while as well… it is set to check every 5 minutes but maybe that is only a keepalive, not a “connection refresh”. Ah well…
Edited to correct typo from .var to var
WIO uses the domain name from the file /var/ipfire/main/settings
Check what that file is saying on your system.
After running the setup program and changing the domain name did you reboot IPFire.
It might be that the main/settings file does not get updated except at bootup.
Check the file again after reboot, if you didn’t reboot before,to see what the domain name value is.
For the FQDN, did you update your WUI Hosts page as that has the domain manually listed for each hostname.
Also worth checking that the domain name on the WUI dhcp page has updated itself.
If you use OpenVPN and you use your domain name rather than the IP for your “Local VPN Hostname/IP:” entry then you will probably need to manually update that as well.
I wish. I have made my fair share of errors. An off day, or using a small telephone screen for replies etc.
With your file showing the correct domain name then I don’t understand why WIO still shows the old one.
When I looked through the code yesterday it seemed that WIO just gets that info from that file. There doesn’t seem to be any local WIO file storing the status.
When I can get the time, I will try and setup a vm IPFire with WIO installed and try changing the domain name and see if I can reproduce what you have found.
If yes, then I will try and track down what is happening.
I will feedback what I find when I have tried it out.
It might be worth trying to re-install WIO to see if that fixes it for you. It certainly won’t hurt.
Done a bit of reading of the code and for the client hostnames they are obtained when you import the clients and therefore if the domain name is changed you will need to re-import the clients.
It looks like if you select Show Table from the Import client(s) from: line then you get offered to import the client info from Hosts configuration (var/ipfire/main/hosts)? and this will then import the info from the hosts file and should update all your clients with the updated domain name in the Hosts WUI page.
So I understand the client hostname needing to be updated on the WIO clients list but still don’t understand the LAN Hostname not being updated as that looks to be obtained from the earlier filename I typo’d.
I reinstalled WIO, it did not go 100% smooth, but after a couple of refresh’s it landed in place again. I did reboot before installing it again.
However, I did not check the SCAN functionality of WIO before resorting to uninstall.
It is perfectly possible that was the original source, and when I import via SCAN the BLUE and /or GREEN networks it does pick the FQDN of the devices.
So maybe that was it? it only picks FQDN when scanning?
It does actually pick FQDN from ARP import as well, but there you have to do one client at a time.
I know, but I did not want to restore a backup, I wanted to start from scratch. It was the installation in itself that had a small hickup with a timeout and something else I did not make a note of.
Hi @sec-con
Sorry for the delay in testing this out but I had some non IPFire related stuff occupying my time.
I set up the vm and ran setup from the ssh console and changed the domain name from my usual one to pluto.disney.org
Immediately after quitting from the setup program and without doing a reboot, the domain name was changed in the /var/ipfire/main/settings file and refreshing WIO immediately showed the updated FQDN for my red connection.
So I did not have the same issue you experienced of the old FQDN showing for the LAN Hostname in WIO. It was immediately changed on my system. I don’t understand what happened when it occurred for you.