Mar/110
Windows: Add, change, upgrade or remove your RAID controller without having to lose any data or start with a fresh OS install
Scenario:
- You have single or multiple drives using your motherboard IDE, SATA or internal software RAID and want to add a RAID controller to your system.
- Your drives are connected to a RAID controller. You are either trying to use a different card or give it up for an onboard controller.
but you rather keep your current OS installation, applications and files. You require no new OS installtion. All you have to do is to connect the RAID controller to your motherboard and power up the system, install the drivers and introduce it to your OS and restart. Once the card is visible to the OS simply image your current operating system, create your RAID arrays and restore the image to the active partition of your array. You can now boot from the new controller without having to do anything else.
I tested this once with Ubuntu and it didn’t work. Not sure about different distributions, though.
Jan/110
Apache: NameVirtualHost *:80 has no VirtualHosts error message
If you’re getting the following error when trying to restart Apache server:
NameVirtualHost *:80 has no VirtualHosts
Edit your ports.conf:
nano /etc/apache2/ports.conf
and comment out NameVirtualHost towards the top of your config file.
This should work considering all other settings are correct.
Dec/090
Misc: BlackBerry activation error: service connection unavailable
- Remove the battery and reinsert it.
- Go to Options, Advanced Options, Host Routing Table.
- Click Menu, then Register Now.
Go back to your messages and wait a few seconds to see if you get a confirmation email. If so, try to reactivate, otherwise call your carrier and have them re-provision your phone.
Oct/090
Linux: Remove installed RPM packages manually
Sometimes you screw up an application and are unable to use rpm -e to remove them from your system. Here is how you go about doing that:
To find installed RPM packages:
rpm -qa | grep <string>
To remove:
rpm -e --nodeps --allmatches <package name>
Aug/0915
Misc: Asus Eee PC 1005HA network adapters and Ubuntu Jaunty netbook remix
There are several ways of doing this. You can download the Atheros driver source and compile, but this is by far the simplest since you only have to download the deb package and install to get your wireless network to work and do the rest while connected. Here is how:
Download your kernel’s Linux backports modules from here – mine was 2.6.28-11 generic. If you don’t know what your kernel version is use “uname -r” in console. Note that installing the wrong build can break your package manager and cause more frustration, so be careful. Copy the file to a flash drive and install it on the Eee. Reboot and your wireless NIC should work.
sudo dpkg -i linux-backports-modules-2.6.28-11-generic_2.6.28-11.12_i386.deb
Once your wireless connection is up and running, connect to the Internet, fire up Synaptic Package Manager and search for “eee”. You will see a package called “atl2-source” which is your Linux base driver for Atheros Ethernet Controller. Install, reboot and your wired network controller should also work. You can also run the following command in console instead of using Synaptic:
sudo aptitude atl2-source
There are a few more packages for Eee-PC in Synaptic… Make sure to install the ACPI driver.