You are not logged in.
Pages: 1
Does someone has an idea, what (was) wrong with these smb.conf files?: older not working: http://pastebin.com/m5378791e
and the newest one:
[global]
workgroup = MUNKACSOPORT
server string = Samba Server
security = share
hosts allow = 192.168.0. 127.
load printers = yes
guest account = nobody
log file = /var/log/samba/%m.log
max log size = 50
interfaces = 192.168.0.1/24 127.0.0.0/8
bind interfaces only = true
[homes]
comment = Home Directories
browseable = no
read only = no
[MEDIA]
path = /media
guest ok = yes
read only = no
I tried bind address yes instead of true, tried bind address yes, and eth0 lo as interfaces and tons of permutations of these, but I could only download from windows machines at around 60kb/sec and upload around 120 kb/sec
Samba worked on other distros, with 6-7MB/sec on both computers, which are now works with these dumb slow speeds. If I unplugged wan from router, then first this speed was kept, second I could only browse but not to dload
And are there any other config files effecting samba, and samba's client files? I thought for example resolv.conf, which resolves nameserver as T-Online's DNS first and second is 192.168.0.1 (my router), but pinging other hosts in the house shows the short straight way: 0.300ms (ping to DNS is 20ms)
Computers I want to give access: 192.168.0.100-192.168.0.199
I used even almost exactly the same config file whgich is here in arch wiki.I'm playing with this in the past 8 hours, I couldn't even sleep well, and nothing works, and I need my speed. Plz help! And please try to find something which was automatically set up an else way on other distros!
Offline
You're missing "socket options = TCP_NODELAY" which I have found speeds up xfers. Here is my /etc/samba/smb.conf if it helps you:
;[global]
load printers = yes
guest account = nobody
name resolve order = lmhosts host wins bcast
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n .
socket options = TCP_NODELAY
preserve case = yes
obey pam restrictions = yes
encrypt passwords = true
passwd program = /usr/bin/passwd %u
dns proxy = no
printing = bsd
server string = tower
invalid users = root
unix password sync = false
workgroup = titgroup
syslog only = no
os level = 20
printcap name = /etc/printcap
syslog = 0;
security = user
panic action = /usr/share/samba/panic-action %d
short preserve case = yes
max log size = 1000
[homes]
comment = Home Directories
browseable = no
read only = no
; File creation mask is set to 0700 for security reasons. If you want to
; create files with group=rw permissions, set next parameter to 0775.
create mask = 0700
; Directory creation mask is set to 0700 for security reasons. If you want to
; create dirs. with group=rw permissions, set next parameter to 0775.
directory mask = 0700
[share]
comment = RAM disk
writeable = yes
valid users = life
path = /dev/shm
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
well then you don't use a router, do you?
Offline
Yeah, I'm behind a router..?
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
mnoment, I'lll try this, thanks
Offline
Well I have the same problem with your config file (the browsing is faster a bit, but from both computers 50-120kb/sec is still the speed) Maybe it's not smb.conf related. Anyway do you use gnome or kde? I'm using only kio, and mybe gvfs would solve this problem, but I wanted a very non-gnome system. Anyone has any ideas, that which packages and other config files can slow down samba shares on both up and download (and up and download doesn't go through internet). May I try NFS or localhost-optimized ftp server instead? And for example for movies: may I create an mms or rtcp server for mplayer on a Windows machine? Or will the windows mplayer open a file from an ftp server, and won't download it before? The best would be if somone would have an idea, what can modify transfer speed, which is not smb.conf, and why it worked well on 4 other distros.
Offline
Pages: 1