Hello. For reasons that are unimportant here I want to have a static ip address on my ubuntu box. Using my ******* box I found some advice that said I should remove the Network Manager which I have done, and remove dhcp3-client (think that's right) which I have also done. Now I cannot get the DNS side of things to work so I cannot access any web sites by name, not even my Apache stuff that I started to play with "http//localhost", it worked OK until I started to try to get the static ip address working. I can access Google etc if I enter the ip address http://209.85.227.147/ so I have web access of a sort. I am using Ubuntu 8.1 32 bit on a small home network with a router so all fairly normal.
Here is the putput from ifconfig
Here is the output from /etc/network/interfacesCode:eth0 Link encap:Ethernet HWaddr 00:0f:ea:ee:69:23 inet addr:192.168.0.11 Bcast:192.168.0.255 Mask:255.255.255.0 inet6 addr: fe80::20f:eaff:feee:6923/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:401 errors:0 dropped:0 overruns:0 frame:0 TX packets:216 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:80428 (80.4 KB) TX bytes:55531 (55.5 KB) Interrupt:18 Base address:0xc400 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:696 errors:0 dropped:0 overruns:0 frame:0 TX packets:696 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:60270 (60.2 KB) TX bytes:60270 (60.2 KB)
and the output from /etc/resolv.confCode:# The loopback interface auto lo iface lo inet loopback # The primary interface interface static auto eth0 iface eth0 inet static address 192.168.0.11 netmask 255.255.255.0 network 192.168.0.0 broadcast 192.168.0.255 gateway 192.168.0.1
Any ideas gratefully received !Code:nameserve 212.159.13.49 nameserve 212.159.13.50 nameserve 212.159.6.10
Neil R
Bookmarks