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.
I decided to give samba another shot after hours spent configuring it (unsuccessfully). My systems:
windows system name: starling ip: 192.168.0.4 red hat 9 system name: sparrow ip: don't know
For now, all I want to do is mount a windows share. I am trying to do it with this command:
mount -t smbfs -o username=username,password=password //compname/sharename /mnt/share
I get this message:
17016: session request to STARLING failed (not listening on called name)
17016: session request to *SMBSERVER failed (not listening on called name)
My SMB.conf has:
my hosts allow: 192.168.0/24 127.0.0.1
workgroup name set to "WORKGROUP"
All other settings are to defaults ( i didn't change them)
Yes, I did smb service restart after editing it. Any other changes necessary?
I turned off my firewall (zonealarm) on the windows box. I enabled NetBIOS and LMHosts in LAN connection properties. NetBEUI is the protocol for file and printer sharing. I disabled the LAN-side NetBIOS ports blocking on my router. I made the share accessible by 'Everyone'. I usually try to keep all the netbios stuff locked down.
For the Linux box, the firewall setting is 'Medium' and I did not open up any other ports or anything. Also, I edited /etc/hosts and added the line:
You have written about the mount command which should also allow you to see the Windows shares at linux box. (to see starling shares by sparrow box). According to the message probably starling has no shares.
Next you have written about smb.conf. But this is used by samba daemons which allows to see Linux shares from Windows and has nothing to do with mount command.
And what is //compname/ ? //starling/ ?
Regarding the protocols probably you need the 'NetBIOS over TCP/IP' to be checked at Windows machine.
I just binded TCP/IP to "File and Print Sharing" on the windows box and it worked. It was previously only bound to NetBEUI. I had done this, including disable netbios, because I read that it was a good way to secure Windows. However, I do have ports 137-139 blocked on the WAN-side so I I think I should still be secure.