If you have HP printer, you are lucky because most of HP printer can run on Linux. Thanks to HP Linux Imaging and Printing (HPLIP) project for supporting the linux community. HPLIP is an HP developed solution for printing, scanning, and faxing with HP inkjet and laser based printers in Linux. This time I will show how to configure/install HP LaserJet P2015 on Debian Lenny aka testing.
Install cupsys and its dependencies using the following command.
dyna:/# apt-get install cupsys
Then install the Foomatics and install their related package with their dependencies
dyna:/# apt-get install foomatic-db foomatic-filters-ppds foomatic-filters foomatic-db-hpijs hplip hpoj
install hpoj if you using OfficeJet printer
Then using your browser, http://localhost:631 and you can configure your printer from here :)
Thursday, June 19, 2008
How to install HP LaserJet on Debian Lenny
Tuesday, June 3, 2008
Installing Lighttpd with MySQL plus PHP5 in Debian Lenny

Today i'm completely finish setting up one server with Debian aka Lenny with Lighttpd, MySQL and PHP5 support. This server mainly use for 'online' application like form application, intake application and other small application developed by our college etc. Why Lenny? I'm using Lenny because the Lenny tree seem like to be freeze right now before Debian 5.0 will be coming out soon on August 2008. From security wise, i'm always monitor my box and Lenny security mailing list and always update the server. Here the complete howto http://www.howtoforge.com/lighttpd_mysql_php_debian_etch
Friday, May 30, 2008
Check Squid log file in FreeBSD
I'm not famaliar enough with FreeBSD, but in my office we have one proxy server running on FreeBSD. How to check Squid log file on taht, then i guess like what i doing in my linux box :
root@isa# tail -f /usr/local/squid/logs/access.log
1214215723.611 3756 10.20.14.5 TCP_MISS/200 39035 GET http://www.dirtbikemagazine.com/Media/News/40046_KX250W9F_D5.jpg - DIRECT/209.196.51.188 image/jpeg
1214215724.057 5 10.20.16.175 TCP_IMS_HIT/304 263 GET http://www.fotosearch.com/comp/SUE/SUE116/paper-clip-thumbtack_~SLBW0188.jpg - NONE/- image/jpeg
1214215724.613 619 10.20.1.8 TCP_MISS/200 3135 GET http://sb.google.com/safebrowsing/update? - DIRECT/209.85.171.91 text/html
1214215725.687 1981 10.20.30.254 TCP_MISS/200 5400 GET http://sb.google.com/safebrowsing/update? - DIRECT/209.85.171.91 text/html
1214215726.360 10100 10.20.14.5 TCP_MISS/200 53145 GET http://www.dirtbikemagazine.com/Media/News/40048_KX250W9F_D1.jpg - DIRECT/209.196.51.188 image/jpeg
:
:
Fuhhh, almost same like linux.
Wednesday, May 14, 2008
E-Maj Ubuntu for Malaysian first edition

From Mypapit posting in his blog, i'm immediately jump into this site, melayubuntu.blogspot.com, wow! they're brilliant, the best part about this blog is all of them written in malay. Besides they also release online zine called E-maj Ubuntu for Malaysian. You can read and download this ezine from here. For the 1st issue, they are talking about the introduction of linux/ubuntu, command line interface, GIMP tutorial, differential of Ubuntu and Windows Vista, etc.
Saturday, May 10, 2008
Ordering OpenSolaris 2008.05 (Indiana) CD

I just check penguin99 mailing and saw this posting. I don't have much experience with Solaris/OpenSolaris before and only once installed in my testing desktop, but then i remove them. Since Debian's Ian Murdock take responsibility for OpenSolaris's Indiana project, it got a lot of attention from open source advocates to test them. Here our chances to test this so called linux version of Solaris project. So, here the link, it's free like Ubuntu. Be patience, from their site note : Please note that requests can take longer to deliver, depending on the country of shipping. Approximate shipping times for different parts of the world are as follows - Asia/Africa - 4 weeks.
Wednesday, April 16, 2008
Connecting to Celcom Broadband using Nokia N80 on Debian GNU/Linux
Two last week I've a chance to suscribe Celcom Broadband for RM 68 package for maximum 384kbps speed (thats it what salesgirl telling me). I'm not buying together with dongle modem like from Huawei or Bluecube, so I'm just using my spare Nokia N80 handphone as a modem. From Shakir dan Irwan experience, i got some clue to setup this modem. So using Debian GNU/Linux and default 2.6.18 kernel here my journey begin...
See what a messages from the kernel
cosmos:~# tail -f /var/log/messages
Apr 21 02:02:12 cosmos kernel: usb 5-2: new full speed USB device using uhci_hcd and address 3
Apr 21 02:02:13 cosmos kernel: usb 5-2: configuration #1 chosen from 1 choice
Apr 21 02:02:13 cosmos kernel: usbcore: registered new driver cdc_ether
Apr 21 02:02:13 cosmos kernel: usb%%d: unregister 'rndis_host' usb-0000:00:1d.0-2, RNDIS device
Apr 21 02:02:13 cosmos kernel: rndis_host: probe of 5-2:1.10 failed with error -32
Apr 21 02:02:13 cosmos kernel: usbcore: registered new driver rndis_host
Apr 21 02:02:13 cosmos kernel: cdc_acm 5-2:1.8: ttyACM0: USB ACM device
Apr 21 02:02:13 cosmos kernel: usbcore: registered new driver cdc_acm
Apr 21 02:02:13 cosmos kernel: drivers/usb/class/cdc-acm.c: v0.25:USB Abstract Control Model driver for USB modems and ISDN adapters
Then, edit wvdial.conf file and just put *99***1# as a phone number, the others just use a default. You can using wvdialconf or just do manual edit.
cosmos:~# more /etc/wvdial.conf
[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = USB Modem
Baud = 460800
New PPPD = yes
Modem = /dev/ttyACM0
ISDN = 0
Phone = *99***1#
Password = pass
Username = user
Then, start connecting...
cosmos:~# wvdial
--> WvDial: Internet dialer version 1.56
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Sending: ATDT*99***1#
--> Waiting for carrier.
ATDT*99***1#
CONNECT
~[7f]}#@!}!} } }2}#}$@#}!}$}%\}"}&} }*} } g}%~
--> Carrier detected. Waiting for prompt.
~[7f]}#@!}!} } }2}#}$@#}!}$}%\}"}&} }*} } g}%~
--> PPP negotiation detected.
--> Starting pppd at Mon Apr 21 02:04:48 2008
--> Pid of pppd: 3710
--> Using interface ppp0
--> pppd: h[08][06][08]p[0f][06][08]
--> pppd: h[08][06][08]p[0f][06][08]
--> pppd: h[08][06][08]p[0f][06][08]
--> pppd: h[08][06][08]p[0f][06][08]
--> pppd: h[08][06][08]p[0f][06][08]
--> local IP address 10.164.246.62
--> pppd: h[08][06][08]p[0f][06][08]
--> remote IP address 10.6.6.6
--> pppd: h[08][06][08]p[0f][06][08]
--> primary DNS address 202.188.0.133
--> pppd: h[08][06][08]p[0f][06][08]
--> secondary DNS address 202.188.1.5
--> pppd: h[08][06][08]p[0f][06][08]
Then, you just connected. See what ifconfig output
cosmos:~# ifconfig ppp0
ppp0 Link encap:Point-to-Point Protocol
inet addr:10.164.39.45 P-t-P:10.6.6.6 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:6659 errors:0 dropped:0 overruns:0 frame:0
TX packets:6036 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:6780079 (6.4 MiB) TX bytes:675119 (659.2 KiB)
So, thats it... although the speed using this Nokia N80 as a modem a bit slow compare to Streamyx broadband, but its ok to check your daily email. I'll prepare to buy a new dedicate modem for the next time. I'm thinking Huawei E220 right now.
Wednesday, April 9, 2008
Seminar Keselamatan ICT 2008
Lega rasanya sebaik sahaja tamat Seminar Keselamatan ICT 2008 yang telah diadakan pada 3 April 2008 hari tu. Aku yang bertindak sebagai pengerusi atau pengarah seminar ini betul-betul lega kerana seminar ini telah berlansung dengan jayanya seperti mana yang dirancang.
Seminggu dua sebelum tu macam-macam perkara aku kena tengok terutama bab jemputan para penceramah, bajet, perasmian, jemputan VVIP dan sebagainya. Tapi yang paling aku risau ialah takut-takut penceramah yang dijemput membatalkan jemputan pada last minit, takde plan B. Target bilangan peserta adalah sekitar 200 orang tetapi kehadiran peserta pada hari tu adalah sekitar 170 orang, kira ok la tu.
Sasaran utama peserta seminar ini adalah untuk semua tenaga pengajar atau personel IT dari Institut Latihan Kemahiran Awam (ILKA) dari seluruh negara seperti ILP, IKBN, MARA dan sebagainya. Tetapi seminggu sebelum seminar berlansung, aku dimaklumkan bilangan peserta adalah begitu kurang dari sasaran. Aku megambil pendekatan untuk membuat announce di forum ITTutor , memandang aku biasa berada pada forum ini. Walaupun announcement tersebut hanya 3 hari tetapi sambutan dari ahli forum tersebut cukup menggalakkan. Terima kasih diatas kehadiran semua.
Para penceramah yang dijemput boleh dikatakan orang-orang lama yang terlibat dengan bidang security seperti En Kamal Hilmi (ex NISER), En Mahmud (CyberSecurity), En Saidi (SCAN) dan En Nawawi (GCERT MAMPU). Walaupun terdapat penceramah yang membincangkan topik-topik yang agak advanced tetapi secara keseluruhan topik-topik mereka menarik minat peserta seminar.
Topik-topik yang dibawakan pada seminar ini ialah:
1. Pengurusan Keselamatan ICT di Agensi Awam - En Nawawi GCERT MAMPU
2. Web Application Security - En Saidi SCAN Associates
3. Introduction to Malware - En Kamal Hilmi Defenxis
4. Network Forensic - en Mahmud CyberSecurity
Kepada mereka yang berminat untuk mendapatkan softcopy nota penceramah boleh download disini.

