Released Addressbook 6.x-3.4

The next version of the Drupal Addressbook is released with the following changes:
– Took addressbook v5.x-3.4 as baseline for this build
– Use file_directory_path() function instead of hardcoded /files definition.
– Improve address.info information.
– This is the first Addressbook release for Drupal 6.
– Updated drupal.org addressbook cvs repository for automatic update detection.

Note: Sending birthday and group emails is not working yet. This will be solved in next release!

Starting Symbian Homebrew site

Today i have started a new website about Symbian Homebrew. I was surprised that this kind of website not exist yet! The site is a new independent Symbian Homebrew website. The goal of the website is to provide Nokia Symbian mobile phone users and developers a wiki style website were they can find easy free open-source software! With easy I mean that visitors can downloads applications, games and/or other software without lots of Ads and other non related information. Ofcourse the succes of this website will mainly depend on you! Who will join me to setup and fill this new website. Looking forward to all your posts!

Link to the new site is SymbianBrew

Update 01-08-2011. Because of poor visit amounts I have closed the website.

SUN Storedge 3310

SUN Storedge 3310 notes:

Management tool for external SCSI disk

# sccli

SCSI Drivers reinit if not visible with format command:

# devfsadm

of

 
# reboot -- -r

UFS format

mkfs -F ufs /dev/rdsk/c2t0d0s2  <LUN 1> <Block amount see format>
mkfs -F ufs /dev/rdsk/c2t0d1s2  <LUN 2> <Block amount see format>
mkfs -F ufs /dev/rdsk/c2t0d2s2  <LUN 3> <Block amount see format>
mkfs -F ufs /dev/rdsk/c2t0d3s2  <LUN 4> <Block amount see format>
mkfs -F ufs /dev/rdsk/c2t0d4s2  <LUN 5> <Block amount see format>

Show SUN hardware PCI info:

# prtconf -v

Show SUN harddisk info

# prtvtoc /dev/dsk/c1t0d0s0

Mantis compact installation manual

Mantis compact installation manual for Solaris 10

– Patch sun solaris 10.
Install following packages:
– apr-1.2.2
– libintl-3.4.0
– libgcc-3.4.6
– gd-2.0.33

– Install mysql 5.0.24 sun packages
– mysql-5.0.24

– Create mysql user

– Create mantis database

– Create mantis database user with correct rights.

– Install apache 2.X (latest version)
– including PHP module

– Adapted http.conf
– Set correct document root /mantis

– Install start scripts in /etc/rc3.d
– S99apache2
– S99mysql

– Install mantis tar in /usr/local/apache2/htdocs

– Create symlink link mantis to mantis-1.1.7 directory

– Start mysql

– Start apache

– Open browser and enter url: http://localhost

– Fill in database connectie
Database name = mantis
login = mantis
password = mantis

– Mantis database is created

– Remove mantis admin pages
– rm -rf /usr/local/apache2/mantis/admin

– Change administrator password directory (default password = root)

– Now you are ready to us mantis

SUN Jumpstart

jumpstart Logging
\var\tmp

Jumpstart activate on source server
ssh
# init 0
telnet -lom
sc> break or on SUN keyboard Stop – A
sc> console -f

ok> boot net – install

or

sc> reset
sc> break (paar keer)
sc> console -f
ok> boot net – install

HAB Add jumpstart Node:
./addhabnode.sh nlnwhabgs03-e0 192.168.0.195 00:03:ba:5a:2c:f9 cm03 gs_prof
./addhabnode.sh nlnwhabwe03-e0 192.168.0.194 00:03:ba:5a:31:6d cm03 we_prof

#CM02
./addhabnode.sh deduhabbe01-e0 10.2.211.4 00:03:ba:5a:2d:21 10.2.211.11 be_prof

HAB Jumpstart flow:
CM01
– in.rarp process
/etc/ethers (MAC -> hostname )
/etc/hosts (hostname -> IP adres)
– inetd deamon must run!
– rpc.bootparam process
/etc/bootparams (IP adres -> hostname)
– tftpboot (Solaris 2.8 Image)

cd /opt/jumpstart/jumpstart
/rules
– hostname -> hab profile
/rules.ok
– Syntax check of rules file.
– run check.sh to create this file.
/ – Create disk partitie
– Install OS
– Delete not needed SUN packages
/complete.sh
– Create jumpstart_profile file
– Set Console cable settings
– Create cmg user
– Set mac address for multipathing
– Set not router
– Copy /config/host file.
– Copy /config/netmasks file.
– Copy /config//defaultrouter file
– Copy /config/snmpd.conf file
– Copy /config/syslog.conf file
– Enable login as root without prompt for password on console
– Disable keyboard break
– Append /usr/local/bin to PATH
– Uncomment SUPATH
– Append /usr/local/sbin and /usr/local/bin to SUPATH
– Make sysidcfg readonly for root
– Set some TCP/IP Settings
– Copy /scripts/general/S99_stage_startup -> /etc/rc2.d
– Copy 0_stage /etc/jumpstart_stage
– Copy /config/bashrc -> .bashrc
– Copy /config/profile -> .profile
– Insert correct hostname in nodename
/scripts/general/security_before.sh
– Allow root to set yp ftp sessions
– Set display locktimeout to 15 minutes
– Set maximun number of login to 5
– Create logfiles for su and login
– Turn off useless lines in inetd.conf
– Set permission and owner of xhost file
– Set kernel parameters
– Prevent IP Spoofing
– Switch off S88sendmail
– reboot

Pong2 on Nokia S60 device

This week i have started with the development of Pong2 for the J2ME platform. I will use the Nokia 5800 as hardware platform and the S60 symbian operating system (Nokia 5800) as target operating system.

The following software tools are used:
– Eclipse Pulsar 3.5
– Nokia S60 5th Edition SDK kit.
– eSWT component palet.

Some background information about the development tools.

Eclipse Pulsar

Pulsar is a tools integration platform for the mobile developer. It make it easy to get the tools and handset SDKs you need for developing mobile applications.

S60 platform overview

The S60 platform is the world’s most popular smartphone platform. It is implemented in a diverse range of devices and provides application and media developers with a consistent set of technologies. Equally at home delivering advanced enterprise applications, games, or music, the S60 platform gives developers unparalleled opportunities in the mobile space.

To create applications, developers can use Symbian C++ (using native Symbian OS and S60 platform APIs), a set of open C and C++ APIs, the Javaâ„¢ language (using MIDP 2.1 with an extensive range of additional JSRs), Web Runtime (WRT) (using standard web technologies), Flash Lite from Adobe, and Python.

In addition, developers may wish to explore the Qt for S60 technology preview, which provides an insight into a new, cross-platform API that will become available on the S60 platform in the future.

Content developers have comprehensive support for audio, image, and video formats. In addition, Flash Lite from Adobe and SVGT can be used for animated content, while the Web Browser for S60 supports standard desktop web technologies. Artists and graphic designers can create themes for S60 devices that can completely alter a device’s look and sound.

Once applications and content have been created, support for OMA DRM protects developers’ intellectual property.

The S60 platform enables developers to create high-value applications and content with lucrative revenue opportunities. The platform approach — with uniform implementation of technologies and supporting tools, documentation, and examples — requires less effort by developers to grasp the biggest market opportunity.

Find out more about the platform’s value proposition to consumer and enterprise users at S60.com, the “one-stop shop” for consumer information on the S60 platform — including applications, licensees, devices, news, and blogs.

eSWT stands for Embedded Standard Widget Toolkit.

It is an open source widget toolkit for Java designed to provide efficient, portable access to the user-interface facilities of the devices on which it is implemented. It is co-developed by Nokia, IBM and others in the eRCP Eclipse foundation project.

It’s API is a subset of desktop SWT API developed also in Eclipse. Additionally eSWT also contains Mobile Extensions for SWT package containing new APIs specially designed for mobile UIs in mind.

For Java ME eSWT provides rich UI functionality:

* rich component set,
* flexible layouts, freely positionable components,
* rich UI events, and
* rich access to native UI functionality on-par with smartphone UI frameworks.

eSWT is designed so that it can both be implemented in CLDC and CDC. It is thus possible to implement that in any Java MIDP device. S60 3rd Edition FP2 will have eSWT accessible in S60 Java for normal MIDlets. In this case it is a complementary UI toolkit for MIDP’s LCDUI toolkit.

eSWT is also integral part eRCP (Embedded Rich Client Platform), a new rich application model being currently developed in Eclipse. In other words eSWT can be a standalone UI toolkit or provided as part of eRCP.

Make eclipse Galileo 3.5 work with a NTMLv2 Proxy

I installed eclipse 3.5 at my work place (where we access internet through an authenticated NTML proxy). I was unable to make eclipse pass through this proxy, which prevented me to install updates and additional software.

Anthony Dahanne’s describes the workaround on his blog (in french). The Apache httpclient implementation should be disabled because it doesn’t work well with NTMLv2 proxies.

For NTLMv2 Proxies, that require user name and password for access the workaround is to

1. Disable the ECF httpclient provider.
2. Provide the NTLMv2 proxy authentication info (proxyhost, domain, username, and password)

In practice, edit your eclipse.ini file to append the following properties.

-Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient
-Dhttp.proxyPort=8080
-Dhttp.proxyHost=myproxy
-Dhttp.proxyUser=mydomain\myusername
-Dhttp.proxyPassword=mypassword
-Dhttp.nonProxyHosts=localhost|127.0.0.1

SUN hardware benchmark

SUN Enterprise 250 / 248 MHZ / 256 MB
[Feb 14 10:01:48 UTC] Automatic processor type detection found an UltraSPARC-II processor.
[Feb 14 10:01:48 UTC] RC5-72: using core #5 (AnBe 2-pipe).
[Feb 14 10:02:07 UTC] RC5-72: Benchmark for core #5 (AnBe 2-pipe) 0.00:00:16.52 [501,916 keys/sec]
[Feb 14 10:02:26 UTC] OGR-P2: Benchmark for core #0 (GARSP 6.0) 0.00:00:16.69 [2,823,340 nodes/sec]

SUN Ultra 10 / 333 MHz / 512 MB
[Feb 14 09:59:21 UTC] Automatic processor type detection found an UltraSPARC-IIi processor.
[Feb 14 09:59:21 UTC] RC5-72: using core #5 (AnBe 2-pipe).
[Feb 14 09:59:39 UTC] RC5-72: Benchmark for core #5 (AnBe 2-pipe) 0.00:00:16.15 [685,418 keys/sec]
[Feb 14 09:59:58 UTC] OGR-P2: Benchmark for core #0 (GARSP 6.0) 0.00:00:16.84 [3,854,463 nodes/sec]

SUN Ultra 10 / 440 MHZ / 512 MB
[May 01 05:29:15 UTC] Automatic processor type detection found an UltraSPARC-IIi processor.
[May 01 05:29:15 UTC] RC5-72: using core #5 (AnBe 2-pipe).
[May 01 05:29:33 UTC] RC5-72: Benchmark for core #5 (AnBe 2-pipe) 0.00:00:16.23 [908,269 keys/sec]
[May 01 05:29:53 UTC] OGR-P2: Benchmark for core #0 (GARSP 6.0) 0.00:00:16.91 [5,123,975 nodes/sec]

SUN Blade 100 / 500 MHz / 512 MB
[Feb 14 09:59:21 UTC] Automatic processor type detection found an UltraSPARC-IIe processor.
[Feb 14 09:59:21 UTC] RC5-72: using core #5 (AnBe 2-pipe).
[Feb 14 09:59:39 UTC] RC5-72: Benchmark for core #5 (AnBe 2-pipe) 0.00:00:16.15 [1,101,418 keys/sec]
[Feb 14 09:59:58 UTC] OGR-P2: Benchmark for core #0 (GARSP 6.0) 0.00:00:16.84 [5,231,463 nodes/sec]

SUN Blade 1000 / 750 MHZ / 1 GB
[May 01 05:34:12 UTC] Automatic processor type detection found an UltraSPARC-III processor.
[May 01 05:34:12 UTC] RC5-72: using core #5 (AnBe 2-pipe).
[May 01 05:34:31 UTC] RC5-72: Benchmark for core #5 (AnBe 2-pipe) 0.00:00:16.21 [1,557,063 keys/sec]
[May 01 05:34:50 UTC] OGR-P2: Benchmark for core #0 (GARSP 6.0) 0.00:00:16.59 [8,394,930 nodes/sec]

SUN Fire 210 / 1 GHZ / 4 GB
[Feb 14 10:15:19 UTC] Automatic processor type detection found an UltraSPARC-IIIi processor.
[Feb 14 10:15:20 UTC] RC5-72: using core #5 (AnBe 2-pipe).
[Feb 14 10:15:38 UTC] RC5-72: Benchmark for core #5 (AnBe 2-pipe) 0.00:00:16.06 [2,079,802 keys/sec]
[Feb 14 10:15:57 UTC] OGR-P2: Benchmark for core #0 (GARSP 6.0) 0.00:00:16.43 [11,217,790 nodes/sec]

SUN Fire 240 / 1 GHZ / 4 GB
[Feb 14 10:05:39 UTC] Automatic processor type detection found an UltraSPARC-IIIi processor.
[Feb 14 10:05:39 UTC] RC5-72: using core #5 (AnBe 2-pipe).
[Feb 14 10:05:58 UTC] RC5-72: Benchmark for core #5 (AnBe 2-pipe) 0.00:00:16.61 [2,088,402 keys/sec]
[Feb 14 10:06:17 UTC] OGR-P2: Benchmark for core #0 (GARSP 6.0) 0.00:00:16.64 [11,263,969 nodes/sec]

MySQL notes

#######
Creating MySQL database on Linux system

1. I assume that you are working from your account and not the root. Start a terminal session and become the superuser (Type su at the prompt and then enter the root password).
2. Now we’ll access the MySQL server. Type:

mysql -u root -p

The system prompts for the MySQL root password that you set up in Installing MySQL on Linux. (Note: This is not the Linux root password but the MySQL root password). Enter the password, which is not displayed for security reasons.
Once you are successfully logged in, the system prints a welcome message and displays the mysql prompt … something like

Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 1 to server version: 3.22.32

Type ‘help’ for help.

mysql>

3. Now we are ready for creating the employees database. Issue the command:

create database employees;

(Note: The command ends with a semi-colon)

4. An important point to note is that this database is created by the root and so will not be accessible to any other user unless permitted by the root. Thus, in order to use this database from my account (called manish), I have to set the permissions by issuing the following command:

GRANT ALL ON employees.* TO manish@localhost IDENTIFIED BY “eagle”

The above command grants my account (manish@localhost) all the permissions on employees database and sets my password to eagle. You should replace manish with your user name and choose an appropriate password.
5. Close the mysql session by typing quit at the prompt. Exit from superuser and come back to your account. (Type exit).
6. To connect to MySQL from your account, type:

mysql -u user_name -p

Type in the password when prompted. (This password was set by the GRANTS ALL… command above) . The system displays the welcome message once you have successfully logged on to MySQL. Here is how your session should look like:

[manish@localhost manish]$ mysql -u manish -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 3 to server version: 3.22.32

Type ‘help’ for help.

mysql>

7. Typing the command SHOW DATABASES; will list all the databases available on the system. You should get a display similar to:

mysql> SHOW DATABASES;
+—————-+
| Database |
+—————-+
| employees |
| mysql |
| test |
+—————-+
3 rows in set (0.00 sec)

8. Enter quit at the mysql> prompt to come out of the mysql client program.

########
LOAD DUMP

After you have dumped out your data into a file as described here, FTP or scp that dump file to the home directory (/) on our system.

Once you have uploaded the dump file to your account here, get a shell prompt on our system using telnet or ssh.

Now import the dump file into MySQL by typing all the following on 1 single line at the shell prompt:

mysql -p -h DBSERVER dbname < dbname.sql The above assumes that your database name on our system is "dbname" and the dumpfile that you uploaded was named "dbname.sql". Replace those with your correct database name and dumpfile filename. Also replace DBSERVER with your correct database server name. ###### SET OLD PASSWORD Reset the password to pre-4.1 style for each user that needs to use a pre-4.1 client program. This can be done using the SET PASSWORD statement and the OLD_PASSWORD() function: mysql> SET PASSWORD FOR ‘some_user’@’some_host’ = OLD_PASSWORD(‘newpwd’);
mysql> FLUSH PRIVILEGES;

Substitute the password you want to use for “newpwd” in the preceding examples. MySQL cannot tell you what the original password was, so you’ll need to pick a new one.

######
Drop database

Definition: The drop database command is used when you no longer need one of the SQL databases on your server. It will remove it permanently. It is phrased as: drop database [DatabaseName];
Examples: This will remove the database ‘Dresses’ from the MySQL server:

mysql> drop database Dresses;

BibleQuiz 10.000 downloads

Since the launch of BibleQuiz, back in 15 November 2008, it was downloaded over 10.000 times. Wow! :). So a very special thanks to everyone who’s been downloading, playing and commenting this game.

I personally think that this game needs a lot of more quiz questions. Who can help me with this work. I also search for someone who can translate the existing English questions to Germans, French and Spanish. Who can help me with this! Reactions can be send to info@plaatsoft.nl Many thanks in advance.

Official download count

Homebrew Browser 7.372 times
My website 683 times
Other websites around the world +/- 1.946 times
Total +/- 10.001 times