Notebook/Laptop As Wifi Hotspot

24 January 2012 Leave a comment

Buka command prompt, terus ketik:

netsh wlan set hostednetwork mode=allow ssid=MyNet key=123456789 keyUsage=persistent

Untuk menjalankan, ketik:

netsh wlan start hostednetwork

Untuk mengakhiri, ketik:

netsh wlan stop hostednetwork

 

Catatan: ngetiknya dilaptop/notebook bukan dihape…

Troubleshooting: VMWare – Cannot ping Windows XP virtual machine from outside

15 January 2012 Leave a comment

Source: http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1004897

A Windows XP installation automatically turns on the Windows firewall. Default firewall settings do not allow pings from outside and prevent ICMP echo requests from reaching the virtual machine running the firewall.

Note: Patch updates may re-enable ICMP blocking.

You must change the f irewall settings to allow outside pings and ICMP echo requests.

To change the firewall settings, run the command:

netsh firewall> set icmpsetting 8 ENABLE

Troubleshooting: VMWare Unidentified Network on Windows 7

11 January 2012 Leave a comment

Source: http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1004813

To redefine the VMware virtual NICs as endpoint devices:

  1. Click Start > Run, type regedit and, click OK.
  2. Navigate to HKEY_LOCAL_MACHINE > System > CurrentControlSet > Control>Class > {4D36E972-E325-11CE-BFC1-08002BE10318}.Caution: VMware recommends that you back up this registry key before proceeding. To backup the registry:
    1. If {4D36E972-E325-11CE-BFC1-08002BE10318} is not still highlighted, click it.
    2. Go to File > Export.
    3. Pick a location and name for the Registration File (*.reg) .
    4. Click Save.
  3. Click 0000.
  4. Look at the content of the Data field associated with the DriverDescentry.
  5. If you see VMware Virtual Ethernet Adapter for VMnet<x>, where<x>is replaced by a number, then:
    1. Right-click an empty space in the right content pane.
    2. Click New > Dword.
    3. Type *NdisDeviceTypeand press Enter.Note: Be sure to include the asterisk (*) at the beginning of the entry.
    4. Double-click *NdisDeviceType.
    5. Type 1 and press Enter.
  6. Repeat steps 4-6, replacing 0000 in step 4 with the next entry in numerical order, until you have reached the end of all numerical entries.
  7. Follow the Disable the VMware virtual NICs section of this article above.
  8. Repeat step 7 but click Enable this network device instead.

Mungkin berguna juga untuk kasus lain yang mirip.

PHP Function (ini_set)

10 April 2011 Leave a comment

Fungsi ini_set pada PHP dapat digunakan untuk menyeting konfigurasi PHP (php.ini) langsung pada saat pengeksekusian skrip dan konfigurasi akan kembali seperti semula ketika pengeksekusian skrip berakhir.

Fungsi:
ini_set ( string $varname , string $newvalue )

Contoh:
Jika pada konfigurasi PHP (php.ini) konfigurasi error_display=Off, sedangkan kita ingin menampilkan error pada halaman web tanpa harus merubah file konfogurasi PHP (php.ini) maka kita dapat menggunakan fungsi ini_set ini.

error_reporting(E_ALL);
ini_set(‘display_errors’,'On’);

Ok!

Follow

Get every new post delivered to your Inbox.