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.
Hello. I have a RedHat 9 box and a Win2000 box networked thru a router. Samba is setup with all the appropriate usernames and passwords (Linux username/password = Windows username/password = Samba username/password). I can connect to shares on both machines from both machines, but periodically the Linux box "falls off" the network. I have to reboot to make the Linux shares available again and to access the Windows shares from Linux. My smb.conf is below (I have changed some host names and usenames to protect the innocent). Also, I would like to check any relevant Samba logs, but I don't know where they are located. Thanks in advance.
# Samba config file created using SWAT
# from NAME (127.0.0.1)
# Date: 2004/05/16 10:13:19
# Global parameters
workgroup = WORKGROUP
netbios name = NAME
server string = Samba Server
encrypt passwords = Yes
obey pam restrictions = Yes
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully* unix password sync = Yes
log file = /var/log/samba/%m.log
max log size = 0
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = No
printing = cups
comment = Home Directories
path = /home/user
valid users = user
read only = No
create mask = 0777
directory mask = 0777
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
When your samba shares from linux become unavailable can you still get to your windows shares from linux? Also instead of rebooting next time try (as root) "/sbin/service smbd restart" from the command line without the quotes. This is assuming you are using Redhat9 as noted in your post.
Another thing ... My internet connection seems to do the same thing. If the computer sits for a while, I have to restart it inorder to be able to connect to the internet.
Also, when I CAN access the windows shares from the Linux box, when I try to transfer a large file of folder, the whole system freezes. It's very frustrating. I know I probably don't have everything configured correctly, but so much for Linux being so super stable!