I wondered if i could share folders between two ubuntu machines, even if one of them doesn't have Internet connection.
In fact, i searched all day long for a way to do that, but all i found is that i should install SAMBA or openssh, but i actually can't cause as i said, i don't have Internet on one of the two PCs.
First i tried to find a way to share the Internet connection, but i was told that it wasn't possible while i didn't have two network cards in the PC that was connected to the Internet.
I would be grateful if someone could give me an answer.
I'd suggest installing
openssh-server
on the machine with the internet connection, then using the commandscp remote-user@remote-host:/path/to/file ~/place/to/store
to copy a file from remote to local on the internet-less machine, as ssh client is pre-installed by default (if I remember correctly).Alternatively, with openssh-server installed, on the desktop of the internet-less machine go to file->connect to server and change the type to ssh. Then enter a username, password & host to connect to the remote machine and mount the filesystem locally.
There's also this relevant xkcd.
You can download (on the PC that has internet) the deb packages necessary to install Samba, then transfer them, using a usb pen, or something similar, to the PC that has no internet.
(Be carefull, you need to transfer the dependence packages,if any, to the internet-less PC, too)
Doing a little research on the dependencies,what I get from
rpm -qpR samba-3.6.5-86.fc17.1.x86_64.rpm
is:Now you just have to grab one by one and install the debs on the internet-less PC. Good luck! :)