Odd LAN transfer speeds varying on platform initiation...
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.
TCP setting on Windows and Linux could cause the issue. Following link tell you how to tuning TCP setting on Linux. You should pay attention on congestion avoidance algorithm and timestamp. http://thesimplecomputer.info/advent...-tuning-page2/
I have disabled time stamps and increased TCP windows previously with no change in throughput. I don't think it is a TCP setting issue, at least I hope not. Maybe the RTT is large enough I didn't set them properly.
mount -t cifs //windows/share /media/windows_mountpoint (create a mount point of your own choosing)
P.S I believe that Thunar also uses gvfs which could be the same reason why it is slow.
Ok, i'm working on this now. My linux box isn't resolving shares by name right now since it is on bcast. is it ok to use IP such as "//ip of windows machine/share"?
EDIT: I'm trying to use IP instead of computer name but it isn't letting me access the folder. the windows share requires user/pw and I think the terminal is trying to use "root" as the username instead of the correct username. ARg...
Also, what is the best way to setup this network? Do I need to setup the linux box as a WINS server and direct all windows machines to it? Does it matter?
My machines are DHCP so this mount command I'm using right now is only temporary. The windows machine also goes on and off a lot so I don't want the mount always connected. Is there a way to set cifs as the default method when mounting a network share through Thunar or something? I'd like to not have to do the command line mount every time I need to send files.
Also, this command only gives me read access to the windows share. how do i get write access?
WINS in a nutshell is a centralized netbios "DNS". linux can not automatically map netbios names to IP addresses so it would be the easiest method vs using a real DNS. Assuming you are using a typical home/SOHO router you could always configure it's DHCP server to provide the same IP for a particular MAC assuming it has that capability.
I do not know if you can change the built in smb client to use mount.cifs.
Check out autofs. It is designed to automatically mount shares on demand.
Try using the options file_mode=0777,dir_mode=0777 for read/write access.
If you want to hide the username,password from world view you can use a credentials file.
As I tried to describe in my other posts you are using two different clients to talk to the windows box i.e. mount.cifs vs the file browsers gvfs. gvfs it appears has some bugs.
With WINS setup properly, I should be able to ping a PC by name instead of IP, correct? I know this is possible but not sure what all I need to do so that linux resolves by name instead of IP. My router DHCP is configurable, but I prefer not having static IPs for my own silly reasons.
I have done all that. The win7 box shows up in my wins.dat file. So my WINS server appears to be working but i cannot ping the win7 machine by name, just IP. I have searched and can't figure out what setting I'm missing.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.