tvlad Posted April 9, 2003 Report Share Posted April 9, 2003 I modified /etc/sysconfig/network to change my hostname.It works, but when i start kde, just before entering graphic mode it tells me : host name lookup failure. So, what other files shoud i modify,in order to get rid of that warning. Quote Link to comment Share on other sites More sharing options...
aru Posted April 9, 2003 Report Share Posted April 9, 2003 did you edit your /etc/host to reflect your new hostname? Otherwise the apps wont identify your ip with your hostname: ie, lets supose that your new hostname is foo.bar.com its LAN IP is 192.168.0.1, then your /etc/hosts should look like: 127.0.0.1 localhost.localdomain localhost 192.168.0.1 foo.bar.com foo If you don't have a LAN IP, this will work: 127.0.0.1 localhost.localdomain localhost 127.0.0.1 foo.bar.com foo ofcourse run: service network restart HTH Quote Link to comment Share on other sites More sharing options...
tvlad Posted April 10, 2003 Author Report Share Posted April 10, 2003 The thought did cross my mind, but when i checked /etc/hosts it only had this line : 127.0.0.1 localhost So i thought that if i didn't find a line with my ip address and the hostname, i shouldn't have to add one. :D Quote Link to comment Share on other sites More sharing options...
Guest Daniel Posted April 11, 2003 Report Share Posted April 11, 2003 you should vi /etc/hosts add the ip and your hostname in the file. Quote Link to comment Share on other sites More sharing options...
tvlad Posted April 11, 2003 Author Report Share Posted April 11, 2003 Ofcourse, i just wanted to say that i did think of that, but at that time i thought it wasn't neccesary. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.