pptpd with mpd

idzuwan at gmail.com idzuwan at gmail.com
Mon May 15 23:23:23 PDT 2006


Oliver A. Rojo wrote:

> idzuwan at gmail.com wrote:
>
>> I think it would be better to monitor mpd via syslog it can be done 
>> by doing:
>>
>> open /etc/syslog.conf and add:
>>
>> !mpd
>> *.*                                             /var/log/mpd.log
>>
>> Then, restart syslogd:
>>
>> # touch /var/log/mpd.log
>> # killall -HUP syslogd
>>
>> open /etc/newsyslog.conf and add:
>>
>> # logfilename          [owner:group]    mode count size when  flags
>> /var/log/mpd.log                        644  4     100  *     J
>>
>> run "mpd -b" all the mpd error/status should be in /var/log/mpd.log 
>> now, do tail -f /var/log/mpd.log and try connection if there and 
>> error it should be displayed in the log
>>
>>>>>>
>>>>> Ok here's the result:
>>>>>
>>>>> #  ngctl shut ng0
>>>>> ngctl: shutdown: No such file or directory
>>>>>
>>>>>
>>>> "ngctl shut ng0:" please take note the semicolon dont leave it :)
>>>> _______________________________________________
>>>>
>>> ok i just resolve the error but my windows client still could not 
>>> connect. It says that the Remote Computer did not Respond.
>>>
>>
> here's the messge of mpd.log
>
> May 16 14:05:31 leopard mpd: [pptp0] ppp node is "mpd4276-pptp0"
> May 16 14:05:31 leopard mpd: [pptp0] using interface ng0
> May 16 14:05:31 leopard mpd: [pptp0] this link has no type set
>
>
I think it because your current config does not have pptp0 only have 
pptp try adding "0" in the conf/links files it should fix it


More information about the freebsd-questions mailing list