Install laptop-mode-tools $yaourt -S laptop-mode-tools $yaourt -S hdparm Run service for laptop mode tools #systemctl enable ...
Install laptop-mode-tools
$yaourt -S laptop-mode-tools
$yaourt -S hdparm
Run service for laptop mode tools
#systemctl enable laptop-mode.service
Install acpid
$yaourt -S acpid
Run service for acpid
#systemctl enable acpid.service
Install cpupower
$yaourt -S cpupower
Run Service for cpupower
#systemctl enable cpupower.service
Run Service fancontrol
#systemctl enable fancontrol
Detect the sensor
#sensors-detect
Run Service for lm_sensor
#systemctl enable lm_sensors.service
This is my own notes, and it's works for me to cooling down the temperatur my note nook
This is my personal notes when i try to learn Vi editor To input press 'i' Finish input press 'esc' To change cursor,...
This is my personal notes when i try to learn Vi editor
To input press 'i'
Finish input press 'esc'
To change cursor, don't forget to press "esc" after that:
Button Function
h Left one character
j Down one character
k Up one character
l Right one character
Simple editing:
Button Function
x Delete One character in cursor position
4x Delete 3 character to right
X (Uppercase) Delete one character to left
3dw(Fast) Delete 3 word
dd Delete 1 row
2dd Delete two rows
D (Uppercase) Delete all rows to end (start from cursor)
r Change character in cursor
'esc' and press r to input
cw Change Words
C (Uppercase) Change Rows
a Insert character in the end of row
o Insert new row
u Undo
:w (Press shift) To save but for the first you must press 'esc'
:q (Press shift) Quit
/ Find words
Install tor and vidalia #pacman -S tor Run the services #systemctl enable tor #systemctl start tor Create this bash script: ...
Install tor and vidalia
#pacman -S tor
Run the services
#systemctl enable tor
#systemctl start tor
Create this bash script:
#############################################################
#!/bin/bash
export TORCHROOT=/opt/torchroot
mkdir -p $TORCHROOT
mkdir -p $TORCHROOT/etc/tor
mkdir -p $TORCHROOT/dev
mkdir -p $TORCHROOT/usr/bin
mkdir -p $TORCHROOT/usr/lib64
mkdir -p $TORCHROOT/var/lib
ln -s /usr/lib $TORCHROOT/lib64
cp /etc/hosts $TORCHROOT/etc/
cp /etc/host.conf $TORCHROOT/etc/
cp /etc/localtime $TORCHROOT/etc/
cp /etc/nsswitch.conf $TORCHROOT/etc/
cp /etc/resolv.conf $TORCHROOT/etc/
cp /etc/tor/torrc $TORCHROOT/etc/tor/
cp /usr/bin/tor $TORCHROOT/usr/bin/
cp /lib/libnss* /lib/libnsl* /lib/ld-linux.so* /lib/libresolv* /lib/libgcc_s.so* $TORCHROOT/u$
cp $(ldd /usr/bin/tor | awk '{print $3}'|grep "^/") $TORCHROOT/usr/lib64/
cp -r /var/lib/tor $TORCHROOT/var/lib/
chown -R tor:tor $TORCHROOT/var/lib/tor
sh -c "grep ^tor /etc/passwd > $TORCHROOT/etc/passwd"
sh -c "grep ^tor /etc/group > $TORCHROOT/etc/group"
mknod -m 644 $TORCHROOT/dev/random c 1 8
mknod -m 644 $TORCHROOT/dev/urandom c 1 9
mknod -m 666 $TORCHROOT/dev/null c 1 3
#################################################################
Run that script
Copy file in /usr/lib/ld-linux-x86-64.so* to /opt/torchroot/usr/lib/
Run chroot
# chroot /opt/torchroot /usr/bin/tor
Firefox
In Preferences > Advanced > Network tab > Settings manually
set Firefox to use the SOCKS proxy localhost with port 9050.
Then you must type about:config into the address bar and void your warranty.
Change network.proxy.socks_remote_dns to true and restart the browser.
This channels all DNS requests through TOR's socks proxy.
Alternatively, install the Tor Browser Bundle (tor-browser-en)
from the AUR. This will allow you to toggle very easily between
Tor navigation and normal navigation instead of changing the preferences.
This is my personal notes when i try to install burg Install burg: $yaourt -S burg-bios-bzr Install burg to your MBR #burg-insta...
This is my personal notes when i try to install burg
Install burg:
$yaourt -S burg-bios-bzr
Install burg to your MBR
#burg-install /dev/sda
Configure burg (Detect OS in sda)
#burg-mkconfig -o /boot/burg/burg.cfg
This is some burg themes:
$yaourt -S burg-themes
$yaourt -S burg-themes-extras
$yaourt -S persia-theme-burg
$yaourt -S arch-theme-burg
Don't foreget, after you install burg, you must re-Configure your burg:
#burg-mkconfig -o /boot/burg/burg.cfg
Saya menggunakan USB wireless merek Kasens 990WG, di box nya bertuliskan 6000MW. Ketika saya mencoba dengan reg db Bolivia (BO), saya han...
Saya menggunakan USB wireless merek Kasens 990WG, di box nya bertuliskan 6000MW. Ketika saya mencoba dengan reg db Bolivia (BO), saya hanya mendapat 20dbm. Karena masih terkena limit regulasi dari negara tersebut. Lalu bagaimana solusi untuk meningkatkan kekuatan sinyal wireless? Tentunya kita harus membuat regulasi sendiri tanpa ada batasan limit. Cara ini hanya berjalan di linux dan distro yang saya gunakan adalah Arch linux.
Langkahnya:
Download Wireless-reg-db
Extract Wireless-reg-dr
Edit db.txt dengan text editor
#nano db.txt
Dan masukan kode di bawah ini di akhir db.txt
country ZZ:
(2402 - 2482 @ 60), (N/A, 60)
Setelah itu,
install python2-m2crypto
#yoaurt -S python2-m2crypto
Di arch linux saya mendapati error python edit db2bin.py to version 2
Karena db2bin.py menggunakan python2 dan default python dari Arch Linux adalah python 3 versi 3. Solusinya buka dengan pyhton2 jangan versi 3
#sudo make
Install CRDA
$yaourt -S crda
Copy regulatory.bin ke crda
#cp regulatory.bin /usr/lib/crda/
Extract crda, Contoh:
/home/user/Wireless/reg-db/crda-1.1.3
Install libnl
#yaourt -S libnl
Salin root.key.pub ke crda folder
#cp root.key.pub.pem /home/user/Wireless/reg-db/crda-1.1.3/pubkeys/
Ke folder crda:
#make
#make install
#reboot
#ifconfig wlan0 down
#iw reg set ZZ
#ifconfig wlan0 up
Setelah install OS di virtualbox ternyata saya megalami masalah dengan ukuran disk vdi virtualbox. Size nya tidak cukup untuk install apl...
Setelah install OS di virtualbox ternyata saya megalami masalah dengan ukuran disk vdi virtualbox. Size nya tidak cukup untuk install aplikasi lagi ^_^
Virtualbox sudah menyediakan layanan untuk merubah ukuran harddisk via command. berikut adalah cara yang saya gunakan untuk merubah ukuran harddisk itu.
Sebelum memulai, lihat dulu ukuran harddisk vdi yang kita punya dengan cara
$ VBoxManage list hdds
UUID: XXXfab68-XXXX-XXXX-XXXX-XXX9adXXXbd8
Parent UUID: base
State: created
Type: normal (base)
Location: /home/aditya/VirtualBox VMs/Win 7/Win 7.vdi
Storage format: VDI
Capacity: 30000 MBytes
Itu adalah ukuran sebelum di rubah ukurannya. Dalam kasus ini saya mau merubah capacity nya menjadi 45000. Berikut adalah command nya:
$ VBoxManage modifyhd /home/aditya/VirtualBox\ VMs/Win\ 7/Win\ 7.vdi --resize 45000
Dalam hal ini saya menyimpan virtualbox vdi di directory /home/aditya/VirtualBox VMs/Win 7/
Semua itu tergantung dimana kita meletakannya.
Setelah itu cek kembali:
$ VBoxManage list hdds
UUID: XXXfab68-XXXX-XXXX-XXXX-XXX9adXXXbd8
Parent UUID: base
State: created
Type: normal (base)
Location: /home/aditya/VirtualBox VMs/Win 7/Win 7.vdi
Storage format: VDI
Capacity: 45000 MBytes
Semoga bermanfaat..........