User Tools

Site Tools


vps_-_openbsd

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
vps_-_openbsd [2021/04/02 09:13] – [Contents] hc9vps_-_openbsd [2025/04/24 10:55] (current) – [Networking] P a hc9
Line 1: Line 1:
-{{::puf800x689.gif?400|}}+{{:puf800x689.gif?nolink&200|}}
  
 ====== OpenBSD on SDF VPS ====== ====== OpenBSD on SDF VPS ======
- 
- 
  
 ===== First Steps ===== ===== First Steps =====
- 
  
 ==== Root Password ==== ==== Root Password ====
Line 51: Line 48:
    
 ==== User Accounts ==== ==== User Accounts ====
- 
  
 It is also a good habit to create a regular user account for working, using "su" to obtain root privileges as needed. To create a regular user account which is part of the administrative "wheel" group: It is also a good habit to create a regular user account for working, using "su" to obtain root privileges as needed. To create a regular user account which is part of the administrative "wheel" group:
Line 63: Line 59:
 This user will be in the "wheel" group and will be able to perform administrative tasks by runing "su" to obtain superuser privileges using the root password. This user will be in the "wheel" group and will be able to perform administrative tasks by runing "su" to obtain superuser privileges using the root password.
  
 +For doas copy over the example and then edit
 +
 +  cp /etc/example/doas.conf /etc && vi /etc/doas.conf
 +
 +==== Networking ====
 +
 +As root edit /etc/hostname.if (should be xnf0)
 +  
 +  vi /etc/hostname.xnf0
 +  
 +remove the inet autoconf and replace it with ''inet ip''((The virtual machine’s IP address, which is displayed in the header of the VPS Maintenance Shell menu)) ''255.255.255.0''
 +
 +<file config suggested edit from tty bboard VPS>
 +In /etc/hostname.xnf0, the first line should be
 +“inet IP-SEEN-ON-THE-VPS-MAINTENANCE-SHELL 255.255.255.0”
 +</file>
 +
 +As root edit /etc/mygate
 +
 +  vi /etc/mygate 
 +
 +Add in the gateway ip from welcome email
 +
 +As root edit /etc/myname
 +
 +  vi /etc/myname 
 +
 +Add in a hostname that makes sense
 +
 +As root type in /etc/netstart 
 +
 +  sh /etc/netstart
 +  
 +Should now see your ip listed when doing ifconfig
 +
 +Now run sysupgrade twice to get the latest version
  
 ===== References ===== ===== References =====
Line 71: Line 103:
  
 ---- ----
 +
  $Id: VPS_NetBSD.html,v 1.23 2018/02/22 15:12:01 slugmax Exp $  $Id: VPS_NetBSD.html,v 1.23 2018/02/22 15:12:01 slugmax Exp $
 +
vps_-_openbsd.1617354836.txt.gz · Last modified: 2021/04/02 09:13 by hc9