You are not logged in.
Pages: 1
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
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
Ok, can you tell me what I have wrong now?
/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
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
+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
Wonderful. Everything is working.
Offline
Pages: 1