| View previous topic :: View next topic |
| Author |
Message |
hitachi Guru

Joined: 20 Feb 2006 Posts: 461
|
Posted: Thu Nov 15, 2007 11:39 am Post subject: [solved]resolvconf-gentoo emerge --config =resolvconf-gentoo |
|
|
Hi,
I hope this is not something already solve but I could not find anything.
some time ago I ran an emerge --sync and DuavN world. I guess there was an update to net-misc/vpnc-0.5.1 and it also updated net-dns/resolvconf-gentoo-1.2 . At the end there was a message like "to prevent that run:
| Code: | | emerge --config =resolvconf-gentoo | "
I did that. Since then my box does not create the /etc/resolv.conf any more. OK I am doing this by hand every time. I could not find another way to do this. I tried to unmerge resolveconf-gentoo with | Quote: | | emerge -avC resolvconf-gentoo | but than my box does not start up any more. So I emerged it again.
Right now I ran an emerge --sync and DuavN world and I saw vpnc is without resolvconf now | Quote: | Calculating world dependencies... done!
[ebuild R ] net-misc/vpnc-0.5.1 USE="-bindist -hybrid-auth -resolvconf%" 0 kB | Will this break my box again? How can I undo this emerge --config thing I did?
Thanks for any help _________________ Athlon 64 X2 3800+
Micro-ATX-Mainboard in einer OEM-Version von Asus mit Nvidias nForce4 (A8NE-FM/S).
PEG-Grafikkarte von Leadtek mit Nvidia GeForce 6600
3 GB RAM
350-Watt-Netzteil (von Fortron/Source)
4 x 500GB S-ATA HDD (raid1 und raid5)
Last edited by hitachi on Tue Apr 08, 2008 8:49 am; edited 2 times in total |
|
| Back to top |
|
 |
lokik n00b

Joined: 11 May 2005 Posts: 18
|
Posted: Fri Nov 16, 2007 6:06 am Post subject: |
|
|
Hi,
for resolvconf to work /etc/resolv.conf has to be a symlink to resolvconf/run/resolv.conf But | Code: | | emerge --config =resolvconf-gentoo | should have done that. Anyway you can achieve this with | Code: | | cd /etc && ln -sfn resolvconf/run/resolv.conf . | After that all you have to do is so a proper resolv.conf will be created for you.
Hope this helps |
|
| Back to top |
|
 |
hitachi Guru

Joined: 20 Feb 2006 Posts: 461
|
Posted: Fri Nov 16, 2007 10:00 pm Post subject: |
|
|
Thank's for the answer.
I did copy and past the lines above. It did not solve the problem. I still have to change /etc/resolv.conf by hand. _________________ Athlon 64 X2 3800+
Micro-ATX-Mainboard in einer OEM-Version von Asus mit Nvidias nForce4 (A8NE-FM/S).
PEG-Grafikkarte von Leadtek mit Nvidia GeForce 6600
3 GB RAM
350-Watt-Netzteil (von Fortron/Source)
4 x 500GB S-ATA HDD (raid1 und raid5) |
|
| Back to top |
|
 |
Devport Guru

Joined: 15 Dec 2004 Posts: 361
|
Posted: Sat Nov 17, 2007 1:51 am Post subject: |
|
|
For me after removing resolvconf-gentoo a broken symlink /etc/resolv.conf was left. I needed to remove it and everything worked fine again.
Try to rm /etc/resolv.conf and restart your network.
Last edited by Devport on Sat Nov 17, 2007 5:31 am; edited 2 times in total |
|
| Back to top |
|
 |
lokik n00b

Joined: 11 May 2005 Posts: 18
|
Posted: Sat Nov 17, 2007 2:38 am Post subject: |
|
|
Strange... it did solve the problem on my colleagues machine...
Does the /etc/resolvconf/run/interfaces directory contain resolv.conf format files named after your network devices? |
|
| Back to top |
|
 |
Devport Guru

Joined: 15 Dec 2004 Posts: 361
|
Posted: Sat Nov 17, 2007 5:30 am Post subject: |
|
|
| lokik wrote: | Strange... it did solve the problem on my colleagues machine...
Does the /etc/resolvconf/run/interfaces directory contain resolv.conf format files named after your network devices? |
I assume reslvconf belongs to resolvconf-gentoo ? He doesn`t have it installed refering to his first topic. |
|
| Back to top |
|
 |
hitachi Guru

Joined: 20 Feb 2006 Posts: 461
|
Posted: Sat Nov 17, 2007 2:44 pm Post subject: |
|
|
I do have.
| Quote: | emerge -avC resolvconf-gentoo
but than my box does not start up any more. So I emerged it again. |
_________________ Athlon 64 X2 3800+
Micro-ATX-Mainboard in einer OEM-Version von Asus mit Nvidias nForce4 (A8NE-FM/S).
PEG-Grafikkarte von Leadtek mit Nvidia GeForce 6600
3 GB RAM
350-Watt-Netzteil (von Fortron/Source)
4 x 500GB S-ATA HDD (raid1 und raid5) |
|
| Back to top |
|
 |
hitachi Guru

Joined: 20 Feb 2006 Posts: 461
|
Posted: Tue Apr 08, 2008 8:47 am Post subject: |
|
|
| Devport wrote: | For me after removing resolvconf-gentoo a broken symlink /etc/resolv.conf was left. I needed to remove it and everything worked fine again.
Try to rm /etc/resolv.conf and restart your network. |
Thanks for that. Did it today. | Code: | | rm -vi /etc/resolv.conf |
| Quote: | rm: remove symbolic link `/etc/resolv.conf'? y
removed `/etc/resolv.conf' |
| Code: | | /etc/init.d/net.eth0 restart |
| Quote: | /etc/init.d/net.eth0 restart
* Unmounting network filesystems ... [ ok ]
* Stopping eth0
* Bringing down eth0
* Shutting down eth0 ... [ ok ]
* Starting eth0
* Bringing up eth0
* 192.168.1.3 [ ok ]
* Adding routes
* default via 192.168.1.1 ... [ ok ]
* Mounting network filesystems ... [ ok ]
* Setting clock via the NTP client 'ntpdate' ...
Error : Temporary failure in name resolution
8 Apr 10:27:21 ntpdate[2009]: can't find host ptbtime1.ptb.de
Error : Temporary failure in name resolution
8 Apr 10:27:21 ntpdate[2009]: can't find host swisstime.ethz.ch
Error : Temporary failure in name resolution
8 Apr 10:27:21 ntpdate[2009]: can't find host ntps1-0.cs.tu-berlin.de
8 Apr 10:27:21 ntpdate[2009]: no servers can be used, exiting
* Failed to set clock [ !! ] |
| Code: | | cp -v /etc/resolv.conf.kh /etc/resolv.conf && /etc/init.d/ntp-client restart |
| Quote: | `/etc/resolv.conf.kh' -> `/etc/resolv.conf'
* Setting clock via the NTP client 'ntpdate' ...
8 Apr 10:30:11 ntpdate[2118]: step time server 192.53.103.108 offset -0.689819 sec | By now it works fine for me.
Thank you! _________________ Athlon 64 X2 3800+
Micro-ATX-Mainboard in einer OEM-Version von Asus mit Nvidias nForce4 (A8NE-FM/S).
PEG-Grafikkarte von Leadtek mit Nvidia GeForce 6600
3 GB RAM
350-Watt-Netzteil (von Fortron/Source)
4 x 500GB S-ATA HDD (raid1 und raid5) |
|
| Back to top |
|
 |
UberLord Retired Dev


Joined: 18 Sep 2003 Posts: 6274 Location: Blighty
|
Posted: Tue Apr 08, 2008 9:16 am Post subject: |
|
|
OR just move to openresolv which doesn't require the symlink trickery  _________________ When baselayout tells you to update config files or things break WE REALLY DO MEAN IT
Please add SOLVED to the thread title if your issue has been
Strip comments from configs please |
|
| Back to top |
|
 |
|