Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Server: Ubuntu Server Edition 8.04
/currently firewalled to only allow client ip
Client: Ubuntu Desktop 8.04
/currently firewalled to only allow server ip
Same userid and groups set up on on both.
I have taken two linux courses and can maneuver around fairly well, but am still pretty newbie at all this. We have loaded Samba on a server and created a Samba share. I AM able to access that share via Windows Vista, but have not been able to successfully mount the share on the Ubuntu desktop via the fstab file. I have tried the following ways:
After modifying fstab, I reboot. No luck since that either way.
Only ONCE after modifying it samba way, I was prompted to enter credentials, but after login I was unable to view the files on the server. From this point on either way, if I run commmand 'mount -a' the response is "Special device serverip:/path/sharedirectory does not exist"
Also! I am able to ping client-to-server, but not server-to-client. Is there something obvious I'm missing??
serverip:/path/shareddirectory /net ext3 user,sync 0 0 is for NFS, so lets get ride of that.
Then I would say,
1. Try it with smbclient. smbclient --help or man smbclient to see how to use it, pretty straight forward.
2. Check your log files. /var/log/samba/ or something like that, just look for the samba log files to see why it can't mount it when booting.
//serverip/sharename /net smbfs username=x,password=x < Do you have ,auto, in the line of options for that?
Sorry for delay, only small amount of time scheduled at work for this project. You are right, I didn't have the auto option - it's auto-mounting perfectly for me now. Thank you! I finally solved the server-to-client ping problem by correcting a typo in my client interfaces file.
I have read somewhere that you can add a 'credentials=[filename]' in the options area in fstab that would have reference to the username and password so it's not visible in fstab. When setting the security on that credentials file, what username gets the rights to the file so fstab can read it? Only the username that would need the mount rights?
Appreciate your support - helps us newbies to overcome our fear of the linux.