I have been running DHCP on a Suse 9.2 box behind our router at work. I set the router to give a limited DHCP range of IP addresses, mainly for visiting laptops etc. Everything was running fine. As our network is fixed IP for all Windoze PC's and I wanted to try using the Suse PC as a server I decided to reset it to a spare static IP.
I did this through Yast, only to find that my internet connection had now disappeared.
The network browsing was OK and I could still see my router configuration.
I watched the detail screen during the bootup, and saw that I had two IP addresses, the new static address, 192.168.0.100, and the old 192.168.0.150 DHCP address. Spent ages looking through the postings and with quite a lot of manual tweaking of the config files, got the internet back. So here I am talking to you.
When I try to use Samba, I find I get error messages about the Host 192.168.0.150 - but where did that come from? So I ran a search for the text string "192.168.0.150" in all files, and apart from the log files where it appears often, I found this in "dhcpcd-eth0.info":
IPADDR=192.168.0.150
NETMASK=255.255.255.0
NETWORK=192.168.0.0
BROADCAST=192.168.0.255
GATEWAY=192.168.0.1
DNS=192.168.0.1
DHCPSID=192.168.0.1
DHCPGIADDR=0.0.0.0
DHCPSIADDR=192.168.0.1
DHCPCHADDR=00:40:95:30

8:56
DHCPSHADDR=00:04:ED:1E:0A:C5
DHCPSNAME=''
LEASETIME=86400
RENEWALTIME=43200
REBINDTIME=75600
INTERFACE='eth0'
CLASSID='Linux 2.6.8-24.16-default i686'
CLIENTID=00:40:95:30

8:56
Does this mean that allthough I have setup a static address that this file is also being used?
Can I erase the contents of this file, or at least rem them out?
Or is there a way of turning off the use of this file?
And finally, why didn't Yast do this all for me?
I realise that it was probably something stupid that I have done, but I would like to move on with my Linux experience without having to re-install as often as I have done with Windoze.
Thanks, Ross