You are not logged in.

#1 2010-03-10 03:19:44

d42
Member
Registered: 2010-03-10
Posts: 3

[SOLVED] Network Configuration Problems

Hey, new arch user, loving it so far. Installation and setup to this point have gone smoothly, but I've ran into my first roadblock. My wired internet has been acting up, and I simply don't have the proper knowledge to figure out what's wrong.
So. From the beginning. I'm running a Dell Studio 15 laptop, and I'm connected to the internet  through ethernet plugged into my home modem. I haven't set up wireless yet.
Config files
/etc/rc.conf
HOSTNAME="Serendipity"
#eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
eth0="dhcp"
INTERFACES=(eth0)
gateway="default gw 192.168.0.1"
ROUTES=(!gateway)

/etc/hosts
127.0.0.1   localhost.localdomain   localhost  Serendipity

/etc/hosts.deny
ALL: ALL: DENY

/etc/hosts.allow
ssh: 192.168.0.1

The problem:
pacman -Syu updates the core/extra/community just fine, but gives a "transient resolver failure" for any other repos (in this case archlinuxfr)

pinging google works perfectly

wget does not work- "temporary failure in name resolution.""wget: unable to resolve host address
www.google.com" same with using wget to download from the aur

internet browsing in links works just fine, both in a terminal session and xterm

firefox can not find server

These are all tests I did at home.

I tried it again at school. Everything worked fine. I could update the french repo, wget the package I needed, and brows in firefox. I couldn't ping, but that's probably a school network configuration.
I also noticed that at school the led on the ethernet port was green. At home it is orange.

I am very confused. Please enlighten me.
Thanks in advance.

Last edited by d42 (2010-03-11 02:55:11)

Offline

#2 2010-03-10 16:15:55

perbh
Member
From: Republic of Texas
Registered: 2005-03-04
Posts: 765

Re: [SOLVED] Network Configuration Problems

Have you tried using a static ip-addy?
Also I would make sure everything is 'open' (like commenting out the entry in /etc/hosts/deny and allow all in /etc/hosts.allow) until you are sure of your connection. Then you can start to strangle accesses again.

As for green/orange - thats just the connection speed - either 1Gb/100Mb or 100Mb/10Mb depending on your ethernet adapter and whatever you are connected to.

Last edited by perbh (2010-03-10 16:18:20)

Offline

#3 2010-03-10 22:01:24

d42
Member
Registered: 2010-03-10
Posts: 3

Re: [SOLVED] Network Configuration Problems

Ok, can you tell me what I have wrong now? hmm

/etc/rc.conf
eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
INTERFACES=(eth0)
gateway="default gw 192.168.0.1"
ROUTS=(gateway)

/etc/resolv.conf
nameserver 192.168.0.2

/etc/dhcpcd.conf
nohook lookup-hostname resolv.conf

/etc/hosts.deny
nothing uncommented

/etc/hosts.allow
sshd: ALL


I activated dhcpcd
ping gives an "unknown host"

Offline

#4 2010-03-10 22:08:02

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

Re: [SOLVED] Network Configuration Problems

I would suggest your nameserver entries in /etc/resolv.conf should be the IP address(es) of your ISP's DNS servers and not your laptop.

Last edited by CountDuckula (2010-03-10 22:08:37)

Offline

#5 2010-03-11 01:39:11

perbh
Member
From: Republic of Texas
Registered: 2005-03-04
Posts: 765

Re: [SOLVED] Network Configuration Problems

+1 to CountDuckula - you want a 'real' nameserver - probably 192.168.0.1 would do, also the public one from google (8.8.8.8) and even better - the actual nameserver from your local isp.

I always have troubles with the syntax of /etc/hosts.{deny,allow} - which is why I take the easy way out ...
/etc/hosts.allow:
ALL:  ALL:  ALLOW

Offline

#6 2010-03-11 02:54:41

d42
Member
Registered: 2010-03-10
Posts: 3

Re: [SOLVED] Network Configuration Problems

Wonderful. Everything is working. big_smile

Offline

Board footer

Powered by FluxBB