36 lines
603 B
Markdown
36 lines
603 B
Markdown
## Install
|
|
|
|
### Ubuntu
|
|
```SHELL
|
|
curl -sSL "https://git.openergy.ru/LUCKFOX/SIM800C/raw/branch/main/install.sh" | bash
|
|
```
|
|
|
|
## Usage (via systemd unit)
|
|
|
|
- Start & enable on startup
|
|
```SHELL
|
|
sudo systemctl start sim800
|
|
sudo systemctl enable sim800
|
|
sudo systemctl start sim800-healthcheck.timer
|
|
sudo systemctl enable sim800-healthcheck.timer
|
|
```
|
|
|
|
- Stop
|
|
```SHELL
|
|
sudo systemctl stop sim800
|
|
sudo systemctl stop sim800-healthcheck.timer
|
|
```
|
|
|
|
- Restart
|
|
```SHELL
|
|
sudo systemctl restart sim800
|
|
```
|
|
|
|
## Dependencies
|
|
|
|
### Ubuntu
|
|
```SHELL
|
|
sudo apt remove -y inetutils-ping
|
|
sudo apt install -y ppp iputils-ping
|
|
```
|