Author Archives: admimin

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

Re-make Windows 7 installation to choose the version

Published by:

Borrow a friends Genuine Windows 7 32 bit DVD disc if you know someone who has one.

Make an image of the DVD, you can use a program such as ISO Recorder to do that.
http://alexfeinman.com/

If you don’t have a Windows 7 DVD to borrow, try downloading an image:

32 bit
http://msft-dnl.digitalrivercontent.net/msvista/pub/X15-65732/X15-65732.iso

You are going to edit the contents of the .ISO file and remove the ei.cfg file. After editing burn it to a blank DVD disk or put it on a thumb drive. Boot from it, this will reveal all editions of Windows 7, select the Starter edition. More information in the following article about how to edit the ei.cfg file

Ei.cfg Removal Utility Lets You Use Any Product Key
http://lifehacker.com/#%215438005/eicfg-removal-utility-lets-you-use-any-product-key-with-your-windows-7-disc

You can create a bootable thumb drive with the following:
Windows 7 USB/DVD Download Tool
http://store.microsoft.com/Help/ISO-Tool

Skip entering your Windows 7 product key and complete the installation.

Once you reach the desktop, click Start, right click Computer

Click Properties

Scroll down to Windows Activation

Click the link x days until activation.

Click the link that says ‘Show me other ways to activate’

Enter product key (this is Windows 7 Starter key which would be located on the COA sticker at the bottom of your laptop)

Click Next

Select Phone Activation

Click Next when Enter your key page displayed

Select your country

Click Next, call the number listed

Remember to explain to the call agent your situation.

They will give you a confirmation ID, enter it

Click Next to complete the activation.

Embed rtsp IP Camera to html Code

Published by:

source :

Code :

<!DOCTYPE html>
<html>
<title>Net Surveilance</title>
<body>
<embed type="application/x-vlc-plugin" pluginspage="http://www.videolan.org"
       width="550"
       height="400"
       id="vlc" />

<script type="text/javascript">
<!--
var vlc = document.getElementById("vlc");
var options = new Array(":aspect-ratio=4:3", ":rtsp-tcp");
var id = vlc.playlist.add("rtsp://192.168.1.55:554/user=USER&password=PWD&channel=1&stream=1.sdp?real_stream--rtp-caching=100", "fancy name", options);
vlc.playlist.play();
//-->
</script>

<embed type="application/x-vlc-plugin" pluginspage="http://www.videolan.org"
       width="550"
       height="400"
       id="vlc2" />

<script type="text/javascript">
<!--
var vlc2 = document.getElementById("vlc2");
var options = new Array(":aspect-ratio=4:3", ":rtsp-tcp");
var id = vlc2.playlist.add("rtsp://192.168.1.55:554/user=USER&password=PWD&channel=2&stream=1.sdp?real_stream--rtp-caching=100", "fancy name", options);
vlc2.playlist.play();
//-->
</script>

<embed type="application/x-vlc-plugin" pluginspage="http://www.videolan.org"
       width="550"
       height="400"
       id="vlc3" />

<script type="text/javascript">
<!--
var vlc3 = document.getElementById("vlc3");
var options = new Array(":aspect-ratio=4:3", ":rtsp-tcp");
var id = vlc3.playlist.add("rtsp://192.168.1.2:554/user=USER&password=PWD&channel=3&stream=1.sdp?real_stream--rtp-caching=100", "fancy name", options);
vlc3.playlist.play();
//-->
</script>

<embed type="application/x-vlc-plugin" pluginspage="http://www.videolan.org"
       width="550"
       height="400"
       id="vlc4" />

<script type="text/javascript">
<!--
var vlc4 = document.getElementById("vlc4");
var options = new Array(":aspect-ratio=4:3", ":rtsp-tcp");
var id = vlc4.playlist.add("rtsp://192.168.1.2:554/user=USER&password=PWD&channel=4&stream=1.sdp?real_stream--rtp-caching=100", "fancy name", options);
vlc4.playlist.play();
//-->
</script>

</body>
</html>

The cctv in my example is located  in 192.168.1.2 port 554 which is a standard port for rtsp protocol.

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…