How To: Gyration Media Center Universal Remote Control (GYR3101CA) – Ubuntu 10.04

Difficulty: (Beginner, Intermediate, Advanced)
Mythbuntu Release: (10.04)
MythTV Release: (0.23 <)
Author: DemonBob
Last Updated: Aug. 26th, 2010

This is a How To on getting the Gyration Media Center Remote working in Ubuntu 10.04. I have had this remote since 2007, and fell in love with it. The remote is a gyro mouse and media center remote all in one. In order to get this working you have to use a program called Evrouter.

Orginal Information for getting this remote to work was gathered in this thread. [url]http://ubuntuforums.org/showthread.php?t=479897[/url]

Write Up:

Open up a terminal window.

Download EVRouter for your architecture:

i386

cd ~
wget http://debian.bedroomlan.org/debian/pool/main/e/evrouter/evrouter_0.4_i386.deb

amd64

cd ~
wget http://debian.bedroomlan.org/debian/pool/main/e/evrouter/evrouter_0.4_amd64.deb

Install EVRouter:

i386

sudo dpkg -i evrouter_0.4_i386.deb

amd64

sudo dpkg -i evrouter_0.4_amd64.deb

Create Configuration file:

cd ~
touch .evrouterrc
nano .evrouterrc

Paste the below text.

# Stop
# "Gyration Gyration RF Technology Receiver" "/dev/input/by-id/usb-Gyration_Gyration_RF_Technology_Receiver-event-kbd" none key/166 "fill this in!"

# Record
"Gyration Gyration RF Technology Receiver" "/dev/input/by-id/usb-Gyration_Gyration_RF_Technology_Receiver-event-kbd" none key/167 "XKey/R"

# Pause
"Gyration Gyration RF Technology Receiver" "/dev/input/by-id/usb-Gyration_Gyration_RF_Technology_Receiver-event-kbd" none key/167 "XKey/P"

# Play
"Gyration Gyration RF Technology Receiver" "/dev/input/by-id/usb-Gyration_Gyration_RF_Technology_Receiver-event-kbd" none key/207 "XKey/P"

# Rewind
"Gyration Gyration RF Technology Receiver" "/dev/input/by-id/usb-Gyration_Gyration_RF_Technology_Receiver-event-kbd" none key/168 "XKey/Left"

# Fast Forward
"Gyration Gyration RF Technology Receiver" "/dev/input/by-id/usb-Gyration_Gyration_RF_Technology_Receiver-event-kbd" none key/208 "XKey/Right"

# Skip Back
"Gyration Gyration RF Technology Receiver" "/dev/input/by-id/usb-Gyration_Gyration_RF_Technology_Receiver-event-kbd" none key/165 "XKey/Home"

# Skip Forward
"Gyration Gyration RF Technology Receiver" "/dev/input/by-id/usb-Gyration_Gyration_RF_Technology_Receiver-event-kbd" none key/163 "XKey/End"

# Guide
"Gyration Gyration RF Technology Receiver" "/dev/input/by-id/usb-Gyration_Gyration_RF_Technology_Receiver-event-kbd" none key/362 "XKey/M"

# Up
# "Gyration Gyration RF Technology Receiver" "/dev/input/by-id/usb-Gyration_Gyration_RF_Technology_Receiver-event-kbd" none key/103 "fill this in!"

# Left
# "Gyration Gyration RF Technology Receiver" "/dev/input/by-id/usb-Gyration_Gyration_RF_Technology_Receiver-event-kbd" none key/105 "fill this in!"

# Right
# "Gyration Gyration RF Technology Receiver" "/dev/input/by-id/usb-Gyration_Gyration_RF_Technology_Receiver-event-kbd" none key/106 "fill this in!"

# Down
# "Gyration Gyration RF Technology Receiver" "/dev/input/by-id/usb-Gyration_Gyration_RF_Technology_Receiver-event-kbd" none key/108 "fill this in!"

# Back
# "Gyration Gyration RF Technology Receiver" "/dev/input/by-id/usb-Gyration_Gyration_RF_Technology_Receiver-event-kbd" none key/158 "fill this in!"

# Info
"Gyration Gyration RF Technology Receiver" "/dev/input/by-id/usb-Gyration_Gyration_RF_Technology_Receiver-event-kbd" none key/130 "XKey/I"

# OK/Enter
# "Gyration Gyration RF Technology Receiver" "/dev/input/by-id/usb-Gyration_Gyration_RF_Technology_Receiver-event-kbd" none key/28 "fill this in!"

# Volume Up
"Gyration Gyration RF Technology Receiver" "/dev/input/by-id/usb-Gyration_Gyration_RF_Technology_Receiver-event-kbd" none key/115 "XKey/F11"

# Volume Down
"Gyration Gyration RF Technology Receiver" "/dev/input/by-id/usb-Gyration_Gyration_RF_Technology_Receiver-event-kbd" none key/114 "XKey/F10"

# Channel Up
"Gyration Gyration RF Technology Receiver" "/dev/input/by-id/usb-Gyration_Gyration_RF_Technology_Receiver-event-kbd" none key/402 "XKey/Up"

# Channel Down
"Gyration Gyration RF Technology Receiver" "/dev/input/by-id/usb-Gyration_Gyration_RF_Technology_Receiver-event-kbd" none key/403 "XKey/Down"

# Mute
"Gyration Gyration RF Technology Receiver" "/dev/input/by-id/usb-Gyration_Gyration_RF_Technology_Receiver-event-kbd" none key/113 "XKey/F9"

# 1
# "Gyration Gyration RF Technology Receiver" "/dev/input/by-id/usb-Gyration_Gyration_RF_Technology_Receiver-event-kbd" none key/2 "fill this in!"
#
# 2
# "Gyration Gyration RF Technology Receiver" "/dev/input/by-id/usb-Gyration_Gyration_RF_Technology_Receiver-event-kbd" none key/3 "fill this in!"
#
# 3
# "Gyration Gyration RF Technology Receiver" "/dev/input/by-id/usb-Gyration_Gyration_RF_Technology_Receiver-event-kbd" none key/4 "fill this in!"
#
# 4
# "Gyration Gyration RF Technology Receiver" "/dev/input/by-id/usb-Gyration_Gyration_RF_Technology_Receiver-event-kbd" none key/5 "fill this in!"
#
# 5
# "Gyration Gyration RF Technology Receiver" "/dev/input/by-id/usb-Gyration_Gyration_RF_Technology_Receiver-event-kbd" none key/6 "fill this in!"
#
# 6
# "Gyration Gyration RF Technology Receiver" "/dev/input/by-id/usb-Gyration_Gyration_RF_Technology_Receiver-event-kbd" none key/7 "fill this in!"
#
# 7
# "Gyration Gyration RF Technology Receiver" "/dev/input/by-id/usb-Gyration_Gyration_RF_Technology_Receiver-event-kbd" none key/8 "fill this in!"
#
# 8
# "Gyration Gyration RF Technology Receiver" "/dev/input/by-id/usb-Gyration_Gyration_RF_Technology_Receiver-event-kbd" none key/9 "fill this in!"
#
# 9
# "Gyration Gyration RF Technology Receiver" "/dev/input/by-id/usb-Gyration_Gyration_RF_Technology_Receiver-event-kbd" none key/10 "fill this in!"
#
# 0
# "Gyration Gyration RF Technology Receiver" "/dev/input/by-id/usb-Gyration_Gyration_RF_Technology_Receiver-event-kbd" none key/11 "fill this in!"
#
# *
# "Gyration Gyration RF Technology Receiver" "/dev/input/by-id/usb-Gyration_Gyration_RF_Technology_Receiver-event-kbd" none key/42 "fill this in!"
# "Gyration Gyration RF Technology Receiver" "/dev/input/by-id/usb-Gyration_Gyration_RF_Technology_Receiver-event-kbd" none key/9 "fill this in!"
#
# #
# "Gyration Gyration RF Technology Receiver" "/dev/input/by-id/usb-Gyration_Gyration_RF_Technology_Receiver-event-kbd" none key/42 "fill this in!"
# "Gyration Gyration RF Technology Receiver" "/dev/input/by-id/usb-Gyration_Gyration_RF_Technology_Receiver-event-kbd" none key/4 "fill this in!"

# Clear
# "Gyration Gyration RF Technology Receiver" "/dev/input/by-id/usb-Gyration_Gyration_RF_Technology_Receiver-event-kbd" none key/1 "fill this in!"
#
# Left Click
# "Gyration Gyration RF Technology Receiver" "/dev/input/by-id/usb-Gyration_Gyration_RF_Technology_Receiver-event-mouse" none key/272 "fill this in!"
#
# Right Click
# "Gyration Gyration RF Technology Receiver" "/dev/input/by-id/usb-Gyration_Gyration_RF_Technology_Receiver-event-mouse" none key/273 "fill this in!"

# Live TV
"Gyration Gyration RF Technology Receiver" "/dev/input/by-id/usb-Gyration_Gyration_RF_Technology_Receiver-event-mouse" none key/377 "XKey/C"

# Windows
"Gyration Gyration RF Technology Receiver" "/dev/input/by-id/usb-Gyration_Gyration_RF_Technology_Receiver-event-mouse" none key/102 "XKey/Alt_L+Control_L+BackSpace"

# Pictures
# "Gyration Gyration RF Technology Receiver" "/dev/input/by-id/usb-Gyration_Gyration_RF_Technology_Receiver-event-mouse" none key/226 "fill this in!"
#
# Music
# "Gyration Gyration RF Technology Receiver" "/dev/input/by-id/usb-Gyration_Gyration_RF_Technology_Receiver-event-mouse" none key/391 "fill this in!"
#
# Video
# "Gyration Gyration RF Technology Receiver" "/dev/input/by-id/usb-Gyration_Gyration_RF_Technology_Receiver-event-mouse" none key/393 "fill this in!"

# DVD Menu
"Gyration Gyration RF Technology Receiver" "/dev/input/by-id/usb-Gyration_Gyration_RF_Technology_Receiver-event-mouse" none key/410 "XKey/O"

Create start file.

cd /usr/local/bin
sudo touch evrouter_start.sh
sudo nano evrouter_start.sh
sudo chmod 4777 evrouter_start.sh

Paste the below into the file.


xhost +local:root
killall evrouter
rm /tmp/.evrouter* #removes a previous lock file
/usr/bin/evrouter /dev/input/by-id/usb-Gyration_Gyration_RF_Technology_Receiver-event-mouse /dev/input/by-id/usb-Gyration_Gyr
ation_RF_Technology_Receiver-event-kbd &

Create autostart file.

cd ~
cd .config/autostart
touch evrouter.desktop
nano evrouter.desktop
chmod 4777 evrouter.desktop

Paste the below text.

[Desktop Entry]
Name=Evrouter
Comment=
GenericName=Evrouter Process
Exec=/usr/local/bin/evrouter_start.sh
Type=Application
Encoding=UTF-8
Icon=
Categories=GNOME;Application;AudioVideo;Audio;Video
X-AppInstall-Package=Evrouter

Get event ID:

Run

ls -l /dev/input/by-id/

Above command should return information like below.

demonbob@sys-mythtv:/etc/udev/rules.d$ ls -l /dev/input/by-id/
total 0
lrwxrwxrwx 1 root root 9 2010-08-25 23:44 usb-Gyration_Gyration_RF_Technology_Receiver-event-kbd -> ../event3
lrwxrwxrwx 1 root root 9 2010-08-25 23:44 usb-Gyration_Gyration_RF_Technology_Receiver-event-mouse -> ../event4
lrwxrwxrwx 1 root root 9 2010-08-25 23:44 usb-Gyration_Gyration_RF_Technology_Receiver-mouse -> ../mouse1

Write down the event# associate with usb-Gyration_Gyration_RF_Technology_Receiver-event-kbd and usb-Gyration_Gyration_RF_Technology_Receiver-event-mouse. In my case this is 3 and 4.

Create udev rules file.

cd /etc/udev/rules.d
sudo touch 10-local.rules
sudo nano 10-local.rules

Paste the below into terminal. Replace the event[#,#] with your corresponding numbers. Change the owner to the your user account

KERNEL=="event[3,4]", OWNER="YOUR_USERNAME"

Reboot

===Extras===

Jump Points:

Custom Scripts:

[COLOR="Red"]MythFrontend Close and Stop when green MCE button is pressed.[/COLOR]

I wrote a script to make the Green MCE button to start and stop mythfrontend

1. Download the attachement labeled mce.start.sh

2. copy the file to /usr/local/bin/

3. Change the premissions of the file to executable.

sudo chmod 4755 /usr/local/bin/mce.start.sh

4. Edit your .evrouterrc for key event 102 and make it look like so. (Notice the change at the end)

"Gyration Gyration RF Technology Receiver" "/dev/input/by-id/usb-Gyration_Gyration_RF_Technology_Receiver-event-mouse" none key/102 "Shell/mce.start.sh &"

[COLOR="red"]Mythfrontend swith to boxee[/COLOR]

This is a simple replacement for the above script for if you have multiple media clients installed you can switch between them. In the code below i use boxee, but it can be modified for any combinations of applications.

if [ "$(pidof mythfrontend.real)" ] && [ "$(pidof Boxee)" ]
then
killall mythfrontend.real
killall Boxee

elif [ "$(pidof mythfrontend.real)" ]
then
killall mythfrontend.real
exec /opt/boxee/run-boxee-desktop

elif [ "$(pidof Boxee)" ]
then

killall Boxee
else

exec mythfrontend

fi

Posted in General, mythbuntu, mythtv | Tagged , , , , , , , , , , | Leave a comment

Manager of Information Technology

Hiya!

Well, it seems i have happened to neglect my blog yet again! Shame on me. Well I have my reasons, over the last few months, I have become Manager of IT at my company. I have been hard at work, tracking down issues from previous management. This company has went through about 8 managers in 5 years, so you can imagine how mis-matched the network is. Every IT person has his/her preference, on how the network should be setup. And with this network you can tell it’s nothing but patchwork after patchwork.

For instance, seems that no one realized that recipients policies were not running. Further more the reason they were not running was because of every server was trying to look for a domain controller that has not been apart of this network for 2 years according to the only other person here that remembers that server…. We even have servers running that he doesn’t know the purpose of!

So I have decided to rip the whole network apart and do a complete overhaul to Server 2008 across the board, and get our exchange environment up to exchange 2010. This is going to be a 60 server consolidation and upgrade, and I figure rough estimate of about 6 months to get it done. When I first started here in the IT department, a little over a year ago, I already have put the resources in place for such an upgrade. I got a VMWare ESX cluster up and running, and have decommission about 20 physical box’s. I have switched all generic web servers over to Linux. But the biggest challenge is yet to come.

To help with migrating our 600GB combined Exchange 2003 Environment, i took the liberty of acquiring a Barracuda Networks Message Archiver, and will be enforcing quota’s as of next week. The Archiver has been hard at work the last month and a half, pulling in all old email from the stores, along with PST’s we have lying around on the IT storage server. It just recently got done, this will allow me to start enforcing 2GB email quotes on users, and 4GB on Managers and Executives. Which will drop the exchange database to about 250GB’s. Much better for a move between environments, not to mention exmerge’s pesky 2GB limit… I do know that you can ‘migrate’ directly to exchange 2010, but I fear that during the previous managers reign, that the exchange stores still have a corruption in them from a dirty shutdown with circular logging on them.

Thats all for now folks, I need to get back to work!

Posted in General | Leave a comment

How Logmein Ignition for the iPhone saved my Exchange 2003 Server

Time: 7:00AM

This morning I got up early to go over to my dads house to put my engine back together in one of my cars, as I was waiting for a friend to arrive who was going to give me a hand. I noticed I did not receive my normal morning e-mails, I.E. System Attendant, WSUS Server reports. On top of that my iPhone was giving me a server error when even trying to check my e-mail.

First thing I attempted was web access of course, which also gave me an error. I did not have my work laptop with me as i normally do not have any issues on a Sunday. I recently purchased logmein for the iPhone, although I have used it once or twice for simple desktop fixes for my company, I have not had a chance to use it for as something as mission critical as fixing the exchange server. I loged into a desktop at work with logmein, the preceded to use Remote Desktop to access the exchange server. Sure enough, the backup failed and the log drive filled up.

After a few choice cuss words. I was able to get all the stores mounted except two, which took longer becuase I had to do a consistancy check to repair the database to get it to mount, luckly the two stores that had problems were the archive store, and a store which houses generic service accounts of no importance for our web application. After 30 minutes of scaning and fixing the databases with exchange commands, I was able to get those two stores to mount.

All this I was able to do from my iPhone, with LogMeIn Ignition, from my dads steps leeching off his wifi. One of the best investiments I’ve made in a while. This Saved me an hour of driving to go home and get on my laptop. Best thing is, no users are the wiser about what transpired.

Posted in Exchange 2003, Featured, Iphone | 2 Comments

Did you know the truth about wireless security?

Well, I’ve officially beaten the Cisco classes for becoming a CCNA. For those who don’t know, that’s basically all of the classes that you must endure to be able to take the class to get your cisco networking certification. It’s one of the most sought certifications in the networking field and is no “chump” ticket when it comes to knowledge and those bragging rights. But what did I learn? Security is a must, a need, a requirement.

I always thought my router was secure until I started poking around into Wireless Security through cisco’s website. While the classes focus mostly on wired networks, they have a contiguous section completely about wireless security and protocols. Quite frankly, I’ve got to admit that wireless security nowadays is nothing less then a joke.

I started experimenting with my wireless router. It’s quite the router, being a DD-WRT based WRT54G-TM router. I broke my own WEP security with a T&E program I found for Windows through google. Nothing else but a program that watched traffic and used a T&E method to bust my code. It took no more then two hours for it to have complete access to my router and all my shared files! Ok…

WPA and this new method using “rainbow” keys somehow managed to work with an application I found through google as well. However it took well over three hours for it to break my random lettered code I used for a password. Unbelievable. UN BE LEAVE A BULL.

I couldn’t believe that what is so “pronounced” was so easily broken with simple downloads through google and a linksys USB adapter. So, I was determined to STOP the access at all cost.

Well now, I’m sitting with a router that has NO security protocols and even broadcasts it’s SSID to the world. “Idareyou” is the SSID if you must know. Using an access list and MAC addressing, my Playstation 3, Laptop and my PSP all have exclusive access to the network. However, there’s no way for another wireless adapter to connect. After even trying to “fake” MAC address through a program I found and it didn’t work at all. Now, knowing the IP and faking the mac address does work, but won’t allow for file sharing. However, the internet access is usable for a period of time. But how many people are going to guess my network addressing scheme? Not many. :)

So basically I found out, setting up an access list and having a good MAC Address list can really be a better security then even WPA2! Take that to heart the next time you’re setting up your wireless network. I proudly say, “My network ID is Idareyou.”

Posted in General, Tools/Utilities, Wireless | Tagged , , , , , | Leave a comment

Is it your jail?

So we learn overtime how to manipulate the system, break the rules, do what we want. The system, it’s just that which controls us and holds us in. We can’t escape the system, can we? Of course! There’s always an alternative, another option, or a way out of the problem. For us, it’s linux. Ubuntu for some, SuSe for others, and even FreeBSD for those hardcore guys who know linux in and out. Windows is our jail, our system, our punishment.

There’s only one way to really escape the problems of Windows and that is to just let go and escape. Of course a full switch is hard for most of us as it’s just not logical in the least at any time since all of “our” software runs from Windows. What can we do to keep those pictures, documents, or applications? Well the others who have rid themselves of the one big virus called Windows have been working on that for a long time. Wine has become something of a prodigy amungst linux users that rely on certain windows applications to work. However, for those applications that don’t, there’s always a “Virtual Box” for windows. I currently have an install on my laptop of Virtual Box OSE 2.2.4 which has an installation of Windows XP Home on a virtual hard disk. If there’s something I “have” to do in windows on my laptop, it’s there. I can manage to work with the problem and go from there. Plus backing up Windows is easy this way! I just copy the file and put it on my storage drive!

So, even if you’re still “worried” about a full change to linux, just remember that there are alternatives to help you free yourself from that Microsoft dependency. No matter how far we go with Linux, Microsoft will always own the share of the market that linux can’t touch. The professional business user will make use of a Windows machine before thinking realistically about Linux. But you can make the change and many who do end up never going back to overpriced pieces of malware.

SX

Posted in Applications, FreeBSD, General, Linux/Unix, Ubuntu, Windows, Windows 2003, Windows Vista, Windows XP | Tagged , , , , , , , , , , , | Leave a comment

SX vs. Vista (Witherstorm’s Blight Part Tri?)

So… I know, I know.. “SX, you haven’t posted in a while!! What the heck man?” Well, Vista at it again. Know why I love Ubuntu? It WORKS. I change my hardware, it works. I change a setting in the BIOS, it works. Vista is the opposite.
I did some BIOS work and found out that the IDE controller wasn’t installed right and windows was basically “borked” from the install.

So after fighting again with Vista, I got it installed correctly and working. So now I have a working Vista that is now backup up on my new Western Digital Caviar Black 1TB drive. :D

It’s working after another 15 hours of fighting, kicking, screaming, and yes, moaning and crying. Everythings setup and there’s an IMAGE of the drive on the 1TB now. I can’t WAIT for Win7….

[/end rant]

Posted in General, Ubuntu, Windows, Windows Vista | Tagged , , , , , , , | Leave a comment

Intel Graphics. So shameful for Jaunty Jackalope…

I have a laptop, not much, but portable! Let me list it’s basics, then I’ll explain what I did to really get this thing rolling! It runs so much better now!

The System: A Toshiba Satellite L45-S4587
Processor: Intel Pentium Dual Core Mobile T2080 1.73Ghz
RAM: 2GB 533Mhz CL2 Ram (Upgraded from 1GB)
Video: Intel Onboard 945GM (8Mb Shared Memory)
HDD: WD 160Gb 7200RPM (Upgraded from stock 80Gb)
Screen: TFT 15.4″ at 1280×800 Resolution

One of the nice things about this laptop is the ability to output to VGA to other screens. While the stock intel drivers for windows worked very well and managed the screens only when an external display was attached, the Ubuntu driver simply sucks. Upon watching a movie through my laptop to my 37″ LCD TV through the RGB input, my screen shrunk to 1024×768. I couldn’t get out of that resolution and I then had found out that my “xorg.conf” file was edited and pretty much borked.

So, I went on a mission to fix it for good. I took the search to Google. I found that Ubuntu Jaunty has some really bad issues with the intel driver and the current kernel in the 9.04. So, I was at a loss. I was “thinking” about going down to the 8.04 LTS package and go from there. But alas, Google had been a life saver again!

My searching brought me to a post at the Ubuntu Forums, as usual. “How To: Jaunty Intel Graphics” for short. I’m not going to quote the process on the post, if you want that information I’ll add the link at the end of my post. But the post had more detailed information relating to the problems I’ve already read so much about. I was finally considering the process. Mind you, I’ve never undertook much more then the first parts of this guide in anything with Ubuntu. I was worried about switching my kernel in every which way. I wasn’t really sure of my capability to do such a change but I was willing to do anything. Especially after watching a movie that had random skips in it.

Turns out, the biggest problem is the memory addressing going out of a specified range and basically causing the ram that’s being used by the card to become extremely fragmented. This means, the drivers couldn’t keep a location set for the shared video ram and this is where the stuttering and the like had been coming from. So the very first part was to get into the seat of the newest driver and install this “miracle script” so it can better manage the video ram. “Alright, let’s try it!” I reconfigured my xorg.conf with a safe setup and used the recommended settings in the post and updated my drivers. I also installed the script and had it start on boot for Gnome and KDE since I run both. I rebooted with “some” worry, but everything went smoothly! Here’s the first results.

I averaged about 140FPS in glxgears at the standard setting. This was horrible, compared to my 8800GTS in my desktop getting over 15,000! This was before the added script and drivers along with the xorg.conf edits.

After the edits, my framerates in the standard glxgears output had easily doubled to 320fps averages! I was amazed and all of my compiz Fusion effects were so much smoother!

“This is AWESOME! I can’t believe how fast this thing is going!!!” I just had to go on and continue to the point of installing the 2.6.30 kernel from the guide! I couldn’t wait. My connection took forever to get the entire kernel packages and this just brought up the anxious feelings to even more exceedingly high levels. Once it was done, I went ahead with the dpkg and it was done. I had the install ready. All I had to do from here was reboot. I was worried! I didn’t know what to expect. All I can say is that I was clearly saying goodbye to Jaunty in a whole. I didn’t think it’d boot at all! So I hit the reboot option and watched it boot up. Everything was exactly the same aside from my kernel name in my conky! “Everything is working correctly.. No problems.. Hmmm.”

It was time for the test! I started glxgears and was ready for my test! The first report showed only 200fps and I was immediately thinking that I broke it. Then the second one blew my mind. 560 frames a second, WOW! 580, then 602! I was stunned! After about 20 to average with I had come up with about 593fps for an average. I couldn’t believe my eyes! Compiz runs perfectly smooth with all of the effects turned up and even KDE runs perfect with all of it’s wonderful but system dragging eye candy! It was simply unbelievable!

So, I went from a tearing and miserable compiz with skipping movies to ultra smooth and high quality movie experiences within an hour. After everything, I must say that this has been one of the best upgrades I’ve ever done manually to anything. There’s no chance I’ll be reverting any time soon!

I can’t take any of the credit myself as I’m still deep into the learning process and haven’t done anything this “advanced” to my own linux system until now. I will say however, everything on the guide was easy to follow and even a newbie could probably manage to get as far as I did without any problem!

As I stated before, I am posting the url to the post on Ubuntu Forums for you here.

http://ubuntuforums.org/showthread.php?t=1130582

This post is not affiliated with System Overload.net in any way and we take no responsibility for any problems or errors you encounter if you decide to follow this guide. Use their guide at your own risk, I just figured that it may be able to help someone as much as it did for me. So remember, that post is not affiliated with this website in any way or form. The information there is theirs and following their guides are your own risk, not ours.

I hope this post inspires someone to achieve a good fix themselves as it did for me. I went from a sloppy and choppy system to a really nice smooth experience. I’m used to having to buy a new $200 video card to get this much of a boost in performance!

Posted in Applications, General, Linux/Unix, Tools/Utilities, Ubuntu | Tagged , , , , , , , , , , , , , , , | Leave a comment

This is how we learn: How to backup linux in full!

Disclaimer: Try this at your own risk. We are not responsible if your install gets messed up, this is just one of the many methods available to back up your linux install. Please make sure you read and understand the man pages related to the tools mentioned in this article before attempting.

My latest exploration of the linux world was backups. In light of recent events I decided to find out how good of backup utilies there are within the Ubuntu world. I have used Ghost in the past for all my backup needs, but what else is there available for the guy like me who just wants to back up his linux install? Well, there’s plenty of options out there and I’m not going to go into detail but after testing, none of them worked in the manner I wanted. I wanted to be able to go from a /dev/sda5 to /dev/sda1 install that worked.

Every program I tested left an inoperable system or one that was absolutely instable at best. One booted up completely with most of my custom theme set but half of the applications like conky, AWN, and screenlets had problems during startup. Not to mention one of the applications that gave me a bootable install didn’t bring over the 180 nVidia driver and I was stuck in 800×600 mode.

The good news is that I got one to work properly and without any major side effects. I will explain after I show the process of what I did to get this to work. I was browsing the Ubuntu forums when I found a post all about “tar”. “tar” is similar to WinZIP for windows or winRAR. It’s simply an archiving tool that can compress and store many files into one spot. To be able to complete this with a file of a decent size I would have to remove plenty of things from my hard disk to reduce the size. This included removing my Virtual Box hard drives, Music folder, Videos folder, and all of my stored ISO’s on the drive in question.

The biggest thing I’ve learned about the process, unlike windows, linux has the capability for a super user to read and/or write to any file on the system, even when it’s in use by another application. This is capable from the command line and in theory you could literally delete the entire hard disk while the system is in operation.

“tar” became my new favorite tool in the process of working with my adventure. I would accomplish this before I reinstalled just to prove that it is possible by an “average” Ubuntu user like myself. An excellent tool for new users to get into using is called “man”. This tool used in conjunction with certain commands used in the terminal can be extremely helpful for the learning process. For example, “man sudo” will show you the manual for the sudo command. Using “man tar” I learned what I would need and how I would need to use it. I finally came up with a plan of attack in how this could be possible. A long with this process I learned which directories I could omit and which were absolutely necessary to have for linux to run properly. Once I had all this information saved and listed in a text editor I started my terminal to build my backup. Starting with an amount of data equalling 11.6GB, I was expecting a big file from the following process. Total time was about 15 minutes.

I first entered Sudo mode by typing in: “sudo su”. This put me into “super user” mode and gave me unrestricted access to the files on the hard drive. I followed this by changing my directory to the root directory with “cd /”. Using the GUI I unmounted all mounted drives that weren’t to be in my backup. You could omit the /media folder but I figured I’d add it either way. Here’s what I came up with.

tar cvpzf linux.tgz –exclude=/proc –exclude=/lost+found –exclude=/mnt –exclude=/sys –exclude=/linux.tgz /

This copies all of the drive excluding the “exclude” options in the list. If you’re going to do this type of backup, make sure to omit the file you’re using or it will loop with errors at the end of the compression process. Using the super user ability it was able to read every file on the disk aside from what I omitted. Windows cannot do this with it’s system files, so this wouldn’t work for windows either way.

So I watched it compress all of the files for about 15 minutes in the background while working on some other stuff I was previously working on. All of the sudden, it was completed. I did recieve an error message about pausing for previous errors but the file passed all the tests I gave it. From 11.6GB down to 4.3GB which is just right for a DVD-R disc.

So, I had my file and was ready to decompress it onto my other drive. Cool thing is that I can extract it to the /dev/sda1 partition from the same terminal window! Simple as a “cd /media/disk” got me there. The simplest thing is uncompressing it. I uncompressed the file on my first partition and it took just about as long as the compression side did.

I used the following very simple command to decompress the file to the disk.

tar xvpfz linux.tgz -C /media/disk

I had to run that from my root directory on my installed linux disk as that is where my file was. After this, I had to install grub on the drive using “grub” and “fdisk -l” to setup the /boot/grub/menu.lst file for the new installs location. Now it was time to try and boot the system from that drive and see if it works. I booted a LiveCD and moved the original install into it’s own folder on the /dev/sda5 partition so it wouldn’t be able to boot from the lack of files. I was ready to test out my new “from backup” copy of Ubuntu. After having to fight with grub for a while, I got it to boot the 28.13 kernel and it started to a login screen.

Come to find out, everything worked perfectly without a flaw at all. A complete backup of my linux install that was completely moved from one partition to another! Perfect. There wasn’t many side effects to the entire process aside from bootup speed. I had to edit some small things, like my .conkyrc file to change up for the new partition, however everything important worked instantly and perfectly as it did before the move. I think it did a very good job in backing up my copy of linux without near the side effects of some of the other test mediums. The worst part about the change was a gain of about 2 seconds of initil loading (while the ubuntu logo and the scrolling line are on the screen).

Overall, I believe this could effectively be a good method of “backup” for my system. Like I said before though, you need to know what you’re doing before attempting this. I had an install that I could care less if it didn’t work for. If I wasn’t going to reinstall anyways, I would have never attempted this type of backup. But the fact that it worked and installed on a totally different partition with a “little” grub work, I was more then happy. All I had to setup with grub was my original windows partition and for those of you who don’t run dual boot, you probably wouldn’t have to tinker with it at all.

A couple of side notes here though:

If you make your tgz file and repartition the hard drive, you will still need a linux based operating system to get to the partition and extract the files to it. Personally, I didn’t need to even leave my install as I was installing to a second partition that was unused in the first place.

Another method of getting to the files is storing the tgz file on another drive and running through a Live CD and mounting both the drive containing the tgz file and the drive you plan on restoring too. Then it is simply a matter of sorting out the mounting locations such as the following…

/dev/sda1 and /dev/sdb1 or whatever they are listed as. You can simply find this out in ubuntu by right clicking the mounted drive icon on the desktop and looking at the properties tab.

Another side note here is the fact that this can potentially cause the loss of data and or ability to even start your operating system. If this is done incorrectly, you could end up destroying your install. This is where I will recommend again to read all you can about the commands used in the process. This could be a beneficial thing to know in the future for you as you learn more and more about linux. I’ve learned one thing about linux so far, and that is that you just never stop learning new things with it.

So, take these words as advice into something new, stray away from the crowd and learn something new. Take your vigilance to the next level and be brave to go the other way. I learned a ton about tar and it’s effects. I also learned quite a bit about grub and partitioning with linux. This is how you discover new things and new abilities. Nine times out of ten, if there’s one way to do something, someone has figured out three more ways to do the same thing!

SX

Posted in Applications, General, Linux/Unix, Tools/Utilities, Ubuntu | Tagged , , , , , , , , , | Leave a comment

SX vs. Vista (Witherstorm’s Blight Part Duex)

So, I’ve been fighting ALL day, and this is literally from before noon until three in the morning, with Windows Vista… Let’s pull the menu down and see how the battle progressed.

First, if you didn’t know.. Pre-SP1 install DVD’s for Vista x64 do not contain the KB929777 update which fixes a blue screen of death problem that’s supposedly associated with computers with more than three gigabytes of ram installed. My system has four gigabytes and I’m required to take out all of my DIMMs aside from one that I need to boot with. I’ve tried with using two gigabytes and three gigabytes installed and it crashes every time. Since I have a MASSIVE Coolermaster GeminII heatsink, I have to pull the pair of 120mm fans off just to get to the modules.. Might as well make it into a full teardown and remove this years five pounds worth of dust! I dropped a good two degrees celcius during idle because of the removal!

Alright, let’s install! Sweet, I watch the grass grow while it copies and extracts the necessary files. Finally the message I’ve been waiting for! “Windows will restart your system in 09 seconds” Sounds like a plan champ! It goes through the boot process and I wait… I wait… Still waiting… I think to myself, “Hmm, black screen… No HDD activity? I wonder what’s going on here.. I’ll give it a few.” So I proceed to start the one hundred and eleven megabyte download of the nVidia drivers for my video card and still a blue screen. My laptop is even looking at me with a stare that just screams, “See? Linux doesn’t pull that crap with you!”.

Well, I had to restart the entire process.. Wait for the copy and expanding and bleh bleh bleh bleh.. Finally after thefourth attempt and dropping the ram to 533mhz, it worked. Slow as moses, but it worked. It wasn’t the ram though, that didn’t work on it’s third try.

Well, I’m FINALLY at a desktop, no Aero, no sound.. This almost is starting to sound like my hardware vs. Linux. Just ask my Sound Blaster X-Fi about that sometime. Well, those are fixable however. I got the sound blaster pushing sound with the integrated HD audio device so I could hear my MP3 files while working.

So I get my video drivers installed, and aero has never looked so good. I got everything I “need” installed for schooling however. So, it’s running… Now what? Well I went from having Vista and Ubuntu on a single “physical” drive with different partitions to having them on two different “physical” devices totally. Time for some GRUB action….

Well, this was all but horrible. I couldn’t get grub to register with the windows partition at ALL on the new drive… I tried everything.. It kept giving me problems with locating the device. Finally, someone led me on to remembering “sudo fdisk -l” which listed the physical devices and thier partitions. Alright… /dev/sdc/ is what I’m looking at.. Should be right at (hd2) …

Well after visiting the ubuntu forums and cross referencing posts and my own findings, it FINALLY booted windows through grub… And Now I can use my Raptor for my all of my Virtual Box needs.

Let’s just agree on one thing, the GeminII is a GIANT heatsink, and it’s bolted to my CASE on the other side of the mobo so it won’t break my motherboard. It works EXTREMELY well and the pair of Silverstone fans blow enough air to cool the giant “Circupipe” northbridge heatisnk as well as the ram. So installing those three module was, well to be honest, a two hour process with TIGHT finger movement between the GeminII and 8800GTS. Miserable… LOL

On a side note, I did finally install the screens for the two side air intakes! I didn’t break anything and it all works now. Now it’s time to do some hard drive searching! I’m going to be installing a one terrabyte hard drive for space concerns. I’ll be able to have a full backup of my “fresh” Windows install and won’t have to deal with this again!

To round it up, I shortened the story greatly. All together I have put in over fifteen hours worth of work into into this process. I’ll have to download a total of about 1.4GB of files just to get it up to date.. Both service packs (stand alones this time), video drivers, sound drivers, drivers for the motherboard, and this all doesn’t count into the misc upgrades to windows like dreamscene and the like. All in all, it’s nice to have a fresh install going. This time however, I’m setting it up so I don’t have to go through this process again.

SX

Posted in General, Linux/Unix, Ubuntu, Windows, Windows Vista | Tagged , , , , , , | 2 Comments

Site Update: New Poster + New look, Content, and Purpose coming soon!

For the other 1 person besides me that actually views this site. We have a new editor/author, a good friend of mine. You may have noticed his stories “Firestorm”, we both are hoping to revamp up the content really soon, as you have seen.

I have also started developing a new look for the site, since we have been using the same theme for 2+ years now. This theme is going to be made entirely by me, and also encompass not only wordpress but the forum i plan on opening up as soon as i can get away from my current host.

Expect more robust content, about anything and everything computer related, from software to hardware in the near future. I will also be pushing out some software reviews, and write ups about software I use daily as a System Administrator which makes my life easier.

Posted in General | Tagged | 1 Comment