Showing posts with label Linux. Show all posts
Showing posts with label Linux. Show all posts

Saturday, October 4, 2014

Overcoming the error message when opening the network manager wicd [bakctrack 5]

Wicd Network Manager is one of the default network manager application that is used to select the backtrack connection, (eg use wifi to connect, lan cable, etc.). never happened when I opened the wicd network manager I get an error message as shown below:
wicd error messages
actually does not matter when we press ok wicd running as usual, but sometimes we feel uncomfortable if get an error message. the following countermeasures:

open a terminal and type the following command
# dpkg-reconfigure wicd
then enter the command again
# update-rc.d wicd defaults
reopen his wicd and god willing (insya Allah) the error message no longer exists.

Adjust the brightness of the screen using the command in the terminal backtrack

For Linux users, sometimes there are devices Brightness settings via the control panel or hotkey does not work. as I alamai on my backtrack linux. Then there are other alternatives to set it, here is how quickly Adjusting Brightness Through Terminal.
1. Open a terminal (CTRL + ALT + T)
2. Type the command
sudo setpci -s 00:02.0 F4.B=nilai , press enter.The value is the value of the strength of brightnes. The value provided is 1-99 or can be filled with BB.
Ex :   sudo setpci -s 00:02.0 F4.B=BB


*
if you use a value of 1 so dark, like death, it's better not to use a value of 1! !!


The command can be used to adjust the brightness of executable files through termnal. Sehngga will only execute it alone is the same run the above command. Here's how

  1. Open terminal
  2. type the command sudo nano brightness. (berghtness name just an example, could be another)
  3. input the command, sudo setpci -s 00:02.0 F4.B=BB  (must directly enter the value)
  4. press Ctrl + X, then Y, fatherly store.
  5. Change into an executable file, by way of sudo chmod 777 brightness. (Filename customized name above)
  6. Try running, with a double-click, if the question arises, just select RUN to run.
Thus Adjusting Brightness Through Terminal, may be useful..

Tuesday, July 15, 2014

Integrate Kali Linux Tools on Ubuntu

Kali Linux is famous for its tools for penetration testing, called the Kali Tools. Here is how you can integrate those tools in your favourite Ubuntu desktop without having to install Kali OS. Follow the steps below,

1. Copy the following Kali repositories

deb http://ppa.launchpad.net/wagungs/kali-linux2/ubuntu UR_UBUNTU_V main 
deb-src http://ppa.launchpad.net/wagungs/kali-linux2/ubuntu UR_UBUNTU_V main 
deb http://ppa.launchpad.net/wagungs/kali-linux/ubuntu UR_UBUNTU_V main 
deb-src http://ppa.launchpad.net/wagungs/kali-linux/ubuntu UR_UBUNTU_V main 
 
Replace the text UR_UBUNTU_V based on your Ubuntu version.
  • Ubuntu 12.04 : Precise
  • Ubuntu 12.10: Quantal
  • Ubuntu 13.04: Raring
Assuming that you are using Ubuntu 13.04, your repositories would be


deb http://ppa.launchpad.net/wagungs/kali-linux2/ubuntu raring main
deb-src http://ppa.launchpad.net/wagungs/kali-linux2/ubuntu raring main
deb http://ppa.launchpad.net/wagungs/kali-linux/ubuntu raring main
deb-src http://ppa.launchpad.net/wagungs/kali-linux/ubuntu raring main  

Note:If you’re an Ubuntu 14.04 user, you can use raring , as Trusty version of Kali repositories are not released
 

2. Update ‘sources.list’ file 

Open your sources.list file using the command
sudo gedit /etc/apt/sources.list 

Now, gedit editor will open the file sources.list. Paste the above code at the end of your file and Save.
 
gedit_source.list_arrrx_desk

3. Copy the PGP Key
 

Copy the Key below and save it as key.pgp text file in your desktop. 

-----BEGIN PGP PUBLIC KEY BLOCK-----
 Version: SKS 1.1.4
 Comment: Hostname: keyserver.ubuntu.com

 mI0ET324YwEEANbSlISrOlAGjxgFRxiN6jk0JIl/vxQ8lapRdxZ4DHDAQdXbX4AuigMBkP5e
 sOxhMpDnkgMRtEVpaBMdQheA0/431pPQYqkr3jdeZw5JS5opiyJ4qr/QrcoSFHSluEkWkbZ6
 RYOkA25vW31KK2FB2LQVRYk580llXAVgIUznm2ATABEBAAG0GExhdW5jaHBhZCBQUEEgZm9y
 IHdhZ3VuZ4i4BBMBAgAiBQJPfbhjAhsDBgsJCAcDAgYVCAIJCgsEFgIDAQIeAQIXgAAKCRA
 IuuNj9/bVxabBADSGN8cp+hqkdZqwq263wdz/UGsiuB1bCrH06/HznC/ZC5rjfH3aQ1Dwwag
 zYCrSD3c0cKNAqD10009N76RMlzZBH8kKL9khH3zPL/k4/lYuVP7y6NKFbBsnawEUc0mWcCa
 mH4ScTdWWPXP/mOQiUUjnQ1bZhzpcbQOb+hEUAqExg==
 =fJ+8
 -----END PGP PUBLIC KEY BLOCK-----
 

4. Add PGP Key in apt
Open terminal and type :

cd Desktop 

Now type :


sudo apt-key add key.pgp

If your key addition is successfull, you will see Ok .


Now update your apt-get repositories using the command

sudo apt-get update
 

5. Install Synaptic Package Manager

Use the command

sudo apt-get install synaptic
 
If you already have Synaptic installed , you may skip this step.

6. Install Kali Tools 

Now open Synaptic Package manager and click on Origin. You can see 2 Kali repositories by names


  • LP-PPA-wagungs-kali-linux/raring
  • LP-PPA-wagungs-kali-linux2/raring
    synaptic package manager
    Click on the repositories and install the Tools from the list.

    You are done now. .
    Enjoy the Kali Tools on your Ubuntu desktop.

Sunday, July 13, 2014

UPDATE KALI LINUX

pertama-tama yang mesti kita lakukan
Buka terminal dan ketik :

1. arrrx@localhost:~apt-get update
2. arrrx@localhost:~apt-get upgrade
3. arrrx@localhost:~apt-get dist-upgrade

Kemudian

1. Ketik kode berikut
arrrx@localhost:~leafpad /etc/apt/sources.list



2. Setelah aplikasi Leafpad terbuka Tambahkan Repository berikut :
deb http://http.kali.org/ /kali main contrib non-free
deb http://http.kali.org/ /wheezy main contrib non-free
deb http://http.kali.org/kali kali-dev main contrib non-free
deb http://http.kali.org/kali kali-dev main/debian-installer
deb-src http://http.kali.org/kali kali-dev main contrib non-free
deb http://http.kali.org/kali kali main contrib non-free
deb http://http.kali.org/kali kali main/debian-installer
deb-src http://http.kali.org/kali kali main contrib non-free
deb http://security.kali.org/kali-security kali/updates main contrib non-free
deb-src http://security.kali.org/kali-security kali/updates main contrib non-free


simpan dan update
- apt-get update
- apt-get upgrade
Bersihkan cache apt
$ sudo -i
# apt-get clean
# cd /var/lib/apt
# mv lists lists.old
# mkdir -p lists/partial
# apt-get clean
# apt-get update
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 158AFC1289A29 

setelah cache apt bersih lakukan Update Lagi
apt-get update
apt-get upgrade

Friday, October 18, 2013

MENGATUR BRIGHTNESS MENGGUNAKAN TERMINAL

Bagi pengguna Linux, kadang ada perangkat yang pengaturan Brightness melalui kontrol panel atau hotkey tidak jalan. seperti yang saya alamai pada linux backtrack saya. Maka ada alternatif lain untuk mengaturnya, berikut ini cara cepat Mengatur Brightness Melalui Terminal.

1. Buka terminal ( CTRL+ALT+T )
2. Ketikkan perintah sudo setpci -s 00:02.0 F4.B=nilai , tekan enter.
nilai tersebut adalah nilai kekuatan dari brightnes. Nilai yang disediakan adalah 1 – 99 atau bisa di isi dengan BB.
contoh :   sudo setpci -s 00:02.0 F4.B=BB

*kalau pake nilai 1 gelap sekali, seperti mati, lebih baik jangan gunakan nilai 1 ! !!

Perintah tersebuh  dapat dijadikan file executable untuk mengatur brightness melalui termnal. Sehngga nantinya hanya menjalankan file ini saja sudah sama menjalankan perintah diatas. Berikut caranya :

  1. Buka terminal
  2. ketikan perintahsudo nano brightness. (nama berghtness hanya contoh, bisa yang lain)
  3. masukan perintah tadi, sudo setpci -s 00:02.0 F4.B=BB . ( nilai harus langsung di masukkan)
  4. tekan Ctrl + X , kemudian Y , unutk menyimpan.
  5. Ubah menjadi file executable, dengan cara sudo chmod 777 brightness .(nama disesuaikan nama file diatas)
  6. Coba jalankan, dengan klik dua kali, jika muncul pertanyaan, pilih saja RUN untuk menjalankan.
Demikian Mengatur Brightness Melalui Terminal, semoga bermanfaat..

Mengatasi Pesan error ketika membuka wicd network manager [bakctrack 5]

WICD Network Manager adalah salah satu aplikasi network manager bawaan backtrack yang digunakan untuk memilih koneksi, (mis akan konek pake wi fi, kabel lan dll)

ketika saya membuka wicd network manager saya mendapatkan sebuah pesan error
seperti gambar di bawah 


sebenarnya sih tidak masalah ketika kita tekan ok wicd berjalan seperti biasa namun terkadang kita merasakan risih jika mendapatkan pesan error. nah berikut langkah mengatasinya :
buka terminal lalu ketikan perintah berikut
# dpkg-reconfigure wicd
lalu masukan perintah lagi
# update-rc.d wicd defaults
buka kembali wicd nya dan insya allah pesan error tersebut sudah tidak ada lagi.