I'm trying to set networking up on my debian-system.
The thing is that I can ping all IP-numbers; both on the LAN and on the internet, but hostnames does not work, (as long as they aren't in /etc/hosts)
I have set up my /etc/resolv.conf as it should be:
---
# Insert nameservers here
nameserver 192.168.0.1
---
ifconfig gives me the following output:
==========================
eth0 Link encap:Ethernet HWaddr 00:00:94:A9:33:77
inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:421 errors:1 dropped:0 overruns:0 frame:0
TX packets:293 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:38900 (37.9 KiB) TX bytes:38135 (37.2 KiB)
Interrupt:11 Base address:0xe800
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:16 errors:0 dropped:0 overruns:0 frame:0
TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1108 (1.0 KiB) TX bytes:1108 (1.0 KiB)
I hope someone can help me here, I'm going nuts after 5 hours of searching on google.
Regards, Peter Larsson!