Showing posts with label repair. Show all posts
Showing posts with label repair. Show all posts

Sunday, November 22, 2009

Wireless Suspend and Resume on Aspire 4530

The issue has been fixed with the latest Linux Kernel 2.6.31-16 updates, I will still leave the post open in case someone needs sleep, resume custom scripts.

As noted after suspend resume the wireless doesn't work due to a bug that broke suspend and resume in ath9k drivers.
However I found a workaround.
Create a script with the following inside
!# /bin/sh
sudo modprobe -r ath9k
sudo modprobe ath9k

Call it ath9kreset for easy recalling of its purpose.

Then put the script into /etc/pm/sleep.d folder.

Make it executable by running

sudo chmod +x /etc/pm/sleep.d/ath9kreset

After that wireless should work after each suspend.

Friday, July 24, 2009

How to protect your computer from malware infested thumbdrive

I have seen virus infected thumbdrives especially on computers that is poorly administrated (i.e. Users given administrative privilege) and especially when the users have no clue of the dangers of internet and downloads suspicious files with executable extensions.
Combine this with not-so-frequently updated anti-virus software it is a foregone conclusion malware infection will occur.

This will lead to frequent system crashes and poor Windows Experience and end of the day people usually point fingers at Microsoft etc and not themselves as the cause of malware infection.

As the system gets laden with more and more viruses system crashes and lag occur as the malware attempts to make unauthorised connection to the internet depending on what it was originally designed for.
Most virus do not attempt to disable the computer for obvious reasons.
They want to stay undetected so they can steal data from the infected host or simply use the host as part of a bot network, however things get ugly when more different viruses comes into play.

A virus will compete with other programs including other Virus for system resources if the computer do not have sufficient resource to feed them lag occurs if other viruses attempt to interfere with system files hijacked by other viruses a clash will resulting in system crash and Blue Screen Of Death.

Malware spread via a number of medium Internet as well as Removable Drives.
As the topic is fairly big I shall only focus on how to prevent Virus on thumbdrive from entering your host system.

First of all when I insert a thumbdrive a good anti-virus will attempt to scan it, if the Virus signature match it database it wil immediately isolate the file to prevent it from running as shown below.

The good news is even if you don't have anti-virus you can prevent them from running and see if the thumbdrive is infected .

Lets take a look at the infected thumbdrive.
Go to Folder Options and make the following changes to enable you to see all the files present on a thumbdrive.
Select "Show Hidden Files and Folders"
Uncheck "Hide Extension For Known File Types"
Uncheck "Hide Protected System Files and Folders"
If you have a Linux/BSD/Solaris System Partition you can boot in it and attempt to take a look into your Windows Partition, all the System Files in the C:\ will show up (including both important Windows System Files and Malware).


Malware usually obscure themselves as system files so you will not be able to spot them if you do not set the setting shown above.
Take note REAL system files will also reveal themselves so DO NOT delete files if you are not sure they are Windows System Files or not.
Deleting Windows System Files can cause System to be UNBOOTABLE.

Soon you can see other virus showing up.( Note:SPENSER.EXE is no longer on the drive as the Anti-Virus removed it)


A strangely named file can be seen above probably another virus which attempted to copy itself to the thumbdrive but SPENSER.EXE beat it to hijacking of the autorun.inf so it doesn't do anything.

As I have said Viruses hijack system files for them to perform misdeeds on thumbdrive they usually hijack autorun.inf.
Note: autorun.inf is originally a system file to enable users to autolaunch installation programs upon insertion of removable drive.

Lets take a look at the infected thumbdrive's autorun.inf (Right Click Open with Notepad).

If you remembered earlier the system anti-virus detected SPENSER.EXE
Look at how SPENSER.EXE hijacked the autorun.inf in order to auto launch itself upon insertion of the thumbdrive.

So how can you prevent this?
It is simple. Simply disable autorun in Xp or autoplay in Vista.
If autoplay/autorun is disabled the system will ignore the autorun.inf hence preventing the virus from runnning effectively and if you remember Virus hide themselves as System Files so you will never launch it accidentally.
However this is only for generic virus.
Some Virus are powerpoint or word macros programmed so disable Macro in Office Software will do the trick.

Tuesday, February 17, 2009

How To Activate Acer Hidden Partition

Note: If you have Empowering Backup installed please burn the Disk Images before continuing as it is always good to have fall backs

The story goes:
You heard that Vista is slow and lousy so you have decided to "downgrade" to Windows Xp
So you happily install Xp and delete the original system partition and install a new Xp partition
However you smartly left the recovery partition intact.

A few week later you suddenly felt like trying out Vista
However to your horror you couldn't
You tried the famous Alt-F10 to activate Acer Disk to Disk Recovery (D2D) but it doesn't work although the recovery partition is fully intact
You wonder why?

The reason is the original boot record has been overwritten by the Windows Xp you installed over the special original Acer/Vista one so there is no way the boot record will activate recovery.

So I will show you how to activate the Recovery Partition in a few simple steps:

Before you proceed make sure you backup all your important data first

Step 1:
Download PTEDIT32 from here
PTEDIT is a special disk utility to re-mark partition to another type so it becomes bootable
(It should work on all 32bit Windows OS I did not try it on a 64bit Windows)

Step 2:
Extract it to a folder and Right Click run it with Administrator Permission otherwise it will not run (Xp users ignore the right click)



Step 3:
Look at the first entry that is your hidden partition PROVIDED YOU DID NOT ACCIDENTALLY DELETE IT if you did, I recommend you look here instead.
To double confirm check the size make sure it is small like the screenshot



Step 4:
Change the partition type to 07 from 27 (If the partition type is of another value, change to the same type as your system disk C:\)
Then make the changes.Reboot to take effect.



Step 5:
Open Control Panel>> Administrative Tools>> Computer Management>> Disk Management

Step 6:
Mark the partition as Active
Then Reboot disk recovery will start automatically


Please remember to burn a copy of the factory default image and driver disk as a backup after that using Empowering Backup, if you haven't already done so.

Alternatively you can do this

Using a command line

  1. Open Command Prompt. (Right Click "Run As Administrator" For Vista)
  2. Type:
  • diskpart
  1. At the DISKPART prompt, type:
  • list disk
  1. At the DISKPART prompt, type:
  • select disk n (In this case it is disk 0)
  1. At the DISKPART prompt, type:
  • list partition Make note of the number of the partition that you want to mark as active.
  1. At the DISKPART prompt, type:
  • select partition n (In this case it is partition 1)
  1. At the DISKPART prompt, type:
  • active
  1. Reboot your computer
-From Technet Microsoft

New:

If you can't even boot into Windows, simply use another working computer download gpart iso image.
Burn to CD as an disk image you need special burning tools like Nero or Roxio.
Then boot from CD you burn by entering BIOS (F2 or Delete usually) select CD-DRIVE as the first boot device save and exit.
If you want to recover your data, plug in an external harddisk and start saving your information.
Then you should see something like this if you try to manage partition in gpart.

Assuming the first partition is your recovery partition, simply right click on it, select manage flags on the recovery partition.

Select it as "boot" then restart.


Word of Warning
Upon restart the recovery process will start immediately if you did not backup your data all is lost.

Sunday, February 1, 2009

How to dismantle Acer Aspire 4530 (And Fix The WebCam Problem)

If your WebCam sometimes works and sometimes doesn't
Chances it is due to the lose wiring of the WebCam USB Cable
When you open/close the lid the Cable loses connection

To fix it you have to dismantle the front panel (There is no tearing of warranty sticker in the process)

Edit: Now I am trying a new solution 
It is actually very simple 
Use the Bison AP Driver instead of SuYin 
It works better as shown here.

The full guide to dismantling Aspire 4530 is available here

The front panel is boxed in blue



This is how to dismantle front panel

  1. Unscrew the screws circled in red
  2. Gently using a flat head screw driver gently lever the clips boxed in green
Additional tips
If the rubber pads boxed in blue drops out

Do not panic and send back to the service centre
They are attached to the laptop using double sided adhesive tape
Simply clean the surface and replace the pads using new double sided adhesive tapes

  • You should see a gap between the front panel and the body of the laptop

  1. Using the flat head screw driver detach the front panel gently
  2. You should see the front panel exposed

  1. Again Gently detach the keyboard by pushing it upwards and then outwards towards you
  2. Do not pull the keyboard there is a flat cable still attached to it

  1. If you need to replace the keyboard this is it
  2. Continuing you should see 2 wires (left and right) running from the LCD through the hinge

  1. Gently pull (just a bit will do) and loosen the wires to ensure the wires are not strained at the hinge part so when you close the lid the wires will not be strained
  2. Remember to tighten the connectors while you are at it
  3. Replace everything and reboot
The Picture below therefore should be the antenna of the Atheros Wireless Card

___________________________________________________________________
Additional Pictures of Internal Ports