Ubuntu Networking :: Very Slow Samba Share Browsing From Mac
Jun 27, 2011
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 have Samba installed at home. It is sharing some folders through the network..
The problem is that I can access and map those shares with Windows machines... But if I try clicking on the linux server name in the folder tree in order to expand it and show every share available I get an error message saying that the server is unavailable and gives me this: "The procedure number is out of range".
I know the server is available as I can ping it and open the shares (if I type the full address). Is there anything to do with IPC$ share?
My samba seems to be mis-configured somehow. I had been using Ubuntu 10.04 and my samba browsing of my samba shares on my HTPC (running XBMCLive) had all been working fine. Then I upgraded to openSuSE 11.2 64bit. Great OS by the way!Ok so I chekced my other PC's running Ubuntu and going to the network folder I see my XBMCLive machine. Double click him and now I see my shares on that PC. So now I know its specific to my SuSE install.
Now on SuSE if I use Dolphin file manager and go to Network -> Samba Shares -> workgroup I dont see anything. And then down the bottom of the window I will see timeout error on workgroup. "workgroup" is the correct workgroup. All the services are running winbind, smbd, nmbd, xinit, swat. Firewall disabled.However when I try the above and I get the timeout error I then go to the address bar in Dolphin where it has smb as the drop down item and in the text field type in the XBMCLive PC ip address and hit enter. Then immediately I can see my shares!!! So it is working but I cant see my shares under Network->Samba Shares->workgroup.I notice in my samba error logs for log.smbd I keep seeing this;smbd_open_once_socket: open_socket_in: Address already in use
Browsing via SSH Tunnel very slow When browsing in firefox at work via proxy through ssh on my 8.04 server the speed is near dial up. I have compression enabled, tried restarting ssh, and rebooting the server but it remains so sluggish. At home the connection is quick but the speed is lost in translation once I ssh in. I also tried adding "UseDNS no" to the ssh config but that did not help with the slow login or any other speed issues.
my computer is very slow to view regular web pages, and generally fails to load them. It seems to be a problem specifically with webpages - I can work over SSH, use email, transfer files over FTP connections, with no noticeable problems, but any regular website (including this one) can take an age to load. This happens regardless of the browser I use (at least, it happens on Firefox, Opera, and Chromium), and regardless of wired or wireless connection (though admittedly I've not tried using a wired connection very much). As far as I can tell, it can also happen on any website. It is specific to linux - my computer is dual-boot ubuntu 10.04/Windows XP, and there is no networking problem when I use Windows.
I'm using wlan and I'm behind a NAT firewall. Downloading with BitTorrent can reach speeds of 1,5MB/s, but browsing is incredibly slow. Chromium/Firefox seems to hang forever on "connecting.." or "waiting for". Sometimes pressing the reload button will speed it up. I have two Ubuntu boxes and they are the same way.
I don't get it, if downloading is so fast, how can browsing be so slow. Yes I have disabled ipv6 in grub and in Firefox, don't know how to do it in Chromium. Have 64-bit Ubuntu. Cnet wlan card using rt61pci module.
I don't know if others are experiencing this but browsing is extremely slow in firefox after "upgrading" to ubuntu 11.04. I have not tried other browsers. Even checking for updates fails several times.
I had to re-boot to windows to post this thread and now it's working fine. It's been 3 days since upgrading and I've observed many times that there's no such problem in windows while I have to wait like 4-5 minutes and refresh many times to open a single page. Some sites like google are quicker though. I use firefox 4.0 both in ubuntu and windows. I didn't have this problem in 10.10 and it took me about 5 hrs. to download 1 GB upgrade packages.
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 have an Ubuntu Server 9.10 box running Samba 3.4.0. It has 4 shares, one of which is a CIFS connection to an XP machine, another of which is a password protected share. All the shares work fine and well. However, lately the client has called to say that "everything's hanging and freezing" when they browse the shares via Windows Explorer (approximately 30+ PCs on network, variety of XP, Vista and 7 OSes).
Not all users always experience the problem, and I remote in to test when I hear this via an XP machine, and today for the fist time I also experienced this problem - browsing literally sticks and hangs. No entries in PC's eventviewer. They are running on Netgear switches, all the same age, a couple of months old. A simple reboot and and everything's fine again for an indeterminable time, then I get another phonecall and an unhappy client on the end!
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:
I have installed ubuntu 10.10 and the Samba addon to configure my shares to my Windows terminals.This is what I got
Firewall off (utf disabled)
Internal Sata /dev/sda1 (EXT4 FS)
External USB HDD /dev/sdb1 mounted at /media/SG1500GB (EXT4 FS)
I have two shares
1. //home/test - Which I can see and access with no problems (can't write to it though even though I set the share as writable?, but, I can read from it). This is available to everyone. My windows terminal can see this folder and access it. This is on my main 80GB internal drive /dev/sda1.
2. //media/SG1500GB/Music. I set this up for everyone full access and I can see it at all my Windows machines but,I can't get into the folder. Windows keeps giving me an error stating network path not found.I also try to access it via the Nautilus (Places/Network/system/music) and get an error message "unable to mount location, Failed to mount windows share". This drive is mounted per the disk utility.
This something I have only experienced since the final install.I'm using a fresh firefox profile with NO extensions currently. The only change I have made is to disable ipv6 to see if it helped with the following problem. Browsing web pages is stupidly slow and much slower than I am used to.Downloading in firefox is normal and running at speeds I would expect.For example, I have downloaded several distro .iso's over the past two days and they have been consistently downloading at 1MB/s +This is only affecting browsing web pages and it's affecting all of them, even the basic google search page takes at least twice as long as normal.
I've just managed to access my windows share from Ubuntu but am now getting write speeds (to xp share) of only 9MB/s over my wired network, anyone have any ideas as to why this may be? I've googled but can find no specific answer.
My NIC is: Ethernet controller: Broadcom Corporation NetLink BCM5784M Gigabit Ethernet PCIe (rev 10) (from lspci) on a Dell studio 1737)
web browsing is going SUPER slow in my samsung N150 netbook with dual boot(win7/ubuntu10.04). Windows counterpart working flawlessly.
Into the details:
The problem is, i go into a website and it seems to renderize by chunks, ie i enter my favorite PC hardware forum and it is like this when loading: Processors...1sec....Vid cards....1sec...Memory...and on and on until the bottom of the page is reached. The normal behavior is: Click...forum loaded ,as on windows.
By default i use my wireless conection, but also tried wired one to no avail. Also tried it from the live cd and i have the same problem. Some sitess like google, gmail and ..... load normally(instantly). I've tried disabling ipv6 as adviced in several parts and had no results. I used the default firefox 3.6.6, firefox 3.6.7 and chrome with the same results.
This is the info for my wireless adapter just in case:
I have looked at other threads on this subject and am still confused. Several weeks ago I had issues with browsing taking forever to resolve a page. When I changed my router to Open DNS settings that seemed to fix the slows and when I replaced the Open DNS IP's with the Google IP's, things were even quicker. Now I am back to the slows but there is no resolution latency it's just a delay when clicking a link, nothing happens and then the page eventually loads but you see the ads write on the page after the text loads. It's just not snappy. My nsswitch.config looks like this:
# /etc/nsswitch.conf # # Example configuration of GNU Name Service Switch functionality.
I am running Jaunty 9.0.4. I used system-config-samba (gui) to configure Samba. I put myself as a user and tried to map the drive from my local PC. I am unable to map the drive. On windows, I try to connect using a different user and when I select finish, it prompts me again and adds my workgroup before my user name.
When I create a new folder on my ubuntu machine and share it with my windows 7 machine using 'net usershare add <dir> <path>', I can't get write perms in Win 7. It keeps giving me a "You need permission to perform this action'. I've chmod the folder to 777 but still no luck.
The funny thing is, it was all working fine until I tried to add a new usershare yesterday (Can't think what I've changed). I use this sharing method to share all of my development /var/www/ folders so I can work on them from my win machine.
I have had a few problems with my samba smb.conf, and it nuked and rebuilt yesterday. I'm fairly new to the Linux game, and this permissions problem has me baffled.
I have mounted a samba share on my desktop from a remote server (with smb4k). There I created a symlink to "/". When I open the symlink with konqueror it opens the right one (the root directory of the server), but when i open this link with the shell (cd rootfs/), then it opens my local root directory (of my host)... Is it possible to open the right link with the shell?
My desktop is now dual boot, Xubuntu 10.10 has been added to WinXP. The attached parallel printer works fine with either OS. When running XP I can share the printer with my two XP laptops without problem. I cannot share it when the desktop is running Xubuntu. Neither laptop can see the printer. However, if I open the desktop Samba config application, change any parameter, retype in the original parameter, both laptops can see and connect to the shared printer - until I reboot the desktop
I have two Ubuntu 10.10 computers and two Windows XP computers connected to my network. I cannot share files between the Ubuntu computers using samba. I keep getting the "Unable to Mount Location Failed to mount Windows share" error. I've tried the solutions posted by dmizer here and nothing works.Random true facts:I can successfully connect to folders shared on my Windows XP computers from either windows computer.I can successfully connect to folders shared on my Windows XP computers from either ubuntu computers.Neither of my windows computers cannot connect to folders shared on either ubuntu computer.Neither ubuntu computer can connect to folders shared by the other ubuntu computer.I REALLY need to get samba to work since I have other Windows computers on my network.
I have a Hitachi SimpleNET adapter (entry-level NAS device) on a Seagate FreeAgent 1TB external HDD (formatted ext3). The NAS device is connected over 100MB/s ethernet to a Netgear Wireless G router. All other devices connect using Wireless G. The NAS runs embedded Linux on an ARM processor and it runs vsftpd and Samba for file transfers.
If I transfer a large file using an FTP client the transfer maxes out at around 2.5MB/s. For my purposes that's good enough, especially considering the Wireless G bottleneck. If I transfer a file from a Windows 7 client (using samba) I get around 2.2MB/s. I know the CIFS protocol has more overhead than FTP and the difference in speed isn't that noticeable.Any combination of Ubuntu and Samba results in me getting less than 1MB/s. I've tried mounting it through Nautilus (GVFS) and /etc/fstab. FTP from this same Ubuntu client gets around 2.5MB/s.
I don't have root access on the SimpleNET to change the smb.conf. I've made a few adjustments to the mount options with no success. how to either speed up 10.04 as a Samba client or mount a folder on an FTP server locally? I've tried both curlftpfs and FUSEFTP. With curlftpfs any write operation results in an I/O error and it crashes intermittently. With FUSEFTP I never got that far and couldn't even browse the folder.
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
ServerA has an NFS Mount to ServerB at mount point /home/qlogger/logs
I can cd to /home/qlogger/logs on ServerA and see the contents as they would be on ServerB (NFS Working with proper permissions rw).
I have a samba share setup on ServerA to share the NFS Mounted Directory (/home/qlogger/logs)
I connect with my windows host and am able to view the files and folders. I can create folders just fine however; when I go to copy a file from the windows machine to the samba share I receive a message saying the file is locked.
I have disabled oplocks in samba and the problem still persists.
so i found an older computer i want to play with as a file server. ubuntu server edition, installed gnome GUI (to make things easier for now, i plan on removing it later) and used [URL].. to configure my 1.5tb harddrive so my windows machines can access it. i had everything working but than a fatal crash made me start from scratch (os and all) now i am unable to access the samba share from a machine running windows 7, but i can access it from a machine running windows XP using the same login and password i set up for windows 7.this makes me believe it's a problem with windows 7 and not samba.