You are not logged in.

#1 2007-11-23 11:48:04

Skittles
Member
From: Bochum (Ger)
Registered: 2007-07-21
Posts: 36

Network-profiles (1) and /etc/hosts

Hi everyone,

i've got a few network-profiles, especially in one network I have to use a static ip to connect to the internet. The only entry in the /etc/hosts which works correctly - without any error messages - for me, is

192.168.0.99 localhost.localdomain myhost

If I use something like 127.0.0.1 in front and simply add my hostname at the end, I can't connect with the Inet, unfortunately. I did not test it, but I'm pretty sure, that this host configuration won't work in any other network, where I get a dynamic IP from the DHCP. Is there a possibility to write the content of the /etc/hosts with netcfg, like the /etc/resolv.conf for example?

MfG Skit

Offline

Board footer

Powered by FluxBB