I still keep my old Nokia 6300 for backup purpose and periodically sync to my MacBook Pro to keep the calendar and contact updated. Luckily Mac OS X provide iSync, but I have to install additional plugin to make it recognize my Nokia 6300. All you have to do is get the plugin from here, and just installed it. Or you could download this package, and extract it to /Library/PhonePlugins folder (you must create manually if PhonePlugins folder haven't exist already)
After that, you can launch iSync apps, Add Device, and just follow the instructions. Don't forget to backup your data before syncing the device.
Credit goes to ZealousPost.com
Sunday, September 19, 2010
Wednesday, August 11, 2010
Reveal Hidden Apps In Add/Remove Windows Components
This works with Windows XP Professional or Home edition, any service packs. In Add/Remove Programs, on the sidebar you'll find Add/Remove Windows Components button. There, you can add/remove applications that belongs to Windows installation. The problem is, some of them are hidden, so you cannot remove them. By editing a file, you can reveal those apps. Here's how to do it:
1. Start -> Run, type: c:\windows\inf\sysoc.inf
2. On the new popup Notepad window, do ctrl-F and type 'hide' (without quote), then press Enter.
Press Esc button to close Find window and you'll find the first highlighted 'hide' word. Press Del button to eliminate it. Instead of repeating using Find window, you can press F3 button, it will find next 'hide' word. Press Del button - F3 button - Del button and so on.
3. Press Alt-F-X to close the Notepad window, you'll be prompted to save it, answer with 'Yes'
And you're done. Open Control Panel -> Add/Remove Programs -> Add/Remove Windows Components to choose the programs you need.
Labels:
windows
Tuesday, August 10, 2010
NuevaSync For PalmOS
After trying and realize how simple it is to move my contact and calendar data and push gmail using Google Sync, I search around to find similar way to sync my Palm Treo 650 contact and calendar data with google as well. If you read my post about utilizing my treo 650, this is encourage me to try it.
All you need is register with 3rd party service called NuevaSync. For free service, you can get contact and calendar sync with google. And if you want more services like push email and tasks sync (with Toodledo service), you can upgrade your account to premium with annual fee only $25.
You can check detail steps here. What's not explain there is that you need at least VersaMail version 3.5 and EAS (Exchange Active Sync) updated. I'm using Treo 650, and since Treo 650's built-in VersaMail version only 3.1c, you have to upgrade it first. Instead of upgrading (that will make my tiny RAM exhausted), I did a custom ROM and put updated files inside Treo 650's ROM :)
I've no chance to try Tasks sync, but push mail with gmail went smooth and it also runs well, almost no delay. One minor disadvantage is that folders (or you could say labels) in gmail doesn't show up in my VersaMail. Only Inbox and Trash that show up. But if you're not using labels like I did in gmail, I'll sure recommend this service. Enabling real push-mail ability in your Palm Treo 650 or any PalmOS device. Worth it! :)
All you need is register with 3rd party service called NuevaSync. For free service, you can get contact and calendar sync with google. And if you want more services like push email and tasks sync (with Toodledo service), you can upgrade your account to premium with annual fee only $25.
You can check detail steps here. What's not explain there is that you need at least VersaMail version 3.5 and EAS (Exchange Active Sync) updated. I'm using Treo 650, and since Treo 650's built-in VersaMail version only 3.1c, you have to upgrade it first. Instead of upgrading (that will make my tiny RAM exhausted), I did a custom ROM and put updated files inside Treo 650's ROM :)
I've no chance to try Tasks sync, but push mail with gmail went smooth and it also runs well, almost no delay. One minor disadvantage is that folders (or you could say labels) in gmail doesn't show up in my VersaMail. Only Inbox and Trash that show up. But if you're not using labels like I did in gmail, I'll sure recommend this service. Enabling real push-mail ability in your Palm Treo 650 or any PalmOS device. Worth it! :)
Monday, August 9, 2010
Using Mutt for Gmail on Mac OS X
First, you have to install Macports, then install mutt with all these compile options:
# sudo port -v install mutt-devel +ssl +smtp +date_conditional +deepif +gdbm +gpgme +headercache +idn +sidebar +trash +saslThen, on your .muttrc file, add these config:
--- begin of configuration ---
#account settings set from="YOUR_GMAIL_ADDRESS" set realname = "REAL_NAME" set imap_user = "YOUR_GMAIL_ADDRESS" set imap_pass = "PASSWORD" set smtp_url = "smtp://GMAIL_USERNAME@smtp.gmail.com:587" set smtp_pass = "GMAIL_PASSWORD" set folder = "imaps://imap.gmail.com:993" set spoolfile = "+INBOX" set postponed = "+[Gmail]/Drafts" set trash = "imaps://imap.gmail.com/[Gmail]/Trash" set record = "+[Gmail]/Sent Mail" set header_cache =~/.mutt/cache/headers set message_cachedir =~/.mutt/cache/bodies set certificate_file =~/.mutt/certificates set move = no #Stop asking to "move read messages to mbox"! set imap_keepalive = 900 # Header related stuff ignore "Authentication-Results:" ignore "DomainKey-Signature:" ignore "DKIM-Signature:" hdr_order Date From To Cc ignore * unignore from: date subject to cc unignore x-mailing-list: posted-to: unignore x-mailer: # Sorting, Markers etc. set markers=no # don't put '+' at the beginning of wrapped lines set pager_index_lines= 10 # how large is the index window? set sort = 'threads' set sort_aux = 'last-date-received' # Set which Editor to use for composing Emails. set editor= '/usr/bin/emacs' # set up the sidebar set sidebar_width=24 set sidebar_visible=yes set sidebar_delim='|' set sidebar_sort=no # which mailboxes to list in the sidebar, # you can add your Labels in Gmail to the Sidebar. mailboxes =All\ Mail =INBOX =Drafts =Sent\ Mail =Trash # color of folders with new mail color sidebar_new yellow default #Sidebar Navigation bind index \CP sidebar-prev bind index \CN sidebar-next bind index \CO sidebar-open bind pager \CP sidebar-prev bind pager \CN sidebar-next bind pager \CO sidebar-open # b toggles sidebar visibility macro index b 'toggle sidebar_visible' macro pager b 'toggle sidebar_visible' # Remap bounce-message function to "B" bind index B bounce-message #make mutt colorful! color attachment brightmagenta default color error brightred default color hdrdefault red default color indicator brightyellow red color markers brightcyan default color message brightcyan default color normal default default color quoted brightblue default color search default green color signature red default color status yellow blue color tilde magenta default color tree magenta default
--- end of configuration ---
On these line, you can customize it to use other file editor such as vi or vim. Since I'm not familiar with emacs, I'm using vi :)
# Set which Editor to use for composing Emails.
set editor= '/usr/bin/emacs'
And in these line, you can add/ remove any IMAP folders you already set on Gmail, prefix it with '=' :
# which mailboxes to list in the sidebar,
# you can add your Labels in Gmail to the Sidebar.
mailboxes =All\ Mail =INBOX =Drafts =Sent\ Mail =Trash
You will be prompted to accept 2 certificates when first firing up mutt, just accept it. Here's a screenshoot of my mutt interface:
Sunday, August 8, 2010
Several MacPorts Commands
Here is several MacPorts commands that I often used, with little description on every command. I always use -v option (as in verbose), to look at the detail downloading and compiling process.
1. sudo port -v selfupdate
- removing and downloading new file repository list, often updated
2. sudo port -v upgrade outdated
- upgrade outdate port, according to newest file repository list
3. sudo port -v uninstall inactive
- even after update, macports still kept the outdated version, you can execute this command to automatically vanish outdated version immediately
3. sudo port -v search [port]
- used for looking certain port
4. sudo port -v install [port]
- install certain port
5. sudo port -v uninstall [port]
- uninstall certain port
6. sudo port -v clean --all [port]
- clean up all port build and dependencies
7. sudo port -v activate [port@version]
- activate certain port version
8. sudo port -v installed
- shows up all port installed
1. sudo port -v selfupdate
- removing and downloading new file repository list, often updated
2. sudo port -v upgrade outdated
- upgrade outdate port, according to newest file repository list
3. sudo port -v uninstall inactive
- even after update, macports still kept the outdated version, you can execute this command to automatically vanish outdated version immediately
3. sudo port -v search [port]
- used for looking certain port
4. sudo port -v install [port]
- install certain port
5. sudo port -v uninstall [port]
- uninstall certain port
6. sudo port -v clean --all [port]
- clean up all port build and dependencies
7. sudo port -v activate [port@version]
- activate certain port version
8. sudo port -v installed
- shows up all port installed
Saturday, August 7, 2010
Concurrent RDP on Windows XP 64-bit Using Same User Account
In this post, I will give you step-by-step guide to make you be able remote desktop concurrently to Windows XP Professional Edition 64-bit with only one user account. It's a little different with my previous post, where it only be able to do remote desktop concurrently using different user account.
Step 1.
Disable remote desktop.
a. Right-click on My Computer -> Properties -> Remote (uncheck both boxes).
b. Then go to Control Panel -> Administrative Tools -> Services and double click on Terminal Services and change the startup type to disabled.
Step 2.
Get files.
a. Get the files here Antiwpa-V3.4.6 for X64 and X86.zip (source) TS-NoRestr-Patch-x64.rar (source). If the links don't work the sources will, the site is AntiWPA and you need to register to download the files.
b. Extract the zip file to a new folder and run AntiWPA3.cmd (just double click) it will apply the patch.
c. Extract the rar to a new folder (single word no spaces [I used "new"] c:\windows\new) in c:\windows double click the TSfix.reg file and click ok.
Step 3.
Get the windows XP 64-bit disk and reboot from disk. Then go to the recovery console and type 1 for C:\WINDOWS
code:
cd system32
copy winlogon.exe winlogon.exe_backup
cd ..
cd new
copy winlogon.exe c:\windows\system32
y
exit
Step 4.
a. When the computer reboots reboot in safemode by hitting F8 at the right time, choose regular safemode.
b. Login as an administrator and make sure that terminal services are still off as set in Step 1.
c. make a backup of c:\windows\system32\termsrv.dll and c:\windows\system32\dllcache\termsrv.dll (dllcache is a hidden folder, so make sure you already change the setting to show hidden/ system files)
d. replace those two files with the termsrv.dll from the rar (which has been extracted to c:\windows\new in Step 2)
e. 'Click Start, then “Run…”, type “gpedit.msc” (without quotes) and press ENTER;
open Computer Configuration -> Administrative Templates -> Windows Components -> Terminal Services;
double click “Limit number of connections”, choose “Enabled” and set the maximum number of concurrent connections you want to allow'.
reboot to normal.
Step 5.
a. Log on to the normal windows XP 64 bit and enable the remote desktop similar to Step 1
b. Switch the Terminal Services to manual also similar to Step1.
c. Reboot
Step 6.
Try it out, you should be able to have multiple logins using remote desktop to the same system without kicking each other off.
I tried by creating on user account 'testing', and I can make all 10 colleagues in office login using the same user account :)
Please give some comments, or if you have difficulties just let me know, so I can edit the post accordingly. Thanks.
Step 1.
Disable remote desktop.
a. Right-click on My Computer -> Properties -> Remote (uncheck both boxes).
b. Then go to Control Panel -> Administrative Tools -> Services and double click on Terminal Services and change the startup type to disabled.
Step 2.
Get files.
a. Get the files here Antiwpa-V3.4.6 for X64 and X86.zip (source) TS-NoRestr-Patch-x64.rar (source). If the links don't work the sources will, the site is AntiWPA and you need to register to download the files.
b. Extract the zip file to a new folder and run AntiWPA3.cmd (just double click) it will apply the patch.
c. Extract the rar to a new folder (single word no spaces [I used "new"] c:\windows\new) in c:\windows double click the TSfix.reg file and click ok.
Step 3.
Get the windows XP 64-bit disk and reboot from disk. Then go to the recovery console and type 1 for C:\WINDOWS
code:
cd system32
copy winlogon.exe winlogon.exe_backup
cd ..
cd new
copy winlogon.exe c:\windows\system32
y
exit
Step 4.
a. When the computer reboots reboot in safemode by hitting F8 at the right time, choose regular safemode.
b. Login as an administrator and make sure that terminal services are still off as set in Step 1.
c. make a backup of c:\windows\system32\termsrv.dll and c:\windows\system32\dllcache\termsrv.dll (dllcache is a hidden folder, so make sure you already change the setting to show hidden/ system files)
d. replace those two files with the termsrv.dll from the rar (which has been extracted to c:\windows\new in Step 2)
e. 'Click Start, then “Run…”, type “gpedit.msc” (without quotes) and press ENTER;
open Computer Configuration -> Administrative Templates -> Windows Components -> Terminal Services;
double click “Limit number of connections”, choose “Enabled” and set the maximum number of concurrent connections you want to allow'.
reboot to normal.
Step 5.
a. Log on to the normal windows XP 64 bit and enable the remote desktop similar to Step 1
b. Switch the Terminal Services to manual also similar to Step1.
c. Reboot
Step 6.
Try it out, you should be able to have multiple logins using remote desktop to the same system without kicking each other off.
I tried by creating on user account 'testing', and I can make all 10 colleagues in office login using the same user account :)
Please give some comments, or if you have difficulties just let me know, so I can edit the post accordingly. Thanks.
Labels:
windows
Friday, August 6, 2010
Set Proxy For Apt-Get in Ubuntu Server
Here is how to configure a proxy, so you can do apt-get behind proxy server. You need to add these lines into /etc/apt/apt.conf, create a new file if you don't find it.
Acquire {
http {
Proxy::ppa.launchpad.net "http://your-proxy:port/";
Proxy::security.ubuntu.com "http://your-proxy:port/";
Proxy::packages.medibuntu.org "http://your-proxy:port/";
Proxy::id.archive.ubuntu.com "http://your-proxy:port/";
};
}
Wednesday, August 4, 2010
Chit Chat for Facebook - Facebook Chat Application
If you ever read my post about facebook chat plugin for pidgin, and have tried it.. perhaps you can give a try for this application, Chit Chat for Facebook. Simple UI, simple preferences menu and light while operating it. I think that's become major advantages for this apps.
Standard, sleek and simple login interface, only need to input email and password (the same you use to login into Facebook). Preferences menu also simple as well, and all the option is self-explainable. On the first login, you will get a notification.. an offer to post update status in your Facebook. Basically it only says that you just installed and now using Chit Chat in your desktop :) So, it's your choice to put it on your wall or not.
Inside you'll see your online friends list. you can also have your offline friends shows up by changing preferences.
Chat window is simple as well, already have timestamp on every chat. So far, I have no difficulty in using this apps. For now its only available for Windows users, so we do hope in the future it will available for other OS as well.
Monday, August 2, 2010
Test AUTH SMTP Connection
Lengkapnya bisa diliat di link ini: http://qmail.jms1.net/test-auth.shtml. Saya coba summaries cara mudahnya sbb:
1. Create dulu base64 encode dari email address dan password kita:
$ perl -MMIME::Base64 -e 'print encode_base64("\000[mailbox]\@[domain]\000[password]")'
contoh:
$ perl -MMIME::Base64 -e 'print encode_base64("\000kostka\@cbn.net.id\000passkostka")'
AGtvc3RrYUBjYm4ubmkAGNibm00MWxndTM=
2. menggunakan telnet-ssl
$ telnet-ssl -z ssl smtps.cbn.net.id 465
Trying 210.210.145.21...
Connected to smtps.cbn.net.id.
Escape character is '^]'.
220 mx-corp3b.int.cbn.net.id ESMTP
ehlo cbn.net.id
250-mx-corp3b.int.cbn.net.id Hello cheyenne.cbn.net.id [202.158.50.81]
250-SIZE 10485760
250-PIPELINING
250-AUTH PLAIN LOGIN
250 HELP
auth plain AGtvc3RrYUBjYm4ubmkAGNibm00MWxndTM=
235 Authentication succeeded
mail from: kostka@cbn.net.id
250 OK
rcpt to: tslan@cbn.net.id
250 Accepted
data
354 Enter message, ending with "." on a line by itself
test ke-2 :)
.
250 OK id=1Obqkv-0004Qq-Nf
3. menggunakan openssl
$ openssl s_client -connect smtps.cbn.net.id:465
CONNECTED(00000003)
--- edited for security purposes ---
---
220 mx-corp3e.int.cbn.net.id ESMTP
ehlo cbn.net.id
250-mx-corp3e.int.cbn.net.id Hello cheyenne.cbn.net.id [202.158.50.81]
250-SIZE 10485760
250-PIPELINING
250-AUTH PLAIN LOGIN
250 HELP
auth plain AGtvc3RrYUBjYm4ubmkAGNibm00MWxndTM=
235 Authentication succeeded
mail from: kostka@cbn.net.id
250 OK
rcpt to: tslan@cbn.net.id
250 Accepted
data
354 Enter message, ending with "." on a line by itself
test kirim email via telnet ke smtps cbn :)
.
250 OK id=1ObqiT-000103-Kk
1. Create dulu base64 encode dari email address dan password kita:
$ perl -MMIME::Base64 -e 'print encode_base64("\000[mailbox]\@[domain]\000[password]")'
contoh:
$ perl -MMIME::Base64 -e 'print encode_base64("\000kostka\@cbn.net.id\000passkostka")'
AGtvc3RrYUBjYm4ubmkAGNibm00MWxndTM=
2. menggunakan telnet-ssl
$ telnet-ssl -z ssl smtps.cbn.net.id 465
Trying 210.210.145.21...
Connected to smtps.cbn.net.id.
Escape character is '^]'.
220 mx-corp3b.int.cbn.net.id ESMTP
ehlo cbn.net.id
250-mx-corp3b.int.cbn.net.id Hello cheyenne.cbn.net.id [202.158.50.81]
250-SIZE 10485760
250-PIPELINING
250-AUTH PLAIN LOGIN
250 HELP
auth plain AGtvc3RrYUBjYm4ubmkAGNibm00MWxndTM=
235 Authentication succeeded
mail from: kostka@cbn.net.id
250 OK
rcpt to: tslan@cbn.net.id
250 Accepted
data
354 Enter message, ending with "." on a line by itself
test ke-2 :)
.
250 OK id=1Obqkv-0004Qq-Nf
3. menggunakan openssl
$ openssl s_client -connect smtps.cbn.net.id:465
CONNECTED(00000003)
--- edited for security purposes ---
---
220 mx-corp3e.int.cbn.net.id ESMTP
ehlo cbn.net.id
250-mx-corp3e.int.cbn.net.id Hello cheyenne.cbn.net.id [202.158.50.81]
250-SIZE 10485760
250-PIPELINING
250-AUTH PLAIN LOGIN
250 HELP
auth plain AGtvc3RrYUBjYm4ubmkAGNibm00MWxndTM=
235 Authentication succeeded
mail from: kostka@cbn.net.id
250 OK
rcpt to: tslan@cbn.net.id
250 Accepted
data
354 Enter message, ending with "." on a line by itself
test kirim email via telnet ke smtps cbn :)
.
250 OK id=1ObqiT-000103-Kk
Thursday, July 22, 2010
Creating ISO Image Using DD Command
First, put the CD/DVD you want to make image into your optical drive, do not mount that CD/DVD.
If it was mounted automatically, unmount it with this command:
Then, do this command to create your ISO:
If it was mounted automatically, unmount it with this command:
# umount /[mount]/[directory]
Then, do this command to create your ISO:
# dd if=/dev/cdrom of=/tmp/[isoname].iso
- if=/dev/cdrom is the source
- of=/tmp/[isoname].iso is the filename of the ISO you create
Or you could use the long option:
# dd if= of=for bs (byte size), usually some power of 2, not less than 512 bytes, but can be any reasonable number (512, 1024, 2048, 4096, 8192, 16384)bs= skip=< > seek=< > conv= count=< >
OpenFire Server for Broadcast IM
These are some screenshoot of my OpenFire server configuration, I use this as an integrated service to communicate with all of my colleagues in my department. This way, we can share any update information in a more efficient and simple way :)
Tuesday, June 15, 2010
Concurrent Remote Desktop Connection On XP SP2 With Single Login
All you have to do is go to this website, then download the file specifically made for your system, then you'll enable two or more concurrent remote desktop connection to Windows XP Pro SP2 and SP3, as long as you have "fast user switching" active and you're not in a domain.
I need to add something here. This method allow you to be able to do remote desktop connection concurrently using different user account. If you want to use the same user account to concurrently remote desktop, that's another method and I'm not include it in this post :)
I need to add something here. This method allow you to be able to do remote desktop connection concurrently using different user account. If you want to use the same user account to concurrently remote desktop, that's another method and I'm not include it in this post :)
Upgrade From 8.04LTS To 10.04LTS Server Edition
This was taken from here, do it for your own risks :)
- Install update-manager-core if it is not already installed:
sudo apt-get install update-manager-core
- edit /etc/update-manager/release-upgrades and set Prompt=lts
- Launch the upgrade tool:
sudo do-release-upgrade --proposed
- Follow the on-screen instructions.
- At the end of the upgrade process you will be required to restart the server in order to boot into the new kernel. If you do not have access to the console of the system you are upgrading, you may need to edit /boot/grub/menu.lst and change the default boot kernel to the newly installed 10.04 kernel. If this step is not performed your server may attempt to boot into the 8.04 LTS kernel and will hang.
Tuesday, June 8, 2010
Simple Way to Use WMWifiRouter
Although Windows Mobile already provide Internet Sharing as the feature to share your internet connection as my previous post, sometimes people would like to add more capabilities than just USB and Bluetooth connection. WMWifiRouter providing option to:
1. share Cellphone connection (GPRS, EDGE, 3G, HSDPA) through Wi-Fi, USB, Bluetooh)
2. share Wi-Fi through USB
3. share USB connection through Wi-Fi.
1. share Cellphone connection (GPRS, EDGE, 3G, HSDPA) through Wi-Fi, USB, Bluetooh)
2. share Wi-Fi through USB
3. share USB connection through Wi-Fi.
The main page view, press Options -> Configuration -> Wi-Fi network
Follow the steps, Dynamic (Safer) and Ad-hoc (Advised) is the default. You can customize as you need
Type in the AP name and choose WEP/Open (Advised)
Type in WEP encryption key and encryption key index
Choose Wi-Fi channel to use from the avaibility 1 - 13
And you're done! :)
Friday, June 4, 2010
Internet Sharing on Windows Mobile
Sharing internet connection (GPRS, EDGE, 3G, HSDPA) in Windows Mobile platform is never been easier with Internet Sharing application that already include since Windows mobile 6.0. The option available is to connect PC or notebook/ netbook through USB cable (only working on Windows Platform) and Bluetooth PAN (working on all platforms Windows/ Mac/ Linux). You only need to choose PC Connection type, Network Connection you want to use, then click on 'connect' button. And you're done! :)
Wednesday, June 2, 2010
RRDTool & snmpd (net-snmp) on Linux, Windows and Mac
* snmpd (net-snmp)
linux: snmpd, snmpwalk, snmp
on Ubuntu:
$ sudo apt-get install snmpd snmpsnmpd.conf#---------------------------------------------------------------
$ sudo vi /etc/snmp/snmpd.conf (configuration file for net-snmp snmp agent)
######################################
# Map the security name/networks into a community name.
# We will use the security names to create access groups
######################################
# sec.name source community
com2sec my_sn1 localhost my_comnt
com2sec my_sn2 192.168.10.0/24 my_comnt
####################################
# Associate the security name (network/community) to the
# access groups, while indicating the snmp protocol version
####################################
# sec.model sec.name
group MyROGroup v1 my_sn1
group MyROGroup v2c my_sn1group MyROGroup v1 my_sn2
group MyROGroup v2c my_sn2
group MyRWGroup v1 my_sn1
group MyRWGroup v2c my_sn1
group MyRWGroup v1 my_sn2
group MyRWGroup v2c my_sn2
#######################################
# Create the views on to which the access group will have access,
# we can define these views either by inclusion or exclusion.
# inclusion - you access only that branch of the mib tree
# exclusion - you access all the branches except that one
#######################################
# incl/excl subtree mask (opcional)
view my_vw1 included .1 80
view my_vw2 included .iso.org.dod.internet.mgmt.mib-2.system
#######################################
# Finaly associate the access groups to the views and give them
# read/write access to the views.
#######################################
# context sec.model sec.level match read write notif
access MyROGroup "" any noauth exact my_vw1 none none
access MyRWGroup "" any noauth exact my_vw2 my_vw2 none
# -----------------------------------------------------------------------------
$ sudo vi /etc/default/snmpd
find the line:
SNMPDOPTS='-Lsd -Lf /dev/null -u snmp -I -smux -p /var/run/snmpd.pid 127.0.0.1'and change it to:
SNMPDOPTS='-Lsd -Lf /dev/null -u snmp -I -smux -p /var/run/snmpd.pid'
win: net-snmp
1. Download the binary of your windows version then install. Usually it will install to c:\usr
2. To check the installation, run this command from command prompt
c:\usr\bin>snmpd -v
3. Run snmp-agent as service
c:\usr>registeragent.bat
4. Create snmpd.conf file on c:\usr\etc\snmp\ and fill with this configuration:
## NONE are supported on Net-SNMP-5.1.1 Win32 platforms
## Process checks “proc” config token
## Executable scripts “exec” config token
## Disk checks “disk” config token
## Load average checks “load” config token
## Extensible sections “exec” config token with shelltest
## Pass-through control “pass” config token
#############################################################
#
# EXAMPLE.conf:
# An example configuration file for configuring the ucd-snmp snmpd agent.
#
#############################################################
#
# This file is intended to only be an example. If, however, you want
# to use it, it should be placed in c:/usr-mingw/etc/share/snmp/snmpd.conf.
# When the snmpd agent starts up, this is where it will look for it.
#
# You might be interested in generating your own snmpd.conf file using
# the “snmpconf” program (perl script) instead. It’s a nice menu
# based interface to writing well commented configuration files. Try it!
#
# Note: This file is automatically generated from EXAMPLE.conf.def.
# Do NOT read the EXAMPLE.conf.def file! Instead, after you have run
# configure & make, and then make sure you read the EXAMPLE.conf file
# instead, as it will tailor itself to your configuration.
# All lines beginning with a ‘#’ are comments and are intended for you
# to read. All other lines are configuration commands for the agent.
#
# PLEASE: read the snmpd.conf(5) manual page as well!
#
####################################################################
# Access Control
####################################################################
# YOU SHOULD CHANGE THE “COMMUNITY” TOKEN BELOW TO A NEW KEYWORD ONLY
# KNOWN AT YOUR SITE. YOU *MUST* CHANGE THE NETWORK TOKEN BELOW TO
# SOMETHING REFLECTING YOUR LOCAL NETWORK ADDRESS SPACE.
# By far, the most common question I get about the agent is “why won’t
# it work?”, when really it should be “how do I configure the agent to
# allow me to access it?”
#
# By default, the agent responds to the “public” community for read
# only access, if run out of the box without any configuration file in
# place. The following examples show you other ways of configuring
# the agent so that you can change the community names, and give
# yourself write access as well.
#
# The following lines change the access permissions of the agent so
# that the COMMUNITY string provides read-only access to your entire
# NETWORK (EG: 10.10.10.0/24), and read/write access to only the
# localhost (127.0.0.1, not its real ipaddress).
#
# For more information, read the FAQ as well as the snmpd.conf(5)
# manual page.
####
# First, map the community name (COMMUNITY) into a security name
# (local and mynetwork, depending on where the request is coming
# from):
# sec.name source community —-> **edit this part to match your requirement** com2sec local localhost [comm name]
com2sec mynetwork 192.168.13.0/24 [comm name]
####
# Second, map the security names into group names:
# sec.model sec.name
group MyRWGroup v1 local
group MyRWGroup v2c local
group MyRWGroup usm local
group MyROGroup v1 mynetwork
group MyROGroup v2c mynetwork
group MyROGroup usm mynetwork
####
# Third, create a view for us to let the groups have rights to:
# incl/excl subtree mask
view all included .1 80
####
# Finally, grant the 2 groups access to the 1 view with different
# write permissions:
# context sec.model sec.level match read write notif
access MyROGroup “” any noauth exact all none none
access MyRWGroup “” any noauth exact all all none
# —————————————————————–
##################################################################
# System contact information
#
# It is also possible to set the sysContact and sysLocation system
# variables through the snmpd.conf file. **PLEASE NOTE** that setting
# the value of these objects here makes these objects READ-ONLY
# (regardless of any access control settings). Any attempt to set the
# value of an object whose value is given here will fail with an error
# status of notWritable.
syslocation Solo.
syscontact Tunggul
# Example output of snmpwalk:
# % snmpwalk -v 1 -c public localhost system
# system.sysDescr.0 = “Windows NT 2000 SP4″
# system.sysObjectID.0 = OID: enterprises.ucdavis.ucdSnmpAgent.win32
# system.sysUpTime.0 = Timeticks: (595637548) 68 days, 22:32:55
# system.sysContact.0 = “Me
# system.sysName.0 = “name”
# system.sysLocation.0 = “Right here, right now.”
# system.sysServices.0 = 72
# —————————————————————
#################################################################
# Subagent control
#
# The agent can support subagents using a number of extension mechanisms.
# From the 4.2.1 release, AgentX support is being compiled in by default.
# However, this is still experimental code, so should not be used on
# critical production systems.
# Please see the file README.agentx for more details.
#
# If having read, marked, learnt and inwardly digested this information,
# you decide that you do wish to make use of this mechanism, simply
# uncomment the following directive.
#
# master agentx
#
# I repeat - this is *NOT* regarded as suitable for front-line production
# systems, though it is probably stable enough for day-to-day use.
# Probably.
#
# No refunds will be given.
############################################################
# Further Information
#
# See the snmpd.conf manual page, and the output of “snmpd -H”.
# MUCH more can be done with the snmpd.conf than is shown as an
# example here.
mac: net-snmp - through macports
Details installation and configuration on Mac OS X are on separate post.
Details installation and configuration on Mac OS X are on separate post.
* RRDTool
linux: rrdtool
win:
We all have an impressions that it is very difficult to install RRDTool on a Windows Server (including Windows XP, Windows Vista, Windows NT and Windows 2003/ 2008 Server) but that is not the case. There are few very Simple Steps to install RRDTool:
1. Create a Folder on any of your drives with name RRDTool.
2. Download the latest version of RRDTool from here
3. Extract the ZIP in RRDTool folder.
4. Open START >> Run >> type cmd to open Windows command prompt.
5. Type following command on prompt to use the RRDTool.
cd C:\RRDTool\
mac: rrdtool - through macports
Tuesday, June 1, 2010
Nimbuzz On iChat
Actually the concept is similar to my other posting about using Nimbuzz account through Chatopus in PalmOS. First, you have to create nimbuzz account, then all you need is setting up the nimbuzz parameter in iChat.
Create new account in iChat:
Account Type: Jabber Account
Account Name: [your-username]@nimbuzz.com
Password: [your-password]
Server Options
Server: 194.229.27.7
Port: 5222
then, click 'Done'. After that, check 'Automatically discover server & port' in Server Settings under Account preferences.
And now you can chat with whatever protocol you've registering in your nimbuzz account (even if iChat doesn't support it).. Yahoo Messenger, Live Messenger and Facebook Chat :))
Create new account in iChat:
Account Type: Jabber Account
Account Name: [your-username]@nimbuzz.com
Password: [your-password]
Server Options
Server: 194.229.27.7
Port: 5222
then, click 'Done'. After that, check 'Automatically discover server & port' in Server Settings under Account preferences.
And now you can chat with whatever protocol you've registering in your nimbuzz account (even if iChat doesn't support it).. Yahoo Messenger, Live Messenger and Facebook Chat :))
Subscribe to:
Posts (Atom)