You are not logged in.
Pages: 1
Hi everyone
I'm new to *nix world, but I'm from IT (developer), so consider me not a complete newbie
I decided to dive into Linux 'waters' and I've found Arch Linux to be the best for me.
Let's finish with lyrics.So, I have a fresh Arch 2010.05 Linux (simple console, no X, nothing else).
My troubles are related to network. Basically I have a working network: I can ping IPs from the in-house LAN, I can ping IPs from ISP space and others too. But "ping google.com" or any other domain name says "ping: unknown host google.com" (the same for "wget http://www.google.com/" for example).
I know about /etc/resolv.conf and it is not empty, it contains the following lines:
dns1 172.27.137.10
dns2 172.27.137.20
search doamin.com
I can ping these IPs without problems.
I'm almost sure it's a simple issue, but for a newbie it's like searching for keys having them in the lock.
If someone could help me, I'll be very grateful.
Thank you in avdance.
Last edited by art84 (2010-12-05 21:26:48)
Offline
I believe there is a syntax error in your resolv.conf
replace the words dns1 dns2 with nameserver and try again
Offline
As skunktrader just said it should read,
nameserver 172.27.137.10
nameserver 172.27.137.20
I assume you are not using DHCP as as it would have filled out your DNS server details correctly in /etc/resolv.conf
Offline
skunktrader and CountDuckula, thank you very much! ... you are prefectly right, "nameserver" made it work correctly
It's a little strange, the template text was saying "dns1" and I've completed with my IPs .. or maybe I've read a wrong howto
But now I have another trouble: the network is working only after I restart the switch.
I know, it seems to be like a hardware issue, but before Arch there was a windows OS on this PC and I could plug in and pull out the LAN cable as I wanted and worked every time without any switch restart.
Any ideas? or it's very probable to be a hardware issue? (the NIC is an incorporated one on a AsRock A790GMH: Realtek RTL8111DL)
Offline
But now I have another trouble: the network is working only after I restart the switch.
I know, it seems to be like a hardware issue, but before Arch there was a windows OS on this PC and I could plug in and pull out the LAN cable as I wanted and worked every time without any switch restart.
Any ideas? or it's very probable to be a hardware issue? (the NIC is an incorporated one on a AsRock A790GMH: Realtek RTL8111DL)
Offline
skunktrader, thank you one more time
I've read about "net-auto-wired", but I thought a NIC card must work without any additional installs.
I've tested on a 3com external NIC (an old card, 10+ years) and it works as it should. Maybe it's a special behaviour related to this Realtek RTL8111DL (a new card from 2009).
I'll try the ifplugd package after I'll set up the package repository/mirrors for pacman .. I hope I'll be able to do it for myself
Offline
Pages: 1