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 Wed 30 Jul 2014, 11:21
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Derivatives
PupServer-435
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 7 [98 Posts]   Goto page: 1, 2, 3, 4, 5, 6, 7 Next
Author Message
jrb


Joined: 11 Dec 2007
Posts: 1030
Location: Smithers, BC, Canada

PostPosted: Wed 29 Sep 2010, 19:10    Post subject:  PupServer-435
Subject description: Dedicated Samba file and print server
 

Pupserver435 (80 MB iso file) is a dedicated samba file and print server designed to be as easy as possible to use, no configuration required.

pupserver-435.iso-md5.txt

It is an extremely barebones Puppy431 with the full samba-3.0.26 package, cups-1.1.23, and Links-2.1pre30 graphical browser. The ISO is 80MB (I used puppy431 because the newer samba packages are so much larger).

I have also included SFS-TCZ_Linker-1.8 so that SFS files can be mounted and used. Pets can also be installed.

At boot it mounts all present harddrive and usb drive partitions and creates a link to each in / which can be used to access them from a network client. You can mount a usb drive after boot and it will create a link in / as well.

The server computer is shared on the network as PUPSERVER with a share of "usr=root passwd=woofwoof". As it turns out you don't need to use the username or password, it shares without them.

Printers must be installed in cups using the Links browser (or a mozilla browser) and then accessed by other Puppy, Linux, and Windows computers. I have included a link in the My_links folder on the desktop to /usr/share/cups/model/ named Place_PPD_here. Open this link, copy in your printers ppd file, click 0_install_new_PPD and when you start cups (menu-system-Cups manage printing) and add new printer the new printer should be on the drop down list. If your printer will run in other Puppies it should run here.



I am running Pupserver from live CD on a 350hz pentiumII (which I bought in 1998), passively cooled (no fans), with a 200GB harddrive . Interetingly this machine will not boot from a 200GB harddrive but will happily share it if booted in some other way. I have accessed the printer and the harddrive from Puppy431, Lupu, Quirky, Wary, WindowsXP, and Windows7. No problems so far.

When I access it from a client I see the / filesystem and a link called server_sda1. Clicking on this link gives me access to the server harddrive.

When I open cups and go to printers on another Puppy computer I see:
Code:
Description:
Location: Location Unknown
Printer Driver: Brother HL-1430 Foomatic/hl1250 (recommended) on 192.168.1.101
Printer State: idle, accepting jobs, not published.
Device URI: ipp://192.168.1.101:631/printers/bro

I have set this as my default.

Accessing this printer on windows computers is another story involving a bit of googling.

Thanks to russoodle for providing hosting at http://puppylinuxstuff.meownplanet.net.

Enjoy, J

Note: I must point out this is totally insecure! Anyone on your network will be able to access it, no password required. If you want that you will have to reconfigure /etc/opt/samba/smb.conf.
Pupserver_desktop_new480.png
 Description   
 Filesize   29.14 KB
 Viewed   7727 Time(s)

Pupserver_desktop_new480.png


Last edited by jrb on Thu 30 Sep 2010, 09:47; edited 1 time in total
Back to top
View user's profile Send private message 
rcrsn51


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

PostPosted: Thu 30 Sep 2010, 01:14    Post subject:  

Here is something to consider for your print server component. Remove CUPS and replace it with the p910nd print server. Then the client machines (both Linux and Windows) would supply the printer driver and connect to the server with the socket: protocol.
Back to top
View user's profile Send private message 
chrome307


Joined: 15 Jan 2009
Posts: 713

PostPosted: Thu 30 Sep 2010, 05:49    Post subject:  

Thanks for this, hope it works for me, just need it for simple filesharing.
Back to top
View user's profile Send private message 
p310don

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

PostPosted: Thu 30 Sep 2010, 07:54    Post subject:  

This is so great. I had puppy running well as a file server, but then decided to mess with it, and get nothing but kernel panic upon booting. Been "trying" for a few weeks now to get it back up and running. This works a treat, and I didn't have to put ANY effort in. Now that's how "just works" should work! Great job.

Would be cool to offer the instant sharing functionality of this puplet in a full puppy. Will have to play with rebuilding it from the barebones that it is. Hmmm, there goes my weekend Very Happy
Back to top
View user's profile Send private message 
jrb


Joined: 11 Dec 2007
Posts: 1030
Location: Smithers, BC, Canada

PostPosted: Thu 30 Sep 2010, 09:46    Post subject:  

rcrsn51 wrote:
Here is something to consider for your print server component. Remove CUPS and replace it with the p910nd print server.

Looks interesting. Not much time right now but I don't think I'll be able to resist giving it a try. Very Happy Thanks for the link.
Back to top
View user's profile Send private message 
jrb


Joined: 11 Dec 2007
Posts: 1030
Location: Smithers, BC, Canada

PostPosted: Thu 30 Sep 2010, 09:54    Post subject:  

p310don wrote:
Would be cool to offer the instant sharing functionality of this puplet in a full puppy. Will have to play with rebuilding it from the barebones that it is. Hmmm, there goes my weekend Very Happy

Feel free to build it up, but if you want I could upload the samba-3.4.2.sfs that I've been using with Quirky and Wary. It doesn't have the automount partition feature but shares out the main filesystem as soon as its installed with SFS-TCZ_Linker.
Back to top
View user's profile Send private message 
robdob99

Joined: 30 Sep 2010
Posts: 3

PostPosted: Thu 30 Sep 2010, 16:30    Post subject: Is There a .pet for That????
Subject description: Is there a .pet for a "samba server"
 

Is this 'samba server' available as a .pet so I can add it to my existing Puppy setup?
Back to top
View user's profile Send private message 
rcrsn51


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

PostPosted: Thu 30 Sep 2010, 17:52    Post subject: Re: Is There a .pet for That????
Subject description: Is there a .pet for a "samba server"
 

robdob99 wrote:
Is this 'samba server' available as a .pet so I can add it to my existing Puppy setup?

See the recent discussion here.
Back to top
View user's profile Send private message 
jrb


Joined: 11 Dec 2007
Posts: 1030
Location: Smithers, BC, Canada

PostPosted: Sat 02 Oct 2010, 01:48    Post subject: Re: Is There a .pet for That????
Subject description: Is there a .pet for a "samba server"
 

robdob99 wrote:
Is this 'samba server' available as a .pet so I can add it to my existing Puppy setup?


I just uploaded Samba PuppyServer 3.4.2 for Quirky and Wary.

Hold Everything! I just tried rcrsn51's samba-tng-rcrsn-0.5-rc1.pet in Quirky130 and it shares as well as my .pet but is 1/30th the size. Embarassed

Nice work rcrsn51.

Last edited by jrb on Sat 02 Oct 2010, 09:42; edited 1 time in total
Back to top
View user's profile Send private message 
chrome307


Joined: 15 Jan 2009
Posts: 713

PostPosted: Sat 02 Oct 2010, 05:46    Post subject:  

@jrb

Thanks for the software, unfortunately for me I could not get it to be recognised by my Xbox console running XBMC.

On the Xbox I do have the following options that allow me to connect to other devices, but I couldn't get it to communicate with Pupserver:

Windows Network ( SMB )
RSS Feed
UPnP Server
iTunes Music Share ( DAAP )
FTP Server
WebDAV Server ( HTTP & HTTPS )
Web Server Directory ( HTTP & HTTPS )
XBMSP Server
Tuxbox Client

I'm sure it's more than likely something I am doing ( rechecked the firewall settings allowing FTP etc access ) and not your OS.
Back to top
View user's profile Send private message 
rcrsn51


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

PostPosted: Sat 02 Oct 2010, 10:12    Post subject:  

@jrb: I took your barebones431-jrb1.0 base and added my samba-tng package along with a text editor. This makes a nice samba server.

It also contains the p910nd print server so you don't need CUPS or a web browser.
Back to top
View user's profile Send private message 
jamalexa


Joined: 18 Jul 2007
Posts: 86
Location: Philadelphia, PA. United States

PostPosted: Sat 02 Oct 2010, 11:50    Post subject:  

I've added PupServer to my home network. How do I transfer my files from the other computers in my network to the server's hd? Copy and paste doesn't seem to work. I have no windows computers in my network.
Back to top
View user's profile Send private message 
Roy

Joined: 31 Dec 2008
Posts: 442

PostPosted: Sat 02 Oct 2010, 12:20    Post subject:  

I am not currently using a network that requires file/print sharing, but I absolutely LOVE this idea of a Puppy plug-and-play server! It's one of those CDs I would like to keep in my tool kit for the inevitable opportunity that will eventually arise....

rcrsn51 said:
Quote:
I took your barebones431-jrb1.0 base and added my samba-tng package along with a text editor. This makes a nice samba server. It also contains the p910nd print server


Not exactly plug-and-play (I've read through your instructions posted elsewhere), but I also like the idea of using individual printer drivers without CUPS. Perhaps including a text file of the detailed samba-tng set-up instructions somewhere in the .iso would suffice for new Puppy users?

Is there a way to combine these two great ideas (both plug-and-play and the p910d print server) into a single Puppy? Would this work with Gray's latest NOP (think he uses XFCE instead of JWM)?

jrb and rcrsn51, you are both giants in my mind (and you have both given me a lot of helpful assistance). Thank you for your work!

Standing on the shoulders of giants,
-Roy
Back to top
View user's profile Send private message 
rcrsn51


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

PostPosted: Sat 02 Oct 2010, 13:39    Post subject:  

The P910nd print server is part of the samba-tng-rcrsn PET. Read here for some instructions.

However, if you are using a Puppy machine both as a regular workstation and as a Samba server, you might as well stick with the CUPS setup you already have.
Back to top
View user's profile Send private message 
jrb


Joined: 11 Dec 2007
Posts: 1030
Location: Smithers, BC, Canada

PostPosted: Sat 02 Oct 2010, 14:01    Post subject:  

jamalexa wrote:
I've added PupServer to my home network. How do I transfer my files from the other computers in my network to the server's hd? Copy and paste doesn't seem to work. I have no windows computers in my network.

Open Pnethood or LameSMBxplorer for the Network menu.

In Pnethood you will see PUPSERVER on one of the tabs. Click on it, click on connect, click on show(doesn't need the password).

In LameSMBxplorer you should see PUPSERVER with its ip number. Click on it. You will see usr=root passwd=woofwoof. Doubleclick on it, click on connect, click on explore.

You should now see a ROX window of the servers main filesystem, archive, bin, dev, etc. Also there should be a link to server_sda1 or server_home or maybe others. Click on the drive you wish to copy to. Click on any folder you would like to open to copy into.

Open the ROX window for the files or folders you wish to copy. Drag them into the ROX window of your destination folder and choose copy. The copy progress window will open and then close once the copy is done.

That's it. The files are now on your server.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 7 [98 Posts]   Goto page: 1, 2, 3, 4, 5, 6, 7 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Derivatives
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.0912s ][ Queries: 13 (0.0057s) ][ GZIP on ]