You are not logged in.

#1 2009-02-02 02:29:29

basho429
Member
Registered: 2008-10-13
Posts: 9

network problem

hi all.  i just installed arch on a new box.  everything went smoothly with the installation.  however, when i tried "pacman -Syu" i got an error message:

failed to synchronize any databases

i'm using the ftp://locke.sun.edu repo for core, extra, and community.

the network part of my rc.conf is like this:

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


i did lspci and dmesg and outputs are:

lspci | grep Ethernet
04:00.6 Ethernet Controller: Realtek Semiconductor Co., Ltd. RTL8111,8169B PCI Express Gigabit Ethernet Controller (rev 02)

dmesg | grep Ethernet
r8169 Gigabit Ethernet driver 2.2LK loaded

for some reason i cant connect to the internet.  any suggestions?

Offline

#2 2009-02-02 06:11:55

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,217
Website

Re: network problem

What's the output of:

ifconfig
route -n
cat /etc/resolv.conf

Did you do a 'normal' installation or an FTP installation?

Offline

#3 2009-02-03 03:47:01

basho429
Member
Registered: 2008-10-13
Posts: 9

Re: network problem

i did a 'normal' installation.

/etc/resolv.conf is populated with 3 nameservers (my router's ip address and OpenDNS servers).

however routing table is empty.  when i tried to manually add an entry for a default gateway i got this error message:

SIOCADDRT: No such process

also, when i did ifconfig, eth0 is not showing up, only the local loopback is shown. 

i tried to restart my network and i got this error message:

ioctl SIOCGIFHWADDR: No such device

any suggestions?

i also tried doing the ftp installation.  all the packages were downloaded but its during the installation of the packages that the system stops responding. 

any help is appreciated.  thanks.

Offline

#4 2009-02-03 16:03:20

basho429
Member
Registered: 2008-10-13
Posts: 9

Re: network problem

SOLVED

i did a fresh installation.  on my rc.conf i included my router's ip address as the default gateway.  even though its not recommended by the installation manual, the wiki said that some people had to include that to be able to connect to the internet.  after that i was able to sync with the repos.  thanks for replying.

Offline

Board footer

Powered by FluxBB