2017-07-05 00:34:40 +00:00
|
|
|
Dynamic IP
|
|
|
|
============
|
|
|
|
This script will update the VDM system with your dynamic IP. To run this script, use the following command (as root):
|
|
|
|
|
2017-07-21 22:48:24 +00:00
|
|
|
*setip* = set IP to VDM system
|
|
|
|
*getip* = will return all details related to this server
|
|
|
|
|
|
|
|
First time use to setup permission as root to set IP:
|
2017-07-05 21:05:00 +00:00
|
|
|
```
|
2017-07-21 22:48:24 +00:00
|
|
|
bash <(curl -s https://raw.githubusercontent.com/vdm-io/dynamic-ip/master/setip.sh)
|
2017-07-05 21:05:00 +00:00
|
|
|
```
|
|
|
|
Once permission is set:
|
2017-07-05 00:34:40 +00:00
|
|
|
```
|
|
|
|
curl -s https://raw.githubusercontent.com/vdm-io/dynamic-ip/master/setip.sh | bash
|
|
|
|
```
|
|
|
|
|
2017-07-21 22:48:24 +00:00
|
|
|
First time use to setup permission as root to get IPs:
|
|
|
|
```
|
|
|
|
bash <(curl -s https://raw.githubusercontent.com/vdm-io/dynamic-ip/master/getip.sh)
|
|
|
|
```
|
|
|
|
Once permission is set:
|
|
|
|
```
|
|
|
|
curl -s https://raw.githubusercontent.com/vdm-io/dynamic-ip/master/getip.sh | bash
|
|
|
|
```
|
|
|
|
|
2017-07-05 00:34:40 +00:00
|
|
|
This script performs the following actions:
|
|
|
|
|
|
|
|
* Adds random Host Key.
|
|
|
|
* Adds a cron entry to update this file on a scheduled basis.
|
2017-07-21 22:48:24 +00:00
|
|
|
* Adds the server IP to VDM system or Gets dynamic IPS for DNS.
|