Ubuntu Networking :: Mount Network Drive Automatically ONLY When Present?

Jun 10, 2011

I have a network drive connect to my lan with iomega's iconnect device. I am getting tired of mounting the drive manually each time I want to use it. I would like therefore to have it mounted automatically on boot by placing a line in fstab, but since the computer (a laptop) won't always be connected to my home lan, this might cause problems. Is there a way to list the drive in fstab so if the drive is not present it will just move on?

View 8 Replies


ADVERTISEMENT

Ubuntu Networking :: Get Network Drive To Mount As A Local Drive?

Aug 2, 2010

I was trying to figure out how to get my network drive to mount as a local drive on my computer. This was back on 9.10. Since I've upgraded to 10.04, my boot process halts and tells me (paraphrasing) /shared is not ready to mount. To continue, pres S to skip or M to manually mount the drive.

Well, I have it mounting now through GVFS and I don't need this in my startup anymore. Frankly, it's just annoying that it won't boot into Ubuntu right away. So, what's the startup file I need to edit to remove the attempt to mount the network drive?

View 1 Replies View Related

Ubuntu Networking :: Unable To Mount Network Drive On 10.04

Nov 9, 2010

I'm unable to mount a network drive on my ubuntu 10.04.

View 2 Replies View Related

Ubuntu Networking :: How To Mount A Network Drive On Bootup

Apr 5, 2011

My laptop is connected to my network through wifi. One of my desktops is always running as a file server for the rest of the network. Currently, to access that file server, I have to manually mount the network drive each time I boot the laptop. I have tried adding a line to fstab to have the drive mounted when the system first boots up, but since the wireless connection isn't active yet, the system hangs with an error message saying that the drive was not able to mount correctly and I have to press a key to continue.

is there any way to have the system automatically mount the network drive AFTER the network connection has become available AND, if for some reason the drive is not able to mount (i.e. I'm on the road and the laptop logs into a different network), it simply bypasses that and continues booting without displaying an error?

View 2 Replies View Related

Ubuntu Networking :: Mount A Network Drive On Bootup?

Aug 18, 2011

My laptop is connected to my network through wifi. One of my desktops is always running as a file server for the rest of the network. Currently, to access that file server, I have to manually mount the network drive each time I boot the laptop. I have tried adding a line to fstab to have the drive mounted when the system first boots up, but since the wireless connection isn't active yet, the system hangs with an error message saying that the drive was not able to mount correctly and I have to press a key to continue.

My question is this: is there any way to have the system automatically mount the network drive AFTER the network connection has become available AND, if for some reason the drive is not able to mount (i.e. I'm on the road and the laptop logs into a different network), it simply bypasses that and continues booting without displaying an error?

View 8 Replies View Related

Networking :: Cannot Mount Network Drive In Mandriva

Oct 28, 2009

I recently bought a Freecom 500GB network drive for backup and sharing files on my home network.I can access it via wireless on my Vista laptop and read/write to it with Dolphin and Krusader in Mandriva. I can also use the sync function in Krusader but it is so slooooow! Therefore I want to use Grsync but for that the drive needs to be mounted, that is where the problem lies!

View 8 Replies View Related

Networking :: Mount Network Drive Script?

Jul 26, 2011

would anyone advise on how to properly mount a samba share using a script which i'd run whenever i wanted to map it? I was trying to write one but with no joy...I tried having read many pages about mount / smbmount / mount.cisf / fstab etc. but I didn't achieve what I need and now I'm totally cofused... My goal is to have a script file, like a .bat, which i would use as myself to map a share to a directory. I would like to be able to mount it as non-root and umount as non-root as well. The level of access should be rw so i could copy and delete files.

View 1 Replies View Related

Ubuntu :: Mount FAT32 Drive Automatically?

Jan 12, 2010

I am setting up a home server and have two hard drives. One is the main HD for system files and the other will be for personal files.

The personal HD is /dev/sdb.

I know I have to edit fstab in order to get it to mount automatically at boot, but I am having trouble with the commands.

I would like for it to mount at boot and have full read-write access from any user.

View 3 Replies View Related

Ubuntu :: Automatically Mount A Drive On Boot-up?

Sep 15, 2010

I have just installed 10.04 and am enjoying the quick clean boot. I have a dual-boot option as I have come over from XP. Most of my data is still on the old 'c:/' drive and I have to manually mount it every boot-up. Is there any way to automate this process?

View 4 Replies View Related

Ubuntu :: USB Hard Drive Doesn't Mount Automatically?

May 28, 2010

The other day a power outage affected an SSH server I have running 9.04 (32-bit desktop ed.). I have two external USB hard drives used for cron-scheduled backups (one for rsync, one for an incremental) that are connected at all times. When I reboot, they no longer mount automatically until I login to the gnome desktop. As far as I can remember, they always mounted automatically before as disk-1 and disk-2, but now I have to login to the gnome desktop and then log back out.

I never had them listed in the fstab before since they just worked, & hope to avoid doing it this way since the drives sometimes get their paths (sdd and sde) interchanged. However, is the best way to fix this to use UUIDs in fstab vs. using sde or sdd? (such as in this post: 4highlight=external+hard+drives+don't+mount+boot Or maybeust remembering incorrectly & ubuntu doesn't mount them automatically until login? Sometimes I have to reboot remotely, & this problem would cause the rsync to fill up my system drive.

View 2 Replies View Related

Ubuntu :: Possible To Have Hard Drive Mount Automatically(NTFS)?

Jun 5, 2010

I have two 1TB HDD's formatted in NTFS, one has windows and other stuff i use even on linux and the other is all media. i can mount them easy, but this is a minor annoyance because everytime i log in i must type in my password. is there no way to have them auto mounted on startup?

View 10 Replies View Related

Ubuntu :: Mount Second Hard Drive (/dev/sda4/) Automatically On Startup?

Nov 12, 2010

I was wondering if I can mount my second hard drive (/dev/sda4/) automatically on startup? Now I have to enter my password every time.

View 5 Replies View Related

Ubuntu :: Get A Secondary Hard Drive To Mount Automatically On Start Up?

Mar 3, 2011

I have two hard drives in my computer, one for the operating system and the other solely for storage. They both have ext4 filesystems. Is there any way that i can have my storage hard drive to automatically mount on start up?

View 9 Replies View Related

Ubuntu Networking :: Automate The Audit Of Computer's Hardwares Present In Network?

Aug 17, 2011

how could i automate the audit of computer's hardwares present in network?

View 1 Replies View Related

Networking :: Unable To Configure The Network Card Because The Kernel Device Is Not Present

Jan 28, 2010

I have installed Linux SuSE 10.3 on a PC (Lenovo Thinkstation A58). However, when I start the computer I get the following error message:

"No valid Host_ID or host-name found."

I then use YaST to set up the network. I get the following error message:

"Unable to configure the network card because the kernel device is not present."

The computer has Windows 7 installed and everything seems to work fine. The LED on the Ethernetplug is blinking when using Windows, but not when using Linux. I guess this means that there is no driver for the Ethernet card (Marvell Yukon 88E8057). I have not found any driver for the card and am considering buying a new one. Which PCI card works with SuSE Linux 10.3?

View 1 Replies View Related

Fedora :: Fstab Ext3 F11 - Automatically Mount The Drive In File Tree At The Location /mnt/TheDrive?

May 15, 2010

With a 1Tb USB drive plugged in, we'll call it "TheDrive", I boot my machine and "TheDrive" is mounted automatically. The icon is on the desk-top. "TheDrive" mounts to /media/TheDrive. Everything is fine. But, I would like to automatically mount the drive in my file tree at the location /mnt/TheDrive. I would not like to have the drive automatically mounted to /media/ and appear on the desktop. I know that this requires the use of fstab; but, I do not know what to add to this file.

[Code]...

View 14 Replies View Related

Ubuntu Networking :: Automatically Mount A Folder Over Ssh?

Sep 23, 2010

I'm following:To automatically mount a folder over ssh..

everything seems ok[I think?!]
It dosent mount on reboot...
if i take 1 line from the file /etc/init.d/sshfs

[code]....

View 1 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 :: Samba And External Drive - Unable To Mount Location - Failed To Mount Windows Share - Dialog Box

May 25, 2010

I have been trying to share folders from my main PC which is running Ubuntu 10.04. I have been able to figure out Samba enough to get my a couple of folders shared, but I have been unable to share any folders which are on my external harddrive. After entering the path in my smb.conf file they appear on the network but I am unable to navigate to them. When trying to navigate to them through the network folder on the pc they are actually connected to I get an "Unable to mount location: Failed to mount windows share" dialog box. On the windows pc I am trying to share with I get, "Windows cannot acces \Josh-Desktop
ame of folder"

My smb.conf file looks like this:

That folders I cannot access are Music and Videos.

View 9 Replies View Related

General :: Create A Profile Settings And Network Drive Can Be Mapped Automatically When User Login?

Mar 26, 2010

create a profile settings and network drive can be mapped automatically when user login to the (like Domain and active user profile on windows environment) Ubuntu systems?

View 1 Replies View Related

Ubuntu :: Can't Mount Network Drive 9.10 64bit

Apr 28, 2010

why i cant mount any network folders. when i when i was going through this forum, [URL] i got stuck on the first step.

smbclient -L //10.1.1.3 (insert your windows machine ip instead)

i get this error.
bob@bob-ubuntu:~$ smbclient -L //192.26.92.21
Enter bob's password:
signing_good: BAD SIG: seq 1
session setup failed: NT_STATUS_OK
bob@bob-ubuntu:~$

i am using ubuntu 9.10 64 bit.

View 2 Replies View Related

Ubuntu :: Mount Network Drive On Startup?

Nov 8, 2010

I work at a school where we are experimenting with Ubuntu 10.10. On our Windows machines, when the users sign in, their "U:" drive automatically mounts up so that can access their network shared storage. Is there a way to set this up in Linux so it automounts, rather than them have to go and find it out on the network every time?

View 2 Replies View Related

Ubuntu :: Unable To Mount A Network Drive On 10.04

Nov 9, 2010

I'm unable to mount a network drive on my ubuntu 10.04. Here is how my fstab looks like:

# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda1 during installation
UUID=d9508c3b-fa02-4118-bafb-7cc0863af984 / ext4 errors=remount-ro 0 1
[Code]....

The above fstab configuration works for me flawlessly on my fedora. I dunno what's the issue here. I don't see any error in the dmesg either.

View 2 Replies View Related

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

Ubuntu Networking :: Log Into A Drive Automatically When Logging?

Feb 23, 2010

I am sure this is somewhere in the forums but since I don't know any of the buzz words associated with what I am trying to doI haven't had any lucksearching.Here's the deal:I have 1 physical drive. On it, I have a partition for XP, a partition for Karmic and a partition for all my data so I can share between XP and Karmic.When I boot in Karmic, I need to select the data drive (called SHAREDDRIVE) and enter my password before any of my apps can access the data. My question is: Is there a way to automatically connect / log onto the SHAREDDRIVE during bootup so I don't have to remember (this is VERY difficult for me!!!) manually log onto it?

View 2 Replies View Related

Ubuntu :: 10.10 Gnome - Mount Remote Drive Over Network

Apr 28, 2011

Mount a remote drive over a network in 10.10 Gnome I could use an option (I think it was connect to remote server or something) where I could mount a windows folder share or a samba share, Since upgrading to 11.04 I cannot find this option, has it been removed or hidden?

View 7 Replies View Related

OpenSUSE Network :: Network Manager Is Not Present In Tray Bar After Upgrading Gnome 3?

Jul 23, 2011

I tried to install suse 11.4 on the new gnome desktop 3. everything seems to work except the network manager. Is not present in the bar and I can not restore it. tried to reinstall network manager but to no avail.Does anyone know how I could solve this problem

View 1 Replies View Related

Ubuntu Networking :: Startup Networking Automatically Using /etc/network/interfaces

Jul 2, 2010

I'm on an embedded system that doesn't have Gnome, and I'm trying to startup networking automatically using /etc/network/interfaces. Here's what I have.

[Code]....

eth0 comes up just fine. wlan0 comes up, but it's unable to acquire a DHCP address. I added the following lines to /etc/rc.local, and wlan0 comes up all the way, but I'm not too crazy about this hack.

[Code]....

View 1 Replies View Related

Ubuntu Servers :: Common Practice To Mount Network Drive?

Jan 2, 2010

I have the following scenario:

- Server installed in wired network. The server has a static IP. It has Ubuntu Server 9.10 installed.

- I have two Ubuntu notebooks (Ubuntu Desktop 9.10) and I want them to connect (mount) to the server on bootup (fstab or equal) if the network is available.

- I don't want to store the password in cleartext in the fstab file. So what other options do I have? What would be the most common practice here?

View 7 Replies View Related

General :: How To Mount A Network Drive Writable

Oct 19, 2010

I want to map a windows shared folder to local directory, but I can't make it writable. I use mount command as following:
mount -t smbfs -o username=kcynice,password=kcynice,user,rw //192.168.1.100/SharedDocs /mnt/WinShare

Yes, this command can mount the network folder successfully, but i can only write it under terminal as root. I googled but got no answer.
So, how to mount it can be write by normal user?

View 5 Replies View Related







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