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 Fri 25 Jul 2014, 08:53
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
How to set up a local network and share printer?
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
AlexS


Joined: 24 Nov 2006
Posts: 47
Location: Munich

PostPosted: Fri 24 Nov 2006, 07:32    Post_subject:  How to set up a local network and share printer?  

Hello,

I installed Puppy 2.12 on my old Pentium III 800 Mhz 126MB RAM, 60 GB HD.

I formatted the HD and have now 2 partitions, a 500 MB swap, and the rest is an ext3 partition, in which I installed PuppyLinux with the universal installer script.

I managed to get the printer to work.

Other than that, I have 2 additional laptops (running Mandrivas) with wireless connections.

I would like to be able to share the printer with the other computers. Can someone give me some indications on how to do this?

I would also like to be able access the puppy linux computer from the other computers (to store files, etc: 60 GB is a lot of space).

Finally, how to make sure that this is more or less secure (I set up the puppy firewall, is it enough?).

Of course, I don't expect detailed directions for everything, but some pointers to the relevant resources would be very helpful.

Cheers,
Alex
Back to top
View user's profile Send_private_message 
sunburnt


Joined: 08 Jun 2005
Posts: 5009
Location: Arizona, U.S.A.

PostPosted: Fri 24 Nov 2006, 08:25    Post_subject:  

To share the HD install the file: samba-3.0.21c.pup at MU's: http://dotpups.de/dotpups/Network/

It was made for Puppy1, but I just learned that it works fine in Puppy2.
You'll have to read about the Samba smb.conf file to setup the shares.
If you get stuck, post back here & we'll try to help.
Back to top
View user's profile Send_private_message 
pg99

Joined: 13 Jun 2006
Posts: 64

PostPosted: Fri 24 Nov 2006, 09:44    Post_subject:  

is the printer working through CUPS? if yes then you just need to add Browse Allow @LOCAL and Allow From @LOCAL to cupsd.conf and other PCs on the network which are also runing CUPS (which I guess Mandriva does, but I don't know for sure) should be able to see and use the puppy printer.

BrowseAllow @LOCAL
...
<Location>
...
Allow From @LOCAL
</Location>

A simple way to move files around without setting up shares is to use scp.

hth
Phil
Back to top
View user's profile Send_private_message 
AlexS


Joined: 24 Nov 2006
Posts: 47
Location: Munich

PostPosted: Fri 24 Nov 2006, 11:02    Post_subject:  

Thanks for your tips!

So I downloaded and installed samba-3.0.21c.pup at MU's: http://dotpups.de/dotpups/Network/

I edited the /etc/samba.conf file, to specify the name of the network (that's basically all I changed, except declaring a share folder in the puppy computer).

I restarted the computer, but unfortunately I could not detect any samba network from my Mandriva laptop using smb4k

How do I check that samba is indeed running?

Also about the printer:

I installed the printer with the printer wizard, i.e. not with CUPS. The printer is currently accessible as lp0

Should I just install the cups-install-v0.2r1.pup file from http://dotpups.de/dotpups/Printing/ ?

Won't this mess up with the previous printer configuration with Xpdq?
Back to top
View user's profile Send_private_message 
Artie


Joined: 04 Oct 2005
Posts: 446
Location: Norway

PostPosted: Fri 24 Nov 2006, 11:13    Post_subject:  

I have a machine running PCLinuxOS and another running Puppy 2.12 sharing a router. I could never get my Canon BJC-240 printer to work in the Printer Wizard in Puppy so I deleted it in Xpdq and installed Cups. When I opened the PCLinuxOS control center -> printers the Canon just showed up under configured on other machines.
Back to top
View user's profile Send_private_message Visit_website YIM MSNM 
ICQ 
rarsa


Joined: 29 May 2005
Posts: 3053
Location: Kitchener, Ontario, Canada

PostPosted: Fri 24 Nov 2006, 12:30    Post_subject: Re: How to set up a local network and share printer?  

AlexS wrote:
I managed to get the printer to work.

Other than that, I have 2 additional laptops (running Mandrivas) with wireless connections.

I would like to be able to share the printer with the other computers. Can someone give me some indications on how to do this?

I would also like to be able access the puppy linux computer from the other computers
You can use puppy to share the printer but setting it up in mandriva may be a better option as it already has CUPS installed and configured.

To share the drive in Puppy, you already got the answer: Use Samba.

To have a local network where you want all the computers connecting to the internet you will need a router (either a hardware or software router) if you just want the computers to talk.

I'm thinking that the easiest way is to have a wireless router instead of having to deal with bridging and routing in Linux.

If you just want the computers to talk to each other, maybe a switch is enough as long that you configure a DHCP server or assign static addresses to the computers.

_________________
http://rarsa.blogspot.com Covering my eclectic thoughts
http://www.kwlug.org/blog/48 Covering my Linux How-to
Back to top
View user's profile Send_private_message Visit_website 
AlexS


Joined: 24 Nov 2006
Posts: 47
Location: Munich

PostPosted: Fri 24 Nov 2006, 13:09    Post_subject:  

Quote:
You can use puppy to share the printer but setting it up in mandriva may be a better option as it already has CUPS installed and configured.


Actually the computer with Mandriva is a laptop, which will not always be at home. The Puppy linux computer is the only "normal" PC, that's why I'm putting the printer on it.

I installed the printer with the CUPS putdot package, and it worked fine.

Quote:
To share the drive in Puppy, you already got the answer: Use Samba.


I would like to, but Samba is not working for me, and since I have no experience with it, I don't know how to troubleshoot it. I installed the Samba DotPup, and tried to configure the samba.conf file, to no avail...

Quote:
I'm thinking that the easiest way is to have a wireless router instead of having to deal with bridging and routing in Linux.


That's exactly my setup. I have a wireless router, connected via ethernet cable to the Puppy Linux tower PC. The laptops connect via wifi to the internet.

Actually it's ironic that I'm having an easier time to connect to the internet than with the other computers...
Back to top
View user's profile Send_private_message 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Fri 24 Nov 2006, 15:25    Post_subject:  

To connect to other computers, I followed this great HowTo:

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

Based on that I try to write a automatic detection of Windows-shares, what seems to work already for simple purposes:
http://www.murga-linux.com/puppy/viewtopic.php?t=12945

Mark
Back to top
View user's profile Send_private_message Visit_website 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


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