Re: [Cooker] dynamic DNS and /etc/ppp/ip-up (need to be rethinked?)

2003-08-25 Thread Olivier Blin
On Sun, 17 Aug 2003 11:46:59 +0200 Michael Scherer <[EMAIL PROTECTED]> wrote: > In order to work on a real script, i propose to use the wiki to write > the files : > > http://qa.mandrakesoft.com/twiki/bin/edit/Main/DraftPppScript > > > By the way, i have put ppp maintener in Cc, please use answ

Re: [Cooker] dynamic DNS and /etc/ppp/ip-up (need to be rethinked ?)

2003-08-17 Thread Michael Scherer
On Sunday 17 August 2003 00:44, Steffen Barszus wrote: > Am Sonntag, 17. August 2003 00:23 schrieb Steffen Barszus: > > [:snip a lot:] > > > > else > > unset PPP_TEMP_ENTRY > > fi > > Are there cases there a dynamic DNS don't want to be used ? which ? > From what I have read on the net, if

Re: [Cooker] dynamic DNS and /etc/ppp/ip-up (need to be rethinked ?)

2003-08-16 Thread Pierre Jarillon
Le Samedi 16 Août 2003 21:05, Steffen Barszus a écrit : > Am Samstag, 16. August 2003 19:52 schrieb Michael Scherer: > > On Saturday 16 August 2003 18:35, Olivier Blin wrote: > > > Have I missed something ? > > > For dialup users, with the current ip-up script, only kppp sets > > > dynamic DNS in /

Re: [Cooker] dynamic DNS and /etc/ppp/ip-up (need to be rethinked ?)

2003-08-16 Thread Steffen Barszus
Am Sonntag, 17. August 2003 01:06 schrieb Olivier Blin: > > > Sorry, but I don't want to use drakconnect, it uses kppp ... > > > I want to use wvdial and I don't understand why there should be a > > > line"# ppp temp entry" in /etc/resolv.conf > > > > net_monitor uses kppp for modem. > > But I don'

Re: [Cooker] dynamic DNS and /etc/ppp/ip-up (need to be rethinked?)

2003-08-16 Thread Olivier Blin
> > Sorry, but I don't want to use drakconnect, it uses kppp ... > > I want to use wvdial and I don't understand why there should be a > > line"# ppp temp entry" in /etc/resolv.conf > > net_monitor uses kppp for modem. But I don't want to use something that uses kppp, it's overkill. I want to us

Re: [Cooker] dynamic DNS and /etc/ppp/ip-up (need to be rethinked?)

2003-08-16 Thread Olivier Blin
> > PPP_TEMP_ENTRY=`grep '#.*ppp temp entry' /etc/resolv.conf | \ > >tail -1 | sed 's/.*ppp temp entry/# ppp temp entry/' ` > > > > PPP_TEMP_ENTRY="# ppp temp entry", written in a style that it could > > win the most useless use of sed award. > It doesn't make more then what I said

Re: [Cooker] dynamic DNS and /etc/ppp/ip-up (need to be rethinked ?)

2003-08-16 Thread Steffen Barszus
Am Sonntag, 17. August 2003 00:42 schrieb Olivier Blin: > > No he shouldn't. drakconnect should put it in /etc/resolv.conf, but I > > must admit that I don't see a case where it wouldn't be usefull > > Sorry, but I don't want to use drakconnect, it uses kppp ... > I want to use wvdial and I don't u

Re: [Cooker] dynamic DNS and /etc/ppp/ip-up (need to be rethinked ?)

2003-08-16 Thread Steffen Barszus
Am Sonntag, 17. August 2003 00:23 schrieb Steffen Barszus: Well I know its bad style, but I pressed accidently on send :D > Ok , here we go > > #!/bin/bash > # This file should not be modified -- make local changes to > # /etc/ppp/ip-up.local instead > > here as supposed, an /etc/ppp/ip

Re: [Cooker] dynamic DNS and /etc/ppp/ip-up (need to be rethinked?)

2003-08-16 Thread Olivier Blin
> No he shouldn't. drakconnect should put it in /etc/resolv.conf, but I > must admit that I don't see a case where it wouldn't be usefull Sorry, but I don't want to use drakconnect, it uses kppp ... I want to use wvdial and I don't understand why there should be a line "# ppp temp entry" in /etc/r

Re: [Cooker] dynamic DNS and /etc/ppp/ip-up (need to be rethinked ?)

2003-08-16 Thread Steffen Barszus
Am Samstag, 16. August 2003 23:50 schrieb Olivier Blin: > > That means that all lines "nameserver ... # ppp temp entry" > > are deleted. The rule is not applied to a line there only "# ppp temp > > entry" is in. That means the DNS are written in /etc/resolv.conf if # > > ppp temp entry is

Re: [Cooker] dynamic DNS and /etc/ppp/ip-up (need to be rethinked?)

2003-08-16 Thread Olivier Blin
> That means that all lines "nameserver ... # ppp temp entry" > are deleted. The rule is not applied to a line there only "# ppp temp > entry" is in. That means the DNS are written in /etc/resolv.conf if # > ppp temp entry is in /etc/resolv.conf [snip] > Try writing a line > # ppp temp

Re: [Cooker] dynamic DNS and /etc/ppp/ip-up (need to be rethinked ?)

2003-08-16 Thread Steffen Barszus
Am Samstag, 16. August 2003 22:31 schrieb Olivier Blin: > > If kppp does it and PPP_TEMP_ENTRY is not set, isn't it right ? > > kppp doesn't use /etc/ppp/ip-up to write dynamic DNS entries in > /etc/resolv.conf never used kppp > > Otherwise the nameservers would be written two times in there, >

Re: [Cooker] dynamic DNS and /etc/ppp/ip-up (need to be rethinked?)

2003-08-16 Thread Olivier Blin
> If kppp does it and PPP_TEMP_ENTRY is not set, isn't it right ? kppp doesn't use /etc/ppp/ip-up to write dynamic DNS entries in /etc/resolv.conf > Otherwise the nameservers would be written two times in there, > wouldn't it ? Yes, because kppp sets itself the dynamic DNS entries and ip-up *ne

Re: [Cooker] dynamic DNS and /etc/ppp/ip-up (need to be rethinked ?)

2003-08-16 Thread Steffen Barszus
Am Samstag, 16. August 2003 19:52 schrieb Michael Scherer: > On Saturday 16 August 2003 18:35, Olivier Blin wrote: > > Have I missed something ? > > For dialup users, with the current ip-up script, only kppp sets > > dynamic DNS in /etc/resolv.conf (it doesn't use the ip-up to do that) > > I would

Re: [Cooker] dynamic DNS and /etc/ppp/ip-up (need to be rethinked ?)

2003-08-16 Thread Steffen Barszus
Am Samstag, 16. August 2003 18:35 schrieb Olivier Blin: > Hi, > > I've found some weird things in /etc/ppp/ip-up > > 1) what's this trick for PPP_TEMP_ENTRY ? > # for dynamic DNS support with gnome-ppp and kppp and draknet > if grep -i '#.*ppp temp entry' /etc/resolv.conf >& /dev/null ; then >

Re: [Cooker] dynamic DNS and /etc/ppp/ip-up (need to be rethinked ?)

2003-08-16 Thread Michael Scherer
On Saturday 16 August 2003 18:35, Olivier Blin wrote: > Hi, > > I've found some weird things in /etc/ppp/ip-up > > 1) what's this trick for PPP_TEMP_ENTRY ? > # for dynamic DNS support with gnome-ppp and kppp and draknet > if grep -i '#.*ppp temp entry' /etc/resolv.conf >& /dev/null ; then > PP