Or a way to install the needed package directly on the SD card without using the pi...
I could try connecting a keyboard to the pi, but I wouldn't know exactly what to type "in the blind" to login and such...
Rfkill apparently disables the Wifi until you set up your Wifi locale using raspi-config
Also, you are forced to change the user's password at first boot.
I also disabled the onboard HDMI port and audio and bluetooth ports, to save power
Isn't that only half the problem? How do you select a wifi network and set the PSK without running the Pi via some sort of direct console, whether USB+HDMI or serial, or some other non-network method?
Also, you are forced to change the user's password at first boot.While true, that's irrelevant to this discussion since you can change the user's password over SSH.
I also disabled the onboard HDMI port and audio and bluetooth ports, to save powerI'd be interested to see actual current measurements before and after.
Isn't that only half the problem? How do you select a wifi network and set the PSK without running the Pi via some sort of direct console, whether USB+HDMI or serial, or some other non-network method?Well, actually that's pretty easy, I do that all the time: I just enter my wifi's SSID and PW in the file /etc/wpa_supplicant/wpa_supplicant.conf
How do you select a wifi network and set the PSK without running the Pi via some sort of direct console, whether USB+HDMI or serial, or some other non-network method?Well, actually that's pretty easy, I do that all the time: I just enter my wifi's SSID and PW in the file /etc/wpa_supplicant/wpa_supplicant.conf
--
You received this message because you are subscribed to the Google Groups "PiDP-8" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pidp-8+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pidp-8/52ab08c2-441c-40a3-9d98-ccc18ff29a7fn%40googlegroups.com.
Can't we do this by simply putting a file called ssh in the boot partition? https://www.raspberrypi.org/documentation/remote-access/ssh/lib/systemd/system/sshswitch.service
looks like it also will invoke regenerate_ssh_host_keys.service
it is slightly too large for my SD card of 15196160 512-byte logical blocks: (7.78 GB/7.25 GiB).]
--
You received this message because you are subscribed to the Google Groups "PiDP-8" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pidp-8+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pidp-8/442e391e-7d38-4380-aea1-191f61ade6c3n%40googlegroups.com.
pidp8i-2021.02.14-nls-buster-lite.img.zip contains pidp8i-2021.02.14-nls-buster-lite.img which is 7948206080 bytes long so won't fit on my card.
The root partition really should be shrunk
have in the past done similar shrinking manually. Somewhat tedious!
I've also previously shrunk the boot partition so everything just fits on a 2GB SD card.
Note it's probably a good idea to make this a nice multiple of the eMMC erase block size - my current card has a 4MByte erase block.
The Buster Lite 2021-03-04 image looks like:
Start sector |
Size |
Contents |
0 |
512 bytes |
MBR = Master Boot Record – map of partitions (no actual boot loader needed) |
1 |
4 MiB-512 B |
Free space, unused |
8192 |
256 MiB |
boot - FAT32 filesystem (type 0x0c) with boot code (about 52 MiB used) |
532480 |
1520 MiB |
root – EXT4 filesystem (type 0x83) with operating system (about 1185 MiB used, 279 MiB free) |
3645440 |
|
Free space, root will be extended into this on first boot |
Earlier versions of Raspbian used only 60 MB for the boot partition, this has been enlarged to allow for additional kernels and device tree overlays.
The latest versions of Gparted cannot resize FAT32 partitions smaller than 512MB, so easiest to create a new card layout. Boot could start at 1 MB (sector 1024) of size 70-100 MB, but best to make it start at 4 MB (sector 4096) to align with a common eMMC erase block size – so as not to wear out the first erase block with writes to the first partition. Then copy the files from a mounted disk image.
--
You received this message because you are subscribed to the Google Groups "PiDP-8" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pidp-8+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pidp-8/ae1c9788-337a-4b52-a703-20654270642fn%40googlegroups.com.