69 lines
2.0 KiB
Markdown
69 lines
2.0 KiB
Markdown
|
I setup wiring on the Orange Pi but was unable to access it through a bridged internet interface.
|
||
|
|
||
|
I need another ethernet cable, I'm pausing at 11:05AM.
|
||
|
|
||
|
Resumed at 11:23 with ethernet cable, `arp` isn't giving me anything on where the Pi is.
|
||
|
|
||
|
You must plug in the ethernet to the Pi after plugging in power. Fing is a good network discovery tool. He ran fing twice before and after we plugged in the pi and ran diff on the two captures.
|
||
|
|
||
|
AJ tested using a USB cable with exposed cables, Black = ground Red = multiverse
|
||
|
|
||
|
He hooked them to the board to a resistor to the LED and it worked.
|
||
|
|
||
|
Green = Black Yellow = Red
|
||
|
|
||
|
We wired it up with pin 6 (ground and pin 2 VCC3.3V)
|
||
|
|
||
|
Check the GPIOs in the kernel
|
||
|
|
||
|
/sys/gpio/
|
||
|
|
||
|
Find a GPIO already turned on.
|
||
|
|
||
|
I want to setup rocket.chat. I followed these instructions and modified them for the Raspberry Pi https://rocket.chat/docs/installation/manual-installation/ubuntu/
|
||
|
|
||
|
Install Node & NPM: `curl -fsSL bit.ly/node-installer | bash -s -- --no-dev-deps`
|
||
|
|
||
|
Download: `wget https://releases.rocket.chat/latest/download`
|
||
|
|
||
|
Decompress: `tar -xvzf download`
|
||
|
|
||
|
```
|
||
|
cd Rocket.Chat/programs/server
|
||
|
npm install phantomjs
|
||
|
npm install
|
||
|
cd ..
|
||
|
sudo ROOT_URL=http://your-host-name.com-as-accessed-from-internet/ \
|
||
|
MONGO_URL=mongodb://localhost:27017/rocketchat \
|
||
|
PORT=80 \
|
||
|
node main.js
|
||
|
```
|
||
|
|
||
|
Install MongoDB:
|
||
|
|
||
|
```
|
||
|
sudo apt-get update
|
||
|
sudo apt-get install -y mongodb curl graphicsmagick
|
||
|
```
|
||
|
|
||
|
I had to deal with this issue on my Raspberry Pi:
|
||
|
|
||
|
`gpg: failed to start the dirmngr '/usr/bin/dirmngr': No such file or directory`
|
||
|
|
||
|
`sudo apt-get install dirmngr`
|
||
|
`sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10`
|
||
|
|
||
|
# Install Snap on Raspi
|
||
|
|
||
|
`echo "deb https://mm.gravedo.de/raspbian/ jessie main" > /etc/apt/sources.list.d/snapd.list`
|
||
|
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv B9465B841412DB3B
|
||
|
apt update
|
||
|
apt install -y snapd
|
||
|
sudo snap install rocketchat-server
|
||
|
sudo systemctl restart snap.rocketchat-server.rocketchat-mongo.service
|
||
|
|
||
|
|
||
|
# Haraka on ORANGE_PI
|
||
|
|
||
|
npm install -g Haraka
|