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 *

To respond on your own website, enter the URL of your response which should contain a link to this post's permalink URL. Your response will then appear (possibly after moderation) on this page. Want to update or remove your response? Update or delete your post and re-enter your post's URL again. (Find out more about Webmentions.)