home bbs files messages ]

Just a sample of the Echomail archive

<< oldest | < older | list | newer > | newest >> ]

 Message 21257 
 The Natural Philosopher to Chris Green 
 Re: Headless Pi 4B problems - continued 
 26 Jan 25 12:37:48 
 
INTL 3:770/1 3:770/3
REPLYADDR tnp@invalid.invalid
REPLYTO 3:770/3.0 UUCP
MSGID:  3cb230a7
REPLY:  006655e1
PID: SoupGate-Win32 v1.05
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/khNPC3uggf9dc5DjY9KKxZK7IdDP
V1Zzggaxg0DTstT8bpSMvRzUlc9vJ/mrPQPbfBX/

Note you never get the same string twice...

Here is a userconf.txt with user pi password raspberry...

pi:$6$c70VpvPsVNCG0YR5$l5vWWLsLko9Kj65gcQ8qvMkuOoRkEagI90qi3F/Y7
m8eNYZHW8CY6BOIKwMH7a3YYzZYL90zf304cAHLFaZE0


>      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

--- SoupGate-Win32 v1.05
 * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
SEEN-BY: 1/19 16/0 19/10 37 80/1 105/81 106/201 123/130 128/187 129/305
SEEN-BY: 142/104 153/757 7715 154/110 203/0 218/700 840 220/70 221/1
SEEN-BY: 221/6 242 360 226/17 30 100 227/114 229/110 111 114 200 206
SEEN-BY: 229/275 300 317 400 426 428 470 550 616 664 700 705 230/0
SEEN-BY: 240/5832 266/512 267/800 280/5003 291/111 292/854 301/1 310/31
SEEN-BY: 320/119 219 319 2119 322/757 762 325/304 335/364 341/66 342/200
SEEN-BY: 396/45 423/81 460/58 633/280 712/848 770/1 3 100 330 340
SEEN-BY: 772/210 220 230 902/26 2320/105 5020/400 5053/58 5075/35
PATH: 770/3 1 218/840 221/6 1 320/219 229/426


<< oldest | < older | list | newer > | newest >> ]

(c) 1994,  bbs@darkrealms.ca