Untuk mengenali memori di atas 3 GB pada centos, cara mengaktifkannya silahkan install : kernel-PAE
$yum install kernel-PAE
Untuk mengenali memori di atas 3 GB pada centos, cara mengaktifkannya silahkan install : kernel-PAE
$yum install kernel-PAE
/ip address add address=192.168.0.1/24 network=192.168.0.0 broadcast=192.168.0.255 interface=Local add address=192.168.1.2/24 network=192.168.1.0 broadcast=192.168.1.255 interface=WAN1 add address=192.168.2.2/24 network=192.168.2.0 broadcast=192.168.2.255 interface=WAN2 /ip dns set allow-remote-requests=yes cache-max-ttl=1w cache-size=5000KiB max-udp-packet-size=512 servers=221.132.112.8,8.8.8.8 /ip firewall mangle add chain=input in-interface=WAN1 action=mark-connection new-connection-mark=WAN1_conn add chain=input in-interface=WAN2 action=mark-connection new-connection-mark=WAN2_conn add chain=output connection-mark=WAN1_conn action=mark-routing new-routing-mark=to_WAN1 add chain=output connection-mark=WAN2_conn action=mark-routing new-routing-mark=to_WAN2 add chain=prerouting dst-address=192.168.1.0/24 action=accept in-interface=Local add chain=prerouting dst-address=192.168.2.0/24 action=accept in-interface=Local add chain=prerouting dst-address-type=!local in-interface=Local per-connection-classifier=both-addresses-and-ports:2/0 action=mark-connection new-connection-mark=WAN1_conn passthrough=yes add chain=prerouting dst-address-type=!local in-interface=Local per-connection-classifier=both-addresses-and-ports:2/1 action=mark-connection new-connection-mark=WAN2_conn passthrough=yes add chain=prerouting connection-mark=WAN1_conn in-interface=Local action=mark-routing new-routing-mark=to_WAN1 add chain=prerouting connection-mark=WAN2_conn in-interface=Local action=mark-routing new-routing-mark=to_WAN2 /ip route add dst-address=0.0.0.0/0 gateway=192.168.1.1 routing-mark=to_WAN1 check-gateway=ping add dst-address=0.0.0.0/0 gateway=192.168.2.1 routing-mark=to_WAN2 check-gateway=ping add dst-address=0.0.0.0/0 gateway=192.168.1.1 distance=1 check-gateway=ping add dst-address=0.0.0.0/0 gateway=192.168.2.1 distance=2 check-gateway=ping /ip firewall nat add chain=srcnat out-interface=WAN1 action=masquerade add chain=srcnat out-interface=WAN2 action=masquerade
SET FOREIGN_KEY_CHECKS=0;
UPDATE `core_store` SET store_id = 0 WHERE code='admin';
UPDATE `core_store_group` SET group_id = 0 WHERE name='Default';
UPDATE `core_website` SET website_id = 0 WHERE code='admin';
UPDATE `customer_group` SET customer_group_id = 0 WHERE customer_group_code='NOT LOGGED IN';
SET FOREIGN_KEY_CHECKS=1;
Seperti biasa saat konfiguasi cisco device pastikant telah diberikan IP, routing, Password dan pernak-pernik lainnya, termasuk security, logging dan monitoring.
stcapp ccm-group 1
stcapp
!
stcapp feature access-code
!
stcapp feature speed-dial
!
voice-port 2/0
cptone ID
timeouts initial 60
timeouts interdigit 60
timeouts call-disconnect 0
timeouts ringing infinity
caller-id enable
!
voice-port 2/1
cptone ID
timeouts initial 60
timeouts interdigit 60
timeouts call-disconnect 0
timeouts ringing infinity
caller-id enable
!
voice-port 2/2
cptone ID
timeouts initial 60
timeouts interdigit 60
timeouts call-disconnect 0
timeouts ringing infinity
caller-id enable
!
voice-port 2/3
cptone ID
timeouts initial 60
timeouts interdigit 60
timeouts call-disconnect 0
caller-id enable
!
voice-port 2/4
cptone ID
timeouts initial 60
timeouts interdigit 60
timeouts call-disconnect 0
timeouts ringing infinity
caller-id enable
!
voice-port 2/5
cptone ID
timeouts initial 60
timeouts interdigit 60
timeouts call-disconnect 0
timeouts ringing infinity
caller-id enable
!
voice-port 2/6
cptone ID
timeouts initial 60
timeouts interdigit 60
timeouts call-disconnect 0
timeouts ringing infinity
caller-id enable
!
voice-port 2/7
cptone ID
timeouts initial 60
timeouts interdigit 60
timeouts call-disconnect 0
timeouts ringing infinity
caller-id enable
!
voice-port 2/8
cptone ID
timeouts initial 60
timeouts interdigit 60
timeouts call-disconnect 0
timeouts ringing infinity
caller-id enable
!
voice-port 2/9
cptone ID
timeouts initial 60
timeouts interdigit 60
timeouts call-disconnect 0
timeouts ringing infinity
caller-id enable
!
voice-port 2/10
cptone ID
timeouts initial 60
timeouts interdigit 60
timeouts call-disconnect 0
timeouts ringing infinity
caller-id enable
!
voice-port 2/11
cptone ID
timeouts initial 60
timeouts interdigit 60
timeouts call-disconnect 0
timeouts ringing infinity
caller-id enable
!
voice-port 2/12
cptone ID
timeouts initial 60
timeouts interdigit 60
timeouts call-disconnect 0
timeouts ringing infinity
caller-id enable
!
voice-port 2/13
cptone ID
timeouts initial 60
timeouts interdigit 60
timeouts call-disconnect 0
timeouts ringing infinity
caller-id enable
!
voice-port 2/14
cptone ID
timeouts initial 60
timeouts interdigit 60
timeouts call-disconnect 0
timeouts ringing infinity
caller-id enable
!
voice-port 2/15
cptone ID
timeouts initial 60
timeouts interdigit 60
timeouts call-disconnect 0
timeouts ringing infinity
caller-id enable
!
voice-port 2/16
cptone ID
timeouts initial 60
timeouts interdigit 60
timeouts call-disconnect 0
timeouts ringing infinity
caller-id enable
!
voice-port 2/17
cptone ID
timeouts initial 60
timeouts interdigit 60
timeouts call-disconnect 0
timeouts ringing infinity
caller-id enable
!
voice-port 2/18
cptone ID
timeouts initial 60
timeouts interdigit 60
timeouts call-disconnect 0
timeouts ringing infinity
caller-id enable
!
voice-port 2/19
cptone ID
timeouts initial 60
timeouts interdigit 60
timeouts call-disconnect 0
timeouts ringing infinity
caller-id enable
!
voice-port 2/20
cptone ID
timeouts initial 60
timeouts interdigit 60
timeouts call-disconnect 0
timeouts ringing infinity
caller-id enable
!
voice-port 2/21
cptone ID
timeouts initial 60
timeouts interdigit 60
timeouts call-disconnect 0
timeouts ringing infinity
caller-id enable
!
voice-port 2/22
cptone ID
timeouts initial 60
timeouts interdigit 60
timeouts call-disconnect 0
timeouts ringing infinity
caller-id enable
!
voice-port 2/23
cptone ID
timeouts initial 60
timeouts interdigit 60
timeouts call-disconnect 0
timeouts ringing infinity
caller-id enable
!
ccm-manager fax protocol cisco
ccm-manager config server 192.168.2.2
!
!
sccp local FastEthernet0/0
sccp ccm 192.168.2.2 identifier 1 priority 1 version 7.0
sccp
!
sccp ccm group 1
bind interface FastEthernet0/0
associate ccm 1 priority 1
switchback method graceful
!
!
dial-peer voice 20 pots
service stcapp
port 2/0
!
dial-peer voice 21 pots
service stcapp
port 2/1
!
dial-peer voice 22 pots
service stcapp
port 2/2
!
dial-peer voice 23 pots
service stcapp
port 2/3
!
dial-peer voice 25 pots
service stcapp
port 2/5
!
dial-peer voice 26 pots
service stcapp
port 2/6
!
dial-peer voice 27 pots
service stcapp
port 2/7
!
dial-peer voice 28 pots
service stcapp
port 2/8
!
dial-peer voice 29 pots
service stcapp
port 2/9
!
dial-peer voice 210 pots
service stcapp
port 2/10
!
dial-peer voice 211 pots
service stcapp
port 2/11
!
dial-peer voice 212 pots
service stcapp
port 2/12
!
dial-peer voice 213 pots
service stcapp
port 2/13
!
dial-peer voice 214 pots
service stcapp
port 2/14
!
dial-peer voice 215 pots
service stcapp
port 2/15
!
dial-peer voice 216 pots
service stcapp
port 2/16
!
dial-peer voice 217 pots
service stcapp
port 2/17
!
dial-peer voice 218 pots
service stcapp
port 2/18
!
dial-peer voice 219 pots
service stcapp
port 2/19
!
dial-peer voice 220 pots
service stcapp
port 2/20
!
dial-peer voice 221 pots
service stcapp
port 2/21
!
dial-peer voice 222 pots
service stcapp
port 2/22
!
dial-peer voice 223 pots
service stcapp
port 2/23
!
dial-peer voice 24 pots
service stcapp
port 2/4
| Product | Version | Port / Protocol | Username | Default Password | Access / Impact | Notes |
| ALAT8326GB | Multi | manager | manager | Admin | ||
| All Routers | Manager | Friend | Any | |||
| All | All | Telnet | manager | friend | Admin | |
| Allied Telesyn | AR410 | Administrator | admin | |||
| AT Router | HTTP | root | (none) | Admin | ||
| AT8000S/24 | v1.1.0.32 | serial console | manager | friend | admin | |
| AT8016F | Console | manager | friend | Admin | ||
| AT-8024(GB) | Console | n/a | admin | Admin | ||
| AT-8024(GB) | HTTP | manager | admin | Admin | ||
| AT-8550GB | Telnet | manager | friend | |||
| AT-AR130 (U) -10 | HTTP | Manager | friend | Admin | Default IP is 192.168.242.242 | |
| AT-AR750S | manager | friend | ||||
| at-img634w | a+ | multi | manager | friend | ||
| AT-RG613LH | 2-3_59 | Telnet | manager | friend | ||
| Generic Switch/Router | Multi | manager | friend | Admin | ||
| R130 | Manager | friend | ||||
| Rapier G6 Switch | manager | friend | ||||
| Switch | AT-8124XL 1.0.3 | Multi | admin | (none) | Admin | |
| Various | Multi | manager | friend | Admin | ||
| Various | Multi | secoff | secoff | Admin | ||
| windows xp | AR410 | http://192.168.1.174 | admin | admin | user | HACK |
/ip dhcp-server option
add code=66 name=TFTP-Server value=10.22.1.27
add code=67 name=PXE-FILE value=pxelinux.0
add code=60 name=Client-Redirect value=PXEClient
/ip dhcp-server network
add address=10.22.3.0/24 comment=”" dhcp-option=\
Client-Redirect,TFTP-Server,PXE-FILE dns-server=\
10.22.3.2,10.22.0.2 gateway=10.22.3.1
~ app/design/frontend/default/YOURTHEMES/layout/catalog.xml
Go to your theme folder and find file layout/checkout.xml and look for the block
<block type="checkout/onepage_review_info" name="root" output="toHtml" template="checkout/onepage/review/info.phtml"><block type="core/template" name="checkout.onepage.review.button" as="button" template="checkout/onepage/review/button.phtml"/></block>Berikut daftar ip yang digunakan teman ketika mengirim email menggunakan koneksi Speedy :
110.138.152.0/21
110.138.112.0/23
118.97.31.0/24
118.97.66.0/24
125.160.224.0/21
125.166.88.0/21
125.167.112.0/21
180.251.176.0/20
180.252.144.0/20
180.254.112.0/20
| Exit Code Number | Meaning | Comments |
| 1 | Catchall for general errors | Miscellaneous errors, such as “divide by zero” and other impermissible operations |
| 2 | Misuse of shell builtins (according to Bash documentation) | Seldom seen, usually defaults to exit code 1 |
| 126 | Command invoked cannot execute | Permission problem or command is not an executable |
| 127 | “command not found” | Possible problem with $PATH or a typo |
| 128 | Invalid argument to exit | exit takes only integer args in the range 0 – 255 (see first footnote) |
| 128+n | Fatal error signal “n” | $? returns 137 (128 + 9) |
| 130 | Script terminated by Control-C | Control-C is fatal error signal 2, (130 = 128 + 2, see above) |
| 255* | Exit status out of range | exit takes only integer args in the range 0 – 255 |
Akhir-akhir ini ga tahu kenapa Openvpn di server sering mati dengan pesan
[184661.049901] openvpn[5686]: segfault at 0 ip b74f1b81 sp bfa02e68 error 4 in libc-2.11.2.so[b7482000+140000]
Hal ini terjadi setelah upgrade dari lenny ke squeez. Dan mengakibatkan entah service atau interface tun0-nya yang mati atau down.
Karena googling ga nemu-nemu cara perbaikinnya maka saya buat auto restart kalo salah satu service atau interface tun0-nya mati. Berikut scriptnya :
#!/bin/sh
SERVICE=’openvpn’if ps ax | grep -v grep | grep $SERVICE > /dev/null ; then
echo “$SERVICE service running”
eth=$(ifconfig | grep tun0 | cut -d” ” -f1 )
if [ $eth = "tun0" ]; then
echo “interface $eth up”
else
echo “Interface $eth down harus restart”
/etc/init.d/openvpn stop
/etc/init.d/openvpn stop
/etc/init.d/openvpn stop
/etc/init.d/openvpn start
/etc/init.d/openvpn start
fi
else
/etc/init.d/openvpn stop
/etc/init.d/openvpn stop
/etc/init.d/openvpn stop
/etc/init.d/openvpn start
/etc/init.d/openvpn start
fi
exit 0