Connecting TMNet Streamyx Broadband while using Ubuntu

I write this because people have been sending me questions regarding how to connect streamyx broadband service on Ubuntu Linux. IMHO, this thing happened for two reasons

  1. Ubuntu has been shipping GNU/Linux for free
  2. Ubuntu doesn’t provide obvious way to connect to broadband

OK now, just cross your finger, open a gnome-terminal, and type :
$ sudo pppoeconf

and follow the step-by-step screenshot! Heh, i’m not being lazy to type the rest of the guide, I just don’t know how to write a proper one!


Installing Java 2 SDK on Debian GNU/Linux and Ubuntu

Java Logo

Warning, this article is outdated!, please refer to the newer article

Install Java SDK and JRE in Ubuntu ?

Want to install Java 2 SDK (j2sdk) in your Debian or Ubuntu? Well, I’ve created a home-made package for Java 2 SDK 1.4.2.

First download the deb from either of this mirror:

  1. Rapidshare.de
  2. Mirror #1

and after that, just do :
$ sudo dpkg -i sun-j2sdk1.4_1.4.2_09_i386.deb

and Sun Java 2 SDK 1.4.2 should be installed in your system by now. You can refer to https://wiki.ubuntu.com/Java if you want to build other Sun Java deb package (like Java 1.5.0)

That’s all for today folks, happy programming in Java!

IPv6 and ShowIP Mozilla Firefox extension

ShowIP Description

Hello, now I’d like to share my experience using ShowIP Mozilla extension with you today. ShowIP is a browser extension which display the IP address of the current page in the status bar.

IPv4

While this seems not to be helpful at first glance, this extenstion might be handy when you want to test the webserver you’re accessing is using IPv6 or not and test out your own IPv6 configuration.

The extension supports IPv6 address compression notation, so it’s nicer and cleaner to the eye.
ipv6

You can download the extension from : Mozilla Update website.

I guess that’s all for today folks!

Redirect (301 Permanently) without using .htaccess

Want to redirect your website to another place but can’t create .htaccess file?

Well this might be a solution to you, if your webhost supports server site php scripting.

The codes below will tell web-client (including search bot) that your website have been Moved Permanently to a new location and redirects them to a new location

The PHP version :
header ('HTTP/1.1 301 Moved Permanently');
header ('Location: http://newdomain.com/');

The ASP version :
Response.Status="301 Moved Permanently"
Response.AddHeader "Location",\ "http://www.newdomain.com/"

What’s wrong with META Refesh tag? Well, firstly, it isn’t supported by all web-client (including bots). Secondly, the search engine will ignore the META Refresh tag and stops indexing your webpage.

By sending server response code 301 Moved Permanently, will inform that your website have been moved to another location and search bots will note that and index the new location instead. :)

p/s: This tip is useful in an event you can’t create a .htaccess file in your webhost.

When Microsoft write about GNU/Linux-related tutorial

I came across this official article in Microsoft Help and Support Website.

What worth mentioning about this article is, this is the first Microsoft article that explains a little bit about GNU/Linux filesystem accurately and in non-biased way against their own filesystem.

This article also feature short tutorial on how to use the GNU/Linux “fdisk” program, including “fdisk” keys to create, write, and delete partition. The Linux disk/partition terminology such as /dev/sda, /dev/hda1, etc, are also explained in this tutorial. Yeah, something that I never expected from this company, but they did it after all?

Wanna know the catch?

Read the complete article : http://support.microsoft.com/default.aspx?scid=kb;en-us;314458

Finally we bought a friendly scanner

mypapit Canon LiDE 20 Scanner

Since there are so many people at my house need to use scanner for day-to-day stuff (actually only my sister). So we decided to get a Home/SoHo scanner, and naturally i’m the one who got to choose.

Browsing through few stores and places in Alor Star, finally i came across this entry-level SoHo Canon LiDE-20 model. It priced about RM220 at one computer shop at one shopping complex, but i decided to pass it down and bought the similar model in another place which doesn’t require high-maintenance bills, and it only cost my father RM195.

For starters, the scanner’s operation is straight forward. Once you installed the required software drivers in Windows XP the scanner is hot to be use (ok, nothing special about that, it’s normal with M$ Windows). But for a small price to pay, this scanner really roxx! It’s quick, responsive and have intelligent cropping feature that automatically separate items that i scanned together (to save time of course).

The scanner is slick and slim, and it features 3 button “Scan”, “Copy” and “Email”, and those buttons are configureable in it’s accompanying software driver which I promptly modified the “Email” button to do OCR.

After having fun setting up the scanner for my sister, only then i remembered, “Oh my god, how about Linux? I haven’t check the compatibility list before buying this out!”.

Fortunately, most (and i do mean most) of the USB devices now in Linux are just plug-and-play. It’s kinda hard to find USB devices without drivers in Linux nowadays. The Canon LiDE 20 is supported in Linux as I boot them! Well, at least on FC4 and Mandriva 10.2.

The scanner driver from The Sane Project works nicely, and theres no difference at all whether you scan your documents from M$ Windows or GNU/Linux.

For those who are interested in getting new hardware for your Linux pc I think the link below would be some help. Remember choose only hardware which have Linux driver with it, talk with your pocket :

1. Scanner Database
2. Digital Camera-PTP Mode, Mass Storage is always supported.
3. Webcam
4. WiFi
5. Bluetooth
6. Sound Cards
7. Network card
8. Most of Nvidia and ATI Graphic Cards (for 3D Gaming)
9. Almost all USB Mass Storage Device (Pendrive, HDD)

If you are lazy enough to check one, by one, then i suggest you to drop by Mandriva Hardware Compatibility Database. Check whether your hardware is supported by Linux. cheers…

Note : Some of the item of this list (notably no 4,7,8,9) are outdated, please be advised. Other item are maintained by their respective driver project.

 

Recommended Product
The CanoScan LiDE 20 USB flatbed scanner is one of the world’s most compact flatbeds, yet it offers big performance and big savings. Just over an inch high, it packs all the features you need to scan images, copy documents, and e-mail your favorite photos, all with one-touch operation.