LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-13-2011, 01:07 PM   #1
dakshayini
LQ Newbie
 
Registered: Feb 2011
Posts: 3

Rep: Reputation: 0
Urgetn


hi,
I am new to linux... i have some problem i understanding the resolve.conf configuration files...
i am working on setting up LAN and Wireless LAN connection.. i need to write api to change ip configuration from static to dynamic.. and dynamic to staic... i have succefully edited rc.conf files in /etc/rc.d/rc.conf files... my problem is when ever i start the board on which i am working with dhcp configuration i am able to ping google.com but if i start the board with static confguration... i am not able to ping google it is showing bad address..
i have checked .. may be problem in resolv.conf file .. how do i find out required nameserver to be added automatically to the resolv.conf .. in order to work properly.. In network script present in /etc/rc.d/rc/init.d there i am adding the nameserver into resolv.conf file... is there any way so that it can be updated with required nameserver .. other than manually....
plz .. help .. regarding this... thanks in advance...
 
Old 02-13-2011, 01:13 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
Please do not mark threads as Urgetn. It is not at all urgetn for any of our members who donate their time to help others, and is considered rude.
 
Old 02-13-2011, 01:19 PM   #3
trist007
Senior Member
 
Registered: May 2008
Distribution: Slackware
Posts: 1,027

Rep: Reputation: 69
You can add in a nameserver in your /etc/resolv.conf. Maybe the route isn't setup when running static ips.

You can check your route by running 'route -n'.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
urgetn help required regarding rpm installation error amit_pansuria Linux - Newbie 8 08-14-2008 10:44 AM


All times are GMT -5. The time now is 10:37 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration