Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 May 2002 13:59:44 -0500
From:      "Kevin Kinsey, DaleCo, S.P." <kdk@daleco.biz>
To:        "Scott Aitken" <scotta@pobox.com>
Cc:        <questions@FreeBSD.ORG>
Subject:   Re: delay services until pcmcia nics start
Message-ID:  <00d701c201c2$da5ff480$93ec910c@daleco>
References:  <20020522184426.GA64024@gandalf.scott.sh>

next in thread | previous in thread | raw e-mail | index | archive | help
A hack-------------------------

Probably not the best, but cron runs after
hardware is set so you could add this tab:

@reboot                    /path/to/squid -option


Kevin Kinsey

----- Original Message -----
From: "Scott Aitken" <scotta@pobox.com>
To: <freebsd-questions@FreeBSD.ORG>
Sent: Wednesday, May 22, 2002 1:44 PM
Subject: delay services until pcmcia nics start


> Hi all,
> is there a way to delay the starting of certain services (eg. dhcp server
or squid), until after a pcmcia NIC has started?
> I have two nics, both pcmcia, one an 802.11 cisco aironet card, and the
other is a xircom ethernet.
> I use the /etc/start_if.ano and /etc/start_if.xe0 scripts to configure the
cards.  I also pause during the execution of /etc/start_if.ano for 60
seconds (for some reason it won't go into ad-hoc mode straight away).
>
> I need to delay the execution of the isc-dhcp server, otherwise it starts
before both cards are up.  It then doesn't listen on the interface that
starts later.
> Also, squid attempts to verify dns by resoving certain well-known hosts.
It can't to this at the time it starts because neither nic is ready.  (I
know you can disable this with -D, but even still...)
>
> Thanks
> Scott
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00d701c201c2$da5ff480$93ec910c>