This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

hostname
#6
What Daniel posted will work but you will have to reboot for hostname to change. You should also write to hostname file in order to change it right away:
Code:
io.writefile('/proc/sys/kernel/hostname', 'myhostname')
Reply


Messages In This Thread
hostname - by domotiqa - 24.08.2017, 16:07
RE: hostname - by admin - 24.08.2017, 17:37
RE: hostname - by domotiqa - 25.08.2017, 12:28
RE: hostname - by pepe - 14.05.2020, 07:41
RE: hostname - by Daniel - 14.05.2020, 07:52
RE: hostname - by pepe - 14.05.2020, 09:26
RE: hostname - by pepe - 14.05.2020, 09:42
RE: hostname - by admin - 14.05.2020, 07:55
RE: hostname - by Daniel - 14.05.2020, 09:40
RE: hostname - by admin - 14.05.2020, 09:42

Forum Jump: