DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2006-12-21 22:47:22

mrjeth
Member
Registered: 2006-12-19
Posts: 12

Printing

I am quite new here, but it looks my DSM-G600 doesn't have any printing capabilities. I have browsed through and search for printing but it seems no one ever has asked that question?
Is it true that I am the only one that would like to use my DSM-G600 to be used as a network print server for my usb printer?


Best regards
Tomas

Offline

 

#2 2007-01-15 22:09:47

James_D
New member
Registered: 2007-01-15
Posts: 1

Re: Printing

Well i found a plugin for fun_plug in the download section but i had some problems getting it working, would someone who got it working give a helping hand?

Kind regards

JD.

Offline

 

#3 2007-02-02 16:17:40

mikkel_robin
Member
Registered: 2006-12-28
Posts: 9

Re: Printing

Hi all!

Has anyone got the DSM-G600 running as a printserver??

Offline

 

#4 2007-04-29 10:17:02

BertrandB
Member
From: Dijon (France)
Registered: 2006-09-16
Posts: 119
Website

Re: Printing

I've just cross compile and test a version of lprng. I can't assure it works for you but for me it's ok.
Take the tarball http://dns323.kood.org/downloads/people … 28.tar.bz2 , untar it in /mnt/HD_a2. Append /mnt/HD_a2/local/sbin/fun_plug-printer to your fun_plug and it would work ...
you can launch the fun_plug-printer script by hand.
now your dsm-g600 is a lpd print server.

to use with XP
http://itinfo.mit.edu/article.php?id=6376  beware the port is not bidirectional, if you let this parameter it wouldn't work.

for osX and Win98
http://forums.macgeneration.com/vbullet … 92692.html sorry it's french

If somebody success in configuring samba to print i would be happy but for the moment you can use lprng

Last edited by BertrandB (2007-04-30 17:26:16)

Offline

 

#5 2007-04-30 10:29:48

sala
Member / Site Admin
From: Estonia
Registered: 2006-07-28
Posts: 731
Website

Re: Printing

BertrandB wrote:

ohoh too big for attachement here a link http://belguise.ovh.org/dsm/LPRng-3.8.28.tar.bz2
Sala how can i put it in download section ?

You can upload files to: http://dns323.kood.org/downloads/people/BertrandB
Password is at your message box smile


DSM-G600 - NetBSD hdd-boot - 80GB Samsung SP0802N
NSA-220 - Gentoo armv5tel 20110121 hdd-boot - 2x 2TB WD WD20EADS

Offline

 

#6 2007-04-30 15:58:12

dpavlin
Member
From: Zagreb, Croatia
Registered: 2007-04-02
Posts: 17
Website

Re: Printing

I have successfully installed cupsys and foomatic combination in chroot Debian etch installation.

Since this is my first endeavor, I will try to explain my steps here, in an effort to help others (hopefully). First a little warning, I always wanted to use full Debian system on this box. Having quiet PowerPC box with huge disk was a major win for me. If you are looking for more light-weight solution, this might not be for you.

First, I updated my DSM with latest sala firmware. This fixed problems with Firefox and web interface which doesn't work (so I actually had to flash from Linux using wine and IE6). Then I installed Debian in chroot jail, following more-or-less instructions on wiki.

I noticed that sala's kernel doesn't include usbfs which is unfortunate, because lsusb is very useful for gathering info about devices. With that in mind, I downloaded firmware building kit. After a bit of tweaking (how to report changes about that back to svn?) I managed to fix gdb up to point where it compiles so I got firmware image.

But, I really wanted first to try printing. Printer is Samsung ML-2510 gdi printer, that basically means that this little powerpc box will have to run ghostscript to make RIP for printer too. However, after connecting I noticed that kernel comes without usb printing support. No swet, I already had cross-build environment ready, so after a short download of kernel, some options tweaking (and making usbdevfs compile) I had printer.o usb module. One rsync and modprobe, and I had working USB printer.

I had to change cupsys default access rules which allow only localhost users to connect to cups web interface and after a few clicks ("Share published printers connected to this system" in cups seems to do the trick) printer appeared on my laptop. And on other one :-)

In part, I was amazed how well this worked. foomatic already had definition for my USB printer, CUPS found usb device automatically and printer appeared on other cups instances without a hitch.

Usb printer module might be helpful to other so I have it along with few of my notes at http://saturn.ffzg.hr/rot13/index.cgi?dsm_g600

Last edited by dpavlin (2007-04-30 16:07:11)

Offline

 

#7 2007-04-30 20:37:21

sala
Member / Site Admin
From: Estonia
Registered: 2006-07-28
Posts: 731
Website

Re: Printing

dpavlin wrote:

I noticed that sala's kernel doesn't include usbfs which is unfortunate, because lsusb is very useful for gathering info about devices. With that in mind, I downloaded firmware building kit. After a bit of tweaking (how to report changes about that back to svn?) I managed to fix gdb up to point where it compiles so I got firmware image.

You can PM me your Gmail account name and then I can give you SVN rw access.
http://code.google.com/p/dsmg600/

SVN code is very messy (produced firmware image will be oversized, to fix that user must manually remove upnp components or reconfigure busybox)
And due to major loss of DSM-G600 custom firmware interest thing are kind of stopped there.

Custom kernel + hard disk boot might look more interesting for most users.


DSM-G600 - NetBSD hdd-boot - 80GB Samsung SP0802N
NSA-220 - Gentoo armv5tel 20110121 hdd-boot - 2x 2TB WD WD20EADS

Offline

 

#8 2007-04-30 20:51:15

BertrandB
Member
From: Dijon (France)
Registered: 2006-09-16
Posts: 119
Website

Re: Printing

dpavlin wrote:

But, I really wanted first to try printing. Printer is Samsung ML-2510 gdi printer, that basically means that this little powerpc box will have to run ghostscript to make RIP for printer too. However, after connecting I noticed that kernel comes without usb printing support.

Basicly you don't need RIP fonction to use it as print server, the RIP is done by the clients MAC OSx Windows etc. You only use the raw printer on most case so you can keep some room for other useful fonctionalities.

Offline

 

#9 2007-04-30 22:56:30

dpavlin
Member
From: Zagreb, Croatia
Registered: 2007-04-02
Posts: 17
Website

Re: Printing

BertrandB wrote:

dpavlin wrote:

But, I really wanted first to try printing. Printer is Samsung ML-2510 gdi printer, that basically means that this little powerpc box will have to run ghostscript to make RIP for printer too. However, after connecting I noticed that kernel comes without usb printing support.

Basicly you don't need RIP fonction to use it as print server, the RIP is done by the clients MAC OSx Windows etc. You only use the raw printer on most case so you can keep some room for other useful fonctionalities.

True, but I really wanted to know if this little box could handle RIP (and it can without a problem). Having just port attached to network is lighter solution (without need for full installation) but that's already described in this thread :-)

In the retrospection, it would be useful to have firmware image with built-in printer.o and basic lpd hooked to samba. But D-Link has different product which is printer server, and fun_plug solution is clean enough...

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB