You are not logged in.

#1 2010-11-25 18:01:44

MatrixP
Member
From: Germany
Registered: 2004-09-22
Posts: 21
Website

Network Problem: ping works, everything else not

Hi there,

i just installes arch64 to my new mashine.

And here is the problem.

I configured the network as explained in the installation guide with dhcp.

ping works fine, so i should be online (tested with ping www.google.de)

but wget and pacman is not working.

wget is only working if i use the ip address directly.

ok, in summary:

# ping www.google.de
PING www.1.google.com (209.85.149.103) 56(84) bytes of data.
works fine here as expected.

# wget www.google.de
Resolving www.google.de... failed: name or service not known.
wget: unable to resolve host addess: www.google.de

ha, isn't it weird, cause the ping is working? :-)

# wget 74.125.39.106
Connecting to 74.125.39.106:80 ... connected.
Downloading index.html and saved.

So this works as expected.

Anybody knows where the problem is? I tried since yesterday, and didn't find any solution.

I also tried to chroot into the installation, and there everything works fine :-/.

Where to start the search? Thanks in advance.

MatrixP

Offline

#2 2010-11-25 19:41:38

CountDuckula
Member
Registered: 2010-02-28
Posts: 151

Re: Network Problem: ping works, everything else not

You maybe missing DNS server entries in /etc/resolv.conf and file will should like this if you open it up,

nameserver xxx.xxx.xxx.xxx
nameserver xxx.xxx.xxx.xxx

xxx.xxx.xxx.xxx will be the ip address of your DNS servers - usually your ISP's ones.

If your are missing these, find out the ip address of at least one DNS server and add it into the resolv.conf file.

Offline

#3 2010-11-25 19:44:44

MatrixP
Member
From: Germany
Registered: 2004-09-22
Posts: 21
Website

Re: Network Problem: ping works, everything else not

oh, the resolv.conf file is working,

cause i have dnsmasq running and with 127.0.0.1 for dns caching,

then the router 192.168.0.1

and two dns of my provider

in this order. so this is not the problem. :-)

any other ideas? please, I can't install anything sad

Offline

#4 2010-11-25 20:30:44

thestinger
Package Maintainer (PM)
From: Toronto, Canada
Registered: 2010-01-23
Posts: 478

Re: Network Problem: ping works, everything else not

Can you post /etc/hosts, /etc/resolv.conf and the dnsmasq configuration? It might seem like it can't be the problem, but it probably is.

Offline

#5 2010-11-25 20:32:11

CountDuckula
Member
Registered: 2010-02-28
Posts: 151

Re: Network Problem: ping works, everything else not

Ah sorry, missed the fact that you could ping google.de sad

OK, have you tried to remove/reinstall wget?

Any other net apps that are acting strange?

Offline

#6 2010-11-25 20:34:51

MatrixP
Member
From: Germany
Registered: 2004-09-22
Posts: 21
Website

Re: Network Problem: ping works, everything else not

hi guys,

i think i solved it, the dnsmasq isn't configured corectly. So right now it is not running and pacman works via wget.

is the wiki about dnsmasq correct? maybe i should recheck the config files.

thanks all. great community and distro!

MatrixP

Offline

Board footer

Powered by FluxBB