Wednesday, May 30, 2007

Tuesday, May 29, 2007

Monday, May 28, 2007

Sunday, May 27, 2007

Simple Steps To Get MSIE in Debian AMD64

[The original version of this article is located at http://blog.irwan.name/?p=98]

First of all, I know most of us are already familiar with well-known IEs4Linux. This article is mainly dedicated for those who are using Debian Lenny (Debian Testing) on AMD64 architecture due to probable complexity to get Wine up and running.

To get Microsoft Internet Explorer (MSIE), I'm still using IEs4Linux script :)

0. You might think Wine is already in the repository,
meister:~# apt-get install wine
Reading package lists... Done
Building dependency tree... Done
Package wine is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package wine has no installation candidate

Hey, there is an error. What the hell happened to Wine package? Until today, Wine package is only available on Debian Sid (Debian Unstable) for AMD64 architecture.

Thanks to Wine Wiki, which provides a tutorial on how to build 32-bit Wine on a 64-bit (x86-64) system.

1. So, get these pre-requisites packages; ia32-libs, libc6-dev-i386, lib32z1-dev
apt-get install ia32-libs libc6-dev-i386 lib32z1-dev

2. Download latest Wine source code.

3. Time to get dirty. We are going to compile and install Wine
irwan@meister:/tmp$ tar xjvf wine-0.9.37.tar.bz2
irwan@meister:/tmp$ cd wine-0.9.37/tools/
irwan@meister:/tmp/wine-0.9.37/tools$ ./wineinstall

It will do the compilation and installation automatically.
You will be asking to give the root password.

4. Time to get MSIE!

Download the IEs4Linux script
irwan@meister:~$ tar xzvf ies4linux-latest.tar.gz
irwan@meister:~$ cd ies4linux-2.0.5/
irwan@meister:~/ies4linux-2.0.5$ ./ies4linux

Sit back and relax. The installation will take a while.

5. Ehemmm, time to run MSIE
irwan@meister:~$ cd bin
irwan@meister:~/bin$ ./ie6

debian64-msie.png debian64-msie2.png

Saturday, May 26, 2007

Simple Steps To Get IPv6 in Debian

[The original version or this article is located at http://blog.irwan.name/?p=84]

Question: I don't give any crap about IPv6! Why the hell I need IPv6???
Answer: Get answer from Linuxreviews.org

Want to get working IPv6 in less than 5 minutes? Here you are,

1. Create an account from Freenet6
http://www.go6.net/4105/register.asp

2. Received Confirmation Email
Welcome to go6!

Your new go6 account gives you access to forums, documents and the go6 wiki. Your account can also be used with Freenet6, the free IPv6 access service. In order to get IPv6 access, please download and install the go6 client here.


3. Install TSPC Client
apt-get install tspc

4. Edit /etc/tsp/tspc.conf
42 # user identification:
43 # userid=anonymous|your_userid
44 # anonymous means no userid. With anonymous, you don't need to register
45 # to get an userid from the broker. However, prefixes (router mode) nor
46 # permanent ipv6 address are available in anonymous mode.
47 # your_userid means the userid you registered to the broker. The userid
48 # must be using only legal dns label names (eg: [a-zA-Z0-9-] ) since
49 # the userid is used inside your user hostname.
50 userid=PUT_YOUR_USERNAME


52 #
53 # password:
54 # passwd=your_password
55 # leave empty if userid=anonymous
56 # your_password means the password you have been assigned with your
57 # userid
58 passwd=PUT_YOUR_PASSWORD

76 #
77 # 'server' is the tunnel broker identifier
78 # Value is the tunnel broker IP address or FQDN and an optional port number
79 # The default port number is 3653.
80 #
81 # Examples:
82 # server=hostname # FQDN
83 # server=A.B.C.D # IPv4 address
84 # server=hostname:port_number
85 # server=A.B.C.D:port_number
86 #
87 # For users with accounts, 'server' should be set to the Freenet6
88 # tunnel broker with authenticated accounts (broker.freenet6.net)
89 server=broker.freenet6.net
90 #
91 # The default value is the Freenet6 tunnel broker for
92 # anonymous accounts (anon.freenet6.net)
93 #server=anon.freenet6.net


5. Start TSPC
/etc/init.d/tspc start

6. Check Network Interface
meister:~# ifconfig tun
tun Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet6 addr: 2001:xxxx:xxxx:xxxx::xx/128 Scope:Global
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1280 Metric:1
RX packets:572 errors:0 dropped:0 overruns:0 frame:0
TX packets:598 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:329102 (321.3 KiB) TX bytes:61411 (59.9 KiB)

7. Test and Verify. Voila!

firefox-ipv6-edited.jpg firefox2-ipv6-edited.jpg bitchx-ipv6-edited.jpg

[1] Surf to http://www.kame.net/
[2] Surf to http://demo.nautilus6.org/
[3] Connecting BitchX to ipv6.chat.freenode.net

Now, you will say;
"w00t, I didn't know it's so easy to get IPv6!"

Wednesday, May 16, 2007

Embedded Linux-Featuring Mr. Niibe

Habitual early morning rituals, the first thing I would do is check my email. Almost every morning there would be at least 10 announcements about what going on for training, staff and etc in the mailbox. Usually, the normal algo. would be ...

foreach mail in list{
subject = grep("subject");
if(!relevent(subject))
delete;
else
view;
}

Usually, the algo. works well and the only mails that would be left behind are emails from friends. But somehow it is different this time. The subject Embedded Systems came out and I just had to find out what it is all about. I viewed the mail and read through a brochure that is attached.

The first thing that came up to my mind is, oh no...another Embedded workshop. Usually I won't be that excited, but looking at the Trainer's background, i saw a familiar name.....Wait a minute, that's Mr. Niibe, the Debian kernel Hacker and founder of debian group and FLOSS in Japan. An old friend indeed.....I wasted no time and registered for the workshop..... Would be nice to see that old Jap again....

If you are interested, you can check out the following details....

Embedded Linux Technology Workshop
OUM Open Source Community in collaboration with MNCC Malaysia, which will be organising two workshops on Embedded Linux from June 5th-8th and June 11th-14th.

The workshop Objective:
  • To provide an understanding of the essentials of embedded Linux
  • To give a practical experience in developing an embedded Linux system
  • To give a hands on experience of developing Linux applications code
  • To give the confidence to apply these new concepts to Embedded Linux projects
The remaining details can be found here:
http://www.mncc.com.my/embedlinux/index.html

and its suppose to be here too...
www.foss.org.my, www.mncc.com.my, www. thedreamsoft.com

Tuesday, May 15, 2007

Return Of The Debianista

Today, I’m certified myself as a Debian User again (you may call this as so-called recertification). If I really remember, the last time I use Debian was during my preparation for RHCE exam - running RHEL on Debian, using VMware Workstation.

After that (damn, about one year), I just do not have enough time and resource to use it.
For the rest of this article, please click here.....


Tuesday, May 8, 2007

So you got some funny fonts?

I got some funny font (should I call it crappy?) when I was alerted with error messages or referring manual pages.

This is how I did. It was not neccessarily the best method, but at least it work for me.

The value of font usually mapped to locale of the running systems. To know about it just type:

echo $LC_ALL

This will display the overall values of monetary,font and language of the running session.

Export the value by using

export LC_ALL=C
This setting will work on current session. If you plan to save this setting, put it in your RC in your shell profile:

Edit .bashrc and put

export LC_ALL=C


as above