Fedora :: Auto Mount Smb Shares ?
Nov 8, 2010
I currently mount my smb shares by adding the appropriate line to fstab. Now my son also uses my laptop (F13 by the way) and I would also like to automount the shares for him but as a different user because there are some directories he should not have access to.
View 1 Replies
ADVERTISEMENT
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
Mar 2, 2010
I've a few group shares setup with samba and a PDC (using windows 7 clients) and the home directory for each user gets mounted automatically. I've configured group shares and only members of the respective group have access to them, but my question is how do I tell samba to automount group shares based on the user group?
View 1 Replies
View Related
Oct 9, 2010
I'm trying mount nfs shares on f11 to a f14 machine. They are all sub-folders of /media, they all have the same owner (me), same group (ditto) 0x777 protection set. In some cases I can see files in the sub folders but other folders remain hidden. here is a copy of my exports file
[root@mythtv todd]# cat /etc/exports
/media/areca1 192.168.1.0/255.255.255.0(rw)
/media/areca2 192.168.1.0/255.255.255.0(rw)
/media/areca3 192.168.1.0/255.255.255.0(rw)
[Code]...
View 2 Replies
View Related
Apr 2, 2011
This morning my NFS shares mount but permissions are all NOBODY NOBODY. If I ssh to the server to check the drive(s) permissions are all as they should be! Exports there are fine as is my local fstab. I hope I am just suffering and update glitch because they usually go-away in a subsequent update.
I just spent an hour and a half trying to track it down with no success - time to give up before I do real damage (to which I am prone ).
fc14 on both
View 14 Replies
View Related
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
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
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
Jan 5, 2010
I upgrade my fedora 10 to fedora 11 without any issues but I noticed that now when I insert a dvd or cd it will not mount it automatically. Previously when I used fedora 10 it worked like a charm not it will not mount it. I just want when I insert cd or dvd my fedora to mount it automatically.
View 7 Replies
View Related
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
May 4, 2010
Enviroment:
-server ubuntu 9.04 with samba
-client fresh ubuntu 10.04
ubuntu is not auto-mounting samba shares. Old 9.04 done it without a problem. I need to type sudo mount -a to have samba mounted.
fstab:
//192.168.1.101/www /mokonawww cifs auto,iocharset=utf8 0 0
ls -l
drwxrwxrwx 25 root root 0 2010-05-03 17:44 mokonawww
Tested with diffrent parameters. And another problem also with samba shares, when I edit file from editor (eclipse) after save i got 'file changed dialog'. seems like file is written with some delay ? and timestamp dont agree (its my blind quess). On 9.04 no problems. Tested with 2 instances of Eclipse. One copied from 9.04 and second fresh install. Other editors raport the same problem. Its anoying as hell.
View 3 Replies
View Related
Apr 22, 2011
I have: ubuntu 10.10 => joined into Active Directory Domain (test.net) I can login using AD users using Likewise-Open I have in my Windows environement Home Folders (Shared by AD) for every user and it apears as Z: Drive automatically when I loged in using windows machines. I need same setup using ubuntu desktop to show these Home Folders for every users automatically when he logs in.
View 1 Replies
View Related
Jan 6, 2010
Currently I have a dual boot system it consists of Fedora 12 and Windows Vista, at this time when I am logged into fedora 12 I can select the windows vista partition in the f12 file manager, I am than prompted for the root password and after entering the password, the drive mounts as read/write with no problem. How can I automate this mounting process so once I login as a standard user the NTFS partition mounts without any input? I would like this to auto mount without prompting for a password or having to double click on the vista partition each time.
View 6 Replies
View Related
Aug 29, 2010
I was running ubuntu and windows 7 as dual boot, I taught of trying out fedora 13 and installed it. I faced some issues with grub, like it does not detected my ubuntu, so, I used my ubuntu live cd and restored my ubuntus grub. So, now I want to use the fedora grub. I cannot restore it. Can I get restoring the grub from fedora's live CD?
And, I am using gnome as desktop environment, when I go to places and click anyof my partitions, it asks me root password, I am little frustrated to give password of root every time I mount any-of the partitions. In my ubuntu, It doesn't need any root password, It just auto mounts the partitions. How do we do that?
Here is my "fdisk -l "
Quote:
View 4 Replies
View Related
Jan 11, 2009
i want to get it to mount and set to automount
View 1 Replies
View Related
Apr 15, 2010
My Fedora does not auto detect a flash drive if I get to attach it with the OS already running. I still have to make a reboot and attached the drive right from the start in order for it to be detected/mounted.
Unlike In Mint 7, Ubuntu and XP, it automatically detects the flash drive as soon as it is attached.
make my Fedora detect the flash drive so that I would not have to reboot everytime I would use it.
FWIW here are some outputs:
Code: # /etc/fstab
# Created by anaconda on Thu Feb 4 06:06:47 2010
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
[code].....
View 10 Replies
View Related
Aug 29, 2010
I have 2 HDDs with Winblows and 1 HDD with Fedora 13. How to make Fedora 13 auto-mount on boot the Winblows partitions.
Here are the infos of the partitions:
Code:
View 2 Replies
View Related
Sep 12, 2010
I installed Fedora 13. I edited my fstab to automount my NTFS-3g drive. It worked. Then I updated to Kernel 2.6.34.6-54.fc13.x86_64 It doesn't work any more.
On boot-up I get the following error (already showing in the login-page):
Code:
Here my fstab:
Code:
The directory /media/Data continues to exist.
View 11 Replies
View Related
Mar 13, 2011
i am using fedora 14. Each time i login i have to manually mount my windows drives. Is there any script or system setting which will help me to auto mount my windows drive on startup.
View 3 Replies
View Related
Mar 18, 2011
How do I auto-mount other ext4 partitions? just selected not all
View 4 Replies
View Related
Mar 28, 2011
How I can auto-mount a iSCSI drive into a folder? Because every time I reboot computer, I need to mount it manually.
View 3 Replies
View Related
Apr 24, 2010
I have the following combo dvd/cdrw drive: 'MATSHITA' 'UJDA730 DVD/CDRW'
Currently, the only way I get it to work is by manually mounting it, i.e.
Code:
mount -t iso9660 /dev/scd0 /media/cdrom0
How can I get this device to auto-mount when a cd is in it? Prior to Fedora 12, I had Ubuntu and it would auto-mount successfully.
NOTE:
I've already tried adding the following to fstab file:
Code:
/dev/scd0 /media/cdrom0 iso9660 noauto,user,exec,rw,sync 0 0
View 4 Replies
View Related
Jul 24, 2011
I have edited my /etc/fstab file in order to have it automatically mount a windows network share at startup.
The problem is, that it isn't really working during startup. After I log in, in order to make it mount I have to open the terminal and enter "mount -a".
The following is my fstab file:
Code:
I suspect this has something to do with my laptop not having made a network connection when the entries are mounted, but I'm not sure. How would I go about finding out about any errors?
View 3 Replies
View Related
Jul 19, 2010
I have servers installed with RHEL 4 2.6.9-89.0.9 ELsmp. I tried using uuid and label in /etc/fstab to automount usb drives to mountpoints that I specify after reboot. Unfortunately, it just does not work in all my RHEL4 servers. After every reboot, /etc/fstab will be automatically modified and all configurations related to my USB drives will be changed. Irregardless of whether i use UUID or LABEL in my /etc/fstab.However, it works on RHEL5. But, upgrading is not an option in my environment. I have been googling around looking for alternatives but everything seems to point back to using UUID or LABEL in /etc/fstab. Anyone has tried something that works? Please help me, thank you.
View 7 Replies
View Related
Feb 25, 2011
From Konqueror/Dolphin is possible to access samba shares. If your computer is joined to a Active Directory domain and you use a domain user, you can access samba shares with smb://server.domain/share and you are not ask for user/pass (you use a kerberos tiquet). Kde programs as Amarok, K3b, ... can access files in samba shares without problem. But other programs, specially gnome programs (including the popular OpenOffice), are unable to use files in a samba share. If instead of using Konqueror/dolphin you use Nautilus, there is no problem because it maps the share to a local folder ($HOME/.gvfs/share in sever/) and the program are able to access files in samba shares without problems as the folder is mounted locally (as if you use cifs.mount). Its a problem to use konqueror/dolphin and have to change to nautilus to access samba shares.
If you use Windows you can mount it in an easy way. That's what I try to do from konqueror, not having to open a konsole and be able to mount the share in an easy way. I've tried with smb4k, but is has not worked for me (tried in 2 OpenSuse 11.3 and 1 opensuse 11.2). What Nautilus does when accessing a samba shares like smb://server.domain.dom/share is to execute the command: [URL]... What I try is to do the same, but just form Konqueror/Dolphin. I'd like to add a button to Konqueror/dolphin that pressing the button and if the URL points to a samba share, the share is mounted in $HOME/LocalNetwork/server/share. As I say, it can be as easy as executing the gvfs-mount, but don't know how.
View 2 Replies
View Related
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
Mar 9, 2011
For some strange reason, I can't seem to be able to mount the nfs share from my FreeNAS system on SL6. I'm able to do it just fine from Ubuntu 10.04, Linux mint 9, Fedora 14, CentOS 5.5, and OS X Snow Leopard, so it has to be something specific to SL6. The below command does not work:
mount freenas:/mnt/share /test.
I get a mount.nfs error message that says "requested NFS version or transport protocol is not supported." I also tried this command which yielded the same result:
mount -t nfs FreeNAS:/mnt/share /test
Am I doing something wrong or is this just a bug with SL6?
View 6 Replies
View Related
Sep 27, 2010
I'm running sid, and doing weekly updates. Recently I've been unable to mount nfs shares on one of my home computers. I haven't changed any settings, and nfs works fine on the other computers on my small home network. I suspect an update messed something up with nfs.
View 9 Replies
View Related
Oct 18, 2010
I have a Linux machine that shares some files through NFS. The shared directory is:
/foo
I then mounted a shared directory (from a Windows machine) to:
/foo/bar
/foo/bar is mounted successfully onto the Linux machine and everything is there. However any other machine that mounts /foo from the Linux machine everything is correctly there except /foo/bar is empty. Is there anyway to do a "recursive mount" of file shares. Here is the /etc/fstab entry for the Windows share mount of /foo/bar //windows_machine/share /foo/bar cifs username=user,password=pass 0 0 And the /etc/fstab entry on the client machines that mount /foo server:/foo /foo nfs rw 0 0
View 1 Replies
View Related
Mar 21, 2010
I'm setting up an NFS server on a command line install (9.10) to share a directory for a farmerjoe render farm. My instructions are from code...
I do not have DNS installed. I cannot install a stand alone DNS server on the network which the render farm will run. I cannot point any of the machines in the render farm to the current DNS server. The render farm is on a VLAN (in a design lab) with the NFS server receiving a reserved static IP address and the clients receiving DHCP addresses from a currently running server. After reading this post
http://ubuntuforums.org/showthread.php?t=321926
it seems that I should be able to mount NFS shares using an IP address.
View 6 Replies
View Related