17 June 2010

Configure Simple OSPF on Cisco Router (Broadcast Multi Access)


Router 1
R1#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

1.0.0.0/24 is subnetted, 1 subnets
C 1.1.1.0 is directly connected, Loopback0
2.0.0.0/32 is subnetted, 1 subnets
O 2.2.2.2 [110/11] via 192.168.1.1, 00:00:28, Ethernet1/0
3.0.0.0/32 is subnetted, 1 subnets
O 3.3.3.3 [110/11] via 192.168.1.2, 00:00:28, Ethernet1/0
C 192.168.1.0/24 is directly connected, Ethernet1/0
R1#
R1#ping 2.2.2.2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2.2.2.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/8/12 ms
R1#ping 192.168.1.1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/8/12 ms
R1#sh ip ospf int e1/0
Ethernet1/0 is up, line protocol is up
Internet Address 192.168.1.3/24, Area 0
Process ID 10, Router ID 1.1.1.1, Network Type BROADCAST, Cost: 10
Transmit Delay is 1 sec, State DROTHER, Priority 1
Designated Router (ID) 3.3.3.3, Interface address 192.168.1.2
Backup Designated router (ID) 2.2.2.2, Interface address 192.168.1.1
Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
Hello due in 00:00:09
Index 1/2, flood queue length 0
Next 0x0(0)/0x0(0)
Last flood scan length is 0, maximum is 1
Last flood scan time is 0 msec, maximum is 0 msec
Neighbor Count is 2, Adjacent neighbor count is 2
Adjacent with neighbor 3.3.3.3 (Designated Router)
Adjacent with neighbor 2.2.2.2 (Backup Designated Router)
Suppress hello for 0 neighbor(s)
R1#sh
R1#show ip osp
R1#show ip ospf ne
R1#show ip ospf neighbor

Neighbor ID Pri State Dead Time Address Interface
3.3.3.3 1 FULL/DR 00:00:32 192.168.1.2 Ethernet1/0
2.2.2.2 1 FULL/BDR 00:00:30 192.168.1.1 Ethernet1/0

-----------------------------------------------------------------------------------------

Router2
Router2R2#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

1.0.0.0/32 is subnetted, 1 subnets
O IA 1.1.1.1 [110/11] via 192.168.1.3, 00:08:18, Ethernet1/0
2.0.0.0/24 is subnetted, 1 subnets
C 2.2.2.0 is directly connected, Loopback0
3.0.0.0/32 is subnetted, 1 subnets
O 3.3.3.3 [110/11] via 192.168.1.2, 00:08:18, Ethernet1/0
C 192.168.1.0/24 is directly connected, Ethernet1/0
R2#
R2#sh
R2#show ip ospf
R2#show ip ospf ne
R2#show ip ospf neighbor

Neighbor ID Pri State Dead Time Address Interface
3.3.3.3 1 FULL/DR 00:00:38 192.168.1.2 Ethernet1/0
1.1.1.1 1 FULL/DROTHER 00:00:39 192.168.1.3 Ethernet1/0

R2#sh
R2#sh ip ospf int e1/0
Ethernet1/0 is up, line protocol is up
Internet Address 192.168.1.1/24, Area 0
Process ID 20, Router ID 2.2.2.2, Network Type BROADCAST, Cost: 10
Transmit Delay is 1 sec, State BDR, Priority 1
Designated Router (ID) 3.3.3.3, Interface address 192.168.1.2
Backup Designated router (ID) 2.2.2.2, Interface address 192.168.1.1
Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
Hello due in 00:00:00
Index 2/2, flood queue length 0
Next 0x0(0)/0x0(0)
Last flood scan length is 0, maximum is 1
Last flood scan time is 0 msec, maximum is 0 msec
Neighbor Count is 2, Adjacent neighbor count is 2
Adjacent with neighbor 3.3.3.3 (Designated Router)
Adjacent with neighbor 1.1.1.1
Suppress hello for 0 neighbor(s)
R2#ping 1.1.1.1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/8/12 ms
R2#ping 3.3.3.3

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 3.3.3.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/8/8 ms

-----------------------------------------------------------------------------------

Router3R3#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

1.0.0.0/32 is subnetted, 1 subnets
O IA 1.1.1.1 [110/11] via 192.168.1.3, 00:12:47, Ethernet1/0
2.0.0.0/32 is subnetted, 1 subnets
O 2.2.2.2 [110/11] via 192.168.1.1, 00:12:47, Ethernet1/0
3.0.0.0/24 is subnetted, 1 subnets
C 3.3.3.0 is directly connected, Loopback0
C 192.168.1.0/24 is directly connected, Ethernet1/0

R3#sh
R3#show ip os
R3#show ip ospf nei
R3#show ip ospf neighbor

Neighbor ID Pri State Dead Time Address Interface
2.2.2.2 1 FULL/BDR 00:00:38 192.168.1.1 Ethernet1/0
1.1.1.1 1 FULL/DROTHER 00:00:30 192.168.1.3 Ethernet1/0

R3#sh ip ospf int e1/0
Ethernet1/0 is up, line protocol is up
Internet Address 192.168.1.2/24, Area 0
Process ID 30, Router ID 3.3.3.3, Network Type BROADCAST, Cost: 10
Transmit Delay is 1 sec, State DR, Priority 1
Designated Router (ID) 3.3.3.3, Interface address 192.168.1.2
Backup Designated router (ID) 2.2.2.2, Interface address 192.168.1.1
Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
Hello due in 00:00:03
Index 2/2, flood queue length 0
Next 0x0(0)/0x0(0)
Last flood scan length is 1, maximum is 3
Last flood scan time is 0 msec, maximum is 0 msec
Neighbor Count is 2, Adjacent neighbor count is 2
Adjacent with neighbor 2.2.2.2 (Backup Designated Router)
Adjacent with neighbor 1.1.1.1
Suppress hello for 0 neighbor(s)
R3#ping 1.1.1.1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/5/8 ms
R3#ping 2.2.2.2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2.2.2.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/8/12 ms

10 November 2009

Router Simple NAT gateway



And Here’s the Running Config for the configuration :

R0#show run
!
hostname R-Gateway
!
!
interface FastEthernet0/0
description *** Remote Connection ***
ip address 10.8.8.211 255.255.255.0
ip nat outside
duplex auto
speed auto
!
ip name-server 202.47.78.8
ip name-server 202.47.78.9
!
interface Ethernet1/0
description *** LAN Connection ***
ip address 192.168.10.1 255.255.255.0
ip nat inside
half-duplex
!
ip classless
ip route 0.0.0.0 0.0.0.0 10.8.8.1
ip http server
!
!
R0#
R0y#ping www.google.com

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 216.239.61.104, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 84/110/144 ms

28 August 2009

restart services debian

amal:/etc/tinydns/env# svc -d /service/*
amal:/etc/tinydns/env# svc -u /service/*
amal:/etc/tinydns/env# svstat /service/
/service/: unable to open supervise/ok: file does not exist
amal:/etc/tinydns/env# svstat /service/*

15 February 2009

Instaling Virtual Box and Seting more Tap interface in Ubuntu

Installing VirtualBox OSE on Ubuntu 7.10

#sudo apt-get update
#sudo apt-get install virtualbox-ose virtualbox-ose-source

Install VirtualBox OSE kernel module:

sudo apt-get install module-assistant
sudo m-a prepare
sudo m-a a-i virtualbox-ose
sudo modprobe vboxdrv

Automatically load the kernel module:

sudo gedit /etc/modules

Then add:

vboxdrv

taro nama User “vboxusers” group:

sudo adduser [your username] vboxusers

To run VirtualBox OSE, you can click Applications → System Tools → InnoTek VirtualBox menu item.

if u get error message ufter load iso Operation System like :

VBox status code: -1909 VERR_VM_DRIVER_NOT_ACCESSIBLE

fix with this command

sudo chmod 666 /dev/vboxdrv


Configuration Sub interface ini Ubuntu

At first let’s install the needed software:

$ sudo apt-get install bridge-utils uml-utilities

The virtual network interface is configured with the package uml-utilities. uml stands for User Mode Linux, so understandably the package is preconfigured for use with User Mode Linux. In order to work correctly with VirtualBox, in /etc/network/if-pre-up.d/uml-utilities replace

chown root:uml-net /dev/net/tun

with

chown root:vboxusers /dev/net/tun

auto lo
iface lo inet loopback

auto tap0
iface tap0 inet manual
tunctl_user ts
uml_proxy_arp 10.8.8.237
uml_proxy_ether eth0

auto tap1
iface tap1 inet manual
tunctl_user ts
uml_proxy_arp 10.8.8.237
uml_proxy_ether eth0

auto tap2
iface tap2 inet manual
tunctl_user ts
uml_proxy_arp 10.8.8.237
uml_proxy_ether eth0

auto tap3
iface tap3 inet manual
tunctl_user ts
uml_proxy_arp 10.8.8.237
uml_proxy_ether eth0

auto tap4
iface tap4 inet manual
tunctl_user ts
uml_proxy_arp 10.8.8.237
uml_proxy_ether eth0

auto tap5
iface tap5 inet manual
tunctl_user ts
uml_proxy_arp 10.8.8.237
uml_proxy_ether eth0

auto tap6
iface tap6 inet manual
tunctl_user ts
uml_proxy_arp 10.8.8.237
uml_proxy_ether eth0

auto tap7
iface tap7 inet manual
tunctl_user ts
uml_proxy_arp 10.8.8.237
uml_proxy_ether eth0

auto tap8
iface tap8 inet manual
tunctl_user ts
uml_proxy_arp 10.8.8.237
uml_proxy_ether eth0

auto tap9
iface tap9 inet manual
tunctl_user ts
uml_proxy_arp 10.8.8.237
uml_proxy_ether eth0

auto tap10
iface tap10 inet manual
tunctl_user ts
uml_proxy_arp 10.8.8.237
uml_proxy_ether eth0

auto eth0
iface eth0 inet static
address 10.8.8.237
netmask 255.255.255.0
gateway 10.8.8.1

###########pakai yang ini untuk bridge 1 interface ##########
#auto br0
#iface br0 inet static
#address 10.8.8.234
#netmask 255.255.255.0
#bridge_ports eth0 tap0

#####pakai configuration yang ini untuk bridge banyak interface
auto br0
iface br0 inet dhcp
bridge_ports eth0 tap0 tap1 tap2 tap3 tap4 tap5 tap6 tap7 tap8 tap9 tap10
bridge_maxwait 0


Sumber Cerita : http://feryjunaedi.wordpress.com/

08 January 2009

VIm Edit comman

Vim A Editing command text A quick recap of the commands you learned here:

1. Save file - “:w”
2. Quit file without saving - “:q”
3. Save and quit file - “:wq”
4. Go into insert mode - “i”
5. Go into command mode - ESC
6. Delete word - “dw”
7. Delete line - “dd”
8. Undo change - “u”

06 January 2009

Seuntai Kata Buat PALESTINA Kota Q

Kota Jihad

Di kala waktu terus menghilang
merampas semua yang di indah
kota yang dulu penuh bunga
brubah menjadi neraka dunia ladang surga

kota yang dulu hijau pekat
membuat mu kehilangan rupa
yang biasa datang membangunkan pagi
sekarang sudah terbiasa membangunkan malam

kota kebangkitan penuh darah
menyemangatkan darah - darah islam
kota yang penuh ledakan
tidak menghentikan darah untuk berjuang

misil misil yang seakan mengamuk
menjadikan luka tiket untuk ke surga
peluru peluru yang berterbangan seakan setan
membuat darah - darah islam menemui kebangkitan

Karya: Amal Hamzah

17 June 2010

Configure Simple OSPF on Cisco Router (Broadcast Multi Access)


Router 1
R1#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

1.0.0.0/24 is subnetted, 1 subnets
C 1.1.1.0 is directly connected, Loopback0
2.0.0.0/32 is subnetted, 1 subnets
O 2.2.2.2 [110/11] via 192.168.1.1, 00:00:28, Ethernet1/0
3.0.0.0/32 is subnetted, 1 subnets
O 3.3.3.3 [110/11] via 192.168.1.2, 00:00:28, Ethernet1/0
C 192.168.1.0/24 is directly connected, Ethernet1/0
R1#
R1#ping 2.2.2.2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2.2.2.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/8/12 ms
R1#ping 192.168.1.1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/8/12 ms
R1#sh ip ospf int e1/0
Ethernet1/0 is up, line protocol is up
Internet Address 192.168.1.3/24, Area 0
Process ID 10, Router ID 1.1.1.1, Network Type BROADCAST, Cost: 10
Transmit Delay is 1 sec, State DROTHER, Priority 1
Designated Router (ID) 3.3.3.3, Interface address 192.168.1.2
Backup Designated router (ID) 2.2.2.2, Interface address 192.168.1.1
Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
Hello due in 00:00:09
Index 1/2, flood queue length 0
Next 0x0(0)/0x0(0)
Last flood scan length is 0, maximum is 1
Last flood scan time is 0 msec, maximum is 0 msec
Neighbor Count is 2, Adjacent neighbor count is 2
Adjacent with neighbor 3.3.3.3 (Designated Router)
Adjacent with neighbor 2.2.2.2 (Backup Designated Router)
Suppress hello for 0 neighbor(s)
R1#sh
R1#show ip osp
R1#show ip ospf ne
R1#show ip ospf neighbor

Neighbor ID Pri State Dead Time Address Interface
3.3.3.3 1 FULL/DR 00:00:32 192.168.1.2 Ethernet1/0
2.2.2.2 1 FULL/BDR 00:00:30 192.168.1.1 Ethernet1/0

-----------------------------------------------------------------------------------------

Router2
Router2R2#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

1.0.0.0/32 is subnetted, 1 subnets
O IA 1.1.1.1 [110/11] via 192.168.1.3, 00:08:18, Ethernet1/0
2.0.0.0/24 is subnetted, 1 subnets
C 2.2.2.0 is directly connected, Loopback0
3.0.0.0/32 is subnetted, 1 subnets
O 3.3.3.3 [110/11] via 192.168.1.2, 00:08:18, Ethernet1/0
C 192.168.1.0/24 is directly connected, Ethernet1/0
R2#
R2#sh
R2#show ip ospf
R2#show ip ospf ne
R2#show ip ospf neighbor

Neighbor ID Pri State Dead Time Address Interface
3.3.3.3 1 FULL/DR 00:00:38 192.168.1.2 Ethernet1/0
1.1.1.1 1 FULL/DROTHER 00:00:39 192.168.1.3 Ethernet1/0

R2#sh
R2#sh ip ospf int e1/0
Ethernet1/0 is up, line protocol is up
Internet Address 192.168.1.1/24, Area 0
Process ID 20, Router ID 2.2.2.2, Network Type BROADCAST, Cost: 10
Transmit Delay is 1 sec, State BDR, Priority 1
Designated Router (ID) 3.3.3.3, Interface address 192.168.1.2
Backup Designated router (ID) 2.2.2.2, Interface address 192.168.1.1
Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
Hello due in 00:00:00
Index 2/2, flood queue length 0
Next 0x0(0)/0x0(0)
Last flood scan length is 0, maximum is 1
Last flood scan time is 0 msec, maximum is 0 msec
Neighbor Count is 2, Adjacent neighbor count is 2
Adjacent with neighbor 3.3.3.3 (Designated Router)
Adjacent with neighbor 1.1.1.1
Suppress hello for 0 neighbor(s)
R2#ping 1.1.1.1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/8/12 ms
R2#ping 3.3.3.3

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 3.3.3.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/8/8 ms

-----------------------------------------------------------------------------------

Router3R3#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

1.0.0.0/32 is subnetted, 1 subnets
O IA 1.1.1.1 [110/11] via 192.168.1.3, 00:12:47, Ethernet1/0
2.0.0.0/32 is subnetted, 1 subnets
O 2.2.2.2 [110/11] via 192.168.1.1, 00:12:47, Ethernet1/0
3.0.0.0/24 is subnetted, 1 subnets
C 3.3.3.0 is directly connected, Loopback0
C 192.168.1.0/24 is directly connected, Ethernet1/0

R3#sh
R3#show ip os
R3#show ip ospf nei
R3#show ip ospf neighbor

Neighbor ID Pri State Dead Time Address Interface
2.2.2.2 1 FULL/BDR 00:00:38 192.168.1.1 Ethernet1/0
1.1.1.1 1 FULL/DROTHER 00:00:30 192.168.1.3 Ethernet1/0

R3#sh ip ospf int e1/0
Ethernet1/0 is up, line protocol is up
Internet Address 192.168.1.2/24, Area 0
Process ID 30, Router ID 3.3.3.3, Network Type BROADCAST, Cost: 10
Transmit Delay is 1 sec, State DR, Priority 1
Designated Router (ID) 3.3.3.3, Interface address 192.168.1.2
Backup Designated router (ID) 2.2.2.2, Interface address 192.168.1.1
Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
Hello due in 00:00:03
Index 2/2, flood queue length 0
Next 0x0(0)/0x0(0)
Last flood scan length is 1, maximum is 3
Last flood scan time is 0 msec, maximum is 0 msec
Neighbor Count is 2, Adjacent neighbor count is 2
Adjacent with neighbor 2.2.2.2 (Backup Designated Router)
Adjacent with neighbor 1.1.1.1
Suppress hello for 0 neighbor(s)
R3#ping 1.1.1.1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/5/8 ms
R3#ping 2.2.2.2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2.2.2.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/8/12 ms

10 November 2009

Router Simple NAT gateway



And Here’s the Running Config for the configuration :

R0#show run
!
hostname R-Gateway
!
!
interface FastEthernet0/0
description *** Remote Connection ***
ip address 10.8.8.211 255.255.255.0
ip nat outside
duplex auto
speed auto
!
ip name-server 202.47.78.8
ip name-server 202.47.78.9
!
interface Ethernet1/0
description *** LAN Connection ***
ip address 192.168.10.1 255.255.255.0
ip nat inside
half-duplex
!
ip classless
ip route 0.0.0.0 0.0.0.0 10.8.8.1
ip http server
!
!
R0#
R0y#ping www.google.com

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 216.239.61.104, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 84/110/144 ms

28 August 2009

restart services debian

amal:/etc/tinydns/env# svc -d /service/*
amal:/etc/tinydns/env# svc -u /service/*
amal:/etc/tinydns/env# svstat /service/
/service/: unable to open supervise/ok: file does not exist
amal:/etc/tinydns/env# svstat /service/*

15 February 2009

Instaling Virtual Box and Seting more Tap interface in Ubuntu

Installing VirtualBox OSE on Ubuntu 7.10

#sudo apt-get update
#sudo apt-get install virtualbox-ose virtualbox-ose-source

Install VirtualBox OSE kernel module:

sudo apt-get install module-assistant
sudo m-a prepare
sudo m-a a-i virtualbox-ose
sudo modprobe vboxdrv

Automatically load the kernel module:

sudo gedit /etc/modules

Then add:

vboxdrv

taro nama User “vboxusers” group:

sudo adduser [your username] vboxusers

To run VirtualBox OSE, you can click Applications → System Tools → InnoTek VirtualBox menu item.

if u get error message ufter load iso Operation System like :

VBox status code: -1909 VERR_VM_DRIVER_NOT_ACCESSIBLE

fix with this command

sudo chmod 666 /dev/vboxdrv


Configuration Sub interface ini Ubuntu

At first let’s install the needed software:

$ sudo apt-get install bridge-utils uml-utilities

The virtual network interface is configured with the package uml-utilities. uml stands for User Mode Linux, so understandably the package is preconfigured for use with User Mode Linux. In order to work correctly with VirtualBox, in /etc/network/if-pre-up.d/uml-utilities replace

chown root:uml-net /dev/net/tun

with

chown root:vboxusers /dev/net/tun

auto lo
iface lo inet loopback

auto tap0
iface tap0 inet manual
tunctl_user ts
uml_proxy_arp 10.8.8.237
uml_proxy_ether eth0

auto tap1
iface tap1 inet manual
tunctl_user ts
uml_proxy_arp 10.8.8.237
uml_proxy_ether eth0

auto tap2
iface tap2 inet manual
tunctl_user ts
uml_proxy_arp 10.8.8.237
uml_proxy_ether eth0

auto tap3
iface tap3 inet manual
tunctl_user ts
uml_proxy_arp 10.8.8.237
uml_proxy_ether eth0

auto tap4
iface tap4 inet manual
tunctl_user ts
uml_proxy_arp 10.8.8.237
uml_proxy_ether eth0

auto tap5
iface tap5 inet manual
tunctl_user ts
uml_proxy_arp 10.8.8.237
uml_proxy_ether eth0

auto tap6
iface tap6 inet manual
tunctl_user ts
uml_proxy_arp 10.8.8.237
uml_proxy_ether eth0

auto tap7
iface tap7 inet manual
tunctl_user ts
uml_proxy_arp 10.8.8.237
uml_proxy_ether eth0

auto tap8
iface tap8 inet manual
tunctl_user ts
uml_proxy_arp 10.8.8.237
uml_proxy_ether eth0

auto tap9
iface tap9 inet manual
tunctl_user ts
uml_proxy_arp 10.8.8.237
uml_proxy_ether eth0

auto tap10
iface tap10 inet manual
tunctl_user ts
uml_proxy_arp 10.8.8.237
uml_proxy_ether eth0

auto eth0
iface eth0 inet static
address 10.8.8.237
netmask 255.255.255.0
gateway 10.8.8.1

###########pakai yang ini untuk bridge 1 interface ##########
#auto br0
#iface br0 inet static
#address 10.8.8.234
#netmask 255.255.255.0
#bridge_ports eth0 tap0

#####pakai configuration yang ini untuk bridge banyak interface
auto br0
iface br0 inet dhcp
bridge_ports eth0 tap0 tap1 tap2 tap3 tap4 tap5 tap6 tap7 tap8 tap9 tap10
bridge_maxwait 0


Sumber Cerita : http://feryjunaedi.wordpress.com/

08 January 2009

VIm Edit comman

Vim A Editing command text A quick recap of the commands you learned here:

1. Save file - “:w”
2. Quit file without saving - “:q”
3. Save and quit file - “:wq”
4. Go into insert mode - “i”
5. Go into command mode - ESC
6. Delete word - “dw”
7. Delete line - “dd”
8. Undo change - “u”

06 January 2009

Seuntai Kata Buat PALESTINA Kota Q

Kota Jihad

Di kala waktu terus menghilang
merampas semua yang di indah
kota yang dulu penuh bunga
brubah menjadi neraka dunia ladang surga

kota yang dulu hijau pekat
membuat mu kehilangan rupa
yang biasa datang membangunkan pagi
sekarang sudah terbiasa membangunkan malam

kota kebangkitan penuh darah
menyemangatkan darah - darah islam
kota yang penuh ledakan
tidak menghentikan darah untuk berjuang

misil misil yang seakan mengamuk
menjadikan luka tiket untuk ke surga
peluru peluru yang berterbangan seakan setan
membuat darah - darah islam menemui kebangkitan

Karya: Amal Hamzah