Ubuntu :: Automatically Mount Two Shares From Windows Vista SP2 Host - Error - 112

Jan 30, 2011

I'm running Ubuntu 10.04 on a VM and I'm trying to automatically mount two shares from the Windows Vista SP2 host. Currently this is failing with the message "mount error(112): Host is down".

I recently upgraded VMWare Server. Before the upgrade I was able to mount shares without a problem. I can still mount shares on the host using the builtin "Connect to server" feature in Gnome. The problem I'm running into is mounting shares via the command line or via fstab. The relevant lines from my fstab are below.

Just a couple notes: the IP address of the host is static on the virtual network, so using the IP address as the server name should not be an issue. Also, I am able to ping the host fine (which obviously must be true for me to mount using the Gnome feature).

View 2 Replies


ADVERTISEMENT

Ubuntu Networking :: Get Lucid Connected To An SME Server 7.4 To Automatically Mount Windows Shares?

May 4, 2010

I have beating my brains out trying to get Lucid Lynx connected to an SME Server 7.4 to automatically mount windows shares. The winbind stuff seems to work okay after I installed a restart script in /etc/network/if-up.d (kudos to OsGnuru & bobpaul for that) There is a short wait on network up before winbind can validate but that is not a show stopper. I have looked at (what I think) is the correct log for pam_mount and it seems to be running through to the end process okay. It looks like it is either not reading the pam_mount.conf.xml file or I have not configured it correctly as it just reports "No Volumes to Mount". I have appended the log file, pam_mount auth, password, session & common conf files as well as the pam_mount.conf.xml file for review.

View 1 Replies View Related

Networking :: Samba Can Mount Some Vista Shares But Not Others?

Jan 30, 2010

I'm having trouble setting up samba to work with my vista machine. Whenever I try to mount certain shares I'm getting error 13- permission denied. Specifically, I'm trying to mount my entire C: with this command at the console:

mount.cifs //windows_box/C$ /mnt/windows -o username=tyler,password=****

I've also tried:

mount -t smbfs
mount -t cifs

The funny thing is that I CAN mount some other shares, but not all. My distro is slack-current. I've been following as many relevant threads on this issue for a while now and have tried as many of the suggestions as I could understand, but it's getting to the point that I've lost track of what I've tried and what I haven't. Things I have tried:

Checking permissions on the shares: seem to be ok
enabling encrypted passwords: not sure if I did it right.
editing the registry for LmCompatablity

[code].....

View 8 Replies View Related

Ubuntu Networking :: Automatically Mount NFS Shares Without Autofs?

Jan 24, 2010

Setup clients on a LAN to automatically mount NFS shares whenever the fileserver is up, without using autofs. Instead a simple bash script which checks if the server is up, and if the shares need to be mounted or unmounted is called by a custom upstart job. For a small office or home network populated with Unix-like computers (e.g., a few Ubuntu desktops or laptops and a fileserver), NFS (Network File System) is a good way to share storage space and centralise the backup of important documents. However, having a fileserver running 24/7 is often overkill for such a setup.

One way to have clients mount NFS shares automatically when the fileserver is turned on, is to use a package called autofs. Unfortunately, there are a few unresolved issues with using autofs in combination with NFS. In my case, when autofs tries to mount NFS shares when the fileserver is turned off, the Gnome desktop, and Nautilus in particular, becomes extremely unresponsive, regardless of the options used. Attempting to mount the share manually from the command line when the server is down however, does return a message of failure quite promptly, without hanging the desktop.

To solve this issue, I wrote a simple bash script that is run through the upstart system. The script simply checks if the fileserver is up, if the shares need mounting or unmounting, and then sleeps for a while before checking again. This works out quite well, so I decided to share this information in case someone else runs into these issues. PrerequisitesThis howto assumes that you have an NFS server set up with shares exported, and one or more clients capable of mounting those shares. For more information on setting up NFS shares and mounting them on a client from the command line, see: SettingUpNFSHowTo.

Clients should be able to ping the server to determine if it is running. Naturally, you need administrator access on the clients to install the script and upstart job outlined below. This script assumes that the directory paths of the shares match the location where they are mounted. In my case, the fileserver has two shares: /media/Storage and /media/Backup. On the clients these shares are mounted on the same paths. If your setup deviates from this, the script needs some modification. The script From the desktop of one the clients, paste the following bash script as a new file in your favourite text editor:

Code:

#!/bin/bash
# The hostname or IP-address of the fileserver:
FILESERVER="myfileserver.local"
# Check every X seconds (60 is a good default):

[code]...

Now adjust the FILESERVER variable. In this example, my fileserver is called myfileserver. By default, Ubuntu sets up your networking environment in such a way, that computername.local can be used to reach that computer over the local network, so the network name for myfileserver is myfileserver.local. Of course, you can also use the IP-address of the server. Next, change the MOUNTS variable to match the NFS shares exported by your NFS server. MOUNTS is an array; multiple entries are separated by spaces. So if you have one share exported as /media/MyShare, that line would look like this:

Code:

MOUNTS=( "/media/MyShare" )

An advantage of mounting shares in /media, is that they automatically show up as mounted drives on the user's desktop. Note that this howto assumes that you use the same paths for the share on the server and client side! Save the script to your desktop with an obvious name. In this example we call it mount_my_nfs_shares. Open a terminal and cd to the desktop. Make the script executable by calling:

Code:

chmod +x mount_my_nfs_shares

Next, move it to a place where it can be called by our upstart job, but also from the console to test. A good place to put such custom executables is /usr/local/bin.

Code:

sudo mv mount_my_nfs_shares /usr/local/bin

This script uses the logger command to tell the system's log what it is doing. To test this script, open up two terminals; in one, execute the following so we can monitor the log messages:

Code:

tail -f /var/log/syslog

In the other, simply execute mount_my_nfs_shares. If the script works, your shares should show up on the desktop and the computer:// location in Nautilus. If the fileserver goes down or becomes unreachable, the shares should disappear, and reappear when the fileserver comes back on-line. If this works, move on to the next step. Installing a custom upstart job The next step is to have the clients automatically run the above script when they are booted. We can use upstart for this. Create a new text file, and enter the following:

Code:

# mount_my_nfs_shares - mount NFS shares on fileserver, if present
description"Mount NFS-shares"
start on (filesystem)
respawn

[code]....

How the script works The script enters an eternal loop and keeps checking if it can reach the fileserver once every minute (unless you adjust the INTERVAL variable). If it can reach (ping) the fileserver, it checks if the mounts are already mounted by searching for them (grepping) in the output of mount. If they are not mounted, it tries to mount them. Else, if the server is down, it looks in the output of mount to see if these mounts exist. If they do, it tries to unmount them with the -f flag (useful for unmounting unreachable NFS shares).

View 9 Replies View Related

Ubuntu Networking :: Using Samba Shares On Windows Vista

Feb 27, 2010

I setup shares on a fresh install of Ubuntu 9.10 via the shared folders application from here: [URL]. The shares are visible on my vista laptop but when I go to open them I get an error "you might not have permission to use this network resource". I set the smbpswd to nothing via the method in the above article as well and my /etc/samba/smd.conf has the follow lines:

[300]
path = /media/Secondary Storage
available = yes
browsable = yes
public = yes
writable = no

[500]
path = /media/New Volume
available = yes
browsable = yes
public = yes
writable = no

View 7 Replies View Related

Fedora Servers :: Samba Shares And Windows Vista - Cannot Authenticate

May 22, 2009

I had an older fedora box (I think it was Core 3) that acted as my file server in my small network (4). It worked fine when I had all XP clients connecting to it. Recently we decided to get all new computers. So now I have a fedora 10 box acting as my file/print server and all Vista Home premium computers as the clients. For the life of me I can not get samba to work. When I try to map the network drives on windows it will not let me authenticate. I install swat and try it that way, still no luck. Here is a copy of my smb.conf file:

Code:
# Samba config file created using SWAT
# from UNKNOWN
# Date: 2009/05/19 21:47:31

[global]
workgroup = AIVILANET
server string = Bighat Samba Server
interfaces = eth0
null passwords = Yes
smb passwd file = /etc/samba/smbpasswd
passdb backend = tdbsam
username map = /etc/samba/smbusers
syslog only = Yes
announce version = 5.0
name resolve order = hosts wins bcast
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=8192 SO_SNDBUF=8192
printcap name = CUPS
wins support = Yes

[HP-LaserJet-1200]
comment = HP LaserJet 1200
path = /var/spool/samba
read only = No
printable = Yes
printer name = HP-LaserJet-1200
oplocks = No
share modes = No

[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No

[home]
path = /home/savona/
username = savona
valid users = @Users
admin users = savona
write list = savona
force user = savona
force group = savona
read only = No
hosts allow = 10.0.0.2

View 8 Replies View Related

Ubuntu :: Auto-Mount The Windows Shares?

Jan 11, 2011

Im setting up a Mythbuntu box as a HTPC, and I want to be able to stream my media from my Windows box to the Mythbuntu box. I got the windows shares mounted fine, everything works. But I want them to auto mount so I modded my /etc/fstab file to mount the share. The problem is the Mythbuntu box uses wifi, and during boot the computer can't connect to the Windows box, and it hangs on

Quote:

Error while mounting /blah/blah/ press s to skip or m for manual recovery and I am planning on not having a kbd hooked up to this computer once it is done.

1) Is there a better way to auto mount Windows shares - one that does the mounting after the computer is booted up? Furthermore, the Windows box may be off, so I want it to just skip the mounting on error.

2) Right now when I mount the share, I have to specify the Windows computer by its IP address. If I do it by PC name, it doesn't work, says it can't find the computer. Is there a way to mount using the computer name, so that if my router decides to give the windows box a new IP I wont have to reload everything?

View 1 Replies View Related

General :: Can't Mount Windows Shares By Name, Only IP?

Apr 4, 2011

I'm mounting a Windows share using the following in Ubuntu: mount -t cifs username=MYUSER,password=1234 //192.168.1.5/myshare /mnt/windows_share


This works fine, but I would like to mount the share using the computer's hostname, not the IP. I can ping the hostname fine, but I mounting using the hostname instead of the IP does not work. The share cannot be found.

In Windows, I can access the share as \COMPUTER\myshare, and using Nautilus in Ubuntu, I can connect to //COMPUTER/myshare, but I can't use the name in the mount command.

View 1 Replies View Related

Ubuntu Networking :: Cannot Mount Windows Network Shares

Feb 13, 2010

I am trying to share files on my Windows XP Home machine over my P2P network to my Ubuntu netbook. The folder I wish to share is configured in Windows with public permissions. I go to the Files & Folders > Documents and then I click on Network in the Places tab. A Windows Network icon appears, but when I double click it I receive the error message, "Unable to mount location. Failed to retrieve share list from server."

View 2 Replies View Related

CentOS 5 :: Script To Mount Windows Shares?

Oct 29, 2009

I have never wrote a script before in linux/unix and I am having trouble doing so. I would like to turn this command: mount -t cifs //ntserver/download -o username=vivek,password=myPassword /mnt/ntserver

View 8 Replies View Related

Software ::log In As Root In Guest OS Mint On Host Windows Vista Using Virtual Box?

Oct 31, 2010

I am using virtual box with Guest OS Linux Mint on Host OS Windows Vista.I want to log in as 'root'.I typed 'su' at the terminal, then it asked for a Password

View 3 Replies View Related

Fedora Networking :: Unable To Mount Windows Shares

Mar 2, 2010

I am unable to mount Windows shares on Fedora 12. From Nautilus, I can navigate to the shares, but when I attempt to open one I get a dialog "Password required for share ... on ..." asking for username (prepopulated with my username), domain (prepopulated with MYGROUP) and password. I have the same username on the Windows box, but when I enter the password and click Connect, the dialog just pops up again. I'm not sure what "domain" is, tried with my Windows workgroup name, no good. If I blank out either username or domain, the Connect button is disabled.

I tried using the mount command:mount -t cifs //192.168.0.2/... /tmp/mnt -o username=adrian,password=...,iocharset=utf8,file_m ode=0777,dir_mode=0777
That did work once, but now gives the useful error message:mount error(5): Input/output error
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
I can run Windows instead on the client machine, and that gives me access to the shares, no problem.

I have libsmbclient-3.4.5-55.fc12.i686, but that was installed a month ago. I don't see any more recent changes to anything relating to the samba client. I've never had to enter a password to access Windows shares. Actually, it looks like the problem may be on the Windows side, although as far as I know, nothing has changed there. Using smbclient with debuglevel set high, I see failures with this error:SPNEGO login failed: NT_STATUS_REQUEST_NOT_ACCEPTED
Every now and again, I can connect to one or more shares, but after a few attempts, I can't connect to any more. Tried rebooting the Windows box, but that's had no effect. Oh, and "smbclient -L" shows domain as the host name of the windows box, but anonymous login (smbclient -L -N) shows domain as the workgroup name.

View 5 Replies View Related

Fedora :: FC11 Cannot Mount Windows Shares Using Netbios Names

Nov 30, 2009

I've had my FC11 x86_64 installation up and running for 6 months. Until a week ago, I was able to mount windows shares through Nautilis using their netbios names. About a week ago, this all broke with no tinkering on my part. Now, I can mount the shares using the IP address, but not using the netbios name.

When I make he attempt either from scratch or by using a previously working bookmark, I get "cannot display location "smb:\..." When I browse the network using Nautilis I can see the workgroup, but when I try to open it, I get "unable to mount location. Failed to retrieve share list from server." When I use nmblookup with the netbios name, the correct ip adress is returned.

The problem seemed to correspond to a software update that occurred on 2009-11-21 that included updates to selinux-policy and selinux-policy-targeted. SE Linux has the System Default Enforcing Mode set to disabled. The system default policy type is set to targeted with no other options available.nsswitch.conf file appears to have been changed on the same date, but reverting back to the backup version of the file failed to solve the problem. Samba is up and running. My linux shares are accessible from my windows boxes. The firewall is open to smb and smbclient.

View 1 Replies View Related

OpenSUSE Network :: SAMBA: Can Mount Windows Shares But They Are Read-only

Apr 1, 2010

I am using the mount command to mount Windows shared folders are another machine on my LAN, to have them show up in the Linux filesystem. The command mounts the folders just fine, however the access is read-only.

In the command, I am also using the -o option to specify a username and password that should have full access. Also, I have used this identical command on my other distros and it seems to work fine. I've Googled high and low, trying to find a way to specify a Samba user/password for authentication. I know one of the other distros had a program that I could specify a Samba user/password to simulate a Windows login.

View 6 Replies View Related

General :: How To Mount SAMBA Shares With Windows 95 4.0 Running With QEMU?

Feb 12, 2011

I am encountering this difficulty. I have no networking onto windows 95 4.0 which in on the linux ubuntu machine. Windows 95 4.0 has no networking..

View 4 Replies View Related

Ubuntu Networking :: Sharing Windows 7 Drives - Unable To Mount Location - Failed To Mount Windows Share Error Message

Sep 5, 2010

I have recently set up an ubuntu installation on an old PC. After some fiddling with both it, and the windows 7 machine, I have managed to share all of my drives. However, when attempting to access them from ubuntu, only 2 of the 4 hard disk shares will mount, with the other 2 failing with a Unable to mount location, failed to mount windows share error message.

View 2 Replies View Related

Fedora Networking :: Accessing Windows Shares - Unable To Mount Location

Jan 15, 2009

We are using spare parts (Socket 775 Biostar motherboard, OCZ 500wat PSU) to build a computer that will just be another system in the house. I want this system to be running Folding@Home, and the F@H SMP client for Linux is much less of a headache than its Windows couterpart, so I would like this computer to run Fedora. My dad loves networking, and knows how to do it in XP / Vista, so he has always opposed my frequent use of Linux. There are ways of accessing Windows shared folders from Linux, but that I haven't figured it out yet. I want to access Windows shared folders from my Fedora 10. I don't know how to go about doing this, can anyone point me in the right direction? Do I have to install anything special? I can go to Places, and then Network (in Gnome) and I see "Windows Network", but when I click it, I get "Unable to mount location Failed to retrieve share list from server"

View 8 Replies View Related

Ubuntu :: Windows Partition Won't Mount Automatically At Startup?

Jun 2, 2010

I had to re-install Windows XP because the install was running slow.So, I created another partition using GParted for my personal data and moved my files there and re-installed Windows XP.Now, the Windows partition won't mount automatically.NTFS Configuration Tool shows 0.0GB. So, I have to open up a Terminal window, and issue sudo mount /dev/sda1 /media/Windows and everything is fine.

View 2 Replies View Related

General :: Ubuntu Automatically Mount Windows Partitions?

Oct 10, 2010

Ubuntu is automatically mounting all windows partitions. I wanted to mount only one common partition i,e NTFS storage partition to mount and used for both OSs i,e windows and Ubuntu. I unticked all partitions in NTFS configuration tools but in vain.

View 14 Replies View Related

Debian Configuration :: NFS Shares In Fstab - Error: Mount.nfs4: Access Denied By Server While Mounting (null)

Feb 2, 2010

I run a mediaserver on Archlinux, working perfectly (or almost). I have set up NFS v3 and that worked for me on these clients:

- Debian Lenny
- Archlinux 64bit

Now I've upgraded my Lenny-box to squeeze and I see that 2 of my 3 shared folders (tdone and twatch) are mounted like they should and the third one (media) doesn't come up. A 'mount -a' as root gives this error: mount.nfs4: access denied by server while mounting (null) My relevant fstab-lines:

[Code]....

how I can go about debugging this?

View 1 Replies View Related

Fedora Networking :: Samba Can't Mount Shares - Error Message 'Failed To Receive Shared List From Server'

Oct 4, 2009

It's been awhile since I posted anything which is a good sign my install has been working well and I have been able to handle most everything. However, I'm not able to handle this issue. I recently installed F11 and everything went well. But, when trying to see my other computers on the local network, I cannot. I receive this error message: Unable to mount location Failed to receive shared list from server. I understand the message as it is obvious, but do not know how to fix it.

View 14 Replies View Related

Fedora :: Virtualization With Fedora 13 As Host And Windows Vista As Guest Activation

Sep 2, 2010

I have windows vista 32bit oem that originally came with DELL system when I bought new. On the PC, MS$ sticker has the product key for windows vista.When I reformatted the disk and re-install windows vista natively on the machine for which it was licensed, it got automatically activated and passed MS$ genuine check. But I got into problems when using windows vista as guest os from fedora 13 host os using virtualbox on exactly same machine for which vista is licensed for. I go that MS$ : x -days to automatic activation, activate now link. Clicking on activate now it says invalid product key even I entered correct product key as it is on the PC.

I tried to create new windwos vista guest os 2 ways:
1) using existing native installation of windows vista by using vmware converter to create vmware disk image of the running windows vista and shutting down and log back into fedora 13 used this disk image as the storage in virtualbox and create windows vista guest. It starts up ok except for that activation issue.
2) using the windows vista dvd and using that as the source for new windows vista installation in virtualbox. All fine except got that activation issue.After killing my 2 days just for this I dont know whats next. Does that not make sense that I have a license for using windows vista on this specific pc, I am entitled to install it on that same pc as virtual or native or even both ways ?

This link: http://www.zdnet.com/blog/bott/vista-vi icture/360 says starting with service pack 1 MS$ now allows virtual installation of windows oem. My native installation was updated to service pack 2 and I also updated the fresh dvd install of windows vista in virtualbox to service pack 1 and then service pack 2 but still no effect in regard to license activation.Did any one solved the problem in some way regarding this issue for windows vista, I would like to know.

View 1 Replies View Related

Fedora Networking :: 12 Booting In VMWare WS But Cannot Mount/access Windows Host

Apr 1, 2010

I have Fedora 12 (Fedora-12-i686-Live.iso) installed and booting in a VMWare workstation (version 6.5.3). I am able to login as the LiveUser.

I need information on how to access the drives on my host which is WindowsXP. My C: on the host is shared, and my network adapter for the VM is "NAT".

The only directory listed in my /mnt directory is "live".

My Fedora enviornment is "bare bones". There is nothing installed except for the original files from the "iso" loading procedure.

I also have been unable to get the VMWare tools installed, and I don't know if this is related. I don't mind bypassing this if this isn't required. My only desire right now is to access my C:

View 6 Replies View Related

OpenSUSE :: Mount A Remote Windows Partition Onto Local Host Through Rdesktop?

Mar 26, 2011

basically i am able to connect to my other windows machine using rdesktop I want to be able to mount the window machine's partition (particularly my media folder cusermyaccountVideo) i know rdesktop ipaddr -r disk: blah blah blah mounts the partition onto the local machine however, i cant figure out what the specific commands are i tried followings but with no luck

Code:
rdesktop ipaddr -u username -p password -r :c=mntmntpoint
rdesktop ipaddr -u username -p password -r :c=mntmntpoint
rdesktop ipaddr -u username -p password -r :cmyaccountVideo=mntmntpoint

all these commands didnt work do anyone know how to do this? i thikn there must be a way

PS: no luck with smbfs as my machines arent on the same lan network (not sure if samba can connect remotely)

View 7 Replies View Related

Fedora Networking :: Mount : System Error: No Route To Host

Sep 3, 2010

I am trying to share directories between two F12 machines on a local network with a router box doing DHCP because not all machines on all the time. Web access is fine and local ping and ssh works but telnet doesn't. I have never succeeded doing mounts. So I have been searching for things to fix the above and have just tried rpcinfo. If I do this :

rpcinfo -p 192.168.2.2 it gives rpcinfo: can't contact portmapper: RPC: Remote system error - No route to host. Does that suggest that actually there is an installation problem? So I tried "yum provides portmapper" and that gives "No Matches found".

View 14 Replies View Related

Server :: File Server For Windows - Mount More Than One Samba Shares As Network Disk

Jun 17, 2011

I want to setup a Linux File Server for a small windows network (around 50 users). I do know that I am gona need Smb service/pkg for that. I haven't used Samba for a while now and as per the best of my knowledge, entire communication (including usernames and passwords) between a samba server & windows client machines will be plain text. Is there any way to secure all this communication??

Secondly, if i remember correctly, MS windows wont let me mount more than one samba shares as network disk when all my shares can be accessed by different smb users with different passwords?? is there a solution to this problem? OR may be if there is any other package available for this purpose so that i wont have to use samba?

View 4 Replies View Related

Ubuntu Networking :: Sharing Folders From It To Windows - Error: "Unable To Mount Location" "Failed To Mount Windows Share"

Jun 28, 2011

I have a computer running Ubuntu 10.10. I am using it to share many hard drives connected to it. I am using Samba. I have successfully shared many folders to one Windows user. I am attempting to share other folders within the shared folders to another user as read only but have not had any success. When I attempt to connect to one of the shares from another computer running Ubuntu 10.10, logged into an Administrator account with the same username and password which I setup on the Samba share I get the error: "Unable to mount location" "Failed to mount Windows share"

View 3 Replies View Related

Software :: Unable To Mount Windows Drive - Mount Error 92 = Protocol Not Available

Oct 4, 2010

Not able to mount windows drive & foder, in linux. i have got following error.

mount error 92 = Protocol not available

View 10 Replies View Related

Ubuntu :: Boot Error Installed With Wubi On Windows Vista

Aug 14, 2011

I have installed ubuntu 11.04 using wubi with Windows Vista Home Premium 32 bit. The operating system works fine. Althoughwhen I boot and choose linux I get an error message during boot which stays forever. I have to shut down using power button and start again when it boots fine.

Another problem is when I restart from ubuntu it restarts back to the desktop but when I shut down, it does not shut down the computer. Stays on with blank screen forever. I am attaching the image of latest error I received on boot.

View 4 Replies View Related

Ubuntu :: MM 10.10 Viewing Vista Shares Over LAN / Doesn't List All Data And Folders

Apr 20, 2011

1. Maverick Meerkat 10.10
2. Vista Ultimate

I'm successfully connecting to my Vista desktop via my laptop running MM;I can view my shares but not all my data. All top level shares seem to be visible, it's when I go deeper that I notice not everything is showing up. The folders are accessible if I type the full path, and then again I have the same issue once I'm inside that folder where not all data is visible.

In Nautilus setting: Edit>Pref>Preview Tab.I set preview for all files under 4GB which is the upper limit I can set.This made more files visible but not everything.I attempted to divide the directories in order to halve the size of the folders, this helped but not completely. The directories contain movie and picture files. The picture files are easier to divide more equitably between folders, but the movies being so large, managing folders sizes in that way doesn't help. I really don't want to divide my files according to this problem anyway. Sorting does not affect which folders and files are shown. Nothing is hidden, options to show hidden files on amd off, no help.

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved