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 [2023/06/11 22:03] (current) – add in doas and netwokring cpet
Line 1: Line 1:
-{{::puf800x689.gif?400|}}+{{:puf800x689.gif?nolink&200|}}
  
 ====== OpenBSD on SDF VPS ====== ====== OpenBSD on SDF VPS ======
Line 63: Line 63:
 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 255.255.255.0
 +
 +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 =====
vps_-_openbsd.1617354836.txt.gz · Last modified: 2021/04/02 09:13 by hc9