LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-05-2010, 06:00 AM   #1
raheelch
LQ Newbie
 
Registered: Feb 2010
Posts: 8

Rep: Reputation: 0
Thumbs down DNS not resolve


Hi, Everyone...

I am using Centos and runing machine on live ip's at LAN, but DNS which i mentioned in /etc/resolve.conf are not working. where as i have tried to change lan cable with eth0 and eth1 but result same. when i check status of both interfaces with mii-tool it shows no link wd WAN eth whether its eth0 or eth1. can anybody help me to solve it out.

Thanx n regards,
 
Old 03-05-2010, 06:55 AM   #2
carltm
Member
 
Registered: Jan 2007
Location: Canton, MI
Distribution: CentOS, SuSE, Red Hat, Debian, etc.
Posts: 703

Rep: Reputation: 99
Okay, the first thing you have to do is establish a link. Check both ends
of your network cable to make sure it doesn't look worn and that it is
fully plugged in. You will probably see little lights turn on when the
connection is good. If needed, replace the cable or get assistance from
your network person.
 
Old 03-08-2010, 01:57 AM   #3
fur
Member
 
Registered: Dec 2003
Distribution: Debian, FreeBSD
Posts: 310

Rep: Reputation: 35
Quote:
which i mentioned in /etc/resolve.conf are not working
Make sure its resolv.conf, and not resolve.conf.
 
Old 03-09-2010, 12:18 AM   #4
raheelch
LQ Newbie
 
Registered: Feb 2010
Posts: 8

Original Poster
Rep: Reputation: 0
Re:

Quote:
Originally Posted by carltm View Post
Okay, the first thing you have to do is establish a link. Check both ends
of your network cable to make sure it doesn't look worn and that it is
fully plugged in. You will probably see little lights turn on when the
connection is good. If needed, replace the cable or get assistance from
your network person.
Cable is perfectly OK and plugged in properly with other systems but problem still not ok even I am unable to ping my WAN gateway everything is like normal but I don't know where I did mistake. I install a fresh os copy but problem is still there.
 
Old 03-09-2010, 12:19 AM   #5
raheelch
LQ Newbie
 
Registered: Feb 2010
Posts: 8

Original Poster
Rep: Reputation: 0
It's typing mistake not file name changed

Quote:
Originally Posted by fur View Post
Make sure its resolv.conf, and not resolve.conf.
it's just typing mistake actual file is definately resolve.conf sir.
 
Old 03-09-2010, 12:53 AM   #6
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Quote:
Originally Posted by raheelch View Post
it's just typing mistake actual file is definately resolve.conf sir.
Code:
c@CW8:~$ ll /etc/resolv.conf
-rw-r--r-- 1 root root 64 2010-03-01 19:29 /etc/resolv.conf
 
Old 03-09-2010, 02:32 AM   #7
mario.almeida
Member
 
Registered: May 2008
Location: India
Distribution: Ubuntu 10.04, CentOS, Manjaro
Posts: 179

Rep: Reputation: 27
Hi,

mii-tool should report "link ok" if not check your cable connections.

Issue the below command and check for RX and TX for the particular interface the value should keep changing.

watch -n 1 "netstat -i"
 
Old 03-19-2010, 02:38 AM   #8
raheelch
LQ Newbie
 
Registered: Feb 2010
Posts: 8

Original Poster
Rep: Reputation: 0
Thumbs up Thanks Problem solved

Quote:
Originally Posted by mario.almeida View Post
Hi,

mii-tool should report "link ok" if not check your cable connections.

Issue the below command and check for RX and TX for the particular interface the value should keep changing.

watch -n 1 "netstat -i"
My problem has been solved infact I was misread card name i.e. I was understanding eth0 is eth 1 and vice versa thanx for help.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
dns client cannot resolve on dns server jtvillegas Linux - Software 3 03-12-2016 03:30 PM
host resolve via dns shan_nathan Linux - Server 2 10-01-2008 12:18 AM
Can't Resolve DNS IP shipon_97 Linux - Networking 1 08-25-2006 10:51 PM
DNS can't resolve gmail.com but can resolve everything else? TongueTied Linux - Networking 2 01-24-2006 03:39 AM
DNS Resolve? b0rgri0t Slackware 1 01-04-2006 02:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration