Quote:
Right I did manage to restrict the pool and I now have static IP working!
|
Good.
Quote:
The only further problem I had was that running netconfig in Slackware, it asked for the DNS address. When I ignored it I could connect to the Home hub but not the internet. I found a DNS address on the 'Internet' page of the Home Hub and I have my Internet connection.
{SNIP}
This evening I turned the PC on and I could see the router but not the Internet. Back on DHCP
|
Just "ignoring" things is generally a bad idea with linux.
Your BTHH should be managing DNS for you. You send DNS lookup requests to the BTHH, and it'll forward the request to BT's DNS Server(s), get the reply and send it back to your server-PC. This is good, because if BT re-assign the IP Nos. of their DNS servers (and they do, from time to time), your modem / router will take care of it for you, because when it connects to BT, it asks for the addresses of their DNS servers, and just forwards your requests to the correct (external BT) IP number.
So, if you are asked "Where is your DNS Server" Just reply with the
LAN IP.OF.MY.BTHH eg 198.162.1.1, or wherever it is now (I forget
)
If you'd prefer to do this manually (and I do) just put the following line in
/etc/resolv.conf
Code:
# The next line refers to the LAN IP of my modem / router
nameserver 198.162.1.1
Make sure all other PC's that need to access your server-pc have an entry for the server-pc's (now, hopefully, forever static) address in their own
/etc/hosts file like this:
Code:
# The next line is essential for the proper operation of linux
127.0.0.1 localhost
# Next is the Static IP, FDQN and shortname for your server
# The ".my.net" is arbitrary, choose anything, but be CONSISTENT!
192.168.1.128 server-pc.my.net server-pc
Give your server-pc its Static IP back, restart networking and all should be well and
stable. Hmmm. We
like.
At first, Networking can seem illogical and impenetrable and stupid, but there comes a time when you suddenly understand the basics, and everything just falls into place - "Ooooo Kaaaay, I can see it now, it's really logical and sensible and pretty damn clever and completely obvious really".
Your linux networking Zen moment is due soon
A windows networking Zen moment has yet to happen to me, and I got tired of waiting for it. So I just quit windows. But am still happy.
Persevere, you'll get there