Ok. My 'lets connect some hifi gear to the network' project is picking up pace.
At this stage I want a cheap solution, so this is as far as I have got.
What the PI has to do: =====================
- Boot headless.
- Connect to the house network by wifi on a fixed IP address
- Mount some drives via NFS
- Start a minimal web server as control panel for...
- Reading audio files off the internet (radio stations) or the server. and spit them out of a high quality DAC. RCA jacks to a rack mounted preamp + power amp.
Files will be MP3 and FLAC - will use mpg123 for the MP3 and flac to pop the flac files out.
I will PROBABLY code the website in actual real C for low CPU cycles and memory, though it might be PHP.
What looks like a sensible option is a Pi ZERO W with a pHAT DAC (HifiBerry DAC+ Zero)
formatting link
Questions: ==========
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?
5/. Apart from logging issues, I see no real reson why the SD card ever will need to be written to in use, unless I need swap. Has anyone ever tried running a Pi with what amounts to a read only mounted root partition? Can one disable logging?
Hope these questions are intersting to the community.