Change hostname on NanoPi2
Posted: Thu Jan 21, 2016 5:29 pm
Hello,
I have a couple of NanoPi2's and I have been struggling to change the hostname of each in a way that will persist across reboots. This is a familiar problem to users across a lot of Linux distros over the years, and I think that I have tried all of the well known tricks to fix it.
I've used the hostname command, edited /etc/hostname, edited other .conf files, used various commands for older and newer init and startup setups - they either do nothing or just don't stick across reboot. I've messed around with my dhcp settings.
What magical words or acts will get the 'FreindlyARM' string out of my command prompt and de-confuse my DHCP server?
Thanks
I have a couple of NanoPi2's and I have been struggling to change the hostname of each in a way that will persist across reboots. This is a familiar problem to users across a lot of Linux distros over the years, and I think that I have tried all of the well known tricks to fix it.
I've used the hostname command, edited /etc/hostname, edited other .conf files, used various commands for older and newer init and startup setups - they either do nothing or just don't stick across reboot. I've messed around with my dhcp settings.
What magical words or acts will get the 'FreindlyARM' string out of my command prompt and de-confuse my DHCP server?
Thanks