You are not logged in.

#1 2011-12-03 08:51:30

jarl-haggerty
Member
Registered: 2011-12-03
Posts: 13

I can ping, but I can't browse the web

I decided to try out Arch after having used ubuntu for a while, and things seemed to be going fine until I tried to get an AUR package with wget.  I tried pinging aur.archlinux.org and had no problems with that and then I started searching the web.  Eventually I found that wget works with the -4 option.  I could live with that but when I tried to browse the web I found that I couldn't view any web pages.  In fact, it seems like the only internet related tool that I'm not having trouble with is ping, while wget, curl, firefox, and host are all broken unless they have a -4 option I can use.

Here's a sample terminal session where I ping, try wget, then wget -4.

[jarl@jarl ~]$ ping -c 3 www.google.com
PING www.l.google.com (74.125.224.112) 56(84) bytes of data.
64 bytes from nuq04s08-in-f16.1e100.net (74.125.224.112): icmp_req=1 ttl=56 time=64.4 ms
64 bytes from nuq04s08-in-f16.1e100.net (74.125.224.112): icmp_req=2 ttl=56 time=60.9 ms
64 bytes from nuq04s08-in-f16.1e100.net (74.125.224.112): icmp_req=3 ttl=56 time=60.6 ms

--- www.l.google.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 60.644/62.020/64.496/1.777 ms
[jarl@jarl ~]$ wget www.google.com
--2011-12-03 01:31:05--  http://www.google.com/
Resolving www.google.com... failed: Name or service not known.
wget: unable to resolve host address `www.google.com'
[jarl@jarl ~]$ wget -4 www.google.com
--2011-12-03 01:31:09--  http://www.google.com/
Resolving www.google.com... 74.125.224.112, 74.125.224.113, 74.125.224.114, ...
Connecting to www.google.com|74.125.224.112|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `index.html'

    [ <=>                                   ] 10,739      --.-K/s   in 0.07s   

2011-12-03 01:31:09 (158 KB/s) - `index.html' saved [10739]

Offline

#2 2011-12-03 08:54:12

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: I can ping, but I can't browse the web

What IPv4 / v6 settings are you using? Have you disabled autoloading of ipv6 module? https://wiki.archlinux.org/index.php/Disabling_IPv6

Last edited by karol (2011-12-03 08:55:10)

Offline

#3 2011-12-03 19:54:58

jarl-haggerty
Member
Registered: 2011-12-03
Posts: 13

Re: I can ping, but I can't browse the web

That fixed the problem, thanks.

[edit]

Actually my problem isn't quite fixed yet.  I can use epiphany and firefox but wget is still problematic

[jarl@jarl turbojpeg]$ makepkg -s
==> Making package: turbojpeg 1.1.1-1 (Sat Dec  3 13:24:04 MST 2011)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
  -> Downloading libjpeg-turbo-1.1.1.tar.gz...
--2011-12-03 13:24:08--  http://sourceforge.net/projects/libjpeg-turbo/files/1.1.1/libjpeg-turbo-1.1.1.tar.gz
Resolving sourceforge.net... failed: Name or service not known.
wget: unable to resolve host address `sourceforge.net'
==> ERROR: Failure while downloading libjpeg-turbo-1.1.1.tar.gz
    Aborting...

[edit]

I've added -4 to the wget DLAGENTS in /etc/makepkg.conf and makepkg works but now I'm trying to set up evolution and it can't resolve the googlemail urls.

Last edited by jarl-haggerty (2011-12-03 23:43:06)

Offline

Board footer

Powered by FluxBB