Ubuntu Networking :: Mounting The Remote Directory Remotely?

Jul 15, 2010

I have a computer (C1) to which I can connect through the Internet (ssh, for instance) (it has a static ip and though it is sitting behind a router, the appropriate ports are all forwarded). I have another computer (C2) that doesn't have a fixed ip address and sits behind a router that I cannot fiddle with (so no port forwarding here). I would like to know if there is any way to connect from C2 to C1 such that a directory on C2 would be mounted on C1.

View 5 Replies


ADVERTISEMENT

SUSE :: Mounting Remote Directory On Startup On Suse

Oct 7, 2010

So ive got a Suse server up and running. It is connecting to a clearcase server, so i want to mount the remote filesystem as part of startup, as this is generally rebooted when im not around.I would normally add something to /etc/init.d and put the shortcut to it in the appropriate runlevel (in this case 3). Tried that. Didnt work.

Realised the init script needed to have the LBS stuff at the start, so put that in, and used insserv to add the script. I used required-start set to $ALl.This successfully created the init script with S20, and i eneabled it with chkconfig.

View 4 Replies View Related

Fedora Networking :: Mounting Remote Drive On Startup

Nov 16, 2010

I want to mount a remote drive on bootup. I'm using FC14 and remote machine is FreeBSD. I've written a shell script to mount it. The script contains only one line:
Code:
mount 192.168.1.33:/home/user7 /media/mc33

I've to run this script from superuser mode to mount the file system(it works). So to mount it at bootup, I added the shell script to my PATH (/home/me/bin) and added it to Menu->System->Preferences->Startup Applications. Well this doesn't work because the root privileges are not present. I tried fixing it by giving root privileges to my shell script
Code:
#chmod +s mount-mc33
but it made no difference.

View 8 Replies View Related

Ubuntu Networking :: Nothing In Home Directory After Nfs Mounting?

Jan 7, 2010

I have an interesting problem I have had some troubleinding answers to with researching. The answer is probably so obvious that I should be able to see it. Here is my prob.I am trying to mount a root directory onto the same system (just for testing purposes)I am using nfs and have nfs-kernal-server nfs-common and portmap installed.if I have this in my /etc/exports

Code:
/ 192.168.1.0/24(rw,no_root_squash,async)
then do

[code]...

View 1 Replies View Related

Ubuntu Networking :: Not Mounting Directory With Winbind?

Jan 18, 2011

I am trying to get a ubuntu machine (client) onto a windows active directory (domain) this i have done and you can login using winbind to the client desktop no problems however i dont want the domain users' home directories on the client machine so i have set up a ubuntu server (samba) to hold the home directories now so far i have been able to set up a share which both windows and linux can read and write to with no passwords needed, and if i have modified the /etc/fstab file on the client to mount the samba share on startup however if i login as a domain user it fails to create a home directory on the share with the following error:

"/mnt/home/admin2" does not exist

now the main question is this in fstab i have used a cred file stored in /usr/share/.smbcred which should be accessible by all users right? i know i can put the creds into the fstab file but i can't find how and it is just failing to mount when i try so if you know how i will try that, also does fstab run before or after the home directory is created as if it runs after then the cred file is working but the home directory is looking at a location which hasnt been mounted yet or if fstab runs before then the location is not mounting right (hoping for second one )

[Client]
Ubuntu 10.04 desktop

[Samba Server]
Ubuntu 8.04 LTS Server

[Windows Active Directory]
Windows server 2003

View 1 Replies View Related

CentOS 5 Networking :: Mounting Home Directory On NFS Partition

Aug 27, 2009

I have attached a 2 TB LUN to the HP Blade Server running CentOS 5.3 via a Qlogic HBA. To provide the cluster users with sufficient storage areaa, I want to move only the home directory from the default partitioning schema to the attached storage and leave the remaining partitions on the main harddrive of the server. So, having copied user directories & files to the new location, i.e.,
/cluster/home2 on the new storage partition, what modification(s) should I make on the server?
/export/home is the default location for the users.
/cluster/home2 is NFS shared directory serving as the new home location for the users.

View 1 Replies View Related

Networking :: Remotely Login To Remotely Display Data?

Jun 29, 2011

I'm not terribly new to Linux, but I am new to the forums, so hear me out! I am in the process of creating an electronic mapwall for our meteorology program, and have designed the computing system from scratch. I have two Linux Boxes, each with capabilities for 6 attached monitors...a total of 12 displays driven from two machines. My intention is to have one machine be the master...it has a touchpanel control. The inputs to the touchpanel will then trigger events for the both the master and the slave machine to display. Each of them has a specific IP address (DNS entry), and are not on a subnet.

Now...is there a way to remotely login to the slave machine and have it display on it's OWN monitors? The code is Java and which works on the master machine to animate directories of .gifs for each of the master's attached monitors. I will most likely have Java execute shell commands for the remote login (ssh), but I believe the answer lies somewhere in the X-configuration. Do I have the machines in an adverse configuration (creation of a subnet would be better)? Lots of questions...lots of desire...few answers!

View 2 Replies View Related

Fedora Networking :: Weird Results: Mounting The Home Directory?

Jun 4, 2010

i am getting weird results after mounting the /home directory from the server. seems like the client sees the ldapuser and it's directory from the server side.. /home/ldapuser. but it's pulling the "blank" user as it's permission. blank is the actual user on the client side. any ideas why?

server side:
[root@localhost ~]# showmount -e
Export list for localhost.localdomain:

[code]...

View 2 Replies View Related

Ubuntu Networking :: Root Level Parent Directory - Mounting Windows Share?

Mar 26, 2010

I've mucked through and figured out how to mount a windows share. I can access the folders I was looking for, but the windows share was not what I thought it would be. I was looking for the specific shared folder. Instead I got a root level parent directory that included the folder I wanted, and a couple others.

smbclient -L <ipaddress> gives me a parent directory on the root

First question: Can I mount a specific folder within a share?
Second question: Could somebody define share? I thought it was the specific shared folder, but that doesn't seem to be the case.

View 1 Replies View Related

Ubuntu Networking :: Mount A Remote (ftp/ssh) Directory Locally

Jan 15, 2010

If you use Nautilus then you can just use the "Connect to server" from the file menu. However if you file manager does not support connecting to servers (like Thunar ) then you can use sshfs.

Code:
sudo apt-get install sshfs
You should create a directory as your mount point, say
Code:
mkdir /media/Server

[Code]....

View 1 Replies View Related

Networking :: Mounting Unique Filesystem Or Directory By Network Booted Host?

Apr 6, 2010

I have a number of diskless hosts which are to bootth PXE and mount their root filesystem on an NFS share. Most of the NFS share will be common to to all of the diskless hosts. No problem with that part.I also need part of the NFS shared filesystem to be unique to each individual host. The only difference between the hosts is the ethernet MAC. I use it in the DHCP server to key a specific unique IP to each host. I would like to be able to use either the MAC, or the IP, or any other unique identifier that can be derived very early in the boot process to access a filesystem or directory that is unique to each diskless host.

I need/want to do this because I need/want to isolate all of the system maintenance to one small part of the boot host. Modifying the hardware (these are VME CPUs) in any way is not an option; they must be field swappable, with all maintenance isolated to the boot host(s).I know I could run ifconfig and parse its output to derive an IP &/or MAC, but that seems a bit kludgey and fragile. The DHCP server is presently assigning IPs. I know I can arrange to pass a unique option value via the DHCP server, but don't know if or how this can be retrieved on the diskless nodes. I am presently passing the 'root=' kernel argument from the bootloader, but I don't think there is any way to pass other filesystem information using that mechanism.

I know I can pass some kernel arguments from the bootloader, but there doesn't seem to be any generic message that can be retrieved in userspace as part of the boot process. I've scanned around in the /proc filesystem, looking for the IP or anything else that seems to uniquely identify the host, but don't see anything there, either.The init process has not yet been cast in stone, but is very likely to be a BusyBox built-in

View 5 Replies View Related

Slackware :: Remote PC Control 101: How To Setup Gmail Remotely

Mar 21, 2011

I have never tried to do anything 'remotely'.My 87 year old uncle lives in British Columbia, Canada and I live in Quebec, Canada.Here is what I would like to try to do:

I would like to connect to his PC from my PC and then set up a Gmail email account for him. I think that I am saying that I would like to be 'as if' I were sitting in front of his PC at his house.If this is possible, what software do I need on my Slackware PC to connect to his Windows PC? What software does he need on his PC?

View 6 Replies View Related

Ubuntu :: Checking To See If A Directory Exists Remotely?

Jan 14, 2010

I'm working on my first bash script. My script will do several things but right now I'm just trying to get the basic part of it down and working.I have a section that looks like this

Quote:

#/!bin/bash
SERVER=$1
if [ ! -d `ssh ${1} /somedir`];then
echo "Bad"

[code]...

The problem is that if you take that right now and run it, it will return back good in that it does exist. What I need it to do is pass back that it's bad because it doesn't exist (that is unless you actually do have that directory in your root).

View 1 Replies View Related

Ubuntu Security :: Truecrypt - Remote Mount Volume - Or Send Bash Script Remotely?

Apr 1, 2011

I have an Ubuntu 10.04 machine at home and apache setup on it (files are located in a Truecrypt volume). The reason for the web server being that I wanted to access my files wherever I'm at (i.e. hotel, work, hotspots, etc...). So far, it's worked out great for me seeing as a I can http download my files (or stream media files). However, I am often on a public hotspot and I know it's a matter of time before someone finds the webserver on my computer. I have the machine firewalled and password protected (via .htaccess), but either way I don't want people looking in on my computer.

The problem: I have used Truecrypt for a long time and completely trust using the program to encrypt/unencrypt a volume container to store my files. Usually, I would remote desktop into my computer and mount/unmount the volume when I needed it. However, after time it get's really annoying to do this. So I eventually figured out how to setup a bash script to automatically do this for me (which I put on the usb part of my phone). What I wanted to do was to be able send the bash script to my Ubuntu machine (via ftp from my phone) and have Ubuntu automatically run the script. Is this possible? What programs do I need on Ubuntu?

I was thinking about using something like cron, but that is for scheduled times. I don't really have a set time in which I need my files, it's pretty sporadic depending on how much I travel. Thus the need for being able to remotely mount the volume when I need it.

Summary: I need a way for Ubuntu to read a folder every minute or so to check for bash scripts to run. I want to be able to send the bash script via ftp from my phone, have Ubuntu run the script, then delete itself (so as to not store the password). I already know the script in which to mount the Truecrypt volume and how to send the file via ftp from my phone. It's really a matter of what program to use in Ubuntu to find and run the script.

View 8 Replies View Related

Ubuntu :: Mounting Directory Within Already Mounted Directory?

Aug 9, 2011

I am curious if mounting a directory inside an already mounted directory is considered safe? I have done this on an Ubuntu server before but never thought to ask if it could cause problems.An example:

/dev/mapper/Raid5-VMStorage on /var/lib/libvirt/images
/dev/mapper/Raid1-SpareStorage on /var/lib/libvirt/images/Workstations

View 3 Replies View Related

Ubuntu :: Bash Script That Uses Sshfs To Remotely Mount A SSH Directory?

Apr 23, 2010

I have a bash script that uses sshfs to remotely mount an SSH directory.

Where should i place this script so it mounts with route privileges?

One consideration is i use VPN so the directory needs to be mounted after openvpn is started.

View 3 Replies View Related

Debian Configuration :: Configure Vino Remote Desktop To Start At Boot - Only View Remotely Once Have Logged-in Locally

Aug 9, 2010

Kernel: Linux 2.6.26-2-686 (i686)
Compiled: #1 SMP Thu Nov 25 01:53:57 UTC 2010
C Library: GNU C Library version 2.7 (stable)
Distribution: Debian GNU/Linux 5.0.8
Desktop Environment: GNOME 2.20

Gnome comes with Vino Remote Desktop as part of it's package. I want Vino to run at boot so that I can login remotely. I am using VNC-4.1.3 for remote viewing. However, I can only view remotely once I have logged-in locally.

View 9 Replies View Related

General :: Ubuntu - Mounting Remote Hard Disk?

Apr 9, 2011

I have a machine running Ubuntu 10.04. I have a VPS (virtual private server) also running Ubuntu Linux. The VPS has a dedicated IP.

I want to have a setup, so that the directories on the VPS are accessible on my HOME PC like a mounted drive.

That is I should be able to do things like edit files on the VPS and copy/move files from/to my home PC to the VPS, as if the VPS was mounted on my box.

View 2 Replies View Related

Fedora Servers :: Mounting A Remote Folder

Nov 13, 2009

My university allows me to connect remotely to my storage space. In Windows, I can use: Code: \name.of.server.ca and after I type my userID and password I can map the folder to a drive letter (say, X:) In Fedora, I can connect remotely with Connect to Server using sftp/ssh (although I've not been able to store the userID and password temporarily). What I'd like is to mount or map the remote folder in a way that would allow me to access it from applications (for example, to call a files on the server from within LaTeX ).

View 1 Replies View Related

Software :: Mounting DOSBOX On A Remote Share ?

Mar 4, 2011

I am trying to mount dosbox on a share on a remote computer. I did it in Win XP without any troubles. In Ubuntu it does n't work.

First I made the map in media and connected the share. The share works fine, but I cann't mount DOSBOX. Then I put the share in the /home/user directory. Share works fine! But dosbox does not mount.

On mount c /home/user/mydrive

I get: Drive C does not exist.

I think that the permissions are not correct.

View 3 Replies View Related

Networking :: Mounting Permissions Error / Mounting A Windows Host?

May 28, 2009

I am having permissions errors every time I try to mount a windows host. I have a linux server and all the windows computers can see that computer and its files, but we wanted to start backing up the linux machine to one of our other computers. so I tried to mount one of the computers. here is the sequence of events:

Code:
$mount -t cifs //192.168.1.194/Admin$ /mnt/Anita-comp
password: (I have no password so I left it blank)
Mount error (13): Permission Denied
I tried all sorts of passwords we use around the office and none of them worked.

I then decided to try mounting one of our other computers. this one looked like it worked fine. no error messages at all. (I left password blank) so I look in my filesystem and the mounted drive is not in the /mnt/Anita-comp file. What gives?

View 11 Replies View Related

Debian Configuration :: Mounting A Remote Sshfs Share?

Apr 2, 2011

I have two remote systems which I have fstab entries for on the local system. I have them set to noauto, because mount fails during boot for some reason, but that's not the problem. For years I've mounted them in rc.local.

The problem is after I recently reinstalled Debian, when I mount them manually it always asks for my user's password. I've copied my user's pub key from the local to the remote system and put it in the user authorized_keys file (not root), like I always have. But it still asks for a password, and so fails to mount in rc.local.

View 2 Replies View Related

Server :: Mounting Remote (NFS) Drive - Adding To Fstab

Oct 25, 2010

From a Fedora 9 server (I think!) I'm trying to mount an nfs drive from a Mac Server. You see, a couple weeks back this was working fine but now there seems to be a problem. I've tried using the mount command and found the following line in the /etc/fstab doc...

Code:
<IP ADDRESS>:/remote/nfs/directory /directory/to/mount/on nfs defaults 0 0
It was commented so I uncommented it, hoping this would be a quick and easy resolution =). Anyway, it didn't work and when I run mount -av the server timesout. So on the Mac Server, I enabled Samba sharing preferences and tried adding this to fstab,

Code:
<IP ADDRESS>:/remote/nfs/directory /directory/to/mount/on cifs username=name,password=password 0 0
When I run mount -a it hangs. I guess I'm doing everything totally wrong. I can SSH into the MAC Server and use tar, rsync etc with no problem. But I really need this drive to mount as it once use to. It's been suggested to me that the NFS or networking module on the Linux box might be broken.

View 2 Replies View Related

General :: Mounting A Local Windows CD Drive To A Remote System?

Jan 31, 2010

The situation is say all I have is a windows machine and I remotely connected via ssh to a Linux machine. Is there a way I can mount my local CD-rom on the remote Linux machine?

View 5 Replies View Related

Ubuntu :: Empty ISO Directory After Mounting?

Jan 27, 2010

I've looked everywhere and haven't found someone with a similar problem or even a hint to how to fix it or what's even going on.I'm trying to mount the Sims 3 raw ISO so I can install the game with PlayOnLinux. Every program or method I've used to mount it seems to mount it successfully. My problem is, that when I go to open the mounted ISO image, the folder is empty and nothing comes up. Even when I go to rightclick > Properties,it displays the contents as nothing.

View 9 Replies View Related

Ubuntu :: Remotely Wake On Lan - Remotely Turn On Computer

Jan 4, 2011

Does anyone know or recommend some software or a script to remotely power on a PC from standby to on, or even better from completely off?

I guess the completely OFF to ON is much more complicated - would probably require an extra piece of hardware(?)

View 2 Replies View Related

OpenSUSE Network :: Error When Mounting Remote Cifs/samba Compact Flash?

Jan 3, 2010

Am in the process of upgrading from an ancient OpenSuSE release (7.2) to 11.2. One thing I have been unable to do that worked fine under 7.2 is remotely mounting a compact flash drive from an XP machine. Worked fine for many moons on 7.2:

# mount -t cifs -o rw //xpbox/'cf (H)' /cf0
I get:
mount error(12): Cannot allocate memory
Other cifs mounts of hard disks work fine.

I found a posting that says this means the memory allocation error is from the XP side. It says to fiddle with the XP registry, specifically IRPStackSize. I was not confident this fix would work since there should not be anything significantly more consuming with 11.2 compared to 7.2, and indeed, I got the same error after changing the parameter to 18 and rebooting the XP machine. Any ideas? I have some suspicion that the space and parenthesis in the share name might be fouling up someone. XP forces the share name to this for some reason.

View 1 Replies View Related

Red Hat / Fedora :: Permanently Mounting The NFS Directory

Jun 30, 2011

i have a fc-7 machine kernel version (2.6.21-1.3194.fc7). i am able to mount the nfs share form a server. but every time when i reboot my machine. share will go off and again i have to mount the share.. is there a way to Permanently mount The NFS Directory , i mean after reboot share should not go....

View 3 Replies View Related

CentOS 5 :: Mounting A Directory From Different Server?

Jun 11, 2009

I am quite new to linux so pleas be understanding :) Here's my problem:

I have a server: A with some directory dirA/ I want to have an access to that directory on server B.

I was reading about "mount" but its very ambiguous for me.

View 4 Replies View Related

Ubuntu :: Error - Mounting /dev On /root/dev Failed: No Such File Or Directory

Apr 4, 2010

I have recently experienced a problem that occurred after an automatic update. After the update it said restart system. So I did and proceeded as normal. when after the reboot Firefox suddenly stopped working, crashed and upon clicking it again only a blank box appeared. Then my other apps followed and i soon couldn't do anything so i shut down my computer. Upon restart I got a black screen with tons of text and something around the lines of

mount: mounting /dev on /root/dev failed: No such file or directory
mount: mounting / sys/ on root/sys failed: No such file or directory
mount: mounting /proc on /root/proc failed: No such file or dirctory

[code]....

So I rebooted and pressed shift to open that grub thing and booted from an earlier kernel. This time it said checking HD for errors and after booted normally. Everything seemed fine but next day it did it again. Starting with Firefox crashing and then everything else. I again booted from a previous kernel and it worked but upon checking with uname -a it did not list the kernel i chose to boot from. So I decided to upgrade 10.04 to 10.10. This upgraded my kernel and deleted the old ones so i am hoping i am good now.

View 2 Replies View Related







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