Saturday, April 08, 2006

Hello to the NET


Hi ... to every one :)

Selamat datang di web blog saya, this is my first blog on the net .... malu sebenernya :) yang laen udah kemana .... nah saya baru nyobain muncul di network global alias internet ini ...
maklum lah masih "terbelakang" ... hi hi hi :)
Btw My name Hari Purwadi , Asal saya dari Bandung , kota Cimahi utara tepatnya asal saya lahir dan gede disana , tempatnya di kaki gunung Burangrang ( sebelahnya gunung tangkuban perahu ) ... klo bangun pagi dinginnya bikin ga kuat .... :)
Saya Orang sunda asli hanya saat ini sedang berkelana mencari rezeki dibagian lain dari Planet Bumi ini , sekarang saya tinggal di semarang ... jawa tengah yang terkenal ama Lunpia dan banjir nya itu lho ... ( maaf jgn tersinggung klo ada org smg yg baca yaa ).
Right now I'm working on a Private Company , with bussines majoring in Datacomm , " Lintasarta" the precise name of the company if u want to know, posisi saya dibagian operasional sebagai regional technician untuk meng-cover area Jawa tengah bagian utara , mulai dari brebes sampe Cepu ... dari kota bawang sampe kota minyak ... ujung ke ujung pokonya mah :)


My temporary resident saat ini di Ngaliyan - semarang barat , I lived with my Lovely wive and my lovely daughter , she's just 4 months old right now. I'm married in march 2005 , my wife is also from bandung.


Kesibukan saya yang lain selain bekerja pada siang hari , malem nya saya kuliah di UNISBANK Program Studi Sistem Informasi , jl. Mugas - semarang kota , tuntutan zaman sdh berubah mau ga mau kita harus berusaha untuk menyesuaikan diri kalau ga mau ketinggalan, cape siih ... tapi ga apa2 ... di nikmati saja :)

No end Improvement , thats become my motto now ... dalam aspek apa saja , pokoknya perbaikan dan pengembangan diri ke arah lebih baik ... jangan sampe ga ada kemajuan ... sayang umur kita ga panjang ... cuma bentar, jadi harus dimanfaatkan dengan hal yg baik dan semaksimal mungkin ... :)
ups sorry koq jadi ngelantur gini ,,, maaf boss , cukup untuk perkenalan nya nanti dilanjut deh..

tks,

hari


Friday, April 07, 2006

Linuxer : Mandrake Tips 4 U

Inti Langkah Instalasi & Setting Linux Mandrake 8.0

Onno W. Purbo

Tulisan ini berusaha mendokumentasikan beberapa inti langkah yang perlu di perhatikan dalam menginstalasi & setting Linux Mandrake 8.0. Mengapa Linux Mandrake 8.0? karena Mandrake 8.0 ternyata paling mudah dioperasikan dibandingkan distribusi Linux lainnya & dapat membuat orang tergila-gila Linux.


Tujuan tulisan ini:
· Dibuat hanya point utama aja, agar mudah bagi orang untuk mengingat. Jadi memang bukan berupa tulisan panjang lebar.
· Dapat digunakan untuk materi training Linux, mulai dari beginner s/d advanced.


Kebutuhan Alat / Material
· CD 1 Linux Mandrake (minimal)
· CD 2 Linux Mandrake (kalau ada lebih baik, bisa experimen lebih banyak).
· PC sebaiknya Pentium II 100Mhz ke atas.
· Memory sebaiknya 64Mbyte, bisa dipaksa di 32Mbyte tapi anda akan cukup sengsara.
· Harddisk minimal sekitar 2Gbyte (kalau hanya Linux), kalau ingin dual boot Linux & Windowz sebaiknya minimal sekitar 3Gbyte.


Pra-Instalasi Linux Mandrake
Tujuan:
Boot dari CDROM.
Langkah:
Siapkan BIOS agar booting dari CDROM.
Jika BIOS di password, buat boot disk dari CD 1 Linux Mandrake. Gunakan /dosutils/rawrite.exe & write ke disket file /images/cdrom.img. Boot komputer menggunakan boot disket tsb.

Tujuan:
Kosongkan partisi atau sisakan partisi untuk Linux (dengan filesystem ext2).
Langkah:
Jika ingin semua harddisk untuk Linux. Biarkan harddisk apa adanya, kita akan mempartisi dari Linux.
Jika anda ingin dualboot. Gunakan fdisk, partisi Windows secukupnya, kosongkan partisi untuk Linux, jangan di partisi sama sekali oleh fdisk. Install Windows selengkapnya sebelum install Linux.
Jika anda ingin dualboot, tapi semua partisi sudah terisi Windows. Resize partisi menggunakan Partition Magic, sebelum install Linux.


Instalasi Linux Mandrake 8.0
Tujuan:
Install Linux ke harddisk.
Langkah:
Boot PC dengan CD 1 Mandrake di drive.
Hampir semua pilihan tinggal di OK-kan.
Kesalahan fatal yang sering dilakukan adalah men-set password root & melupakan password root tadi kekekekekek …..
Pilih Instalasi Expert (supaya banyak software tambahan yang di install).
Partisi minimal sekali / 1.5Gbyte, swap 64Mbyte, sisanya untuk /home. Jika anda ingin menyelamatan data-data, ada baiknya dibuat partisi /var.
Pilih software package yang sesuai selera. Pada saat pemilihan paket, jangan lupa install Gnomba (untuk network neighbourhood).
Setting Network – biasanya minimal sekali dial-up networking (kalau PC anda stand alone).
Setting Video – paling aman memilih monitor: Non-interlaced SVGA, 1024x768 at 60Hz, 800x600 at 72Hz kalau anda tidak yakin tentang monitor anda.

Linux Mandrake Untuk Workstation

Tools untuk Setting Linux Mandrake 8.0
Software tools yang akan banyak digunakan:
Mandrake Control Center (di desktop)
Software Manager (di desktop untuk menambah, kurang software).
Start à Configuration.
http://localhost:901 (SWAT untuk setting Network Neighbourhood / SAMBA).
https://localhost:10000 (Webmin, amat sangat sakti & mudah).
/etc – kalau anda cukup berani mengedit file konfigurasi text.

Setting Sederhana Linux Mandrake 8.0
Tujuan:
Set agar Linux Mandrake dapat bekerja dengan benar.
Langkah:
Mandrake Control Center à Network & Internet à Connection à set dialup atau LAN.
Mandrake Control Center à Network & Internet à Connection Sharing à untuk connection sharing, tapi Mandrake akan menset eth0 menjadi 192.168.0.1, menjalankan Network Address Translation (NAT) & DHCP 192.168.0.16 s/d 192.168.0.254.
Mandrake Control Center à Boot Config à Configure (kalau anda ingin mengubah default boot).
Mandrake Control Center à System à Date & Time (untuk mengubah waktu)
Mandrake Control Center à System à Services (untuk menyala matikan server yang running di background).
Mandrake Control Center à System à Fonts à Get Windows Fonts (untuk “mencuri” font Windows, kalau anda dualboot Windows & Linux).


Penggunaan Untuk Office
Tujuan:
Menggunakan Office di Linux
Langkah:
Pengguna Office serius sebaik install StarOffice dari CDROM StarOffice (run ./setup di directory StarOffice untuk Linux).
Untuk menulis, bisa menggunakan AbiWord (di CD2) bisa di akses dari Start à Office à Abiword.
Fasilitas Office lainnya ada di Start à Office.

Penggunaan Untuk Aplikasi Internet
Tujuan:
Dapat mendial ke Internet.
Dapat membaca e-mail.
Dapat me-Web.
Langkah:
Untuk menset dialer ke Internet. Start à Networking à Remote Access à Internet Dialer à Setup. Set Account & no. telepon ISP, device, modem.
Untuk dial ke Internet. Start à Networking à Remote Access à Internet Dialer à Connect. Isikan username & password, Linux akan menghubungkan anda ke Internet.
Untuk membaca & mengambil mail gunakan Kmail. Start à Networking à Mail à Kmail. Bagian Setting à Configuration perlu di set adalah bagian Identity & Network. Pada bagian network à sending mail à SMTP set agar menggunakan salah satu mail server ISP anda. Pada bagian network à Incoming mail à Add POP mail server anda di ISP agar mail dari Internet bisa di ambil ke Kmail.
Untuk me-Web gunakan Konqueror. Start à Networking à WWW à Konqueror Web browser.


Setting Jaringan TCP/IP LAN
Tujuan:
Setting supaya TCP/IP dapat berjalan dengan baik di jaringan LAN.
Langkah:
Mandrake Control Center à Network & Internet à Connection à Configure. Isi dengan benar IP address ethernet card.
Masuk ke shell / console. Lakukan $ ping [ip.address.komputer.tetangga] harusnya komputer tetangga ada akan meresponds jika LAN tersambung dengan baik.

Setting Network Neighbourhood (SAMBA)
Tujuan:
Setting supaya bisa berbicara dengan network neighbourhood di Windows.
Langkah:
Gunakan SWAT
http://localhost:901
http://localhost:901 à global perlu di set workgroup, netbios name & security share (jangan security user, supaya mudah dari Windows mengakses Linux). Jangan lupa tekan tombol commit changes.
http://localhost:901 à shares dapat kita create share dengan /path/share yang betul. Jangan pula tekan tombol commit changes.
http://localhost:901 à status dapat di start / stop / restart smbd & nmbd, agar Samba beroperasi atau tidak.
Setelah semua di set dengan baik kita dalam browsing network neighbourhood menggunakan Start à Networking à Remote Access à Gnome Samba Browser. Share di komputer lain dapat di mount ke komputer kita dengan klik kanan.


Linux Mandrake Untuk Server


Prerequisit
Tingkat ini bukan untuk pengguna biasa, tapi untuk seorang operator.


Tools yang sangat berguna
https://localhost:10000 -Webmin!



Setting TCP/IP & Routing
Tujuan:
Set ethernet adapter & routing.
Langkah:
https://localhost:10000 à hardware à network configuration à network interfaces. Klik eth0 & set IP address, network, broadcast address. Tekan save setelah selesai.
https://localhost:10000 à hardware à network configuration à routing and gateways. Untuk konfigurasi sederhana cukup isikan default router. Tekan save setelah selesai. Untuk fungi routing yang kompleks anda dapat bermain-main dengan Act as router, local routes, static routes dll.
https://localhost:10000 à hardware à network configuration à dns client. Isikan DNS server untuk me-resolve domain name di Internet.


Setting Webserver
Tujuan:
Menjalankan Webserver yang ada (biasanya Web server sudah jalan).
Langkah:
https://localhost:10000 à Servers à Apache Webserver. Perhatikan di bagian bawah anda bisa menambahkan beberapa server pada sebuah Webserver apache. Default webserver akan beroperasi pada port 80 dengan file HTML di letakan di /var/www/html.
Bagian bawah sekali, anda dapat membuat virtual server. Cukup memasukan IP address, port, lokasi document root, nama / hostname web server. Jangan lupa klik create. Untuk teknik yang lebih kompleks dengan virtual web server ini, sebaiknya anda menambahkan IP address pada virtual ethernet eth0:1, eth0:2, eth0:3 dll melalui
https://localhost:10000 à hardware à network configuration à network interfaces.
Jika anda mengubah setting Webserver apache, jangan pula lakukan Apply Changes, Stop Apache & Start Apache yang berlokasi di pojok kanan atas.


Membuat Domain Sendiri
Tujuan:
Membuat domain name sendiri & mengaktifkan DNS server.
Langkah:
·
https://localhost:10000 à Server à Bind DNS Server (8) à Create a new master zone.
· Pada bagian create a new master zone isikan: domain name, master server (bisa berisi IP address dari master server), e-mail address penanggung jawab. Tekan create.
· Pada bagian existing DNS zone, masuk ke domain yang baru kita buat.
· Klik NS à masukan zone name (di akhiri titik) & nama server. Untuk menambahkan name server yang membawa informasi sebuah zone. Tekan create.
· Klik A à masukan host (tanpa zone & tanpa di akhiri titik) & IP address. Untuk menambahkan sebuah hostname. Tekan create.
· Klik MX à masukan nama mesin kita yang akan diberikan MX, nama mail server lengkap di akhiri titik, prioritas MX semakin kecil angkanya semakin tinggi prioritasnya. Tekan create.
· Tekan edit record file untuk melihat record yang kita buat & jika ada keganjilan.
· Kembali ke halaman Web sebelumnya, tekan Start Name Server yang terletak di bawah kiri.



Membuat Virtual Webserver
Tujuan:
Membuat beberapa virtual webserver di sebuah mesin
Langkah:
Secara sepintas telah diterangkan di bagian setting Webserver. Bagian ini akan menerangkan secara perlahan & lebih detail.
https://localhost:10000 à hardware à network configuration à network interfaces à add a new interface. Isikan eth0:1 (dst untuk virtual interface selanjutnya) & set IP address, network, broadcast address. Tekan save setelah selesai. Jumlah virtual interface minimal sama dengan jumlah virtual web server yang akan dibuat. IP address yang digunakan di eth0:1, eth0:2 dst harus berbeda satu sama lain.
https://localhost:10000 à Servers à Apache Webserver à Create a new Virtual Server. Sebuah virtual server dapat dibuat. cukup memasukan IP address, port, lokasi document root, nama / hostname web server. Jangan lupa klik create.
Masuk ke shell, ubah permission dari lokasi document root virtual server anda dengan # chmod 755 /path/virtual/server.
Seharusnya virtual web anda dapat di akses secara lokal menggunakan alamat
http://virtual.server.


Setting Servis e-mail
Tujuan:
Memberikan servis e-mail antar user Internal.
Mengirimkan e-mail ke Internet.
Mengambilkan e-mail dari Internet.
Langkah:
Mail server postfix biasanya sudah terinstall di Linux Mandrake kalau anda memilih paket Server Mail pada saat kofigurasi awal. Dengan demikian anda dapat saling berkirim e-mail antar user di Linux Mandrake.
Agar postfix dapat mengirimkan e-mail anda ke Internet dengan merelay melalui mail server smtp.isp.net.id. Edit file /etc/postfix/main.cf isikan parameter relayhost=smtp.isp.net.id.
Agar postfix mau menerima e-mail dari workstation lain di LAN untuk di relay ke Internet. Edit file /etc/postfix/main.cf isikan parameter mynetworks=192.168.0.0/24, 127.0.0.0/8
Untuk mengambilkan e-mail user yang ada di yahoo.com, pop.isp.net.id, dll. Dapat digunakan fetchmail. Biasanya perintah fetchmail di set /root/.fetchmailrc dengan permission 710. Contoh isi .fetchmailrc untuk user lokal (andalokal) dengan e-mail address useranda@yahoo.com, adalah:

poll pop.mail.yahoo.com protocol pop3
username useranda password rahasia is andalokal here:

Cerita akan menjadi seru kalau anda ingin supaya semua user mempunyai e-mail masing-masing, dengan domain sendiri & dapat menerima e-mail dari internet.

Thursday, April 06, 2006

PC router / Freesco

FREESCO ( FreeCisco ): :
Linux Untuk PC Router

Pendahuluan
Router merupakan dikenal sebagai sebuah perangkat keras
yan g dapat menghubungkan dua atau lebih jaringan yang
memiliki subnet berbeda. Router biasanya menggunakan
satu atau lebih sistem metrik untuk menentukan jalur-jalur
yan g paling optimal dalam mengarahkan lalulintas antar
jaringan yang memiliki subnet b erbeda dengan berbasiskan
pada Network Layer Information. Pada awal-awal
diperkenalkannya router, orang-orang sering menyebutnya
dengan gateaway. Secara lebih spesifik, meskipun belum
tentu lengkap, karena fungsi-fungsi router terus berkembang, router biasanya mengerjakan hal-hal sebagai
berikut :
1. Mengatur lalulintas data antara dua atau lebih jaringan yang berbeda
2. Packet filtering atau pembatasan lalu lintas paket data dari atau ke beberapa jaringan yang
berbeda
3. NAT ( Network Address Translation ), sebuah proses pengubahan alamat asal menjadi seolah-
olah peket tersebut dikirimkan dari alamat yang berbeda
4. Sebag ai BooTP atau DHCP Serv er yang memberikan alamat IP dan konfigurasi lainnya untuk
seluruh atau sebagian komputer yang ada dalam sebuah jaringan
Sebenarnya fungsi-fungsi router tersebut dia atas bisa dijalankan melalui sebuah sistem operasi kelas
server seperti Linux, FreeBSD, MS-Windows NT server, Windows 2000 server dan sistem operasi
lainnya. Namun apa yang melatar belakangi orang-orang, terutama para sistem administrator, untuk
menggunakan router yang berbentuk perangkat keras ? Demikian populernya sehingga router pun kini
lebih populer dan sering didefinisikan sebagai sebuah ¡° perangkat keras ¡±. Apa yang memotivasi mereka
untuk lebih memilih keluarga Cisco Router, 3Com, Accend, Nortel atau yang lainnya ? alasan yang biasa
disebut adalah sebagai berikut:
1. Stabilitas, karena lebih spesifik melakukan tugas sebagai router ketimbang sebuah sistem operasi
yang melakukan tugas sebagai router
2. Memiliki banyak alternatif koneksi
3. Keamanan, karena mendukung pemfilteran paket data
4. Kemudahan, karena dioperasikan menggunakan IOS ( Internetwork Operating System )
5. Praktis dan fleksibel dalam penempatan
Dengan catatan bahwa keunggulan tersebut harus diperoleh dengan merogoh kocek budget yang cukup
dalam. Untuk sebuah router second misalnya, k ita harus menyediakan budget antara 8 ¨C 9 juta per un itnya.
Alasan tersebut itu pula memunculkan pertanyaan, ¡° Apakah ada alternatif selain seperangkat router yang
cukup memadai untuk menjalankan tugas sebuah router ? ¡° Banyak solusi yang bermunculan untuk
menjawab pertanyaan tersebut. Lahir dari tradisi open source, FREESCO ( FREE ciSCO ) juga lainnya
seperti FloppyFW atau LRP ( Linux Router Project ) menawarkan alternatif untuk menyulap sebuah
komputer lama menjadi sebuah PC router yang bisa diandalkan. Selain sebagai solusi yang menghemat
budget juga cukup bisa memenuhi kebutuhan untuk menjalankan tugas sebuah router.
FREESCO berjalan di atas sistem operasi Linux dan seperti kebanyakkan distribusi Linux lainnya juga
tradisi open source, FRESSCO menyandang lisensi freeware dalam naungan GNU General Public
Licence. Untuk menjalankan FREESCO ini hanya diperlukan spesifikasi teknis sebuah komputer sebagai
berikut :
- Sebuah CPU 386 atau lebih baik lagi
- RAM minimal 8 Mb dengan swap disarankan 16 Mb atau lebih baik
- FDD 1.44 Mb
- HDD tidak diperlukan, tapi jika menginginkan penambahan fitur lainnya dapat menggunakan
harddisk tua berukuran ratusan Mega byte sampai 2 Giga byte
- Ethernet ( support sampai 10 unit ethernet )
- Modem ( support sampai 10 unit modem )
Apa yang bisa ditawarkan FREESCO sebagai alasan untuk mencoba alternatif ini ?
1. Murah,kita bisa memanfaatkan PC bekas mulai 386, ethernet dan modem
2. Fleksibel karena menerapkan arsitektur program yang terbuka yang terus berkembang dan bisa
dikompilasi ulang sesuai kebutuhan
3. Stabil karena memang spesifik digunakan sebagai router
4. Mudah mengoperasikan dan mengkonfigurasikannya via telnet, console maupun remote http
5. Mudah perawaatannya dan praktis. Kita bisa membackup disketnya.
6. Expandable, karena menggunakan sebuah PC yang memungkinkan penambahan alat / fitur baru
7. Cukup kaya akan fitur. FREESCO versi 3.2 menyertakan fitur sbb :
- Kernel Linux 2.0.39 + IP masquerad
- DNS Server (Internet Software Consortium BIND v4)
- DHCP Server (Internet Software Consortium)
- Time Server (proprietary)
- Remote HTTP (ACME Labs thttpd)
- Print Server (Steve Flynn)
- FTP Server
- PPPoE support
- Ident Server
- RAS

Memulai Instalasi FREESCO Pada Floppy Disk 1.44¡±
1. Download Linux distro FREESCO dari situs http://.freesco.org atau
http://freesco.sourceforge.net/ file freesco-032.zip
2. Unzip file tersebut menggunakan program winzip atau sejenis dan letakkan pada folder yang
kita tentukan, misalnya c:/freesco . Proses unzip tersebut akan menghasilkan file 18 buah file
3. Format sebuah floppy disk
4. Masuk ke DOS prompt lalu ketik :
cd freesco
c:\freesco>make_fd.bat (enter) instalasi akan berjalan secara otomatis atau
c:\freesco>rawrite ¨Cf freesco.32 ¨Cd a:
5. Test hasil instalasi FREESCO tersebut dengan mem-boot sebuah PC

Instalasi FREESCO Pada Harddisk
1. Buatlah FREESCO versi Floppy disk seperti petunjuk di atas
2. Format harddisk dengan DOS dan beri sistem DOS dengan pilihan /s pada perintah format
harddisk
3. Boot komputer tersebut dengan FREESCO versi floppy
4. Saat memunculkan boot prompt sudah ada pilihan untuk melakukan instalasi ke harddisk
pada boot kita bisa mengetik :
Boot : mv2hd (enter)
5. Selanjutnya akan muncul pilihan instalasi FREESCO ke partisi harddisk dalam format
Linux seperti /dev/hda1 , /dev/hda2 dst. Pilih ke partisi mana FREESCO akan diinstal pada
harddisk
6. Selanjutnya akan muncul penandaan drive ( drive letter ) apakah C,D,E dst
7. Proses instalasi akan segera dimulai, pilih (c) atau clean install dari pilihan yang ditawarkan
8. Selanjutnya jika proses tersebut sudah selesai, boot komputer dan keluarkan FREESCO
versi floppy
9. Kita bisa memulai FREESCO dari prompt, ketik perintah berikut :
C:\router.bat
10. Instalasi selesai

Proses Boot dan Menu Utama
1. Boot komputer dengan FREESCO
2. Pada Boot prompt langsung tekan ENTER untuk Boot secara normal
3. Login sebagai root :
Nama user : root
Password : root
Selanjutnya kita akan masuk ke MENU UTAMA dari FREESCO sebagai berikut :
CHOOSE ROUTER/SERVER TYPE
d) Dialup line router: ISP <-- modem0 --> router <- ethernetN -> local net(s)
l) Leased line router: ^-- <- modemN -> remote net(s)
e) Ethernet router: ISP <- network0 -> router <- ethernetN -> local net(s)
^-- <- modemN -> remote net(s)
b) ethernet Bridge: bridge <- ethernetN -> local net(s)
p) Print server: printer <- LPT -> server <- ethernetN -> local net(s)
r) Remote access server: ^-- <- modemN -> remote net(s)
a) Advanced settings t) Create reporT file
v) View current config w) vieW previous config
s) Save current config & exit q) Quit without saving
Your choice [] ?

Konfigurasi Fungsi -Fungsi FREESCO

Selanjutnya kita akan mulai melakukan konfigurasi dari FREESCO sesuai dengan fungsi yang akan kita
gunakan. Secara keseluruhan konfigurasi dilakukan secara interaktif yang disajikan menu FRESSCO
secara langkah demi langkah. Beberapa informasi yang cukup penting kita ketahui adalah beberapa
keterangan mengenai kode warna yang digunakan dalam konfigurasi FREESCO sebagai berikut :
? Hijau untuk parameter yang harus dikonfigurasi
? Kuning parameter optional
? Merah parameter yang diperuntukan bagi yang benar-benar paham untuk mengkonfigurasinya
Untuk memudahkan, proses konfigurasi ini dibagi menjadi 2 langkah :
1. Pemilihan menu fungsi dan konfigurasi fungsi
2. Prosedur konfigurasi umum

Tahapan lengkap proses konfigurasi adalah sebagai berikut:
1. [Konfigurasi Dial-Up / Modem to Ethernet Router]
+ Dari menu utama pilih, opsi (d)
+ Ikuti Prosedur [Konfigurasi Umum (9)]
49. Do you want to enable DynDNS/DHS/CJB (y/n)
----- If you choose (y) then
---------- 49. Want to setup your DynDNS client now (y/n)

81. LIST OF CURRENTLY DEFINED ISP's
[ ISP name Login name Phone number(s) ]
-------------------- -------------------- --------------------
New <<>>
-------------------- -------------------- --------------------
NOTE: Default ISP marked with - *
[ Selected ISP = new ]
811. Edit selected ISP
------- 10. ISP/connection name (1-8 chars)
------- 11. ISP phone number
------- 12. Keep up link for sec (0-dont care, 1-forever)
------- 13. Primary DNS address
------- 14. Secondary DNS address
------- 15. ISP http proxy address
------- 16. Type of connection (ppp or slip)
------- 18. Does your ISP give you a dynamic IP address
------- 21. Custom initialization string (- disable)
------- 22. Authentication method (pap, chap, or script)
------- 31. PAP/CHAP ISP login (' clear)
------- 32. PAP/CHAP ISP password ('clear)
812. Define new ISP
------- 10. ISP/connection name (1-8 chars)
813. Make selected ISP default when router starts
819. Delete selected ISP
Select ISP (type its name) or action on selected ISP (x-exit)
*NOTE*
In order to perform modifications on a defined ISP, you must first type in the ISP name. At
which point it will become selected for editing.
+ Do you want to change the "root" and "admin" passwords(y/n)
+ Configuration is complete. Save settings, and restart system.
2. [Leased / Modem to Ethernet Leased Line]
¡¡
+ Dari menu utama pilih, opsi (l)
+ Ikuti Prosedur [Konfigurasi Umum (9)]
49. Do you want to enable DynDNS/DHS/CJB (y/n)
----- If you choose (y) then
---------- 49. Want to setup your DynDNS client now (y/n)
+ Do you want to change the "root" and "admin" passwords(y/n)
+ Configuration is complete. Save settings, and restart system.
3. [Ethernet to Ethernet Router]
+ Dari menu utama pilih, opsi (e)
+ Ikuti Prosedur [Konfigurasi Umum (9)]
Primary DNS is required ... ... ... Secondary DNS is optional.
Primary DNS address (usually your provider's DNS)
Secondary DNS address (otherwise -)
49. Do you want to enable DynDNS/DHS/CJB (y/n)
----- If you choose (y) then
---------- 49. Want to setup your DynDNS client now (y/n)
+ Do you want to change the "root" and "admin" passwords(y/n)
+ Configuration is complete. Save settings, and restart system.
4. [ADSL-PPPoE]
¡¡
+ Untuk konfigurasi ADSL ikuti prosedur konfigurasi Ethernet to Ethernet
+ And, if you need to use PPPoE with your ADSL provider
----- 626. Use PPPoe = (y)
91. Ethernet ISP
----- 911. Gateway
----- 912. Primary DNS
----- 913. Secondary DNS
----- 914. HTTP proxy
----- 915. PPPoE login name
----- 916. PPPoE password
5. [Print Server ]
+ Dari menu utama pilih, opsi (p)
+ Ikuti Prosedur [Konfigurasi Umum (9)]
+ Do you want to change the "root" and "admin" passwords(y/n)
+ Configuration is complete. Save settings, and restart system.
6. [Remote Access]
+ Dari menu utama pilih, opsi (r)
+ Ikuti Prosedur [Konfigurasi Umum (9)]
+ Do you want to change the "root" and "admin" passwords(y/n)
+ Configuration is complete. Save settings, and restart system.
7. [Ethernet Bridge]
+ Dari menu utama pilih, opsi (b)
+ Ikuti Prosedur [Konfigurasi Umum (9)]
+ Do you want to change the "root" and "admin" passwords(y/n)
+ Configuration is complete. Save settings, and restart system.
8. [Menu Advance Setting]
Ketikan kita menjalankan proses setup dan kemudian memilih menu ¡°Advance Setting¡± kita
akan bertemu dengan menu utama Advance Settingsebagai berikut :
Sebelum mengotak-atik menu yang cukup riskan ini, disarankan agar kita dapat melihat-lihat
apa saja yang dikonfigurasikan dalam advance setting tersebut. Kita dapat aman melihat-lihat
menu yang ada dengan memilih keluar konfigurasi tanpa menyimpan data ke disket atau ke
harddisk kita.

[ System Options ] [ Users/Passwords ] [ Hardware ]

11. On/Off NAT/Firewall 31. root/admin 52. COM ports
12. On/Off Bridging mode 32. Dial-in users 53. Ethernet cards
13. Memory/Extra 33. Dial-out control
14. Savers (screen,hdd) [ Networks ]
15. Swap file [ Services ] 61. Host/Domain
16. Log sizes 41. DNS/server 62. Local Networks
17. Diagnostic beeps 42. Read only floppy
18. On/Off Debugging 43. DHCP server [ Modems ]
19. Extra ram drives 44. HTTP server 71. Modem settings
20. System monitor 45. Control Panel
21. Console colors and Time server [ Dial-up router ]
46. Print server 81. Add/Edit/List ISP
[ Security/Limitations ] 47. Telnet server 82. Diald options
22. Remote Access 48. Port forwarding
23 Ban list 49. DynDNS client [ Permanent router ]
24. Internal security 50. Ident server 91. Ethernet ISP
51. FTP server 92. Leased line ISP

[ Add-on packages ]
p. Packages menu

9. [Konfigurasi Umum]
Seluruh konfigurasi fungsi router yang ada pada FREESCO kecuali Ethernet Bridge secara
umum menampilkan konfigurasi sebagaimana yang ditampilkan berikut ini :

611. Hostname of this computer [router]
612. Domain name [inet]

NETWORK CARD SETTINGS
[- NIC 0 -] ... thru to ... [- NIC 9 -]
----- enter the Nic # to change it's settings
----- for PCI Nic's, choose 0 for both I/O and IRQ settings
----- x - exit, when done
[ Network # ] 0. 1. 2.
[ Interface ] eth0
[ IP address ] 192.168.0.1
[ Network # ] 3. 4. 5.
[ Interface ]
[ IP address ]
[ Network # ] 6. 7. 8.
[ Interface ]
[ IP address ]
[ Network # ] 9.
[ Interface ]
[ IP address ]


[ -------------- Network # specific settings -------------- ]
620. Interface name
Possible types of interfaces
ethN - ethernet interface number N, ex. eth0
ethN:M - alias number M for ethernet interface number N
arcN - kind of arcnet interface
arcNe - kind of arcnet interface (probably most used)
arcN:M -
arcNe:M - aliases for arcnet interfaces
trN - tokien ring interface

TrN:M - alias for token ring interface
sbniN - granch SBNI12 board
621. IP address
622. Network mask
623. Network addr
624. Broadcast addr
625. DHCP pool
----- IP range for DHCP server, - disable DHCP service on
this interface
Examp le: 192.168.0.10 192.168.0.30
Note 1: DHCP daemon eats memory for this pool, so be
realistic and do not reserve too many addresses
Note 2: Don't include Freesco's own address in this
range.
Don't include very first and last IP addresses:
this example is wrong
192.168.1.0 192.168.1.255
626. Use PPPoE
----- choose (y) only if your ISP requires PPPoE
----- If you choose PPPoE, then
---------- 630. ClampMSS
Rewrites all packets for PPPoE connections so that internal
machines do not need to have their MTU changed to 1492.
As this is CPU intensive, it is not recommended for slower
CPU's.
---------- 632. MTU
For changing the Maximum Transmit Unit of the external
interface.
627. Use DHCP client
----- Use DHCP client to configure network
628. Set DNS via DHCP
----- Update DNS server settings by DHCP
629. MAC addr
Should be left blank in most configurations.
MAC spoofing is for imitating another network card which
your ISP has assigned it's MAC address into their system.
631. Gateway
----- Enter your ISP's default gateway here.
----- NOTE 1: not all IPS's require this setting
----- NOTE 2: not required when using the dhcp client
[ *NOTE* ]
(1). With Dialup & Leased router, and for eth0 (that is the
first network card) options 620-629 are availab le
(2). With Ethernet, Print & Remote Access, and for eth0
(that is the first network card) options 620-632 are
available, excluding 625
(3). And for all other network cards, op tions 620-625 are
available
choose network 0-9 or its parameter to change (x-exit)?
Autodetect modems now? (y/n)
Advanced modem setup? (y/n)
----- If you choose (y), then
¡¡
51. COMMUNICATION PORTS SETTINGS
[ #0 COM1 (0x3F8 IRQ4) ] [ #2 COM3 (Ox3E8 IRQ4) ]
I/O = I/O =
IRQ = IRQ =
Extra = Extra =
[ #1 COM2 (0x2F8 IRQ3) ] [ #3 COM4 (0x2E8 IRQ3) ]
I/O = I/O =
IRQ = IRQ =
Extra = Extra =
[ #4 AST Unix four(eight) ports board - cua4-cua7(cua4-cua11) ]
Base I/O =
Shared IRQ =
Extra =
UART type =
Mask Rgstr =
Communication hardware settings. Enter a # or (x-exit)
71. MODEMS SETTINGS
¡¡
[ Modem # ] 0. 1. 2. 3. 4.
[ Port ]
[ Modem # ] 5. 6. 7. 8. 9.
[ Port ]
710. Search and autoconfig modems
[ Modem # specific settings ]
711. Port
712. Port speed
713. Init string
714. Dial-in IP addr
NOTE: If this modem is for dialin use, this is the IP address assigned to the dialin or
null modem user. Setting this to an unused address in your local network's subnet will
allow Freesco to do proxy arp for the modem user.

715. Enable null modem
Null connect script


NOTE: This feature enables a null modem cable connection on this interface. If you
have a dialup internet connection *DO NOT* enable this feature on Modem-M
The Modem connect script is the sequence of code that is sent and received by the
client and the server. The default for a null modem is
CLIENT OK
However, if you are using an actual modem driver in your client. A more involved
sequence is required. Example:
AT OK ATH OK ATE0V1 OK AT OK ATDT CONNECT
[ Common settings ]
716. Modem # MTU
717. Modem # MRU
718. Modems 0-9 MTU
719. Modems 0-9 MRU
Choose modem 0-9 or parameter to change (x-exit)
411. Enable caching DNS server (y/s/n)
----- If you choose (y/s), then
---------- 412. Enable DNS requests logging (y/n)
---------- 413. Do you want to add static IP's to your DNS file (y/n)
431. Enable DHCP server (y/n)
----- If you choose (y), then
---------- 432. WINS address (if you have one, otherwise -)
---------- 433. Default-lease-time (sec)
---------- 434. Maximum-lease-time (sec)
---------- 435. Do you want to create/edit static DHCP leases (y/n)
441. Enable public HTTP server (y/s/n)
----- If you choose (y/s), then
---------- 442. Public HTTP server IP port [80]
451. Enable time server and router control via HTTP (y/s/n)
----- If you choose (y/s), then
---------- 452. Control HTTP server IP port [82]
---------- 453. Host Time server address (- disable syncing time)
461. Enable Print Server(s) (y/s/n)
----- If you choose (y/s), then
---------- Print server 1 port number [515]
---------- Print server 1 device port name [lp1]
---------- Allowed IP match with [1]
---------- Print server 2 port number []
---------- Print server 2 device port number []
---------- Allowed IP match with []
47. Enable Telnet server (y/s/n)
51. Enable FTP server (y/s/n)
----- If you choose (y/s), then
---------- FTP port [21]
---------- Maximum Allowed FTP connections [5]
---------- Allow anonymous FTP connections (y/n)
50. Do you want to enable the ident server (y/s/n)
This server gives out system information. It is not a
huge security risk other than giving the type of system.
Which can be exploited by an attacker. It is recommended
to leave this set to either (s) or (n). However, to get some
applications to run through Freesco, such as IRC it may be
required to use (y)
141. Blank screen after N min (0-never)
142. Stop hdd after N*5 sec (0-never)
15. Swap file size in MB on boot device (0-disable)
13. Do you want to enable extra modules/programs (y/n)
19. Do you want to install ram drives (y/n)
161. System log size (bytes)
162. Logins log size (bytes)

Untuk memfungsikan dan mengkonfigurasikan FREESCO ini diperlukan juga pengetahuan mengenai
konsep-konsep TCP/IP, routing dan networking secara umum.

Tuesday, April 04, 2006

Tech tips : Upgrading IOS cisco router's

There are some nasty, nasty SNMP vulnerabilities that have recently been revealed. Many different products are affected. See the CERT Advisory Here. This inspired us to upgrade our Cisco. To upgrade the IOS on your Cisco router, you have a couple of options. You can either upgrade via TFTP, or you can use the console. We used a 1600 router, so the procedure below is quite specific. Your mileage may vary.To use TFTP, you need to download and install TFTP. Here is one source for TFTP. This version also works fine on XP.
First of all, before you touch anything, you should list your configuration using the command:
# show config
Print your config to paper, just in case. Your config should stay during the IOS upgrade, but you never know what could happen. You may want to make sure you have console access to the router, as well as the ability to connect to it via the ethernet port. You can temporarily change the address on the ethernet port if you wish by entering: conf term

At the (config)# prompt select the interface: int eth0

then ip address x.x.x.x y.y.y.y

where x is the ip address and y is the subnet mask. Use the earlier show config command so you can set it back when you are done. You could also enter a secondary address instead. Whatever you like.You can find out what the name of your current flash image is by:
show flash

The next thing you should do is copy your current image (flashimage) up to the TFTP server: copy flash:flashimage tftp://ipaddress/flashimage
You should see an entry like this in the log of your tftp server: Receiving 'flashimage' file from x.x.x.x in binary mode

Copy your current image twice if you wish, to different file names, just to be safe. Browse Cisco to be very sure you have the right image. If you load the wrong image of IOS, your router won't work. Pay attention to the amount of RAM your system has, and how much the upgraded IOS needs. IOS 12.2 needs more RAM than 12.0, and Cisco isn't lying about this. When you are happy you have the right image: delete flashimage copy tftp://ipaddress/flashimage
flash:flashimage

You will be asked if you want to erase the current image. Say yes. When it is done loading, change your eth0 IP if needed, and remove any old boot references: conf termno boot system flash oldflashimagenameboot system flash flashimageexit

Now copy your config: copy running-config startup-config

Reload, and you are set: reload

Now, when you reboot all should come up ok. If it doesn't, you will have to use the console port and xmodem to load an image that does work, and this is painful. Here is how to do it. Pretty much, you just hit ctrl-break (At least with the version of HyperTerminal we used) when the router boots to get into rommon. Minicom or other terminal programs may have different sequences. Try ctrl-c, esc, etc. After you successfully enter rommon, you just:

rommon> xmodem -cf fileimagename

then, from your terminal program, send the file using xmodem. On our 1600, we had to do this at 9600 baud. We couldn't figure out how to change our router to transfer faster than 9600, although we did see some references to how to do it. At 9600 baud, it takes about 50 minutes to reload IOS. After you are done uploading the image, remove the old boot references and copy config to start as above. If all else fails, you could go back to the flash image that you copied via TFTP.