[Mailinglist] Hi.. I have a problem with resolv.conf
Kurian Thayil
kurianmthayil at gmail.com
Sat Mar 29 22:34:10 IST 2008
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
More information about the Mailinglist
mailing list