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.
When I try to copy anthing off of my samba server it goes VERY slowly. I can't even stream a movie over the network. When I copy things to it, it goes faster, but not nearly as fast as it should. This computer, which I'm tring to copy file from is amd64 and has samba 3.05 and the computer which I'm trying to copy files to is a Windows XP laptop. They both have 100mbit network cards. The one on this computer is onboard a Asus K8V Deluxe. I think it's using the sk98lin driver or something like that.
Here is my smb.conf
Code:
# Samba config file created using SWAT
# from 127.0.0.1 (127.0.0.1)
# Date: 2004/08/13 18:52:30
# Global parameters
[global]
server string = Samba Server %v
interfaces = lo, eth0
bind interfaces only = Yes
guest account = samba
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
printcap name = lpstat
preferred master = Yes
domain master = Yes
guest ok = Yes
hosts allow = 127.0.0.1, 192.168.1.0/24
hosts deny = 0.0.0.0/0
printing = cups
print command = /usr/bin/lp -d '%p' %s; rm %s
lpq command = /usr/bin/lpstat -o '%p'
lprm command = /usr/bin/cancel '%p-%j'
lppause command = lp -i '%p-%j' -H hold
lpresume command = lp -i '%p-%j' -H resume
queuepause command = /usr/bin/disable '%p'
queueresume command = /usr/bin/enable '%p'
[print$]
comment = Printer Drivers
path = /etc/samba/printer # this path holds the driver structure
write list = zac, root
guest ok = No
[HPOfficeJet6110]
comment = HP OfficeJet 6110 all-in-one
path = /var/spool/samba
printer admin = zac, root
printable = Yes
[printers]
comment = All Printers
path = /var/spool/samba
printer admin = zac, root
printable = Yes
browseable = No
[public]
comment = Public Files
path = /home/samba
read only = No
create mask = 0777
[homes]
read only = No
guest ok = No
[music]
path = /mnt/music
[movies]
path = /mnt/movies
[data2]
path = /mnt/data2
Try a search in the networking section of LQ there are lots of issues that people are have with slow connections in Samba Windows networks.
A fair amount of it seems to revolve around GB Ethernet drivers and certain kernels/mobo's. Also check to make sure you have all of the autoneg. bleck turned off and everybody's talking the same duplex and speed. Then checkout your packet stats and make sure your switch/hub/crossover cable is up to snuff.
If you dig around here a little bit you'll find a lot more info, these are just the rough edges. LOL
When I try to copy anthing off of my samba server it goes VERY slowly. I can't even stream a movie over the network. When I copy things to it, it goes faster, but not nearly as fast as it should. This computer, which I'm tring to copy file from is amd64 and has samba 3.05 and the computer which I'm trying to copy files to is a Windows XP laptop. They both have 100mbit network cards. The one on this computer is onboard a Asus K8V Deluxe. I think it's using the sk98lin driver or something like that.
Here is my smb.conf ............
---------------------------------------------------------------
You need to add a few other stanzas in the [global ] section
[global]
netbios name = <computer name>
load printers = yes
And then in the shared directories you will have to put
[share directory]
path = <directory path>
browseable = yes
writable =yes # or read only = yes
Perhaps the main reason why your samba connection is very slow is because there is no netbios name idendifying the samba server and having the shared directories without any options to browse is not very helpful either.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.