You are not logged in.

#1 2009-06-09 09:15:11

Tg
Member
Registered: 2008-04-23
Posts: 35

The host name cannot be resolve ? ( with linksys router )

Hi all, I have some problem with setting up a network. I tried to set my network according to http://wiki.archlinux.org/index.php/Configuring_network   the network/internet is fine except the host name with "http://" cannot be resolve. For example

ping 216.239.61.104
ping www.gogle.com

both work fine, until I try,

ping http://www.google.com

it give me error, tell me that the hostname cannot be resolved. I tried to config my network using both dhcp or fix-ip, but the problem still present in both way. Internet works fine in windows/ubuntu.

Anyboy has any clue ?  The router I use is wrt54gl with tomato firmware.

thanks in advance.

Offline

#2 2009-06-09 09:33:41

kowalski
Member
Registered: 2009-05-07
Posts: 82

Re: The host name cannot be resolve ? ( with linksys router )

Hi,

if pinging www.google.com works then dns resolving _does_ work. Why would you want to ping http://something?
You should try opening http://whatever in a browser not pinging it from command line.

Or am I missing something obvious?


He who says A doesn't have to say B. He can also recognize that A was false.

Offline

#3 2009-06-09 11:04:40

Tg
Member
Registered: 2008-04-23
Posts: 35

Re: The host name cannot be resolve ? ( with linksys router )

kowalski wrote:

Hi,

if pinging www.google.com works then dns resolving _does_ work. Why would you want to ping http://something?
You should try opening http://whatever in a browser not pinging it from command line.

Or am I missing something obvious?

Yes, for instance, all mirror list for pacman is in "http://...." or "ftp://...." form. I could easily change the repository list, but I'm not sure if it'll have same problem in future with other program.  Also, if it work in ubuntu and windows, why not arch.

Offline

#4 2009-06-09 11:49:30

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: The host name cannot be resolve ? ( with linksys router )

Don't worry, you don't have to do anything. http://* is only important/supposed to specify the protocol used, and not part of the hostname. Pinging http://* never works, ping uses ICMP not http.

Offline

#5 2009-06-09 16:41:34

rine
Member
From: Germany
Registered: 2008-03-04
Posts: 217

Re: The host name cannot be resolve ? ( with linksys router )

Tg wrote:

...Also, if it work in ubuntu and windows, why not arch.

I doubt that. Actually, I have a Windows machine here. Doesn't work.

Offline

#6 2009-06-09 17:38:07

Tg
Member
Registered: 2008-04-23
Posts: 35

Re: The host name cannot be resolve ? ( with linksys router )

hokasch wrote:

Don't worry, you don't have to do anything. http://* is only important/supposed to specify the protocol used, and not part of the hostname. Pinging http://* never works, ping uses ICMP not http.

That's new to me ( As you can see, I'm noob about networking )

thanks, I'll try it.

Offline

#7 2009-06-10 10:09:30

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: The host name cannot be resolve ? ( with linksys router )

Oh, nevermind, was new to me too.
Tried it on my installation, didn't work, googled ping "www.google.com" "http://www.google.com" and came up with two posts explaining why it did not work.

Offline

#8 2010-09-30 13:53:08

Hoody_K
Member
Registered: 2010-09-25
Posts: 4

Re: The host name cannot be resolve ? ( with linksys router )

Hello there, i up this topic for avoid open new (tell me if I must), because i've kind of same trouble. Where i live, i go easily on internet, with wifi keyed by WEP. Here at work, i can't: it's crypted by WPA2, with WICD I find the network, i do the keypass and I'm connected, with 192.168.1.37 (ireland) ...but when I try to go on the net with a navigator that don't working : "cannot resolve hostname" or "curl error: couldn't resolve host name", if I do "yaourt -S xfce4",  but that work.  Just repo.archlinux.from don't work, but is the only on http. So it's a problem with HTTP. Raah, i don't understand, i try so many things.

Offline

#9 2010-10-01 17:07:04

Hoody_K
Member
Registered: 2010-09-25
Posts: 4

Re: The host name cannot be resolve ? ( with linksys router )

Hello there,
i haven't totally fix my trouble, but now HTTP work when i change the DNS, by 8.8.8.4 or 8.8.8.8 (google DNS) or 80.67.169.12 or 80.67.169.40 (FDN DNS -- http://www.fdn.fr/ french data network (more free as in freedom) ).

Maybe it's a problem of a static IP...

Last edited by Hoody_K (2010-10-01 17:07:34)

Offline

Board footer

Powered by FluxBB