I found all the bits (Pi3B, PoE splitter, USB caddy, SATA spinner, SD
card) to cobble together my low power always-on "server" to allow me to
turn off the power-hungry server when it's not specifically required.
Used the latest RPi Imager, chose PiOS Lite, told it to enable SSH, set
a username and password, wrote the image, insert SD card, no
keyboard/HDMI connected, plug into ethernet, powers and boots.
Find the DHCP addr from my router, using PuTTY I can SSH to the machine,
give it the username and password I set earlier, but it just says
"Access Denied", wipe and repeat in case I fumbled setting the password,
same problem.
What's the point of setting SSH credentials that it won't let you use?
From my old and failing memory
Andy Burns wrote:
What's the point of setting SSH credentials that it won't let you use?
What do you mean set a username and password
From my old and failing memory you just touch a file named ssh in the boot folder, when burning the SD card. The username/password is just the Pi OS default username: pi, password: raspberry.
Have you tried this default username/password?
What do you mean set a username and password
From my old and failing memory you just touch a file named ssh in the
boot folder, when burning the SD card. The username/password is just the
Pi OS default username: pi, password: raspberry.
Have you tried this default username/password?
I found all the bits (Pi3B, PoE splitter, USB caddy, SATA spinner, SD
card) to cobble together my low power always-on "server" to allow me to
turn off the power-hungry server when it's not specifically required.
Used the latest RPi Imager, chose PiOS Lite, told it to enable SSH, set
a username and password, wrote the image, insert SD card, no
keyboard/HDMI connected, plug into ethernet, powers and boots.
Find the DHCP addr from my router, using PuTTY I can SSH to the machine,
give it the username and password I set earlier, but it just says
"Access Denied", wipe and repeat in case I fumbled setting the password,
same problem.
What's the point of setting SSH credentials that it won't let you use?
Any chance of setting up a serial console?
Did you at least create user / password?
In recent version of OS there is no more user pi.
Pancho <Pancho.Jones@proton.me> wrote:
From my old and failing memory
Perhaps, but also not keeping up with new developments. The RPi Imager program can do it all for you. Also the username is not necessarily pi anymore. The app works for me, but I only used it to set up pubkey access, not username/password.
I found all the bits (Pi3B, PoE splitter, USB caddy, SATA spinner, SD card) to
cobble together my low power always-on "server" to allow me to turn off the power-hungry server when it's not specifically required.
Used the latest RPi Imager, chose PiOS Lite, told it to enable SSH, set a username and password, wrote the image, insert SD card, no keyboard/HDMI connected, plug into ethernet, powers and boots.
Find the DHCP addr from my router, using PuTTY I can SSH to the machine, give it
the username and password I set earlier, but it just says "Access Denied", wipe
and repeat in case I fumbled setting the password, same problem.
bob prohaska wrote:
Any chance of setting up a serial console?
Oh, I can hook it up to monitor and keyboard for long enough to get SSH login working, but it just felt from the installer options that I shouldn't need to.
Andy Burns wrote:
bob prohaska wrote:
Any chance of setting up a serial console?
Oh, I can hook it up to monitor and keyboard for long enough to get
SSH login working, but it just felt from the installer options that I
shouldn't need to.
And having hooked up a screen+keyboard, it won't accept the
username+password that way either ... no possibility of uk/us keystroke confusion.
Guess I'll do another fresh install without touching the "advanced"
dialogue in Pi Imager
Pancho wrote:
Andy Burns wrote:
What's the point of setting SSH credentials that it won't let you use?
What do you mean set a username and password
The latest Pi Imager has an advanced config dialog, that includes SSH settings
<http://andyburns.uk/misc/pi-imager-ssh-settings.png>
Andy Burns wrote:
Guess I'll do another fresh install without touching the "advanced" dialogue >> in Pi Imager
What are the contents of /etc/shadow and /etc/passwd with respect to the usernames you thought should actually work?
Assuming you can read the basic non-boot partition on the pi SD card...
On Mon, 17 Oct 2022 22:58:22 +0100, Andy Burns wrote:
Pancho wrote:
Andy Burns wrote:
What's the point of setting SSH credentials that it won't let you use?
What do you mean set a username and password
The latest Pi Imager has an advanced config dialog, that includes SSH settings
<http://andyburns.uk/misc/pi-imager-ssh-settings.png>
Sounds like something I need, but there's a problem: I notice that the RPi Foundation appears to be only only making it available for Ubuntu. However
I don't get on with Ubuntu (no, I don't like the Gnome desktop either) because I've been a RedHat used since Redhat 6.2 was released in the late '90s and have used Fedora since version 1 appeared just after 2001.
So, is there either a Fedora version of the Pi Imager? Either an RPM
package or a distro-agnostic download, e.g. a gzipped version, would be
fine.
Martin Gregorie <martin@mydomain.invalid> wrote:
So, is there either a Fedora version of the Pi Imager? Either an RPM
package or a distro-agnostic download, e.g. a gzipped version, would be
fine.
Yes, arm-image-installer: https://docs.fedoraproject.org/en-US/quick-docs/raspberry-pi/
although that doesn't say anything about headless mode.
Also, Pi Imager is not PiOS specific - it'll flash other OSes, but it
might not do the customisation steps. I don't know what it does for
Fedora.
Can you not install a different desktop on Ubuntu? In fact isn't there
a minimal Ubuntu install for the Pi to which you can add Xfce or
whatever you fancy. You don't have to have Gnome with Ubuntu!
zeneca wrote:
Did you at least create user / password?
In recent version of OS there is no more user pi.
I did, at the point of writing the SD card.
I was hoping to avoid the temporary spaghetti of hooking up keyboard and monitor, simply to set a password on the console at first boot, and then unplug it to use by SSH after that.
Andy Burns a écrit :
did you run raspi-config to enable ssh ?
Sounds like something I need, but there's a problem: I notice that the RPi Foundation appears to be only only making it available for Ubuntu. However
I don't get on with Ubuntu (no, I don't like the Gnome desktop either) because I've been a RedHat used since Redhat 6.2 was released in the late '90s and have used Fedora since version 1 appeared just after 2001.
So, is there either a Fedora version of the Pi Imager? Either an RPM
package or a distro-agnostic download, e.g. a gzipped version, would be
fine.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 374 |
Nodes: | 16 (2 / 14) |
Uptime: | 131:33:20 |
Calls: | 7,957 |
Calls today: | 2 |
Files: | 13,008 |
Messages: | 5,812,965 |