Mailinglist Archive: opensuse (4417 mails)
| < Previous | Next > |
Setting up hosts file
- From: Örn Hansen <orn.hansen@xxxxxxxxxx>
- Date: Sat, 1 Nov 2003 16:04:04 +0100
- Message-id: <200311011604.06145.orn.hansen@xxxxxxxxxx>
Hi all,
I just got my new SuSE 9.0 yesterday and must say I am pleased with the
results. Overall the system is brilliant.
Now to the real issue, I got the following line in my /etc/hosts:
127.0.0.2 machine.domain.name machine
I got this cheap broadband router, with dhcp and a minimal nat firewall. It
doesn't provide any communication about name, etc. Only leases IP addresses
in its range. Now, I've setup SUSE to have the specific machine.domain.name
and that it should not modify this name based on the dhcp. Because if it
does, it's simply get local.localhost as the name. The true IP address it
gets is 192.168.0.x but SUSE always sets it up as above, with the second lo
ip address. Anyone know how to get suse to set the IP/NAME correctly in the
hosts file?
I just got my new SuSE 9.0 yesterday and must say I am pleased with the
results. Overall the system is brilliant.
Now to the real issue, I got the following line in my /etc/hosts:
127.0.0.2 machine.domain.name machine
I got this cheap broadband router, with dhcp and a minimal nat firewall. It
doesn't provide any communication about name, etc. Only leases IP addresses
in its range. Now, I've setup SUSE to have the specific machine.domain.name
and that it should not modify this name based on the dhcp. Because if it
does, it's simply get local.localhost as the name. The true IP address it
gets is 192.168.0.x but SUSE always sets it up as above, with the second lo
ip address. Anyone know how to get suse to set the IP/NAME correctly in the
hosts file?
| < Previous | Next > |