Archive for the ‘Linux Howto’ Category

Howto Upgrade KDE 3.5 to KDE4 for sidux

mei 5, 2009

After testing the upgrade from KDE3.5 to KDE4 on many systems the sidux developers think the time is here for a howto upgrade KDE3.5 to KDE4.  KDE is a desktop enviroment.
This cannot be understood as a generic howto that works in the same way on every system, there might still be some packages missing on your system.  So, for anyone who does not feel comfortable with finding out missing stuff by themselves or looking for help on IRC  it could be a good idea to wait for sidux-2009-02 and do a fresh install. Most systems should work with this howto, but expect some glitches.
Howto for converting to KDE4

First things to do is make a backup of your DATA or refresh an existing backup!

The following commands can be done in init 5 under X as root in konsole:

  • apt-get update
  • apt-get dist-upgrade -d                (-d = stands for download only the packages, no install)
  • rm -rf /etc/default/kdm.d/*

When done, change to init 3:  [ALT]-[CTRL]-[F1]

  • login as  root user
  • type init 3
  • apt-get remove kdebase kpowersave powersaved
  • apt-get install kdebase-workspace-data
  • apt-get install kdebase-bin kdebase kdebase-workspace systemsettings kdm kdeutils
  • apt-get dist-upgrade

(serveral packages will be removed)

  • Reboot to init 3   (add a 3 to grub bootline)
  • become root user
  • apt-get dist-upgrade
  • init 5

Now kaboom should start, kaboom is the tool for migrating your KDE user settings and data files from KDE 3 to KDE 4. for more details read here )  Please choose the appropriate options, default would be option 1, option 5 (backup of userdata) should be checked already.

Please watch out for the size of the backup that kaboom prompts you. It could be as big as 2-5 GB. Its a good idea to find out the size of .kde und .kde4 before.

After kaboom is done KDE4 is started.

If the system feels sluggish please disable effects in Systemsettings – Desktop for testing.
After the upgrade please also make sure that kaboom transfer alls user configs from .kde4 to .kde. That does not work reliably in any case and might need manual copying. If kdepim is missing and you need it please install it now.
Should you want a non-english KDE please install kde-l10n-${COUNTRYCODE} (like -ru)

I have tested this procedure and it works on my system as mentioned in this howto. For the dutch users I made a dutch howto on the sidux site (translation) and on my own site



Howto Change your Network Interface MAC address in Linux

mei 5, 2009

To change your Network cards MAC address in Linux (and most other unix system) is very easy to do.

All it takes is two commands in a shell or terminal:

ifconfig eth0 down hw ether FF:EE:DD:CC:00:01

ifconfig eth0 up

These two commands would set your eth0 interface to use the MAC FF:EE:DD:CC:00:01.Just plug in the Network card which you want to give the MAC address you want to use into the commands above and your done.

Is my processor supporting the virtualisation technology?

mei 3, 2009

Do you wanna know if your processor is supporting the virtualisation technology Intel-VTor AMD-V ?

To find this out under Linux you have to enter in the following commandline in a terminal sessie:  egrep ‘(vmx|svm)’ –color=always /proc/cpuinfo

This command looks in the file cpuinfo for the flags vmx and/or  svm

The flag vmx = Intel-VT technology and the flag svm = AMD-V technology

When the command is executed, and one of the virtualisation technology is supported by your processor, you would see the following output:

flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow rep_good pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy 3dnowprefetch
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall
nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow rep_good pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy 3dnowprefetch

If there is not output from this command, then your processor isn’t supporting any kind of virtualisation technology./p