Pages

Sabtu, 13 April 2013

Setting Proxy Settings on Browsers

Posted by at 05.50

Setting Proxy Settings on Browsers 

Updated August 15, with new Option 5 below, using DNS to push proxy settings with a proxy.pac file called wpad.dat.

For a number of reasons, HTTP Proxy is much better than the Transparent HTTP Proxy. Therefore, you will want all your browsers to point to the BorderManager HTTP Proxy IP address, port 8080, for HTTP, FTP and Security/SSL. The trick is getting all those browsers configured if you don't have time to run around manually setting them yourself. This tip lists several ways that you can push the settings out to the browsers without physically going to the PC.

Option 1 - Make the Users Do It Themselves!

No, this is not a joke. It is surprisingly effective, (especially if there is a teenager around, who will gladly run around doing it for everyone else).

In this method, you cut off web browsing access by disabling Transparent HTTP Proxy and using default filters, then you provide good instructions on how to set the proxy settings. You will want to at least provide some documentation with screenshots of each menu option the users have to click on, and the proper proxy settings. When users are given the choice of no internet access, or following a simple set of screenshots, 99% of them will get themselves on the Internet within 48 hours. You will then have the time to set up the management PCs, and the Help Desk will have time to help Aunt Betty when she gets confused.

Option 2 - Push the Browser Settings in the Login Script (for Internet Explorer)

Internet Explorer stores proxy settings in the registry. This makes it particularly easy to update, using a variety of methods. Even if your users do not normally use Internet Explorer as their usual browser, you will want to configure the proxy settings because many other applications key off proxy settings in Internet Explorer.

In this method, you determine the proper registry key for your version of IE, export the settings to a .REG file, and then use REGEDIT in the login script to push the settings to the PC. If you leave the setting in the login script for several days, most of the PC's should be updated by then, and you can remove or comment out the commands. Here is an example:

In the container login script add the lines
#Regedit /s z:\public\setpxy.reg
This assumes that the Z drive is mapped to SYS: of their local servers. Once this is done copy SETPXY.REG.to the Public directory.

To create the SETPXY.REG file, open notepad & type in as follows:
REGEDIT4 (or whatever version of REGEDIT is on your PC, such as REGEDT32)
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
"ProxyServer"="<your proxy IP address>:8080"
"ProxyEnable"=dword:00000001
"ProxyOverride"="<local>"
Change <your proxy IP address> to the private IP address of your HTTP Proxy, and <local> to 127.0.0.1 or any combination of URL's for which you want to bypass the proxy. (I advise you to experiment with this for a while to get the syntax done correctly).

Option 3 - Push the Browser Settings with ZENWorks Application Launcher

Using ZENWorks (NAL), you can create a forced-run, run-once application for any browser that sets the proxy settings on the browser. Internet Explorer is probably one of the easiest browser to set, since it has a predictable registry key for proxy settings.

Netscape uses a text file called PREFS.JS which can be easily modified by a ZENWorks app, but the location of the file might be different on each PC, depending on how Netscape was set up. Search some of your PC's for that file, and if you are lucky, all PC's may have the file in a common location under a directory called Default.

Option 4 - Use DHCP to Push WPAD Settings for Browsers

Newer browsers can pick up certain settings from DHCP. Those settings can then be leveraged to have the browser pick up the proxy settings. See this Novell TID:
http://support.novell.com/cgi-bin/search/searchtid.cgi?/2953490.htm
and this Microsoft technical article:
http://www.microsoft.com/TechNet/IE/reskit/ie5/part3/ch13sser.asp 
This works for both Netscape and Internet Explorer. Also, see the Novell AppNote described below in option 6.

Caveat: I was simply never able to get this to work for some reason, but I was able to get Option 5 to work with Internet Explorer!

Option 5 -Use DNS & Web Server to Push WPAD Settings for Browsers

This one really took me a long time to figure out, but turns out to be pretty simple and easy. There is an option in Internet Explorer called Automatic Proxy Configuration. (As far as I know, as of August 15, 2003, this may be a feature only found in Internet Explorer). IE 6 comes with this option set by default.

The concept: When Internet Explorer is launched, it makes a DNS query for WPAD.<your domain.com> is the Automatic Proxy Configuration option is checked. If it gets a DNS response, it will look for a file called WPAD.DAT at that location. WPAD.DAT is simply a PROXY.PAC file renamed to WPAD.DAT. (See the note on PROXY.PAC files below, which also links to a sample I provide at this web site). The WPAD.DAT file contains a bit of java script (which you write) telling the browser where a proxy server is located and when to use it.

The setup: First, you need a working PROXY.PAC file. You will end up renaming it, and launching it from a web server. If you already are launching it from a web server per my tip on PROXY.PAC files, you have only to set up a DNS entry. Your PC's need to be pointing to your own internal DNS server as their first option. (You can easily set up an internal DNS server with NetWare 5.0 or later.) The DNS server needs to have a WPAD entry for your domain. So if you have a domain called, for instance, CJC.COM, you would have a DNS 'A' record for WPAD.CJC.COM. You also need an internal web server - you cannot use the BorderManager miniwebserver here, or a web server that does not default to using port 80.

Take a working PROXY.PAC file, rename it to WPAD.DAT, and copy it to the root of the web server. You should be able to type HTTP://WPAD.CJC.COM/WPAD.DAT in Internet Explorer and get a file download prompt. If so, just set IE for auto proxy config and it should work.

Troubleshooting: I had a lot of problems making this work at first, until I understood just how Internet Explorer works, and how my web servers were working. The DNS part was simple. The PROXY.PAC/WPAD.DAT file was also simple, since I was already using a PROXY.PAC file. But it just wasn't working. The reason was essentially because I had an overly complex web server configuration on my system. I have Apache, Novonyx and iFolder (another instance of Apache) all running on the same server at the same time, giving up web pages on 5 different IP addresses. The issue I had was, I think, due to my web servers relying on redirection of URL's to the proper document root directories. I put copies of WPAD.DAT into various locations, but they didn't seem to work. When I typed the proper URL in IE, I did get a download prompt as described above! Turns out I did NOT get a download prompt if I typed in HTTP://192.168.10.245/WPAD.DAT - which was where I had my WPAD DNS entry. Internet Explorer resolved my WPAD.CJC.COM query to 192.168.10.245, and it then tried to pull the file from the IP address, not the URL, but my web servers weren't set up to take that sort of query. Eventually, I simply put the WPAD.DAT file in my iFolder document root directory and pointed DNS there. (Note: I have iFolder listening on a secondary IP address using port 80, not 52080...) As long as you can get the WPAD.DAT in the root directory of a web server listening on port 80 of an IP address called out in DNS, you should be fine.

Option 6 - Use Browser Customization Kits to Lock Down the Browser

Both Internet Explorer and Netscape can be customized by an administrator with settings that can then not be modified by the user. The idea here is to set up the browsers as required, and then push the customized browser to the workstation, perhaps with ZENWorks. See this link for customization kits for Netscape:
http://home.netscape.com/bisdev/distribution/index.html
You need the 'IEAK' (Internet Explorer Administration Kit) for your version of Internet Explorer. Unfortunately, Microsoft's site seems to change URL's of internal pages a lot, so I am not sure if the link below will get you where you want to go, but a search for IEAK or IE Toolkit should eventually link you to the toolkit you need, for your version of IE.
http://www.microsoft.com/windows/ieak/default.asp

PROXY.PAC Files

The methods above all describe ways to set the proxy to a particular HTTP proxy address. However, you may have laptops that move from your LAN to other LANs (at home, for instance) where no HTTP Proxy exists, or where there is a different HTTP Proxy address. Situations like this are best handled with a PROXY.PAC file. A PROXY.PAC file is a bit of java script that configures the browser's proxy settings. Instead of pointing the browser to the proxy, you point it to the PROXY.PAC file instead. The PROXY.PAC file can be extremely versatile (and complex). I have provided a simple example in this tip.

Other Documentation - Novell AppNote

Novell has an AppNote with some of this information at the following URL:
http://developer.novell.com/research/appnotes/2002/april/02/a020402.doc

Sabtu, 26 Januari 2013

Pertolongan Pertama Smartphone atau Ponsel Terkena Air

Posted by at 00.59


Saat ini, banyak smartphone yang memiliki kemampuan anti air (waterproof) yang ditandai oleh dukungan sertifikat IP67. Contohnya Sony Xperia Acro S, Motorola Defy Mini, Samsung Xcover 2 dan sebagainya. Jadi, tak akan masalah jika terkena air atau ekstrimnya tercebur ke air.
 D514ea74d1e2e94727b569ae1d2d5124
Pertanyaannya, bagaimana jika smartphone biasa yang mengalami nasib sial tersebut?
Berikut ini langkah-langkah yang bisa diterapkan sebagai pertolongan pertama jika ponsel terkena air, agar ponsel Anda tersebut selamat dari ancaman kerusakan:
1. Keringkan ponsel
Keringkan ponsel Anda dengan menggunakan handuk atau kain bertekstur halus lainnya. Agar air di dalam ponsel Anda keluar, goyang-goyangkan ponsel Anda dengan perlahan. Hindari mengeringkan ponsel dengan menggunakan pengering rambut atau hairdryer karena sirkuit ponsel yang ada di dalam ponsel Anda sangat rentan terhadap panas.
2cc8f12f0febe51cc35e26c93a7fb77d
2. Gunakan Alkohol
Gunakan alkohol untuk mengeluarkan air dari dalam ponsel. Selain lebih cepat menguap, alkohol juga dapat memaksa air keluar.
0181da448170bb272959df57a12ec19c
3. Timbun dengan beras
Mungkin terdengar agak aneh, namun beras memiliki sifat menyerap kelembaban, oleh karena itu menimbun ponsel di dalam beras selama semalam juga dapat membantu menurunkan tingkat kelembapan ponsel Anda.
327cf44e48457f307b48692655b5565a
4. Gunakan Drybox
Drybox adalah media penyimpanan yang dilengkapi dengan serangkaian alat untuk memastikan kelembapan perangkat yang disimpan didalamnya terjaga. Dengan menempatkan ponsel di dalam drybox, Anda dapat mengatur agar tingkat kelembapan di dalam drybox serendah mungkin. Hal ini tentu sangat baik dilakukan agar tingkat kelembapan ponsel Anda dapat berkurang secara perlahan namun tetap aman.
Bf1b4f25e2ae36fd5f227ed397c588ec
5. Bawa ke teknisi
Jika semua usaha sudah Anda lakukan, namun ponsel Anda belum dapat dinyalakan saatnya untuk membawa ponsel Anda ke teknisi ponsel yang berpengalaman. Jangan malu untuk mengakui bahwa ponsel Anda rusak karena terendam air. Hal ini perlu Anda lakukan karena pada dasarnya ponsel milik Anda umumnya telah dilengkapi dengan indikator tertentu yang menunjukkan bahwa ponsel pernah terkena air.
Langkah 5
Semoga bermanfaat!

Jumat, 25 Januari 2013

Cara Setting radio wirelss Router TP-Link WR340 & WR740

Posted by at 16.35
Mungkin Cukup sulit atau  mudah untuk men-seting dan meng-konfigurasi router dengan modem ADSL, tinggal mengikuti panduan yang ada di dalam buku manualnya, sudah cukup senang untuk digunakan akses ke internet.
Setelah menghubungkan Modem ,  TP-Link router, Notebook/PC dalam kondisi OFF, seperti gambar berikut:


Ada dua cara untuk melakukan setting router TP-Link :
  1. Menggunakan CD Aplikasinya
  2. Melalui Halaman WEB / WEB browser.
Disini kita akan bahaskan dengan cara yang paling umum dipergunakan, yaitu dengan WEB browser.
  • Untuk biasa setting routernya, sebelumnya kita harus menyamakan segmentasi IP Address Notebook/PC yang akan kita pergunakan untuk mensetting dengan segment IP default Router (untuk TP-Link sebagian besar IP defaulnya adalah 192.168.1.1), jadi IP Notebook/PC kita set 192.168.1.69 (IP Address tidak boleh sama dengan Device yang akan di setting).
  • Melalui halaman web, Ketikan IP default Router di Web Browser, 192.168.1.1.

  • Masukkan default username & password router,  username: admin, password: admin
  • Setelah masuk di web Administrasi router TP-Link, disarankan untuk mengganti IP default  router/TP-Linknya, karena pada umumnya modem ADSL menggunakan default IP yaitu 192.168.1.1 .
  • Masuk ke menu: Network > LAN ganti IP Address TP-Linknya, Disarankan untuk merubah dengan segmentasi IP yang berbeda, menjadi: 192.168.2.1 dan Subnet Mask: 255.255.255.0. Save.

  • Disarankan juga untuk mengganti password defaultnya dengan cara memilih menu: System Tools -> Password selain ada pilihan mengganti password, juga ada disarankan untuk mengubah username defaultnya.
  • Restart TP-Link dengan memilih menu: System Tools -> Reboot
  • Tunggu beberapa saat, dan untuk masuk ke halaman web admin router/TP-Link nya, gunakan IP yang baru: 192.168.2.1 dan masukan username & password yang baru
  • Setelah masuk ke halaman administrator, pilih menu: Quick Setup dan ikuti langkah selanjutnya (klik tombol NEXT)
  • Pada saat Choose WAN Connection Type, pilih Dynamic IP; klik tombol NEXT
  • Pada halaman Wireless:
    1. Wireless Radio: Enable
    2. SSID: isi dengan nama ID yang akan di broadcast pada saat signal WiFi di pancarkan
    3. Region: Indonesia
    4. Channel: Disesuaikan, pastikan menggunakan Channel yang belum di pergunakan.
    5. Mode: 54Mbps (802.11g)
    6. Next
    7. Finish
  • Selanjutnya, setting Gateaway & DNS nya kita sesuaikan dengan setting ADSL Modem, masuk ke menu: Network -> WAN
    1. Klik Renew pada bagian Gateaway, dan isi dengan IP Modem: 192.168.1.1
    2. Pilih/checklist bagian Use These DNS Server
    3. Primary DNS: 203.130.196.5
    4. Secondary DNS: 202.134.0.155
    5. Save
  • Selanjutnya, setting untuk security routernya, agar tidak bisa digunakan oleh siap saja dengan memilih menu Wireless -> Wireless Setting, Beberapa setting sudah dipilih sesuai dengan setting sebelumnya.

    1. Pilih/Klik Enable Wireless Security
    2. Security Type: WEP
    3. Security Option: Automatic
    4. WEP Key Format: Hexadecimal
    5. Key1: 1234567890 (bisa diganti); Key Type: 64bit
    6. Save
  • Sampai tahap ini, router sudah bisa digunakan, namun untuk lebih memastikan, ada beberapa hal yang bisa disetting terlebih dahulu sebelum router nya di REBOOT
  • Setting range IP Client DHCP pada TP-Link nya dengan memilih menu: DHCP -> DHCP Setting, isi range IP sesuai dengan yang dikehendaki, misal: Start IP Address: 192.168.2.100 & End IP Address: 192.168.2.199, klik SAVE
  • Cek juga setting Time dengan memilih menu: System Tools -> Time sesuaikan dengan timezone dan waktu anda, klik SAVE
  • Reboot router TP-Link dengan memilih menu: System Tools -> Reboot
  • Router TP-Link anda siap digunakan. Cabut kabel LAN dari laptop/PC dan aktifkan WiFi nya, coba untuk search WiFi (SSID) router dan masukkan WEP yang telah di set pada saat melakukan koneksi ke router.  Good Luck

Jumat, 18 Januari 2013

JARINGAN KOMPUTER

Posted by at 16.31

Artikel Jaringan Komputer


 Macam-macam Jaringan Komputer : Artikel Jaringan Komputer

Tiga abad sebelum sekarang, masing-masing ditandai dengan dominasi yang berbeda. Abad ke-18 didominasi oleh perkembangan sistem mekanik yang mengiringi revolusi industri. Abad ke-19 merupakan jaman mesin uap. Abad ke-20, teknologi radio, tv dan komputer memegang peranan untuk pengumpulan, pengolahan dan media distribusi informasi. Abad ke-21 saat ini atau era-informasi, dimana teknologi jaringan komputer global yang mampu menjangkau seluruh wilayah dunia, pengembangan sistem dan teknologi yang digunakan, penyebaran informasi melalui media internet, peluncuran satelit-satelit komunikasi dan perangkat komunikasi wireless/selular menandai awal abad millenium.

Sejak me-masyarakat-nya internet dan dipasarkannya sistem operasi Windows95 oleh Microsoft Inc., menghubungkan beberapa komputer baik komputer pribadi (PC) maupun server dengan sebuah jaringan dari jenis LAN (Local Area Network) sampai WAN (Wide Area Network) menjadi sebuah hal yang mudah dan biasa. Demikian pula dengan konsep "downsizing" maupun "lightsizing" yang bertujuan menekan anggaran belanja (efisiensi anggaran) khususnya peralatan komputer, maka kebutuhan akan sebuah jaringan komputer merupakan satu hal yang tidak bisa terelakkan.
  • Pengertian Jaringan Komputer
Jaringan komputer adalah ”interkoneksi” antara 2 komputer autonomous atau lebih, yang terhubung dengan media transmisi kabel atau tanpa kabel (wireless). 

Autonomous adalah apabila sebuah komputer tidak melakukan kontrol terhadap komputer lain dengan akses penuh, sehingga dapat membuat komputer lain, restart, shutdows, kehilangan file atau kerusakan sistem. Dalam defenisi networking yang lain autonomous dijelaskan sebagai jaringan yang independent dengan manajemen sistem sendiri (punya admin sendiri), memiliki topologi jaringan, hardware dan software sendiri, dan dikoneksikan dengan jaringan autonomous yang lain. (Internet merupakan contoh kumpulan jaringan autonomous yang sangat besar.)

Dua unit komputer dikatakan terkoneksi apabila keduanya bisa saling bertukar data/informasi, berbagi resource yang dimiliki, seperti: file, printer, media penyimpanan (hardisk, floppy disk, cd-rom, flash disk, dll). Data yang berupa teks, audio maupun video, bergerak melalui media kabel atau tanpa kabel (wireless) sehingga memungkinkan pengguna komputer dalam jaringan komputer  dapat saling bertukar  file/data, mencetak pada printer yang sama dan menggunakan hardware/software  yang terhubung dalam jaringan bersama-sama 

Tiap  komputer, printer atau  periferal  yang terhubung dalam jaringan disebut dengan ”node”. Sebuah jaringan komputer sekurang-kurangnya terdiri dari dua unit komputer atau lebih, dapat berjumlah puluhan komputer, ribuan atau bahkan jutaan node yang saling terhubung satu sama lain. Didalam jaringan komputer dikenal sistem koneksi antar node (komputer),  yakni:
Peer artinya rekan sekerja. Peer-to-peer network adalah jaringan komputer yang terdiri dari beberapa komputer, terhubung langsung dengan kabel crossover atau wireless atau juga dengan perantara hub/switch.
Komputer pada jaringan peer to peer ini biasanya berjumlah sedikit dengan 1-2 printer. Untuk penggunaan khusus, seperti laboratorium komputer, riset dan beberapa hal lain, maka model peer to peer ini bisa saja dikembangkan untuk koneksi lebih dari 10 hingga 100 komputer.

Peer to peer adalah suatu model dimana tiap PC dapat memakai resource pada PC lain atau memberikan resourcenya untuk dipakai  PC lain, Tidak ada yang bertindak sebagai server yang mengatur sistem komunikasi dan penggunaan resource komputer yang terdapat dijaringan, dengan kata lain setiap komputer dapat berfungsi sebagai client maupun server pada periode yang sama.  

Misalnya terdapat beberapa unit komputer dalam satu departemen, diberi nama group sesuai dengan departemen yang bersangkutan. Masing-masing komputer diberi alamat IP dari satu kelas IP yang sama agar bisa saling sharing untuk bertukar data atau resource yang dimiliki komputer masing-masing, seperti printer, cdrom, file dan lain-lain.

Gambar  Peer to peer

Client Server merupakan model jaringan yang menggunakan satu atau beberapa komputer sebagai server yang memberikan resource-nya kepada komputer lain (client) dalam jaringan, server akan mengatur mekanisme akses resource yang boleh digunakan, serta mekanisme komunikasi antar node dalam jaringan.
Selain pada jaringan lokal, sistem ini bisa juga diterapkan dengan teknologi internet. Dimana ada suatu unit komputer) berfungsi sebagai server yang hanya memberikan pelayanan bagi komputer lain, dan client yang juga hanya meminta layanan dari server. Akses dilakukan secara transparan dari client dengan melakukan login terlebih dulu ke server yang dituju. 





Gambar Client Server

Client hanya bisa menggunakan resource yang disediakan server sesuai dengan otoritas yang diberikan oleh administrator. Aplikasi yang dijalankan pada sisi client, bisa saja merupakan resource yang tersedia di server. namun hanya bisa dijalankan setelah terkoneksi ke server. Pada implementasi software splikasi yang di-install disisi client berbeda dengan yang digunakan di server.
Jenis layanan Client-Server antara lain :
  1. File Server      : memberikan layanan fungsi pengelolaan file. 
  2.  Print Server   : memberikan layanan fungsi pencetakan.Database Server        : proses-proses fungsional mengenai database dijalankan pada mesin ini dan stasiun lain dapat minta pelayanan
  3.  DIP (Document Information Processing) : memberikan pelayanan fungsi penyimpanan, manajemen dan pengambilan data
Kelebihan Jaringan Pear To Pear 
  • Implementasinya murah dan mudah 
  • Tidak memerlukan software administrasi jaringan yang khusus
  •  Tidak memerlukan administrator jaringan
Kekurangan Jaringan Pear To Pear

  • Jaringan tidak bisa terlalu besar (tidak bisa memperbesar jaringan.
  • Tingkat keamanan rendah.
  • Tidak ada yang memanajemen jaringan.
  • Pengguna komputer jaringan harus terlatih mengamankan komputer masing-masing.
  • Semakin banyak mesin yang disharing, akan mempengaruhi kinerja komputer

v      Kelebhan Client Sever
  • Mendukung keamanan jaringan yang lebih baik 
  • Kemudahan administrasi ketika jaringan bertambah besar
  •  Manajemen jaringan terpusat
  •  Semua data bisa disimpan dan di backup terpusat di satu lokasi
      Kekurangan Client Sever

  • Butuh administrator jaringan yang profesional 
  •  Butuh perangkat bagus untuk digunakan sebagai komputer server 
  •  Butuh software tool operasional untuk mempermudah manajemen jaringan.
  •  Anggaran untuk manajemen jaringan menjadi besar.
  •  Bila server down, semua data dan resource diserver tidak bisa diakses
© Blog Dinda is powered by Blogger - Template designed by Stramaxon - Best SEO Template