Fedora 13 base install – network configuration on startup

I’m using an HP mini 110-1013TU(1GB RAM) netbook installed with Windows XP SP3. I want to try Fedora 13, so I decided to install VirtualBox since I don’t want to dual boot or re-partition my hard drive. I have created an 8GB virtual hard drive for the Fedora 13 installation. I also set the RAM to 256MB, because I just wanted the base/core installation.

After a couple of minutes, the installation went successful and I have to set the settings for my Fedora 13 virtual machine. I have reverted the RAM from 256MB to 128MB. I have also selected the NAT option from the Network Adapter lists. Next thing to do is boot up the virtual machine.

After logging in as root, the first thing I checked was the network connection. I executed ifconfig command to see if the network interface was detected. So by default only the loopback was “up”.

Here are two (2) possible ways to fire up and enable your network interface at startup.

Option 1. With root privilege, edit /etc/rc.d/rc.local and add the following lines:

ifconfig eth0 up

dhclient eth0

According to the rc.local file, you can put your own initialization stuff here if you don;t want to do the full Sys V style init stuff. This script is executed after all the other init scripts.

Option 2. With root privilege, edit /etc/sysconfig/network-scripts/ifcfg-eth0 add the line

BOOTPROTO=dhcp

and change the line

ONBOOT=no

to

ONBOOT=yes

Then you should enable the network service in runlevel 3 (since you only have a base/core install).

chkconfig network on –level 3

If you want to reboot then execute shutdown -r or if you want to restart later, just execute the /etc/init.d/network [start | stop | restart] command(s) to test your connectivity.

You may want a static IP configuration instead of using a DHCP. Here is a sample /etc/sysconfig/network-scripts/ifcfg-eth0 using static IP configuration and disabling IPv6.

DEVICE=eth0

HWADDR=00:08:27:4D:F3:C5

IPV6INIT=no

BOOTPROTO=static

ONBOOT=yes

USERCTL=yes

TYPE=Ethernet

IPADDR=192.168.0.3

NETWORK=192.168.0.0

GATEWAY=192.168.0.1

BROADCAST=192.168.0.255

NETMASK=255.255.255.0

Canonical’s Webinar: Successful Desktop Migration

Here is the information I received from Canonical

Oh, for the good old days of Microsoft monopoly! Sure, there were constant
problems with viruses and Blue Screens of Death, but admit it: you enjoyed
raging against the Windows machine.

But then, you always were a glutton for punishment. Others, however, are
turning to desktop alternatives like Mac OS X and Ubuntu.

Yes, Ubuntu.

Millions of people have dumped Windows in favor of Ubuntu as their preferred
desktop, and a growing number of enterprises must now grapple with the
challenge of how to effectively deploy the industry’s leading Linux desktop.

But not your business? Think it’s “Windows as far as the sysadmin can see”?
Think again. You’ve got Ubuntu. Probably lots of it.

It’s time to discover how your business can easily and successfully deploy
Ubuntu Desktop Edition.

Join experienced Canonical engineer Boris Devouge to learn desktop migration
best practices and methodologies. You will find out how to avoid common pain
points, as well as tips and tricks for testing, piloting and deploying Ubuntu
Desktop Edition in your business. It will also make you popular. All the cool
kids run Ubuntu.

In fact, Boris will walk you through real migration scenarios from peers who
have also embraced Ubuntu. Have questions? He’ll answer them, live during the
session.

Date: Thursday 29th July 2010
Times: 12:00 BST (London) and 14:00 EDT (New York)

If you are responsible for enterprise desktops you won’t want to miss this
event.

I have registered for the event and last night (Philippine Time, 7:00PM), I have participated in Canonical’s Webinar entitled, Successful Desktop Migration.

So for those who were not able to join, you can view the recorded presentation at https://pages.canonical.com/2010UADesktopWebinarResources

You can choose either from  Recorded Session I with Boris DeVouge and Matt Barker, or Recorded Session II with Roberto Salazar and Sam Herren.

Cheers,

BSD Magazine July 2010 Issue

Check out my article in this issue, entitled FreeBSD Experience and Success Story

The July 2010 Issue of BSD Magazine is out now!


Download your copy here http://download.bsdmag.org/en/OpenBSD_07_2010.pdf

  • Building a Desktop Firewall with pf and fwbuilder

    This article is an excerpt from the Firewalls and VPNs chapter of the book The Best of FreeBSD Basics (ISBN 9780979034220), published by Reed Media Publishing.


    – Dru Lavigne
  • OpenBSD Some Interesting One Floppy Systems

    One floppy systems are very practical, as they usually have a specific goal, which cannot be said about all Live CD’s.


    – JURAJ SIPOS
  • Remote Installation of the FreeBSD Operating System without a Remote Console

    This article documents the remote installation of the FreeBSD operating system when the console of the remote system is unavailable. The main idea behind this article is the result of a collaboration with Martin Matuska mm@FreeBSD.org with valuable input provided by Pawel Jakub Dawidek jd@FreeBSD.org.


    – DANIEL GERZO
  • OpenBSD as a Mail Server

    In a previous document, we built redundant firewalls using the CARP and PFSYNC protocols; these were the first building blocks of a hypothetical, penBSD-based, small private networkthat we are going to build step by step across several documents.


    – DANIELE MAZZOCCHIO
  • Performance Comparison ITTIA DB and SQLite

    ITTIA DB SQL and SQLite are used by software developers to manage information stored in applications and devices. Designed to be hidden from the end-user, these embedded relational database management systems are linked into the application or firmware as self-contained software libraries.


    – Sasan Montaseri
  • Interview with Jeff Roberson

    – Jesse Smith
  • FreeBSD Experience and Success Story

    – JOSHUA EBARVIA