Tiny Core Base > TCB Q&A Forum

Cannot ping to tinycore by hostname

(1/4) > >>

bitsnbytes:
I booted off a live cd and installed to hard drive using the instructions here . The install went through perfect and I'm able to boot via hard disc now. I also added the boot option to menu.lst to change the hostname from the default 'box'

--- Code: ---kernel /boot/bzImage quiet host=tinycorepc

--- End code ---

However, I cannot ping from an external system using the hostname but I can ping using the ip address :(
If I ping on the tinycore system itself it gives me the output below


--- Code: ---ping tinycorepc
PING tinycorepc (127.0.0.1): 56 data bytes
64 bytes from 127.0.0.1: seq=0 ttl=64 time=0.074ms

--- End code ---

The resolved ip is different to the one assigned by the dhcp server (192.168.1.32 and I ping using this ip). What do I change so I can ping via hostname, I'm sure it must be something simple, but I'm not so proficient in linux :(

curaga:
That's completely normal behavior? Windows pc's can scan each other, and some combined dns/dhcp servers add the hostname to dns, but most don't.

gerald_clark:
You need a local name server and a dhcp server that updates it.
Your other option is to put all machines in the hosts file on each machine.

tinypoodle:

--- Quote from: bitsnbytes on April 28, 2011, 03:09:40 PM ---
--- Code: ---ping tinycorepc
PING tinycorepc (127.0.0.1): 56 data bytes
64 bytes from 127.0.0.1: seq=0 ttl=64 time=0.074ms

--- End code ---

--- End quote ---

That's ping'ing a local loopback   ;)

bitsnbytes:
So does it mean that this is not possible?  ???

Navigation

[0] Message Index

[#] Next page

Go to full version