openBSD

923 days ago by raazesh.sainudiin

%hide %auto %html <style> code.output {background=#ddd; display:block; border:1px dashed #333; padding:0.2em 0.4em;} </style> <h1>openBSD install notes</h1> <p>Obtain the install media. In this case we've gone for the full 5.0 install iso for Power PC (an old mac) from <a href="ftp://mirror.aarnet.edu.au/pub/OpenBSD/5.0/macppc/install50.iso">an openBSD mirror</a>.</p> <p>Burn the iso to cd.</p> <ol> <li>Find the cd device, <code class="output">cdrecord -scanbus</code></li> <li>Burn the iso, <code>cdrecord -v -dev=1,0,0 install50.iso</code></li> </ol> <p>Install</p> <ol> <li>Boot from cd (for this mac use the command, option, O and F key press at boot to get at lower level, refer to the notes at <a href="ftp://mirror.aarnet.edu.au/pub/OpenBSD/5.0/macppc/INSTALL.macppc">ftp://mirror.aarnet.edu.au/pub/OpenBSD/5.0/macppc/INSTALL.macppc</a> then enter boot ide1:,ofwboot /bsd to boot off of CD.</li> <li>Enter a hostname, <code>raaz_openbsd [ENTER]</code></li> <li>Use the default network interface (in this case gem0)</li> <li>IPv4 address should be <code>DHCP</code>, unless connected to a network this request for a lease will fail. Don't worry. <code>DEFAULT</code></li> <li>IPv6, none for now. <code>DEFAULT</code></li> <li>Enter <code>done</code>, to complete configuring network devices.</li> <li>No need to do any manual network config.</li> <li>Enter your root password.</li> <li>Enable ssh</li> <li>Enable ntpd if you want to keep the clock in sync.</li> <li>Select the default option</li> <li>Enable X Windows</li> <li>Default console zstty0, no beacuse we don't need a serial console????</li> <li>Create a user, by entering a lower case name then follow the prompts</li> <li>Disable ssh login to root, yes</li> <li>Set up root disc, wd0</li> <li>Use DUIDs, yes</li> <li>Use MBR for the partition table in a dedicated openBSD system, this will destroy the existing OS on the disc.</li> <li>Use the whole disc</li> <li>Create a sensible disc layout and relabel.</li> <li>Use the cd as the source for the install sets</li> <li>Add or remove sets if required.</li> <li>Set the timezone <code>Pacific/Auckland</code></li> <li>Don't install the non-free firmware files, refer to <code>man fw_update</code> after the install.</li> <li>Reboot</li> <li>Go into open firmware and enter <code>boot hd:,ofwboot /bsd</code> to boot into the new system</li> <li>Now to set the mac to boot into bsd on each reboot, reboot and go into the open firmware and enter <code>setenv boot-device hd:,ofwboot</code></li> </ol> <p>Eject cd rom with <code>eject cd0</code>.</p> <p>Get through the firewall with <code>telnet ienabler.canterbury.ac.nz 259</code></p> <p>Update any hardware firmware with <code>fw_update</code>, as root. Use <code>fw_update -n</code>, as anyone to just see what it wants to do.</p> <p>Shutdown with <code>shutdown -h now</code>.</p> 
       

openBSD install notes

Obtain the install media. In this case we've gone for the full 5.0 install iso for Power PC (an old mac) from an openBSD mirror.

Burn the iso to cd.

  1. Find the cd device, cdrecord -scanbus
  2. Burn the iso, cdrecord -v -dev=1,0,0 install50.iso

Install

  1. Boot from cd (for this mac use the command, option, O and F key press at boot to get at lower level, refer to the notes at ftp://mirror.aarnet.edu.au/pub/OpenBSD/5.0/macppc/INSTALL.macppc then enter boot ide1:,ofwboot /bsd to boot off of CD.
  2. Enter a hostname, raaz_openbsd [ENTER]
  3. Use the default network interface (in this case gem0)
  4. IPv4 address should be DHCP, unless connected to a network this request for a lease will fail. Don't worry. DEFAULT
  5. IPv6, none for now. DEFAULT
  6. Enter done, to complete configuring network devices.
  7. No need to do any manual network config.
  8. Enter your root password.
  9. Enable ssh
  10. Enable ntpd if you want to keep the clock in sync.
  11. Select the default option
  12. Enable X Windows
  13. Default console zstty0, no beacuse we don't need a serial console????
  14. Create a user, by entering a lower case name then follow the prompts
  15. Disable ssh login to root, yes
  16. Set up root disc, wd0
  17. Use DUIDs, yes
  18. Use MBR for the partition table in a dedicated openBSD system, this will destroy the existing OS on the disc.
  19. Use the whole disc
  20. Create a sensible disc layout and relabel.
  21. Use the cd as the source for the install sets
  22. Add or remove sets if required.
  23. Set the timezone Pacific/Auckland
  24. Don't install the non-free firmware files, refer to man fw_update after the install.
  25. Reboot
  26. Go into open firmware and enter boot hd:,ofwboot /bsd to boot into the new system
  27. Now to set the mac to boot into bsd on each reboot, reboot and go into the open firmware and enter setenv boot-device hd:,ofwboot

Eject cd rom with eject cd0.

Get through the firewall with telnet ienabler.canterbury.ac.nz 259

Update any hardware firmware with fw_update, as root. Use fw_update -n, as anyone to just see what it wants to do.

Shutdown with shutdown -h now.

openBSD install notes

Obtain the install media. In this case we've gone for the full 5.0 install iso for Power PC (an old mac) from an openBSD mirror.

Burn the iso to cd.

  1. Find the cd device, cdrecord -scanbus
  2. Burn the iso, cdrecord -v -dev=1,0,0 install50.iso

Install

  1. Boot from cd (for this mac use the command, option, O and F key press at boot to get at lower level, refer to the notes at ftp://mirror.aarnet.edu.au/pub/OpenBSD/5.0/macppc/INSTALL.macppc then enter boot ide1:,ofwboot /bsd to boot off of CD.
  2. Enter a hostname, raaz_openbsd [ENTER]
  3. Use the default network interface (in this case gem0)
  4. IPv4 address should be DHCP, unless connected to a network this request for a lease will fail. Don't worry. DEFAULT
  5. IPv6, none for now. DEFAULT
  6. Enter done, to complete configuring network devices.
  7. No need to do any manual network config.
  8. Enter your root password.
  9. Enable ssh
  10. Enable ntpd if you want to keep the clock in sync.
  11. Select the default option
  12. Enable X Windows
  13. Default console zstty0, no beacuse we don't need a serial console????
  14. Create a user, by entering a lower case name then follow the prompts
  15. Disable ssh login to root, yes
  16. Set up root disc, wd0
  17. Use DUIDs, yes
  18. Use MBR for the partition table in a dedicated openBSD system, this will destroy the existing OS on the disc.
  19. Use the whole disc
  20. Create a sensible disc layout and relabel.
  21. Use the cd as the source for the install sets
  22. Add or remove sets if required.
  23. Set the timezone Pacific/Auckland
  24. Don't install the non-free firmware files, refer to man fw_update after the install.
  25. Reboot
  26. Go into open firmware and enter boot hd:,ofwboot /bsd to boot into the new system
  27. Now to set the mac to boot into bsd on each reboot, reboot and go into the open firmware and enter setenv boot-device hd:,ofwboot

Eject cd rom with eject cd0.

Get through the firewall with telnet ienabler.canterbury.ac.nz 259

Update any hardware firmware with fw_update, as root. Use fw_update -n, as anyone to just see what it wants to do.

Shutdown with shutdown -h now.

%hide %auto %html <h2>Wireless</h2> <p>google for openbsd bwi wpa2 etc.</p> <p>http://nuxx.net/wiki/Trashwall</p> 
       

Wireless

google for openbsd bwi wpa2 etc.

http://nuxx.net/wiki/Trashwall

Wireless

google for openbsd bwi wpa2 etc.

http://nuxx.net/wiki/Trashwall

%hide %auto %html <h2>X Server</h2> <p>start the X server with <code>startx</code>.</p> <p>If you started <code>X</code> then kill the X server with by ssh'ing into box and use <code>pkill Xorg</code></p> <p>Notes at <a href="http://www.openbsd.org/faq/faq11.html">http://www.openbsd.org/faq/faq11.html</a></p> 
       

X Server

start the X server with startx.

If you started X then kill the X server with by ssh'ing into box and use pkill Xorg

Notes at http://www.openbsd.org/faq/faq11.html

X Server

start the X server with startx.

If you started X then kill the X server with by ssh'ing into box and use pkill Xorg

Notes at http://www.openbsd.org/faq/faq11.html