Saturday, December 14, 2013

My Notes: One Giant Leap for Frogkind

Compiling a new kernel on OpenSUSE 13.1 and ending up with an RPM for easy installing.

Caution: Use this hard to follow how-to at your own risk. This worked for me on OpenSUSE 13.1 64bit with the latest stable kernel 3.12.5 from

Step 1: Install the necessary tools and dependencies.

$ sudo zypper ncurces-devel rpm-build

Step 2: Download the latest stable kernel form

$ wget ""

Step 3: Extract/Unpack the kernel source code.

$ tar -Jxvf linux-3.12.5.tar.xz

Step 4: Copy the kernel source code to /usr/src/.

$ sudo cp -r linux-3.12.5 /usr/src/

Step 5: Change into /usr/src/linux-3.12.5/.

# cd /usr/src/linux-3.12.5/

Step 6: Configure the kernel.

If this is your first time configuring the Linux kernel, I would recommend you copy your ".config" from your existing kernel. If your experienced at configuring the Linux kernel use "make mrproper" to configure your kernel from scratch. "make mrproper" will give you a clean default ".config".

# cp /boot/config-`uname -r` .config

If you need to make changes to the ".config" use "make menuconfig".

# make menuconfig

If you would like to change the EXTRAVERSION field: Edit the "Makefile".. I changed mine to "-kermit" since Linus named this kernel "One Giant Leap for Frogkind".

NAME = One Giant Leap for Frogkind

Step 7: Build the kernel package.

# make rpm

Before the build process begins you will be asked some questions about some new kernel features.. Read carefully!

Step 8: Install your new kernel.

If everything worked out.. you will have a new kernel RPM in "/usr/src/packages/RPMS/x86_64/".

# rpm -ivh kernel-3.12.5_kermit_4_desktop-2.x86_64.rpm

and build the initrd file. The initrd is the "initial ramdisk". It is enough files stored in a ramdisk to store needed drivers. You need the drivers so that the kernel can mount / and start init.

# mkinitrd

and add boot entry to grub2.

# grub2-mkconfig

That's it!! Reboot into your new kernel.

Sunday, December 8, 2013

My Notes: Manually install the proprietary Nvidia GeForce video drivers on openSUSE 13.1.

Use this hard to follow how-to at your own risk. This worked for me on openSUSE 13.1 64bit with kernel 3.11 and Nvidia driver 331.20.

1.) Download Nvidia GeForce drivers:

Go to and download the proper binary drivers for your Nvidia GeForce model.

Make the binary executable:

$ chmod +x

2.) Install the dependencies for the NVIDIA driver:

gcc, make, and kernel-devel

$ sudo zypper install gcc make kernel-devel

3.) Exit out of X to install drivers:

The easiest way is to select "Console login" from gui login screen (kdm) or use key combo Ctrl-Alt-F1.

4.) Disable Kernel Mode Setting (KMS):

Step 1: Edit /etc/sysconfig/kernel and set "NO-KMS-IN-INITRD = yes".

Run mkinitrd to re-create the necessary initrd file:

# mkinitrd

Step 2: Edit the file /etc/default/grub and add nomodeset to GRUB_CMDLINE_LINUX_DEFAULT=. Run the command "grub2-mkconfig" to re-create the /boot/grub2/grub.cfg file.

# grub2-mkconfig

5.) Blacklist nouveau to prevent the proprietary NVIDIA driver from conflicting with the default nouveau driver.

Add "blacklist nouveau" to /etc/modprobe.d/50-blacklist.conf

6.) Install the binary driver:

# ./

Finally! Reboot.
# reboot

Tuesday, May 28, 2013 Motorsport Simulations is in the works for Linux!

Quote from forums by staff member Steve Myers:
 "Some of you may be happy to know that we have been working on porting iRacing to run on Mac and Linux. By rough estimates Apple and Linux make up between 15% - 25% of the market space and as far as we can tell nothing like iRacing exists on those platforms. We are actually far enough along with this project that we have our first build to test. This is exciting for iRacing because we could see a nice jump in members with this port.
 If you are a Mac or Linux user and want to get involved with testing we would appreciate the help. Please email with your system specifications and what controllers you have for these systems and he will get back to you if we would like your help."

Quote from forums by staff member Chris Weidner:
 "Thanks for the huge response to Mac / Linux testing. I've chosen the ones that I'd like to help us test and will be emailing you soon to get you started."

 What is iRacing?

 We are the world’s premier PC-based motorsports racing simulation. An membership provides entry into the newest form of competitive motorsport: internet racing. Internet racing is a fun, easy, and inexpensive way for race fans, sim racers and gamers alike to enjoy the thrill of the racetrack from the comfort of their home.

 We are the ultimate place to go racing online. From NASCAR, to IndyCar, GRAND-AM, Aussie V-8 Supercars to sports cars and Grand Prix racing, iRacing has it all. All you need is a PC, a gaming wheel or game pad that simply plugs into the USB port of your computer and an Internet connection. iRacing organizes all of the racing for you with over 40 official series , or you can choose to host your own race or race in one of over 400 private leagues.

Saturday, February 23, 2013

My Notes: Install, Configure, Set as Default, and Restart BASH session on OpenBSD.

1.) Install binary package:

    # pkg_add -i -v bash

2.) Find BASH path: 

    # which bash



3.) Set your user shell to BASH:

    # chsh -s /usr/local/bin/bash monsterb

Set root shell to BASH:

    # chsh -s /usr/local/bin/bash root

4.) To customize your BASH prompt add this line to .profile:

    PS1="\u@\h:\w$ "; export PS1

5.) Restart BASH session for changes to take effect:

    $ . .profile

Sunday, February 17, 2013

Get your external IP address from the command line.

This one is from BSDGurl. Dependencies: curl,wget

$ wget -q -O -|sed -e 's/.*Current IP Address: //' -e 's/<.*$//'

These two are from Aaron B. The first one (ftp -V -o - works with base OpenBSD and FreeBSD with zero external dependencies! The second one needs 'curl'.

$ ftp -V -o -


$ curl

You can find a few more at