I eventually got round to setting up a LAMP server using Ubuntu 6.06 LTS (dapper drake) as the base, everything so far has gone astonishingly well for a first time Linux install apart from one niggling problem.. I have configured the networking settings as follows Code: auto eth0 iface eth0 inet static address 192.168.1.200 netmask 255.255.255.0 network 192.168.1.0 broadcast 192.168.1.255 gateway 192.168.1.1 but cannot download updates/packages from the net without pinging the IP address of the server first, basically without a ping i can't access any server....most bizarre and i cant figure it out so any suggestions would be good messing around in the command line has been instructive to say the least, I even managed to install webmin from it so I'm impressed with myself
Sounds like you have to set up your DNS server... Try putting "nameserver <IP>" in your /etc/resolv.conf
Yeah, for some reason on my 6.06, DHCP did not set up the DNS server correctly (my router acts as a DNS relay, so that should have been used, but it wasnt). If your router is the same, just put its IP into /etc/resolve.conf. If not, put your ISP nameserver(s) into it. Should work fine then. Just remember to change it if you ever change the network setup or move the machine to somewhere else.
thanks for the suggestion guys, I'll have a go at adding my router IP into /etc/resolve.conf to see if that cures it. splashtech on a side note whereabouts in Bournemouth are you? I'm just down the road in sunny Christchurch