Tag Archives: ubuntu

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.

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.

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.

configuring nfs server and mounting it

Published by:

ibm.com

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:

idroot.net

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.

Ubuntu with Englightment

Published by:

Source : https://www.enlightenment.org/distros/ubuntu-start

Ah what an amazing display. I find the englightment is very light so I try to install it to my notebook. Here are the steps I read from the source.

sudo apt-get install automake autopoint build-essential ccache check \
doxygen faenza-icon-theme git imagemagick libasound2-dev libblkid-dev \
libbluetooth-dev libbullet-dev libcogl-dev libfontconfig1-dev \
libfreetype6-dev libfribidi-dev libgif-dev libgstreamer1.0-dev \
libgstreamer-plugins-base1.0-dev libharfbuzz-dev libibus-1.0-dev \
libiconv-hook-dev libjpeg-dev libblkid-dev libluajit-5.1-dev \
liblz4-dev libmount-dev libopenjpeg-dev libpam0g-dev \
libpoppler-cpp-dev libpoppler-dev libpoppler-private-dev \
libproxy-dev libpulse-dev libraw-dev librsvg2-dev libscim-dev \
libsndfile1-dev libspectre-dev libssl-dev libsystemd-dev \
libtiff5-dev libtool libudev-dev libudisks2-dev libunibreak-dev \
libvlc-dev libwebp-dev libxcb-keysyms1-dev libxcursor-dev \
libxine2-dev libxinerama-dev libxkbfile-dev libxrandr-dev \
libxss-dev libxtst-dev linux-tools-common texlive-base \
unity-greeter-badges valgrind xserver-xephyr

Just copy paste the code above. And let everything is installed. Remember you must have an internet connection. Then, restart the notebook and you will have the englightment desktop.

Removing Zeitgeist Daemon from Ubuntu 12.04

Published by:

Zeitgeist is a service that control the user log.

From Wikipedia:

Zeitgeist is a service which logs the users’s activities and events, anywhere from files opened to websites visited and conversations. It makes this information readily available for other applications to use in form of timelines and statistics. It is able to establish relationships between items based on similarity and usage patterns by applying data association algorithms such as “Winepi” and “A Priori”

Zeitgeist is the main engine and logic behind GNOME Activity Journal which is currently seen to become one of the main means of viewing and managing activities in GNOME version 3.0

I think I want to try to ‘silent’ my laptop so I have no track. So I will uninstall it.

#root:/apt-get purge libzeitgeist-1.0-1 python-zeitgeist zeitgeist-core

Let’s see.

Ubuntu 14.04 with Grasehotspot 3.8 error because p2p1 network card name

Published by:

Menginstal grasehotspot yang merupakan software berbasis web untuk mengatur lalu lintas user internet berupa hotspot merupakan tantangan sendiri di Ubuntu 14.04. Dengan cpu dan motherboard keluaran terbaru. Seperti beberapa hari ini saya mencobanya di I5 + 8Gb DDr3 + motherboard (gigabyte mungkin) cukup memberikan pelajaran yang sangat bernilai.

Pertama, ubuntu 14.04 ternyata memberikan penamaan lan port yang sesuai dengan keberadaan port nya. Os ini tidak lagi menggunakan eth0 dan seterusnya, tapi dengan kode seperti p2p1 dan p3p1. Kira-kira demikian. Ketika masuk pada instalasi grasehotspot, maka barulah konfigurasi ini mengalami keanehan.

Yaitu program hotspot yang berjalan mulus di server, sekarang tidak jalan. Client tidak mendapatkan ip dari server. Ketika diperiksa di server, dengan perintah sudo ifconfig

Hasilnya ada urusan internet dengan p2p1 dan p3p1. Sebenarnya server internet berjalan, tapi device lain yang akan menggunakan grasehotspot, tidak jalan.

Salah satu solusinya adalah merubah penamaan p2p1 dsb tersebut kembali ke eth0 dan atau eth1.

Disini ada satu sumber bagaimana melakukannya : link

Langkah pertama yang disebutkan disana adalah mengubah parameter boot melalui grub.
Edit /etc/default/grub misalnya dengan vi atau nano editor

root@server:#nano /etc/default/grub

edit line dengan parameter di bawah dan isikan seperti tercantum

GRUB_CMDLINE_LINUX_DEFAULT=”net.ifnames=1 biosdevname=0″

Create if none and edit if any the /etc/udev/rules.d/70-persistent-rules
Find out the p2p1 and p3p1 mac address that we can find out with

root@server:#ifconfig

Now edit

root@server:#nano /etc/udev/rules.d/70-persistent-rules

Add these line

SUBSYSTEM==”net”, ACTION==”add”, ATTR{address}==”macadress”, NAME=”eth0″
SUBSYSTEM==”net”, ACTION==”add”, ATTR{address}==”macadress”, NAME=”eth1″

Dont’ forget to change the network configuration if static

root@server:#nano /etc/network/interfaces

Change any setting with p2p1 or p3p1 to eth0 and eth1. After that restart the computer.

It should be eth0 and eth1. So the grasehotspot should be running like mine.

wireshark ubuntu

Published by:

source : https://ubuntuforums.org/showthread.php?t=2039978
this is how to install wireshark :
sudo apt-get install libcap2-bin wireshark
sudo chgrp myusername /usr/bin/dumpcap
sudo chmod 750 /usr/bin/dumpcap
sudo setcap cap_net_raw,cap_net_admin+eip /usr/bin/dumpcap

http://askubuntu.com/questions/74059/how-do-i-run-wireshark-with-root-privileges
this command add extra functionality to run wireshark in user mode, don't have to change to root desktop

sudo dpkg-reconfigure wireshark-common

My Ubuntu Goes to BusyBox On Startup

Published by:

This is happened because the electricity in my city is black out. When I start my laptop, it show the bootloader option but after I pressed enter, the system can not boot into the operating system. It is said that it can not mount sda.

I try to access it using the boot operating system through my flash disk, but I can’t mount the sda.

After I read in ubuntuforum, I try this command.

sudo e2fsck -f -b 32768 -y /dev/sda1

source: ubuntuforum.org

After It done doing some processing, I reboot and the system back to normal