Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Dec 2006 10:25:42 +0200 (EET)
From:      "Artyom Viklenko" <artem@aws-net.org.ua>
To:        "Alexei" <root@sovetnik.org>
Cc:        freebsd-net@freebsd.org
Subject:   Re: Re[4]: mpd pppoe client problems
Message-ID:  <53106.217.12.197.82.1165998342.squirrel@sigma.interami.com>
In-Reply-To: <1374382666.20061213100122@sovetnik.org>
References:  <166800308.20061212122746@sovetnik.org> <50521.217.12.197.82.1165919086.squirrel@sigma.interami.com> <1553703324.20061212134138@sovetnik.org> <59764.217.12.197.82.1165920505.squirrel@sigma.interami.com> <web-348724528@backend4.aha.ru> <51033.217.12.197.82.1165988784.squirrel@sigma.interami.com> <1374382666.20061213100122@sovetnik.org>

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

<quote who="Alexei">
> Hello, Artyom.
>
> 13 декабря 2006 г., 8:46:24 you wrote:
>
>> Would you show us content of your inet-up.sh script?
>> And output of `netstat -inlb`, `netstat -rna` when mpd
>> established connection.
>
> #!/bin/sh
> /etc/rc.d/ipnat restart
> /etc/rc.d/ntpd restart
> /etc/rc.d/named restart
> /usr/local/apache/bin/apachectl restart

Do you really need all this stuff?.. :/
I would try to disable this inet-up.sh script at all
and check. It seems that some command in it hangs
and mpd waits for the script to finish and so it can't
be killed by SIGTERM.

Why do you use ipnat and ipfw? May be better to
use one firewall? ipfilter itself or ipfw with natd
or ng-nat.

I'm not shure but ipfilter allow to define rules with
interfaces which does not exist at the time of
firewall activation (at least PF can).

Also, you don't need to restart ntpd each time
your interface goes up. Same for named and apache.
Typically. May be you have some very interesting
requirements to do so?..

>
> Can't show netstat now, will do it in the evening.
>
> --
> Grats,
>  Alexei                          mailto:root@sovetnik.org
>
>
>


-- 
           Sincerely yours,
                            Artyom Viklenko.
-------------------------------------------------------
artem@aws-net.org.ua | http://www.aws-net.org.ua/~artem
FreeBSD: The Power to Serve   -  http://www.freebsd.org





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53106.217.12.197.82.1165998342.squirrel>