Disable smartinstall in Ubuntu 13.03

Asked by peter ratcliffe

My Ubuntu distro has been upgraded to 13.04. When printer HP Laserjet P1102 is swiched on a message comes up to say 'Smart Install Devices detected, download and disable or cancel' HPLIP says auto disable is not available on Ubuntu version 13.04 and then gives a series of commands to disable via the terminal. This includes a gpg encryption which I know nothing about. Entering the commands listed in HPLIP results in a request for a password. How do I get at the password the program is looking for? It doesn't recognise my SU password.

The printer prints after a delay, but it would be nice to get rid of the unwanted smart insall. I'm not into the inner workings of Linux, so any help will be appreciated.

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Sanjay Kumar (sanjay-kumar14) said :
#1

Hello Peter,

Can you try steps mentioned in http://hplipopensource.com/node/367

Thanks,
Sanjay

Revision history for this message
peter ratcliffe (pjcr) said :
#2

Sanjay,

Thanks for your reply. I have tried using the HPLIP script you suggest, but can't get tgrough to the bit that does the work. When I enter the command su -c "gpg --keyserver pgp.mit.edu --recv-keys OxA59047Bp" the system asks me for a password. I only have one password for su or login to my system. Using this I get authentication failed.

Where can I find the password I need?

Regards, Peter

Revision history for this message
Sanjay Kumar (sanjay-kumar14) said :
#3

Can you try sudo instead of su -c

e.g

sudo gpg --keyserver pgp.mit.edu --recv-keys OxA59047B9

Revision history for this message
peter ratcliffe (pjcr) said :
#4

Thanks Sanjay. I tried your suggestion and used sudo instead of su -c. Instead of being told "authentication failed" I got:

gpg: WARNING: Unsafeownership on configuration file '/home/peter/.gnug/gpg.config
gpgOxA59047B9 not a key ID: skipping.

I still can't disable smart install. However, as the printer now works if I opt out of the "disable" message, after a delay, does it really matter? Do you think it is OK just to use it as it is?

Confusing things these computers!

Regards,
Peter Ratcliffe

Revision history for this message
Amarnath Chitumalla (amarnath-chitumalla) said :
#5

Hi peter,
1) In Ubuntu 13.04, gksu package isn't being installed by default so SU password prompt is appearing instead of SUDO password.
you can install gksu package (this package is handled in latest hplip package) by following command.

$ sudo apt-get install gksu

2)
>>> I still can't disable smart install. However, as the printer now works if I opt out of the "disable" message, after a delay, does it >>> really matter? Do you think it is OK just to use it as it is?

OS might be disabling temporarily for OS session. You can continue with this. (or) just run following command as soon as printer connected.
$ sudo sh SmartInstallDisable-Tool.run

Thanks & Regards,
Amarnath

Revision history for this message
peter ratcliffe (pjcr) said :
#6

Hi all of you. I've tried all your suggestions and none of them cure the problem, or at least they don't do what I expect. When the computer stats I still get a message about smartinstall. In addition I also get a message to say hplip 3.13.7 is available. Following HP instructions brings up various errors which are beyond my skill levels.

Despite all that the printer prints. As that is the important part I am going to leave it as it is and just ignore the messages.

Thanks for all you help. Question closed.

Peter

Revision history for this message
Sanjay Kumar (sanjay-kumar14) said :
#7

Updating status based on last comment.