Active Topics

 



Notices


Reply
Thread Tools
mase's Avatar
Posts: 355 | Thanked: 205 times | Joined on Jun 2010 @ Germany
#241
When the packages are working for you, please vote to
get it into stable. One more vote is needed.
__________________
May the force be with us!
 
Posts: 569 | Thanked: 462 times | Joined on Jul 2010 @ USA
#242

CUPS Installation Instructions
  1. Enable Extras-testing and Extras-devel in Application Manager.
  2. Open XTerminal
  3. Enter "sudo gainroot"
  4. Enter "apt-get install debconf". This will install debconf, & remove fakedebconf.
  5. The following errors will be displayed:
    unable to initialize frontend: Dialog
    (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 75.)
    falling back to frontend: Readline
    unable to initialize frontend: Readline
    (Can't locate Term/ReadLine.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.3 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /usr/share/perl5/Debconf/FrontEnd/Readlin.pm line 7.)
  6. close XTerminal
  7. In Application Manager, download "cups", "cups-client", & "cups-bsd"
  8. Close Application Manager, then switch off phone
  9. Turn phone on
  10. Connect to network
  11. Open internet browser, go to http://localhost:631
  12. The "Common UNIX Printing System 1.3.8" control page should load

Adding a network printer
  1. Open internet browser, go to http://localhost:631
  2. Go to Administration -> Find New Printers
  3. See if your network printers are listed
I get stuck here. When I try to add a listed printer, it asks "Make: or Provide a PPD File:", I choose "Raw" make. Then N900 asks for authentication: user name and password.
The following all return "Invalid user name or password":
Username: (blank) Password: (blank)
Username: user Password: (blank)
Username: root Password: (root password)
 
Posts: 560 | Thanked: 422 times | Joined on Mar 2011
#243
@rotoflex - I'm at the same stage and just need to jump through the final few hoops. Have a trawl through the posts above, where some people suggested what to do abot the password problem. Also, have a look at post 31; though I haven't yet so not sure whether to incluide the leading asterisks on each line. Where did you get those instructions? I find using FAM makes life a lot easier than faffing with apt-get. I will report back when I get output from my printer (I can get CUPS to see my USB printer). In the meanwhile, good luck with getting access!
 
woody14619's Avatar
Posts: 1,455 | Thanked: 3,309 times | Joined on Dec 2009 @ Rochester, NY
#244
Originally Posted by rotoflex View Post
Then N900 asks for authentication: user name and password.
I would augment the above instructions as follows (where is this from?):

6. enter "apt-get install cups cups-client cups-bsd"
7. enter "lppasswd -g lpadmin -a printer" supply a password
8. edit /etc/cups/cupsd.conf, change the DefaultAuthType to BasicDigest
9. enter "/etc/init.d/cups start"
10. Open internet browser, go to http://localhost:631
11. The "Common UNIX Printing System 1.3.8" control page should load
Then when asked for authentication, use printer, and the new password you made up in step 7.

Since you already did the above steps, you need to just do steps 7 through 9, and in step 9, replace "start" with "restart".
 

The Following User Says Thank You to woody14619 For This Useful Post:
Posts: 569 | Thanked: 462 times | Joined on Jul 2010 @ USA
#245
I didn't get it from anywhere, I'm just noting the steps as I go along. Here is the revision:


CUPS Installation Instructions
  1. Enable Extras-testing and Extras-devel in Application Manager.
  2. Open XTerminal
  3. Enter "sudo gainroot"
  4. Enter "apt-get install debconf". This will install debconf, & remove fakedebconf.
  5. The following errors will be displayed:
    unable to initialize frontend: Dialog
    (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 75.)
    falling back to frontend: Readline
    unable to initialize frontend: Readline
    (Can't locate Term/ReadLine.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.3 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /usr/share/perl5/Debconf/FrontEnd/Readlin.pm line 7.)
  6. enter "apt-get install cups cups-client cups-bsd"
  7. xterminal will show the cups packages being installed. Wait until installation is finished.
  8. enter "lppasswd -g lpadmin -a printer"
  9. you will be asked to enter the password you want for printer administation.
  10. enter "leafpad /etc/cups/cupsd.conf"
  11. the leafpad editor will open /etc/cups/cupsd.conf for editing
  12. change the line "DefaultAuthType Basic" to "DefaultAuthType BasicDigest"
  13. click the menu bar at top, & click "Save"
  14. close the leafpad editor
  15. close XTerminal, switch off phone, then turn the phone on again
  16. Connect to network
  17. Open internet browser, go to http://localhost:631
  18. The "Common UNIX Printing System 1.3.8" control page should load

Adding a network printer
  1. Open internet browser, go to http://localhost:631
  2. Go to Administration -> Find New Printers
  3. See if your network printers are listed
 
woody14619's Avatar
Posts: 1,455 | Thanked: 3,309 times | Joined on Dec 2009 @ Rochester, NY
#246
Ok... But really, there's no need to reboot the phone. My step 9 from above start the cups daemon, which is all you're accomplishing with the reboot (step 15) in yours. Both work, but one takes a lot longer and unnecessarily causes down time.

The bigger question is, did it work for you?
 
Posts: 569 | Thanked: 462 times | Joined on Jul 2010 @ USA
#247
I am still getting 403 Forbidden when I try to modify a printer.
(I had added two Samba printers on an earlier install, they are still listed in the N900, but not working from the N900 now.)

Also, printer administration via localhost:631 does not ask me for a password, & I seem to recall that it did in an earlier cups install that I had working well enough to add network printers at work.

I will work with it some more.
 
mase's Avatar
Posts: 355 | Thanked: 205 times | Joined on Jun 2010 @ Germany
#248
My network printer (cups server broadcast) was listed. There was
no need to add a printer manually or to login.
__________________
May the force be with us!
 

The Following User Says Thank You to mase For This Useful Post:
mase's Avatar
Posts: 355 | Thanked: 205 times | Joined on Jun 2010 @ Germany
#249
I think, for samba printers you need a ppd file.
__________________
May the force be with us!
 
Posts: 569 | Thanked: 462 times | Joined on Jul 2010 @ USA
#250
Originally Posted by mase View Post
I think, for samba printers you need a ppd file.
Since it's a postscript printer, do I just download & extract the generic postscript ppd you posted at
http://talk.maemo.org/showpost.php?p...&postcount=206

If so, in what subdirectory should I put it?
 
Reply


 
Forum Jump


All times are GMT. The time now is 19:56.