PDA

View Full Version : [ubuntu] Really Simple Networking



appalbarry
July 4th, 2010, 04:40 AM
Wow, this should be easy, but web searches have found nothing.

Computer A - Dell desktop with Ubuntu installed via the Windows installer. EVERYTHING works very well!

Computer B - Acer laptop with Ubuntu installed via the Windows installer. EVERYTHING works very well!

Connected via wireless router.

I want to access ONE folder/directory on the Desktop from the Laptop. I've messed with Samba, and NFS, and anything else that looks likely but can't make it work.

Bizarrely I CAN do a remote desktop to control the desktop, and can print to the attached printer.

After ten years and maybe twenty attempts, this is the first time that I've been able to say that I can stay with Linux for EVERYTHING I do (thanks WINE!) but this one simple task is a deal breaker for me.

Help!

Ubuntu 10.04 LTS - the Lucid Lynx

cariboo907
July 4th, 2010, 04:47 AM
NFS for Ubuntu to Ubuntu is probably the easiest way to share a directory have a look here (https://help.ubuntu.com/community/SettingUpNFSHowTo) for a howto.

jimrz
July 4th, 2010, 04:52 AM
try open-ssh, the client is included in the default install and the server can be easily added to your desktop via synaptic

HermanAB
July 4th, 2010, 05:14 AM
Hmm, the easiest way to share files with Windows is via FTP and the hardest way is via Samba.

So, you could go to FileZilla project and install Filezilla server and client on Windows, then use Nautilus File, Connect to Server.

Otherwise, have a look at this:
http://www.aeronetworks.ca/nfs-howto.html

appalbarry
July 18th, 2010, 12:20 AM
Both systems are running Ubuntu, which is why I thought this should be easy.

appalbarry
July 18th, 2010, 01:06 AM
http://ubuntuforums.org/showthread.php?t=249889 also looks promising, but I'm out of time. This SHOULD be easy!

Miljet
July 18th, 2010, 02:04 AM
Do I understand correctly that both installations are WUBI? If so, I don't know what effect that will have on using the tools described above.

I agree that simple file sharing should be easier between 2 Linux machines. I use rsync and SSH to backup to an old machine I use as a server of sorts. Instructions here: http://ubuntuforums.org/showthread.php?t=15082&highlight=ssh

But to share files between my computer and my wife's, I use NFS. http://ubuntuforums.org/showthread.php?t=249889&highlight=nfs and http://nfs.sourceforge.net/nfs-howto/

There are many other ways to share files under *nix, but these two were the easiest for me.

egalvan
July 18th, 2010, 02:13 AM
I agree that simple file sharing should be easier between 2 Linux machines.

Simple file sharing between 2 Linux machines IS simple...

Fire up Nautilus,
right-click on folder you wish to share
choose "Sharing Options"
choose options needed/wanted.
All done.
Any simpler?


But to share files between my computer and my wife's, I use NFS. http://ubuntuforums.org/showthread.php?t=249889&highlight=nfs

There are many other ways to share files under *nix, but these two were the easiest for me.

NFS is the method I use for Linux-Linux network.

baddnady23
July 18th, 2010, 02:19 AM
NFS makes this incredibly easy. Heres the tutorial I followed on several occasions:

http://ubuntuforums.org/showthread.php?t=249889&highlight=HOWTO%3A+NFS+Server%2FClient
http://www.ubuntugeek.com/nfs-server-and-client-configuration-in-ubuntu.html

theozzlives
July 18th, 2010, 02:20 AM
You see, with WUBI (running under Windows), you don't have two Linux machines. You have two Windows machines running virtual Linux. You'll get more out of dual boot, or strictly Linux.

appalbarry
July 18th, 2010, 02:28 AM
"You see, with WUBI (running under Windows), you don't have two Linux machines. You have two Windows machines running virtual Linux."

Really? Still seems to run better than Windows.

bodhi.zazen
July 18th, 2010, 02:39 AM
You see, with WUBI (running under Windows), you don't have two Linux machines. You have two Windows machines running virtual Linux. You'll get more out of dual boot, or strictly Linux.

That is not true. Wubi is often mis understood, wubi is dual booting not virtualization.

See

https://wiki.ubuntu.com/WubiGuide

appalbarry
July 18th, 2010, 02:44 AM
OK, what I've finally done is go the desktop box, right click the folder in question, and try to set sharing.

Didn't work of course because I'm a lowly user.

So I launched sudo nautilus, and repeated the procedure, and it would seem the folder is shared.

Still can't get to it from the laptop though, although it seems close. I suspect that various things done following other processes might have gummed things up.

Miljet
July 18th, 2010, 03:14 AM
Simple file sharing between 2 Linux machines IS simple...

Fire up Nautilus,
right-click on folder you wish to share
choose "Sharing Options"
choose options needed/wanted.
All done.
Any simpler?


I'm sure that it is just that simple for you on your network. But for me and the dozens of others that ask here, the shared folder just doesn't show up on the other machines on the network without further configuration.

appalbarry
July 18th, 2010, 07:05 PM
OK, what seemed to work was to:

1) go to the desktop PC(aka server);
2) launch Nautilus as superuser (Terminal: sudo Nautilus)
3) Find the folder to be shared and right click; choose Sharing Options
4) Select what you need, then click OK etc.

I think that may have been all that was needed , although I had previously tried all of the complicated methods linked in previous posts.

One thing I did belatedly which really helped me, was to rename each machine. Previously I had just accepted the UBUNTU default, so I had two computers both called "Ubuntu".

Typing sudo gedit /etc/hostname in Terminal will allow you to change the name of the computer, in this case to "Desktop" and "Laptop" respectively.

As I say, I think that this was enough, but aren't about to reinstall to find out.