| Author |
Message |
smokey01

Joined: 30 Dec 2006 Posts: 1604 Location: South Australia
|
Posted: Sun 27 Mar 2011, 04:04 Post subject:
WIFI File Sharing with a laptop / i-Pad Subject description: How to share files between a Wireless Modem Router and a Laptop/i-Pad |
|
I have a friend who has an i-Pad and I'm trying to find a simple way to transfer photos between my Puppy 5.2 machine and his i-Pad. If Apple would just put a USB port on the i-Pad life would become easier and their sales would likely increase.
How do I set Puppy up so I can either send or receive files from a remote machine via my WIFI Modem Router?
Is Pure-FTPd and option? and if so how does one set it up?
Is it as simple as the laptop/i-Pad which is logged into my WIFI connection able to have access to a directory where the photos reside on my machine?
Any help would be greatly appreciated.
My eyes are hanging out of my head trying to find a solution.
Thanks
_________________ Puppy Software <-> Distros <-> Puppy Linux Tips
|
|
Back to top
|
|
 |
r1tz

Joined: 09 Sep 2010 Posts: 165 Location: In #puppylinux (IRC)
|
Posted: Sun 27 Mar 2011, 17:38 Post subject:
|
|
Yeah, ftp is a possible solution.
Set up a ftp server in puppy with the file-sharing on /root/
Then on the IPAD, use a ftp client, or mount the ftp as a folder.
Im not too sure what program that IPAD uses but there should be a program to upload stuff in ftp.
----
You can also use nfs file sharing.
----
Or you can use the file sharing function on the i-Pad, i believe it has one, then use puppy to pull the stuf over
Last edited by r1tz on Thu 31 Mar 2011, 07:20; edited 1 time in total
|
|
Back to top
|
|
 |
smokey01

Joined: 30 Dec 2006 Posts: 1604 Location: South Australia
|
Posted: Sun 27 Mar 2011, 22:45 Post subject:
|
|
Thanks r1tz but how does the remote system connect. I understand you can point pure-ftpd at a folder on the server.
Do you need to provide the IP address to the remote system?
If so, how do you determine the address?
Thanks
_________________ Puppy Software <-> Distros <-> Puppy Linux Tips
|
|
Back to top
|
|
 |
r1tz

Joined: 09 Sep 2010 Posts: 165 Location: In #puppylinux (IRC)
|
Posted: Mon 28 Mar 2011, 02:26 Post subject:
|
|
You can determine your IP with the command "ifconfig" then look for inet addr.
You can point pureftp at a folder with adduser
| Code: | | adduser -h /path/to/stuff username |
and passwd to set a password
[/code]
|
|
Back to top
|
|
 |
smokey01

Joined: 30 Dec 2006 Posts: 1604 Location: South Australia
|
Posted: Mon 28 Mar 2011, 03:35 Post subject:
|
|
Thanks r1tz I will give it a go.
_________________ Puppy Software <-> Distros <-> Puppy Linux Tips
|
|
Back to top
|
|
 |
Flash
Official Dog Handler

Joined: 04 May 2005 Posts: 9845 Location: Arizona USA
|
Posted: Mon 28 Mar 2011, 09:27 Post subject:
|
|
Sorry, guys. I made it so the forum substitutes "piece of crap" for the word "i P a d." You can get around it by misspelling the bad word. I changed yours to i-Pad.
|
|
Back to top
|
|
 |
smokey01

Joined: 30 Dec 2006 Posts: 1604 Location: South Australia
|
Posted: Mon 28 Mar 2011, 16:11 Post subject:
|
|
| Flash wrote: | | Sorry, guys. I made it so the forum substitutes "piece of crap" for the word "i P a d." You can get around it by misspelling the bad word. I changed yours to i-Pad. |
Why is it a bad word?
It's actually a pretty cool piece of technology. I still like puppy better though.
I would probably even buy one if it had a USB port.
_________________ Puppy Software <-> Distros <-> Puppy Linux Tips
|
|
Back to top
|
|
 |
Flash
Official Dog Handler

Joined: 04 May 2005 Posts: 9845 Location: Arizona USA
|
Posted: Mon 28 Mar 2011, 16:12 Post subject:
|
|
I did it to discourage spammers.
|
|
Back to top
|
|
 |
smokey01

Joined: 30 Dec 2006 Posts: 1604 Location: South Australia
|
Posted: Mon 28 Mar 2011, 16:32 Post subject:
|
|
Thanks. Spammers are like vandals and I hate them with a passion.
_________________ Puppy Software <-> Distros <-> Puppy Linux Tips
|
|
Back to top
|
|
 |
cthisbear
Joined: 29 Jan 2006 Posts: 2942 Location: Sydney Australia
|
Posted: Mon 28 Mar 2011, 18:24 Post subject:
|
|
Both of you run Teamviewer.
http://www.teamviewer.com/en/download/mobile.aspx
Pets are here...for you.
Maybe try sidders teamviewer6.pet first, as it is the later one
and won't conflict with the Apple.
http://murga-linux.com/puppy/viewtopic.php?t=66230
And you know that in the latest Hirens boot cd
that you can run Teamviewer when you boot mini windows.
Really handy.
Chris.
|
|
Back to top
|
|
 |
smokey01

Joined: 30 Dec 2006 Posts: 1604 Location: South Australia
|
Posted: Tue 29 Mar 2011, 05:47 Post subject:
|
|
| r1tz wrote: | You can determine your IP with the command "ifconfig" then look for inet addr.
You can point pureftp at a folder with adduser
| Code: | | adduser -h /path/to/stuff username |
and passwd to set a password
[/code] |
Worked a treat r1tz.
Thanks
_________________ Puppy Software <-> Distros <-> Puppy Linux Tips
|
|
Back to top
|
|
 |
smokey01

Joined: 30 Dec 2006 Posts: 1604 Location: South Australia
|
Posted: Tue 29 Mar 2011, 06:56 Post subject:
|
|
r1tz while I was researching firewall configuration I came across this:
http://www.murga-linux.com/puppy/viewtopic.php?mode=attach&id=32328
It's called Firewall Genie and is simple and great.
Thread here:http://www.murga-linux.com/puppy/viewtopic.php?p=448608#448608
It works fine in Lupu 521RC.
_________________ Puppy Software <-> Distros <-> Puppy Linux Tips
|
|
Back to top
|
|
 |
smokey01

Joined: 30 Dec 2006 Posts: 1604 Location: South Australia
|
Posted: Tue 29 Mar 2011, 17:35 Post subject:
|
|
Conclusion
Over the last couple of days I have had some fun playing with WIFI networking. It's not something I have done before so I found it quite exciting.
I managed to setup my computer running Puppy 521RC as both a HTTP and FTP server. This allowed remote computers using WIFI to access my files in a specified directory.
Using the HTTP method was very simple but it does require python which is an additional 3-4 Meg of files. From what I understand it only allows you to download files from the server computer to the remote computer and not the the other way around.
See here for details.
http://www.murga-linux.com/puppy/viewtopic.php?p=453263#453263
I think my preferred method is to use PureFTPd FTP Server that is bundled with Puppy and no additional software is required. This allows you to upload and download files from the server computer. I prefer to use gFTP FTP client on the remote computer but most browsers like Seamonkey can also be used.
Before you start you need to determine your IP address. Open a terminal window and type ifconfig, this will show you your IP address like:
inet addr:192.168.0.2. Yours may obviously be different.
Another problem you may find is the firewall, if you have one installed, which is recommended. You can either turn it off or reconfigure it to accept incoming connections on Port 21, the FTP port.
I suggest leaving the firewall on and using Firewall Genie to configure the firewall. Download Firewall Genie here:
http://www.murga-linux.com/puppy/viewtopic.php?mode=attach&id=32328
All you need to do is run Firewall Genie (Menu>Network>Firewall Genie), tick the FTP box and click on the save button.
Now run Menu>Network>PureFTPd FTP server, tick Prevent user root connections then click on the Start Pure-ftpd button.
Now you need to decide what folder/directory on the server computer you will give remote access to. This means the remote computer can only see this one directory.
Open a terminal window and type: adduser -h /root/stuff guest
This assumes you have a folder called stuff off the root directory and you have allocated a username of guest. When you press enter you will be asked to provide a password. Type the password and retype a second time when asked. This is the username and password the remote computer will need to get access to your computer.
Now you can fire up your remote computer.
You must also be connected to the WIFI on the server computer.
Run the FTP client.
The host will be 192.168.0.2 as determined earlier by ifconfig. Type in your username and password and you should be connected to the stuff directory on the server computer. You are now free to upload or download files.
If you only want the remote computer to download some files from the stuff directory then you could use your browser. The address would be:
ftp://192.168.0.2. When asked, type in username and password and the stuff directory will be displayed in your browser.
To close the FTP server goto Menu>Network>PureFTPd FTP server and click on stop server.
To remove user guest from your system, in a terminal window type deluser guest.
Thanks for the advice provided by r1tz, rcrsn51 and Mobeus for Firewall Genie.
Hope this helps
_________________ Puppy Software <-> Distros <-> Puppy Linux Tips
Last edited by smokey01 on Tue 29 Mar 2011, 17:46; edited 1 time in total
|
|
Back to top
|
|
 |
rcrsn51

Joined: 05 Sep 2006 Posts: 7747 Location: Stratford, Ontario
|
Posted: Tue 29 Mar 2011, 17:45 Post subject:
|
|
So how did this work on your I*P*A*D? What FTP software did it require?
|
|
Back to top
|
|
 |
smokey01

Joined: 30 Dec 2006 Posts: 1604 Location: South Australia
|
Posted: Tue 29 Mar 2011, 17:50 Post subject:
|
|
I don't have an I*P*A*D so I will have to wait until my friend comes around to try it.
FTP on the go seems to work on the iPhone so maybe it will on the I*P*A*D too.
It works great on Puppy though.
Thanks for your help.
_________________ Puppy Software <-> Distros <-> Puppy Linux Tips
|
|
Back to top
|
|
 |
|