Tip of the Day: Know what process is running on a device

To get process id running on a device, execute:

root@localhost ~]# fuser -m /dev/sdb1

and then:

root@localhost ~]# ps -p <pid>

PC World: July 2009 Issue

pcworld072009I like the cover article: Simplify your life. This I know, everyone needs to get a simple tech life to destress oneself. I myself need it. haha!

How To: Mount Samba Shares via commandline

To manually mount, in commandline type:
root@locahost ~]# mount -t cifs //servername/sambashare /mount/point -o username=aby,password=aby

To mount during bootup, edit file system table:
root@localhost ~]# vi /etc/fstab

and insert:
//servername/sambashare /mount/point cifs user=aby,pass=aby defaults rw 0 0

How-to: Connect VirtualBox to Windows Lan using Network Bridge

My first attempt on this was a failure just because I forgot to assign the proper IP addresses. Anyway, I was able to connect my virtual machine to the corporate lan via Network Bridge. Here’s how to do it with VirtualBox 2.2.4 and Windows XP:

1) On your virtual machine’s details, click on Network;
vbox1
2) In Attached to: select Host-Only Adapter. This will create a VirtualBox Host-Only Network connection in Windows;
3) Open you Network Connections in Windows, select Local Area Connection and VirtualBox Host-Only Network, right click and select Bridge Connections. This will create Network Bridge which you will configure the tcp/ip settings based on your intranet setup;
vbox2

vbox3
4) Start your Virtual Machine;
5) Likewise, configure network settings based on your intranet setup;
6) To test, perform ping to and from your virtual machine.

OpenSolaris 2009.6 on VirtualBox

OS2009-06VBox specs:
RAM 750MB
Disk Space 15GB

OpenSolaris still goes for LiveCD before installation. That, I still like about it. You get to experience it without doing anything yet. And, OS installer is already cluded in the LiveCD.

Installation
It’s not as breezy as I thought it would be. It took a lot of time and what seems to be missing (just like before) is the liberty to choose which package I want or if I ever want Games to be installed.

Bootup
Is the same with the installation, it’s slow. I doubt it’s because of my vbox.

Package Manager
The built-in package manager is cool. It loaded a little sluggishly but afterwards, I really liked it. Searching for a package is easy, same with installing a package. All I needed to do for a successful install was to have an internet connection via NAT (which is easier than bridge).

OS2009-06-2

Bundled Applications
1. Firefox 3.1 Beta 3
2. Thunderbird 2
3. Pidgin 2.5.5
4. Evolution 2.24.2
5. RhythmBox
6. Totem
7. Evince Document Viewer
What I like

  • Desktop environment is very light. I like the theme, not too noob, not too pro.
  • Package Manager loads faster than any other package manager I’ve seen. It’s actually easy to use. Simple keyword search is good enough.
  • Lightweight due to its bundled applications.

What I don’t like

  • CD/DVD Rom won’t mount automagically.
  • Bootup is sluggish.
  • Package selection during install is minimalist.
  • Saving Network configuration is not fast enough for me. Same with other configurations like Network proxy.
  • Can’t add optical media as repository.