Harba Ario Sukha

“No Hackers, Phreaks, Crackers”

Nawala Project

March8

http://www.nawala.org/

DNS #1: 180.131.144.144
DNS #2: 180.131.145.145

Network Infrastruktur

October15

POLSRI

posted under Networking | No Comments »

Juniper J2300 Password Recovery

May6

# When the following prompt appears, press the Spacebar to access the router’s bootstrap loader command prompt:

Hit [Enter] to boot immediately, or space bar for command prompt.
Booting [kernel] in 9 seconds…

# At the following prompt, enter boot -s to start up the system in single-user mode.
ok boot -s
# At the following prompt, enter recovery to start the root password recovery procedure.
Enter full pathname of shell or ‘recovery’ for root password recovery or RETURN for /bin/sh: recovery
# Enter configuration mode in the CLI.
# Set the root password. For example:
user@host# set system root-authentication plain-text-password

For more information about configuring the root password, see the JUNOS System Basics Configuration Guide.
# At the following prompt, enter the new root password. For example:
New password: polsri

Retype new password:

# At the second prompt, reenter the new root password.
# If you are finished configuring the network, commit the configuration.
root@host# commit

commit complete

# Exit configuration mode in the CLI.
# Exit operational mode in the CLI.
# At the prompt, enter y to reboot the router.
Reboot the system? [y/n] y

posted under Networking | No Comments »

Linux Recover MySQL root password

March31

#/etc/init.d/mysql stop
#mysqld_safe –-skip-grant-tables &
#mysql -u root
mysql> use mysql;
mysql> update user set password=PASSWORD(’passwd-baru’) where User=’root’;
mysql> flush privileges;
mysql> quit
#/etc/init.d/mysql stop
#/etc/init.d/mysql start
#mysq -u root -p

posted under Linux | No Comments »

Find the speed of your Ethernet card in Linux

March30

# dmesg |grep eth1
eth1: Broadcom NetXtreme II BCM5708 1000Base-T (B1) PCI-X 64-bit 133MHz found at mem ce000000, IRQ 169, node addr 00145ede381a
bnx2: eth1: using MSI
bnx2: eth1 NIC Copper Link is Up, 1000 Mbps full duplex
eth1: no IPv6 routers present

# mii-tool -v eth1
eth1: negotiated 100baseTx-FD, link ok
product info: vendor 00:08:18, model 54 rev 5
basic mode: autonegotiation enabled
basic status: autonegotiation complete, link ok
capabilities: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
advertising: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control
link partner: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD

# ethtool eth1
Settings for eth1:
Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Advertised auto-negotiation: Yes
Speed: 1000Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 1
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: d
Wake-on: d
Link detected: yes

posted under Linux | No Comments »

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 »
« Older Entries