• Re: Internet connection in rescue mode

    From Nicolas George@21:1/5 to All on Thu May 1 15:30:01 2025
    rob stone (HE12025-05-01):
    I bought a new HP printer and in order to set it up you need to access 123.hp.com. From there I downloaded hplip-3.25.2.run.

    What a disaster. It deleted ALL programs such as evolution, firefox,
    gnome, etc.

    Sorry you had to learn that lesson the hard way.

    So I need help in finding out exactly "how" to make it connect in
    recovery mode in order to run apt and restore my laptop to working
    again.

    I think it will be less painful for you to backup your data and system
    config files to an external device and then reinstall.

    Regards,

    --
    Nicolas George

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rob stone@21:1/5 to All on Thu May 1 15:20:01 2025
    Hello,

    I bought a new HP printer and in order to set it up you need to access 123.hp.com. From there I downloaded hplip-3.25.2.run.

    What a disaster. It deleted ALL programs such as evolution, firefox,
    gnome, etc.

    I can start my laptop in recovery mode, but no connection to the
    outside world. I can run "dpkg -l | grep firefox" and it will tell me
    that only the configuration file is present.

    If I run "ifup --all" it turns on the wifi antenna but the discovery
    phase times out and no connection is obtained.

    So I need help in finding out exactly "how" to make it connect in
    recovery mode in order to run apt and restore my laptop to working
    again.

    TIA,
    Robert

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Charles Curley@21:1/5 to rob stone on Thu May 1 16:10:02 2025
    On Thu, 01 May 2025 22:27:11 +1000
    rob stone <floriparob@tpg.com.au> wrote:

    I bought a new HP printer and in order to set it up you need to access 123.hp.com. From there I downloaded hplip-3.25.2.run.

    hplip 3.22.10+dfsg0-2 is available from the Debian repos. If you must
    have hplip, I suggest you use that after you recover your system. If
    your printer is "driverless" you may not need it.

    --
    Does anybody read signatures any more?

    https://charlescurley.com
    https://charlescurley.com/blog/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rob stone@21:1/5 to Nicolas George on Fri May 2 10:00:01 2025
    On Thu, 2025-05-01 at 15:26 +0200, Nicolas George wrote:
    rob stone (HE12025-05-01):
    I bought a new HP printer and in order to set it up you need to
    access
    123.hp.com. From there I downloaded hplip-3.25.2.run.

    What a disaster. It deleted ALL programs such as evolution,
    firefox,
    gnome, etc.

    Sorry you had to learn that lesson the hard way.

    So I need help in finding out exactly "how" to make it connect in
    recovery mode in order to run apt and restore my laptop to working
    again.

    I think it will be less painful for you to backup your data and
    system
    config files to an external device and then reinstall.

    Regards,


    Partially solved.
    I changed /etc/network/interfaces to use eno1, plugged in the ethernet
    cable and it successfully connected.

    Rescued most of the packages.

    Quite a relief.

    Regards,
    Robert

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Marco Moock@21:1/5 to All on Fri May 2 10:50:01 2025
    On 01.05.2025 15:20 Uhr rob stone wrote:

    I bought a new HP printer and in order to set it up you need to access 123.hp.com. From there I downloaded hplip-3.25.2.run.

    hplip is included in Debian repo, use that if you can. If you need a
    newer version, use backports.

    --
    kind regards
    Marco

    Send spam to 1746105601muell@stinkedores.dorfdsl.de

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Nicolas George@21:1/5 to All on Fri May 2 15:40:01 2025
    rhkramer@gmail.com (HE12025-05-02):
    What lesson is that?

    Never run a script with any privileges unless you know exactly what it
    does.

    Regards,

    --
    Nicolas George

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Greg Wooledge@21:1/5 to Nicolas George on Fri May 2 15:50:02 2025
    On Fri, May 02, 2025 at 15:31:18 +0200, Nicolas George wrote:
    rhkramer@gmail.com (HE12025-05-02):
    What lesson is that?

    Never run a script with any privileges unless you know exactly what it
    does.

    Or more generally: "Third-party package repositories are often not as high-quality as Debian's repositories."

    Assuming it even *was* a package repository, and not just a loose
    standalone .deb file. Either way, anything of that nature should be
    approached with all due caution.

    For the OP, I'm guessing at some point they ran a command like:

    apt install hplip

    Or possibly:

    apt install ./Downloads/hplip_*.deb

    Or in the VERY worst-case scenario:

    dpkg -i ./Downloads/hplip_*.deb && apt -f install

    In any of these scenarios, you should at some point have received a
    dire warning that a whole slew of packages would be removed, and that
    you needed to confirm this deletion. The correct answer at that point
    would have been "NO!".

    At which point, you should report your goal, your attempted solution,
    and your observed results to this mailing list, and someone will (we hope)
    be able to guide you from there.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Dan Ritter@21:1/5 to Nicolas George on Fri May 2 16:00:01 2025
    Nicolas George wrote:
    rhkramer@gmail.com (HE12025-05-02):
    What lesson is that?

    Never run a script with any privileges unless you know exactly what it
    does.


    That includes the privilege of being you, a user whose data is
    close at hand and readable, if not even deletable.

    Creating a new user and switching to it takes ten seconds to a
    minute, depending on whether you need the new user to run in a
    GUI.

    -dsr-

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From The Wanderer@21:1/5 to Greg Wooledge on Fri May 2 16:00:01 2025
    This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
    On 2025-05-02 at 09:43, Greg Wooledge wrote:

    On Fri, May 02, 2025 at 15:31:18 +0200, Nicolas George wrote:

    rhkramer@gmail.com (HE12025-05-02):

    What lesson is that?

    Never run a script with any privileges unless you know exactly what it
    does.

    Or more generally: "Third-party package repositories are often not as high-quality as Debian's repositories."

    Assuming it even *was* a package repository, and not just a loose
    standalone .deb file. Either way, anything of that nature should be approached with all due caution.

    For the OP, I'm guessing at some point they ran a command like:

    apt install hplip

    Or possibly:

    apt install ./Downloads/hplip_*.deb

    Or in the VERY worst-case scenario:

    dpkg -i ./Downloads/hplip_*.deb && apt -f install

    From the original post, apparently it wasn't even a .deb file; it was a
    .run file. In my experience, such a file is a shell script with an
    embedded (usually self-extracting) binary payload, whose design intent
    is that you run the shell script as root and it extracts and installs
    the associated software.

    --
    The Wanderer

    The reasonable man adapts himself to the world; the unreasonable one
    persists in trying to adapt the world to himself. Therefore all
    progress depends on the unreasonable man. -- George Bernard Shaw


    -----BEGIN PGP SIGNATURE-----

    iQIzBAEBCgAdFiEEJCOqsZEc2qVC44pUBKk1jTQoMmsFAmgUzd0ACgkQBKk1jTQo MmvupRAAiDkxPR9EI4/9skNQ0Prs+jQj4wW/AU8wrCAroRUf2Fd2mg0kTCJ/aWM1 FCCULta/iI+rihGkRIrFHl+kyA4ZAssq2CiTpdp41FYlYuwZu7dBsgYYc0cLDkpK YsCCbMgz7i+33i1MHLWq29ERgt/xc54/bwNyAnDuoZuGnsrTneB1mkAoL6+lC142 SV9i5ZjtIgEU3e7wlph/1/oGdY4ROphM9UgGct6MO8t4VE+gtT42u0YUnkQP7Sfg /JC/92UDn9foaSnyE5qFs9gu/uS6d9fc5R1Yxx4dYhtcF1pe9/QlGkvmP5tHxrmn 8To9egEyBeQLQ1CeQpzUU57Yt7PblAL3ylwPG9vGYhzkGZ2AEaX9FzVyowEwwWWe yLQcj/oMUcAl3ypCo48WrYYEhH5z6eCCtHuL42zT8m3mitpm2H4lkZDzIrAdVpZs QdqnOVF9sJsQY0Mhy6hKF1FQLUB4H/gPJ8vpKwDCyddOdlA4ZFw3t1c4sg9W49bS 3wt69wZxRBcIfOKu9SHB4n46DVv3o8G3AqpQX9PkPwVwNuz0BZw4SyaGP2zh6/fY F9MbPh6WrcgqvMeOKsSZwI9n1PJ5v9W6Zs196/pJPRR0ADQN4Ly3CCSrt8b/9nA+ ++tJcY4wQYt35WfxcDJjedREnMx+
  • From Stefan Monnier@21:1/5 to All on Fri May 2 19:00:01 2025
    What lesson is that?

    My guess: don't run code downloaded from random web sites, including (or especially?) for those sites that belong to large companies which care
    only about their bottom line and not their users.


    Stefan

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rob stone@21:1/5 to Brad Rogers on Sat May 3 03:10:01 2025
    Hello,

    On Fri, 2025-05-02 at 15:02 +0100, Brad Rogers wrote:
    On Fri, 02 May 2025 09:51:25 -0400
    The Wanderer <wanderer@fastmail.fm> wrote:

    Hello,

    It would seem OP has missed a step or two in their description of
    events,
    because a visit to 123.hp.com brings up this;

    We're sorry, we don't support set-up with this operating system



    If you scroll down a few centimetres you'll see:-

    "After setup, you can print with Linux:"

    However, the link pulls a 404 error.

    So, you navigate to the regular support site.

    HTH,

    Robert

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)