Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi everybody!
I have an awesome problem with my Samba server. 2 days ago I installed RH7 on an old computer at work, since I thought it might work as an extra fileserver. Well, I read tons of man-pages and managed to get Samba up and running. But not too good though. If I ping it, I get some 20-60 % packet loss, both to and from the RH box. My colleague says it isn't a physical problem, since he claims it worked perfectly with the former Os(win98).
I can do a net use to my Samba resources, but if I try to browse any folders the NT client crashes. If I do a "tail -f" on my computers logfile I get a lot of messages about the connection being opened/closed to my computer quit frequently, and weird one ssaying "call_nt_transact_ioctl:currently not implemented" and "read_socket_data:recv failure"
Does anyone know what this is all about? i did the "testparm" on my smb.conf and it went smoothly??
Regards!
P.S: I tried 3 different swedish discussionforums but so far, no success :0(
Hi
I can't really help you, but this sounds similar to my Win98 crash scenario posted yesterday, though packet loss shouldn't have anything to do with Samba. When my win98 machine crashes, it sometimes says the network resource is unavailable, or word says there is file corruption. Maybe packet loss is to blame. Only reply I've had so far is to suggest windows profile problems, but everything that needs to be shared seems to be. Can you open docs at all? I can open one with no problems -only crashes on subsequent attempts.
If I get any replies to my other post, I'll let you know.
Regards
Jim
Like Jim I don't think your pinging packet loss has anything to do with Samba. To test it stop samba and then try pinging again.
I found a great site for setting up samba, http://www.phonax.com he has sample config files that are VERY easy to understand and edit. I would say 80% of my samba knowledge comes from playing with those files and see what effects it has.
I learnt HEAPS and now my samba.conf file looks nothing like his samples but I could not have done it without them.
I just can't get my head around most of the man pages and HOWTOS so I don't bother any more. I just search the internet cause someone else would have asked any question I can think of.
Looked at the link, thought about it, tried changing WINS server settings, nmb non functional. Returned to previous settings, working again, just. Seems to me that it's just incredibly slow, and that wincrap gets bored and hangs. However, it strikes me as abnormal for software used for commercial servers to be this slow. I undoubtedly need to redo my config--- at present have setup with guest access as I struggled to figure the password scenarios. Maybe that's it. Will devote some time to it when I've finished my research crap. In the meantime, all bright ideas appreciated
Jim
Hi
Decided research was too boring for Friday, so playing with samba. I'm convinced this is a password problem, testparm on both systems shows connection denied (I'm sure that didn't happen before), and log files all seem to point in that direction. I originally got things going using the NHF at linuxnewbie.com, using guest access only. I'll tinker away and see if I can fix it.
Jim
Update
Tinkered and set up proper user logins. Win machine crashes when accessing files, explorer dies, whole thing locks up and have to use the power switch to reboot. I reran testparm on my smb.conf, which now says connections allowed to both machines.
smb.conf looks like this
# Samba config file created using SWAT
# from jimslaptop.42strathmore (192.168.1.2)
# Date: 2001/04/27 12:48:21
# Global parameters
[global]
workgroup = 42STRATHMORE
server string = Samba Server
security = SHARE
encrypt passwords = Yes
log file = /var/log/samba/%m.log
max log size = 0
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
os level = 60
preferred master = Yes
domain master = Yes
wins support = Yes
printing = lprng
[printers]
comment = All Printers
path = /var/spool/samba
guest ok = Yes
printable = Yes
browseable = No
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.