Wednesday, December 22, 2010

How to Update Fedora Core 13 to Fedora Core 14

The process is simple. We have to apply some commands on terminal mode. After that update will be done using internet.

It means we need internet on terminal. But when GUI closes; internet that is configured with NetworkManager is lost. Hence we have to try other way out.

First, install system-config-network and then stop Network Manager Daemon

# yum install system-config-network
# service NetworkManager stop
Now open system-config-network using system-config-network command on the terminal or run. Enter root password if it asks for.

Untick the option "Controlled by Network Manager". Click apply. Now switch to terminal mode by pressing Alt + Ctrl + F2. Log in as root.

# init 3

Doing the update
After it is done press enter and enter following commands.

# rpm --import
# yum update yum
# yum --releasever=14 distro-sync --skip-broken

Accelerate Linux with the ISP ISPROS and other ISPs which support GNU Mirror
After update reboot your system using reboot command. After restart select Fedora 14 from Boot Menu. Once System is booted into Fedora 14 update the system using yum.

If your ISP has its own GNU Linux Mirror then update will be very fast. With around 300 KBPS it will take around half an with an decent configuration PC.

Bangladeshi Linux users can have this benefit with ISPROS isp. They have ubuntu mirror, fedora mirror, cent-os mirror and gnu mirror and some other useful mirrors(apache, php etc).

One thing more if your Fedora yum does not choose ISPROS as mirror you can force it by changing fedora.repo Set your mirror list to this url:$releasever/Everything/$basearch/os/ by editing the file /etc/yum.repos.d/fedora.repo.

Enjoy Linux with ISPROS.

Wednesday, December 1, 2010

Windows Seven Tips & Tricks: Enable Classic Taskbar

I always liked the classic taskbar. It's why I got to get it back with Windows Seven. Here's I'm telling you how to do it.

First, reduce the taskbar size following previous post.

Now right the click taskbar. Click properties. There is an option called "Taskbar buttons" on the middle of the dialog box.
Select the option "Combile when taskbar is full". "Click ok. You'll get your classic taskbar back. Screenshots attached below:

Image 01: Default Taskbar of Windows Seven [Click Image to Enlarge]

Image 02: Classic Taskbar of Windows Seven [Click Image to Enlarge]

How to Change MAC Address on Linux using NetworkManager

In previous post I showed how to change MAC address on Linux using ifconfig command and system-config-network tool. Today I will show you how to change MAC address using Network Manager. The method is comparatively easier.

  • Follow the steps given below to change MAC address.

  • Right click on the Network Manager applet and click "Edit Connections"

  • Select eth0 and click edit button
  • On Cloned MAC Address type the MAC address that you want to change to as shown in image below:

[Click Image to Enlarge]

  • Click apply.

You are done. It was damn easy. Right!? ping to check back your internet connection.

$ $ ping
PING ( 56(84) bytes of data.
64 bytes from ( icmp_seq=1 ttl=53 time=220 ms
64 bytes from ( icmp_seq=2 ttl=53 time=220 ms
64 bytes from ( icmp_seq=3 ttl=53 time=219 ms
64 bytes from ( icmp_seq=4 ttl=53 time=220 ms
64 bytes from ( icmp_seq=5 ttl=53 time=220 ms
--- ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4298ms
rtt min/avg/max/mdev = 219.408/220.194/220.799/0.709 ms

If you don't find "Cloned MAC address" in Network Manager update your Network Manager and then try again.
$ $ yum update NetworkManager

Lex, Yacc Installation and Compilation Shell Script

If you don't have lex and yacc install them using the following command.
Fedora Core

# yum -y install flex bison


$ sudo aptitude install flex bison
This script will be very useful for compiling lex and yacc files. Here is the script:

 1 echo SA-OS Script []
 2 echo Generating lex
 3 lex $1
 4 echo compling using yet another compiler compiler
 5 yacc -d $2
 6 echo Creating objects for c files
 7 gcc -c lex.yy.c
 8 echo Creating executable
 9 gcc -o p.out lex.yy.o -ll
10 echo Running executable
11 ./p.out

After saving this in file named

You have to apply the following command to make it executable script.

$ chmod a+x

Now you can run the script like this:

$ ./ lexfilename.l yaccfilename.y