LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > antiX / MX Linux
User Name
Password
antiX / MX Linux This forum is for the discussion of antiX and MX Linux.

Notices


Reply
  Search this Thread
Old 07-24-2018, 06:56 AM   #1
clivarius
LQ Newbie
 
Registered: Jul 2018
Posts: 19

Rep: Reputation: Disabled
HP envy 5020 all-in-one SCANNING


wasn't sure which forum to put this in but i tried to install an HP imaging/printing thing from sourceforge and antix wasn't recognised.

can connect to this printer fine enough to print, although i'm not sure it's meant to be a separate network to the wifi, as it appears.

i tried setting up the printer a few times and all my searches seem to suggest that scanners are the "easy" bit but this one isn't. i had a look in the config files i could find and can't see anything obvious (inc SANE and the HP ones). but also when i set up the printer there's nothing that seems to actually match the model (not my choice, absolutely stupid purchase because the ink won't even be refillable smh). i tried the recommended driver and also one of the "all in one" drivers.

tried plugging in USB, not recognised, could be the wrong lead for all i know but it fit the hole pretty well.

if i found the "actual" lead do you think it would be possible to get this scanning malarkey working?

or any other ideas?

please assume i know literally nothing, thanks. not from a computery background.
 
Old 07-24-2018, 08:27 AM   #2
dolphin_oracle
MX Linux
 
Registered: Dec 2013
Posts: 382

Rep: Reputation: Disabled
I think you just need a newer hplip package than is available in antiX out of the gate. support for that printer was added with 3.17.9.


which set of antiX repos are you using? (stable/stretch, testing/buster, or sid)
 
Old 07-24-2018, 09:19 AM   #3
clivarius
LQ Newbie
 
Registered: Jul 2018
Posts: 19

Original Poster
Rep: Reputation: Disabled
stable/stretch
 
Old 07-24-2018, 09:29 AM   #4
dolphin_oracle
MX Linux
 
Registered: Dec 2013
Posts: 382

Rep: Reputation: Disabled
I don't normally recommend this, but in this case, it may be easiest to install the hplip from the mx linux test repo (currently 3.17.10).

first add the source to /etc/apt/sources.list.d/mxtest.list

Code:
deb http://mxrepo.com/mx/testrepo/ stretch test
then update sources

Code:
apt-get update
and install hplip.

Code:
apt-get install hplip
make sure that nothing is being removed from antiX, so read carefully!


then REMOVE the mxtest.list file

Code:
rm /etc/apt/sources.list.d/mxtest.list
and update your sources again to put things back to the way they were originally

Code:
apt-get update
after that you should be able to setup your printer in either the hp gui or with

Code:
hp-setup -i
in the terminal. for scanning, you'll probably need to allow installation of a plugin, which the setup routine should find for you. You will see messages that our distro is not supported, just ignore them, at this level is still debian.
 
Old 07-24-2018, 04:56 PM   #5
clivarius
LQ Newbie
 
Registered: Jul 2018
Posts: 19

Original Poster
Rep: Reputation: Disabled
hi,
thanks for your instructions.

these are the only files i have in /etc/apt/sources.list.d https://imgur.com/a/Fn5AGYi

should i put it in one of those? or was i meant to make mxtest.list?

thanks
 
Old 07-24-2018, 09:10 PM   #6
dolphin_oracle
MX Linux
 
Registered: Dec 2013
Posts: 382

Rep: Reputation: Disabled
you can put it in any .list file, but I usually keep sources separated into their own files. apt will source any file under /etc/apt/sources.list.d
 
Old 07-25-2018, 07:32 AM   #7
clivarius
LQ Newbie
 
Registered: Jul 2018
Posts: 19

Original Poster
Rep: Reputation: Disabled
i put it in the antix one.

after install hplip can i then just remove it from the file that i put it in?


however with update i'm getting this:

Code:
root@antix:/home/ingantix# apt-get update
Get:1 http://ftp.uk.debian.org/debian stretch-updates InRelease [91.0 kB]
Get:2 http://security.debian.org stretch/updates InRelease [94.3 kB]           
Hit:3 http://nl.mxrepo.com/antix/stretch stretch InRelease                     
Hit:4 http://nl.mxrepo.com/antix/testing testing InRelease                     
Ign:5 http://ftp.uk.debian.org/debian stretch InRelease                        
Get:6 http://mxrepo.com/mx/testrepo stretch InRelease [4,961 B]                
Hit:7 http://ftp.uk.debian.org/debian stretch Release                    
Ign:6 http://mxrepo.com/mx/testrepo stretch InRelease
Get:8 http://mxrepo.com/mx/testrepo stretch/test i386 Packages [635 kB]
Fetched 825 kB in 5s (138 kB/s)                            
Reading package lists... Done
W: GPG error: http://mxrepo.com/mx/testrepo stretch InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D5A3F968F7CFCEED
W: The repository 'http://mxrepo.com/mx/testrepo stretch InRelease' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.

Last edited by clivarius; 07-25-2018 at 07:34 AM.
 
Old 07-25-2018, 07:39 AM   #8
dolphin_oracle
MX Linux
 
Registered: Dec 2013
Posts: 382

Rep: Reputation: Disabled
I forgot about the GPG security keys.


put this text into a file called "stretch.txt"

Code:
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1

mQENBFlWi2MBCADDZfd7UBEVnbTMeiuzs4zMRz3RgnAhrpOmpOBogxztSyL8O3N2
D5Y2WPi38dBItEm77qf4OV46HEQ4xBi8a9CHU7FN5YumrTBg1YDH1Xy8FgLh5I0l
boRVH0Q9RfC1Msr+PRKqfUnsGR4mwccB1tHgS3VeBMrSc7RPswmBNp7sfllVES6n
HmEyqerXTIcVXKV6+OPgTRLGUZ0vXpZWxSslVOQu2YX7vMiWYFSVZjb7unqAZ38q
lFHWPBeinwqd3IZ2Fumx1dYdXRoqGMPGbidGSnO1Wa+D3XrFtNu2SITQtPJj8s24
cjgEwYDAN35fwZus5aJdLIXvfWNllO2ImHhZABEBAAG0KE1YLTE3IFJlcG9zaXRv
cnkgPG1haW50YWluZXJAbXhyZXBvLmNvbT6JATkEEwEIACMFAllWi2MCGwMHCwkI
BwMCAQYVCAIJCgsEFgIDAQIeAQIXgAAKCRDVo/lo98/O7fDrB/92GfzeCJ9Q2h23
OJ1QE8YUIPTXkl7Pr7re12lD78J0LElviV9ztsHR/FjllB6D71EU03+K2gYI/rA4
K4kzg01EvPjQNQOrgg/yxMiOIJAIkJI9nIG++EpErejCMA9IFf0+5KFTzrjlaQWf
xCHm/vAyyY8uxCEDm7glAkAw+ucJJJRw13VsM5+5ShLQTW9hsBfJiKmXr3wni76d
P7hptO0T3c8QOUfUGQe7DE7WyEoB0pFJzHbNdzHB2+sfQPuUmIDTi+7NX5fZ0Chg
d9xFH4KNr4ZEFi9VVUu5I0TTOkyVhFA1yEpAvw6IM7CVbAs+mZMXkS6GMbMlkvvi
f8UzH2M+uQENBFlWi2MBCADTXSo9iQSBXY+RjV0z3JuqNVE7ObyNaCy+eyHHrLDf
aWTsvfe9YnWx6twkkw9EXggEre28HysMj5bx7kjvnmDSx7gi//cta4uzI5h1pLqn
eOOjrdSZmpMNa2LyGM43HSYKhDq6wvcAQyqW5yQKGaoJ+QU/mMy59u4EEDyCdP2M
XRPPgCCE3Ulk4vDfkSzrQPOiOuwgb0YhPPAW2YH9GqyWfAp5VHQWv8Iwcvp1R/vP
k/KIwPJeKTX6pxLYDaXnOK4Hwcl1l4lcqCKAWwUkYuHosBgoP900MKLJkyzPdfhy
bldlfiTgom6baOLoYh24eERgIOZ0yc+F0m2j7qt/HOR7ABEBAAGJAR8EGAEIAAkF
AllWi2MCGwwACgkQ1aP5aPfPzu1RnAf/UrbrRUXK1O/wxL4mLCLgxOboAUOfMjAy
HZ+PfBFZc2/G31bS71rRDffN2TiKmm43ofdpCnjtfza/enJ9bk9gnaGwq41YvNsY
wPI13s9s7dFC1lW+s0y3FW+m/pkWhrtwxBC6lwBahP5jPBgxDj3uKIapq//CBD+R
2Q4JW6dgToL+PtvQp/RJEt+Ac7Z2GcTGQWf0vGfEBvjlk0SxBY/MgwCm8gzDKfcL
nesYeGIjOGYNRCuKxcBtFrt1pZnYtOofMKDHnIFpC3aW6qZp5Da/ldSZwQiJUeKj
vRq9ZzJuqGUFt/SgKhKcbQvX04oruxaiX6AMYTjAPN3hBBAiWf6a4A==
=hctG
-----END PGP PUBLIC KEY BLOCK-----
then run

Code:
apt-key add stretch.txt
then update your sources again.

and yes, you can remove the mxtestrepo source from your file and update your sources again to remove it.
 
Old 07-26-2018, 10:20 AM   #9
clivarius
LQ Newbie
 
Registered: Jul 2018
Posts: 19

Original Poster
Rep: Reputation: Disabled
thank you.
i managed to complete all your instructions and was struggling to then get the printer still to connect via the hplip. set-up tells me the ports might be blocked by firewall (but i've already allowed mdns/bonjour which is the thing i think it uses)

tried via cups web interface which set up yet another printer, then hp embedded web server with the ip address and and now that's scanning for me... and trying simple scan again, also working now... still not showing up on hp device manager but i can print when i want and scan when i want so that suits me (could it be anything to do with being 32 bit?)

feels like the computering equivalent of flailing around blindly but i pressed the right button somewhere at least

ps enjoying the distro much more than i did ubuntu. glad i went for it this one!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Active Scanning or Passive Scanning Paris Heng Linux - Networking 2 02-15-2008 10:37 AM
Problems with choosing the screen-resolution on a Acer Aspire 5020 Laptop in Mandriva Kristoffer G Linux - Laptop and Netbook 1 04-04-2007 05:34 PM
Acer 5020 NoKnower Linux - Laptop and Netbook 3 01-02-2006 06:06 AM
Belkin F5D 5020 PCMCIA NIC for Redhat 5.2 install amcallis Linux - Hardware 2 10-17-2004 06:25 PM
Sony Vaio PCG-432L and Belkin 5020 claughli Linux - Networking 3 03-10-2004 10:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > antiX / MX Linux

All times are GMT -5. The time now is 03:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration