Archive for June, 2007

Egroupware – Open groupware suite.

Thursday, June 21st, 2007

Har installeret den nyeste version af Egroupware. Det er en ret cool applikation med mail, kalender, adressebøg, opgave- og projektstyring.
Også et par bugs – Kunne ikke få mailen til at tilslutte til min Cyrus Imap – de ligger ellers på samme server og Cyrus’en kører med “plain text” password. Uanset hvad man sætter den til krypterer den alligevel, så jeg har foretaget nogle ændringer i IMAP.php som ligger i egroupware/egw-pear/Net. Jeg har ganske enkelt udkommenteret hele krypteringsdelen – der ligger en pakket kopi her: http://rude.net/IMAP.php.gz.
Stavekontrol i mailprogrammet kan aktiveres ved at følge denne anvisning.
Installationskilde til SuSE 10.2 her.

Go’ fornøjelse

SuSE 10.2 Make it Yours – part 1

Wednesday, June 13th, 2007

Nedenstående er en kopi af siden:
http://www.mycompuwiz.com/tikkitech/linux/pg_issue.php?id=13
som ikke mere er tilgængelig online, da mycompuwiz.com er blevet taget ned.Siden vil på en senere tidspunkt komme op igen, denne gang under navnet tikkitech.com – når dette sker vil denne side blive fjernet.

Tikki Lounge

SuSE 10.2 Make it Yours – part 1  

 

How-To Get Suse 10.2 Up to Speed (32 bit)
———————————
OpenSuse 10.2 is one of the most polished linux distributions there is. The download takes a while of course, but when I got it the first thing I said was wow, it all went so smoothly. For me, the next thing I thought was, what do I do now to make it mine? For those who feel the same way, here’s what I decided to do with my KDE installation.

First, I needed to get my network card working before I go anywhere else. It seemed like my broadcom driver was recognized, but wouldn’t connect, which is not unusual in my experiences. So I went with old faithful and went with ndiswrapper, as I have less problems with this.

*******************************************************

GET NDISWRAPPER
Getting ndiswrapper and making it work was pretty straight forward and the instructions have not changed much over the past couple versions of SuSE. The first step is to install the ndiswrapper package. I just fired up Yast, by selecting it from:

Menu -> Applications -> System -> YaST

Once in YaST, I opened up the Software Management Tool by selecting it from:

Yast -> Software -> Software Management

I grap the package ndiswrapper and ndiswrapper-kmp-default to use for the installation, as this coincides with the kernel I’m using. You can get this information by entering “uname -r” in a command line and if it says default, then it is. After installing these from the CD’s, it’s off to make it work.

First thing that you will need is the windows drivers for your card. These can be found on-line, and for me, one of the best places to search is the ndiswrapper product page. There are links to sources of these drivers there. Or for me, I just use the ones that are installed on my windows partition. Once you have a copy of your driver, both the *.sys and *.inf file saved to your Desktop, the steps to follow are all from a terminal.

kdesu kate /etc/modprobe.d/blacklist
ENTER root password and ADD “blacklist bcm43xx” to the bottom of this file, save and close.

su
Enter root password here

rmmod bcm43xx
cd /home/ep/Desktop
ndiswrapper -i *.inf
depmod -a
ndiswrapper -l
MAKE SURE THAT HERE IT STATES THAT YOUR CARD IS DETECTED
ndiswrapper -m
This adds it to start everytime
modprobe ndiswrapper

And you’re done…well almost. This sets up ndiswrapper, but doesn’t tell SuSE to use it yet. To do so, we need to access YaST again here:

YaST -> Network Devices -> Network Card

I always disable my ethernet, although you could just set it not to start. I know how to enable it if I need to though. I choose to have the network “User controlled through Network Manager” and feel it is the best option here. So I add a new device. For Device Type, I choose “Wireless” here and in Module Name, I type in “ndiswrapper”. I then click Next twice and exit and my network card is ready to be enabled on the next reboot! When you reboot the system, just click on the Network Manager icon and choose your network and you should be off and running.

Next, I needed my nvidia card to work before XGL could work it’s magic.

******************************************************

HOW TO INSTALL NVIDIA DRIVER:
PREFERED METHOD:
It is recommended to use YaST for installation of the NVIDIA driver. There are several reasons for this. First, it’s simple. Second, and this is the most important one, you won’t need to recompile the nvidia kernel module after a kernel update. First you must add the sources to YaST. Use:

YaST -> Software -> Change installation Source -> Add

Protocol: HTTP
Server Name: : download.nvidia.com
Directory on Server: /opensuse/10.2

to add the NVIDIA ftp server as additional installation source. Now use:

YaST -> Software -> Install and Delete Software

to install the NVIDIA driver. Select the following packages:

x11-video-nvidia
nvidia-gfx-kmp-“kernel-flavor”

“kernel-flavor” depends on your installed kernel. Check with “uname -r” from the terminal for installed default/smp/bigsmp kernel.

ALTERNATIVE METHOD:
First, make sure you have the following packages installed:
kernel-source
gcc
make

To do this, use:

YaST -> Software -> Install and Delete Software

Search for them and install them if you haven’t. Next, browse to the NVIDIA site and download the driver, and here is a link to the nvidia linux driver download page:

http://www.nvidia.com/object/unix.html

Once you’ve done this, then do the following. Open up a terminal and “su” to root. You will be prompted for the root password. Then type “init 3” in the terminal. This will take you out of the X(graphical) environment and to a command prompt. I login as root here. Then navigate to the folder where you saved the file, for me, ep, it was on my desktop, so I enter the following:

cd /home/ep/Desktop

Then type:

sh NVIDIA-Linux-x86-1.0-9631-pkg1.run -q

Note that the NVIDIA driver may vary, depending on changes to the drivers from NVIDIA. Just follow through the installer and the install should be completed without incident. 🙂

CONFIGURING NVIDIA DRIVER:
For the first method, we just need to open up a terminal and “su” to root. You will be prompted for the root password. Then type “sax2 -r” for X.Org configuration. If you used the alternative method, you’ll need to enter “sax2 -r -m 0=nvidia”

In either of these, you only need to put in your display information, choose your resolution and hit Save, test to make sure all is well and your X is up and running with a nice NVIDIA splash! I now need Flash, as it’s important to me. You can use the propriety CD and get Flash 7, but I wanted Flash 9…

*****************************************************

FLASH 9.
Sure, it’s Beta, but if you, want it here it goes. First go to the beta download page and download the file.

http://labs.adobe.com/downloads/flashplayer9.html

I downloaded the Installer for Linux and performed the following actions. First, open up a terminal and navigate to the folder where you downloaded the Flashplayer install file. For me, it was my Desktop, and I’m EP, so it was

cd /home/ep/Desktop

Follow this up by opening up the source with the following command:

tar -zxvf FP9_plugin_beta_112006.tar.gz

This will extract the data into a file in the same directory. To use the plugin, just perform the following:

cd flash-player-plugin-9.0.21.78/

How you want to proceed with the installation is up to you. Just use the preferred method outlined below.

Installation instructions
————

* Plugin
To install the plugin as user:
+ Copy or move libflashplayer.so into your plugins directory (usually located): ~/.mozilla/plugins
+ Create the plugins folder if it doesnt exist
To install the plugin as root:
+ Copy or move the file into your system browser installed plugins directory (usually located): /usr/lib/<browser_directory>/plugins
+ Create the plugins folder if it doesnt exist
* Standalone
To execute the Standalone Player, you will need to change the permissions of the file. An example of how you could do this on Red Hat Enterprise Linux (RHEL) 3 or RHEL 4 is:
$: chmod u+x gflashplayer
When using the Standalone Player, you may experience a warning on initial navigation to a site with Flash content in Firefox. You will only need to dismiss the warning once per installation.

This was taken directly from the readme.txt in the file, so if you want to read this, or more information, perhaps on the uninstall, just enter “kate readme.txt” or “gedit readme.txt”.

Feel free to test it by going here:

http://www.addictingclips.com

And now, with XGL..

*******************************************************

XGL
This is a piece of cake really. Just run the software installer in YaST again and download the following two files.
Compiz
XGL

Once you’ve installed these from the CD’s, then all you need to do is Enable this in:

YaST -> System -> /etc/sysconfig Editor

Once in here, go to:

Desktop -> Display Manager -> DISPLAYMANAGER_XSERVER

and change Xorg to XGL. Restart your computer and XGL is there. The next task I will correct will be the multimedia in SuSE, but will leave that to the next installment, as it’s dependent upon third party repos for the replacement packages. I hope this helps with your fresh installations of SuSE 10.0 (32 bit) and KDE.

Comments:

SuSE 10.2 – Nyttige links

Thursday, June 7th, 2007

OpenSuSE 10.2 begynderguide : Link

Om installation af ndiswrapper & Nvidia grafikkort : Link

Om installation af BCM43xx driver uden ndiswrapper: Link

Om installation af Atheros trådløst netkort, ATI & NVIDIA grafikkort mm : Link

Om installation af RT2500 trådløst netkort : Link

Installationskilde til OpenOffice 2.2:

http://software.opensuse.org/download/OpenOffice.org/openSUSE_10.2

Installationskilde til eGroupWare:

http://software.opensuse.org/download/server:/eGroupWare/openSUSE_10.2

Kapitulationen

Friday, June 1st, 2007

Debatindlæg – bragt i Weekendavisen den 01. juni 2007.

———————————————————————————-

Danmark har kapituleret – uden modstand.

Nationen står i en situation som er historisk enestående.

Vi har afgivet kontrollen over landets administration til et privatejet udenlandsk selskab. Selskabet hedder Microsoft og har magten til at lukke de administrative systemer i staten, i samtlige kommuner, samtlige hospitaler, den offentlige transport, de fleste private virksomheder osv.

Virksomheden har opnået denne position med stort forretningstalent, god timing og optimal udnyttelse af sit monopol på markedet. Allerede midt i halvfemserne sad Microsoft solidt på markedet for operativsystemer, og hermed var vejen banet for overtage resten af det pc-baserede softwaremarked.

EU kommisionen har dømt Microsoft til at ændre denne adfærd. Den danske regering har til gengæld valgt at frede Microsoft, og i stedet lade virksomheden bestemme dansk it-politik.

Dette betyder at vi låser os mere og mere fast. Et glimrende eksempel på dette er de igangværende forhandlinger om den fremtidige standard for dokumentudveksling. Det findes i dag kun èn officiel åben standard, nemlig ODF som er udviklet af standardiseringsorganisationen OASIS og godkendt af ISO. Da en global vedtagelse af denne standard vil underminere Microsofts monopol, har Microsoft derfor udviklet en konkurrende standard, OpenXML, som ikke er godkendt af ISO og som kun er delvist åben.

Alligevel vil regeringen ikke anderkende ODF, med vil i stedet at vi fremover har 2 officielle standarder, fordi Microsoft naturligt nok afviser at understøtte den rigtigt åbne standard, som vil åbne markedet for konkurrende produkter. Og fordi Rambøll Management har beregnet at det koster 180 millioner, over en 5 årig periode, at indføre ODF mod 41 millioner for den dobbelte standard. Der er ingen, som har analyseret de ekstra årlige omkostninger som der givetvis vil være, når der skal vedligeholdes parallelle 2 standarder.

Et andet eksempel stammer tilbage fra efteråret 2002, da teknologirådet udgav rapporten “Open Source Software – i den digitale forvaltning” som dokumenterede at der kunne spares mellem 3,7 og 5,6 milliarder kr årligt i licensudgifter, hvis den offentlige sektor skiftede til open source software. Denne rapport blev naturligvis straks imødegået af Microsoft, som fik sået tvivl om besparelserne nu også var så store, da rapporten ikke havde taget højde for de omkostninger der ville være til undervisning af medarbejdere osv. Rapporten blev lagt i skuffen og glemt.

Hvis man ser på de offentlige internet sider, er det bemærkelsesværdigt at praktisk talt alle er skrevet i programmeringssprog, som kun fungerer på Microsoft platformen. Det er som om man bevidst har valgt at låse sig til denne platform, frem for at vælge et sprog som kan flyttes til andre platforme. Microsofts markedsandel for webservere er på verdensplan ca 31%, det offentlige Danmark har tildelt Microsoft tæt på 100%.

Videnskabeministeriet har brugt et større milionbeløb på portalen virk.dk, som er værktøj til danske virksomheder, til at finde information til nytte for virksomhedens udvikling. Eller som der står på siden: “Erhvervslivets indgang til det offentlige”. På denne offentlige portal, har ministeriet valgt at lade Microsoft stå for temaet. “IT i virksomheden”, som udelukkende promoverer Microsofts egne produkter.

På IT og telestyrelsen hjemmeside it-borger.dk er der en masse gode råd om hvordan man beskytter sig mod virus og spyware, men ikke et ord om at disse trusler i stort set kun rammer Windows brugere – Folk som bruger Mac, Linux, BSD eller Solaris som operativsystem er yderst sjældent i farezonen!

Ikke så sært at Microsoft øverste chef, Steve Ballmer har udtalt at han ønsker at alle lande var som Danmark.

Jeg har ingen som helst grund til at tro at Microsoft vil misbruge deres magt eller på nogen måde vil skade Danmark. Hvorfor skulle de. Alligevel er det uhyre vigtigt at få en diskussion i gang, i andet end snævre it-kredse, om hvor meget magt en privat udenlandsk virksomhed må tildeles. Vi har ikke de store problemer med at afsætte 20-40 milliarder til nye kampfly, selvom vil ikke har nogen fjender der kan bekæmpes med disse fly. men når det kommer til vores teknologiske selvstændighed, som muligvis er vigtigere end den militære, er 119 milioner er uoverstigelig hindring.

Ud over selvstændigheden, er der også den generelle risiko ved den monokultur vi har i den offentlige administration. Vi har set hvordan hospitalerne i Hvidovre og Bispebjerg samt hele det daværende Vestsjællands amt blev lammet af computervirus. Dette kunne kun ske, fordi alle kører på samme operativsystem. Det er kun et spørgsmål om tid, før det er hele landet der bliver lammet. Med ordentlige offentlige entydige åbne standarder, vil man fremover kunne anvende forskellige styresystemer og derved minimere risikoen for totale nedbrud forårsaget af virus. Og samtidig spare en formue på licensomkostninger.