Gentoo Archives: gentoo-user

From: damian <damian.only@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] How to run dhclient on the background
Date: Sun, 23 Nov 2008 17:22:05
Message-Id: 47a330c50811230922x78f20c1ek955f748c0770f203@mail.gmail.com
In Reply to: Re: [gentoo-user] How to run dhclient on the background by Jorge Peixoto de Morais Neto
1 > You wanted to pass options to your dhcp client. The page mentioned
2 > shows two ways of doing that:
3 > 1) By setting the variable dhcp_eth0 to a space-delimited string of
4 > options, like
5 > dhcp_eth0="release nodns nontp nonis"
6 > These generic options work for any of the dhclient, dhcpcd, pump and
7 > udhcpc clients.
8 >
9 > 2) By setting ${CLIENTNAME}_eth0 to a space-delimited string of
10 > options, you can pass any option to your specific client
11 > If you want to pass the -nw option to the dhclient client for the eth0
12 > interface, you would write
13 > dhclient_eth0="-nw"
14 >
15 > All this configuration goes in /etc/conf.d/net (at least for
16 > baselayout 1.12.12; I don't know about baslayout 2.0.0)
17 >
18 Thanks Jorge! I overlooked that. Sorry.
19
20 Best regards,
21 Damian.