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...
|