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
ADVERTISEMENT
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
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
Nov 9, 2010
I'm unable to mount a network drive on my ubuntu 10.04.
View 2 Replies
View Related
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
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
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
View Related
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
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
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
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
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
May 6, 2015
So after having spent the past half year preparing to abandon Windows and come over to Debian I finally made the switch last night only to realize I forgot one important thing... I didn't figure out how to map the network drive on my Windows server (currently learning to replace this with Debian as well) to my Debian system.
I have read about 15 links but keep getting the following error: Mount Error (6): No such device or address
Here is what I'm trying to enter into my terminal (with important bits removed for security of course)
mount -t cifs //xxx.xxx.xxx.xxx/Network_Storage/ -o username=xxx,password=xxx /mnt/cifs
View 14 Replies
View Related
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
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
Jan 25, 2011
I am using CentOS 5.5 OS. I already install ntfs-3g rpm, but I don't know the command to mount network NTFS drive. I also want to mount it on my fstab file, so whenever it reloads, it can automatically mount on the specific folder.
View 9 Replies
View Related
Feb 11, 2010
I'm running OpenSuse 11.2. I've got it running mostly the way I want and it connects to my wireless internet no problem. I have a external hard-drive on my Windows machine setup as a share folder. I can mount the drive with:
Code:
mount //10.13.23.2/D /home/james/mnt/win However when I do mount like this it doesn't give my any read/write privliages on the drive. Also on a slightly different issue but still mounting related I have my HDD partitioned into four main drives (not including swap etc). They are my Windows drive, a seperate storage partition formatted for Windows, my main linux drive and a seperate parition for linux storage.
I want to have my Windows drive, my Windows storage drive and my linux storage drive all mounted on boot. I tried adding these to fstab, and they mount fine but again I have no read/write permissions. My fstab looks like this:
Code:
/dev/disk/by-id/ata-WDC_WD2500BEVT-35ZCT0_WD-WXE908AE4273-part5 swap swap defaults 0 0
/dev/disk/by-id/ata-WDC_WD2500BEVT-35ZCT0_WD-WXE908AE4273-part6 / ext4
[code]....
Lastly I would like my Windows Share drive to mount on boot but I have been advised that I would need to write a shell script for this, to do network checks as obviously I won't always be connecting to my network.
View 6 Replies
View Related
Jul 26, 2011
I'd like to have a CIFS drive mountable for various users. Each user uses different credentials and I want the drives to be automounted without using sudo-rights. I imagine the best thing to do would be to have the fstab entry point to multiple credentials files. Is there a way of doing that?
View 2 Replies
View Related
May 1, 2010
I have Kubuntu 10.04 Lucid installed on my new laptop and I'm trying to get my backup script up and running again. I had a script that would connect using smbmount with my normal user account and then mirror my home folder to the external network attached hard drive with rsync. It seems that rsync needs to be run as user account, not root, to work properly.Some of the setup info for getting this running in Kubuntu Karmic was from this article:
However, smbmnt does not exist in *buntu 10.04. Is there any other way to connect NAS drives as non-root user that is relatively secure? I spent all day yesterday struggling with this and still haven't found a solution.
View 2 Replies
View Related
Jan 22, 2011
I would like my Ubuntu server to show up as a drive on my XP home machine. I have loaded samba on to the server but I can only get it to show as the printer and faxes under my work group. Also is there a way to have my Ubuntu laptop to auto mount the server when I am on my home network?
View 6 Replies
View Related
May 3, 2011
How it works in Windows.
I have a server designated as F: drive. This server is a linux server. All computers that access this server are windows machines.
In windows, you can make a "Short Cut" that links a Executable program to the F: drive on the server. When you click on this "Short Cut", Windows will "Run" your program in the exact directory the Executable is located.
Thus, if you Make a "Short Cut" called "Customer" on your network F: drive, you can click on that shortcut and "Customer" will run as if you ran it directly off the F: drive, NOT your station drive of C:
Now *MY* scenario what I WANT to do:
I want to copy the above scenario and be able to do the same thing with Linux and WINE.
I have tried to make a "Shortcut" to my Linux laptop, but it fails. I can only "Copy" the program to the laptop. And when I run it on the laptop, it will not run, because it does not recognize the "F:" drive having all the data files, it only recognizes the C: drive of my linux.
When I tried to make a "link", it says something like "LInk not supported by this file".
So, is it possible to make a "shortcut" to a executable file on the network server, so that if you run the shortcut, it will run the program as if it is located on the F: server instead of the linux station? In Windows, it has a field that says "Target", in which the file will be ran in that directory.
View 1 Replies
View Related
Dec 26, 2010
i can not find the network storage drive on my MS network using Ubuntu.i can find other computer using xSMBrowser but not the hard drive connected to my router (LAN)i have tried samba and a few others
View 5 Replies
View Related
Jan 18, 2011
I am having a small issue on my machine. I have a NAS drive serving up media files. I have a line in my /etc/fstab such that, when the mythbuntu machine boots it is supposed to mount the network drive. This configuration worked fine for mythbuntu 9.10. I recently updated the machine up to 10.10 and since then the network drive won't mount at boot. If I open a terminal and issue: sudo mount -a, it will mount the network drive just fine.
View 1 Replies
View Related
Feb 19, 2010
I recently installed Fedora 12 + KDE on my laptop. I also have a media PC which I have connected to my TV. It has an external HD connected to which I am trying to mount on my laptop. It is connected to two other PCs all running Windows 7, part of a workgroup that only requires a password with no user log in. These PCs are working OK but I cant mount the shared drive on my Fedora laptop. I have tried the "Add Network Place" wizard which didnt work. Tried using the host IP rather than the host name. This got me to a user authentication screen which prompted me for a username and password.
As I mentioned before, the only user authentication required to connect to it should be that the device should be within the same workgroup and use the password. Tried using the workgroup name as the username which didnt work, neither did using the PCs usual log in. Eventually I gave up on the wizard and attempted to mount it from the command line using the following command.
[Code]....
View 2 Replies
View Related
Nov 22, 2010
I've recently set up a fedora 13 machine to use as a media server, I've been able to get everything going except samba. I've installed a second hard drive which is mounted at /media/Core and works fine on the local filesystem. I can browse the share from my mac however when I connect I get this in the smb.log file
[code]...
View 2 Replies
View Related
Nov 13, 2010
I have this ubuntu machine that lives under my desk and is basically a utility machine. Mainly I ssh to it and get synchronize/backup files, etc.
When I reboot, for some reason the auto mount for my usb drives doesn't work until I actually hook up the monitor and log in to the gui. When I ssh in after reboot, I'm unable to access my USB drives! "Not Authorized"
I'm not sure how to mount a drive from the command line... really I just want the machine to auto mount the drives when it starts up... gui login or no.
View 4 Replies
View Related
Oct 29, 2010
I have a router running IPCOP with a 30 gig drive. I know the OS doesnt need that much space for a router. Can IPCOP mount and share out another partition on the same hard drive its installed on to my windows computers on my network?
View 1 Replies
View Related
Jul 14, 2010
I have a usb 1tb drive that I want to share over my netowork, but when i share it through nautilus, it doesn't mount right on other computers, ect. Is there a way to mount it. The location of the drive is /media/FreeAgent Drive___
View 3 Replies
View Related
Oct 13, 2009
how to mount a drive and do copy files from ipaddress1 to ipaddress2
View 5 Replies
View Related
Sep 27, 2010
I added this line to the fstab file:
Code:
//SERVER/dfs/users/USER /media/USER cifs uid=1000,gid=1000,username=USER,password=PASSWORD 0 0
and when I try to run
[Code].....
The line worked fine on Ubuntu 10.04 but is causing this error on 10.10
View 3 Replies
View Related