Author Archive

Samsung Galaxy Nexus unboxing

This is a quick unboxing of the Samsung Galaxy Nexus, I have recently received the Galaxy Nexus on December 17th 2011 from Verizon, these are photos of the box before I even turned on the device, I hope you enjoy.

 

The Samsung Galaxy Nexus has finally landed itself over to Verizon’s network means alot of new for this superphone such as:

  • 4.65″ 1280×720 Super AMOLED Contour Display
  • 1.2 GHZ dual core Texas Instruments OMAP 4460 CPU
  • 32GB of storage
  • 1GB of RAM
  • Android 4.0 (Ice Cream Sandwich)
  • 5MP rear camera with zero shutter lag
  • 1.3MP front facing camera
  • Verizon’s LTE Network

If you want to know more about the Galaxy Nexus, Google’s own website is a good source of information for all of your Nexus needs.

HP Touchpad Cyanogenmod 7

Cyanogenmod 7 is now ported over to the HP Touchpad!  Cyanogenmod is an aftermarket firmware for phones and tablets and offers features that cannot be found by vendors.  On August 20, 2011 HP had a fire sale on there new tablets 16gb Touchpad’s where going for $99 and 32gb Touchpad’s for $149 this caused alot of people to go to retail stores and demand for Touchpad’s!  I happen to work for a big box retail place and happen to be working the day it happened but like most geeks and nerds I knew about the price change a day before.  I went into my store to ask if the store was selling them at $99, the manager told me, “No, and was waiting for communication from corporate.”  After about an hour later we got the OK and I finally got my hands on as 32gb Touchpad.  I knew that one day Android would be ported over to the Touchpad and recently just happened!

 

After installing Cyanogenmod to the Touchpad which happened to be a pretty painless, all that you need is novacom and some files and the installer actually resized the current 32gb partition to two 16gb’s so I can dual boot Webos and Cyanogenmod!  I have to say for an Alpha release I am VERY surprised by how much work has been done to the project and what they are capable of doing.  Wireless works and connected to my Access Point granted the Wireless doesn’t stay on when the tablet is in sleep mode but hey this is Alpha!

 

HP DV4 Diagnostic Lights

A friend of mine asked me to look at his laptop because it wasn’t turning on, he has an HP DV4-1275mx; I would take the build date to be somewhere between late 2008 to mid 2009 since it had a Vista sticker on the laptop.  So he turned it on to show me what was going on, after seeing the problem I knew I would be looking into the HP DV4 diagnostic lights pattern to figure out what the problem is but before I go into detail about that a computers POST(Power On Self Test) needs to be addressed.

Dealing with computers you learn how to understand hardware related problems; if you start a computer up it runs a POST(Power On Self Test), if there are any problems you hear a bunch of beeps, or you will see lights flashing in a pattern.  The output of the POST is different on computers, lets break it down with Mac’s and PC’s, we’ll start with a Mac since generally it’s easier as Apple is the Hardware and Software manufacture of its own products.

When a Mac starts its POST, you will hear a chime noise(you won’t hear the sound if your muted the computer on shutdown), as soon as you hear that you know the POST has detected all the hardware that it needs to boot up passed, if it didn’t what generally happens is you see a somewhat helpful image of something, like when a Mac has a bad hard drive you will see a picture of a folder with a question mark on it telling the technician that Mac OS X couldn’t find the files to start up the Operating System.

When a PC starts up and it begins its POST it will start to test if all the hardware it needs to boot up is good, if it isn’t well it begins to beep at you with different beep patterns, from there if you bought a machine from HP, you can go to there website and look at the beep patterns to figure out what is wrong with the machine.  With laptops depending on the manufacture there will be a series of lights that will blink, this is what I like to call the diagnostic light pattern.

Now what I have here is the HP DV4-1275 laptop and according to HP’s diagnostic lights website, if I power on the laptop and wait a bit the caps lock and num lock will blink a certain pattern, from there I can begin to troubleshoot why this isn’t starting at all.  So I wait for the lights to start blinking and I got 1 blinking light thus according to HP’s website it is telling me I have a non functional CPU! All right cool I can deal with that no problem!

I remove the hard drive, memory, wireless card, and dvd-rom drive to get the laptop down to the motherboard and I order a CPU from eBay that was tested to be 100% working, seller has 100% positive rating and mind you they were a power seller.  $30.00 bucks later and a few days pass I finally got the CPU and the first thing I did was check the pin grid array for anything that was bent, missing, or out of place and everything was fine, put everything back together for a basic start up(Protip: If you work on hardware you know that you never completely put everything back together til you know everything is working.) and turned on the power button, same error code!  Now I’m left to question if it really is the motherboard or if its again the CPU.

 

Malware is hard to get

I have for the life of me tried to infect my system with some malware, I have intsalled Windows XP SP2 with IE6 in a Virtual Machine.  I even went so far as going to random sites and start clicking of stuff opening it up files downloaded from sites, and even thou I did manage to get at least 1 small spyware, it was something that clearly let me go in task manager and stop the process.

 

I’m looking to get hit by Antivirus System 2011, from what I saw on another computer I was working on, it seem to respawn with different names after each time I would kill the process and delete it from the registry and restart the computer would only render it back to being respawned.

 

Malware is hard to get when you’re hoping to just randomly get it.

Unboxing Motorola Xoom Wifi

Today marks the day when Motorola released the Motorola Xoom Wifi edition to the public, and so far the tablet has been pretty smooth.  Here I have some pictures of the unboxing of the whole Xoom, there’s also pictures when I did the screen protector but I thought some would enjoy the fact of what the unboxing looks like for Motorola’s new tablet.  Now I’m off to root this bad boy!

Clonezilla and dd_rescue

They say they’re two types of people; those who back up and those who don’t, but today I finally got to test my limits and see how far I could have gotten. I had my bag of goodies with me just in case something like this would ever happen I just didn’t know it would happen to me!

 

I learned about Clonezilla when I wanted to clone something in Linux but wanted something that would copy NTFS as well, just in case anything happened I could easily image someone’s drive and reimage it back up in minimal time and it so happened to be I used Clonezilla to image Windows XP for someone and it worked out very nicely.

 

Head over to Clonezilla’s website and download the ISO or ZIP and use whatever method you want to boot from this is fine.  I tried my hand at the USB installer and it seemed to work out pretty nicely, downloaded the current live cd from the internet and formatted the USB stick, everything looked good til I booted from the USB stick, it gave me an simple boot error message and I did not have to time to break it down but I will get into later.

 

After making a bootable CD I fired it up and continued to the next step after hitting the defaults I got up to it asking me what my source hard drive was and my destination hard drive where.  After select the correct drives it started to do its thing and needless to say I was pretty impressed, well after about 6 minutes I started seeing logical block failures from Clonezilla, it looked like my drive could not read from a certain block and I knew after 5 minutes of it repeating itself that it wasn’t going to go anywhere, so I looked into Clonezilla again to see if there an option so I tried under the Expert settings and using the -rescue option and the samething happened and I knew I was in trouble, anyone that installs Gentoo by hand can tell you that they would rather not reinstall it again.

 

After looking online I knew I would have to use dd and copy everything block by block and after it was installed I would have to run fsck on it but I found out Clonezilla has dd_rescue installed on it, which is like dd but does not stop on errors and does not truncate the output file.  The command used was:

dd_rescue /dev/sda1 /dev/sdb1

After dd_rescue ran for about 4 hours it did come back with 32 errors which totally to about 16kb, not bad for some bad sectors on the disc!  This has saved me from all the data that was on the drive, reinstalling Gentoo back on the system and also has prompted me to go ask John to do a How To on backing up.

WordPress 2mb upload limit

After playing with WordPress media and uploading a bunch of images to the website, I found myself asking why WordPress has a 2mb upload limit? Well it turns out that it is not WordPress fault for the upload limit, the problem actually lies in your php.ini and depending on what kind of host you have, you can ask them to increase the limit higher for you or if you have your own dedicated server you can manually change it.

In order to find the correct configuration file, we need to make a php file inside your website.

<?php phpinfo(); ?> 

phpinfo(); example

After we find the correct configuration file we need to open it with your favorite text editor, I like to use nano, it was what I started with and I know the in’s and out’s.  We are looking for the File Uploads section inside php.ini.

 ;;;;;;;;;;;;;;;; ; File Uploads ; ;;;;;;;;;;;;;;;; ; Whether to allow HTTP file uploads. file_uploads = On ; Temporary directory for HTTP uploaded files (will use system default if not ; specified). ;upload_tmp_dir = ; Maximum allowed size for uploaded files. upload_max_filesize = 2M 

The last line here is what we need to change, you can change it whatever variable you want, I just increased the size by 300% allowing me to now upload zip files past the 2mb limit.

After messing around with WordPress on a VM, I was able to get to get everything up and running with nice working Permalinks.  But for whatever which reason I could not for the life of me figure out why I kept on getting 403′s on the entire site!  Here is a run down on what I did:

First I made sure everything was working correctly the way I wanted it to be and this meant I had to enable mod_rewrite module in Apache for Permalinks.

ls /etc/apache2/modules-available

ls will return a list of available modules located in the directory, the one we are lookng for is called rewrite.load

Now we need to tell Apache that we want to make mod_rewrite available and ready to use and to that we will need to issue this command:

 

sudo a2enmod rewrite

a2enmod

Now Apache needs to be restarted by: sudo /etc/init.d/apache2 restart

Once Apache is restarted the rewrite module will be enabled but we still need to tell Apache a few other things before we can get pretty Permalinks, and in order to do this we need to open /etc/apache2/sites-enabled/000-default with your favorite text editor and of course permissions to be able to save the file.

The code we are looking for is pretty standard but if you are using VirtualHost then you need to pay attention to which directory your website is running on.

The code is:

<Directory /var/www/> Options Indexes FollowSymLinks MultiViews AllowOverride all Order allow,deny allow from all </Directory>

 

We need to change that to this:

<Directory /var/www/> Options Indexes FollowSymLinks MultiViews AllowOverride none Order allow,deny allow from all </Directory>

All that was really done to this was we changed AllowOverride all to AllowOverride none.  Once you have finished saving the file you need to restart apache again by issuing sudo /etc/init.d/apache2 restart.

We are almost done, what needs to be done next is that we need to log into WordPress and tell it that we want to use Permalinks!  This can be done in Settings>Permalinks.

I picked the Day and the Name for easier reading, but of course you can pick how it can be displayed and if you need help you should look at the WordPress Codex which has a ton of information!

Now after we are done updating the settings for Permalinks if you have write access to the directory WordPress will create and generate a .htaccess file for you, but if you don’t then WordPress tells you that you need to manually edit the .htaccess file.

Now here is what I learned, since we have SSH access to our VPS I used rsync+ssh to sync the files from my VM to the Server, not knowing what the permissions where set on the .htaccess file, after about an hour of comparing permissions, looking at Apache config files. and checking out the log file for Apache I figured that when you went to our homepage that the user didn’t have read permissions to the .htacces file that it would spit out a 403 errors.

And we are up!

We are finally up and slowly moving along!