Showing posts with label Tricks. Show all posts
Showing posts with label Tricks. Show all posts

Monday, May 30, 2016

How To Change IP Address From Another Computer

As network administrator, sometimes I need to change IP Addresses, Subnet Masks, Gateways and DNS to any client in my office. But I'm too lazy to walking across the room to change it at the front desk. Then I found a good method to do this job remotely from my computer.

All you need is PSTools a compilation of some useful tools to manage your client computer with Command prompt.

How to use :

Download PSTools and extract to anyplace you want. Then open command prompt on the folder.

PsExec is a light-weight telnet replacement that lets you execute processes on remote systems. You can use IP addresses or hostnames with PsExec. To launch an interactive command prompt on a remote computer, run the following command (you should run theses commands as domain admin):

psexec.exe \\ip_or_hostname cmd

If you are unable to connect to the remote system, it may have something to do with a firewall or antivirus on the remote system. Or also you need to type username and password to connect to client computer. As example :

psexec.exe \\ip_or_hostname -u username -p password cmd

Now that you have an interactive command prompt open on the remote system, we will be using the netsh command to change all the IP info. To find the name of the interface you would like to change, run this command:
netsh interface ip show config
Here are the commands to set or change an IP address, gateway, subnet mask, and DNS servers:
Set IP address, gateway, and subnet mask statically:

netsh interface ip set address name="Local Area Connection" static 192.168.1.34 255.255.255.0 192.168.1.254 1

Set IP address, gateway, and subnet mask to be received by DHCP (This will attempt to renew the IP info immediately after running this command):

netsh interface ip set address name="Local Area Connection" source=dhcp

To set a primary DNS server (if there are multiple DNS servers set prior, this will remove them):

netsh interface ip set dns "Local Area Connection" static 4.2.2.1

To set a secondary or additional DNS server:

netsh interface ip add dns "Local Area Connection" 8.8.8.8

To set the DNS servers to be received by DHCP (This will attempt to renew the DNS info immediately after running this command):

netsh interface ip set dns "Local Area Connection" source=dhcp

I hope this help you and feel free to comment if there is any questions.

Sunday, May 19, 2013

Overclocking Asus EeePC 1015BX

Asus EeePC 1015BX is a cheap netbook with AMD APU C-60 with ATI HD 6290 graphic chipset. 2 GB RAM are soldered on mainboard so there is no chance to upgrade it.

By default the clock speed of C-60 is 1.0Ghz but this CPU has Turbocache which is can boost the speed automatically to 1.3Ghz when it load some heavy application. But I’m not satisfied with this speed when I need it to play a heavy game like Assassin’s Creed 2.

This is the CPU-Z result before and after overclocked :

notoc

brazosoc

I found a way to overclock this CPU with a software called Brazos tweaker. And I’m surprised, this low end processor can overclocked to 1.6 Ghz easily. Here I show you how to do it.

  1. Download Brazos Tweaker here.
  2. Set P0 State Mult = 2.5 VID = 1.0500, P1 State Mult = Default VID = 0.900, P2 State Mult = 8.0 VID = 0.75
  3. Just leave the other set by default
  4. Choose High Performance, Apply and reboot.

Now I can play my fave Assassin’s Series with better FPS. Enjoy.

Friday, November 23, 2012

Easy Way to Share Internet from Ubuntu to Mobile Device

If you are trying to share your internet connection between computers, you can easily to make ad-hoc connection on your laptop and share it to the others. But it's getting hard when you tried to share your laptop internet connection to another mobile devices like Android or Windows Mobile. Because not every devices can read ad-hoc access point across platform. Here it is I'll show you  how to make it possible.

I have to inform you what I've been use to do this action:

1. Asus EeePC 1015 BX (netbook) with Atheros series WiFi
2. Android Tablet with Gingerbread version 2.3.4
3. Ubuntu 12.04 LTS Precise
4. USB Modem CDMA EVDO

First thing you need to install some supporting application. Open the Terminal console you can found it on Unity Menu or press Ctrl-Alt-T on keyboard. Then type this following command:

sudo apt-get install hostapd
sudo apt-get install dhcp3-server

or copy the command above and hit Ctrl-Alt-V to paste on Terminal

create hostapd.conf file with this command:

sudo gedit hostapd.conf

Then add this following text on hostapd.conf file:

interface=wlan0
driver=nl80211
ssid=replace_this_SSID_name
channel=1
hw_mode=g
auth_algs=1
wpa=3
wpa_passphrase=replace_this_password
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP CCMP
rsn_pairwise=CCMP

Save it.

Now edit dhcpd.conf file

sudo gedit /etc/dhcp3/dhcpd.conf

And add this following text to file:

option subnet-mask 255.255.255.0;
default-lease-time 600;
max-lease-time 7200;

option domain-name-servers 8.8.8.8, 8.8.4.4 ;
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.10 192.168.1.254;
option broadcast-address 192.168.1.255;
option routers 192.168.1.1;
}

(no need to worry if the file is empty, just add those text above)

Edit dhcp3-server file : 

sudo gedit /etc/default/dhcp3-server

Find INTERFACES="" text and change it to INTERFACES="wlan0"

Now you have to forward your internet connection by editing this file

sudo gedit /etc/sysctl.conf

Remove the hash symbol on # net.ipv4.ip_forward=0
then change the value from 0 to 1

Then edit rc.local file : 

sudo gedit /etc/rc.local

Add this text below :

/sbin/iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
ifconfig wlan0 inet 192.168.1.1 netmask 255.255.255.0
hostapd -d hostapd.conf &
/etc/init.d/dhcp3-server restart

Just before "exit 0" script.

If you want to share internet connection on LAN, just replace ppp0 with eth0.

At this step, you can reboot your computer.

Connect the computer to the internet with USB modem or LAN then run the hostapd application to share the connection from WiFi with this command from Terminal console:

sudo hostapd ./hostapd.conf

You computer is already to an Access Point. Next, you have to setup your mobile devices.

Turn on WiFi on your mobile and scan for available network. Choose your already made hot spot and fill the password. If your mobile device can't obtain IP address. So you need to input  it manually.

You can put this address on your mobile:

IP address : 192.168.1.10 to 192.168.1.254 
Netmask : 255.255.255.0
Gateway : 192.168.1.1
DNS 1 : 8.8.8.8
DNS 2 : 8.8.4.4

It shoud work now.

Sunday, September 23, 2012

Beberapa Cara Meningkatkan Pendapatan Adsense

Mungkin bagi para publisher adsense sudah cukup bosan membaca artikel seperti ini. Namun tidak ada salahnya kita mengevaluasi kembali atau setidaknya mengingat kembali bagaimana kita bersusah payah membangun bisnis adsense.

Ada banyak cara meningkatkan pendapatan dari adsense. Mulai dari tata letak penempatan iklan, target visitor atau tehnik SEO lainnya. Saya akan membahas beberapa cara yang cukup efektif yang saya dapatkan dari berbagai forum juga tutorial adsense di internet.

1. Content

Ingat, pengunjung mendatangi blog anda karena isinya. Blog anda akan bernilai tinggi jika pengunjung menemukan blog anda melalui Search Engine, kemudian berapa lama mereka membuka blog anda lalu kembali lagi kemudian waktu. Jika pengunjung datang melalui Search Engine artinya blog anda memiliki rangking yang baik pada web portal seperti Google, Yahoo atau Bing. Blog anda bisa mendapatkan rangking yang baik karena artikel pada blog anda sangat relevan dengan kata kunci pengunjung. Memang semua itu bisa anda pelajari melalui trik-trik SEO yang saya rasa cukup panjang untuk dijelaskan di sini.

Saran : Secara sederhana saya ingin mengatakan buatlah artikel sebanyak mungkin pada blog anda dengan topik yang saling berkaitan (niche). "Buatlah" bukan copy paste dari blog orang lain.

2. Layout

Perbaiki tata letak blog anda. Selama ini saya berpikir bahwa blog dengan banyak aksesoris akan terlihat keren. Hampir semua blog saya (dulu) menggunakan widget, animasi flash atau pop up. Memang awalnya saya menikmati hal itu, namun kenyataannya trafik pengunjung blog-blog saya mulai menurun. Loading time yang lama, animasi yang mengganggu artikel. Juga pop up yang menyebalkan menghambat pengunjung saat membuka artikel. Saya lupa akan tujuan blog yang sebenarnya. Ternyata blog yang sederhana lebih disukai pengunjung, karena mereka membuka blog anda untuk melihat isi atau artikel blog anda. Bukan untuk menonton animasi flash.

Saran : Buatlah blog anda menjadi mudah dibaca. Buang widget atau plugin yang tidak penting untuk mempercepat waktu loading.

3. Jumlah Iklan

Penempatan iklan ternyata sangat berpengaruh pada pendapatan blog. Sebelumnya saya selalu menempatkan iklan sebanyak mungkin pada blog saya. Dengan harapan semakin banyak iklan yang muncul, maka akan semakin besar kesempatan saya mendapatkan klik dari pengunjung. Ternyata saya salah. Para pengguna internet saat ini sudah berevolusi, sudah semakin pandai membedakan iklan dan isi artikel. Jika anda mendapatkan klik, artinya mereka memang benar-benar tertarik pada iklan yang ada. Bukan karena tidak sengaja. Akhirnya saya mencoba sederhana, memasang iklan seadanya dan tidak mengganggu kenyaman pengunjung. Ternyata hal tersebut sangat efektif. CTR adsense saya meningkat karena tingginya kompetisi dari nilai iklan yang ada. Sebab saya hanya menyediakan 2 space pada blog saya untuk iklan.

Picture is courtesy of leciku.blogspot.com

Wednesday, August 29, 2012

Tweak Intel Graphics Netbook

Umumnya resolusi layar pada netbook adalah 1024 x 600, sementara kebanyakan games PC saat ini menggunakan resolusi minimal 1024 x 768. Seperti yang saya alami ketika mencoba menginstall The Sims 3 pada Netbook Asus 1005PX. Awalnya saya berpikir bahwa netbook ini tidak mampu menjalankan The Sims 3 karena keterbatasan hardware.



Asus EeePC 1005PX menggunakan Intel Atom 1.6 Ghz dengan memory bawaan 1 GB. Graphics card Intel GMA 3500 Series juga seharusnya cukup untuk menjalankan game ini.

Setelah mencari ke berbagai forum, ternyata keterbatasannya adalah resolusi yang tidak mendukung. Karena The Sims 3 membutuhkan minimal resolusi 1024 x 768.

Ternyata caranya cukup mudah untuk memaksa graphic card Intel untuk mencapai resolusi tersebut. Anda hanya perlu merubah registry pada Windows untuk memunculkan option pada pilihan resolusi.
Caranya adalah :
  1. Buka Registry Editor dengan cara ketik regedit pada search box di Start Menu.
  2. Tekan Ctrl F pada keyboard dan carilah key  “Display1_DownScalingSupported”
  3. Dobel klik pada string dan rubah nilai 0 menjadi 1
  4. tekan F3 untuk mencari key selanjutnya dan lakukan hal yang sama.
  5. Tutup jendela regedit dan restart komputer.
  6. Sekarang periksa pada pilihan resolusi layar dan pilih 1024 x 768.
Beberapa game yang membutuhkan resolusi 1024 x 768 akhirnya bisa saya jalankan. Cara ini juga berguna untuk memunculkan fungsi Metro UI pada Windows 8.

Kelemahan dari tweak ini, display pada netbook akan menjadi melebar (stretched). Namun itu tidak terlalu menjadi masalah jika anda tidak menggunakan netbook untuk menjalankan software yang membutuhkan detail presisi seperti CorelDraw, Photoshop atau AutoCAD.

Note : Cara ini tidak berlaku untuk Graphic AMD/ATI dan NVidia.

Picture courtesy of Intel.co.id

Thursday, July 26, 2012

Hack the login password



Actually this program is useful for you to remember the login password on any website when you are using Mozilla Firefox or Internet Explorer. But the program is also useful for other people to see the password on the computer where you run the program. Because this program requires no installation, then your activities will not be tracked by the computer owner.

All kinds of login password will appear when the program is executed. Facebook, Yahoo, G-Mail, any website that you have open will be found by the program.

This program is made of course for a positive purpose, then use it wisely.

passwordfox

For the Mozilla web browser, please download here.
For Internet Explorer, please download here.