WIFI File Sharing with a laptop / i-Pad

Using applications, configuring, problems
Post Reply
Message
Author
User avatar
smokey01
Posts: 2813
Joined: Sat 30 Dec 2006, 23:15
Location: South Australia :-(
Contact:

WIFI File Sharing with a laptop / i-Pad

#1 Post by smokey01 »

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

User avatar
r1tz
Posts: 162
Joined: Thu 09 Sep 2010, 05:19
Location: In #puppylinux (IRC)

#2 Post by r1tz »

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, 11:20, edited 1 time in total.

User avatar
smokey01
Posts: 2813
Joined: Sat 30 Dec 2006, 23:15
Location: South Australia :-(
Contact:

#3 Post by smokey01 »

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

User avatar
r1tz
Posts: 162
Joined: Thu 09 Sep 2010, 05:19
Location: In #puppylinux (IRC)

#4 Post by r1tz »

You can determine your IP with the command "ifconfig" then look for inet addr.

You can point pureftp at a folder with adduser

Code: Select all

adduser -h /path/to/stuff  username
and passwd to set a password

Code: Select all

passwd username
[/code]

User avatar
smokey01
Posts: 2813
Joined: Sat 30 Dec 2006, 23:15
Location: South Australia :-(
Contact:

#5 Post by smokey01 »

Thanks r1tz I will give it a go.

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#6 Post by Flash »

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.

User avatar
smokey01
Posts: 2813
Joined: Sat 30 Dec 2006, 23:15
Location: South Australia :-(
Contact:

#7 Post by smokey01 »

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.

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#8 Post by Flash »

I did it to discourage spammers.

User avatar
smokey01
Posts: 2813
Joined: Sat 30 Dec 2006, 23:15
Location: South Australia :-(
Contact:

#9 Post by smokey01 »

Thanks. Spammers are like vandals and I hate them with a passion.

cthisbear
Posts: 4422
Joined: Sun 29 Jan 2006, 22:07
Location: Sydney Australia

#10 Post by cthisbear »

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.

User avatar
smokey01
Posts: 2813
Joined: Sat 30 Dec 2006, 23:15
Location: South Australia :-(
Contact:

#11 Post by smokey01 »

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: Select all

adduser -h /path/to/stuff  username
and passwd to set a password

Code: Select all

passwd username
[/code]
Worked a treat r1tz.

Thanks

User avatar
smokey01
Posts: 2813
Joined: Sat 30 Dec 2006, 23:15
Location: South Australia :-(
Contact:

#12 Post by smokey01 »

r1tz while I was researching firewall configuration I came across this:

http://www.murga-linux.com/puppy/viewto ... h&id=32328

It's called Firewall Genie and is simple and great.

Thread here:http://www.murga-linux.com/puppy/viewto ... 608#448608

It works fine in Lupu 521RC.

User avatar
smokey01
Posts: 2813
Joined: Sat 30 Dec 2006, 23:15
Location: South Australia :-(
Contact:

#13 Post by smokey01 »

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/viewto ... 263#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/viewto ... h&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
Last edited by smokey01 on Tue 29 Mar 2011, 21:46, edited 1 time in total.

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#14 Post by rcrsn51 »

So how did this work on your I*P*A*D? What FTP software did it require?

User avatar
smokey01
Posts: 2813
Joined: Sat 30 Dec 2006, 23:15
Location: South Australia :-(
Contact:

#15 Post by smokey01 »

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.

Post Reply