• Re: pi no longer the default user, headless install now possible Raspbe

    From druck@3:770/3 to Vincent Coen on Fri Apr 8 21:30:20 2022
    On 08/04/2022 04:21, Vincent Coen wrote:
    Would be even more useful if the install also set up a swap partition.

    Even more important for the 1Gb ram systems.

    dphys-swapfile is used instead of a swap partition. The default is only
    100M but can be increased by editting /etc/dphys-swapfile

    ---druck

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From NY@3:770/3 to Vincent Coen on Fri Apr 8 21:21:00 2022
    "Vincent Coen" <nospam.Vincent.Coen@f1.n250.z2.fidonet.org> wrote in message news:1649427760@f1.n250.z2.fidonet.org...
    Hello Jan!

    Friday April 08 2022 10:10, you wrote to All:

    pi no longer the default user, headless install now possible
    with Raspberry Pi Imager tool

    https://www.raspberrypi.com/news/raspberry-pi-bullseye-update-april-20
    22/


    Would be even more useful if the install also set up a swap partition.

    Even more important for the 1Gb ram systems.

    What does the headless installation do differently from normal? When I did a normal installation and then tweaked it to be headless, the main changes
    were:

    - install/configure RealVNC and/or SSH to allow remote access

    - set default resolution (in Start | Preferences | Raspberry Pi
    Configuration, set Resolution=CEA Mode 31 1920x1080x50, Underscan=Disabled Interfaces tab: SSH and VNC=Enabled [Pi3] or in /boot/config.txt, add hdmi_force_hotplug=1 # allow Pi to boot with no monitor connected, hdmi_group=2, hdmi_mode=82 # force 1920x1080x60 even though monitor can't
    be auto-detected [Pi4])

    The forced resolution is only necessary if you intend to access by Real VNC
    as opposed to by PuTTY and SSH).

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Shaun Buzza@1:229/110 to druck on Fri Apr 8 18:17:16 2022
    dphys-swapfile is used instead of a swap partition. The default is only 100M but can be increased by editting /etc/dphys-swapfile

    Sorry, sir, but that's not correct, at least on *my* Pi. 'free -m' shows exactly zero swap space, and I have not changed the defaults for swap.

    McDoob
    SysOp, PiBBS
    pibbs.sytes.net

    ... Everyone smiles in the same language.

    --- Mystic BBS v1.12 A47 2021/12/24 (Raspberry Pi/32)
    * Origin: PiBBS (1:229/110)
  • From A. Dumas@3:770/3 to Shaun Buzza on Sat Apr 9 01:31:02 2022
    Shaun Buzza <nospam.Shaun.Buzza@f110.n229.z1.fidonet.org> wrote:
    dphys-swapfile is used instead of a swap partition. The default is only 100M but can be increased by editting /etc/dphys-swapfile

    Sorry, sir, but that's not correct, at least on *my* Pi. 'free -m' shows exactly zero swap space, and I have not changed the defaults for swap.

    It's not about the Pi but about the OS. Is it "Raspberry Pi OS" from raspberrypi.com? I have a newish Bullseye install here (on a Pi 4, with desktop, 64-bit) and it reports 100 MB swap space. Well, 99 actually,
    because it's 104853504 bytes which is not quite 104857600.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From A. Dumas@3:770/3 to A. Dumas on Sat Apr 9 01:57:23 2022
    A. Dumas <alexandre@dumas.fr.invalid> wrote:
    It's not about the Pi but about the OS. Is it "Raspberry Pi OS" from raspberrypi.com? I have a newish Bullseye install here (on a Pi 4, with desktop, 64-bit) and it reports 100 MB swap space. Well, 99 actually,
    because it's 104853504 bytes which is not quite 104857600.

    That it is recent is irrelevant, by the way. Ever since the beginning when
    it was called Raspbian, it has always had a 100 MB swap file. See, e.g.: https://raspberrypi.stackexchange.com/questions/70/how-to-set-up-swap-space

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From zeneca@3:770/3 to All on Sat Apr 9 09:18:52 2022
    Le 8/04/22 à 12:10, Jan Panteltje a écrit :
    pi no longer the default user, headless install now possible
    with Raspberry Pi Imager tool
    https://www.raspberrypi.com/news/raspberry-pi-bullseye-update-april-2022/

    It's time, on every Raspberry I installed, I reduce pi to minimal. No
    default login, no remote access a password no sudo.
    for every users (well 2 or 3) I suppressed sudo.
    But for many things like raspi-config, install a printer etc user pi
    supposed.
    BTW I have 1 GB swap on my system. 100 mb is too small I had once
    impossible to compile (php) due to lak of memory.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)