Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
The only things I can think of is to have a browse around /var/log/samba on the host computer. There may be a log on there relating to your client ip address. Or check dmesg on both computer and check for error messages. I am afraid you will have to use a bit of intuition as these are suggestions rather than solutions
sudo mount -a
mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
If I add 'sudo mount -a' to the list of startup applications within MATE desktop environment it doesn't work either. Is there a command line list of startup stuff? Maybe I could get it to wait for a minute after boot, then mount -a? Would this be a suitable time to use cron's "@reboot" marker?
Perhaps it's a timing problem of some kind. You could try issuing a mount command in rc.local, assuming you have that in your distro. In Slackware, it is /etc/rc.d/rc.local. That would occur long after the mounts in fstab, basically near the very end of init processing.
Edit: If you search with google for "mount error(13) permission denied" you will find many hits related to Samba cifs mounts, including quite a few threads on LQ. You might peruse some of those to see if any of them shed light on your problem.
Thanks, I've looked to see where Debian keeps its rc.local file, and according to this page, it says that there is no rc.local and talks about putting a script in /etc/init.d, but it also talks about run levels. I'm wondering if a two line script it enough to work. This page suggests there's a little more to it.
Could anyone guide me in how to make a script just perform the line: sudo mount -a
I'm trying to search to see if anyone has created a script before, but searching "-a" is taken as "without a"