This has been asked before, but i can't find a suitable answer.
Case:
I have multiple pc's which run on Porteus, to recognize them in the network i want to set a custom hostname.
I tried:
I tried editing /etc/rc.d/rc.local and /etc/rc.d/rc4.d/S-startup-script.sh, booting with cliexec=hostname~desktop1.
What i get:
It seems the hostname is set on tty's but when i'm on the desktop and run hostname, i get Porteus.
Am i missing something obvious here?
I also read about changing initrd but that seems a bit excessive to do for multiple pc's
[solved] Changing the hostname
- derixithy
- White ninja
- Posts: 10
- Joined: 27 Mar 2015, 00:49
- Distribution: Mostyl debian/ubuntu based
- Location: Netherlands
[solved] Changing the hostname
Last edited by derixithy on 20 Oct 2015, 15:49, edited 1 time in total.
My Portable Apps: http://appcdn.usershare.nl
My Porteus Modules: http://porteus.usershare.nl
My Porteus Modules: http://porteus.usershare.nl
- fanthom
- Moderator Team
- Posts: 5666
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
Re: Changing the hostname
Hello derixithy,
Hostname is handled also by Network Manager. Try commenting this function out in /etc/NetworkManager/NetworkManager.conf so cliexec chatcode can handle it instead.
Hostname is handled also by Network Manager. Try commenting this function out in /etc/NetworkManager/NetworkManager.conf so cliexec chatcode can handle it instead.
Please add [Solved] to your thread title if the solution was found.
- derixithy
- White ninja
- Posts: 10
- Joined: 27 Mar 2015, 00:49
- Distribution: Mostyl debian/ubuntu based
- Location: Netherlands
Re: [solved] Changing the hostname
Thanks that did the trick.
My Portable Apps: http://appcdn.usershare.nl
My Porteus Modules: http://porteus.usershare.nl
My Porteus Modules: http://porteus.usershare.nl