Active Topics

 



Notices


Reply
Thread Tools
Posts: 560 | Thanked: 422 times | Joined on Mar 2011
#231
@Mase - Thanks for gkt tips. I'll post separately if I need help with them because as you say gtk is very closely linked with the OS.

- Any suggestion on how to sign into CUPS? I am being foiled by the username and password. And feeling rather dilly because of it!

- Re voting: there are lots of CUPS packages. Apart from my trouble with logging in, it seems to work as expected so I'd like to see it in the normal extras for all to use, which is why I have voted for the one called Cups (for armel). Is this one a master-package or do I need to vote for them all for CUPS to get closer to being promoted? I can see that the BT one is different but otherwise I'm not sure.

Last edited by demolition; 2011-04-16 at 16:42.
 
mase's Avatar
Posts: 355 | Thanked: 205 times | Joined on Jun 2010 @ Germany
#232
I think, cups and cups-client would be enough. But you can also vote for
all, but only the latest versions.
Have you set a root pw on your device? Try logging in with that.
__________________
May the force be with us!
 
Posts: 560 | Thanked: 422 times | Joined on Mar 2011
#233
Done - voted for the Maemo5 CUPS packages that are in testing, excluding libs that can't be voted on.

Re CUPS access: I have done this:
Code:
~ $ root


BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

Nokia-N900:~# passwd
Changing password for root
Enter the new password (minimum of 5, maximum of 8 characters)
Please use a combination of upper and lower case letters and numbers.
New password: 
Re-enter new password: 
Password changed.
Nokia-N900:~#
I have used usernames root, user, [device BT name] and "Nokia-N900".

I have also tried lppasswd -g sys -a root without success
 
mase's Avatar
Posts: 355 | Thanked: 205 times | Joined on Jun 2010 @ Germany
#234
This should be the same as on a linux machine. Normally the root pw
should work.
__________________
May the force be with us!
 

The Following User Says Thank You to mase For This Useful Post:
Posts: 560 | Thanked: 422 times | Joined on Mar 2011
#235
If the passowrd is correct, the username(s) I'm using is wrong.
Would openssh settings have an influence on access to CUPS? If so, I would be greatful if anyone would tell me how to reset the openssh un-pw because I cannot remember them.
 
mase's Avatar
Posts: 355 | Thanked: 205 times | Joined on Jun 2010 @ Germany
#236
openssh has no influence to cups.
__________________
May the force be with us!
 
peterleinchen's Avatar
Posts: 4,118 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#237
Originally Posted by demolition View Post
I have also tried lppasswd -g sys -a root without success
Please try
lppasswd -g lpadmin -a root

(or maybe: lppasswd -g admin -a root, but as I remember correctly, it should be above)
Then restart cups (or do a reboot) and enter inti localhost:631 with user root and Your normal root password.
Hopefully this works. I have also elaborated it a few days....
 

The Following 2 Users Say Thank You to peterleinchen For This Useful Post:
woody14619's Avatar
Posts: 1,455 | Thanked: 3,309 times | Joined on Dec 2009 @ Rochester, NY
#238
Originally Posted by peterleinchen View Post
Please try
lppasswd -g lpadmin -a root

The bigger issue here is that for some reason sometimes pam fails on the N900. I had the same issue. One way to fix that is by looking for the following line in /etc/cups/cupsd.conf and making it look like this:

Code:
DefaultAuthType BasicDigest
That causes cups/cupsd to use the lpadmin generated file: passwd.md5 in /etc/cups. Once you change the config file and restart cupsd it will use the MD5 hash to log in.
 

The Following 2 Users Say Thank You to woody14619 For This Useful Post:
Posts: 560 | Thanked: 422 times | Joined on Mar 2011
#239
@peter - good tip. I will try this out.

If doing this doesn't work, I will try woody's suggestion.

@woody - found the section:
Code:
# Default authentication type, when authentication is required...
DefaultAuthType Basic
As you can see mine doesn't have the Digest bit on it. Lets try it out. I'll report back later...
 
woody14619's Avatar
Posts: 1,455 | Thanked: 3,309 times | Joined on Dec 2009 @ Rochester, NY
#240
Originally Posted by demolition View Post
@peter - good tip. I will try this out.

If doing this doesn't work, I will try woody's suggestion.
One won't work without the other, you need to do both. The lpadmin command creates the passwd.md5 file, the change to the config tells cupsd to use that file.
 

The Following User Says Thank You to woody14619 For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 20:08.