Hi. I have just changed my system from static to dynamic network here. At the present my Linux is SuSE 7.2. I have commented all lines in the /etc/hosts file, but every time I after run SuSEconfig, the 127.0.0.2 appears every time. I have changed the network to dynamic using the Yast2. What can possible be the culprit here ?. TIA Erik Jakobsen
On Saturday 03 May 2003 14:25, eja@urbakken.dk wrote:
Hi.
I have just changed my system from static to dynamic network here.
At the present my Linux is SuSE 7.2. I have commented all lines in the /etc/hosts file, but every time I after run SuSEconfig, the 127.0.0.2 appears every time.
I have changed the network to dynamic using the Yast2.
What can possible be the culprit here ?.
127.0.0.1 and 127.0.0.2 are always pointing to localhost, it doesn't matter whether you're running dhcp or static addresses. 127.0.0.X are always static. So SuSEconfig puts them in there
127.0.0.1 and 127.0.0.2 are always pointing to localhost, it doesn't matter whether you're running dhcp or static addresses. 127.0.0.X are always static. So SuSEconfig puts them in there
Hi again Anders, and sorry for the reply from here got sent directly to you :-(( If I do an ifconfig, I can see, that the linux computer has the eth0 IP address set to 192.168.1.6, and looking into my router I can see, that this address is reserved. The other dynamic addresses are assigned to, not reserved. Hope ok ?. Erik Jakobsen. Erik Jakobsen
On Saturday 03 May 2003 14:59, eja@urbakken.dk wrote:
If I do an ifconfig, I can see, that the linux computer has the eth0 IP address set to 192.168.1.6, and looking into my router I can see, that this address is reserved. The other dynamic addresses are assigned to, not reserved. Hope ok ?.
Try forcing your hostname to be sent to the dhcp/dns server by editing /etc/sysconfig/network/dhcp and changing the variable DHCLIENT_HOSTNAME_OPTION="" to contain the name you want to use for your linux box. If you can ping the windows machines by name that probably means they're sending their hostnames to the dhcp server which updates the dns server. With the above variable, the linux box will do the same. Worth a try
/etc/sysconfig/network/dhcp and changing the variable
The file is not to be found in my SuSE 7.2 version
DHCLIENT_HOSTNAME_OPTION=""
I cannot find this under Administration using Yast1.
the above variable, the linux box will do the same. Worth a try
Would be nice, but what can I do when I cannot find the matter to change ? Erik Jakobsen
On Saturday 03 May 2003 15:22, eja@urbakken.dk wrote:
/etc/sysconfig/network/dhcp and changing the variable
The file is not to be found in my SuSE 7.2 version
Sorry, I misread that. I thought it said 8.2 :)
Would be nice, but what can I do when I cannot find the matter to change ?
I'm sorry, I don't remember how it was set in 7.2. It was probably somewhere in /etc/rc.config, or you can hard code it in the dhcpcd or dhclient startup in /etc/init.d/ but I don't have a 7.2 box around here to check.
On Saturday 03 May 2003 15:22, eja@urbakken.dk wrote:
/etc/sysconfig/network/dhcp and changing the variable
The file is not to be found in my SuSE 7.2 version
No. The /etc/sysconfig structure was introduced with 8.0 ...Look in /etc/rc.config and see if it has that option (or something similar)
DHCLIENT_HOSTNAME_OPTION=""
I cannot find this under Administration using Yast1.
It might be called something (slightly) different.
the above variable, the linux box will do the same. Worth a try
Would be nice, but what can I do when I cannot find the matter to change ?
try 'grep -i dhc /etc/*' something's *bound* to show up... ;) HTH Jon Clausen -- If we can't be free, at least we can be cheap!
participants (3)
-
Anders Johansson
-
eja@urbakken.dk
-
Jon Clausen