Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: skeptical lizard on January 25, 2020, 05:36:48 AM

Title: Setting TCL to being recognisable by name in network
Post by: skeptical lizard on January 25, 2020, 05:36:48 AM
Hi, I am going to set CUPS server on my little old thin client. Everything is fine, but I would like to connect to it by its' hostname. However, it's name is not being resolved by router, I am able to connect to it by IP adress thought. When I enter my router's admin panel, I see list of connected devices with their names and IP adresses, except my TCL computer, which has only IP adress. It is a bug, or I should set something?
Cheers
Title: Re: Setting TCL to being recognisable by name in network
Post by: Rich on January 29, 2020, 10:25:28 AM
Hi skeptical lizard
By default Tinycore connects using the  /etc/init.d/dhcp.sh  script when it starts up. One of the parameters it passes to the router
is the  hostname  of your machine. You probably also need to use the  host  boot code:
Code: [Select]
host=YourName
If you are using the  nodhcp  boot code and setting up a static IP, I'm not sure how to do that. I tried setting up a fixed IP address
with a host name but my router would not cooperate.