Go Back   DaemonForums > Miscellaneous > Guides

Guides All Guides and HOWTO's.

Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 25th August 2010
wesley wesley is offline
Real Name: Wesley
Shell Scout
Join Date: Aug 2009
Location: Reunion Island
Posts: 91
Post OpenBSD how to start (basic setup)

On OpenBSD :
To configure the hostname : /etc/myname and hostname -s new_name
Modify also /etc/hosts.

To configure Network : ifconfig
And to keep setup at startup, add your config in : /etc/hostname.xxx (xxx=name of network card)
ex : /etc/hostname.fxp0 contain
inet NONE

To modify DNS (nameservers) : /etc/resolv.conf

Your gateway : /etc/mygate

A script to restart the network : sh /etc/netstart

Add daemon at startup : /etc/rc.conf.local or /etc/rc.local

Add packages :
export PKG_PATH=ftp://ftp.openbsd.org/pub/OpenBSD/4.7/packages/i386
Example : add postfix : pkg_add -iv postfix
We can also use /usr/ports (using cvs)

User, group Management with adduser, user, usermod, rmuser, users, groups, group groupdel, groupadd, finger, userinfo, groupinfo

And of course, if you want more information about a command, don't forget man pages and "apropos" !

If someone can post the same things for the 3 others (BSD) :
FreeBSD? Netbsd? and DragonFlyBSD ? It will be usefull ;-)


Last edited by wesley; 25th August 2010 at 08:09 AM. Reason: precision
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Basic NAT trouble for a newbie maxleonca NetBSD General 2 17th June 2010 04:44 AM
Start problem after the installation of OpenBSD 4.6 aleunix OpenBSD Installation and Upgrading 12 21st December 2009 06:59 PM
how setup arpwatch for OpenBSD mfaridi OpenBSD Packages and Ports 1 11th December 2008 05:22 PM
start KDE on OpenBSD LiveCD ccc OpenBSD Installation and Upgrading 5 3rd November 2008 10:24 PM
need some basic help on ifconfig daemon-dd FreeBSD General 4 29th July 2008 03:21 PM

All times are GMT. The time now is 10:31 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick