Translator

The next version of Ubuntu is coming soon

Monday, December 13, 2010

APN Settings

3G WAP & MMS CONFIGURATION

1. Press Menu > Settings > Wireless Controls > Mobile networks

2. Select Access Points Names

3. Press Menu button > Select New APN

4. Enter the following details for WAP settings:

Celcom 3g internet setting : MALAYSIA

Name : Celcom 3G Internet
APN : celcom3g
MCC : 502
MNC : 19
APN type : default

Celcom 3g MMS setting :

Name : Celcom 3G MMS
APN : celcom3g
MMSC : http://mms.celcom.net.my
MMS proxy : 10.128.1.242
MMS port : 8080
MCC : 502
MNC : 19
APN type : mms

Celcom 2g internet setting :

Name : Celcom 2G Internet
APN : celcom.net.my
MCC : 502
MNC : 19
APN type : default

Celcom 2g MMS setting :

Name : Celcom 2G MMS
APN : mms.celcom.net.my
MMSC : http://mms.celcom.net.my
MMS proxy : 10.128.1.242
MMS port : 8080
MCC : 502
MNC : 19
APN type : mms

Maxis 3g settings.:Malaysia

1.Name: maxis
2.APN: unet
3.Proxy:
4.Port:
5.Username: maxis
6.Password: wap
7.Server:
8.MMSC: http://172.16.74.100:10021/mmsc
9.MMS proxy:
10.MCC: 502 (default)
11.MNC: 12 (default)
12.APN type:

DiGi Data Setting

Name: DIGI Data - Internet
APN: diginet
MCC: 502
MNC: 16
APN Type: default

Name: DIGI MMS (WAP 2.0)

APN: digimms
username: mms
password: mms
Proxy: 203.092.128.160
Port: 80
MMSC: http://mms.digi.com.my/servlets/mms
MMS Proxy: 203.092.128.160
MMS Port: 80
MCC: 502
MNC: 16
APN Type: mms

Thursday, December 2, 2010

check dir space on FreeBSD

du -sk * | sort -n


nms delete 


/var/spool/nagios/archives <--- delete inside

Saturday, November 20, 2010

How to open many website on browser tab just one click using Chrome and Firefox

First of all after download this file.. please make sure ... u must delete the .txt extension on that file

thank u


Sunday, October 10, 2010

flush squid

how to flush squid
File size limit exceeded solution
squid dead but pid file exists solution
how to flush cache on squid

BEFORE START THIS PROGRESS PLZ MAKE SURE UR SQUID IS TOTALLY STOP

1.  Check squid cache location on your Linux system.  the default location may be at /var/spool/squid directory, but you can use command as show on the example below to check squid cache directory on your system.
[root@fedora10 ~]# cat /etc/squid/squid.conf | grep ^cache_dir
cache_dir ufs /var/spool/squid 4000 16 256
[root@fedora10 ~]#


2.  Verify squid cache directory by list contents inside squid cache directory.  The contents of squid cache directory should look like on example below.
[root@fedora10 ~]# ls /var/spool/squid
00  02  04  06  08  0A  0C  0E  swap.state
01  03  05  07  09  0B  0D  0F
[root@fedora10 ~]#Stop squid cache proxy server.

  In order to clear squid cache, we need to stop squid proxy first.  the step below show example to stop squid proxy server on Linux Fedora system.  NOTE:- Make sure that you stop squid proxy first before attempt to clear squid cache.

3.  Check squid proxy status.
[root@fedora ~]# service squid status
squid (pid  7593) is running...
[root@fedora ~]#


4.  Stop squid proxy server.
[root@fedora ~]# service squid stop
Stopping squid: ................                           [  OK  ]
[root@fedora ~]#


5.  Verify that squid proxy is stop.
[root@fedora ~]# service squid status
squid is stopped
[root@fedora ~]#


Create directory and move squid cache file.

Create new directory to temporary store the old squid cache files... why we shoud do this??? the answer... to minimize squid proxy downtime.  First we need to create directory and then move the old squid cache file to this directory.

6.  Make directory and verify.

[root@fedora ~]# mkdir /var/spool/squid/squid_cache_old
[root@fedora ~]#
[root@fedora ~]# ls /var/spool/squid/
00  02  04  06  08  0A  0C  0E  squid_cache_old  swap.state.last-clean
01  03  05  07  09  0B  0D  0F  swap.state
[root@fedora ~]#



7.  Then move and clear squid cache directory contents to /var/spool/squid/squid_cache_old directory.
[root@fedora ~]# mv /var/spool/squid/?? /var/spool/squid/squid_cache_old/
[root@fedora ~]# mv /var/spool/squid/swap* /var/spool/squid/squid_cache_old/
[root@fedora ~]#


8.  Verify the contents of the squid cache directory.
[root@fedora ~]# ls /var/spool/squid/
squid_cache_old
[root@fedora ~]#

Start squid with new cache.

9.  Create squid cache directory (Rebuild squid cache).
[root@fedora ~]# squid -z
2009/06/08 07:16:32| Creating Swap Directories
2009/06/08 07:16:32| /var/spool/squid exists
2009/06/08 07:16:32| Making directories in /var/spool/squid/00
2009/06/08 07:16:32| Making directories in /var/spool/squid/01
2009/06/08 07:16:32| Making directories in /var/spool/squid/02
2009/06/08 07:16:32| Making directories in /var/spool/squid/03
2009/06/08 07:16:32| Making directories in /var/spool/squid/04
2009/06/08 07:16:32| Making directories in /var/spool/squid/05
2009/06/08 07:16:32| Making directories in /var/spool/squid/06
2009/06/08 07:16:32| Making directories in /var/spool/squid/07
2009/06/08 07:16:32| Making directories in /var/spool/squid/08
2009/06/08 07:16:32| Making directories in /var/spool/squid/09
2009/06/08 07:16:32| Making directories in /var/spool/squid/0A
2009/06/08 07:16:32| Making directories in /var/spool/squid/0B
2009/06/08 07:16:32| Making directories in /var/spool/squid/0C
2009/06/08 07:16:32| Making directories in /var/spool/squid/0D
2009/06/08 07:16:32| Making directories in /var/spool/squid/0E
2009/06/08 07:16:32| Making directories in /var/spool/squid/0F
[root@fedora ~]#

10.  View squid cache directory contents to verify the cache file exist.
[root@fedora ~]# ls /var/spool/squid/
00  02  04  06  08  0A  0C  0E  squid_cache_old
01  03  05  07  09  0B  0D  0F
[root@fedora ~]#

11.  Start squid with new clean cache, and then verify squid proxy server is up and running.
[root@fedora ~]# service squid start
Starting squid: .                                          [  OK  ]
[root@fedora ~]#
[root@fedora ~]# service squid status
squid (pid  9202) is running...
[root@fedora ~]#


Remove squid cache.

Then remove old squid cache, this part should be done after you start the squid proxy server with new clean cache file.  This part may take a while base on the size of squid cache directory.  Please Note:- If you follow this article correctly, total downtime of your squid proxy server may be under 1 minutes because we already start squid proxy server with clean cache and after that we remove old squid cache file that may take lot of overall time to complete the procedure.




12.  Remove squid cache in the /var/spool/squid/squid_cache_old directory. Do this step with caution... 
[root@fedora ~]# rm -rf /var/spool/squid/squid_cache_old/
[root@fedora ~]#

Wednesday, October 6, 2010

how to remove Tunnel adapter Local Area Connection

download the file below and rename that file from IPV6.txt to IPV6.reg and then 2x clicks it... if any prompt pop-up just click on YES

Remove Tunnel adapter Local Area Connection

restart ur pc

DONE


Monday, October 4, 2010

How to block pop-up in google chrome

under the google chrome... click

click the content settings as a below

last.. follow this step 

DONE


Monday, September 27, 2010

Auto Start DHCP Services On Startup

chkconfig --list dhcp

also can use this command with other service

chkconfig --list <services>

Saturday, September 25, 2010

Squid Server Command

to shutdown squid

/etc.init.d/squid stop
squid -k shutdown
service squid stop

to start squid

/etc/init.d/squid start
squid -D
service squid start
squid -CFs

to add swap space on squid

squid -z

to check squid status

/etc/init.d/squid status
squid -NCd10

to test squid connection

squidclient http://www.yahoo.com
squidclient http://www.yahoo.com > test

to change squid settings

nano -w /etc/squid/squid.conf




nmap command

nmap -sT -P0 <ip>

Command PING kind of "spoof"

ping -n 100 -l 500

example

ping 10.10.10.10 -n 100 -l 500

Ubuntu Linux OpenSSH Server installation and configuration

Ubuntu SSHD Installation
# sudo apt-get install openssh-server openssh-client

SSHD Configuration
# ssh localhost
OR
# ssh user@your-server-ip-address

To Use SSH Client
# ssh fiezol@userver.domain.com

To Start/Stop/Restart SSH Server
# sudo /etc/init.d/ssh stop/start/restart

If encounter problems on this line while installing VMWARE Server 2

If you encounter problems on this line while installing VMWARE Server 2

What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]

Enter /lib/modules/{your current kernel version 2.6xxxxxx}/build/include

If that does not work the kernel headers might need removing:

yourPC# sudo apt-get --purge remove linux-headers-`uname -r` build-essential

And then reinstalled again:

yourPC# sudo apt-get install linux-headers-`uname -r` build-essential

That may save a few people a lot of time.

if want to install vmware server 2 with fresh ubuntu OS

must install

apt-get install build-essential

apt-get install gcc

Restart Message log on linux

/etc/init.d/syslog-ng restart

iLO Remote Console In Use Solution

Under the tabs


Remote Console - Settings - Settings, click enable aquire

Under the System Status tab, you can go into diagnostics and there is a button to reset iLO2. No need to remove power from the system.

Another way that works on either iLO or iLO2 is to go into the network settings, change an option and set it back to the previous value, then click save, this will reset iLO / iLO2

Solution for Ip Limited On Windows Vista

Start > RUN

Open : taip regedit

Pilih

HKEY_LOCAL_MACHINE

then SYSTEM

then CurrentControlSet

then Services

then TCPIP

then Parameters

then Interfaces

then {GUID} berkaitan network

Right-click on (GUID)

Select NEW > Pilih DWORD VALUE 32bit

Namakan : DhcpConnDisableBcastFlagToggle

then press ENTER.

Right-click DhcpConnDisableBcastFlagToggle

then click Modify

In the Value data box, type 1, and then click OK.