CentOS 5 :: Network Shares In Fstab - Documentation Not Correct?

Oct 2, 2009

[URL]..This does not work on reboot because the network service starts after fstab is checked.What is the missing step to rectify this?

View 3 Replies


ADVERTISEMENT

OpenSUSE Network :: Automatically Reconnecting Samba Shares (from Fstab)

Mar 16, 2010

Since OpenSuse 11.2 doesn't reconnect samba shares upon a resume from suspend, I wrote a small, ugly script to do so. It's placed in /etc/pm/sleep.d/66samba-remount

#!/bin/bash
case $1 in
hibernate)
echo "Hey guy, we are going to suspend to disk!"
/etc/init.d/smbfs stop ;;
suspend)
/etc/init.d/smbfs stop ;;
thaw)
echo "oh, suspend to disk is over, we are resuming..."
sleep 15
/etc/init.d/smbfs restart ;;
resume)
sleep 15
/etc/init.d/smbfs restart ;;
*) echo "somebody is calling me totally wrong." ;;
esac

and made it executable
(as root)
chmod +x /etc/pm/sleep.d/66samba-remount

The 15 seconds sleep time is useful to me to postpone the remount after WiFi is back online. Perhaps there are way more elegant ways to do so (check for x times if WiFi is on, for example), but I'm no good at bash, and this serves me well. How do I file a wishlist for 11.3? If someone puts a samba share in fstab, I'd assume he wants it connected mostly everytime (at startup for sure... so why not over a standby?) I hope 11.3 just reconnects in-fstab samba shares in a polished way, out of the box.

View 1 Replies View Related

Networking :: Ubuntu 10.04 Delay Mounting Network Shares In Fstab?

Jun 14, 2010

Using Xubuntu 10.04 to connect to some Windows XP shares by adding lines to fstab. The network shares are not mounted at boot, but can be mounted from the command line, after the OS has booted and everything is up. I am suspecting the network isn't up yet, when fstab is processed. I tried adding the option "_netdev" to the relevant network share lines in fstab, but the shares still don't mount automatically at boot up. I read that this option only works for NFS and I am using CIFS. Can someone confirm that _netdev only works for NFS ?

I've seen solutions involving running a mount script after the OS is fully loaded, or running a cron job to periodically check the status of the share and mount if needed. Good workaround but doesn't address the root cause. Is there any other way (besides the _netdev option) to delay mounting of network shares that appear in fstab until the network interface is up ?

View 14 Replies View Related

Ubuntu Servers :: Get Sshd To Identify Correct Rsa Key For Different Users That Shares Same Folder

Jun 1, 2011

I'm setting up a svn server and would like users to share home dir. One problem is how to get sshd to identify the correct rsa key for the different users that shares the same .ssh folder. Will sshd even look for the key in a folder that isn't owned by the user trying to login?

[code]...

View 3 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

Ubuntu :: Network Shares Not Available \ When Use OpenOffice Writer To Open/save Files The Shares Disappear In The "Open/Places"?

Apr 23, 2010

I am giving 10.04RC a try instead of Windows 7, so far so good. I can connect to my network shares fine using "Connect to a Server" & bookmark with the file browser, however when I use OpenOffice writer Spreadsheet to open/save files the shares disappear in the"Open/Places". Is this a bug in Ubuntu or Open Office? Is there an update/fix?

View 1 Replies View Related

CentOS 5 :: Using Httpd To Share Server Documentation?

Oct 15, 2009

I'd like to share /usr/share/docs out to my local subnet via httpd so I can read server documentation from my workstation. I've simply done a generic install of httpd and httpd-manual and added this to the bottom of my httpd.conf file:

alias /docs /usr/share/doc
<Directory /usr/share/doc>
Order deny,allow

[code]....

View 2 Replies View Related

General :: How Does The Documentation Of CentOS/RHEL Compare To Some Of The Other Distros

Oct 29, 2010

documentation on the "stable" war-horse OSs. I am impressed for example on the community support of Ubuntu, Slackware, and impressed by the formal documentation of Arch and Gentoo.

1. However, how does the documentation of CentOS/RHEL compare to some of the other distros? and

2. How about compared to similar OSs, like Debian

View 2 Replies View Related

OpenSUSE Network :: Wicd Is Not Connected Before Fstab

Apr 15, 2010

I use wicd at my laptop, since networkmanager didn't work well for me.(unable to connect..) However wicd is not connected before fstab probes my nfs shares during boot, so I wold like either to delay the fstab mount command or make sure that the mount command is performed just after that the wireless connection to my home network is up and running. Running mount -a in terminal works well, but I prefer not to run manual commands at every boot. Opensuse 11.2, KDE 4.3

View 3 Replies View Related

General :: Fstab Sdxx Or Uuid Or / Disk And Partitions In The Fstab File?

Jan 5, 2010

What would be the best way list disk and partitions in the fstab file?

View 1 Replies View Related

Hardware :: Changes To Fstab (UUID's) / Revert Fstab's Listings Back To The Old /dev/hd Settings?

Jan 15, 2010

I've had two hd's in my box forever. for more space and backup reasons. Well I have started running the Debian Squeeze distro since December. I've had many issues, some are still unresolved. but now I'm running into major headaches with the fstab. Specifically dealing with/wondering why UUID's are used instead of the old /dev/hd? I was a little annoyed when I tried Kubuntu to find /dev/sd? used instead of /dev/hd? but that was workable. But the UUID's are a nightmare. Here's my problem.

My main box is finally giving up the ghost. The mobo is dying. So in order to do some tests I took my hd bundle (my two hard drives with their cables) physically out of the box and temp installed them in a test box. I wanted to do some benchmark and other tests. I got all kinds of errors. I found that the system wasn't recognizing the UUID's listed in fstab. My concern is when the new mobo gets here next week I won't simply be able to plug the hd's in like I always have been and just let Linux reconfigure itself (Debian used to be good about this). I really don't want to have to clean reinstall if it's not needed.

So for this I have two questions. WHY developers decided to drop using /dev/hd? or even /dev/sd? ?

And is it possible to revert fstab's listings back to the old /dev/hd? settings. In debian fstab had lines commented out showing how each partition was listed in it's /dev/hd? status during install.

I'm getting really sick of all these archane changes in ALL aspects of linux that don't seem to have any good explaination or need.

View 4 Replies View Related

OpenSUSE Network :: Got Internet But No Shares?

May 27, 2011

Was enjoying my new experiences until I tried to access/see my OpenSuse 11.4 install (Within VirtualBox on Windows 7)I can surf the net and download packages etc but from Windows 7 the Virtual OpenSuse7 does not show up.I know the windows network works because I also have Ubuntu10.4 on VirtualBox and that I can see and access fine.Change to OpenSuse and it all goes down the tubes, doesnt even show up in the Network on Winsows 7With Ubuntu I have etho setup to use DHCP automatically.I've tried numberous settings unsuccessfully on Suse and I think in the process have probably changed something incorrectly, but it didnt show up in Network places even before I started fiddling.Settings within Network Settings are:

1) Global options
Network Setup method: Tradional with ifup
IPv6 Protocol - Enabled

[code]....

View 6 Replies View Related

Ubuntu :: Network Shares In WINE?

May 24, 2010

I'm using WINE and have to open a share on my network. I go to "My Network Places" and it says it's invalid, I try manually typing in the URI and it says it's invalid. I try to assign a drive letter to the URI and it says it's not a valid drive.

View 9 Replies View Related

CentOS 5 :: Restore Fstab Deleted File?

Feb 19, 2011

I accidentally deleted the file called "fstab,v" not "fstab" The files location was /etc/fstab,v if it is very important file and what its used for & how to restore?, as my server seems to be running fine, but I don't want to get into any problems later down the line.

View 5 Replies View Related

OpenSUSE Network :: Unable To Mount The Nfs Entries From Etc/fstab?

Jan 17, 2010

I am getting this error when trying to mount my client on the directory I exported in Yast2 NFS Server

View 9 Replies View Related

OpenSUSE Network :: FSTab, Cifs And 'guest' Login?

Jul 15, 2010

i'm trying to setup a permanent CIFS share from my nas, but it keeps prompting for a password dispite GUEST access set on the share.FStab is as follows:

Code:
//192.168.0.253/media/ /mnt/nas1_media/ cifs guest,_netdev 0 0
if i do

[code]....

View 5 Replies View Related

CentOS 5 :: Which Is The Correct Dag Rpm To Install When There Are Duplicates?

Sep 24, 2009

i am getting duplicate entries in dag rpm repository with different names in different cases !

# yum search fileinfo
php-pecl-Fileinfo.x86_64 : Fileinfo is a PHP extension that wraps the libmagic library
php-pecl-fileinfo.x86_64 : PECL package to get file information through libmagic[code]....

which is the correct rpm to install ?

View 8 Replies View Related

Red Hat :: Can't Ping Gateway / Even With Correct Network Settings

Jan 6, 2009

Set up new server using RH 2.6.9-42.ELsmp on an old HP G4 server. But can't get network to work, can't ping any host, not even my gateway.

Verified cable by plugin a different pc on it, using same network ip address, etc, it worked fine, could ping gateway and other hosts on same segment. Are there any other files I could check to verify network card on server is good? it was working when it was configured as a windows server.

View 1 Replies View Related

Red Hat :: Correct Process To Create Network Names On RH?

May 27, 2010

I am playing around with RH for the first time. I have two applications which insist on using names for network ranges - so they need /etc/networks. I created one on the RH box as suggested via google but the apps still cant see the names (basically they are not reading /etc/networks). What is the correct process to create network names on RH? Basically the equivalent of solaris /etc/networks?

View 4 Replies View Related

CentOS 5 :: Automount Cifs Filesystem Using The Fstab File

Aug 3, 2010

I have been running a server for 3-4 years now, and my shares have been mounting just fine. Well, the network admin looked at a backup and seen that the last date backed up was june. I got to looking around and seen that the share is not mounting. I can mount it with sudo mount -a, which tells me my syntax is correct. I get an error about IPv4 socket not opened and it is aborting the operation when I run dmesg | tail, since I can use the above command to mount later, it sounds to me like it is trying to mount before the network connection is ready.

I have done some looking over some init scripts and found that in the /etc/rc.d/init.r/netfs script it has a line that states that it is checking to see if the network is up before it starts to mount the filesystems and the such. This is set to no, my question is, can I change this option to yes and get my desired results, waiting for the network to be up before it mounts the filesystems.

View 6 Replies View Related

Fedora :: Where Do CIFS Network Shares Get Mounted?

Jan 21, 2011

I have mounted a windows network share using the gnome desktop environment, using Places -> Connect To server.The network share is OK, and I have the icon on my desktop and can see all the files.I want to be able to use this network as well in the console, so I need the mount point.What is the location on the filesystem were this networkdrive gets mounted? I find nothing in /mnt and nothing in /media also using mount to look at the registered mounts, there is no entry for the networkdrive.Nevertheless, I have this networkdrive now open in my desktop, and have an option to unmount it.I know that using the mount.cifs command you can specify the mounting point.

View 2 Replies View Related

OpenSUSE Network :: Accessing Samba Shares In KDE?

Jan 6, 2010

I wonder how to get Samba share access working well...Dolphin supports Samba but it doesn't really mount anything, it seems... Non-KDE Applications therefor can't access samba that way. In Gnome there was a workaround for the same problem. You could simply go to ~/.gvfs in any application and find the samba mounted there.Is there anything like that in KDE? I set up a Samba mount via /etc/fstab for now but that is quite annoying because it fails after each Suspend, changing WLAN Access Points, etc. Then I have to go to the console and manually launch sudo mount -a to get it working again. How can I make things more comfortable?

P.S.: I'm even up for using something else than Samba to talk to my fileserver. However I don't know of anything that would work better in this regard. (NFS would have the exactly same problem for example)

View 5 Replies View Related

OpenSUSE Network :: Automount CIFS Shares?

Jan 30, 2010

Question 1.I have strange problem in OpenSUSE 11.2I have /etc/fstab entry:

//server/projects /server/projects cifscredentials=/root/.credentials,dir_mode=0777,file_mode=0777,_netdev 0 0
service network running

[code]....

View 1 Replies View Related

OpenSUSE Network :: Samba Can't Read XP Shares?

Jun 18, 2010

I followed samba setup per thread Samba and Suse: HowTo Set up an openSUSE-Windows Home Office LAN/Network. Versions 11.x and then upgraded my samba from the special repository per advice at Samba broken after latest security update 11.2 - openSUSE Forums I can now see all my boxes on the network from either an XP or linux box and I can access my linux shares from any XP box but I can't access any XP share from my linux box (openSUSE 11.2). I get an error that reads "The file or folder smb://SharedDocs does not exist"I can see the SharedDocs folder under the XP box in samba shares though. And it really does exist on the XP box.

View 9 Replies View Related

OpenSUSE Network :: Cannot Write To Samba Shares?

Sep 15, 2011

Using SuSE 11./4 on two machines. Successfully set up a server to share a folder. The client is able to read files from the folder, but not write to them.the client perspective, the shared folder permissions are read and write if owner, read only for all otherHowever, the server shared folder has been set up for sharing, and the permissions are set for read and write to all.

One more thing. When the client goes into the samba share, it sees the workgroup. Clicking into that, it sees the name of the server computer. Clicking into that,it sees two folders: "profiles" and "users". Clicking into "users" goes into the shared folder. I tried setting the permissions from the client side on the "users" folder using root privileges to allow reading and writing without any success

View 6 Replies View Related

Ubuntu Networking :: Cannot Use Network Shares From 9.10 Machine

Feb 1, 2010

I'm running Ubuntu 9.10. I am hooked into my home network with several windows machines attached. On a daily basis I browse the network and use network shares. Today, I can't. Today I can't see any other machines from ubuntu. I haven't changed any settings in Ubuntu, and nothing has been changed on the network, but yesterday it worked fine and today it doesn't.

View 2 Replies View Related

Ubuntu :: 10.04 Not Auto-mounting Network Shares?

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

Ubuntu :: Accessing Network Shares In Xubunutu?

Sep 21, 2010

I am using Xubuntu 10.04 and can't find where I can create shares as well as access network shares. In Ubuntu I just go under Places/Network and there are my shares. How do you do this in Xubuntu?

View 6 Replies View Related

Ubuntu :: Network Shares Not Shown When Uploading

Oct 22, 2010

I successfully connected to my office's (Windows) servers, so usually I can browse for files via Places. But when I want to upload a file for example as an attachment in gmail, after clicking the browse button, only the local drives and folders are visible in the file upload window. Is there some way to tell my browsers (Chromium and FF) there are more drives in life? (I'm using Maverick Meerkat). (And I'm not sure the problem is my browser or my settings or anything else..)

View 1 Replies View Related

OpenSUSE Install :: Can't Automount Cifs Network Drives In Fstab?

May 24, 2011

I just made a fresh install of OpenSUSE 11.4-Tumbleweed and have the latest updates. However fstab lines I've used in the past are not working.

Here's an example of two:
//IPADDRESS/share /home/user/mount cifs credentials=/home/user/.scripts/.creds,_netdev,uid=client_user,gid=users 0 0
//IPADDRESS/share /home/user/mount cifs guest,_netdev,uid=client_user,gid=users

I can execute a command

Code:
sudo mount /home/user/mount and it works, but I'm wanting all my fstab lines to automount at boot as on other machines.

View 5 Replies View Related







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