1.9 KiB
1.9 KiB
Hardware setup instructions
This readme contains insructions for plugging in the system and turning it on. Full software setup documentation is in the broadcaster-software.md and listener-software.md files.
Make sure to do the following steps in the order they are listed:
Requirements
- Modem and internet plan with a static public ip address.
- Provisioned broadcaster
- Provisioned listener
Steps
Turn on broadcaster
- Plug the usb mic cable into a microphone
- Plug the usb mic cable into the top right (blue colored) usb port on the broadcaster (raspberry pi 4b)
- Plug the ethernet cable into the broadcaster and the router
- Plug the power into the broadcaster (this is how you turn it on)
Networking
- Log into the router.
- Find the ip address of the broadcaster (hostname portal) - usually in the advanced > network > dhcp.
- Navigate to the NAT forwarding section of the router admin.
- Set your router to forward all traffic coming in on port "80" to port "8000" at the local ip address of the broadcaster.
- Set your domain name to point to the static IP address of your modem.
Turn on listener
- Turn on the listener (raspberry pi zero). plug it into a monitor and keyboard. when it boots, type sudo raspi-config. navigate to system settings and change the wifi settings so it can access the internet.
- Type sudo vim /lib/systemd/system/listener.service and edit the line that says "ExecStart=mplayer -playlist http://" changing the http:// part to the static ip address of the router.
- Type esc, w, q, enter
- Type sudo systemctl restart listener
- mic check
Important notes
- The microphone must always be plugged into the broadcaster before the broadcaster is on
- The broadcaster must always be on when the listener is turned on. if it is not, then the listener needs to be restarted once the broadcaster is on.