Pentaval config for DVB

This is another DVB config for pentaval card running on Red Hat 7.3 (recomended)

[Transponder]

SatName=Agila2

Name=Trans1

Frequency=3680.000000

Symbol rate=26.6666

Polar=VER

;Polar=HOR

;Band=KU

Band=C

22Khz=Off

;22Khz=On

LnbPower=On

Viterbi=3/4

;Aviterbi lists -> 1/2, 2/3, 3/4, 5/6, 7/8, Auto

LnbType=Universal

;LNB type lists ->  None, 9300, 9750, 10000, 10600, 10750, 11300, Universal

DISEqC=None

;DISEqC lists -> None, Port1, Port2 ~ Port16

Count=1

PID0=585

;PID0=516

;PID0=567

;PID1=512

;PID2=5085

;PID3=5086

;PID4=5087

;PID5=5088

;PID6=5089

;PID7=5090

AutoPID=Off

;AutoPID=On

CrcChecksum=Off

;CrcChecksum=On

 

[Option]

SIP Count=0

;SIP0=4.5.6.7

;SIP1=1.2.3.4

;SIP2=0.0.0.0

;VMAC0=00:30:1D:00:41:B2

;VMAC0=00:D0:C1:01:12:57

;VMAC0=0

;VMAC1=0

[End]

Current0 DVB

Find the old file configuration on my document folder when i’m cleaning up my computer. I’m forget the card type of this config, but this is the config….
Config for JCSAT3

[TUNER_SECTION]

LNB_FREQUENCY_HIGH=50000000

LNB_FREQUENCY_LOW=5150000

TUNER_FREQUENCY=1096500

SYMBOL_RATE=6438

TUNE_TO_FREQUENCY=1

SATELLITE_FREQUENCY=4055100

_22KHZ_SWITCH=0

POLARIZATION=1

LNB_TYPE=1

 

[PID_SECTION]

MPE_PID1=2064

MPE_PID2=0xFFFF

MPE_PID3=0xFFFF

MPE_PID4=0xFFFF

MPE_PID5=0xFFFF

MPE_PID6=0xFFFF

MPE_PID7=0xFFFF

MPE_PID8=0xFFFF

 

[DEBUG_SECTION]

NDVBS_DEBUG_LEVEL=1

ERROR_LOG_LEVEL=1

DEBUG_LEVEL=1

LOG_FILE=0

 

[CONFIGURATION_SECTION]

CRC_ENABLED=0

CHECKSUM_ENABLED=0

NET_MASK=255.255.255.0

HW_ADDRESS=

IP_ADDRESS=10.2.0.1

 

[MISCELLANEOUS_SECTION]

DMA_RING_SIZE=125952

OS_LINK=0

TIMER=10

CUSTOMER_ID=0

MAXIMUM_MULTICAST_LIST=32

SS_LOWER_LIMIT=22

SS_UPPER_LIMIT=88

POLL_TIMER=15

TIMER_UNIT=25

IPC_SENDBUF_SIZE=4096

IPC_RECVBUF_SIZE=4096

GB_FLUSH_TIME=5

NO_OF_CHANNELS=8

LATENCY_TIMER=32

CACHE_LINE_SIZE=32

NO_OF_PACKETS=100

XLT_FLAG=0

MEM_POLICY=0

MEM_START=60

RAW_TS_MODE=1

RETAIN_BCAST=0

 

[IP_DECRYPT_SECTION]

IPDECRYPT_FLAG=0

Continue reading

8 step tweaking your win XP +

1. Disabling indexing service

Indexing service is a small program but using about 7% your CPU memory. Sometimes this think can make a litle noise when accessing your hard drive. Another function of indexing services is updating your computer file list to improve your computer speed with system from file indexing. When you’re not use file searching frequently, you can disable it with thi way:

Go to start –> Click Setting –> Control Panel –> Add/Remove Program –> Click Add/Remove Window Component –> Uncheck the indexing service –> click next –> finish

2. Optimize Display Setting

Your Windows XP with a cool desktop display is very interesting, but to much picture and icon will eat your system resource. To disable it follow this step :

Go to Start
Click Settings
Click Control Panel
Click System
Click Advanced tab
In the Performance tab click Settings


Leave only the following ticked:
Show shadows under menus
Show shadows under mouse pointer
Show translucent selection rectangle
Use drop shadows for icons labels on the desktop
Use visual styles on windows and buttons

3. Speedup Folder Browsing

Continue reading

TPROXY

requirements

1. latest kernel linux-2.6.18 here

2. tproxy patch for kernel 2.6.18 from here

3. iptables version 1.3.8 from netfilter

4. a pack of cigaretes and a cup of capucinno

5. squid 2.6.STABLE18 from squid-cache.org

Recompile your kernel…..

cd /usr/src

tar -jxvf <your-path-dir>/linux-2.6.18.6.tar.bz2

patch your kernel with tproxy support

tar -zxvf /<path-your-dir>/cttproxy-2.6.18-2.0.6.tar.gz

cd linux-2.6.18.4/

cat /usr/src/cttproxy-2.6.18-2.0.6/patch_tree/01-nat_reservations.patch | patch -p1

cat /usr/src/cttproxy-2.6.18-2.0.6/patch_tree/02-tproxy.patch | patch -p1

cat /usr/src/cttproxy-2.6.18-2.0.6/patch_tree/03-nat_delete.patch | patch -p1

make clean && make mrproper

make menuconfig or make config

under networking –> netowrking options –> netfilter configuration

CONFIG_IP_NF_TPROXY=m
CONFIG_IP_NF_MATCH_TPROXY=m
CONFIG_IP_NF_TARGET_TPROXY=m

contact me for complete .config

make && make install && make modules_install

cp arch/i386/boot/bzImage /boot/System.map-2.6.18

re-write your lilo.conf to load new kernel image at boot time

reload your lilo

reboot your server

—————————————————————————————

patching your iptables….

cd /usr/src

tar -jxvf /<your-path-dir>/iptables-1.3.8.tar.bz2

cd iptables-1.3.8/

cat /usr/src/cttproxy-2.6.18-2.0.6/iptables/iptables-1.3-cttproxy.diff | patch -p1

make KERNEL_DIR=/usr/src/linux-2.6.18/

make install KERNEL_DIR=/usr/src/linux-2.6.18/

make install-devel (optional)

modprobe ipt_tproxy

modprobe iptable_tproxy

if you don’t get any error, you got it!!!

————————————————————————————–

installing squid………….

cd /usr/src/

tar -jxvf /<your-path-dir>/squid-2.6.STABLE18.tar.bz2

cd squid-2.6.STABLE18

./configure ‘–prefix=/usr/local/squid’ ‘–sysconfdir=/etc/squid’ ‘–bindir=/usr/bin’ ‘–sbindir=/usr/sbin’ ‘–enable-FEATURE=yes’ ‘–enable-storeio=ufs,diskd,null’ ‘–enable-icmp’ ‘–enable-delay-pools’ ‘–enable-icap-client’ ‘–enable-kill-parent-hack’ ‘–enable-cachemgr-hostname=indomeya.net.id’ ‘–enable-arp-acl’ ‘–enable-ssl’ ‘–enable-cache-digests’ ‘–enable-x-accelerator-vary’ ‘–enable-stacktraces’ ‘–enable-cpu-profiling’ ‘–with-PACKAGE=yes’ ‘–enable-dependency-tracking’ ‘–enable-gnuregex’ ‘–enable-xmalloc-statistics’ ‘–enable-removal-policies=lru’ ‘–enable-useragent-log’ ‘–enable-referer-log’ ‘–enable-forw-via-db’ ‘–enable-default-hostsfile=/etc/hosts’ ‘–enable-ntlm-fail-open’ ‘–with-pic’ ‘–with-pthreads’ ‘-with-aio’ ‘–with-dl’ ‘–with-large-files’ ‘–enable-http-violations’ ‘–enable-underscores’ ‘–enable-linux-tproxy’ ‘–enable-linux-netfilter’ ‘–enable-htcp’ ‘–enable-leakfinder’ ‘–enable-follow-x-forwarded-for’

at this configure option will put squid.conf at /etc/squid/…

——————————————————————————————

write your squid.conf with your own imagination or contact me if you want to use my squid.conf. All of squid.conf reference is available here.

——————————————————————————————

Make sure you’ve change all permission on proxy cache directory when needed and run your squid as a daemon.

put this iptables command to your iptables init script

iptables -t tproxy -A PREROUTING -s xxx.xxx.xxx.xxx/24 -p tcp -m tcp –dport 80 -j TPROXY –on-port 3128 –on-ip 0.0.0.0

correct me if i’m wrong……… 😀

musiconHold

[default]
mode=files
directory=/var/lib/asterisk/mohmp3

;
;[native-random]
;mode=files
;directory=/var/lib/asterisk/mohmp3
;random=yes     ; Play the files in a random order

; =========
; Other (non-native) playback methods
; =========

[manual]
mode=custom
; Note that with mode=custom, a directory is not required, such as when reading
; from a stream.
directory=/var/lib/asterisk/mohmp3
application=/usr/bin/mpg123 -q -r 8000 -f 8192 -b 2048 –mono -s
random=yes

;[ulawstream]
;mode=custom
;application=/usr/bin/streamplayer 192.168.100.52 888
;format=ulaw

; mpg123 on Solaris does not always exit properly; madplay may be a better
; choice
;[solaris]
;mode=custom
;directory=/var/lib/asterisk/mohmp3
;application=/site/sw/bin/madplay -Q -o raw:- –mono -R 8000 -a -12

SIP-ku

[default]
exten => _2XXXX,1,Ringing
exten => _2XXXX,2,Wait,2
exten => _2XXXX,3,Dial(SIP/${EXTEN}|30)
exten => _2XXXX,4,Hangup

;exten => _2XXXX,1,Dial(SIP/${EXTEN})
;exten => _2XXXX,2,Hangup

exten => 123,1,Answer()
;exten => 123,2,MP3Player(/var/lib/asterisk/mohmp3/Ketahuan.mp3)
exten => 123,2,MusicOnhold()

;exten => _99X.,1,Ringing
;exten => _99X.,2,Wait,2
;exten => _99X.,1,Dial(SIP/spa400/${EXTEN}|30)
;exten => _99,1,Dial(SIP/spa400/$(EXTEN))
;exten => _99,2,Wait.4
;exten => _99X.,2,Hangup

;exten => _99*XX,1,Dial(SIP/spa400/${EXTEN}|30)
;exten => _99*XX,2,Hangup

exten => _9,1,Ringing
exten => _9,2,Dial(SIP/spa400/$(EXTEN))
exten => _9,3,Hangup

;ignorepat => 9
;exten => _9X.,1,Dial(SIP/spa400/$(EXTEN))
;exten => _9X.,2,Congestion
;include => default

exten => _9NXX,1,Dial(SIP/spa400/$(EXTEN))
exten => _9NXX,2,Congestion

exten => 6000,1,Answer
exten => 6000,2,MusicOnhold()

;[from-trunk]
;include => from-pstn
;…

;[from-pstn]
;include=> from-pstn-custom
;…

;[from-pstn-custom]
;exten=>spa400,1,Goto(ext-local,88,1)

Become Indispensable!

If you’ve met some of the people that repair computers for a living, you might be shocked at their diversity of knowledge, experience, and behavior. Some are hands-down great technicians, but many seem like unprepared and ignorant kids who you wouldn’t trust your toaster to, let alone something as critical to your life or business as your PC.

An outstanding technician is one who with professionalism and courtesy solves all the problems a user has without introducing new stresses or worries. These tips are written to aid technicians in following a path that is bound to put them above the pack and become indispensable to their clients and business. Every one of these tips can be taken as a matter of habit and will certainly boost your confidence as a technician and the money you bring into your business. Continue reading