* [ptxdist] dhclient startup
@ 2012-08-09 17:02 stefan.frick
2012-08-09 17:46 ` Alexander Dahl
0 siblings, 1 reply; 2+ messages in thread
From: stefan.frick @ 2012-08-09 17:02 UTC (permalink / raw)
To: ptxdist
Hi All,
there may an obvious solution to that one, however I'm not quite sure:
I cross-compiled and installed dhclient and it works just fine if I
start it over ssh. However I would have assumed that ptxdist installs
some kind of start script into /etc/init.d and /etc/rc.d, so that the
dhcp client is starting after booting, but they are missing.
So my question would be:
Is there some kind of template for that script? Or did I miss something else?
Best, Stefan
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [ptxdist] dhclient startup
2012-08-09 17:02 [ptxdist] dhclient startup stefan.frick
@ 2012-08-09 17:46 ` Alexander Dahl
0 siblings, 0 replies; 2+ messages in thread
From: Alexander Dahl @ 2012-08-09 17:46 UTC (permalink / raw)
To: ptxdist
[-- Attachment #1.1: Type: text/plain, Size: 938 bytes --]
Hei hei,
On Thu, Aug 09, 2012 at 07:02:36PM +0200, stefan.frick@qutools.com wrote:
> So my question would be:
> Is there some kind of template for that script? Or did I miss something else?
In case you use ifupdown of busybox the DHCP client (we use udhcpc
from busybox itself) is started somehow "magically" on interface
activation and interfaces are defined in /etc/network/interfaces like
on Debian. The DHCP client is killed on shutting down the interface
again. See the verbose output of `ifup -av` and `ifdown -av`. Sorry if
this sounds not precise, it's just from my memory, but it may help you
to have a further look.
Greets
Alex
--
»With the first link, the chain is forged. The first speech censured,
the first thought forbidden, the first freedom denied, chains us all
irrevocably.« (Jean-Luc Picard, quoting Judge Aaron Satie)
*** GnuPG-FP: 02C8 A590 7FE5 CA5F 3601 D1D5 8FBA 7744 CC87 10D0 ***
[-- Attachment #1.2: Type: application/pgp-signature, Size: 198 bytes --]
[-- Attachment #2: Type: text/plain, Size: 48 bytes --]
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-08-09 17:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-09 17:02 [ptxdist] dhclient startup stefan.frick
2012-08-09 17:46 ` Alexander Dahl
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox