On 2022-11-10, Jan Stary <[email protected]> wrote:
> On Nov 10 00:39:59, [email protected] wrote:
>> Am Do., 10. Nov. 2022 um 00:25 Uhr schrieb Jan Stary <[email protected]>:
>> > With my current ISP, putting
>> >
>> > ifconfig pppoe0 down
>> >
>> > into rc.shutdown makes the subsequent boot faster with respect to pppoe.
>> > I suspect it's waht you say: the session gets "terminated properly"
>> > somehow; without it, it takes longer before the ISP assigns me
>> > an address.
>>
>> That helped, thanks!
>>
>> > !while ! ifconfig pppoe0 | grep -F 185.63.96.79; do date ; sleep 10; done
>> >
>> > at the end oh hostname.pppoe makes sure services only start
>> > after I have an address; and dmesg -s shows the waiting, if any.
>> > (Of course, I know the address here - tweak as needed.)
>>
>> What happens when your pppoe doesn't come up?
>
> It always comes up, eventually.
> But if I don't down the device, it might be minutes.
for i in `seq 30`; do
ifconfig pppoe0 | grep inet | fgrep -w 0.0.0.0 || continue
sleep 1
done
--
Please keep replies on the mailing list.