You are not logged in.

#1 2009-11-17 19:56:23

vertex78
Member
Registered: 2009-10-25
Posts: 3

cannot connect to internet

Hello, I have just done a fresh install of arch and I cannot ping google.

in rc.conf i have

eth0="dhcp"
INTERFACES=(eth0)
ROUTES=(!gateway)

DAEMONS=(... network ... )

netstat -r gives

Destination     Gateway          GenMask         Flags    MSS Window    irtt   Iface
10.4.64.0        *                    255.255.255.0  U             0  0               0   eth0
default            10.4.64.1        255.255.0.0      UG          0   0               0   eth0

I get an ip address just fine, i think it has something to do with the gateway possibly being wrong.

Offline

#2 2009-11-17 20:26:10

grey
Member
From: Europe
Registered: 2007-08-23
Posts: 679

Re: cannot connect to internet

Could you follow http://wiki.archlinux.org/index.php/Con … ls_at_boot and then tell us where it fails?


Good ideas do not need lots of lies told about them in order to gain public acceptance.

Offline

#3 2009-11-18 08:26:50

MadTux
Member
Registered: 2009-09-20
Posts: 553

Re: cannot connect to internet

I can't see a line such as that from the wiki in your rc.conf:

gateway="default gw 192.168.0.1"

Is it actually missing or did you just leave it out of your post?

Offline

#4 2009-11-18 14:41:37

vertex78
Member
Registered: 2009-10-25
Posts: 3

Re: cannot connect to internet

MadTux wrote:

I can't see a line such as that from the wiki in your rc.conf:

gateway="default gw 192.168.0.1"

Is it actually missing or did you just leave it out of your post?

I've read in some places (not sure how reliable)  that say that is not used for dhcp and others that it is. So i have tried it with it in and with it out.

Grey -- I will try that later today and post what I find.

Offline

#5 2009-11-18 15:51:39

MadTux
Member
Registered: 2009-09-20
Posts: 553

Re: cannot connect to internet

Can you post your /etc/resolv.conf. While this is set by dhcp automatically, you may then be able to verify the addresses of your nameserver.

Offline

Board footer

Powered by FluxBB