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
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 […]
Here is my bash script to execute msyql command !/bin/bash tglblk=$(date –date=”8 days ago” +%Y-%m-%d) tglhapus=”$tglblk 23:00:00″ SQL=”DELETE FROM Events WHERE EndTime<=’$tglhapus’;” MYSQL_USER=”root” MYSQL_PASS=”” MYSQL_DB=”mydb” echo $SQL | mysql –user=$MYSQL_USER –password=$MYSQL_PASS $MYSQL_DB Then I put it into crontab to run at specific time.
After I upgrade my slackware from 13.1 to 13.37 the canon LBP3050 printer works just fine. Nothing change in the configuration. The already wrote the installation method here. Until today, I made a mistake by changing the usb cable into another usb port and I delete the printer in cups browser, the printer won’t connect […]
Source : makasar-slacker.org Dengan menggunakan OS Slackwarekita bisa mengakses scanner yang terhubung pada komputer lain, atau katakanlah terhubung di CPU server. Di server Buat service untuk sane-port tersedia di PC yang langsung terhubung dengan device scanner itu (yang terinstall sane-backend). Caranya edit file “/etc/services”, tambahkan baris… sane-port 6566/tcp #SANE Network Scanner Daemon Masukkan juga layanan streaming […]
There is a command in linux console to count total files in the directory. ls | wc -l The result will show a number. Actually the wc command is to print newline, word, and byte counts for each file. Here are the option for wc command -c, –bytes print the byte counts -m, –chars print the character […]
The first time in my slackware experience, this is the first time I succeeded using wifi configuration. I always tried to use wpa_supplicant, which is I failed. I don’t understand how to manage the setting, and also by manual iwconfig command. I success using iwconfig when the wifi is not secured or open. No wpa […]
The error I meant is the message displayed at the top of the firefox, said libavcodec is vulnerable and expired (for some reason). After googling and find the article in http://askubuntu.com/questions/851190/how-to-update-libavcodec-on-ubuntu-14-04, the problem is libavcodec is disabled as default. Libavcodec is needed to play the streaming in the website. Except for youtube. I still can […]
in any Linux, there are lots of rich command that we can use it through the console / command mode. Like searching for the text inside the file. Here is my example. $grep ‘text’ *.doc And many others.
rsync <option> source destination rsycn -e ‘ssh -p mypassword’ –exclude-from file.txt email@example.com /home/backup It means this program can copy accross network