Wednesday, October 31, 2007

Ubuntu 7.10: Gutsy Gibbon [Guide]

Ah, the Guide.. Most of the basics can be found here.
http://ubuntuguide.org/wiki/Ubuntu:Gutsy

Gutsy: NVIDIA GeForce 6600

With the sorceress spiraling out of control with no attention from me, I finally decided to give it some much deserved attention. With the release of Gutsy Gibbon (Ubuntu 7.10) i ran a distro upgrade and X crashed on the reboot. So i decided to install from scratch.

After the install. I needed to get my DVI working.
sudo apt-get install linux-restricted-modules-generic
After that's done, go to System > Administration > Restricted Drivers Manager and turn on the driver. Restart and that should work.

Wednesday, August 15, 2007

Sunday, June 17, 2007

Setup Skype on Ubuntu x64

If you've tried to install the Skype 1.4.0.74 deb package on a 64bit architecture machine you probably got: Error: Wrong Architecture 'i386'

Edit: According to oleg_t this works for Skype 2.0.0.63 too. Change skype-1.4.0.74.deb to the version you are trying to install.

You could try:
sudo dpkg -i --force-architecture skype-1.4.0.74.deb
linux32 skype

but that didnt work for me coz skype was still expecting the i386 libraries of some files.

Finally what did work was a solution from Ubuntu Forums
sudo apt-get install --yes ia32-libs* lib32asound2
cd ~
mkdir skypebetainstall
cd skypebetainstall
wget http://www.skype.com/go/getskype-linux-ubuntu
wget http://mirrors.kernel.org/ubuntu/pool/main/q/qt4-x11/libqt4-core_4.2.3-0ubuntu3_i386.deb
wget http://mirrors.kernel.org/ubuntu/pool/main/q/qt4-x11/libqt4-gui_4.2.3-0ubuntu3_i386.deb
wget http://mirrors.kernel.org/ubuntu/pool/main/libs/libsigc++-2.0/libsigc++-2.0-0c2a_2.0.17-2build1_i386.deb
wget http://mirrors.kernel.org/ubuntu/pool/main/d/dbus/libdbus-1-3_1.0.2-1ubuntu3_i386.deb
sudo dpkg -x libqt4-core_4.2.3-0ubuntu3_i386.deb libqt
sudo dpkg -x libqt4-gui_4.2.3-0ubuntu3_i386.deb libqt
sudo dpkg -x libsigc++-2.0-0c2a_2.0.17-2build1_i386.deb libqt
sudo dpkg -x libdbus-1-3_1.0.2-1ubuntu3_i386.deb libqt
sudo cp libqt/usr/lib/* /usr/lib32/
sudo ln -s /usr/lib32/libdbus-1.so.3 /usr/lib32/libdbus-1.so.2
sudo ldconfig /usr/lib32
sudo dpkg -i --force-architecture skype-1.4.0.74.deb
sudo rm -rf ~/skypebetainstall


Basically, my understanding is that, it installs the 32bit libraries that skype needs into /usr/lib32/ and then installs skype.

To run skype just go to Menu > Internet > Skype

Friday, June 8, 2007

Ubuntu Zine: Full Circle Magazine


Check out the Full Circle Magazine and get your dose of Ubuntu...

Thursday, June 7, 2007

Remote Desktop Sharing in Ubuntu with Vino

Ubuntu and Vino setup for Remote Desktop (VNC):
Remote Desktop Sharing in Ubuntu -- Debian Admin

Vibe Streamer

Something I found for windows while searching for gnump3d stuff...
Vibe Streamer - Free MP3 streaming server - Play your music anywhere!

How to open files as root user via right-click in Nautilus

Take from Ubuntu:Feisty Wiki:
How to open files as root user via right-click in Nautilus

- In the console type:
gedit $HOME/.gnome2/nautilus-scripts/Open\ as\ root

- Insert the following lines into the new file:
for uri in $NAUTILUS_SCRIPT_SELECTED_URIS; do
gksudo 'gnome-open $uri' &
done

- Save the edited file
chmod +x $HOME/.gnome2/nautilus-scripts/Open\ as\ root

- Open up nautilius and right click on any file -> Scripts -> Open as root

Tuesday, June 5, 2007

Monday, June 4, 2007

Quake 3 - Revisited

Long ago, when the sorceress ran on SuSe and a 32bit processor, my quake 3 problems were solved with this solution
Now, with a brand spanking new 64bit beast and a sweet OS, the Quake problem was revisited.

Installing Quake wasnt as easy as expected. The Point release wouldnt install since this is a 64bit and the proggy is 32bit. A little googling solved that:
sudo linux32 sh linuxq3apoint-1.32b-3.x86.run

Quake runs smooth, but no audio. A lot of googling and I still haven't found a solution. Guess Ill have to post around to find a solution.

Will update when I find a solution..

Sunday, June 3, 2007

Raid 1 Setup

I've always hated backing up data. YOu make a DVD backup and two days later you have another 2 Gig that you want to backup.. Its impossible to keep upto date with backups if you dont have a sophisticated system.

After my OS course 2 semesters ago I finally decided that RAID could be my solution. Implement RAID 1 which basically mirrors the drives and voilia Backup!

So after my machine died on me I decided to go shopping. Alomg with a snazzy 22" LCD monitor I decided to put in some dollars for 2 320 GB SATA HDDS.

The idea was to keep my old IDE 40GB drive as root (/) and have my /home and other partitions on the SATA RAID drives. This works great coz I hear that setting a RAID drive as the boot drive causes problems with GRUB since it doesnt know how to read RAID since the module isn't loaded at that point.

So heres the map of things:

* hda1 = 40 GB IDE Drive
* sda and sdb = 320 GB (detects 299 GB) SATA Drives

/ - 40GB /dev/hda1
/home - RAID ARRAY 1 [ 60GB /dev/sda1 & 60GB /dev/sdb1 ]
/audio - RAID ARRAY 2 [ 60GB /dev/sda5 & 60GB /dev/sdb5 ]
/neuro - RAID ARRAY 3 [ 60GB /dev/sda6 & 60GB /dev/sdb6 ]
/virtuo - RAID ARRAY 4 [ 60GB /dev/sda7 & 60GB /dev/sdb7 ]
/video - RAID ARRAY 5 [ 59GB /dev/sda8 & 60GB /dev/sdb8 ]


While I went though a slightly messy setup since I didn't really know what I was doing at the time, in retrospect things are a lot clearer now. So here's instruction for setting up RAID POST installation...

IMHO I think a PRE install setup shouldn't be too different. Setup the mdadm arrays and then run the install and ubuntu will detect the partitions or you can modify the fstab to mount the partitions manually. But don't take my word for it, check out the links at the bottom of this post.

---- BOOT FROM LIVE CD ----
We need mdadm to enable RAID. (mdadm -manage MD devices aka Linux Software Raid.) The standard LIVE CD doesnt have mdadm available, so lets install it:

sudo apt-get update
sudo apt-get install mdadm

During the installation I answered:
mdadm md arrays needed for the root filesystem: none
start MD arrays automatically: yes

NOTE: If you are going to boot from a RAID partition your answers will be different.


---- SETUP PARTITIONS ----
Create identical partitions (ext3) on the individual drives. In my scenario I had 5 partitions of ~60GB on each drive. You can use the GParted GUI tool under System > Administration.

Now to make these partitions RAID. Ensure you know the names of each partition, you can check them in GParted.

What happens now is that we create RAID arrays and tell mdadm which partitions are going to be in each array. Since I planned for 5 partitions I have 5 RAID Arrays which all are RAID-1.

sudo mdadm --create /dev/md0 --level=1 --raid-devices=2 /dev/sd[ab]1
sudo mdadm --create /dev/md1 --level=1 --raid-devices=2 /dev/sd[ab]5
sudo mdadm --create /dev/md2 --level=1 --raid-devices=2 /dev/sd[ab]6
sudo mdadm --create /dev/md3 --level=1 --raid-devices=2 /dev/sd[ab]7
sudo mdadm --create /dev/md4 --level=1 --raid-devices=2 /dev/sd[ab]8

A quick explination of the above command: Create /dev/md0 as a RAID1 array consisting of /dev/hda1 and /dev/hdb1.

Now although mdadm will start automatically on boot and detect these arrays we still need to tell fstab to mount these partitions. Since we've booted from a live cd our drives are not mounted.
Mount your / (root) partition with:
sudo mount /dev/hda /somefolderthatexists

Now navigate to and modify your fstab (/somefolderthatexists/etc/fstab) to mount each array. Here's my fstab
# /etc/fstab: static file system information.
proc /proc proc defaults 0 0
# /dev/hda1
UUID=f3bbc342-67c3-43f1-adbf-8051783b5972 none swap sw 0 0
# /dev/hda2
UUID=0f193453-21ce-430a-a31e-774750e9043f / ext3 defaults,errors=remount-ro 0 1
/dev/md0 /home ext3 defaults 0 0
/dev/md1 /audio ext3 defaults 0 0
/dev/md2 /neuro ext3 defaults 0 0
/dev/md3 /video ext3 defaults 0 0
/dev/md3 /virtuo ext3 defaults 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0

And we're done!

You can reboot or mount the drives now with: sudo mount -a which mounts all filesystems listed in /etc/fstab.

Also, mdadm is (re)syncing the partitions in the background. You can check the status/progress with: cat /proc/mdstat

You dont have to wait to use your drives, you can use them immediately and mdadm will sync them in the background..

Hope this helps, if not here's what helped me:
http://man-wiki.net/index.php/8:mdadm
http://ubuntuforums.org/showthread.php?t=408461
http://advosys.ca/viewpoints/2007/04/setting-up-software-raid-in-ubuntu-server/

The New et Improved: Sorceress

Heres the upgrade listing:

OS : Ubuntu Feisty Fawn 2.6.20-16-generic x86_64 GNU/Linux

CPU : AMD Athlon 64 X2 3800+ Socket 939 CPU
MoBo : MachSpeed MSNV-939 NVIDIA Socket 939 ATX Motherboard / Audio / PCI Express / 10/100 Ethernet LAN / USB 2.0 / Serial ATA
Memory : Ultra 1024MB PC3200 DDR 400MHz Memory
GFX : BFG GeForce 6600 GT OC / 128MB GDDR3 / SLI / PCI Express / Dual DVI / HDTV / Video Card
DVD-RW : Lite-On LH-20A1L-06 SuperAllwrite / 20x DVD±R Burn / 16x DVD±R Read / 8x DVD+RW / 6x DVD-RW / 8x DVD±R DL / 12x DVD-RAM / 48x32x CD-R/RW / Black / SATA / DVD Burner with Lightscribe
HDD 1 : Seagate 320GB Serial ATA HD 7200/16MB/SATA-3G
HDD 2 : Seagate 320GB Serial ATA HD 7200/16MB/SATA-3G
SMPS : Ultra / X-Finity / 500-Watt / ATX / 120mm Fan / SATA-Ready / SLI-Ready / Black / Power Supply
LCD : Megavision MV220 / 22" Widescreen / 5ms / 1000:1 / WSXGA+ 1680 x 1050 / DVI·VGA·Component Video / Black / Widescreen / LCD Monitor


rawwwwwwwwwwwwwwwww!!!!!!!
Beryl.. here i come!!!

Saturday, March 3, 2007

Sabayon Linux

Yeah long time no update on the Linux front. My motherboard is still fried. The Video and Sound port aren't working so for now I play my music over the network from the windows machine. 95% of my work is done on windows now.. Just waiting for another month or so and then i plan to get a new mobo and buy 2 300GB HDD and set them up as RAID disks on the linux machines.. No more DVD backups then!! Raarrr!!

Randa recently send me a link to this new Linux Distro called Sabayon and boy is it yum yum yum!!! Im just dying to try out Sabayon.. Am dying to upgrade the HW so that I can try it out...

Till I do, heres some links for more on Sabayon:

Sabayon on Wikipedia

Sabayon Review

Saturday, September 23, 2006

Gallery 2

Gallery2

Ubuntu Gallery Install Guide

Organize and display your pictures online. Allow ppl to select pix and download them as a zip file..

Totally Rad!

Thursday, July 20, 2006

Swarm the dot com

Swarm the dot com: A new way to browse the web.

Swarm is a graphical map of hundreds of websites, all connection to each other. While you're browse the web, Swarm will update itself every second with the sites that other people visiting in. When a site becomes more popular (Google.com, for example), It will move towards the center of the swarm.
Test it out...

eth0: No Such Device

Todays been a shitty day... 2 days ago I unplugged my 2nd monitor from my ubuntu machine to hook up to the windows machine so pallavi could use it since her laptop's dead.. And what do I get after doing a good deed?? my internal pci port on the mobo shot while trying to re-hook up the monitor back!! Freakin Hell!!! its a brand new mobo!!

So, no more dual screens... and to top that, when I shut down the machine to troubleshoot I didnt realise that I had accepted a kernel update and so when I rebooted.. no internet!! Now that's a kick in the nuts (if i had nut's, im sure thats what it would feel like!)

After and hour of frusterated googling on the windows machine, i finally figured it out... phew! i thought i'd have to reinstall.. hate that!

Problem:
Ubuntu detected the card (sudo lspci | grep -i ethernet) but sudo ifconfig was just showing 'lo' and no 'eth0'.

When I tried a sudo ifconfig eth0 up i would get an error.
SIOCSIFADDR: No such device
eth0: ERROR while getting interface flags: No such device


Solution: Simple..
sudo network-admin OR Click on System-->Administration-->Networking
You will get a window with networking setup options on it..
Click 'Ethernet Connection'
Click 'Properties'
Enable the connection. Save.
Activate the connection!

Phew..... Moral of the Story: Beware the kenel updates! (and Beware the good deeds)

Need to track down Mach Speed Motherboards for warranty.. grrrr...

Wednesday, July 19, 2006

Hamachi: VPN Application

I came across a Digg about 10 Unknown Windows Freeware Applications You Should Know About. This was not one of the crappy freebies but some really useful and unknown ones..

Hamachi was one that sounded really interesting to try out..
Hamachi is a zero-configuration virtual private networking application.

In other words Hamachi is a program that allows you to arrange multiple computers into their own secure network just as if they were connected by a physical network cable.

Hamachi is fast, secure and simple. Its core version is also free.


Interested?? I sure am!!

Here's detailed installation instructions. For Ubuntu Dapper dont forget to add sudo in front of commands that need to be run as root...

Note: Make sure make is installed. If it isnt then:
$ sudo apt-get install build-essential

After installing hamachi, download gHamachi a GUI interface to hamachi. (needs hamachi to be installed to work)

Thats It!! Now off to test it with some windows users...

Tuesday, July 11, 2006

Swiftfox

Ditch Firefox... Switch to Swiftfox

Trying to install Flash was such a pain in Firefox. I couldn't find 'flashplugin-nonfree' in the repository and there were posts about some problems with 64bit. Then I came across this reccomendation to try Swiftfox. Its built on firefox and tons faster and meant for Linux..

Easy install... and boy, did it ever work! Went to a flash page and it asked to install the plugin.. and zap! flash was installed! google video here i come!!

Thursday, June 8, 2006

CD/DVD creation with Nautilus

Am a lil bored with KDE so Ive switched to Gnome.. So from now on Ill be refering to Gnome apps.. The GNOME Journal: CD/DVD creation with Nautilus

Wednesday, June 7, 2006

Mixing 2 Screens, 2 OSs, Synergy and a KVM

Finally got Synergy to work..
My setup, as I mentioned some posts ago, is a lil complicated...

I have 2 Monitors for Ubuntu. One of them is shared with Windows through a KVM.

{KVM} <-- [Keyboard + Mouse]
|
[LCD Monitor] [CRT Monitor]
| __________|
| | |
(Screen1) (Screen2) |
| | |
---------- |
| |
(Ubuntu) (Windows)


Solution was:
On Ubuntu, Setup the LCD Screen as the primary screen and the CRT as the secondary screen.. In xorg.conf, under the Section "ServerLayout"


Screen "LCDScreen"
Screen "CRTScreen" RightOf "LCDScreen"

On Windows, I setup the Synergy Server using the Synergy GUI. (Synergy Manual.) Windows was to the left of Ubuntu and Ubuntu was to the right of Windows.

Ran the server and client (ubuntu: synergyc 192.168.0.123)..

The KVM is still connected. When I switch the KVM to the Windows machine I move the mouse off the right of the screen and get into the LCD on Ubuntu and get back to Windows by moving the mouse off the left of the LCD Ubuntu screen.

The neat part is when I switch the KVM to the Ubuntu machine the keyboard and mouse works normally coz the Synergy server cant detect the kybrd/mouse on the Windows machine since the KVM switched it..

So all is good in geek land! :)
Besides having to study for Abstract Algebra! *headache* *ouch*