Sunday, December 06, 2009

K850i as modem for EEE PC in Xandros using wvdial

Bagai nak rak! Itu yang aku rasa bila stranded kat exchange ni dgn EEE PC. Bila network UTP port 80 down dan network wireless hanya clear bila aku keluar bangunan. Satu-satu harapan aku hanyalah K850i. Dia sendiri canggih habis, HSDPA 3.5G punya connection. Tapi OS aku Ubuntu dan original Linux Xandros. Takkan aku nak reinstall dengan XP semata-mata nak surf internet? Kayalah Bill Gates kalau semua orang fikir macam aku. Itu sebab aku cuba juga crack Xandros ni supaya boleh terima K850i ni sebagai modem.

My reference:
http://forum.eeeuser.com/viewtopic.php?id=21456
http://eeepcrepos.tuxfamily.org/

My setup:
Sony Ericsson K850i, Xandros based EEEPC, USB Port/Cable and Celcom Broadband Package (Malaysian Mobile Service Provider)
Bluetooth still doable, but never try
Ubuntu is doable, couple of guys manage to do


Install wvdial

The vdial is quite hard to find, some of the repository is defect. Try add this repository

sudo -s
(Let assume that we stay in root mode)

kwrite /etc/apt/sources.list

add this repository
deb http://download.tuxfamily.org/eeepcrepos/ p701 main

Add key if you want to make sure

wget http://download.tuxfamily.org/eeepcrepos/key.asc -O - | sudo apt-key add -

Mine is 4G EEE PC, so make sure you change p701 to 901 or whatever EEE PC you have

Update: You might want to add few more repos just to make sure

deb http://xnv4.xandros.com/xs2.0/upkg-srv2 etch main contrib non-free
deb http://dccamirror.xandros.com/dccri/ dccri-3.0 main
deb http://www.geekconnection.org/ xandros4 main
deb http://download.tuxfamily.org/eeepcrepos/ p701 main

Update the overall repository
sudo apt-get update


Install the wvdial
sudo apt-get install wvdial


If OK then continue

kwrite /etc/wvdial.conf

Change the configuration file according to your country
[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2
Modem Type = USB Modem
Baud = 115200
New PPPD = yes
Modem = /dev/ttyACM0
ISDN = 0
Phone = *99***1*#
Password = blank
Username = blank
Ask Password = 0
Stupid Mode = 1
Compuserve = 0
Auto DNS = 0

Here I set Auto DNS to zero so that the wvdial will look at the resolv.conf
kwrite /etc/resolv.conf
nameserver 10.44.1.33
nameserver 202.188.0.133
nameserver 202.188.1.5

At your K850i, connect to USB, set to Phone mode

At console, simply type sudo wvdial. Try to browse the net now!

If you have more than 1 phone, create a new section similar to '[Dialer Defaults]' let say
[C902 Dialer] and at console, type wvdial C902 Dialer

Thursday, December 03, 2009

Soalan Standard di Kedai Mamak


Gantung khat Allah dan Muhammad? Belum tentu kedai mamak. Soalan yang biasa aku tanya: Awak (tukang ambil order) siapa nama? Ada surau tak sini? Sini sembahyang Jumaat biasanya kat mana? Buat roti telur, ada basuh tak telur? Apa soalan korang?

Wednesday, December 02, 2009

Retro: Mutiara Kata Daie

Daie itu mestilah bersifat luarbiasa, dan dia biasa di luar.

Antum hanya sibuk di hujung minggu, tetapi masih belum sibuk 5 hari bekerja.

Tarbiyyah bukanlah segala-galanya, tetapi segala-galanya bermula dengan tarbiyyah.

Walaupun hanya ratusan, puluhan mahupun beberapa kerat syabab menjadi golongan pengemban dakwah yang tinggal, saya tetap berada di dalamnya.

Insan yang terbina dengan tarbiyyah bukan produk sehari dua, ia melalui proses yang panjang dan perlahan.

Monday, November 23, 2009

Rapper Perancis peluk Islam

Majalah Paris Match edisi 8 Oktober 2009 menyiarkan artikel mengenai pengislaman penyanyi rap Perancis, Diam's atau nama sebenarnya, Melanie Georgiades, lengkap dengan gambarnya berjubah dan bertudung.

Menurut artikel itu, Diam's, sejak memeluk Islam dan berpakaian demikian tidak pernah lagi meninggalkan rumah tanpa menutup aurat, jauh sekali daripada bersalaman dan berciuman dengan lelaki bukan muhrim.

Ini bukan kali pertama majalah itu mendedahkan pengislaman rapper itu.

Dalam edisi 8 September 2009, ia menyiarkan gambar penyanyi berkenaan keluar dari sebuah masjid di Paris. Gambar itu rakam secara sembunyi oleh jurugambar majalah itu ketika Diam;s keluar dari Masjid Gunfille, timur laut Paris, bersama-sama suaminya.

Mantap

Monday, November 16, 2009

Kerja Gila Musuh Islam

Propaganda:

A video circulating on the Internet, titled "Hamas shocking mass wedding for 450 little girls," purports to show children who appear to be about 8 to 10 years old being married off in a mass Hamas ceremony last week. Little girls in what appear to be wedding dresses are filmed arriving in cars and then walking down an aisle with the grooms.

The video and related pictures generated scores of blog postings making similar claims that Hamas was marrying off hundreds of little girls.

WorldNetDaily




Kisah Sebenar:

At any wedding party in Palestine a little beautiful girl (normally his sister, niece or even daughter of his close friend) hold his hand in addition to another little girl hold the hand of the bride. It is the same analogy of little children holding the hands of football players making their way to the field at the beginning of the match.

Thanks Dr. Mitani for clearing the fact.

"O ye who believe! If a wicked person comes to you with any news, ascertain the truth, lest ye harm people unwittingly and afterwards become full of repentance for what ye have done." Hujurat, 6

Monday, November 09, 2009

Extended Monitor For Puppy Linux Using xrandr and xorg.conf

Sorry ye dwi-bahasa. Takut ada oversea geek nak belajar juga.

Google keyword: extended monitor, 2nd display, dual head, xorg.conf, xrandr etc

My reference:
http://www.2030.tk/wiki/Dual_monitor_on_Ubuntu_7.10
http://ubuntuforums.org/showthread.php?p=317046
http://www.thinkwiki.org/wiki/Xorg_RandR_1.2 --> good reference to tweak display further

Note: Tak ramai yg dapat buat dlm Puppy buat masa ni

My Specification:
Puppy Linux 4.2.1
Samsung SyncMaster 153v Monitor

1. xrandr

Make sure you have xrandr in your Puppy Distro. Open Console from the desktop
In the terminal type xrandr -q

You should get something like this

Screen 0: minimum 320 x 200, current 1024 x 768, maximum 1280 x 800
VGA connected 1024x768+0+0 (normal left inverted right) 304mm x 228mm
1024x768 60.0*+
800x600 60.3 56.2
640x480 66.7 60.0
LVDS connected 1024x800+0+0 (normal left inverted right) 304mm x 190mm
1280x800 60.0*+
1024x768 60.0
800x600 60.3
640x480 59.9
TV disconnected (normal left inverted right)

LVDS is my Laptop monitor while VGA is my external monitor. Next type

xrandr --output LVDS --auto --left-of VGA

You should get output like this:
xrandr: screen cannot be larger than 1280x1280 (desired size 2304x800)

Secara logiknya, maksimum external monitor boleh pergi ialah 1024 dan laptop 1280.
Maka kelebaran yang diperlukan ialah 2304. Tinggi tak payah campur, ambil yang lebih tinggi iaitu 800 (resolusi laptop).
Nak campur juga? Hodoh outputnya.

2. Use any editor, open /etc/X11/xorg.conf. In Section "Screen", add virtual resolution inside Subsection "Display".

Something like this:
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 16
Subsection "Display"
Depth 16
Modes "1024x768"
# Added 20091208
Virtual 2304 800
EndSubsection
EndSection

Save the configuration file. Backup if you are not really sure what you are doing. Nanti nyesal.

3. Ctrl+Alt+Backspace to restart your X-Server. Your new configuration file is loaded now.

4. Go back to the console and retype

xrandr --output LVDS --auto --left-of VGA

If nothing goes wrong, you don't receive any complaint from xrandr

Type xrandr -q
You should get this

Screen 0: minimum 320 x 200, current 2304 x 800, maximum 2304 x 800
VGA connected 1024x768+1280+0 (normal left inverted right) 304mm x 228mm
1024x768 60.0*+
800x600 60.3 56.2
640x480 66.7 60.0
LVDS connected 1280x800+0+0 (normal left inverted right) 304mm x 190mm
1280x800 60.0*+
1024x768 60.0
800x600 60.3
640x480 59.9
TV disconnected (normal left inverted right)

Now you have extended display. Horey! Tweak the display if you feel the display is not appropriate.

Wednesday, October 21, 2009

Hari Menanam Pokok


Bukan peringkat kebangsaan. Peringkat negeripun bukan. Peringkat pejabat. Tu pasal dress code colleagues macam tak sesuai aje.

Sejadah solat?


Bukan. Bukan yang di Kelantan. Anak2 aku kreatif.

Tuesday, October 06, 2009

Install Firefox 3 on EEE PC

Otherwise you'll have bad youtube experience. Follow this

http://wiki.eeeuser.com/howto:installfirefox3

Dulu dengar sahaja, sekarang kena batang hidung sendiri

From: Saiful Abdullah
Sent: Tuesday, October 06, 2009 7:22 PM
Subject: Influenza H1N1Virus: Status Update as at 6 October 2009


Salam,

Rakan-rakan sekalian, dukacita dimaklumkan seorang teman kita telah disahkan positif dijangkiti Influenza A (H1N1). Beliau telah mula mengalami selsema dan demam sejak 4 Oktober 2009. Hari ini apabila beliau mendapatkan rawatan lanjutan, doktor telah mengesahkan beliau positif dijangkiti Influenza A (H1N1).



From: Najib
Sent: Wed 10/7/2009 10:48 AM
To: Abu
Subject: RE: Influenza H1N1Virus: Status Update as at 6 October 2009


Salam..

Lie..; mcmana keadaan/situasi ipcore..?

Kalut ke biasa2 jer..?

Apa tindakan org atas..?

Kena kuarantin laa..?

Jamuan raya esok geng2 ip tak turun ker..?

Thanks..


From: Abu
Sent: Wednesday, October 07, 2009 11:37 AM
To: Najib
Subject: RE: Influenza H1N1Virus: Status Update as at 6 October 2009




biasa2 aje tak ler cemas sgt

cuma isnin haritu kitorang buat jamuan raya

so selain dua opis tu, dua lgi opis (aku n apai) mungkin ada risiko

selain email general tu, takde sebarang email direct atau personnel datang.

aku rasa depa tunggu dua tiga org group ni demam baru depa nak panik kot

kalau aku pergi pun esok ko jgn risau. aku pakai mask ok? (camana aku nak makan?)

Thursday, October 01, 2009

Six Sigma Project

Ada sesiapa kerja company yang apply Six Sigma? Aku nak kena pergi ambil green belt. Cuak habis.

Gempa bumi di Padang, Sumatera

Sekitar 200 pelajar Malaysia termasuk adik ipar turut terlibat. Mereka akan diterbangkan oleh pesawat TUDM malam ini. Lepak kat Sg. Besi pagi ni?

Beli Durian

Aku? Tak berapa minat bab-bab durian ni. Aku lahir dalam keluarga yang ada dusun durian. Jadi durian ni tak berapa menyambung dengan aku. Kalau ada depan mata aku makan. Kalau ada tapi tak berkopek terbelah lagi aku takkan sibuk nak belah. Nak beli? Jauh sekali. Tapi bila Zaujati teringin nak makan, aku layan. Kalau durian belakang rumah, kita tahu kualiti dia. Buah yang terlonggok tepi jalan?
Ini tips. Sila tambah:

1. Cari durian yang paling kuat bau dia. Ada durian dah berminggu jatuh dari pokok, tapi depa masih nak jual kilo. Hampeh
2. Penjual biasanya akan tebuk sedikit buah untuk tunjuk ini buah durian isi kuning, isi kuning susu, isi kuning gigi tak gosok dan sebagainya. Suruh dia tebuk besar sedikit. Perhatikan permukaan ibi durian. Kalau macam lembab atau berair maknanya dah tak sedap dan tak segar.
3. Perhatikan permukaan kulit. Kalau ada sedikit hitam maknanya buah tu dah sedikit berkulat
4. Picit kulit durian di bahagian pangkal biji. Kalau bonyo maknanya buah di dalamnya sudah kurang elok.
5. ...
6. ...

Wednesday, September 30, 2009

Tipikal Malaysia


Lokasi: Tongkah. Leman si penangkap ketam. Jiang penjual ikan. Ragesh pembekal air batu.