Diff for /embedaddon/mpd/doc/mpd63.html between versions 1.1.1.3 and 1.1.1.4

version 1.1.1.3, 2016/11/01 09:56:12 version 1.1.1.4, 2021/03/17 00:39:23
Line 6 Line 6
 </HEAD>  </HEAD>
 <BODY text="#000000" bgcolor="#ffffff">  <BODY text="#000000" bgcolor="#ffffff">
   
<A HREF="mpd.html"><EM>Mpd 5.8 User Manual</EM></A><A HREF="mpd.html"><EM>Mpd 5.9 User Manual</EM></A>
  <b>:</b> <A HREF="mpd62.html"><EM>Troubleshooting</EM></A>   <b>:</b> <A HREF="mpd62.html"><EM>Troubleshooting</EM></A>
  <b>:</b> <EM>Troubleshooting</EM><BR>   <b>:</b> <EM>Troubleshooting</EM><BR>
 <b>Previous:</b> <A HREF="mpd62.html"><EM>Troubleshooting</EM></A><BR>  <b>Previous:</b> <A HREF="mpd62.html"><EM>Troubleshooting</EM></A><BR>
Line 22  mailing list or sourceforge.net mpd project forum.</p> Line 22  mailing list or sourceforge.net mpd project forum.</p>
 <p>  <p>
 <dl>  <dl>
   
<dt><b><b>It does not works and I don't understand why.</b></b><dd><p>Mpd has extensive logging system supporting syslog. To direct logs<dt><b><b>It does not work and I do not understand why.</b></b><dd><p>Mpd has extensive logging system supporting syslog. To direct logs
 into a file add lines  into a file add lines
 <pre>  <pre>
 !mpd  !mpd
Line 35  SIGHUP to syslogd to reread config.</p> Line 35  SIGHUP to syslogd to reread config.</p>
   
 <dt><b><b>Packets won't flow.</b></b><dd><p>Make sure you have set <code><b>gateway_enable="YES"</b></code>  <dt><b><b>Packets won't flow.</b></b><dd><p>Make sure you have set <code><b>gateway_enable="YES"</b></code>
 in <code>/etc/rc.conf</code>, otherwise your FreeBSD box will not  in <code>/etc/rc.conf</code>, otherwise your FreeBSD box will not
route packets.route packets.</p>
Alternately, invoke <code>sysctl -w net.inet.ip.forwarding=1</code> 
for immediate effect.</p> 
 <p>Also, check your firewall settings. Mpd will create new interfaces  <p>Also, check your firewall settings. Mpd will create new interfaces
 which may need to be incorporated into your firewall rules.  which may need to be incorporated into your firewall rules.
 If you're doing PPTP, you need to allow TCP port 1723 and IP protocol  If you're doing PPTP, you need to allow TCP port 1723 and IP protocol
 47 (GRE).</p>  47 (GRE).</p>
   
<dt><b><b>It doesn't work, and there are strange netgraph-related errors in the log.</b></b><dd><p>Make sure you have all the required netgraph KLD's loaded.<dt><b><b>It does not work and there are strange netgraph-related errors in the log.</b></b><dd><p>Make sure you have all the required netgraph KLD's loaded.
 You can check them by doing <code> kldstat -v | grep ng_ </code>.</p>  You can check them by doing <code> kldstat -v | grep ng_ </code>.</p>
 <p>Usually these are loaded on demand. If not, you can load them  <p>Usually these are loaded on demand. If not, you can load them
 manually using <code>kldload(8)</code>.</p>  manually using <code>kldload(8)</code>.</p>
Line 73  manually using <code>kldload(8)</code>.</p> Line 71  manually using <code>kldload(8)</code>.</p>
 </ul>  </ul>
 </p>  </p>
   
<dt><b><b>My configuration doesn't seem to be working as expected.</b></b><dd><p>Make sure your <code>mpd.conf</code> file formatted properly.<dt><b><b>My configuration does not seem to be working as expected.</b></b><dd><p>Make sure your <code>mpd.conf</code> file formatted properly.
 Labels must be left-justified, while other lines must not.</p>  Labels must be left-justified, while other lines must not.</p>
   
<dt><b><b>I'm getting no valid response from the RADIUS server.</b></b><dd><p>Double-check the shared secret in the RADIUS servers config and the<dt><b><b>I am getting no valid response from the RADIUS server.</b></b><dd><p>Double-check the shared secret in the RADIUS servers config and the
 one specified in <code>mpd.conf</code> or <code>radius.conf</code>.  one specified in <code>mpd.conf</code> or <code>radius.conf</code>.
 Check the ports of the RADIUS server: they should be 1812 (authentication)  Check the ports of the RADIUS server: they should be 1812 (authentication)
 and 1813 (accounting), wich are also the default ports of mpd. In  and 1813 (accounting), wich are also the default ports of mpd. In
 the past unofficial port numbers (1645 and 1646) were used for RADIUS,  the past unofficial port numbers (1645 and 1646) were used for RADIUS,
 but these are deprecated.</p>  but these are deprecated.</p>
   
<dt><b><b>I'm getting ``Operation not permitted'' errors trying to run mpd.</b></b><dd><p>This is often caused by a combination of (a) using netgraph in KLD module<dt><b><b>I am getting ``Operation not permitted'' errors trying to run mpd.</b></b><dd><p>This is often caused by a combination of (a) using netgraph in KLD module
 form instead of statically compiling the various modules into the kernel  form instead of statically compiling the various modules into the kernel
 via kernel <code>config(8)</code> options, and (b) increasing your   via kernel <code>config(8)</code> options, and (b) increasing your 
 kernel security level (see the <code>init(8)</code> man page), which prevents  kernel security level (see the <code>init(8)</code> man page), which prevents
 KLD modules from being loaded. Change one of these things to fix the problem.</p>  KLD modules from being loaded. Change one of these things to fix the problem.</p>
   
<dt><b><b>I've configured a link for dial-in, and sometimes after disconnecting<dt><b><b>I have configured a link for dial-in and sometimes after disconnecting
mpd gets into some kind of infinite loop.</b></b><dd><p>This is because mpd is trying to ``redial,'' which of course is notmpd gets into some kind of infinite loop.</b></b><dd><p>This is because mpd is trying to ``redial'' which of course is not
 appropriate for dial-in links. Use <code>set link max-redial -1</code> and   appropriate for dial-in links. Use <code>set link max-redial -1</code> and 
 <code>set bundle yes noretry</code> to disable the redial function.</p>  <code>set bundle yes noretry</code> to disable the redial function.</p>
   
<dt><b><b>I'm using mpd as PPTP server for Windows XP clients, when accessing bigger<dt><b><b>I use mpd as PPTP server for Windows XP clients. While accessing bigger
websites, or listing larger ftp directories, then the connectionwebsites or listing larger ftp directories the connection
seems to hang.</b></b><dd><p>Windows XP insists on a very low MTU (usually 1396 Bytes), this needsseems to hang.</b></b><dd><p>Windows XP insists on a very low MTU (usually 1396 Bytes). This needs
fragmentation, if bigger packets should be transmited over the link.fragmentation if bigger packets should be transmitted over the link.
Fragmentation is negotiated at ICMP level, if there is a bad routerFragmentation is negotiated at ICMP level. If there is a bad router
somewhere in the network, who drops such packets, then the connectionsomewhere in the network dropping such packets then the connection
seems to hang.hangs.
 The first thing what you can try is reducing mpd's MTU value, by  The first thing what you can try is reducing mpd's MTU value, by
 setting: <code>set link mtu 1300</code> and <code>set bundle disable multilink</code>,  setting: <code>set link mtu 1300</code> and <code>set bundle disable multilink</code>,
 this should help in most cases.  this should help in most cases.
For TCP connections it's possible enabling the TCP-MSS-Fix:For TCP connections it is possible enabling the TCP-MSS-Fix:
 <code>set iface enable tcpmssfix</code>.</p>  <code>set iface enable tcpmssfix</code>.</p>
   
 <dt><b><b>Problems with MPPE stateless when connecting to Cisco devices.</b></b><dd><p>Upgrade the IOS of your device, see:  <dt><b><b>Problems with MPPE stateless when connecting to Cisco devices.</b></b><dd><p>Upgrade the IOS of your device, see:
Line 114  For TCP connections it's possible enabling the TCP-MSS Line 112  For TCP connections it's possible enabling the TCP-MSS
 </p>  </p>
   
  <HR NOSHADE>   <HR NOSHADE>
<A HREF="mpd.html"><EM>Mpd 5.8 User Manual</EM></A><A HREF="mpd.html"><EM>Mpd 5.9 User Manual</EM></A>
  <b>:</b> <A HREF="mpd62.html"><EM>Troubleshooting</EM></A>   <b>:</b> <A HREF="mpd62.html"><EM>Troubleshooting</EM></A>
  <b>:</b> <EM>Troubleshooting</EM><BR>   <b>:</b> <EM>Troubleshooting</EM><BR>
 <b>Previous:</b> <A HREF="mpd62.html"><EM>Troubleshooting</EM></A><BR>  <b>Previous:</b> <A HREF="mpd62.html"><EM>Troubleshooting</EM></A><BR>

Removed from v.1.1.1.3  
changed lines
  Added in v.1.1.1.4


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>