TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: A. DUMAS
from: THE NATURAL PHILOSOPHER
date: 2019-01-25 12:16:00
subject: Re: RFC on Pi/Hat type fo

On 25/01/2019 09:47, A. Dumas wrote:
> The Natural Philosopher wrote, on 24-01-2019 10:45:
>> 1/. Is 512MB RAM enough to run the most minimal of web servers
>> headless? I did run apache on 384M on *86, but I sometimes went into
>> swap...
>> 2/. Should I use apache or run on something smaller?
>> 3/. Is a Pi Zero/W man enough to stream audio without stuttering (it
>> surely must be?).
>> 4/. In order to bootstrap the install without a monitor or keyboard (I
>> COULD use Ethernet, for initial booting), I would like feedback on
>> whether the following method would work to get 'up and running'?
>>      (a) format and install raspian on an SD card using
>>      SD USB adapter on host computer
>>      (b) Whilst still attached to the host computer, edit the
>>      config files to set up ssh access, wirless networking
>>          and a fixed IP address.
>>      That is, enough to get an accessible bootable headless pi
>>       on the network in a 'well known' place?
>
> This works fine on a 1B or ZeroW, with Lighttpd or even Apache:
> https://github.com/ednl/piradio (not much setup documentation, sorry).
>
> My idea was to make an internet radio player, so only tailored to play
> streams not local files. Could easily extend but I haven't bothered. I
> never used mpg123 so I can't compare but mpd is great and controlling it
> with mpc over the (local) network is also great. This is without a DAC,
> just directly plugged in to an AV receiver via hdmi, because also
> occasionally used to play videos on the attached TV.
>
> This is way out of date, I'm afraid, especially the AirTunes section, I
> think: https://dronkert.nl/rpi/setup2.html This is my mini-mini setup
> directions text file for the Pi:
>
> /boot/config.txt
>      disable_overscan=1
>      hdmi_force_hotplug=1
>      hdmi_ignore_edid=0xa5000080
>      hdmi_group=1
>      hdmi_mode=31
>      hdmi_drive=2
>      dtparam=i2c_arm=on
>      dtparam=spi=on
>      dtparam=audio=on
>      dtoverlay=pi3-disable-bt
>      audio_pwm_mode=2
> apt-get install
>      mpc mpd shairport-sync omxplayer mplayer2 youtube-dl streamripper
> alsa-tools
>      lighttpd php7.0-cgi apache2-utils
>      at bc imagemagick ffmpeg
> /usr/local/bin
>      https://github.com/ednl/shellscripts/blob/master/fip
>      https://github.com/ednl/shellscripts/blob/master/fwupd
>      https://github.com/ednl/piradio/blob/master/piradio
>      https://github.com/ednl/python/blob/master/radiocontrols.py
>      https://github.com/ednl/shellscripts/blob/master/rec
>      https://github.com/ednl/piradio/blob/master/snooze
>      https://github.com/ednl/piradio/blob/master/station
>      https://github.com/ednl/shellscripts/blob/master/update
>      https://github.com/ednl/shellscripts/blob/master/vol
> /etc/rc.local
>      radiocontrols.py &
> /var/www/html
>      https://github.com/ednl/piradio
> sudo visudo
>      www-data ALL=(ALL) NOPASSWD: /usr/bin/at, /usr/bin/amixer,
> /sbin/shutdown
> sudo adduser mpd audio
> sudo adduser www-data audio
> /etc/mpd.conf
>      music_directory        "/home/pi/Music"
>      user                "mpd"
>      group                          "audio"
>      bind_to_address        "any"
>      zeroconf_enabled        "yes"
>      zeroconf_name            "MPD RPi"
> /home/pi
>      https://github.com/ednl/piradio/blob/master/radio.txt

Thanks for that...but I am committed to rolling my own. Why?
Isn't that what the PI is for?


--
"I am inclined to tell the truth and dislike people who lie consistently.
This makes me unfit for the company of people of a Left persuasion, and
all women"

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

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.