Wednesday 24 July 2013

Re: Process named udevd in a CPU loop

yum upgrade module-init-tools
 
 
Source : https://forums.aws.amazon.com/thread.jspa?messageID=301214 

Install ICAClient di Fedora

Preface

Note: I changed jobs a couple of years ago, and I no longer have access to a Citrix Server, therefore these instructions are to the best of what I had at the time, and may have changed or require tweaking since the last time I executed them.
Fortunately for us Linux users, Citrix provides binaries for connecting to Citrix servers from Linux boxen. Unfortunately, they have made the attempt to oversimplify the installation of their binaries by providing an installation script. The installation script is flawed in that it assumes you want to use Netscape as your browser. And even then it doesn’t seem to install ready-to-use. So for those of us that want to use it with a different browser (and/or Netscape for that matter), we are relegated to hunting google and/or searching for hidden documentation on how to manually install the client. So to Citrix, I say "A for effort" and "F" for not realizing that us linux techies also like to have detailed instructions on how to manually install when the automated install doesn’t suit our needs. And that brings us to the purpose of this page.

Obtaining the Citrix ICA Client

You need to obtain the Citrix ICA Client package. Citrix offers an RPM, but for the purposes of this page, I’m recommending the tarball. Thus, these instructions will be based off of the tarball download.
First, obtain the Citrix ICA Client tarball by going to http://www.citrix.com/ and selecting "Downloads". Or if you specifically want the current Linux x86 tarball, go to http://download2.citrix.com/files/de/products/client/ica/current/linuxx86.tar.gz. From this point on in the documentation, the tarball will be assumed to be the x86 version, so substitute accordingly if you have to.

Unpacking Citrix ICA Client

Once you've obtained the tarball, you need to unpack it. Pick a temporary location to unpack this tarball. For this page, we’ll use /tmp/citrix/. So create the temporary directory, move the tarball to that directory and change into that directory:
mkdir /tmp/citrix/
mv linuxx86.tar.gz /tmp/citrix/
cd /tmp/citrix/
Now unpack the tarball:
gzip –decompress linuxx86.tar.gz
tar xf linuxx86.tar
Now to run the installation command you must be logged in as the super user (root). So change to root (using su, or however).
Execute the installation script, and follow the instructions as prompted:
./setupwfc
Using the default installation directory is highly recommended. If you choose not to, you’ll have to read the install.txt to figure out what environment variables need to be set to get the Citrix ICA Client to work. The rest of this page will assume that the Citrix ICA Client was installed to its default directory. If the default was chosen, the binaries are now installed in /usr/lib/ICAClient/.

Note: I reccomend answering "No" to the installer when it asks if you'd like to integrate Citrix automatically since this How-To handles all of the setup needed.

Configuring Your Browser

These directions should work for Firefox, Mozilla, Netscape, and any other Linux Mozilla-based browser. The first step is to find the plugins directory for the browser you wish to configure. The plugins directory is typically found as a subdirectory of the installation directory for your browser. If you are unsure of the location of your plugins directory, you can try the following command to attempt to locate the plugins directory:
find / -name plugins | grep -i "netscape\|firefox\|mozilla"
We’ll assume that we are configuring Firefox, and that Firefox was installed to /opt/firefox. Again the following will have to be done as the superuser (root). Change into the plugins directory of your browser:
cd /opt/firefox/plugins/
Next, create a symlink (aka softlink) to the Citrix ICA Client library:
ln –s /usr/lib/ICAClient/npica.so npica.so
If the Citrix install script was able to find Netscape, it probably already did this step for you.

Connecting to Citrix and Using the Citrix ICA Client

Close all running instances of the browser you configured (just to be safe). Open a new instance of the browser. Type the URL of and connect to your Citrix Server (as though installation were complete). Login to the Citrix server with your user id and password. Once logged in, you should get the mini-desktop with all of your applications. The first time you click on an application, your browser is likely going to popup a dialog box giving you the choice to open the file or save the file. Choose the option to open the file. Where it asks for the application to use on this type of file, type in the path to the wfica application:
/usr/lib/ICAClient/wfica
If given the choice, tell the browser to use this application for all future downloads of this file type.
Congratulations! You have installed and configured the Citrix ICA Client.

Source : http://www.agaveblue.org/howtos/Citrix_ICA_How-To.shtml

Friday 12 July 2013

MySQL Table 'Is Marked as Crashed'

I recently had a problem trying to use mysqldump where it was complaining that
1
mysqldump: Got error: 145: Table './recurser/wp_options' is marked as crashed and should be repaired when using LOCK TABLES
This corrupted wp_options table actually caused wordpress to think it was a fresh install, and showed the interface to create the admin user to anyone who accessed recurser which is a little scary :)
The solution was to go to the actual database directory, and run myisamchk -r on the offending table :
1
2
3
4
5
6
> cd /var/lib/mysql/recurser
>  myisamchk -r wp_options                                                                                                                            (06-18 19:16)
- recovering (with sort) MyISAM-table 'wp_options'
Data records: 181
- Fixing index 1
- Fixing index 2
After this everything seemed to run normally again. There are a lot of other myisamchk options if this simple fix doesn’t work for you - if the man pages aren’t any help a quick google should reveal loads of info.
More information available here and here .

Source : http://www.daveperrett.com/articles/2009/06/18/mysql-table-is-marked-as-crashed/

HOW TO INSTALL IONCUBE LOADER ON CENTOS 6.3

Download and uncompress the latest IonCube version:
# wget http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz
# tar xvfz ioncube_loaders_lin_x86-64.tar.gz
Then we go to the new IonCube source directory:
# cd ioncube/
Move ioncube_loader_lin_5.3.so:
# mv ioncube_loader_lin_5.3.so /usr/lib64/php/modules
Now edit /etc/php.ini and add the line zend_extension = /usr/lib64/php/modules/ioncube_loader_lin_5.3.so
right at the beginning:
# vi /etc/php.ini
[PHP] zend_extension = /usr/lib64/php/modules/ioncube_loader_lin_5.3.so
Now restart Apache:
# /etc/init.d/httpd restart
You can test  by creating a small PHP file
# vi /var/www/html/info.php
<?php
phpinfo();
?>
Now we call that file in a browser (e.g. http://***your website*** /info.php)
If its not showing you might have to disable SElinux;
# vi /etc/selinux/config
All Done!
============================ OR ============================

yum -y install 
yum -y install php-ioncube-loader

Can't create new VPN connections in network manager



Via PPTP

yum install knetworkmanager-pptp



Via OpenVPN

yum install knetworkmanager-openvpn

Backup Restore Database

Backup Database

mysqldump -u {database_username} -p {database_name} > mysqlbackup.sql



Restore Database

mysql -u {database_username} -p {database_name} < mysqlbackup.sql



user & pass di lihat di config.php

View List User in Linux

We'll start by
1.cat /etc/passwd

2.As we all know that by default all the users created will have their home directories in /home share
so we'll modify our command a bit by using grep.
Now it'll be
cat /etc/passwd | grep "/home"

3. Now we'll get all the user accounts which have their home share in /home.
But the only output we need is the list of users & nothing else.

4. So we'll modify our command again
cat /etc/passwd | grep "/home" |cut -d: -f1
Now what we have done is that we have piped the output of previous command to another variable "cut"
What we have done here is we have added
cut -d: -f1
-d: means delimiter :
-f1 means display first field of line i.e. username.

So final command is
Cat /etc/passwd |grep "/home" |cut -d: -f1


=============================== OR ===========================


cat /etc/passwd |grep /bin/bash |grep [5-9][0-9][0-9] |cut -d: -f1

=============================== OR ===========================


alias userlist='cat /etc/passwd |grep "/bin/bash" |grep "[5-9][0-9][0-9]" |cut -d: -f1'


=============================== OR ===========================

awk -F":" '{ print "username: " $1 "\t\tuid:" $3 }' /etc/passwd

=============================== OR ===========================

awk -F":" '{ print "Linux_name: " $1 "\t\tFull_Name: " $5 }' /etc/passwd

Source : http://www.linuxquestions.org/linux/answers/Networking/How_to_list_all_your_USERs

Tuesday 9 July 2013

Nomer Telepon Seluruh Operator Prabayar

Ada banyak operator seluler yang melayani pelanggan diseluruh Indonesia. Setiap operator seluler mempunyai nomer khusus untuk ke Customer Service-nya atau nomer-nomer telepon penting lainnya. Selain itu, dalam artikel berikut terdapat cara untuk mengetahui nomer HP sendiri, karena seringnya kit aberganti nomer HP, kita sering lupa pada nomer sendiri.
Berikut adalah nomer-nomer penting untuk operator seluler pra bayar di Indonesia:



XL Axiata
Customer Services:
818 – Untuk info layanan melalui mesin penjawab. Tanpa biaya.
817 – Untuk berbicara dengan XL Contact Center Representatives. Rp 350,-/per panggilan
Untuk cek pulsa dan kode akses untuk layanan-layanan XL: *123#
Cara bagi pulsa via SMS sesama nomor XL:
ketik: BAGI [spasi] nomor XL yang dituju [spasi] nominal kirim ke 168.
Untuk keadaan darurat ketika kehabisan pulsa dan minta dihubungi nomor XL lain:
tekan *108*9# call (utk pelanggan Pasca Bayar).
tekan *333*1*3*1# call (utk pelanggan Prabayar Komunitas).
Respon yang didapat kita akan menerima pesan : Masukkan Nomor Tujuan. Reply pesan itu dgn memasukkan “Nomor tujuan”.



AXIS
Customer care: 838
Cek Status dan pengisian pulsa: 888
Cek Pulsa: *838#
Menu Axis: *123#
Cek pemakaian Terakhir: *887#
Pengisian Ulang melalui Short Code: *888* [kode voucher]



THREE
Cek pulsa: *111#
untuk isi ulang pulsa: *111*(16 nomor kode pengisian pulsa)#
layanan konsumen: 123
Transfer balance pulsa
Ketik SMS dan kirim ke 123 dengan format:
TRF(spasi)Jumlah Nominal Balance yang akan ditransfer(spasi)Nomor Tujuan



TELKOMSEL (simPATI dan Kartu As )
Cek Pulsa: *888#
Isi ulang: *133*kode voucher#
informasi transaksi terakhir: *887#
Untuk mengetahui sisa bonus: *889#
Untuk info layanan: *999#
Layanan Self Care: *116#
untuk masuk ke interface layanan SMS: *806#
Layanan konsumen: 155
Call center: 0807 1 811 811
TELKOMSEL CALL ME
pelanggan bisa meminta pelanggan selular yang lain untuk menelponnya.
Ketik : *808*Nomor Tujuan# ,Tekan YES/OK
Transfer Pulsa simPATI dan Kartu AS
Cara Penggunaan Transfer Pulsa simPATI dan Kartu AS:
Ketik : *858*nomor tujuan*nominal transfer# lalu tekan OK/YES



IM3
Cek Pulsa dan masa aktif: *555#
Cek Pulsa SMS dan Internet: *555*1#
Cek Bonus Nelpon, SMS dan internet: *555*2#
Layanan im3: *123#
Call Center: 300 (gratis) atau 100 (Rp400/panggilan).
Transfer atau bagi pulsa IM3
Transfer atau bagi pulsa SMS ketik: transferpulsa[spasi]nomortujuan[spasi]nominal kirim ke 151.
atau tekan *777*3# pilih transfer pulsa.
Mentari
Cek Pulsa Utama dan Masa Aktif: *555#
Cek Pulsa SMS dan Internet: *555*1#
Untuk cek Bonus Nelpon, SMS dan internet: *555*2#
Menu layanan mentari: *123#
Call Center Mentari: 222
Transfer Pulsa
Layanan yang memungkinkan pelanggan Mentari untuk melakukan transfer pulsa ke nomor Mentari lainnya.
Caranya: Ketik TPNO TujuanNominal, kirim ke 151. Contoh: TP 08151234567 10000
Starone
Cek saldo pulsa: *555#
Isi ulang pulsa: *556*kodevoucher#
Cek Bonus: *557#
Call Center Star One: 111



Flexi
Call Center: 147
Isi ulang pulsa: *99*Kode Voucher#
Cek pulsa: *99#
Transfer pulsa FlexiTRANSFER
FlexiTRANSFER adalah layanan yang memungkinkan Pelanggan Flexi Trendy (Prabayar) untuk mengirimkan sejumlah nilai/nominal balance tertentu ke nomor Flexi Trendy lainnya.
Untuk menggunakan layanan ini maka pengguna (pengirim transfer) harus melakukan registrasi terlebih dahulu untuk mendapatkan PIN, caranya : Ketik : REG kirim ke 858
Untuk transfer pulsa : Ketik TR No.Flexi TujuanNominalPIN kirim ke 858



Esia
Customer Service: *999
Untuk mengetahui sisa nominal voucher isi ulang: *555
Untuk pengisian ulang pulsa esia: *900
Untuk mengaktifkan dan memeriksa voice mail: *922
Untuk menonaktifkan voice mail: *100



Smartfren
Customer Service Smart: 888
Cek isi pulsa: *999
untuk Isi ulang pulsa: *999* (diikuti 16 digit kode voucher)

=================================================================

Mengetahui Nomer HP Sendiri

Axis: [*2#] Ok/Yes
Telkomsel: [8808#] Ok/Yes
XL: [*123*22*1*1*#] Ok/Yes
Three [8998#] Ok/Yes
Indosat [*777*8#]
Untuk nomor Telkom Flexi, Esia, Starone, dan Smartfren hanya bisa dilakukan dengan HP Merk Nokia, Caranya: [*3001#Kode pengaman#] setelah keluar menu pilih OWN NUMBER (MDN).
Kode Pengaman default Nokia adalah 12345

Nomor lainnya untuk semua Operator

Registrasi Prabayar: 4444
Polisi: 110
layanan darurat: 112
Pemadam kebakaran: 113
SAR: 115
SMS Presiden Nomor 9949
* Nomor-nomor di atas bisa berubah tergantung kebijakan operator masing-masing

Source : http://ahmadramadlan.wordpress.com/2012/04/06/nomer-telepon-penting-seluruh-operator-seluler-prabayar/

Saturday 6 July 2013

Daftar Nomor Awalan Operator Seluler GSM/CDMA

Daftar Nomor Awalan Operator Seluler GSM/CDMA dan Kode Wilayah Telepon SeIndonesia

Untuk memberikan informasi tambahan bagi pembaca blog,
terutama yang ingin mendapatkan nomor depan / nomor prefix
setiap operator GSM dan CDMA , maka di artikel kali ini, saya ingin
sharing-kan list / daftar nomor depan semua operator GSM dan
CDMA yang tersebar di Indonesia. Terdapat nomor prefix operator
terkenal sampai provider yang belum ternama. Ada Telkomsel,
XL, Indosat Mentari dan IM3, kartu Fren, kartu Smart dan lain
sebagainya.Inilah kumpulan daftar nomor depan / nomor prefix
operator selular di Indonesia:
Nomor awal Produk Penyedia
0811 KartuHALO Telkomsel
0812 SimPATI, KartuHALO Telkomsel
0813 SimPATI, KartuHALO Telkomsel
0814 Indosat 3,5G Broadband Indosat (IndosatM2)
0815 Mentari lama, Matrix Indosat
0816 Mentari, Matrix Indosat
0817 XL Prabayar, XL Pascabayar XL Axiata
0818 XL Prabayar, XL Pascabayar XL Axiata
0819 XL Prabayar, XL Pascabayar XL Axiata
0821 SimPATI Freedom Telkomsel
0822 SimPATI (Kartu Facebook) Telkomsel
0823 Kartu As[1] Telkomsel
0828 Ceria Sampoerna Telekom
0831 Axis AXIS Telekom Indonesia
0838 Axis AXIS Telekom Indonesia
0852 Kartu As Telkomsel
0853 Kartu As (Kartu Prima) Telkomsel
0855 Matrix Auto Indosat
0856 IM3 Indosat
0857 IM3 Indosat
0858 Mentari Indosat
0859 XL Prabayar, XL Pascabayar XL Axiata
08681 ByRU PSN/ACeS
0877 XL Prabayar, Hauraa XL Axiata
0878 XL Prabayar XL Axiata
0879 XL Prabayar XL Axiata
0881 smartfren Smartfren Telecom
0882 smartfren Smartfren Telecom
0883 Smartfren Smartfren Telecom
0884 Smartfren Smartfren Telecom
0887 smartfren Smartfren Telecom
0888 smartfren Smartfren Telecom
0889 smartfren Smartfren Telecom
0896 3 Hutchison Charoen Pokphand Telecom
0897 3 Hutchison Charoen Pokphand Telecom
0898 3 Hutchison Charoen Pokphand Telecom
0899 3 Hutchison Charoen Pokphand Telecom
Sumber : http://id.wikipedia.org/wiki/Daftar_produk_telekomunikasi_di_Indonesia

Seperti halnya pada kode telepon tetap di tiap daerah di Indonesia, maka setiap perusahaan seluler pun menetapkan kode untuk tiap daerah tersebut. Daftar di bawah ini adalah daftar kode wilayah di tiap nomor seluler yang terdapat di setiap perusahaan jasa telekomunikasi.
Rata-rata setiap perusahaan telepon seluler menetapkan angka ke-5, 6 dan/atau ke-7 sebagai kode wilayah asal nomor tersebut, seperti contoh 0811-10-xxxx, dimana 0811 merupakan kode dari Telkomsel, angka 10 kode wilayah Jakarta, dan xxxx merupakan nomor seluler tersebut.
Daftar :

Aceh

0627 - Kota Subulussalam
0629 - Kutacane (Kabupaten Aceh Tenggara)
0641 - Kota Langsa
0642 - Blang Kejeren (Kabupaten Gayo Lues)
0643 - Takengon (Kabupaten Aceh Tengah)
0644 - Bireuen (Kabupaten Bireuen)
0645 - Kota Lhokseumawe
0646 - Idi (Kabupaten Aceh Timur)
0650 - Sinabang (Kabupaten Simeulue)
0651 - Kota Banda Aceh - Jantho (Kabupaten Aceh Besar) - Lamno (Kabupaten Aceh Jaya)
0652 - Kota Sabang
0653 - Sigli (Kabupaten Pidie)
0654 - Calang (Kabupaten Aceh Jaya)
0655 - Meulaboh (Kabupaten Aceh Barat)
0656 - Tapaktuan (Kabupaten Aceh Selatan)
0657 - Bakongan (Kabupaten Aceh Selatan)
0658 - Singkil (Kabupaten Aceh Singkil)
0659 - Blangpidie (Kabupaten Aceh Barat Daya)
global.net ( karanganyar . kebumen 551449 )

Sumatera Utara

061 — Kota Medan — Kota Binjai — Stabat (Kabupaten Langkat)
0620 — Pangkalan Brandan (Kabupaten Langkat)
0621 — Kota Tebing Tinggi
0622 — Kota Pematangsiantar
0623 — Kisaran (Kabupaten Asahan) — Kota Tanjung Balai
0624 — Rantau Prapat (Kabupaten Labuhanbatu)
0625 — Parapat (Kabupaten Simalungun)
0626 — Pangururan (Kabupaten Samosir)
0627 — Sidikalang (Kabupaten Dairi) — Salak (Kabupaten Pakpak Bharat)
0628 — Kabanjahe (Kabupaten Karo)
0630 — Teluk Dalam (Kabupaten Nias Selatan)
0631 — Kota Sibolga
0632 — Balige (Kabupaten Toba Samosir)
0633 — Tarutung (Kabupaten Tapanuli Utara)
0634 — Kota Padang Sidempuan
0635 — Gunung Tua (Kabupaten Padang Lawas Utara)
0636 — Panyabungan (Kabupaten Mandailing Natal)
0638 — Barus (Kabupaten Tapanuli Tengah)
0639 — Kota Gunung Sitoli

Sumatera Barat

0751 — Kota Padang — Kota Pariaman
0752 — Kota Bukittinggi — Kota Padang Panjang — Kota Payakumbuh — Batusangkar (Kabupaten Tanah Datar)
0753 — Lubuk Sikaping (Kabupaten Pasaman)
0754 — Kota Sawahlunto
0755 — Kota Solok — Kabupaten Solok Selatan — Alahan Panjang (Kabupaten Solok)
0756 — Painan (Kabupaten Pesisir Selatan)
0757 — Balai Selasa (Kabupaten Agam)
0759 — Tuapejat (Kabupaten Kepulauan Mentawai)
Riau
0760 — Teluk Kuantan (Kabupaten Kuantan Singingi)
0761 — Kota Pekanbaru — Pangkalan Kerinci (Kabupaten Pelalawan)
0762 — Bangkinang (Kabupaten Kampar)
0763 — Selatpanjang (Kabupaten Bengkalis)
0764 — Siak Sri Indrapura (Kabupaten Siak)
0765 — Kota Dumai — Duri (Kabupaten Bengkalis)
0766 — Bengkalis (Kabupaten Bengkalis)
0767 — Bagan Siapi-api (Kabupaten Rokan Hilir)
0768 — Tembilahan (Kabupaten Indragiri Hilir)
0769 — Rengat - Air Molek (Kabupaten Indragiri Hulu)

Kepulauan Riau

0771 — Kota Tanjung Pinang
0772 — Tarempa (Kabupaten Kepulauan Anambas)
0773 — Ranai (Kabupaten Natuna)
0776 — Dabosingkep (Kabupaten Lingga)
0777 — Tanjung Balai Karimun (Kabupaten Karimun)
0778 — Kota Batam
0779 — Tanjungbatu (Kabupaten Karimun)

Jambi

0740 — Mendahara - Muara Sabak (Kabupaten Tanjung Jabung Timur)
0741 — Kota Jambi
0742 — Kualatungkal (Kabupaten Tanjung Jabung Barat)
0743 — Muara Bulian (Kabupaten Batanghari)
0744 — Muara Tebo (Kabupaten Tebo)
0745 — Sarolangun (Kabupaten Sarolangun)
0746 — Bangko (Kabupaten Merangin)
0747 — Muarabungo (Kabupaten Bungo)
0748 — Kota Sungai Penuh

Sumatera Selatan

0711 — Kota Palembang — Pangkalan Balai - Betung (Kabupaten Banyuasin) — Indralaya (Kabupaten Ogan Ilir)
0712 — Kayu Agung (Kabupaten Ogan Komering Ilir)
0713 — Kota Prabumulih
0714 — Sekayu (Kabupaten Musi Banyuasin)
0730 — Kota Pagar Alam
0731 — Lahat (Kabupaten Lahat)
0733 — Kota Lubuklinggau — Pendopo (Kabupaten Lahat)
0734 — Muara Enim (Kabupaten Muara Enim)
0735 — Baturaja (Kabupaten Ogan Komering Ulu)

Kepulauan Bangka Belitung

0715 — Belinyu (Kabupaten Bangka)
0716 — Muntok (Kabupaten Bangka Barat)
0717 — Kota Pangkal Pinang — Sungailiat (Kabupaten Bangka)
0718 — Koba (Kabupaten Bangka Tengah) — Toboali (Kabupaten Bangka Selatan)
0719 — Manggar (Kabupaten Belitung Timur) — Tanjung Pandan (Kabupaten Belitung)

Bengkulu

0732 — Curup (Kabupaten Rejang Lebong)
0736 — Kota Bengkulu — Lais (Kabupaten Bengkulu Utara)
0737 — Arga Makmur (Kabupaten Bengkulu Utara) — Mukomuko (Kabupaten Mukomuko)
0738 — Muara Aman (Kabupaten Lebong)
0739 — Bintuhan (Kabupaten Kaur) — Kota Manna (Kabupaten Bengkulu Selatan)

Lampung

0721 — Kota Bandar Lampung
0722 — Kota Agung (Kabupaten Tanggamus)
0723 — Blambangan Umpu (Kabupaten Way Kanan)
0724 — Kotabumi (Kabupaten Lampung Utara)
0725 — Kota Metro
0726 — Menggala (Kabupaten Tulang Bawang)
0727 — Kalianda (Kabupaten Lampung Selatan)
0728 — Kota Liwa (Kabupaten Lampung Barat)
0729 — Pringsewu (Kabupaten Pringsewu)

DKI Jakarta

021 — Kepulauan Seribu — Jakarta Barat — Jakarta Pusat — Jakarta Selatan — Jakarta Timur — Jakarta Utara

Banten

021 — Tigaraksa (Kabupaten Tangerang) — Kota Tangerang — Kota Tangerang Selatan
0252 — Rangkasbitung (Kabupaten Lebak)
0253 — Pandeglang - Labuan (Kabupaten Pandeglang)
0254 — Kota Serang — Kabupaten Serang — Merak (Kota Cilegon)
0257 — Pasauran (Kabupaten Serang)

Jawa Barat

021 — Kota Bekasi — Cikarang (Kabupaten Bekasi) — Kota Depok — Cibinong (Kabupaten Bogor)
022 — Kota Bandung — Kota Cimahi — Soreang (Kabupaten Bandung) — Lembang - Ngamprah (Kabupaten Bandung Barat)
0231 — Kota Cirebon — Sumber - Losari (Kabupaten Cirebon)
0232 — Kabupaten Kuningan
0233 — Kadipaten (Kabupaten Majalengka)
0234 — Jatibarang (Kabupaten Indramayu)
0251 — Kota Bogor
0260 — Pamanukan (Kabupaten Subang)
0261 — Kabupaten Sumedang
0262 — Kabupaten Garut
0263 — Kabupaten Cianjur
0264 — Kabupaten Purwakarta
0265 — Kota Tasikmalaya — Kadipaten - Singaparna (Kabupaten Tasikmalaya) — Kota Banjar — Ciamis - Pangandaran (Kabupaten Ciamis)
0266 — Kota Sukabumi — Palabuhanratu (Kabupaten Sukabumi)
0267 — Kabupaten Karawang

Jawa Tengah

024 - Semarang, Ungaran
0271 - Surakarta (Solo), Kartasura, Sukoharjo, Karanganyar, Sragen
0272 - Klaten
0273 - Wonogiri
0275 - Purworejo,Kutoarjo
0276 - Boyolali
0280 - Majenang, Sidareja (Kabupaten Cilacap bagian barat)
0281 - Purwokerto, Banyumas, Purbalingga
0282 - Cilacap (bagian timur)
0283 - Tegal, Slawi, Brebes
0284 - Pemalang
0285 - Pekalongan, Batang (bagian barat)
0286 - Banjarnegara, Wonosobo
0287 - Kebumen, Gombong
0289 - Bumiayu (Kabupaten Brebes bagian selatan)
0291 - Demak, Jepara, Kudus
0292 - Purwodadi
0293 - Magelang, Mungkid, Temanggung
0294 - Kendal, Kaliwungu, Weleri, Batang (bagian timur)
0295 - Pati, Rembang, Lasem
0296 - Blora, Cepu
0297 - Karimun Jawa
0298 - Salatiga, Ambarawa (Kabupaten Semarang bagian tengah dan selatan)

Daerah Istimewa Yogyakarta

0274 - Yogyakarta, Sleman, Wates, Bantul, Wonosari

Jawa Timur

031 - Surabaya, Gresik, Sidoarjo, Bangkalan
0321 - Mojokerto, Jombang
0322 - Lamongan, Babat
0323 - Sampang
0324 - Pamekasan
0325 - Sangkapura (Bawean)
0327 - Kepulauan Kangean, Kepulauan Masalembu
0328 - Sumenep
0331 - Jember
0332 - Bondowoso, Sukosari, Prajekan
0333 - Banyuwangi, Muncar
0334 - Lumajang
0335 - Probolinggo, Kraksaan
0336 - Ambulu, Puger (Kabupaten Jember bagian selatan)
0338 - Situbondo, Besuki
0341 - Malang, Kepanjen, Batu
0342 - Blitar, Wlingi
0343 - Pasuruan, Pandaan, Gempol
0351 - Madiun, Caruban, Magetan, Ngawi
0352 - Ponorogo
0353 - Bojonegoro
0354 - Kediri, Pare
0355 - Tulungagung, Trenggalek
0356 - Tuban
0357 - Pacitan
0358 - Nganjuk, Kertosono

Bali

0361 - Denpasar, Gianyar, Kuta, Tabanan, Tampaksiring, Ubud
0362 - Singaraja
0363 - Amlapura
0365 - Negara, Gilimanuk
0366 - Klungkung, Kintamani
0368 - Baturiti

Nusa Tenggara Barat

0364 - Kota Mataram
0370 - Mataram, Praya
0371 - Sumbawa
0372 - Alas, Taliwang
0373 - Dompu
0374 - Bima
0376 - Selong

Nusa Tenggara Timur

0380 - Kupang, Baa (Roti)
0381 - Ende
0382 - Maumere
0383 - Larantuka
0384 - Bajawa
0385 - Labuhanbajo, Ruteng
0386 - Kalabahi
0387 - Waingapu, Waikabubak
0388 - Kefamenanu, Soe
0389 - Atambua

Kalimantan Barat

0561 - Pontianak, Mempawah
0562 - Sambas, Singkawang, Bengkayang
0563 - Ngabang
0564 - Sanggau
0565 - Sintang
0567 - Putussibau
0568 - Nanga Pinoh
0534 - Ketapang

Kalimantan Tengah

0513 - Kuala Kapuas, Pulang Pisau
0519 - Muara Teweh
0522 - Ampah (Dusun Tengah, Barito Timur)
0525 - Buntok
0526 - Tamiang Layang
0528 - Purukcahu
0531 - Sampit
0532 - Pangkalan Bun, Kumai
0534 - Kendawangan
0536 - Palangkaraya, Kasongan
0537 - Kuala Kurun
0538 - Kuala Pembuang
0539 - Kuala Kuayan (Mentaya Hulu, Kotawaringin Timur)

Kalimantan Selatan

0511 - Banjarmasin, Banjarbaru, Martapura, Marabahan
0512 - Pelaihari
0517 - Kandangan, Barabai, Rantau, Negara
0518 - Kotabaru, Batulicin
0526 - Tanjung
0527 - Amuntai

Kalimantan Timur

0541 - Samarinda, Tenggarong
0542 - Balikpapan
0543 - Tanah Grogot
0545 - Melak
0548 - Bontang
0549 - Sangatta
0551 - Tarakan
0552 - Tanjungselor
0553 - Malinau
0554 - Tanjung Redeb
0556 - Nunukan

Sulawesi Utara

0430 - Amurang
0431 - Manado, Tomohon, Tondano
0432 - Tahuna
0434 - Kotamobagu
0438 - Bitung

Gorontalo

0435 - Gorontalo, Limboto
0443 - Marisa

Sulawesi Tengah

0450 - Parigi
0451 - Palu
0452 - Poso
0453 - Tolitoli
0457 - Donggala
0458 - Tentena
0461 - Luwuk
0462 - Banggai
0463 - Bunta
0464 - Ampana
0465 - Kolonedale

Sulawesi Barat

0422 - Majene
0426 - Mamuju
0428 - Polewali

Sulawesi Selatan

0411 - Makassar, Maros, Sungguminasa
0413 - Bulukumba
0414 - Bantaeng (Selayar)
0417 - Malino
0418 - Takalar
0419 - Janeponto
0420 - Enrekang
0421 - Parepare, Pinrang
0422 - Manene
0423 - Makale, Rantepao
0427 - Barru
0428 - Wonomulyo
0471 - Palopo
0472 - Pitumpanua
0473 - Masamba
0474 - Malili
0475 - Soroako
0481 - Watampone
0482 - Sinjai
0484 - Watansoppeng
0485 - Sengkang

Sulawesi Tenggara

0401 - Kendari
0402 - Baubau
0403 - Raha
0404 - Wanci
0405 - Kolaka
0408 - Unaaha

Maluku

0910 - Bandaneira
0911 - Ambon
0913 - Namlea
0914 - Masohi
0915 - Bula
0916 - Tual
0917 - Dobo
0918 - Saumlaku
0921 - Soasiu
0922 - Jailolo
0923 - Morotai
0924 - Tobelo
0927 - Labuha
0929 - Sanana
0931 - Saparua

Maluku Utara

Lihat Maluku

Papua Barat

Lihat Papua

Papua

0901 - Timika, Tembagapura
0902 - Agats (Asmat)
0951 - Sorong
0952 - Teminabuan
0955 - Bintuni
0956 - Fakfak
0957 - Kaimana
0966 - Sarmi
0967 - Jayapura, Abepura
0969 - Wamena
0971 - Merauke
0975 - Tanahmerah
0980 - Ransiki
0981 - Biak
0983 - Serui
0984 - Nabire
0985 - Nabire
0986 - Manokwari

Seluler

Lihat Kode Area Seluler GSM dan CDMA untuk kode wilayah masing-masing telepon seluler. Empat angka pertama pada nomor telepon seluler merujuk pada operator dari
telepon seluler tersebut, seperti:
0811, 0812, 0813, 0852, 0853 - Telkomsel
0814, 0815, 0816, 0855, 0856, 0857, 0858 - Indosat
0817, 0818, 0819, 0859, 0877, 0878 -XL
0831, 0832, 0838 - AXIS
0828 - Sampoerna Telekom
Untuk kode negara sedunia klik : id.m.wikipedia.org/wiki/Daftar_kode_telepon_negara_di_dunia
0881, 0882 - Smart
0888 - Mobile-8
0899, 0898, 0896 - 3

Source : http://www.hi-techmall.org/soft/blog/daftar-nomor-awalan-operator-seluler-gsmcdma-kode-wilayah-telepon-seindonesia