Nov 21, 2009

Link To Other Computers

free web hosting
Open Discussion & Free Web Hosting > Computers & Tech > Networking

Link To Other Computers

FirefoxRocks
I am having trouble creating symbolic links to another computer on Ubuntu.

This is what I want to do (erm, sort of):

CODE
~/Music -> 192.168.0.194/media/OS/Users/FirefoxRocks/Music

or
CODE
/home/vincent/Music -> 192.168.0.194/media/OS/Users/FirefoxRocks/Music

or even
CODE
/media/qdrive -> 192.168.0.194/media


This is what I have tried:

CONSOLE
firefoxrocks@ubuntu-desktop: sshfs user@192.168.0.194:/media/OS /media/qdrive

and
CONSOLE
firefoxrocks@ubuntu-desktop: ln -s \\192.168.0.194 /media/qdrive


The first one says read: Connection reset by peer and the second one creates invalid links.

Is there a command to do this?

 

 

 


Comment/Reply (w/o sign-up)

Shuaib95
QUOTE(FirefoxRocks @ Aug 8 2008, 09:25 AM) *
I am having trouble creating symbolic links to another computer on Ubuntu.

This is what I want to do (erm, sort of):

CODE
~/Music -> 192.168.0.194/media/OS/Users/FirefoxRocks/Music

or
CODE
/home/vincent/Music -> 192.168.0.194/media/OS/Users/FirefoxRocks/Music

or even
CODE
/media/qdrive -> 192.168.0.194/media


This is what I have tried:

CONSOLE
firefoxrocks@ubuntu-desktop: sshfs user@192.168.0.194:/media/OS /media/qdrive

and
CONSOLE
firefoxrocks@ubuntu-desktop: ln -s \192.168.0.194 /media/qdrive


The first one says read: Connection reset by peer and the second one creates invalid links.

Is there a command to do this?


This guide found at http://ubuntu.wordpress.com/2005/10/28/how...em-using-sshfs/ should help you.


How to mount a remote ssh filesystem using sshfs October 28, 2005
Posted by Carthik in ubuntu.

QUOTE
SSH is protocol to transfer files securely. Like FTP, but more secure. Many hosting services offer their client the ability to remotely login to their hosting account using ssh. Transferring files to an from an ssh account can be done using the scp command. However, it would be neat if you could mount a remote folder that you can access using ssh on your local computer, so that you can access files on an ssh account just like they were local files on your pc, right? Well now you can! Mount a folder in an ssh account, edit the files locally and save the files, and the file on the ssh server changes too! Isn’t it awesome!!!

We will use sshfs to acheive our goal. The following guide will step you through the process of mouting file systems over ssh on Ubuntu 5.10 Breezy systems.

sshfs:
sshfs is a filesystem client based on the SSH File Transfer Protocol.
Since most SSH servers already support this protocol it is very easy to
set up: i.e. on the server side there’s nothing to do. On the client
side mounting the filesystem is as easy as logging into the server with
ssh.

Install sshfs by doing a:
$sudo apt-get install sshfs

This will also install fuse-utils and libfuse2, which are required.

Now, let us create a local directory where you want the files mounted. You should create the directory and make yourseld the owner of the directory:

$sudo mkdir /media/dir-name
$sudo chown your-username /media/dir-name

Where “dir-name” is the name of the directory on your local computer where you want to access the files from the remote computer. Say I want the files on the server to be available at /media/home-pc. I want this because the “server” in this case is the desktop I have at home, which allows me to access it through ssh. Let us use “home-pc” as an example for this guide. “your-username” is your username on the local computer.

Go to System->Administration->Users and Groups, select the group “fuse” and then add yourself to this group.

If you prefer to do it the easy way, on the commandline, then use
$sudo adduser your-username fuse

I don’t want to provide a terminal command for adding yourself to a group since there doesn’t seem to be an easy way to add yourself or any user to a group. The only command I know of is the usermod -G command and for this command, you need to list all the groups the user should belong too, even the ones that he/she is already a member of! Anyone know any better on how to add a user to a new group, without having to know what groups he/she is already a member of?
Thanks Shot.

For security reasons, the /usr/bin/fusermount binary is installed in such a way that users cannot execute it. You will have to log out and log in again, to add yourself to the group “fuse”.

Once you have done the above, you can use sshfs to mount the directory you need on the remote host to your local system!

For example, say I want to mount the “/stuff” directory on my home-run server, which has the domain name “example.com”. I would do it by executing the following command:
$sshfs example.com:/stuff /media/home-pc

Where “/stuff” is the folder on the computer with the domain name “example.com”, which I want to mount and access on my local computer at the location /media/home-pc. Remember that the /media/home-pc directory must exist and be owned by you, the user. I already mentioned how to do this in the initial part of this guide.

If you get the following error:

fusermount: fuse device not found, try ‘modprobe fuse’ first

You will have to load the fuse module by doing:
$sudo modprobe fuse

You can add fuse to the modules that are loaded on startup by editing the file /etc/modules and adding a line with only the word “fuse” in it, at the end.

and then issue the sshfs command above again.

To unmount the directory once your work is done, use the command:
$fusermount -u

for example, in my case, I would use
$fusermount -u /media/home-pc

 

 

 


Comment/Reply (w/o sign-up)

FirefoxRocks
I tried doing that. I am successfully added myself to the fuse group, but somehow it still says read: Connection reset by peer. If you read the commands I have tried, you'll see that it is the same one in the guide that you provided (which I followed before posting this topic).

Any other commands/ideas?

[P.S. Please quote text when you are copying from other sources.]

Comment/Reply (w/o sign-up)

vujsa
Well, my Linux is awful! So I'll concentrate on non-Linux based problems...

Assuming that you are using a LAN since the IP addresses are those commonly used be default in most routers I may have a possible cause.

Let's assume that you are accessing one computer on your network as your Apache server. You probably had to either forward HTTP request to that computer or set that computer as your DMZ. As a result, the router knows what to do with HTTP requests. You may need to tell it how to allow connection to your symbolic links. My guess is that either your router's firewall is blocking the request or the router doesn't understand how to handle the request.

This may or may not be helpful. I'm sorry, it is the only thing I can think of.

vujsa

Comment/Reply (w/o sign-up)

FirefoxRocks
QUOTE(vujsa @ Aug 10 2008, 03:02 AM) *
Well, my Linux is awful! So I'll concentrate on non-Linux based problems...

Assuming that you are using a LAN since the IP addresses are those commonly used be default in most routers I may have a possible cause.

Let's assume that you are accessing one computer on your network as your Apache server. You probably had to either forward HTTP request to that computer or set that computer as your DMZ. As a result, the router knows what to do with HTTP requests. You may need to tell it how to allow connection to your symbolic links. My guess is that either your router's firewall is blocking the request or the router doesn't understand how to handle the request.

This may or may not be helpful. I'm sorry, it is the only thing I can think of.

vujsa

I am using a wireless network and Apache isn't set up on either computer. I have also tried creating a symbolic link to the computer running on Vista instead of Ubuntu 8.04, but it still doesn't work.

If the remote computer is running Linux, I can access it using telnet or vncviewer, but if the remote computer is booted into Vista, I can access it in Nautilus as well as through LogMeIn.

In Nautilus, creating a symbolic link does not work because it thinks I want to put the link on the remote system. But perhaps mounting the remote computer to /media/qdrive would allow me to create a link from there?

Comment/Reply (w/o sign-up)


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

This textarea will convert to Rich-Text automatically (IE, Firefox, Chrome)

Similar Topics

Keywords : link, computers

  1. Broadband Modem Sharing
    Accessing Internet from 2 computers (11)
  2. Networking Computers Without Modem?
    (16)
    I don't know if that is the right title but here goes. The computer I'm on is connected to
    the internet via dial-up and has a printer connected to it. My computer has no internet connection,
    but has many graphics programs and things that I would like to transfer the the internet connected
    computer. I had the computers networked when I had highspeed internet and a cable modem, but
    I'm not sure how to network them now that their both not on the internet. So my question is,
    how do I network these two computers? (I know it's probably very simple)....
  3. How To Access A Different Computers Directory
    (1)
    So here we go: First make sure the dirrectory on the other computer in your network is free to the
    network. To free it, right click on the folder or harddrive, then properties and then the seconde
    option(i have a german computer so its freigabe there but it should be something like network free
    folder or something...youl find it easily) Then fill out the requirements including to give the
    folder a network free folder name. After all that, you should be able to go back to your computer
    and remotely access it.(dont forget to leave on the other computer!!!) Now go to start....
  4. Computers Fighting For IP Address
    (10)
    Just got a internet problem the other day. Originally I have only two computers accessing the
    wireless router/modem (Westell Versalink 327W). No problems at all. I had to install the Verizon
    software which I thought was necessary. Well, we have an extra laptop now and I just thought to
    myself, maybe I can give this new laptop wireless internet without installing all the useless
    Verizon software. I got it working (set up the SSID, WEP, etc...). Great... Until ALL 3 machines
    started to go online... I see a warning message on my laptop saying that there is more than....
  5. How To Connect Computers In A Wi-fi Network
    Peer-to-peer connection? (10)
    My parents have been persuading me over and over again to do something about our wireless internet
    connection. No, its not that the router has any problems connecting the computers to the internet.
    My problem is that i want to connect my computers together to enable the sharing of files,
    programs, and most importantly, my printer. Unfortunately, I have no idea how to use the already set
    up wireless connection to link all the computers together. I've done networking with cables yeah
    but never with wireless. I've tried the wizards Windows XP provides to create ne....
  6. D-link Router 614i Crashes
    (4)
    I have 2 computers in my home network. Both of them have 100Mb D-Link NIC cards and everything is
    100% checked and compatible. The thing is when you trying to transfer files or sometimes even when
    you play a game, internet crashes and it takes about 5-10 seconds to renew. Can anyone tell what are
    the possible reasons?....
  7. I Think D-link Di-804hv Is The Best Router
    (1)
    On my LAN I have 2 PCs. I networked them so I can share files and printers. Also when my dad brings
    home his work laptop he can plug it into the D-link, one of the few routers under $100 bucks with
    VPN Capability and can access his work at DSL speeds instead of the dial up junk. By the way if you
    dont know, VPN is called Virtual Private Networking. It is more secure and creates virtual tunnels
    that let only you and the remote computer get in and makes sure no backdoor trojans are on ur pc
    that could access the work PC. Setting it up is easy. Plug your DSL in the WAN. Th....
  8. Voip Ta Adapter Differences
    Request the D-Link!!! (0)
    Hello All, I came home from vacation, to find that my VOIP phone didn't have any dial tone.
    Did all the normal things, like powering off everything, then turning them back on just as I had
    during my initial installation of my VOIP system. Still no dial tone. So... thinking how smart I
    am, I decided to call my phone, and see how it did the "Safe Number" automatic forwarding. No go!!!
    So... I wait thru the 22minutes of advertisments until I actually get a hold of someone LIVE to
    talk with via their 800 number... and happily they were able to "Kick-Start" my TA (T....
  9. Sharing "domain" & "workgroup"
    Network 2 dissimilar Computers? (7)
    Hello All, I have what may be a strange question... hopefully the answer/fix isn't as strange.
    *grin* I have a home network. Works fine. Main computer hardwired, daugher's computer via
    Wireless. They work fine together. I also have been provided a Laptop from work. I'm able to
    sucessfully use my network wireless card and gain access to the internet at home. This Laptop from
    work... is setup with the Network ID, as a "DOMAIN"... to fully access the "Intranet" at work. As
    is normal for home usage... my main computer at home, as well as the daughter....
  10. Stubborn Laptop
    Can't see computers on network (5)
    I have a laptop that can't see other computers on my network. I try to map a local drive Z: and
    I go under My Computer > Tools > Map Network Drive > Browse > Entire Windows Network title > MSHOME
    and it is right there it says that it doesn't have permissions and to contact the network
    administrator (which I guess is me). I have ran the network wizard on it with no sucess either. I
    know it is connecting to the network because I can see it on my router's connections screen. My
    other laptop which hosts Z: connects fine and so does my other computer. That lapto....
  11. Share Files Between The Computers ?
    (7)
    I don't know much about networking but I'm trying to learn more by setting up my home
    network. I have one desktop computer running Windows ME and one desktop computer running XP Pro,
    I'm using a router and a cable modem to get them connected to the Internet. My main goal is to
    be able to share files between the computers so I don't have to be copying files from one and
    moving it to the other etc.... My first question is am I gonna be able to do this without a
    Network Hub? I've tried different things such as assigning static IP addresses to each ....
  12. Want To Connect Computers..
    For a LAN party (12)
    Hey all, I plan to have a LAN party with my friends next week. There are three of us. I have a hub.
    we have one PC and 2 laptops. The operating systems are Win XP,ME, 98. Will it make a difference.??
    Can i connect all three event though no two have the same OS??....
  13. Sharing Between Computers...
    ... that are on the same network. (11)
    How do I enable file sharing between my two computers that are on the same network? I am running
    Windows 2000 Professional on both computers.....

    1. Looking for link, computers

See Also,

*SIMILAR VIDEOS*
Searching Video's for link, computers
advertisement



Link To Other Computers

Affordable Web Hosting, Low cost Web Hosting - ComputingHost.com