First of all, if You're interested enough then scroll down to bottom of this post for the "not-so-important-background-information".
My problem seems to be some sort of "application layer name resolving problem". I can ping and connect (eg. using Firefox) to hosts using IP numbers, but all connection attempts using domain names end up with timeout.
Although ping and FF fail to resolve domain names, host and nslookup commands work just fine. And as I said, pinging hosts with IP numbers work.
At the moment I'm running Ubuntu 8.04 Desktop Live from CD.
EDIT: I've also tried installing Windows XP on the same computer and it works just fine, no problems at all.
My configuration with some comments:
Code:
ubuntu@ubuntu:~$ lspci | grep Ethernet
00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 PCI Fast Ethernet (rev 90)
00:09.0 Ethernet controller: 3Com Corporation 3c905B 100BaseTX [Cyclone] (rev 30)
I'm using SiS as eth0, I've also tried 3Com and that made no difference.
Code:
ubuntu@ubuntu:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:0b:6a:b0:35:16
inet addr:192.168.0.108 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::20b:6aff:feb0:3516/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:189 errors:0 dropped:0 overruns:0 frame:0
TX packets:225 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:215034 (209.9 KB) TX bytes:33416 (32.6 KB)
Interrupt:16 Base address:0xd400
eth1 Link encap:Ethernet HWaddr 00:50:da:5c:12:eb
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:17 Base address:0xf80
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:7870 errors:0 dropped:0 overruns:0 frame:0
TX packets:7870 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:393500 (384.2 KB) TX bytes:393500 (384.2 KB)
At the moment eth0 is connected to a D-Link switch, where it gets the 192.168.x.x address. I've also tried connecting eth0 straight to cable modem's interface, but problems were exactly the same.
Code:
ubuntu@ubuntu:~$ more /etc/resolv.conf
### BEGIN INFO
#
# Modified_by: NetworkManager
# Process: /usr/bin/NetworkManager
# Process_id: 7804
#
### END INFO
search cable.inet.fi
nameserver 193.210.19.19
nameserver 192.168.0.1
ubuntu@ubuntu:~$ more /etc/nsswitch.conf
# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.
passwd: compat
group: compat
shadow: compat
hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4
networks: files
protocols: db files
services: db files
ethers: db files
rpc: db files
netgroup: nis
ubuntu@ubuntu:~$ more /etc/hosts
127.0.0.1 localhost
127.0.1.1 ubuntu
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
And here are the results:
Code:
ubuntu@ubuntu:~$ host www.sonera.fi
www.sonera.fi has address 194.251.244.241
ubuntu@ubuntu:~$ nslookup www.sonera.fi
Server: 193.210.19.19
Address: 193.210.19.19#53
Non-authoritative answer:
Name: www.sonera.fi
Address: 194.251.244.241
ubuntu@ubuntu:~$ ping www.sonera.fi
ubuntu@ubuntu:~$
Above, I interrupted the ping command with CTRL-C after about five minutes.
And the background information:
I upgraded my cable modem internet connection and I had to get a new modem. Old one was Thomson TCW710 and the new one is Linksys (Cisco) WCM300-EU (don't know if this makes any difference).
After the upgrade my Ubuntu 7.10 server couldn't resolve any domain names. I'd been planning to upgrade to 8.04 and decided to do that, hoping that I could get rid of the problems.
Well, that didn't work. I can't install 8.04 server (or desktop) because the installer hangs at "Configuring APT - Scanning the mirror". Same thing with 7.10 and 7.04.