mpd pppoe client problems

Artyom Viklenko artem at aws-net.org.ua
Wed Dec 13 00:25:35 PST 2006


<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 at sovetnik.org
>
>
>


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




More information about the freebsd-net mailing list