Mpd 3.13 User Manual : Troubleshooting : Troubleshooting
Previous: Troubleshooting
Next: References

7.1. Troubleshooting

Some tips for troubleshooting. (This section is under construction).

For further help, subscribe to the freebsd-net@freebsd.org mailing list and ask your question there.

Packets won't flow.

Make sure you have set gateway_enable="YES" in /etc/rc.conf, otherwise your FreeBSD box will not route packets. Alternately, invoke sysctl -w net.inet.ip.forwarding=1 for immediate effect.

Also, check your firewall settings. Mpd will create new interfaces 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 47 (GRE).

It doesn't work, and there are strange netgraph-related errors in the log.

Make sure you have all the required netgraph KLD's loaded. You can check them by doing kldstat -v | grep ng_ .

Usually these are loaded on demand. If not, you can load them manually using kldload(8).

The following node types are or may be needed:

Poor performance with Mac OS X PPTP clients.

Upgrade to a version of FreeBSD newer than 4.7-RELEASE. Or apply this patch manually.

My configuration doesn't seem to be working as expected.

Make sure your mpd.conf and mpd.links files are formatted properly. Labels must be left-justified, and blank lines must exist between sections to separate them.

I'm getting no valid response from the RADIUS server.

Double-check the shared secret in the RADIUS servers config and the one specified in mpd.conf or radius.conf. Check the ports of the RADIUS server: they should be 1812 (authentication) and 1813 (accounting), wich are also the default ports of mpd. In the past unofficial port numbers (1645 and 1646) were used for RADIUS, but these are deprecated.


Mpd 3.13 User Manual : Troubleshooting : Troubleshooting
Previous: Troubleshooting
Next: References