Introduction

October 28, 2007

Here, i am posting the most interesting scripts i have done in the past few years. Some might be outdated, some don't. Some of these scripts still make their point in the Internet, as i have done them, because there were no exact answer in the Internet, at the time they were needed. Perhaps you will find some of them trivial, other useless. Feel free to browse and take the ones you like.

Posted in introductory notes

Presentations

October 23, 2007

I have gattered some presentations i have made along the years. It's not much, but these are my favorites. I have a whole page for them here.

Goto Presentations

Posted in Scripts & Stuff

Courses

2005

During the last 15 years i gave so many courses, starting from ZX Spectrum Basic up to Linux courses.

See all the courses material.

Posted in Scripts & Stuff

Samba and LDAP integration using openSUSE

June 2008

For some time i have been looking for a way to create a simple fileserver in Linux, that could easily be configured by anyone. OpenSUSE made it reality, but there was no aggregated graphical documentation about it (at least from what i have found). With this comprehensive and simple howto that i present, you will be able to create a fileserver with minimal effort, using just graphical tools to configure and administrate.

The case presented, wil allow that Linux and Windows computers share the same network folders in a transparent way, using their native file sharing system, which is NFS for Unix/Linux and SMB/CIFS for Windows.

All users will be defined in a central repository, so you can synchronize Samba with NFS, but also keeping the possibility to use that central repository for many other purposes, like having a mail server with those same users, or an FTP server also with them automatically recognized.

LDAP is configured in a secure way using TLS/SSL.

Hope you like it. Please send me any comments that you find important.

Goto LDAP+Samba integration howto.

Posted in Scripts & Stuff

Healthcare specific information

1998 - 2006

During the years i was working for the government in a Hospital, i had the opportunity to get some experience in healthcare IT. Some information i done in that time, and i was able to salvage, and of course is not confidential to present here, i will place under this section.

See all the healthcare specific information.

Posted in Scripts & Stuff

LTSP related information

2003 - 2006

Linux Terminal Server Project is just an amazing experience. I started with a server and some users, and ended with two redundant servers, balancing 60 concurrent users. It was just amazing to see how Linux can cope with all the processes users have at the same time in just on system. Along that process i contributed with some small documents, some of them are in this LTSP devoted page.

See all the LTSP related information.

Posted in Scripts & Stuff

LDAP -AD integration scripts

2006

I had a problem that i think many people still has: you have many user identity sources, but you would like to have just one. In the process, you just want that some day, everything will be under LDAP, not Active Directory.

In order to accomplish this kind of single user identity management, enabling non skilled people to manage users in a complex domain, i made some scripts to synchronize users among different platforms: AD (Windows Active Directory), LDAP (Lighweight Directory Access Protocol) and Unix passwd files.

See all the LDAP integration scripts.

Posted in Scripts & Stuff

OMED - Gastrenterology report builder

2004

TODO.

See all the OMED.

Posted in Scripts & Stuff

SMS - GSM short messaging sender for Linux

2006

TODO.

See all the SMS.

Posted in Scripts & Stuff

OpenOffice migration script

2005

TODO.

Posted in Scripts & Stuff

HP SK-2511 keyboard in Linux

February 2006

HOWTO setup "Hewlett-Packard SK-2511A Multimedia Keyboard" under SUSE. This configuration was tested under SuSE Linux 10.0

This keyboard has the following multimedia keys:

1/MailTopToolswww?Lock
2/Phone345i
Mute
RaiseVolume
LowerVolume

Under KDE Control Center --> Regional & Accessibility --> Keyboard Layout Select the Hewlett-Packard SK-2501 Multimedia Keyboard Model.

Create a file /etc/init.d/keyboard.start which contains:

setkeycodes e01e 155
setkeycodes e012 157
setkeycodes e017 138
setkeycodes e023 169
setkeycodes e025 142
setkeycodes e026 141

Give it execute rights (chmod 755 /etc/init.d/keyboard.start)

insert:

/etc/init.d/keyboard.start
in the file /etc/init.d/earlykbd (before the exec line)

Create the file ~/.Xmodmap that contains:

keycode 158 =
keycode 146 =
keycode 166 =
keycode 163 =
keycode 165 =
keycode 151 =
keycode 236 = XF86Mail
keycode 235 = XF86Tools
keycode 178 = XF86WWW
keycode 245 = Help
keycode 190 = XF86Launch2
keycode 223 = XF86Standby
keycode 193 = XF86Search

In ~.kde/Autostart) create a file called Xmodmap that contains:
/usr/X11R6/bin/xmodmap ~/.Xmodmap
Give it execute rights (chmod 755 /etc/init.d/keyboard.start)

Reboot your computer, or run under root:

/etc/init.d/keyboard.start
and start your X session.

Now you can call the KDE Control Center --> Regional & Accessibility --> KHotKeys, and define your preferred keyboard mappings.

Have fun.

Posted in Scripts & Stuff