Tampilkan postingan dengan label Ubuntu. Tampilkan semua postingan
Tampilkan postingan dengan label Ubuntu. Tampilkan semua postingan

Selasa, 30 Juni 2009

Install font windows di Ubuntu

Seperti kita ketahui bahwa di Open Office linkungannya Linux tidak memiliki font-font yang biasa kita gunakan untuk mengerjakan tugas kuliah ataupun skripsi padahal font ini merupakan keharusan dalam mengerjakan tugas tersebut. Begitupun dengan yang saya alami kemarin, ketika diberikan tugas kewirausahaan oleh dosen yang mengharuskan menggunakan font Times New Roman pada tugas tersebut. Secara sekarang udah pake Ubuntu, terpaksa deh nyari dulu di search engine milik Om Larry (Google), dan setelah mencari-cari di google akhirnya ketemu juga caranya. Gini nih caranya, pertama buka dulu Terminal dan ketik atau copypaste command ini

sudo apt-get install msttcorefonts

Untuk melihat hasilnya, apakah font tersebut telah terinstall silahkan restart Gnome (ctrl+alt+backspace 2x) atau copypaste aja command line berikut untuk merefresh font cache

sudo fc-cache -fv

Setelah anda menyelesaikan perintah diatas maka sekarang anda bisa menggunakan font berikut di Open Office

Andale Mono

Arial Black

Arial (Bold, Italic, Bold Italic)

Comic Sans MS (Bold)

Courier New (Bold, Italic, Bold Italic)

Georgia (Bold, Italic, Bold Italic)

Impact

Times New Roman (Bold, Italic, Bold Italic)

Trebuchet (Bold, Italic, Bold Italic)

Verdana (Bold, Italic, Bold Italic)

Webdings

Selamat mencoba!!!!!!!!




Baca Selengkapnya »»

Minggu, 28 Juni 2009

Printer Canon Pixma iP 1880 pada Ubuntu 8.04

Dua hari yang lalu saya mencoba untuk menginstalasi Printer Canon Pixma iP 1880 pada Ubuntu 8.04. Melalui penelusuran google saya mengumpulkan data-data tentang cara instalasi printer tersebut beserta penelusuran library yang diperlukan. Setelah 2 hari 2 malam, barulah saya berhasil memfungsikan printer Canon Pixma iP 1880 pada Ubuntu 8.04 dengan hasil print out yang memuaskan.
Berikut ringkasan instalasi yang saya lakukan :
1. Instal libxml1.deb
2. Instal libgtk 1.2.deb
3. Instal libpng3.deb
4. Instal libtiff4.deb
5. Instal libtiff tools.deb
6. Instal alien.deb
7. download driver (cnijfilter-common dan cnijfilter-iP1880).rpm dari Website Canon tempatkan pada Desktop
8. Masuk terminal, ketik cd ~/Desktop lalu Enter
9. Ketik sudo alien cnijfilter-common.rpm lalu Enter (sesuaikan dengan nama file yang ada) sampai terbentuk file cnijfilter-common.deb
10. Ketik sudo alien cnijfilter-iP1880.rpm lalu Enter (sesuaikan dengan nama file yang ada) sampai terbentuk cnijfilter-iP1880.deb
11. Instal kedua file hasil perubahan dari ekstensi rpm ke ekstensi deb tersebut
12. pasang dan nyalakan printer iP1880 maka akan langsung terbaca oleh Ubuntu 8.04
13. Modifikasi printer melalui CUPS (Ada beberapa langkah/tahapan)
14. Restart CUPS
15. Bila diperlukan restart komputer
Maka Printer Canon Pixma iP 1880 sudah bisa dipergunakan untuk mencetak.

Catatan :
1. Nama-nama file yang tertulis disingkat (sesuaikan dengan nama yang sebenarnya)
2. Langkah-langkah modifikasi printer pada CUPS dapat dipelajari secara lengkap melalui Mozilla Firefox pada http://localhost:631/




Baca Selengkapnya »»

Kelebihan Ubuntu

3D Interface

Salah satu hal yang dibanggakan oleh Microsoft pada Windows Vista adalah interface barunya, Aero. Sayangnya, Aero dapat membuat komputer yang berspesifikasi tinggi berjalan lambat. Laptop dengan memori 2 GB pun akan terasa lambat. Ini disebabkan Windows Vista menuntut spesifikasi hardware yang tinggi.

Sebetulnya sebelum Windows Vista di rilis, Ubuntu telah mampu menampilkan interface 3D. Pada versi Ubuntu 7.04, banyak orang yang mengatakan bahwa interface Ubuntu (Beryl) justru lebih menawan daripada Aero – dan hanya membutuhkan spesifikasi komputer yang tidak terlalu tinggi.

Kompatibilas

Ubuntu kompatibel dengan hampir semua perangkat keras terbaru. Untuk mendapatkan daftar lengkap mengenai hardware apa saja yang telah didukung oleh Ubuntu, silahkan kunjungi alamat https://wiki.ubuntu.com/HardwareSupport. Pada halaman tersebut, anda dapat melihat tabel yang berisi data kompatibilitas suatu hardware terhadap Ubuntu.

Banyak orang yang terkejut ketika menemukan bahwa Ubuntu dapat menemukan semua perangkat keras yang ada dikomputer mereka secara otomatis dan mengkonfigurasinya sehingga siap pakai. Bahkan berbagai W-LAN ccard, yang biasanya jarang dikenali, kini sudah terdeteksi secara otomatis. Dengan update yang tergolong cepat, Ubuntu siap untuk mendukung hardware-hardware baru yang ada di pasaran. Patch kecil yang disediakan secara berkala baik secara resmi maupun dari pihak ketiga akan selalu disediakan untuk membantu kompatibilitas Ubuntu dengan hardware terkini.

Kemudahan Migrasi

Sejak versi Ubuntu 7.04, Ubuntu sudah menyertakan Migration Tool. Feature ini sudah menjadi tool default. Utility akan membantu anda dalam memindahkan data anda dari Windows ke Ubuntu dengan sangat mudah.

Selain itu, Ubuntu juga memberikan website khusus dengan alamat https://help.ubuntu.com/community/SwitchingToUbuntu. Di halaman ini tertera artikel yang membantu anda dalam melakukan migrasi, baik dari Windows Mac OS, maupun dari distro Linux lainnya. Pada halaman ini, anda juga dapat melihat aplikasi-aplikasi padanan di Ubuntu untuk aplikasi populer yang biasa digunakan di Windows dan Mac OS.

Advance Linux

Walaupun sederhana pada awalnya, Ubuntu juga dapat dikonfigurasikan menjadi sangat canggih. Dalam proses instalasi suatu program, Ubuntu memiliki sedikit perbedaan dibandingkan Windows. Ubuntu, seperti Debian, menggunakan package management system berbasis ‘Apt’ (Advance Packaging Tool). Apt merupakan sistem manajemen paket yang memudahkan pengguna dalam mengelola suatu software. Apt akan melakukan otomatisasi dalam pengabilan, kofigurasi, serta instalasi dari suatu paket software.

Pada umumnya, paket-paket software pada Ubuntu diambil dari suatu wadah penyedia software yang dinamakan “Repository”. Pada umumnya, Repository Ubuntu berisi pustaka software yang disediakan pada suatu server tertentu Untuk elakukan instalasi, Apt akan mendownload file yang dibutuhkan dari suatu repository, mengkonfigurasikannya sesuai sistem, lalu meng-install-nya pada komputer pengguna. Dengan sistem ini, pengguna tidak perlu repot lagi dalam meng-install sebuah software yang diinginkannya. Otomatisasi ini yang menjadi salah satu daya tarik Ubuntu.

Bagi yang familiar dengan SUS (Software Update Service) dan WSUS (Windows Software Update Service) dari Microsoft, Apt memiliki nyaris semua kemampuan SUS – dan lebih banyak lagi. Tidak itu saja, Apt telah ada jauh sebelum SUS sehingga telah terbukti sangat reliable dan efisien.

Untuk perawatan server dan desktop dalam jumlah besar, Apt sangat membantu menghemat waktu dan tenaga anda. Proses administrasi yang user-friendly akan meringankan beban seorang IT Support dalam mengelola komputer berbasis Ubuntu.

Dengan puluhan ribu pustaka softwaregratis yang tersedia di repository-nya, dan berbasiskan distro Debian yang sangat fleksibel, Ubuntu siap menjadi apa saja yang anda inginkan. Multimedia studio, advance Unix server, central server computing, render farm, develoment workstation, dan lain-lainnya, kemungkinan besar Ubuntu dapat melakukannya. Bahkan Google pun menggunakan Ubuntu di kantornya.

Mudah Didapatkan

Ubuntu bisa didapatkan dengan berbagai cara. Anda bisa men-download-nya langsung dari berbagai lokasi di seluruh dunia (termasuk Indonesia), memesan secara gratis melalui http://shipit.com, atau memesan dari berbagai distributor Linux di Indonesia. Untuk lebih detailnya silahkan baca pada boks “Website Ubuntu”.

Less Is More

Kelebihan Ubuntu yang terbesar justru adalah kesederhanaannya. Pada suatu perusahaan pernah dilakukan sebuah eksperimmen: satu lantai kantor dimigrasikan ke Ubuntu pada hari Minggu secara diam-diam. Hari Senin pagi, staf kantor di lantai tersebut menemukan bahwa komputer mereka telah berubah dari Windows menjadi Ubuntu semua.

Tim dari departemen IT yang sebetulnya telah siap sedia untuk membantu mereka menjadi terkejut ketika ternyata telpon mereka tidak berdering. Lebih terkejut lagi ketika menemukan bahwa para staf tersebut telah kembali bekerja seperti biasa!

Ini adalah kesaksian luar biasa terhadap feature user-friendliness dari Ubuntu. Bayangkan, pengguna komputer yang awam dapat terus bekerja dengan Ubuntu dalam waktu singkat, setelah selama bertahun-tahun hanya menggunakan sistem operasi Windows.

Bahkan, mereka justru lebih senang dan nyaman karena kini mereka tidak lagi mengalami masalah yang disebabkan oleh virus dan spyware. Kini, mereka dapat mengerjakan pekerjaan mereka dengan tenang tanpa gangguan lagi.

Masih Banyak Lagi

Kelebihan-kelebihan yang ditawarkan distro Ubuntu tidak hanya sampai disitu saja. Masih banyak lagi. Setiap orang bisa mendapatkan kesan yang berbeda dengan lainnya mengenai Ubuntu. Apa kesan yang akan anda dapatkan dari Ubuntu? Silahkan anda coba dan temukan sendiri.




Baca Selengkapnya »»

Installing Ubuntu

Now that you have the Desktop CD, you'll need to reboot your computer to use Ubuntu.

Your computer's BIOS must be set to boot from CD first; otherwise, Windows will just load up again. To get into the BIOS settings, you usually have to press one of these keys during boot-up: Escape, F1, F2, F12, or Delete. Usually your computer will tell you which key to use.


Once your BIOS is configured to boot from CD first, if you have Ubuntu in the drive, you should see this screen. Select your language.


If you have at least 512 MB of RAM, you may want to select Try Ubuntu without any change to your computer, as it will allow you to do other things (check your email, browse the web) while you're installing Ubuntu.

If you have only 256 MB or 384 MB of RAM, you should select Install Ubuntu. This will give you the same installation screens you see below, but you won't have the rest of the Ubuntu live session running as well.

If you have less than 256 MB of RAM, you should use the Alternate CD to install Ubuntu, or do a barebones installation.


After that, you should see a progress bar as the CD prepares to launch the installer.


Click the Install on the desktop to begin the installation.


Answer the questions as best you can. Most of them should be self-explanatory.


By default, the installer will give you the option to install Ubuntu side by side with whatever operating system is currently on your computer. You can choose that if you want to set up a dual-boot, but as I stated before, the safest dual-boot is probably with Wubi, unless you know what you're doing (in which case you shouldn't be looking at this guide).

So you should select Use the entire disk. Or, if you don't want to erase your entire drive, click Quit and then boot back into Windows and set up a dual-boot using Wubi.


More straightforward questions.


Wait for the installation to finish. This part generally takes 10 to 30 minutes, depending on the speed of your computer.


After the installation is done, you have the option to keep using your live session of Ubuntu or to reboot and start using the installed version of Ubuntu.


After you reboot, don't be alarmed if you see some text boot messages.


Just wait for Ubuntu to load...


And then after you log in, your Ubuntu will be ready for you to use!



Baca Selengkapnya »»

Rilis Ubuntu 9.10 Alpha 1

Mungkin banyak diantara kita sekarang yang sedang menggunakan Ubuntu 9.04 Jaunty Jackalope yang memang baru saja dirilis beberapa minggu yang lalu. Namun, bukan Canonical dan bukan Komunitas Ubuntu jika tak menepati jadwal rilis yang mereka tetapkan.

Pada kamis 14 Mei kemarin,sesuai dengan jadwal rilisnya, Ubuntu 9.10 dengan codename Karmic Koala dirilis oleh Canonical. Versi final dari Karmic Koala akan dirilis pada Oktober tahun ini. Nah, dotexe sudah mendownload dan mencoba bagaimana Ubuntu 9.10 alpha 1 ini. Inilah reportnya:

1. Walpaper pada rilis alpha 1 ini masih sama dengan milik Jaunty Jackalope
2. GNOME yang dipakai juga masih dengan versi yang sama dengan Jaunty.
3. Link “About Ubuntu” di kelompok menu System hilang.
4. Banyak aplikasi pada alpha 1 ini yang masih sama dengan Jaunty, sepertinya masih belum diupdate.
5. Kernel yang digunakan pada versi 2.6.30-5.6, yang memakai basis Linux Kernel 2.6.30 RC5.
6. OpenOffice diupdate menjadi versi 3.1.0
7. HAL (Hardware Abstraction Layer) akan diganti dengan modul baru, DeviceKit-power dan udev-extras.
8. Filesystem pada alpha 1 sudah default di EXT3.
9. GCC sebagai compiler utama pada versi 4.4
10. Kubuntu sudah memakai KDE4 versi 4.2.2
11. Xubuntu sudah memakai XFCE4 versi 4.6
12. Loading seperti biasanya, masih lebih cepat dari yang lain, walaupun masih sama banget dengan milik Jaunty. Nunggu alpha 5 atau 6 baru bisa diganti total, itu janji Om Shuttleworth.

Nah, demikianlah 12 catatan hasil test-drive Ubuntu 9.10 alpha 1, tunggu saja untuk release alpha 2 yang direncanakan tanggal 11 Juni 2009.




Baca Selengkapnya »»

Sabtu, 27 Juni 2009

WEP Crack mini Tutorial using Ubuntu

Wah kayaknya seru neh kalo bisa online dimana-mana pake notebooks plus wifi, inget kata orang2 bijak, tutorial ini hannya untuk keperluan riset semata, penggunaan yang menyebabkan kerugian dalam bentuk apa pun adalah tanggung jawab masing-masing yah.. hehehe… Wired Equivalent Privacy atau (WEP) adalah salah satu cara mengamankan Acces point anda dari penggunaan yang tidak di inginkan detailnya tentang WEP silahkan langsung ke paman wiki,..

oke kita mulai,.. kondisinya,.. gue pake OS linux Ubuntu hardy truz pake pake USB Wifi merk zidas sama aja sama Tp-Link soalnya drivernnya sama :) truzz Access Point sasaran menggunakan Lyksys WRT54G yang di implementasinkan sebagai Hot Spot di suatu tempat yang dirahasiakan keberadaannya hehehe,..

Awalanya disuatu tempat ada hotspot yang dari bentuknya bisa dipastikan Linksys WRT54G or Linksys WAP54G, nah pas gue mo kenek keluar gambar sepeti diatas,.. itu menandakan bahwa Acces Pointnnya dilindung WEP password 64/128 bit HEX,.. nah tannya2 baca2 sedikit diajarin sama pak anton juga akhirnnya bisa juga membobol passowrdnya,..

Langkah 1, Install Aircrack-ng

#sudo apt-get install aircrack-ng

Langkah 2, Indentifikasi Device Kita

cari tau dulu MAC address device usb kita dan lokasi device tersebut,..

#sudo iwconfig

kemudian

#sudo ifconfig

oke dengan kedua perintah diatas kita sudah dapat mengetahui kalo lokasi device wireless kita berada di eth2 dengan mac 00:02:72:5A:3B:6C kita lanjut ke langkah selanjutnya,..

Langkah 3, Scanning

Scanning semua Access Point sasaran untuk mengetahui 3 hal, ssid “mukegile“, mac 00:18:F8:36:83:23 channel 6 tempat acces point beroprasi,…

#sudo airmon-ng stop eth2
#sudo iwlist eth2 scanning

Langkah 4, Monitor Mode

lanjutkan dengan merubah wifi kita menjadi monitor mode,..

#sudo airmon-ng start eth2 6

Langkah 5, Capturing Package

Kerjaan selanjutnya menangkap paket yang keluar dari acces point disimpan sebagai file,..

#sudo airodump-ng -c 6 –bssid 00:18:F8:36:83:23 -w output eth2

nah kerjaan ini yang agak lama,… tergantung sekali dengan paket yang di broadcast,.. kalo banyak yang pake Access Point itu makin cepet kita bisa crack passwordnya,.. kira2 data yang harus kita kumpulkan untuk cukup meng-carck 128 bit encryptions yah sekita 80.000 IVs, kalo mau tau berapa IVs yang sudah kita punya,.. teken CTRL-C aja truz lanjutkan ke langkah selanjutnya,..

Langkah 6, Crack

#sudo aircrack-ng -z -b 00:18:F8:36:83:23 output*.cap

dari gambar diatas kita bisa liat bahwa IVs yang kita dapat sekitar 81313 IVs,.. dan kita sudah dapat menemukan key atau passwordnya,.. perlu di ingat jika IVs-nya masih belum mencukupi pada saat anda melakukan perintah #aircrack-ng maka anda harus mengulang langkah ke 5 begitu saja berulang-ulang sampai IVs-nya terpenuhi diatas 80.000 IVs,..

jika anda sudah mendapatkan passwordnya tinggal menggunakannya untuk connect atau associates ,.. nah kebetulan pada saat saya coba key-nya,.. ternyata terkoneksi dengan muluz,… dan langsung dapet IP,.. ternyata Acces Point Hot Spot tersebut memberikan IP otomatis atau DHCP,.. akhirnya bisa konek dech,..

keliatan tuh.. cepet lagi konek ke yahoo 200-san… keyen,,… lain lagi ceritannya nanti kalo ternyata IP-nya nggak Otomatis alias DHCP,.. ada lagi caranya supaya kita bisa tetep terkoneksi,.. tapi nanti dech di tutorial selanjutnya,.. selamet mencoba,… “satu guru satu ilmu jangan ganggu yah” peace,…




Baca Selengkapnya »»

BackTrack + WinXP + Ubuntu (1 Laptop )

Linux BackTrack Installer Penasaran dengan Linux BackTrack dengan fitur-fitur yang menarik akhirnya saya putuskan laptop saya ini saya yang tadinya hanya ada 2 OS ( WinXP dan Ubuntu ) sekarang saya tambah lagi menjadi 3 OS, OS yang terakhir yang saya pakai adalah Linux BackTrack turunan dari Slack, yang merupakan distro live CD dengan fitur-fitur yang lengkap untuk melakukan penetrasi, namun bisa di install atau di copy ke hardisk, baik langsung saja kita memulainya.

Saya berasumsi laptop anda sudah mempunyai settingan :

  1. Posisi booting sebelum ada linux BackTrack adalah 2 OS ( pilihannya Ubuntu dan WinXP, booting ini biasanya digenerate pada saat kita menginstall linux Ubuntu, jadi step instalasi OS nya = WinXP baru Ubuntu ).
  2. Ada partisi kosong di Linux Ubuntu ( pada saat saya instalasi ubuntu directory /home (sda7) itu sizenya lumayan besar kurang lebih ada 5-7 GB, memungkinkan BackTrack bisa saya copy ke directory ini )
  3. No. 2 adalah option yang saya pakai, option lain anda bisa mengalokasikan partisi Windows untuk BackTrack ini, misal buat partisi baru menggunakan Partition Magic dan alokasikan 4/5 GB untuk si BackTrack.
  4. Anda sudah mencoba menjalankan BackTrack live CD dan berjalan dengan baik di laptop anda.

4 asumsi yang diatas diharapkan sudah pernah anda jalankan dan tidak ada masalah.

Langsung saja kita mencoba untuk Install / Copy ke BackTrack Live CD ke laptop.

  1. Masukkan BackTrack linux ke CD dan jalankan live CD di laptop anda.
  2. Arahkan ke menu KDE atau mirip dengan Start kalo di windows dan pilih > Backtrack > Install BackTrack ( Not Tested !).
  3. Perhatikan option-option yang ada :
  • Source : ini otomatis yang menggenerate adalah sistem, jadi jangan di rubah, isinya adalah mount dari BackTrack Live CD, jadi biarkan default.
  • Install BackTrack to: arahkan ke partisi yang sudah anda siapkan, sebaiknya anda lihat 1 per satu partisi yang ada di BakcTrack ada di /mnt/sda… silahkan anda lihat partisi mana yang sudah anda siapkan, dan selanjutnya pilih partisi tersebut untuk dialokasikan untuk linux BackTrack
  • Write New MBR ( lilo.mbr ) to: biarkan default, umumnya adalah /dev/sda, isinya adalah mengarahkan file ke media MBR yang nantinya akan di baca laptop pada saat dia pertamakali booting.
  • Instalation method: pilih “Real”, dan hilangkan checklist atau silang pada “Restore Original MBR after Lilo

4. Jika semua sudah berdasarkan settingan yang sudha disiapkan klik “Install”, nantinya presentasenya akan berjalan, tunggu hingga Complete.

5. Setelah Complete, cobalah periksa pada partisi yang sudah anda siapkan apakan BackTrack anda sudah tercopy disana.

6. Jika sudah pasti tercopy, keluarkan BackTrack Live CD dan restartlah laptop anda.

7. Jangan panik, hanya akan ada 1 pilihan pada saat booting Lilo menampilkan “BackTrack”, WinXP dan Ubutunya harus kita setting di Lilo si BackTrack ini, lanjutkan pilih BackTrack di Lilo.

8. Akan muncul Form Login, dengan keterangan User ‘root’ dan passwordnya ‘toor’, silahkan login dengan acount tersebut.

9. Jika sudah login, maka kita akan setting Lilo untuk menambahkan WinXP dan Ubuntu ke bootabl laptop, file konfigurasi Lilo ada di : /etc/lilo.conf

10. Edit filenya menggunakan mc, bt#me -e /etc/lilo.conf

11. Dan ini adalah settingan Lilo pada laptop yang saya pakai, anda bisa mencobanya:

=================== lilo.conf ======================

boot = /dev/sda
prompt
timeout = 60
#bitmap=/boot/splash.bmp
change-rules
reset
#vga = 769,771/773/792
vga = 769
image = /boot/vmlinuz
root = current
label = BackTrack
read-only
#Dibawah ini adalah penambahannya, yg diatas jangan dirubah, settingan defaultnya.
#Windows
other = /dev/sda1 <= partisi Windows umumnya ada pada disini
label = WinXP <= label yang akan muncul di Lilo pada saat boot
table = /dev/sda <= alokasi table pada MBR
#Ubuntu
image = /mnt/sda6/boot/vmlinuz-2.6.24-19-generic
initrd = /mnt/sda6/boot/initrd.img-2.6.24-19-generic
root = /dev/sda6
label = Ubuntu
===============================================

Pada bagian “<=” adalah keterangan, aslinya tidak ada pada lilo.conf ini.
Pada Windows alokasi tersebut sudah akan menjalankan sistemnya pada saat booting, namun sedikit rumit untuk Ubuntunya, akan saya jelaskan dibawah ini :
image : vmlinuz / image boot yang berada pada mount point ubuntu, pada opsi ini BackTrack me mount nya di sda6 dan tinggal saya arahkan saja ke file vmlinuz-2.6.24-19-generic, vmlinuz ini bisa ada banyak pada Ubuntu, tergantung update yang sering anda jalankan, tinggal kita pilih kernel versi berapa yang akan kita jalankan nanti, pilihan ini juga harus anda ingat-ingat, jika anda menjalankan auto update lagi maka pada Ubuntu anda akan ada kernel baru dan anda harus merubah settingan ini, dan sesuaikan dengan kernel yang sudah anda update.

  • initrd : sama halnya dengan keterangan diatas, ini adalah bagian bootable pada Ubuntu dan versi kernelnya harus sama dengan isian pada image (-2.6.24-19-generic, belakangnya harus sama)
  • root : alokasi partisi untuk linux Ubuntu pada /dev/ biasanya jika pada mount /mnt/ Ubuntu ke pada sda6 maka pada /dev nya pun akan berada pada /dev/sda6
  • label : label yang akan muncul pada layar Lilo anda, untuk mewakili Ubuntu.

12. Setelah langkah panjang diatas, simpanlah file lilo.conf ( F2 atau klik save )

13. Cobalah reboot BackTrack anda untuk melihat hasilnya

bt#reboot

14. Jika berhasil akan ada 3 menu pilihan pada Lilo ( BackTrack, WinXP dan Ubuntu )

15. Anda tinggal mencoba satu per satu pilihan tersebut.

16. Untuk menjalankan desktop Linux BackTrack anda, loginlah sebagai root dengan password toor, kemudian jalankan startx
bt#startx [enter]

Pada dasarnya pada aplikasi boot untuk linux, laptop anda bisa lebih dari 3 OS atau distro bahkan bisa puluhan :).
Selamat mencoba, hati-hati dalam melakukan partisi karena bisa mengakibatkan Windows anda atau Ubuntu anda menjadi rusak, dan berakibat fatal, oleh karenanya sekali lagi teliti.




Baca Selengkapnya »»

Using Built-in Policy Importer in Firewall Builder


This article continues the series of articles on Fireall Builder, a graphical firewall configuration and management tool that supports many Open Source firewall platforms as well as Cisco IOS access lists and Cisco ASA (PIX). Firewall Builder was introduced on this site earlier with articles
Getting Started With Firewall Builder
.

More information on Firewall Builder, pre-built binary packages and source code, documentation and Firewall Builder Cookbook can be found on the project web site at www.fwbuilder.org. Watch Project Blog for announcements and articles on all aspects of using Firewall Builder.

This article demonstrates how you can import existing iptables or Cisco router configuration into Firewall Builder.

There are two ways to activate the feature: Main menu “File/Import Policy” or “Tools/Discovery Druid” and then choose option “Import configuration of a
firewall or a router”
. Only import of iptables and Cisco IOS access lists is possible in the current version.

Importing existing iptables configuration

iptables config that the program can import is in the format of iptables-save. Script “iptables-save” is part of the standard iptables install and should be present on all Linux distribution. Usually this script is installed in /sbin/ . When you run this script, it dumps current iptables configuration to stdout. It reads iptables rules directly form the kernel rather than from some file, so what it dumps is what is really working right now. To import this into fwbuilder run the script to save configuration to a file:

iptables-save > iptables_config.conf

Then launch fwbuilder, activate “Import Policy” function and use “Browse” button in the dialog to find file iptables_config.conf. You also need to choose “iptables” in the drop-down menu “Platform”.

If you do not choose iptables in the “Platform”, the program will try to interpret the file using different parser and will fail. The program does not make any assumptions about the file name or extension and can not predict automatically what platform is the configuration being imported is for.

importer_1

Importing iptables configuration created in FireStarter

The following example demonstrates import of iptables policy generated by Firestarter, another popular iptables configuration management program.

After the platform is selected and file name entered, click “Next” to start the process.

importer_2

The program tries to interpret configuration file rule-by-rule and recreates its equivalent in fwbuilder. The progress window displays errors, if any, as well as some diagnostics that shows network and service objects created in the process. Note that user-defined iptables chains found in the configuration file will be re-created in fwbuilder as policy rule sets. The screenshot shows rulesets “LSI”, “LSO”, “OUTBOUND” being created. There were more but they did not fit in the output window. Address objects “h-10.3.14.10″, “h-10.3.14.255″ and few others have been created as well. Service objects “tcp fsra/s”, “udp 0-0:0-0″, “icmp -1/-1″ and few others have also been created.

Note that the new firewall object created in the process has generic name “New Firewall”. This is because iptables configuration file used for import does not have information about firewall machine name. It also does not have information about its interfaces, their names and addresses. The program can infer their names when it encounters “-i ” or “-o ” clause in the iptables configuration lines. It can not reliably detect their addresses though. You need to rename firewall object and add ip addresses to interfaces after the import manually.

Note also that only ipv4 part of the iptables configuration was imported. Currently, import of ipv6 iptables configuration is not supported.

importer_3

Screenshot above demonstrates rule sets that the program created from the configuration it imported. Rule sets “INBOUND”, “LOG_FILTER”, “LSI”, “LSO”, “OUTBOUND”, “Policy” are all of the type “Policy” and contain filtering rules. There were no NAT rules in the original configuration so the rule set “NAT” is created but is empty. Names of all policy rule sets match names of the iptables chains in the original configuration.

importer_7
importer_8
importer_9

screenshots above demonstrate address and service objects created by the program. It writes a comment in each object to remind that it was created automatically on import. Names of these objects are chosen automatically, you can rename objects to give them more meaningful names. Some of the objects created during import have the same properties as existing service and address objects from the Standard objects library. Currently the program does not cross-match them and just creates new objects, however in the future it may use standard objects instead.

Some rules in the original iptables config used “–tcp-flags” parameter to match only certain combinations of tcp flags. Here is an example:

-A INPUT -s 10.3.14.10 -p tcp -m tcp ! --tcp-flags FIN,SYN,RST,ACK SYN -j ACCEPT

In order to be able to reproduce this rule, fwbuilder created special TCP service object with given combination of tcp mask and flags:

importer_10

The follwoing screenshot demonstrates rules created in the main Policy rule set. These are the top iptables rules, some of them branch off to the other Policy rule sets. Some of the rules in the original policy did not match state (did not have clause “-m state –state NEW” or similar), these rules were created with the flag “stateless” turned on. In fwbuilder, this makes policy compiler generate iptables commands without “-m state –state NEW” clause which matches the original. These rules are marked with an icon that represents non-default rule options in the column “Options”.

importer_14

Lets inspect one group of rules little closer. The original iptables file contained the following commands:


-A INPUT -i eth0 -j INBOUND
-A INBOUND -p tcp -m state --state RELATED,ESTABLISHED -j ACCEPT
-A INBOUND -p udp -m state --state RELATED,ESTABLISHED -j ACCEPT
-A INBOUND -s 10.3.14.0/255.255.255.0 -j ACCEPT
-A INBOUND -s 10.3.14.0/255.255.255.0 -p tcp -m tcp --dport 22 -j ACCEPT
-A INBOUND -s 10.3.14.0/255.255.255.0 -p udp -m udp --dport 22 -j ACCEPT
-A INBOUND -j LSI

The first rule is in chain INPUT and was recreated as rule #11 in the Policy rule set (rule colored green). Since it was in INPUT, the destination object in the rule #11 is the firewall itself. The “-i eth0″ clause translated into interface object “eth0″ in the “Interface” rule element and direction “Inbound”. The action of the rule #11 is “Branch”, pointing to the rule set “INBOUND”. This is direct recreation of the original rule in itpables config.

importer_15

This screenshot demonstrates rules created in the rule set “INBOUND”. Rule #0 matches CustomService object “custo-0-tcp” that was created to match combination of protocol “tcp” and state “RELATED,ESTABLISHED”. This object is shown in the following screenshot:

importer_11

Fwbuilder automatically adds a rule on top of generated iptables script to match packets in states “ESTABLISHED, RELATED”. With that rule, it is not necessary to have a rule like #0 in INBOUND, but since original script had it, fwbuilder reproduced it.

rule #1 in INBOUND matches protocol udp and state “ESTABLISHED,RELATED”. Other rules in INBOUND reproduce original rules from the chain INBOUND and match packets coming from the local net heading for the firewall machine. It is easy to see that the original policy was redundant: rules #2-4 match the same source and destination addresses but different services, but rule #2 matches any service which means rules #3 and 4 will never match any packets. Fwbuilder will detect this problem automatically if you try to compile this policy (this is called “Rule shadowing”).

All packets not matched by any rule in INBOUND will match last rule in this rule set which branches to the rule set LSI. Rule set LSI logs various packets and drops them:

importer_16

The first thing about rules in this rule set that catches the eye is why do we have all these rules with action “Continue”.

When a rule is marked as “logging” in fwbuilder, it gets an icon in the column “Options” that represents log, this icon appears either by itself or next to the icon that represents non-default rule options. However, iptables does not allow for an action “Accept” or “Deny” to be used in combination with logging, in iptables logging is separate target just like “ACCEPT” or “DROP”. Because of that, fwbuilder splits a rule that has action “Accept” or “Deny” or any other with logging turned on. One such rule becomes two or more iptables rules in the generated script. Unfortunately when iptables script is imported back, the program can not merge such rules and logging rules appear in the rule set as separate rules with logging icon in the “Options” column and action “Continue”. This is a valid configuration in fwbuilder, it just means that the rule generates log record but does not make any decision whether the packet should be accepted or denied and the firewall should continue its inspection.

Here is the fragment of the original iptables rules in the chain LSI:

-A LSI -p tcp -m tcp --tcp-flags FIN,SYN,RST,ACK SYN \
-m limit --limit 1/sec -j LOG --log-prefix "Inbound " --log-level 6
-A LSI -p tcp -m tcp --tcp-flags FIN,SYN,RST,ACK SYN -j DROP

These rules become rules #1 and 2 in rule set LSI in fwbuilder. The first rule, the one that does logging, becomes a separate rule because this is how it is done in iptables. If this policy was created in fwbuilder, rules #1 and 2 would be just one rule in the GUI. Double-clicking in the column “Options” in rule #1 opens dialog where you can inspect and edit its options. Tab “Limit” of this dialog controls parameters iptables “limit” module which was used in the original rule. Screenshot below demonstrates how policy importer recognized these parameters and reproduced them in the rule options:

importer_17

Limitations

iptables policy importer in fwbuilder has its limitations. Main limitation is that it can only parse certain set of iptables modules and targets. There are too many modules and associated targets out there and supporting all of them is next to impossible. However, it supports the core functionality and most popular modules. Even though importer tries to be as close to the original configuration as possible, you should always review rules and objects it creates and edit resultant rules. Most of the time rules can be simplified, such as with logging rules as was explained above. Often you can merge multiple rules by putting several objects in source or destination or service. Using object and service groups is another good way to simplify rules.

Importing Cisco IOS access lists configuration

Importing IOS access lists configuration is more straightforward because branching is not possible there. To import configuration, first you need to save it using “show run” command. IOS has literary hundreds of different commands and configuration clauses, but fwbuilder can only parse those related to the access lists configuration. Other commands will be ignored. There is no need to edit configuration prior to importing it into fwbuilder (except for the “banner” command, see below). Saved IOS configuration has information about router name and its interfaces, this information will be used to recreate objects in fwbuilder. Parser will not only create interface objects with proper names, it will also attach address objects to them to describe their ip addresses.

importer_20

Just like with iptables, we start with main menu “File/Import Policy” and enter file name in the dialog. The “Platform” drop-down list should be set to “Cisco IOS”. Click “Next” to start import process.

importer_21

The program recognized router name “c3620″ and its interfaces, created interface objects with their ip addresses and then created some address and service objects. My test router config contains the following lines (this is just a fragment, there are more interfaces and more ACLs):

interface FastEthernet0/0
ip address 192.168.100.100 255.255.255.0 secondary
ip address 10.3.14.201 255.255.255.0
ip access-group fe0_0_acl_in in
ip access-group fe0_0_acl_out out
no ip mroute-cache
duplex auto
speed auto
!
interface Ethernet1/0
description Test [test] {test} (and one more test) /weird:characters#$%^&*/
ip address 192.168.171.2 255.255.255.0
ip access-group e1_0_acl_in in
ip access-group e1_0_acl_out out
no ip mroute-cache
ip ospf cost 65000
half-duplex
crypto map real
!################################################################
ip access-list extended e1_0_acl_in
deny ip any any fragments
permit tcp host 10.3.14.40 host 192.168.171.2 eq 22 log
permit tcp host 10.3.14.40 host 10.3.14.201 eq 22 log
permit ip any 10.3.14.0 0.0.0.255 log
deny ip any any log
!################################################################
ip access-list extended e1_0_acl_out
permit ip 10.3.14.0 0.0.0.255 any log
deny ip any any log

Parser recognizes comments and skips them, but text from interface descriptions goes into comments in the Interface objects.

importer_22

Firewall Builder recognizes both named and regular extended access lists. Each separate access list is recreated in fwbuilder in the same main Policy rule set. The program recognizes “ip access-group” commands and puts corresponding interface object in the “Interface” rule element of the rules it creates.

importer_30

The original configuration used the same access list “133″ with two interfaces:

interface Ethernet1/1
ip address 10.10.10.10 255.255.255.0
no ip mroute-cache
!
! Note - the same access list applied both in and out
ip access-group 133 in
ip access-group 133 out
no shutdown
half-duplex
!
interface Ethernet1/2
ip address 10.10.20.20 255.255.255.0
no ip mroute-cache
!
! Note - the same access list applied both in and out
! the same list is applied to eth 1/1 and eth 1/2
ip access-group 133 in
ip access-group 133 out
no shutdown
half-duplex
!

The program recognizes this and creates object group “intf-acl_133″ with these two interfaces as members:

importer_31

It then uses this group in the “Interface” element of rules #0, 1 and 2 to reproduce rules from the access list “133″.

Interface configuration commands visible in the config snippets above, such as “half-duplex”, “duplex auto”, “speed auto”, various protocol configuration commands and other commands supported by IOS inside “interface” block are ignored.

Limitations

One IOS configuration construct that fwbuilder can not import is “banner” command. This command is special in that it allows the user to set arbitrary terminator character and then it allows any text up to this character. This creates a problem for fwbuilder parser because the terminator character can be arbitrary. You need to edit and remove banner from the saved configuration file before importing it.

If this site has been useful, please consider participating in the Fundraiser.




Baca Selengkapnya »»

Rabu, 10 Juni 2009

Konfigurasi Wirelles pada Ubuntu 8.04

Cukup lama berkutat dalam dunia komputer, akhirnya dapat menemukan Operating Sistem yang pas banget buat aq dan itu adalah Linux. Yapzzz menggunakan Ubuntu yang sangat menggoda saya untuk mencoba distro gartisan tersebut. Pada awalnya sih sempat kecewa karena wirelles pada laptop tidak terdeteksi sama sekali dan tambha parahnya lagi laptop pun tidak bisa pisah dengan Charger, jadi apabila mau menggunkan laptop harus charger terus. Kalau untuk wirelles saya melakukan beberapa konfigursi kecil pada mesin ubuntu dan hasilnya tidak sia-sia. Sekarang wirelles laptop saya sudah terdeteksi pada ubuntu. Berikut saya kasih tutorialnya.

1. Buka Terminal Konsole (Application – Accessories – Terminal)

untuk melakukan konfigurasi wirelles pada toshiba L40 harus sudah terinstall Patch, kalau belum ikuti perintah berikut ini.

sudo apt-get install patch

2. setelah selesai install Patch tadi pindah ke direktori Desktop

cd Desktop

3. ekstraklah rtl8187b-modified-dist.tar.gz. Dengan perintah berikut

tar -zxvf rtl8187b-modified-dist.tar.gz

4. Setelah diekstrak maka akan membentuk folder/files rtl8187b-modified. Lalu lanjutkan dengan perintah berikut ini untuk melakukan pengkopian file patch pada folder/files (rtl8187b-modified).

cp 2.6.24. patch rtl8187b-modified/

5. buat folder /wifi dimana anda ingin meletakan driver yang dibutuhkan

sudo mkdir /wifi

6. pindah ke direktori rtl8187b-modified pada Desktop

cd /home/usernameanda/Desktop/ rtl8187b-modified

7. Salin semua konten folder rtl8187b-modified ke folder /wifi yang anda buat tadi

sudo cp -r* /wiif

8. sekarang pindah ke direktori /wifi

cd /wifi

9. pasangkan driver tersebut

sudo patch -p1 <>

10. buat dan install driver (anda akan menemukan pesan error selama proses. Ini hanya langka awal yang dapat anda lewati saja)

sudo ./makedrv

11. lanjutkan dengan perintah berikut

sudo ./wlan0 (tergantung interface pada komputer anda)

12. buat backup pada file rc.local

sudo cp /etc/rc.local /etc/rc.local.bak

13. akan terbka terminal teks editor dan memuat file rc.local untuk diedit. Tambahkan tiga baris kata berikut pada /etc/rc.local seperti berikut:

/wifi/wlan0up

ifconfig wlan0 up

dhclient wlan0

yang akan terlihat berikut ini

#

# rc.local

#

# This script is execute at the.......(dst)

# Make sure .........(dst)

# value on error.

#

# in order................(dst)

# bits

#

#By default......(dst)

/wifi/wlan0up

ifconfig wlan0 up

dhclient wlan0

exit

14. tekan Ctrl+x kemudian y untuk menyimpan dan enter untuk krluar.

15. Buat backup file interface

sudo nano /etc/network/interfaces

16. akan terbuka termnal tex editor dan memuat file interfaces yang akan di edit, tambahkan dua baris perintah seperti berikut

pre-up /wifi/wlan0up

post-down /wifi/wlan0down

/etc/network/interfaces harus sperti berikut

auto log

iface lo inet loopback

pre-up /wifi/wlan0up

post-down /wifi/wlan0down

17. tekan Ctrl+x kemudian y dan enter untuk menyimpan

18. yang terakhir ketikan perintah berikut, supaya laptop/pc dinyalakan wirelles langsung ON

cd /wifi

sudo ./makedrv

sudo ./wlan0up

semoga bermanfaat by Firstx

Baca Selengkapnya »»