Harba Ario Sukha

“No Hackers, Phreaks, Crackers”

Synchronize The System Clock

July11

yum install ntp

chkconfig –levels 235 ntpd on
ntpdate id.pool.ntp.org
/etc/init.d/ntpd start

Fedora9 (Sulphur) – Fix The Network

May18


ifconfig

route -nee

chkconfig --list

chkconfig NetworkManager off
chkconfig --levels 35 network on
/etc/init.d/network restart

Upgrade Cisco-Router IOS via USB

May9

format FlasDisk melalui Cisco-Router!
c2800#format usbflash1:

copy file IOS dari FlashDisk ke Flash Cisco-Router!
c2800#copy usbflash1://c2800nm-adventerprisek9-mz.124-4.T1.bin flash://c2800nm-adventerprisek9-mz.124-4.T1.bin

menjalankan IOS baru;
c2800#conf t
c2800(config)#boot system flash c2800nm-adventerprisek9-mz.124-4.T1.bin
c2800(config)#end
c2800#copy run start

reboot Cisco-Router;
c2800#reload

posted under Networking | No Comments »

IP Ranges for ID [Indonesia]

April5

# Generated by www.DNSstuff.com using data last updated on 04 Apr 2008.
# We highly discourage people from blocking E-mail from entire countries.
#

http://www.dnsstuff.com/tools/ipcountries.ch?domain=id

rpm -e

March23

For anyone interested.

If the same package is installed twice(in the rpm database), and you want to remove it, type

>rpm –erase –allmatches <package>

you can even throw in –nodeps to force remove it

>rpm –erase –allmatches –nodeps <package>

Just thought that I’d share this.

posted under Linux | No Comments »

decrypt Cisco’s encrypted

March6

http://www.kazmier.com/computer/cisco-cracker.html

posted under Networking | No Comments »

dBm to Watt Conversion

December28

dBm = log10 (mW)*10
mW =10^(dBm/10)

40 dBm 10.00 watts
36 dBm 4.00 watts { Maximum ERP allowed by FCC in U.S.
30 dBm 1.00 watts
27 dBm 500 milliwatts
26 dBm 400 milliwatts
25 dBm 320 milliwatts
24 dBm 250 milliwatts
23 dBm 200 milliwatts { Typical output from WLAN devices at 915MHz
22 dBm 160 milliwatts
21 dBm 130 milliwatts
20 dBm 100 milliwatts { Maximum ERP allowed by E.T.S.I. In Europe
15 dBm 32 milliwatts
10 dBm 10 milliwatts
5 dBm 3.2 milliwatts
4 dBm 2.5 milliwatts
3 dBm 2.0 milliwatts
2 dBm 1.6 milliwatts
1 dBm 1.3 milliwatts
0 dBm 1.0 milliwatts
1- dBm 0.79 milliwatts
5- dBm 0.32 milliwatts
10- dBm 0.1 milliwatts
20- dBm 0.01 milliwatts
30- dBm 0.001 milliwatts
40- dBm 0.0001 milliwatts
50- dBm 0.00001 milliwatts
60- dBm 0.000001 milliwatts
70- dBm 0.0000001 milliwatts
80- dBm 0.00000001 milliwatts {Receive threshold for most WLAN devices

Mikrotik – ARP

November26

/ ip firewall filter
add chain=forward action=drop src-address=x.x.x.x \
src-mac-address=!yy:yy:yy:yy:yy:yy comment=”” disabled=no

/ ip firewall filter
add chain=forward action=drop src-address=!x.x.x.x \
src-mac-address=yy:yy:yy:yy:yy:yy comment=”” disabled=no

djbdns

November14

dnscachex/env/CACHESIZE
100000000

dnscachex/env/DATALIMIT
104857600

dnscachex/env/FORWARDONLY
1

dnscachex/env/IP
10.10.1.1

dnscachex/root/ip/
10 127.0.0.1

dnscachex/root/servers/\@
202.146.178.4
202.146.180.4

posted under Linux | No Comments »

MySQL

September6

Dumping
mysqldump -u root -p dbname > /home/dbname_dump.sql

Restore
mysql -u root -p dbname < /home/dbname_dump.sql

mysql> set password for root@localhost=password(‘rootpasswd’);
mysql> create database dbname;
mysql> grant all on dbname.* to root;
mysql> grant all on dbname.* to root@localhost;
mysql> grant all on dbname.* to user;
mysql> grant all on dbname.* to user@localhost;
mysql> set password for user@localhost=password(‘userpasswd’);

posted under Linux | No Comments »
« Older EntriesNewer Entries »