LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Serving files from a computer with dynamic IP address (https://www.linuxquestions.org/questions/linux-newbie-8/serving-files-from-a-computer-with-dynamic-ip-address-4175456358/)

dodo101 04-01-2013 11:09 AM

This has been really useful. I'm going to test TeamViewer.

I really can't fault the Linux Questions community - such expert knowledge and friendly people here. Many thanks.

nickmh 04-01-2013 06:08 PM

If Files sharing is the goal, why not ownCloud?

A small environment with user configuration that can simply be "switched off" when not required?

Just thinkin' out loud.

Yes, I have an ownCloud VM sitting in my living room, serving through my router, modem and linked to a no-ip.org dynamic ip domain.

This could be accessed through webdav or simply http in at the user end.

Once setup would be the easiest for the end user to get to, and the admin to configure users/shutdown, using a smartphone or laptop from anywhere.

The android ownCloud client also has the handy function of automatically uploading photo's taken through it's camera to your ownCloud server.

It's not the easiest to get up and running for noobs, but worth it, I'd think

fotoguy 04-01-2013 06:34 PM

To enhance your security for apache look at installing mod-security and portsentry. Mod-security is a application firewall designed for apache, it will analize in real time all data comming into the apache server and detect all manner of attacks. It can also be made to lauch scripts which allow you to do a host of things like send email alerts, send sms to your mobile/cell phone, you will need a account with an sms carrier for this one, run other programs and other scripts etc. Portsentry is a Intursion detection system which can alert you to different attacks on other ports that mod-security doesn't cover.

padeen 04-01-2013 06:39 PM

Does your ISP give you a webpage as part of your contract with them? If so, it is very easy to upload files there and give the URL to your friends. You can password protect the page. No mess, no fuss.

The only negative is that the allocation is often quite small. My ISP gives its customers only 50MB, but its still plenty enough for simple files.

LQParsons 04-02-2013 06:16 AM

why others are given access
 
Hi.
Missing to me in this thread is why do you want to give others remote access to your files.
If it's just to 'get them', that is, read only, then something like dropbox gives you the ability to put a file into their 'cloud' and give others access to that file and that file alone.

I use TeamViewer and like it alot, it gives me the access I need between my windows machine(s) and my Linux machine(s) and my Macintosh(es).
I give each machine whatever expansive or limited access to the other necessary
Etc.

But I'm confused by its suggestion in this thread -- Team Viewer is giving your external folk full access to your laptop. Is this what you want? Some of the answers seem (to me) over-kill, since I'm not sure why you want to do this, nor your capability.

As a rule of thumb, I try to give as little as possible. I use VNC with this one, Team Viewer with that one, just a link to a file DropBox hides & protects for me to another.

Enjoy.

schneidz 04-02-2013 08:34 AM

Quote:

Originally Posted by dodo101 (Post 4922797)
Ok, having thought about this for a while, I decided that running a server may be a bit of an overkill for my needs. Although the information I was given will come in useful if I choose to do so in the future. Many thanks for that.

But for a simple exchange of files between me and my friends it may be that a remote desktop application will do just fine.

TeamViewer was kindly suggested by mddesai. This product seems almost too good to be true: it is free, with a clean user interface, allowing simple drag and drop of files to and from remote machines. It even appears to have voice and video over IP capabilities out of the box. Can it really be that good for free?

In addition, it doesn't appear in the Mint software repositories and that makes me worry it may not be so trustworthy. Do I worry too much?

A search in the Mint software repositories came up with:
1. Remmina
2. Vinagre
3. gnome-rdp

Can anyone recommend any of those applications or others? How can I assess which ones are trustworthy before I install them on my machine?

Many thanks

i use xrdp to see my desktop on my galaxy-s2... no matter what method you use you still need to run the server on your desktop and have your friends configure the client on their pc's (and punch the necessary holes in your router).

273 04-02-2013 08:59 AM

LQParsons: Good point about dropbox. Don't use things like that myself as I don't like the idea of giving my files to a third party, but it is a quick and easy solution and it's only paranoia stopping my using things like it.
schneidz:TeamViewer was suggested because it involves the installation of a .deb on the "controller" PC and execution of an .exe on the PC to be controlled and nothing else. It is, as mentioned by LQParsons, overkill but it should allow a quick "connect, drop file, disconnect" solution.

schneidz 04-02-2013 09:35 AM

here's what i do:
i have my own dropbox-like solution where i give people web-links to directories in my server:
http://hyper.homeftp.net/temp/


since the op is no longer interested in apache, i would just create user-id's for everyone i want to have access (or have them share the same guest account).

assuming they are windows or mac users (or android or ios users), i would instruct them to install an scp client to login for upload/download access (if they are running linux then ssh/scp/sftp/sshfs would be already installed by default).

treborsitnay 04-03-2013 09:14 AM

I agree with TeamViewer -plus- it works on Android tablets and phones, and Mac OS X, and of course several flavors of Linux & Windows. With enough pressure on Apple, TeamViewer would support iOS devices as well :-).

MrUmunhum 04-06-2013 05:01 PM

You are looking for two solutions:
  1. Network connection.
  2. Method of distributing your files.
For the first question, the answer is simple since you stated that you will be using a phone interface.

Quote:

Originally Posted by dodo101 (Post 4922733)

I'll be happy if I could just give my friends my temporary IP address over the phone and let them download my files for that session only. Is that possible?

Attach a phone modem and start a getty, wait for your users to connect. Sorry I can't tell you exactly the commands to use, it has been a long time since I have done this.

Now for the distribution methods:
  • Web server ( Apache );
  • SSH
  • FTP
  • NTFS

May I suggest you purchase a Raspberry Pi? For $35 and the price of a modem you have a solution. RaspBian has all of these methods installed. I use one for my Web Server.

Good luck.


All times are GMT -5. The time now is 11:53 PM.