This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
vps:vps [2020/03/06 01:28] jrmu |
vps:vps [2020/03/09 11:54] jrmu |
||
---|---|---|---|
Line 52: | Line 52: | ||
To escape serial console, type ~~. | To escape serial console, type ~~. | ||
+ | |||
+ | Our default gateway is 38.81.163.129. Your IP address can be found by running $ dig username.us5.ircnow.org. | ||
+ | |||
+ | For OpenBSD, here is how you statically assign your IP address: | ||
+ | |||
+ | Inside /etc/hostname.vio0: | ||
+ | |||
+ | <code> | ||
+ | inet 38.81.163.xxx 255.255.255.0 | ||
+ | </code> | ||
+ | |||
+ | Replace 38.81.163.xxx with your assigned IP address. | ||
+ | |||
+ | Inside /etc/mygate: | ||
+ | |||
+ | <code> | ||
+ | 38.81.163.129 | ||
+ | </code> | ||
+ | |||
+ | For Alpine: | ||
+ | |||
+ | To restart networking: | ||
+ | |||
+ | <code> | ||
+ | # service networking restart | ||
+ | </code> | ||
+ | |||
+ | Losing network connectivity: | ||
+ | |||
+ | For OpenBSD, put this in your crontab: | ||
+ | |||
+ | <code> | ||
+ | @reboot /usr/bin/tmux new -d 'while true; do /sbin/ping -i5 38.81.163.129; done' \; | ||
+ | </code> | ||
+ | |||
+ | For Debian: | ||
+ | |||
+ | <code> | ||
+ | @reboot /usr/bin/tmux new -d 'while true; do /usr/bin/ping -i5 38.81.163.129; done' \; | ||
+ | </code> | ||
+ | |||
+ | For Alpine: | ||
+ | <code> | ||
+ | @reboot /usr/bin/tmux new -d 'while true; do /bin/ping -i5 38.81.163.129; done' \; | ||
+ | </code> |