LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-04-2004, 10:09 AM   #1
sutley
Member
 
Registered: Jul 2004
Posts: 42

Rep: Reputation: 15
Symlink to another computer


Hello All,
Just looking for some help.

I have one computer with an external IP address and one computer with only an interal IP. How would I share a folder on the computer without the external IP address through the computer that does have one. I'm guess I can just put a symlink in my FTP folder that points to a folder on the computer without the external IP, but I'm not sure on the logistics.

Thanks,
Sam
 
Old 10-04-2004, 10:54 AM   #2
sutley
Member
 
Registered: Jul 2004
Posts: 42

Original Poster
Rep: Reputation: 15
would it be something like this?

Can I just add this to my /etc/fstab?

//10.18.1.251/home/shared/music/ /home/guest/music ext3 defaults 1 1

sam
 
Old 10-04-2004, 10:55 AM   #3
exodist
Senior Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: Arch
Posts: 1,374

Rep: Reputation: 47
here is what you do, you share the directory on the internal IP system, then on the External IP system mount it, this can eb done with ftpfs, nfs, or samba. once mounted on the external IP system you should be able to access the external IP system the same way as before and use the internal ip share that is mounted as though it were a drive in the external ip system.
 
Old 10-04-2004, 12:50 PM   #4
sutley
Member
 
Registered: Jul 2004
Posts: 42

Original Poster
Rep: Reputation: 15
sorry to bother you

Conventions:

Computer 1 = Has external IP address - Linux Box - ClarkConnect (RedHat 9 based) - want /home/guest/music to point to computer 2 at /home/shared/music

Computer 2 = Has no external IP address - internal IP only - Linux Box - ClarkConnect (RedHat 9 based) - has folder /home/shared/music I want to link to.

Hey thanks for the tip.
I'm struggling with the commands for accomplishing this feat.

I used:

$ mount -t smbfs //10.18.1.251/shared/music /mnt/pam_music/

And I get this error:
mount: wrong fs type, bad option, bad superblock on //10.18.1.251/home/shared/music,
or too many mounted file systems

Not sure what to do about this.

Thanks for your help again.
Sam
 
Old 10-04-2004, 02:54 PM   #5
sutley
Member
 
Registered: Jul 2004
Posts: 42

Original Poster
Rep: Reputation: 15
Got it

Thanks for your help, but I finally got it.

I had to:

# apt-get install samba-client
.....

# mount -t smbfs -o username=guest //server/shared /mnt/servershare

# ln -s /mnt/servershare/ /home/guest/servershare
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Symlink Fredde87 Linux - General 14 09-30-2005 08:06 PM
where is symlink? guitarfella Slackware 3 12-04-2004 07:34 AM
symlink mikedelo Linux - Software 2 03-28-2004 12:32 PM
symlink evannextel Linux - Newbie 1 09-17-2003 03:54 PM
Symlink Mestax Linux - Newbie 3 09-04-2003 12:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration