This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
user:nbrimme1:portfolio:unixproject2 [2016/11/02 19:32] – [UNIX/Linux Fundamentals] 'OpenBSD Installation & Configuration' project page started. nbrimme1 | user:nbrimme1:portfolio:unixproject2 [2016/11/03 06:00] (current) – [Additional Steps] Initial entry entered. nbrimme1 | ||
---|---|---|---|
Line 15: | Line 15: | ||
=====Attributes===== | =====Attributes===== | ||
+ | * **Create a //ppp// directory**: | ||
=====Procedure===== | =====Procedure===== | ||
+ | After installation, | ||
+ | * **Update the firmware**: | ||
+ | * # fw_update | tee ~/ | ||
+ | * **A more informative shell prompt**: | ||
+ | * $ vi ~/.profile | ||
+ | * export PS1=' | ||
+ | * Save and exit. | ||
+ | * **Enable the mouse in the terminal**: | ||
+ | * $ vi / | ||
+ | * $ wsmoused_flags=YES | ||
+ | * # vi / | ||
+ | * # wsmoused_flags=YES | ||
+ | * # reboot | ||
+ | * **Configure Networking**: | ||
+ | * **IP addresses and network mask**: | ||
+ | * # vi / | ||
+ | * **Gateway IP address**: | ||
+ | * # vi /etc/mygate | ||
+ | * **DNS IP address**: | ||
+ | * # vi / | ||
+ | * **Edit the hostname**: | ||
+ | * # vi /etc/myname | ||
+ | * **Install and configure wireless**: | ||
+ | * # CHANGE TO DOAS | ||
+ | * # pkg_add -ivvv wpa_supplicant | tee / | ||
+ | * **Scan for WiFi networks**: | ||
+ | * # ifconfig < | ||
+ | * # ifconfig < | ||
+ | * **Connect to a //WPA// WiFi Network**: | ||
+ | * # ifconfig < | ||
+ | * # dhclient < | ||
+ | * **Connect to a //WPA// WiFi Network with __spaces__ in the // | ||
+ | * # ifconfig < | ||
+ | * # dhclient < | ||
+ | * **Connect to a //WPA// WiFi Network with __symbols__ in the // | ||
+ | * # ifconfig < | ||
+ | * # dhclient < | ||
+ | * **Monitor Mode**: **Note:** Hardware must support //Monitor Mode//. | ||
+ | * # dmesg | grep "< | ||
+ | * # ifconfig < | ||
+ | * # ifconfig < | ||
+ | * # ifconfig < | ||
+ | * **Correct the System Time**: | ||
+ | * **This is optional**. Sometimes this step is need to correct the system time: | ||
+ | * # ln -fs / | ||
+ | * **Add Upgrade and Update paths**: | ||
+ | * $ vi ~/.profile | ||
+ | * $ export PKG_PATH=ftp:// | ||
+ | * $ export ALT_PKG_PATH=http:// | ||
+ | * Save and exit. | ||
+ | * # vi ~/.profile | ||
+ | * # export PKG_PATH=ftp:// | ||
+ | * # export ALT_PKG_PATH=http:// | ||
+ | * Save and exit. | ||
+ | * # reboot | ||
+ | ===== Additional Steps ===== | ||
+ | ==== Install and set bash as the login shell: ==== | ||
+ | * # CHANGE TO DOAS | ||
+ | * # pkg_add -ivvv bash | tee / | ||
+ | * # chsh -s / | ||
+ | * # chsh -s / | ||
+ | * # exit | ||
+ | |||
+ | ==== Patching: ==== | ||
+ | * # cd /tmp | ||
+ | * # wget .../ | ||
+ | * # wget .../ | ||
+ | * # cd /usr/src | ||
+ | * # tar xvfz / | ||
+ | * # tar xvfz / | ||
+ | * # cd /tmp | ||
+ | * # rm src.tar.gz && sys.tar.gz | ||
+ | * # wget .../ | ||
+ | * # signify -Vep / | ||
+ | * > -m - | (cd /usr/src && patch -p0) | ||
+ | * **To recompile the patched software:** | ||
+ | * # cd <dir> | ||
+ | * # make obj | ||
+ | * # make depend | ||
+ | * # make | ||
+ | * # make install | ||
+ | * **To recompile a patched kernel:** | ||
+ | * # cd / | ||
+ | * # KK=`sysctl -n kern.osversion | cut -d# -f1` | ||
+ | * # config $KK | ||
+ | * # cd ../ | ||
+ | * # make | ||
+ | * # make install | ||
+ | ==== Installing Packages: ==== | ||
+ | * # CHANGE TO DOAS | ||
+ | * # pkg_add -ivvv < | ||
- | =====Code===== | + | ==== List installed Packages: |
+ | * # pkg_info | ||
+ | * # pkg_info | grep " | ||
+ | ==== Update installed Packages: ==== | ||
+ | * # pkg_add | ||
+ | * # pkg_add -u | ||
+ | * # pkg_add -u < | ||
+ | ==== Useful Packages: ==== | ||
+ | * **clamav** | ||
+ | * **dnscrypt-proxy** | ||
+ | * **gnupg** | ||
+ | * **gnupg2** | ||
+ | * **opendnssec** | ||
+ | * **tree** | ||
=====Execution===== | =====Execution===== | ||