Category Archives: Linux

Ubuntu Dengan Mate

Published by:

Mate is … bukan mati tapi mate (benar-benar dibaca mate). Adalah salah satu jenis desktop environment dalam dunia linux berbasis gnome 2 (info).  Desktop ini terlahir karena adanya ketidaksetujuan dari perubahan yang terdapat pada gnome 3. Saya sendiri tidak paham apanya. Karena saya menyukai perubahan apalagi perubahan ke arah positif. Tapi tak apalah, akhirnya lahirlah Mate. Yaitu dengan meneruskan pengembangan interface gnome 2. Tentu dengan banyak perubahan juga. Nah itu berubah. Tapi kok dulu ga setuju? Ya sudahlah.

Menurut wikipedia inilah jenis-jenis aplikasi dasar yang terdapat pada mate :

  • caja (box) – file manager (from Nautilus)
  • pluma (quill/feather/pen) – text editor (from Gedit)
  • atril (lectern) – document viewer (from Evince)
  • engrampa (staple) – archive manager (from Archive Manager)
  • mate-terminal – terminal emulator (from GNOME Terminal)
  • marco (frame) – window manager (from Metacity)
  • mozo (waiter) – menu-item editor (from Alacarte)

Saya tertarik sama mate karena ingin  mencoba ‘keringanannya’. Ya karena saya punya notebook/ cpu yang old punya. Jika dipaksakan install desktop jenis terbaru semisal gnome 3, ya jelas gak kuat. Alhasil komputer saya pasti bengong. Dan saya keburu lapar menunggu proses loading-nya selesai. Apa kata dunia kalau saya kurus.

Cara paling mudah untuk menginstalnya adalah melalui command console dan menginput ppa seperti dalam sumber berikut.

sudo apt-add-repository ppa:ubuntu-mate-dev/ppa
sudo apt-add-repository ppa:ubuntu-mate-dev/trusty-mate
sudo apt-get update && sudo apt-get upgrade
sudo apt-get install –no-install-recommends ubuntu-mate-core ubuntu-mate-desktop

Sudah begitu saja. Tunggu sampai semua selesai, lalu logout dan pilih desktop Mate, login kembali.

Zoneminder Filter Crash

Published by:

My filter won’t run. I wonder why, until today, I found out about the crash of the zmfilter.pl the command to execute the filter. After blogwalking a while I found out about the crash in Arc system. The solution is to create a file called /etc/timezone. The file must contain the location of the timezone. Mine is Asia/Jakarta.
I also do the forum said, I re-link the /etc/localtime to /usr/share/zoneinfo/Etc/GMT+7

BackBox Linux Ubuntu 16.04 with sis671 VGA Chipset

Published by:

I had a broken hdd in my laptop 2 days ago. It made me to decide to find another hdd and install my Linux Backbox into it. Something made me worry, I forgot how to set the monitor to the appropriate setting. Then I had to browse the google once more. Here is what I looked for : sis671 driver for my 64bit Backbox.

I manage to find them. Cause I still keep those two in my own repo driver. I copy them to

#sudo cp sis671.la  /usr/lib/xorg/modules/driver
#sudo cp sis671.so  /usr/lib/xorg/modules/driver

Then Everything not goin right. I still have the 480×600 resolution. Then I went to grub setting at boot. I put vga=791 to force the display resolution up. It worked. But I didn’t satisfied, it should not be stop at 1024×768. Before this I manage to have 1280×768. Just I forgot how.

Then Googling again and find out about edid.bin. Actually just a blind guess, cause the source said it was used for nvida driver not my sis671. But what the hell. And sorry source, I forgot to write down your address. I tried to search you again in my history chrome but hell, that’s a lot of them so naaaaaaaa I’ll find you later.

According to the source I copied the edid.bin file to /root. Cause it goes to a reference in xorg.conf. And I also copied the xorg.conf but I modified myself cause it is not nvidia but sis. I will use sis671 driver that I copied earlier.

 

Here is my xorg.conf

Section “ServerLayout”
Identifier “Layout0”
Screen 0 “Screen0” 0 0
InputDevice “Keyboard0” “CoreKeyboard”
InputDevice “Mouse0” “CorePointer”
EndSection

Section “Files”
RgbPath “/usr/X11R6/lib/X11/rgb”
FontPath “/usr/share/fonts/default/Type1”
EndSection

Section “Module”
Load “dbe”
Load “extmod”
Load “type1”
Load “freetype”
Load “glx”
EndSection

Section “ServerFlags”
Option “Xinerama” “0”
EndSection

Section “InputDevice”
# generated from default
Identifier “Mouse0”
Driver “mouse”
Option “Protocol” “auto”
Option “Device” “/dev/psaux”
Option “Emulate3Buttons” “no”
Option “ZAxisMapping” “4 5”
EndSection

Section “InputDevice”
# generated from default
Identifier “Keyboard0”
Driver “kbd”
option “AutoRepeat” “250 50”
option “CoreKeyboard”
option “XkbRules” “xorg”
option “XkbModel” “microsoftnek4k”
option “XkbOptions” “caps:internal_nocancel+lv3(switch)+compose(me nu)”
EndSection

Section “Monitor”
# HorizSync source: xconfig, VertRefresh source: xconfig
Identifier “Monitor0”
VendorName “Unknown”
ModelName “DFP-0”
HorizSync 28.0 – 80
VertRefresh 43.0 – 120
#ModeLine “1440x900_60.00” 106.5 1440 1520 1672 1904 900 901 904 932 -hsync +vsync
Modeline “1280x768_60.00” 79.50 1280 1344 1472 1664 768 771 781 798 -hsync +vsync
Option “DPMS”
EndSection

Section “Device”
Identifier “Videocard0”
Driver “sis671”
VendorName “”
BoardName “”
EndSection

Section “Screen”
Identifier “Screen0”
Device “Videocard0”
Monitor “Monitor0”
DefaultDepth 24
Option “TwinView” “1”
Option “TwinViewXineramaInfoOrder” “DFP-0”
Option “metamodes” “DFP-0: 1440x900_60.00 +0+0, DFP-1: 1440x900_60.00 +1440+0”
Option “MonitorLayout” “TDMS”
Option “CustomEDID” “DFP-0:/root/edid.bin; DFP-1:/root/edid.bin”
SubSection “Display”
Depth 24
EndSubSection
EndSection

Then Reboot.

Oh pay attention to the modeline line in the xorg. I change the original one to my setting. The how to get the modeline is through this command.

#cvt 1280 768

The result will be like this :

# 1280×768 59.87 Hz (CVT) hsync: 47.78 kHz; pclk: 79.50 MHz
Modeline “1280x768_60.00” 79.50 1280 1344 1472 1664 768 771 781 798 -hsync +vsync

Copy and put the result into the xorg.conf. Then reboot again. And my laptop is fine now.

Oh just for the record, not for publishing reason, I didn’t get paid anyway from the manufacturer, I use Axioo Neon MNC 215p.

IP Modification Through Command Line

Published by:

Here is the way to change or modification ip address through command line. Do all the command in root privileged.

To set a static ip

#ip addr add 192.168.xxx.xxx dev eth0

to delete a static ip

#ip addr del 192.168.xxx.xxx dev eth0

to set dynamic ip

#dhclient eth0

to set route for static ip

#route add default gw xxx.xxx.xxx.xxx

to clear all ip setting

#ip addr flush dev eth0

Password folder without software in windows

Published by:

sumber http://forum.detik.com/mem-password-folder-tanpa-software-apapun-t222311.html

dari user h3n9k4

1- Buat folder baru

2- didalam folder, buat ( TXT ) file & copy code berikut:

Code:
@ECHO OFF
title Folder Private
if EXIST “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}” goto UNLOCK
if NOT EXIST Private goto MDLOCKER
:CONFIRM
echo Are you sure you want to lock the folder(Y/N)
set/p “cho=>”
if %cho%==Y goto LOCK
if %cho%==y goto LOCK
if %cho%==n goto END
if %cho%==N goto END
echo Invalid choice.
goto CONFIRM
:LOCK
ren Private “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}”
attrib +h +s “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}”
echo Folder locked
goto End
:UNLOCK
echo Enter password to unlock folder
set/p “pass=>”
if NOT %pass%== password here goto FAIL
attrib -h -s “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}”
ren “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}” Private
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Private
echo Private created successfully
goto End
:End

3- Setelah di-copy, lihat baris ke 23 (atau dunakan find {CTRL+F dan ketik “password”} pasti ada tulisan : password here (ganti sesuka hati denagn passwordmu.) :

eX: if NOT %pass%== narnia1234 goto FAIL
//bila passwordmu narnia1234 .//

4- Setelah itu pilih menu: save as & beri nama “locker.bat ”

5- Masuk kembali ke folder tadi, akan ada ( LOCKER ) commanding.
(locker.exe)

6- Double Click maka akan muncul folder baru (Private )

7- Kemudian masukkan file-file ke dalam “private Folder” lalau coba keluar dari folder dan Double click file locker.exe lagi. Akan ada dialog: you want to lock your folder? Y/N ?

8- Ketik Y. private folder akan hilang.

9- Untuk membuka folder rahasia tadi buka file (locker) & ketik passwordmu maka private folder muncul lagi.

Kalau salah masukin pass akan diforward ke control panel…

Bisa juga digunakan pada Pen-Drive. No Software Required

Bila Locker file terdelete (gak sengaja pastinya). bisa dibuat lagi dengan password yang sama.

Locker file juga bisa disimpen di tempat lain tapi kalau mau buka harus dibalikin ke tempat semula lagi…

Backbox – Easy For Newbie As Me

Published by:

Backbox is one of the rar operating system people use. Especially regular people like me. This os is like Kali-Linux. An expert use it as a penetrating tools. Let’s say ethical hacker.. or something. The interfaces and everything is using ubuntu xenial based with lightdm desktop that very convenience to my notebook’s hardware.

Just like Kali, I have not use the penetrating tool yet. I have to learn it carefully though. Anyway this is a good experience, I set up a new goal for my computer expertise.

Kali – rolling Linux sound setting

Published by:

source : https://forums.kali.org/showthread.php?30815-No-sound-how-to-start-pulseaudio-on-startup

1. Turn on Kali Linux, open terminal and type in sudo killall pulseaudio and hit enter. Now type next.

sudo apt-get purge pulseaudio pulseaudio-utils gstreamer0.10-pulseaudio paman pavumeter pavucontrol

and again hit enter.
2. Continue typing and now type rm ~/ .pulse-cookie , after that type rm -r ~/ .pulse and after this type next.

sudo apt-get install alsa-base alsa-tools alsa-tools-gui alsa-utils alsa-oss alsamixergui libalsaplayer0

and at last type apt-get install kmix and hit enter.
3. And now restart machine.
4. OK now again open terminal and start typing on terminal and type next apt-get install pulseaudio and hit enter and and last type apt-get install gnome-core and again hit enter.
5. Restart machine.
Now you can see the result, all works great, problem solved

by deanMKD1

but in my case, I had to skip some step, like installed alsa-base, which was giving me the non exist message to me. The removing of the folder pulsa-cookie which was not exist.

The other is fine. They make my notebook sound alive.

configuring nfs server and mounting it

Published by:

NFS is one of the secure sharing system in linux. NFS is Network File System. It quite easy to setup, and more simple than samba.
/etc/hosts.allow
portmap: 192.168.1.2
lockd: 192.168.1.2
rquotad: 192.168.1.2
mountd: 192.168.1.2
statd: 192.168.1.2

/etc/hosts.deny
portmap: ALL
lockd: ALL
rquotad: ALL
mountd: ALL
statd: ALL

chmod a+x /etc/rc.d/rc.nfsd
/etc/rc.d/rc.nfsd start

nano /etc/exports
/mnt/sda1 192.168.1.2(rw,no_subtree_check) 92.168.1.3(ro,no_subtree_check)

$exportfs -r
that’s in server

this is in client
mount 192.168.1.1:/mnt/sda1 /home/me/computer1 -o nolock

GPG Key error in ubuntu precise 12.04

Published by:

After doing some apt-get update I got this error

GPG error: http://id.archive.ubuntu.com precise Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>

I had this since I add a new line to update my virtualbox to 5.1 in sources.list

But here is the way to correct the problem.  I got this from here.

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 40976EAF437D05B5

It seem the signature key to update the ubuntu has change.