June 2, 2008

Howto enable wireless on ACER 4520 on Ubuntu Hardy

Filed under: Acer, Ubuntu — Tags: , , , — egoleo @ 7:13 am

Just today i had all my configurations for my wifi card which is
Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01) wiped of after a Hardy upgrade. So below i fixed it. But i used it also for the first time when installing Hardy fresh.

1. Open you terminal

2. Get this version of madwifi:

wget -c http://snapshots.madwifi.org/special/madwifi-hal-

3. Untar the downloaded package:

tar xvf madwifi-ng-r2756+ar5007.tar.gz

4. Get inside the unpacked directory:

cd madwifi-ng-r2756+ar5007

5. If you haven’t compiled anything from source before on your linux then you propably need the build essential package:

sudo apt-get update && sudo aptitude install build-essential

6. Now you can build your madwifi and install the modules:

sudo make install
sudo modprobe ath_pci
sudo modprobe wlan_scan_sta

The last 2 commands can cause some complications on some systems. If they do check your System >> Administration >> Restricted Drivers Manager and disable atheros here. Then try again.

7. Now restart your computer and you should be able to see any aviable networks in your Network Manager.

May 27, 2008

Installing Ubuntu7.10 on Acer4520

Filed under: Acer, Ubuntu — egoleo @ 7:35 am

System Specs
Acer Aspire 4520
AMD64 Athlon X2
Nvidia GeForce 7000M
160 Gig
802.11b/g WLAN
1Gig DDR2

I have been trying for the past weeks since i had this laptop with
the above specs to run ubuntu7.10 but all failed. So i finally got myself
into runing 7.04 rather. But have finally gotten a way to run 7.10 on it and
this is how i did it.

I realised that anytime i installed the 7.10 and i reboot, it hangs at the splashcreen and so for some reason i felt it might be the menu.lst file so edited couple of times but nothing happened. so WHat i finally did was to get the 7.04 ubuntu cds and install and upgrade that to 7.10. And that worked. But when i upgraded the kernel to the original one used by 7.10, i got the same splashscreen hanging again. So i kept the upgrade on but now uses the 7.04 kernel rather instead of the 7.10 kernel which still works fine for me.

But after that, it wasnt all dont since it could not detect some of my hardware devices like the wireless and vga card.

1. to fix the X.

I used the ubuntu livecd and mounted the installed my root(/) partition to get aaccess to xorg.conf file. commands below.

> mkdir /media/system
> mount /dev/sda1 /media/system

The above could be different for you. i mean the mount points

> cd /media/system
> vim etc/X11/xorg.conf

Once you are in this file, look for this lines

Section “Device”
Identifier “nVidia Corporation NVIDIA Default Card”
Driver “nvidia”
BusID “PCI:0:18:0”

change the “Driver nvidia” part to “Driver vesa” instead and save and
reboot without the livecd.

2. how to fix sound too
simple first download the packages from the below site and copy them into one folder



you need one of the c libraries and curses libraries for this i guess you are done with adding extra repositories if not message me i will explain

open the terminal and fire the following
sudo synaptic

and next search for g++ library

after that search for curses library for c

after this automatically done by the synaptic

go the folder where you have downloaded the packages and extract each and everything like below

> tar xjf alsa-(name of the package)

after extarcting just type this

> cd alsa-(extracted package)


> ./configure


> make


> sudo make install

do the above for all packages u just downloaded from the above link.
and afterward just reboot ur machine. u should hear sound now 🙂

3. howto fix wireless

Before we start, we have to make sure that MadWifi drivers don’t get loaded at boot, since we could have a conflict between the two. You can do this typing this:

blacklist ath_pci

in /etc/modprobe.d/blacklist file or by using the restricted driver manager:

> vim /etc/modprobe.d/blacklist

Install ndiswrapper
> sudo apt-get install ndiswrapper
> sudo apt-get install ndisgtk

you can also install ndisgtk or use synaptic instead of the console

after, download the Atheros driver
form this link http://www.atheros.cz/download.php?atheros=AR5006EG&system=1
anyway that is the link i used in getting mine to work.

afterwards you need to unzip the file just downloaded from the link

Install the .inf file in ndiswrapper, using ndisgtk or the command
> sudo ndiswrapper -i net5416.inf
from the unzipped file

Save ndiswrapper module configuration files by issuing the command:
> sudo ndiswrapper -ma && sudo ndiswrapper -mi

You can now reboot and bravo. u can check to see u should be done now.

Web users ‘getting more selfish’

Filed under: internet — egoleo @ 7:06 am

Web users are getting more ruthless and selfish when they go online, reveals research. This was made known by usability guru Jakob Nielsen in an annual report into web habits.
I think now people have fair idea as to what really they want or looking for on the web. Is not like sometimes back where people dont really know what exactly they want and so spend so much time on the web.
And in so doing, web users have become very impatient.

May 19, 2008

How to install perl modules through CPAN on ubuntu hardy server

Filed under: Perl, Ubuntu — Tags: , — egoleo @ 1:53 pm

This assumes that you have grabbed a copy of the ubuntu hardy server
cd from the ubuntu.com website.

1. Install all dependent packages for CPAN
sudo  apt-get install build-essential

2. invoke the cpan command as a normal user


But once you hit on enter for “cpan” to execute, you
be asked of some few questions. To make it simple for
yourself, answer “no” for the first question so that
the latter ones will be done for you automatically.

3. Once the above is done, you will be present with the cpan
prompt. now enter the commands below

make install

install Bundle::CPAN

4. Now all is set and you can install any perl module you want. examples of what installed below

cpan prompt>  install  IO::File
cpan prompt>  install  Net::SMTP_auth
cpan prompt>  Email::MIME::Attachment::Stripper
cpan prompt>  Mail::POP3Client

February 22, 2007

Review of Fedora Core 6 Installation

Filed under: Fedora — Tags: — egoleo @ 7:50 am

After wondering in the world of ubuntu(debian), i decided to get into the world of fedora core specifically core 6. I was really happy with the looks. More over with the use YUM which makes it easier in updating and installing packages.My Desktop Screenshot

*** It seems Fedora made a error with the installation disc and mixed up i586 and i686 arches. To see if your installation got the error type this in the terminal as root user :***

rpm -q --qf='%{name}-%{version}-%{release}.%{arch}n' kernel
if the output says i586 then it indeed got the error and to fix this type this in the terminal :

su -c "yum install yum-utils"
yumdownloader kernel-2.6.18-1.2798.fc6.i686
su -c "rpm -Uvh --replacefiles --replacepkgs kernel-2.6.18-1.2798.fc6.i686.rpm"
yum update
And from this point, u can install all other stuffs

February 6, 2007

Your request didn’t contain the proper sessionid cookie — access denied

Filed under: Uncategorized — egoleo @ 3:41 pm

This problem occured in the web browser when i was trying to access our open web mail. One thing is that openwebmail puts users uploaded attachments in cgi-bin/openwebmail/etc/sessions. Users will normally get this error if there is no space left on the partition where cgi-bin/openwebmail/etc/sessions lives or user has exceeded his disk quota.


To solve this, please move cgi-bin/openwebmail/etc/sessions to a larger partition. Then create a symbolic link to that new directly.

Steps as above

cd /new_place

That is change directory to the new big disk space.

mkdir sessions

Create a directory called “sessions” in this new big disk space

mkdir sessions

Create a directory directory called “sessions” this new big disk space.

chmod 770 sessions

Change the mode of the directory “sessions” which was just created.

chown 0 sessions

Change ownership of the “sessions” directory created.

chgrp mail sessions

Add sessions directory created to the mail group.

cd yourweb_cgi-bin/openwebmail/etc

Change directory or move into were your openwebmail/etc is.

cp -rf sessions

Make backup of sessions directory in the “etc” to somewhere safe.

rm -rf  sessions

Delete the sessions in the yourweb_cgi-bin/openwebmail/etc

ln -s /new_place/sessions  .

Still in the “yourweb_cgi-bin/openwebmail/etc” directory, create a symbolic link.

January 11, 2007

My first day at work

Filed under: Uncategorized — egoleo @ 11:49 am

Before i say something, happy new year to you all.

Reported to work for the first time this year on 9th January. Actually there was not so much for me to do on the first day. But was shown the plan for the semister as i am working in the university. It was quite some job and i think is going to be very challenging. But hope to make it.

October 26, 2006

how to install chm on linux

Filed under: Ubuntu — egoleo @ 10:51 pm

I had some tutorials from a friend. But all the files were having a .chm extension. so i couldn’t view them with my linux system. i decided to google and i realised that it was a micrsoft format. But i also found out that i can have a similar program to view thm on linux. The package name is XCHM.

how to install chm == xchm on ubuntu anddebian.

sudo apt-get install xchm.

Laptop, Again and Again!!

Filed under: Uncategorized — egoleo @ 9:26 pm

I just moved into a new hostel on campus and so decided to get some of my hostel mates grazy about linux. So i just felt like setting a small server with my laptop. Just decided to get all the necessary packages so that my hostel mates will use my system as a web, mail servers at least so that they would feel the real power of linux. And also wanted to host quit a lot of tutorials for my hostel mates.

Just in the process of grabbing the packages, my dell latitude c610 screen decided to fade out. and now i cant see a single word on the screen when i switch it on. Now the laptop is just not doing anything again. This is the second time this is happening to me. my laptop again and again.

October 17, 2006

xampp and openwebmail configuration

Filed under: Uncategorized — egoleo @ 3:02 pm

Hmm, one might wonder why i am posting this at this time. After i have managed to get xampp and openwebmail to work, the networking administrator for University of Cape Coast encouraged me to write this small stuff so that my collegues would also have access it easily. This is actually my first tutorial and i hope it would help alot of people out there. Anyway i choose xampp bcos i wanted a simple functional and easy to setup system with apache, mysql, php and other stuff runing without doing so much. and also openwebmail as a mail client bcos that was what my schoo required.

1. download xampp from http://www.apachefriends.org/en/xampp-linux.html and install with this command tar xvfz xampp-linux-1.5.4a.tar.gz -C /opt.

2. do cd /opt/lamp to see all the files with the lamp program.

3. all configuration files for the lamp are kept at /opt/lamp/etc including httpd.conf which is the apache webserver configuration. the web files or your website itself is under cd /opt/lamp/htdocs.

3. within the /opt/lamp/etc/httpd.conf with the help of an editor, change the servername and documentroot to meet your needs.

4. test your new apache server by opening a browser. i use mozilla. http://localhost or http://ipaddress or http://domainname


1. download openwebmail which is a mail client from http://www.openwebmail.org/openwebmail/download/ follow the link on the openwebmail site to configure it.

2 it must be kept in the /opt/lamp/cgi-bin.

3. create an alias within the /opt/lamp/etc/httpd.conf for the openwebmail


« Newer PostsOlder Posts »

Blog at WordPress.com.