[Mailinglist] Hi.. I have a problem with resolv.conf
Manu K. S.
manuks at gmail.com
Thu Apr 3 13:11:46 IST 2008
Hi Jaisen,
There is an option to specify the dns server to the dhcp clients in the dhcp
settings.
http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch08_:_Configuring_the_DHCP_Server
Hope this will help you
with regards
Manu
On Sat, Mar 29, 2008 at 10:34 PM, Kurian Thayil <kurianmthayil at gmail.com>
wrote:
> Hey Jaisen,
>
> What is your network settings? Do you use a DHCP server? If you use one,
> there is a chance that when your network starts (obviously when your
> machine reboots) you get your IP released from DHCP and if set in DHCP
> you get your nameserver info too. So just look in your network
> settings. I use Fedora so not sure on the Debian location of network
> scripts (but i guess its /etc/networking -- not sure though). Do reply.
>
> Regards,
>
> Kurian.
>
> On Sat, 2008-03-29 at 11:03 +0530, Jaisen N.D. wrote:
> > I am working on Debian GNU/Linux Etch, and I have a small problem. But
> > I don't know how to fix it.
> > Problem is that, the resolv.conf file is updated on every reboot and I
> > have to enter the name server addresses manually to it after every
> > reboot, to get connected to internet. I tried these commands, but
> > could not solve it yet.
> >
> > localhost:/etc# whoami
> > root
> > localhost:/etc# pwd
> > /etc
> > localhost:/etc# chattr +i resolv.conf
> > chattr: Inappropriate ioctl for device while reading flags on
> > resolv.conf
> >
> > I checked the resolv.conf file, and found that /etc/resolv.conf is a
> > symbolic link to
> > the file:- /etc/resolvconf/run/resolv.conf
> > and
> > etc/resolvconf/run/ is a symbolic link to the file /dev/shm/resolvconf
> >
> > Then I applied the following commands:-
> >
> > localhost:/etc# cd /dev/shm
> > localhost:/dev/shm# cd resolvconf/
> > localhost:/dev/shm/resolvconf# ls
> > enable-updates interface resolv.conf
> > localhost:/dev/shm/resolvconf# chattr +i resolv.conf
> > chattr: Inappropriate ioctl for device while reading flags on
> > resolv.conf
> > localhost:/dev/shm/resolvconf#
> >
> > How can I make it possible? Any other idea??
> >
> >
> > --
> > (`'·.¸(`'·.¸ ¸.·'´) ¸.·'´)
> > «´¨`·*Jaisen.*..´¨`»
> > (¸.·'´(¸.·'´ `'·.¸)`'·.¸)
> > ¸.·´
> > ( `·.¸
> > `·.¸ )
> > ¸.·)´
> > (.·´
> > ( `v´ )
> > `v´
> > _______________________________________________
> > Mailinglist mailing list
> > Mailinglist at ilug-cochin.org
> > http://ilug-cochin.org/mailman/listinfo/mailinglist_ilug-cochin.org
>
>
> _______________________________________________
> Mailinglist mailing list
> Mailinglist at ilug-cochin.org
> http://ilug-cochin.org/mailman/listinfo/mailinglist_ilug-cochin.org
>
--
Don't walk in front of me, I may not follow.
Don't walk behind me, I may not lead.
Walk beside me and be my friend.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ilug-cochin.org/pipermail/mailinglist_ilug-cochin.org/attachments/20080403/652f8762/attachment.html
More information about the Mailinglist
mailing list