Welcome
|
FAQ
|
Downloads
|
Wiki
Tiny Core Linux
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Need an
Introduction
to Tiny Core? Or peruse
Core Concepts
.
Home
Help
Login
Register
Tiny Core Linux
»
Tiny Core Base
»
TCB Bugs
»
udhcpc does not update hosts file
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: udhcpc does not update hosts file (Read 2300 times)
khagberg
Newbie
Posts: 6
udhcpc does not update hosts file
«
on:
December 13, 2010, 11:02:49 AM »
When using udhcpc, i get my IP fine, question, should it update the hosts file. When I issue hostname -i it returns 127.0.0.1 which is what the hostname points to in the hosts file, it should return the actual IP.
Logged
gerald_clark
TinyCore Moderator
Hero Member
Posts: 4254
Re: udhcpc does not update hosts file
«
Reply #1 on:
December 13, 2010, 11:41:35 AM »
CentOS also has the hostname pointing to 127.0.0.1. in /etc/hosts.
This is common when using dhcp.
If you are using a static IP or a reserved dhcp address, edit /etc/hosts appropriately, and add etc/hosts to your .filetool.lst.
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Tiny Core Linux
»
Tiny Core Base
»
TCB Bugs
»
udhcpc does not update hosts file