-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
46 lines (26 loc) · 1.4 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
The PiDeck Bootlegger is designed to record whenever audio is present on the default ALSA input device. It uses sox to record 192k MP3s and timestamp them.
These files are made available through a web browser interface on a local wireless network to anyone with the WiFi password, which can then be uploaded to a sharing service such as Mixcloud.
Build with:
dpkg-buildpackage -aarmhf -I.git
Or:
1. Install dependencies manually. e.g. for Debian stretch which has node 4.7:
sudo apt-get install sox libsox-fmt-mp3 dnsmasq hostapd nodejs wireless-tools
2. Or on Debian before stretch, install nodejs from 4.x branch:
curl -sL https://deb.nodesource.com/setup_4.x | sudo bash -
sudo apt-get install -y nodejs
3. Clone this repo:
git clone https://github.com/64studio/plegger.git
4. Add configs from the conf directory to their respective places:
sudo nano /etc/dnsmasq.conf
sudo cp conf/hostapd.conf /etc/hostapd/
5. Update the path for hostapd config in /etc/default/hostapd as follows:
DAEMON_CONF=/etc/hostapd/hostapd.conf
6. Set a local domain in /etc/hosts
10.0.0.1 hw.plegger
See https://frillip.com/using-your-raspberry-pi-3-as-a-wifi-access-point-with-hostapd/
Installation
cd /usr/share/plegger/webapp
sudo update-alternatives --install /usr/bin/node node /usr/bin/nodejs 10
sudo npm install
sudo npm install -g browserify
sudo browserify src/client/plegger_client.js -t babelify --outfile web/pleg_cfe.js