Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 16 Sep 2014, 23:39
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
Puppy as wireless NAS
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [15 Posts]  
Author Message
greengeek

Joined: 20 Jul 2010
Posts: 2539
Location: New Zealand

PostPosted: Thu 30 Aug 2012, 14:56    Post subject:  Puppy as wireless NAS
Subject description: Recommendations??
 

I would like to use an old laptop (model as yet unspecified) and install some version of puppy so that the laptop harddrive could host my files and make them available to other family members, who would be connecting wirelessly.

I anticipate the laptop probably having a wired connection to the router (it will probably sit next to the router), and a separate wireless card to broadcast the files when requested.

At the moment we don't have any home network set up, but we do have a standard ADSL router which also has a wireless interface, so our current wireless link is used only for internet access. I don't know if my intended filesharing link should use the router wireless connection somehow, or use the wireless interface in the laptop.

Has anyone seen a puppy topic covering such a setup or is currently doing this? I have found links regarding connecting a commercial NAS, but not a topic "building" a NAS from puppy.

(I assume that any puppy PC with a large usb HDD could in theory be configured as a NAS)

I guess the knowledge I need to cover is:
Choosing the puppy (probably almost any puppy will do?? I will probably also trial PussyPi for this as I want a low-drain solar powered version aswell)
Deciding whether to use the router wireless port or the laptop wireless port to distribute the files.
Setting up the filesharing on the host laptop.
Discovering the fileshare fom other PCs
Possibly separating files so that some are secured by password and some are "open" or perhaps "read only"

The biggest problem here is educating myself about networking techniques because I have tried to avoid networking as much as possible and use the family PCs in "standalone mode"

I have played with booting the family PCs into Puppy via PXE (because that was possible without even having any networking set up...) and will probably incorporate that function into the PuppyNAS server too.

Any suggestions appreciated.
Back to top
View user's profile Send private message 
p310don

Joined: 19 May 2009
Posts: 704
Location: Brisbane, Australia

PostPosted: Fri 31 Aug 2012, 01:53    Post subject:  

the easiest thing to do is to download and run this puppy:

http://www.murga-linux.com/puppy/viewtopic.php?t=60406


It has everything you are asking for.

It really doesn't get much easier than that one.
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 9106
Location: Stratford, Ontario

PostPosted: Fri 31 Aug 2012, 09:25    Post subject: Re: Puppy as wireless NAS
Subject description: Recommendations??
 

greengeek wrote:
At the moment we don't have any home network set up,

Go to each machine that you use and type the command "ifconfig". Do they all have an IP address like 192.168.2.xx or 10.0.0.xx?

From each machine, try to ping other machines with
Code:
ping aaa.bbb.cc.dd


Is this successful? If so, you already have a network.

Quote:
I don't know if my intended filesharing link should use the router wireless connection somehow, or use the wireless interface in the laptop.


It won't matter how the server machine is connected to your network - either plugged directly into a LAN port on the router or via its wifi. Once it has an IP address, it should be visible to client machines.

Quote:
Possibly separating files so that some are secured by password and some are "open" or perhaps "read only"


Look at Samba-TNG. The How-to describes how to manage different levels of security.
Back to top
View user's profile Send private message 
greengeek

Joined: 20 Jul 2010
Posts: 2539
Location: New Zealand

PostPosted: Fri 31 Aug 2012, 17:22    Post subject:  

p310don wrote:
the easiest thing to do is to download and run this puppy:
http://www.murga-linux.com/puppy/viewtopic.php?t=60406
Awesome, thanks. I downloaded the TNG version referred to in that thread at:
http://www.murga-linux.com/puppy/viewtopic.php?t=60406&start=44
and within 3 minutes my pupServer was up and running and I was able to view / play the servers documents and music files from another Puppy machine at the other end of the house. So easy!

Next step to trial the Windows machines.

Quote:
Look at Samba-TNG. http://www.murga-linux.com/puppy/viewtopic.php?p=453263#453263
The How-to describes how to manage different levels of security.
Thanks rcrsn51, that will be very useful.
Back to top
View user's profile Send private message 
greengeek

Joined: 20 Jul 2010
Posts: 2539
Location: New Zealand

PostPosted: Tue 18 Sep 2012, 05:55    Post subject: Re: Puppy as wireless NAS
Subject description: Recommendations??
 

rcrsn51 wrote:
Go to each machine that you use and type the command "ifconfig". Do they all have an IP address like 192.168.2.xx or 10.0.0.xx?
From each machine, try to ping other machines with
Code:
ping aaa.bbb.cc.dd

Is this successful? If so, you already have a network.

Hi rcrsn51, I have now had good success with serving files from PupServer 435 to other puppies on the network but have not yet succeeded in using a Windows machine to access the same data. I have tried pinging the PS435 machine from the Win PC and I do get a response (192.168.1.67). However if I try to ping the Win PC from the PS435 machine I get no response (although I have no idea if ping is even valid on Puppy..).

I have tried to find some sort of "network devices" screen on the WinPC but don't really know what to look for. I can see the icons for wired and wireless network and for "setup a new connection" etc but can't seem to see how to force it to "poll" the network and see what else it can find. This WinPC is XP home edition and I know that version is somewhat "network challenged" so maybe it does not have the ability to connect to other devices shares? The WinPC has no problem connecting to the router (dhcp) and connects fine to the internet through either wired or wireless as required.

Do you have any suggestions as to how I can use the WinPC to see the PupServer machine please? Thanks for any ideas.
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 9106
Location: Stratford, Ontario

PostPosted: Tue 18 Sep 2012, 07:20    Post subject: Re: Puppy as wireless NAS
Subject description: Recommendations??
 

greengeek wrote:
(although I have no idea if ping is even valid on Puppy..)

I don't understand this comment. Can you not ping Puppy machine A from Puppy machine B? Use the command I gave you above.

Quote:
Do you have any suggestions as to how I can use the WinPC to see the PupServer machine please? Thanks for any ideas.

From the Samba-TNG How-To:
Quote:
On a Windows client, create a shortcut on the desktop and make the location \\pupserver. Note that this name starts with two back-slashes.

This assumes that PS435 is using the server name "pupserver". Also:

Quote:
The Puppy server's default workgroup name is pupgroup. Depending on the version of Windows, you may need to change the workgroup name in smb.conf (see below) to match that of your Windows clients. Some common names are WORKGROUP or MSHOME.


Does the Windows machine have File and Print Sharing enabled? Look under Control Panel > Network Connections > Local Area Connection > Properties.
Back to top
View user's profile Send private message 
greengeek

Joined: 20 Jul 2010
Posts: 2539
Location: New Zealand

PostPosted: Tue 18 Sep 2012, 14:45    Post subject: Re: Puppy as wireless NAS
Subject description: Recommendations??
 

Thank you rcrsn51, that has been successful and I can now access Pupserver from my WinPC
Quote:
(although I have no idea if ping is even valid on Puppy..)

Sorry, I wasn't clear at all. What I meant was I had no idea if a "Puppy ping" should be able to access a WinPC. (apologies for my networking ignorance...). For some reason PS435 allows me to ping puppy PCs but when I try to ping my WinPC it returns the following response then stalls and does nothing else:
#ping 192.168.1.65
PING 192.168.1.65 (192.168.1.65): 56 data bytes

HOWEVER, although I got no response to the ping, this did not stop the server connection being successful in the end.

Quote:
On a Windows client, create a shortcut on the desktop and make the location \\pupserver. Note that this name starts with two back-slashes.

Wow, that worked perfectly. I am pretty ignorant of how to use networking and have so much to learn. As soon as I opened that shortcut the server folder was visible.

Quote:
Does the Windows machine have File and Print Sharing enabled? Look under Control Panel > Network Connections > Local Area Connection > Properties.

Yes, turns out this was already enabled.

Thanks very much for the help!
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 9106
Location: Stratford, Ontario

PostPosted: Tue 18 Sep 2012, 16:04    Post subject:  

Glad to help. I just successfully pinged an XP Pro machine from Puppy, so I'm surprised that your XP Home does not respond. I will set one of those up and try again.
Back to top
View user's profile Send private message 
01micko


Joined: 11 Oct 2008
Posts: 7801
Location: qld

PostPosted: Tue 18 Sep 2012, 16:20    Post subject:  

On windows XP, ping is blocked by the firewall by default. If you disable the firewall momentarily then it will work.

Here is a nice little tut about ping and icmp in XP, just for reading's sake since you have it working.

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
greengeek

Joined: 20 Jul 2010
Posts: 2539
Location: New Zealand

PostPosted: Wed 19 Sep 2012, 03:43    Post subject:  

01micko wrote:
On windows XP, ping is blocked by the firewall by default. If you disable the firewall momentarily then it will work.

Thanks for the tute link. I followed those instructions and then I was able to ping the WinPC from the Puppy server. I hadn't heard of the "ICMP" abbreviation before. For the inexperienced it means Internet Control Message Protocol and has to be enabled to allow certain test/control messages (like a ping) to be responded to. It's ok to have that protocol turned off to reduce security risks, but obviously necessary to turn it on for pings to work.

If I had tried a ping from another windows PC (rather than Puppy PC) it would have failed to respond to that aswell. (nothing to do with the ping having originated from a Puppy)

Thank you both for the help.
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 9106
Location: Stratford, Ontario

PostPosted: Thu 20 Sep 2012, 11:22    Post subject:  

After much googling, I finally figured out what you guys mean by a tut/tute. Is this a bit of southern hemispherical slang?
Back to top
View user's profile Send private message 
Les Kerf

Joined: 24 Jun 2012
Posts: 219

PostPosted: Thu 20 Sep 2012, 12:49    Post subject:  

Tutorial?
Back to top
View user's profile Send private message 
greengeek

Joined: 20 Jul 2010
Posts: 2539
Location: New Zealand

PostPosted: Thu 20 Sep 2012, 13:56    Post subject:  

rcrsn51 wrote:
After much googling, I finally figured out what you guys mean by a tut/tute. Is this a bit of southern hemispherical slang?

Too right!
Smile
Back to top
View user's profile Send private message 
greengeek

Joined: 20 Jul 2010
Posts: 2539
Location: New Zealand

PostPosted: Thu 20 Sep 2012, 15:47    Post subject:  

Thanks all for the help - I have now been able to modify PupServer 435 to overcome a couple of problems I was having, and have added the ThinSlacko files into the PupServer iso so that it will now offer ThinSlacko via PXE to any device on the network that wants it. This is my first attempt at remastering so I'm keen to hear from others if it works for them:

Download links:

http://www.filefactory.com/file/3o8zxh5y2lqx/n/PS435ThinSlackoPXE_iso

http://www.filefactory.com/file/2kpxx0w56ss9/n/PS435ThinSlackoPXEmd5_txt

(Just be patient and keep scrolling down to the free download buttons, enter the captcha thingy, scroll down again, wait 20 seconds etc - I haven't paid for the premium account so it's not quick...)

The download is 180MB. Heavy, but only because the ThinSlacko files are wrapped inside the Pupserver files. And you only download once - after it's burned to CD the size becomes unimportant. I just wanted the convenience of having an inbuilt bootable PXE OS - rather than having to make people do the conversion and setup separately.

The way I am using it is to use a 10 year old laptop as a NAS - by plugging in a usb stick containing all my files, booting it from CD, starting the Netboot server (in Network menu) and away it goes.

Any PC can access the server folders / files, and if the client PC has "boot from network" set, it will be fed ThinSlacko from the server. Why ThinSlacko? Smallish size, newish kernel, nice clean look, and it works with my hardware.
Back to top
View user's profile Send private message 
greengeek

Joined: 20 Jul 2010
Posts: 2539
Location: New Zealand

PostPosted: Mon 04 Mar 2013, 05:17    Post subject:  

I have uploaded a newer version which includes automount of all drives as well as autostart of the PXE server, so just boot from CD and the server PC will automatically be ready to provide the ThinSlacko files to any PC that wants it:
http://www.mediafire.com/file/5ug6zx0vx3pw7zi/PS435mntall_PXE_autostart_thinSlacko.iso
md5 = ecc08000ea09e44c7014e013ba74e97a
(probably an easier site to download from than the filefactory link above)

This assumes that your PCs are connected to a router that issues IP addresses automatically (this is the most common arrangement), but if you dont have such a setup, you can just use a crossover cable to link two PCs together. Just set the server PC to a static IP of something basic like 192.168.1.2 and mask of 255.255.255.0 (ie: after it boots from the PXE CD just run the network connection wizard and set the values you want)
Initially there is no need to worry about the IP address of the receiving PC - it will get it automatically from the PXE server. Then after the receiving PC has booted into ThinSlacko you can disconnect from the PXE server PC and just run the network connection wizard to set up dialup, wireless, PPPoE or wired connection as required.

The full autostart behaviour means you can set a PC to autoboot as soon as the power comes on and it will automatically set itself up to supply ThinSlacko to all other PCs across the network (if needed) and also supply access to all music/photo/archive files etc etc.

Even if you don't need the full server capabilities the PXE function is still a great way to test puppy on any PC that can boot from network. Really handy if you have a PC with no HDD or CD!

(Thanks again to jrb for his fantastic work setting up PupServer 435 which I was able to use as my base)
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [15 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1016s ][ Queries: 12 (0.0042s) ][ GZIP on ]