From: Tony Hammitt (tony@speedscript.com)
Date: 04/13/01


Message-ID: <019801c0c428$3939d040$70000064@dsi.com>
From: "Tony Hammitt" <tony@speedscript.com>
Subject: Re: A weird question on DNS and booting Mandrake
Date: Fri, 13 Apr 2001 09:45:31 -0500

Mandrake and Red Hat both put a lot of stuff in /etc/sysconfig/network, so I'd
start by poking around in there.

You could put your fix.dns as the last line in /etc/rc.d/rc.local, too. That way
it would run when needed. This isn't a laptop is it? I have lots of things to
reconfigure on mine depending on where it's plugged in. If it's a desktop,
you can just do the same thing all of the time.. =-]

Later,

    Tony

----- Original Message -----
From: Kendric Beachey <ak@kc.rr.com>
To: <kclug@kclug.org>
Sent: Friday, April 13, 2001 9:25 AM
Subject: A weird question on DNS and booting Mandrake

> Every time I boot my Mandrake 7.2 machine, it overwrites /etc/resolv.conf so
> that it contains only one entry, 127.0.0.1, which frankly doesn't do me a lot
> of good. I have made myself a short script called fix.dns that copies the
> correct version of resolv.conf in its place, and I've taken to running that
> as root before doing anything net-related such as reading mail.
>
> There's got to be a better way. Who can tell me where to look to stop the
> automatic overwriting of /etc/resolv.conf?
>
> This started one day after I'd been looking around in the various screens of
> linuxconf. I thought I wasn't actually changing anything, just looking
> around, but maybe linuxconf thought differently.
>
> --
> Kendric Beachey
> ak@kc.rr.com
>
> DVD decryption in seven lines of Perl code:
> $_='while(read+STDIN,$_,2048){$a=29;$b=73;$c=142;$t=255;@t=map{$_%16or$t^=$c^=(
> $m=(11,10,116,100,11,122,20,100)[$_/16%8])&110;$t^=(72,@z=(64,72,$a^=12*($_%16
> -2?0:$m&17)),$b^=$_%64?12:0,@z)[$_%8]}(16..271);if((@a=unx"C*",$_)[20]&48){$h
> =5;$_=unxb24,join"",@b=map{xB8,unxb8,chr($_^$a[--$h+84])}@ARGV;s/...$/1$&/;$
> d=unxV,xb25,$_;$e=256|(ord$b[4])<<9|ord$b[3];$d=$d8^($f=$t&($d12^$d4^
> $d^$d/8))<<17,$e=$e8^($t&($g=($q=$e14&7^$e)^$q*8^$q<<6))<<9,$_=$t[$_]^
> (($h=8)+=$f+(~$g&$t))for@a[128..$#a]}print+x"C*",@a}';s/x/pack+/g;eval
>
>
>
>

--------------4B9C3C21E92EC64BDBE95071