MC Startup Delay

By | 13 Aug 2008

If Midnight Commander needs several seconds to startup, check the interfaces line in your smb.conf. According to this page, the built-in Samba code of mc is outdated and doesn’t recognize device names like eth0 or lo as the newer smbclient does. So it tries to resolve those into IPs which takes ages until they time out.

Replace the devices by their respective netmasks (e.g. 192.168.1.0/24) and mc will startup instantly.

Leave a Reply

Your email address will not be published. Required fields are marked *

Your post must include a link to this post.

How does this work?
Write a response on your own website and include a link to this post. Then submit your response’s URL here. Your response may appear here after moderation. To update or remove it, edit or delete your original post and submit the same URL again. Learn more about Webmentions.