Networking :: Slow Interaction Between Ubuntu Samba And Xp?
Nov 18, 2010
slow interaction between Ubuntu samba and xp.I have a and Ubuntu server with samba and many xp clients, they complain because the time to open a file is to long, even to open a directori to see wich files are on it
I'm running Mac OS on a home network that includes a Win 7 machine and a Ubuntu box (Ubuntu 11.04 (GNU/Linux 2.6.38-8-generic i686)). Connecting to, and browsing the shared drives I have on the Ubuntu box (which acts as my server) is extremely slow from the Mac, it seems that the icons especially take ages to load. I've found a few suggestions on the net that I've implemented to no avail i.e. socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=65536 SO_SNDBUF=65536 Are there any other settings I should play with, or is there an alternative to samba that will work faster on a mixed network and be compatible with everything?
I am running Samba on a debian Lenny box on a wireless home network. I find that file transfers to the samba share are very slow. It takes over a minute to copy a 40MB file to the linux box, but only 20 seconds to copy the same file to a windows XP box on the same network.
Anyways, I could use a little direction on how to proceed with this, I'm really not sure where to start,
I'm trying to set up a fileserver on my 10.04 machine, and access the files from Windows 7 via wifi. I can see everything alright, but the transfer speed to Windows never gets higher than 70KBps. Both computers can access the web at 800+KBps. I've also checked with an OS X machine on the same network, which was also extremely slow, so I'm fairly sure that the problem is on the server's side.
Samba doesn't seem to disconnect on shutdown except by timing out, causing a loooong Lucid shutdown. (I can disconnect manually before shutdown by unmounting the Samba shares, and shutdown is then very fast.) Apparently Network Manager is somehow involved. I've installed a NM shutdown Samba script which works for the first user account, but not for the second user account (which was created and then put into the admin group).
I have installed Red Hat Eterprise Linux as a Guest OS using VirtualBox on the Host OS Windows XP SP 2 on my PC. I want to access my local / intranet web site from this Guest OS which is running on the top of on Windows XP, the Host OS. I am not sure as to what IP Settings I need to do. Though I am able to access Internet from both the OSes. The IP of this Guest OS is:
I have installed Microsoft Self Loop Adapter (Autoconfiguration IP Address: 169.254.25.129) on the Host OS Windows XP. There is another adapter: VirtualBox Host-Only Network whose IP Address is: 192.168.56.1. So, how can we access intranet web site from the Host OS to Guest OS and vice versa. I also want to access this virtual Red Hat machine /console from within windows XP using PUTTY application. From Windows XP the Red Hat machine is pinging. But when I use the IP to access the machine through PUTTY it doesn't work.
I had a F14 samba server working flawlessly now for a quite time. Unexpectedly about a month ago the write speed slowed down around 64kbit/s and that's really slow. I haven't changed any configs, only updated the server. I've troubleshooted this from many angles: -It is not a network issue because sftp writes are good. -It is not a RAID1 issue because write speed from another directory (locally) are good. So basically samba is the only thing left.
Here's example from smb.conf: [MyShare] comment = My share path = /mnt/RAID_share writeable = yes browseable = yes writelist = +smbuser
Here's a snip from logs today: [2011/08/04 09:04:27.509273, 1] smbd/server.c:267(remove_child_pid) Scheduled cleanup of brl and lock database after unclean shutdown [2011/08/04 09:04:47.526336, 1] smbd/server.c:240(cleanup_timeout_fn) Cleaning up brl and lock database after unclean shutdown [2011/08/04 09:17:57.634660, 1] smbd/server.c:267(remove_child_pid) Scheduled cleanup of brl and lock database after unclean shutdown [2011/08/04 09:18:17.635196, 1] smbd/server.c:240(cleanup_timeout_fn) Cleaning up brl and lock database after unclean shutdown .....
I have several linux laptops and a desktop-server running Ubuntu Lucid. I also have Android(tm) and iPhone(tm) devices. All of these connect to my at-home LAN using wireless or wired ethernet through my home-LAN router+gateway and on through the cable modem. In addition, printers are network capable and deployed on the same at-home LAN. All of that works.
Now I want these various and several computers to share files and services (web, print, media) with each other and interact with each other on this same at-home LAN. Can someone point me to a HOWTO or similar application notes that discuss what I need to do? Since all of the at-home LAN devices use DHCP and get dynamic IP addresses, any /etc/hosts files that I create stop working when leases renew. I can configure "fixed IP address" settings, but then wifi roaming is a royal pain in the anatomy -- at least the ways I know how to do this.
I can use the router+gateway to give a specific IP address to each hardware (MAC) address, but then when folks visit it is irksome to setup so that we might give or get the odd file or they might print the odd document. I vaguely remember that there was a way to generate dynamic "local network" host names or similar attached to dynamic "local network" IP addresses all under the control of DHCP-server and supporting utilities. I'm dashed if I can find anything about that other than really antique details. Once folks stop laughing at what I'm certain is a totally noob question, I hope that there is a solid HOWTO that just works out there and that some kind soul will tell me where to find it. I apologize in advance if this question has been asked and answered in the past. One must know enough to know what to search for and get meaningful results. ~~~0;-/
Since "upgrading" (ha!) to lucid I have had a number of problems that I am working my way through. The latest is accessing samba shares from a Win7 PC. It takes minutes to open the requested share from the Windows 7 PC. File transfers, once the directory is accessed, can be measured in bytes. It is an absolute trickle.
AFAIK the smb.conf is unchanged and, in any case, there is no problem accessing the shares from another linux PC.
When i try to copy files from my samba server (Ubuntu 9.10) to my windows seven media center, the speed is extremely slow. So slow that is better to download 100mb file from the internet, than from my lan. And on my lan, every card and switch is at 1000 mbps speeds on cat5 cables. And from XP or other linux machine
It takes 45min to transfer 10MB from my laptop to my replacement server. It takes 1minute to transfer the same 10MB from my laptop to the old server.
All connections are equal. Both servers are plugged to the same router.
Details: I have decided to migrate away from my Proliant 1600 to a slightly newer less complex piece of hardware.
Both machines are LAMP installs. Both are setup to be maintained headless 99% of the time and gnome is launched from the command line only when it is needed.
The older machine has more things running on it than the replacement. The replacement has nothing running that the older machine does not have.
Old box runs Ubuntu 6.06 but was fully updated a month ago. Replacement box runs Ubuntu 10.10 and was fully updated just last night.
smb.conf was the same on both boxes other than the share locations. Reading trying to fix it myself, I did put some known speedup lines into the new box's smb.conf, but it did not make a noticeable difference.
Hardware: Old box, Proliant 1600 = 1998 small server tech. (weighs 50lbs w/o drives) single 500mhz xeon (upgradable to 2 600mhz, though they are hard to find reasonably priced) 1GB SDRAM with ECC
It does not matter what share/drive/partition I transfer to on either machine. The result is always the same.
On the newer computer CPU usage rarely goes over 50% and it has not had to go into swap at all yet.
I have a fileserver running 10.04 server 64bit and samba. I connect it to my desktop which is 10.04 desktop 64bit.I have the server mounted on my desktop in fstab as://10.0.0.2/share /media/share cifs guest, uid= 1000.Up until 30 June 2010 it was all fine. Now when I write the server it is very slow e.g. 2Mbps though when I read I get >100Mbps so I think my network is still ok. If i use nautilus smb://10.0.0.2/share I can write at >100Mbps and also read at >100Mbps...So any ideas why the write speed via the fstab mount samba has started to go really slowly in the last couple of days?
I am currently running Fedora 14 on an x86_64 system that acts as a whole house server for named, dhcp, nfs, nis, htpp, samba, etcMy issue has existed for a few years and I am just now getting around to posting about it.I have a simple samba configuration for sharing files to a windows VM on another box.Here is the config:
[global] workgroup = NERD server string = Samba Server on NERD
I've done this a million times, so sure it is something simple. I just set up a file server with three drives. One is small and faster that houses all the system files. Then the other two are slower but larger (WD Green: variable 5,400-7,200 RPM) drives in RAID0 then encrypted using Blowfish 256-bit. Hence the performance double then hit below in the buffered reads.
Let me introduce myself, my name is Carlos Alegría from Chile and I'm System administrator for a educational Institute. We use samba+ldap, for login accounts and file sharing but we not use samba with PDC.
Long time ago at the 2009 year, I was Installing the same system and this worked perfectly. But on our summer the hard disk of server has broken, so i was need installing all the system again. So the problem is with SAMBA, when i connect to the network resource, this is to slow, and when i try transfer files are slow.
My sistem is on Debian 8 Jessie and the Samba Version is 2:4.1.17+dfsg-2+deb
Code: Select all[global] workgroup = LABORATORIO netbios name = Shinigami server string = debian
1. When I'm not logged into the server, only the shares are visible on my Windows computer. Clicking on the share folder displays an error message. As soon as I log in at the server, the files within the shares become accessible on the Windows box.
2. File transfers between the machines are extremely slow. Watching the system monitor, there's a brief burst of network activity followed by 10-30 seconds of nothing...on a gigabit network, the effective transfer rate is ~120kbs. There's no other network activity going on that would account for this behavior.
I had to get a new workstation and its Win7-64. I found out that my Palm TX will not work on their or is supported by the manufacturer (unless u have bluetooth, I dont). So I have been trying to get it to work on my Debian. Using "Palm Devices" "Gnome-Pilot" connects fine and backs up but I dont see any kind of GUI like Palm Desktop. So I still cant work with my palm or install software etc.
Here is what I have. Everyday I go to 8 websites that require entry of a username and password. When I've logged in, I select exactly the same info using the sites navigation and specify a report generated by the site. I then tell the site to save as an excel file and save it as an existing spreadsheet, 8 times for eight different files
How can I make this more direct? Can a script be written that provides username and password, selects the parameters I want, saves the spreadsheet and goes to the next site to repeat the process and save under a different name?
This would be used in a Windows XP/IE 7/corporate environment.
As homework for my study I have to do some kind of browser GUI to send commands to mysql command line tool and to show the output in the browser. I already set up sudo to have the right permissions for the www-data user. In the php documentation I found that one of the following four commands are probably for tasks like mine.
exec passthru shell exec system
Can anyone tell me which one is the best for my requirements? The idea is to use php from the browser to connect to mysql like on the command line with: "mysql �user=username �password" And then give back the output of the command line to the browser. If the above is working then the next step would be to put a link in order to execute the command �show database;� again through php by clicking that link. After clicking this link it would give back to the browser what the command line would display.
I have set up a file server (Ubuntu Server Edition) for our lab. People can connect to common Samba file shares from their personal laptops/desktops, which run either Windows Vista or Mac OSX. The guys with OSX have upload/download speeds of ~2 MB/s, while the Vista machines are slogging away at ~200kb/s for downloads and ~400kb/s for uploads. In both cases, the connection are through wired ethernet ports which should function identically. Since the Macs work fine on the same network, I assume this is a Vista issue.
I have tried troubleshooting one of the Vista machines by: 1. Turning off the Remove Differential Compression feature 2. Disabling autotuning following these instructions 3. Adding a registry key following the same link above.
But nothing has improved. Anybody have any advice on addition tweaks to the Vista machine? Is there a chance that this is actually a server-side/samba issue?
I'm attempting to replace gnome-panel with cairo (also called glx dock), but I'm noticing some strange interaction between cairo and compiz. I have the Window Previews compiz plugin enabled, but the cairo dock only previews the window when the window is already visible on the desktop. If the window is minimized, the plugin doesn't seem to work. Have I missed a crucial configuration option somewhere? I'll attach some screenshots to try to clarify the problem. Notice the placement of the mouse over the left-most icon on my dock in both screenshots.
I'm having a strange problem with data transfers between systems. I have a file server + my desktop. Both are running Debian 8.3. I have a samba share running on the file server and I mount the shares on my desktop on boot via /etc/fstab
When I copy a file using the nautilus from my home folder (on my HDD) on my desktop to the mounted network location, my transfers start out at gigabit speeds 80MB/s-90MB/s for a couple seconds and then drop down to about 8MB/s
But when I terminate the transfer and then use scp to transfer the same file, I get consistent gigabit speed throughout the transfer. I am not sure what is going on.
I want to use samba for file sharing like on a Windows home network. Actually they are all Linux machines but nfs is too complicated. On my host machine I installed samba and system-config-samba. I created a new share for /home, check marked writable and visible and put access to everybody. For preferences-->server settings--> security the "authentication mode" is set to user, encrypt passwords is no, and guest account is no guest account. Under preferences-->samba users I added myself as a user with the same windows user name as my Linux user name and the same password.
My client is a virtualbox fedora (used for testing purposes but actual clients will be real computers on my home network). I entered the address smb://192.168.1.184. When asked for the user name and password I put my regular user name and password since that was what I set in samba users. However, the password dialog keeps coming up and won't let met into my own computer. If I quit it says something like access is denied. How can I get my home network back? I liked this feature when my home computers ran XP but I switched them to Fedora 12.
Is it somehow possible to boot a Linux operating system from an encrypted filesystem/disk without having uesr interaction? Background: I am preparing a VmWare Image for shipment to a customer. This image contains sensible data. The only access granted shall be via an apache server running from inside in the image.
This has been raised as redhat bugzilla bug 583054 - seeI am posting here in case anyone else has dealt with a similar problem. In brief, I have a print server running Fedora 12/CUPS dual boot WinXP. The attached printer is a Canon BJC-4100. When the server is booted in F12, it takes over a minute for a networked Fedora 12 box to bring up a print dialog, or for the printer to start after a page has been submitted. When the print server is booted in WinXP, printing is immediate.
Tim Waugh identified the problem in the CUPS Troubleshooter output: 'D [10/Apr/2010:09:00:20 +1000] cupsdNetIFUpdate: "lo" = localhost:631', 'D [10/Apr/2010:09:00:37 +1000] cupsdNetIFUpdate: "eth0" = 192.168.0.199:631',
Is it possible to get user interaction in these scripts? They are for batch processing is my belief so perhaps not, but I would like to make a function whereby I can click it, a selection box of an exact size appears, I then place the selection box and press something, a new file is born. Is this possible?
Start>Run>\192.168.0.1storage gives me "The specified network password is not correct." It lists my domain as "ANTEC" which is the name of my computer, though I've changed the workgroup to WELLS. I've run: