Re: Headless Pi 4B problems - continued

Liste des GroupesRevenir à cs raspberry-pi 
Sujet : Re: Headless Pi 4B problems - continued
De : tnp (at) *nospam* invalid.invalid (The Natural Philosopher)
Groupes : comp.sys.raspberry-pi
Date : 26. Jan 2025, 13:37:48
Autres entêtes
Organisation : A little, after lunch
Message-ID : <vn5aas$3ob4k$2@dont-email.me>
References : 1
User-Agent : Mozilla Thunderbird
On 26/01/2025 10:42, Chris Green wrote:
This is getting ridiculous!
 Once upon a time one just copied an image to a card, enabled ssh and
hey presto, you could log in as user pi with password raspberry.
 No chance now.
 I would point out that I'm not, in general, a complete numpty.  I've
been using Pis (and other similar things) for many many years.
  So, having found out why the above simple approach doesn't work I have
tried:-
      Use rpi-imager, wasted first attempt because it wasn't obvious where
     one entered user/password.  Second attempt seemed to boot the Pi
     OK but it never appeared on my LAN so not much help there. (At
     least my first dd copied image appeared on the LAN)
      Manually editing userconf.txt with my /etc/shadow encrypted
     password from my Linux box got to a login prompt but the password
     is somehow wrong.
 
Ah. There may be gotchas in there like EOL charaters and spaces that have to be 'just right'
I generally generate the encryption using the tools suggested.
e.g. echo 'mypassword' | openssl passwd -6 -stdin
echo 'raspberry' | openssl passwd -6 -stdin
$6$5H2l9s5V5YBulBGU$xchi.2AQLn5P5IK/khNPC3uggf9dc5DjY9KKxZK7IdDPNV1Zzggaxg0DTstT8bpSMvRzUlc9vJ/mrPQPbfBX/
Note you never get the same string twice...
Here is a userconf.txt with user pi password raspberry...
pi:$6$c70VpvPsVNCG0YR5$l5vWWLsLko9Kj65gcQ8qvMkuOoRkEagI90qi3F/Y7rm8eNYZHW8CY6BOIKwMH7a3YYzZYL90zf304cAHLFaZE0

     Finally I managed to get a login working by creating a
     ~/.ssh/authorized keys file with the public key from my Linux
     system in it.  Phew!
 
Ultimately that is a smoother way to access the Pi anyway
--
"The great thing about Glasgow is that if there's a nuclear attack it'll look exactly the same afterwards."
Billy Connolly

Date Sujet#  Auteur
26 Jan 25 * Headless Pi 4B problems - continued41Chris Green
26 Jan 25 +- Re: Headless Pi 4B problems - continued1The Natural Philosopher
26 Jan 25 `* Re: Headless Pi 4B problems - continued39Knute Johnson
26 Jan 25  +* Re: Headless Pi 4B problems - continued37Chris Green
26 Jan 25  i+* Re: Headless Pi 4B problems - continued12Andy Burns
26 Jan 25  ii`* Re: Headless Pi 4B problems - continued11Chris Green
27 Jan 25  ii `* Re: Headless Pi 4B problems - continued10Bob Martin
27 Jan 25  ii  +* Re: Headless Pi 4B problems - continued2The Natural Philosopher
27 Jan 25  ii  i`- Re: Headless Pi 4B problems - continued1Chris Green
27 Jan 25  ii  `* Re: Headless Pi 4B problems - continued7Chris Green
27 Jan 25  ii   `* Re: Headless Pi 4B problems - continued6The Natural Philosopher
27 Jan 25  ii    `* Re: Headless Pi 4B problems - continued5Chris Green
27 Jan 25  ii     `* Re: Headless Pi 4B problems - continued4The Natural Philosopher
27 Jan 25  ii      `* Re: Headless Pi 4B problems - continued3Chris Green
27 Jan 25  ii       `* Re: Headless Pi 4B problems - continued2The Natural Philosopher
27 Jan 25  ii        `- Re: Headless Pi 4B problems - continued1Chris Green
26 Jan 25  i+* Re: Headless Pi 4B problems - continued7Knute Johnson
26 Jan 25  ii`* Re: Headless Pi 4B problems - continued6Chris Townley
26 Jan 25  ii +* Re: Headless Pi 4B problems - continued2Knute Johnson
27 Jan 25  ii i`- Re: Headless Pi 4B problems - continued1Chris Townley
27 Jan 25  ii `* Re: Headless Pi 4B problems - continued3The Natural Philosopher
27 Jan 25  ii  `* Re: Headless Pi 4B problems - continued2Chris Townley
27 Jan 25  ii   `- Re: Headless Pi 4B problems - continued1The Natural Philosopher
27 Jan 25  i+* Re: Headless Pi 4B problems - continued13Chris Elvidge
27 Jan 25  ii+* Re: Headless Pi 4B problems - continued11Pancho
27 Jan 25  iii+- Re: Headless Pi 4B problems - continued1The Natural Philosopher
28 Jan 25  iii`* Re: Headless Pi 4B problems - continued9Computer Nerd Kev
28 Jan 25  iii `* Re: Headless Pi 4B problems - continued8The Natural Philosopher
28 Jan 25  iii  +* Re: Headless Pi 4B problems - continued3mm0fmf
28 Jan 25  iii  i`* Re: Headless Pi 4B problems - continued2Theo
28 Jan 25  iii  i `- Re: Headless Pi 4B problems - continued1Computer Nerd Kev
28 Jan 25  iii  `* Re: Headless Pi 4B problems - continued4Computer Nerd Kev
29 Jan 25  iii   `* Re: Headless Pi 4B problems - continued3The Natural Philosopher
29 Jan 25  iii    +- Re: Headless Pi 4B problems - continued1Michael Schwingen
30 Jan 25  iii    `- Re: Headless Pi 4B problems - continued1The Natural Philosopher
27 Jan 25  ii`- Re: Headless Pi 4B problems - continued1The Natural Philosopher
28 Jan 25  i`* Re: Headless Pi 4B problems - continued4Michael Schwingen
28 Jan 25  i +* Re: Headless Pi 4B problems - continued2Chris Elvidge
28 Jan 25  i i`- Re: Headless Pi 4B problems - continued1Michael Schwingen
3 Feb 25  i `- Re: Headless Pi 4B problems - continued1druck
28 Jan 25  `- Re: Headless Pi 4B problems - continued1s|b

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal