Hello!
I have a question about dhclient-script. I am not sh programmer, and
have only few knowledge about dhclient. I copied bellow the last part
of /sbin/dhclient-script. Does this mean that at TIMEOUT it must exit
with error, unless it changes resolv.conf, what I dont want? I have
a wanted lease
Boudewijn Dijkstra wrote:
> If the DHCP server says things that are wrong, then _that_ needs to be
> fixed.
I think, a functional and proactive secure operating system
should not do anythyng some DHCP Server somewhere tells him in a
way that cannot be controlled with an appropriate configuration
Op Sat, 22 Oct 2011 10:41:56 +0200 schreef Philippe Meunier
:
Kenneth R Westerback wrote:
If you are using dhclient, then /etc/resolv.conf is not really a
configuration file.
Unless your machine runs its own DNS server. Then you really don't
want dhclient-script to mess with your /etc/resolv
the dhclient in base, and possibly the isc one, interprets options set
to the empty string as unset
On Sun, Oct 23, 2011 at 1:38 PM, wrote:
> Jurjen Oskam wrote:
>
>> supersede domain-name-servers 192.168.1.1;
>> supersede domain-name "";
>
> My dhclient completely ignores
>
> B supersede doma
Jurjen Oskam wrote:
> supersede domain-name-servers 192.168.1.1;
> supersede domain-name "";
My dhclient completely ignores
supersede domain-name "";
and sets an unwanted search line given by the server. Indeed
you must give
supersede domain-name ".";
To obtain
search .
in reso
On Sun, Oct 23, 2011 at 12:08:22AM +0200, Jan Stary wrote:
> On Oct 22 04:41:56, Philippe Meunier wrote:
> > Kenneth R Westerback wrote:
> > >If you are using dhclient, then /etc/resolv.conf is not really a
> > >configuration file.
> >
> > Unless your machine runs its own DNS server.
>
> Just ou
On Sun, Oct 23, 2011 at 12:08:22AM +0200, Jan Stary wrote:
> Just out of curiosity, what would be an example
> situation for using a machine that simultaneously
>
> (1) acts as a name-server for others
> (2) gets its network settings dynamicaly reconfigured
Any kind of box that is connected to a
On 10/23/11 00:08, Jan Stary wrote:
On Oct 22 04:41:56, Philippe Meunier wrote:
Kenneth R Westerback wrote:
If you are using dhclient, then /etc/resolv.conf is not really a
configuration file.
Unless your machine runs its own DNS server.
Just out of curiosity, what would be an example
situa
On Oct 22 04:41:56, Philippe Meunier wrote:
> Kenneth R Westerback wrote:
> >If you are using dhclient, then /etc/resolv.conf is not really a
> >configuration file.
>
> Unless your machine runs its own DNS server.
Just out of curiosity, what would be an example
situation for using a machine that
Kenneth R Westerback wrote:
>If you are using dhclient, then /etc/resolv.conf is not really a
>configuration file.
Unless your machine runs its own DNS server. Then you really don't
want dhclient-script to mess with your /etc/resolv.conf. But
dhclient-script will still blindly mess with /etc/res
Kenneth R Westerback wrote:
> If you are using dhclient, then /etc/resolv.conf is not really a
> configuration file.
Then it should be called /rmp/resolv.conf
If you see dhclient-script, you find a file inflation:
/etc/resolv.conf.std, /etc/resolv.conf, /etc/resolv.conf.save,
/etc/resolv.conf.
On Thu, Oct 20, 2011 at 08:53:16PM +, sophia.ort...@googlemail.com wrote:
> Rogier Krieger wrote:
>
> > you can use the 'script' parameter described in dhclient.conf
>
> Perhaps the best solution, not far from what I had in mind from
> the beginning, but not a simple configuration for a sim
Antoine Jacoutot wrote:
>I use this:
>
>send dhcp-lease-time 3600;
>request subnet-mask, broadcast-address, routers;
>
>And my resolv.conf is not modified.
That's because you happen to be using a DHCP server that has good
enough manners not to try to shove unrequested options (like name
servers) d
Rogier Krieger wrote:
> you can use the 'script' parameter described in dhclient.conf
Perhaps the best solution, not far from what I had in mind from
the beginning, but not a simple configuration for a simple task.
> I do not see why you prefer editing resolv.conf over dhclient.conf,
> though,
W dniu 2011-10-20 20:11, sophia.ort...@googlemail.com pisze:
> But again, I insist in my first question: how I get that
> dhclient respect my resolv.conf and do not touch it?
chflags uchg /etc/resolv.conf
On Thu, Oct 20, 2011 at 20:11, wrote:
> But again, I insist in my first question: how I get that
> dhclient respect my resolv.conf and do not touch it?
If you insist on dhclient not touching resolv.conf and do not want to
edit the in-base dhclient-script, you can use the 'script' parameter
descr
On Thu, 20 Oct 2011, sophia.ort...@googlemail.com wrote:
> Again: I dont want that dhclient touch my resolv.conf.
I use this:
send dhcp-lease-time 3600;
request subnet-mask, broadcast-address, routers;
And my resolv.conf is not modified.
--
Antoine
On Thu, Oct 20, 2011 at 11:11 AM, wrote:
> Johan Beisser wrote:
>
>> Check dhclient.conf(5) and read about the supersede statement.
>
> Thank you very much for your kind answer. Of course I read not
> only dhclient.conf (5), but also a lot of man pages, a lot of
> postings in the internet. I thi
Johan Beisser wrote:
> Check dhclient.conf(5) and read about the supersede statement.
Thank you very much for your kind answer. Of course I read not
only dhclient.conf (5), but also a lot of man pages, a lot of
postings in the internet. I think, you misunderstood my question.
Again: I dont wan
Check dhclient.conf(5) and read about the supersede statement.
jb
Semt frim my ipHnoe.
On Oct 20, 2011, at 8:35, sophia.ort...@googlemail.com wrote:
> Dear Sirs!
>
> I realy do not want that dhclient touch resolv.conf.
>
> The recomendation in
>
> http://www.openbsd.org/faq/faq6.html#DHC
20 matches
Mail list logo