TeamViewer Daemon is not running

Nakon instalacije TeamViewera 8 na openSuSE12.2 64bit  sve radi normalno. Možemo se spajati, paliti/gasiti aplikaciju i opet uspješno se spojiti prijatelju na ra?unalo.  Nakon restarta ra?unala TeamViewer nam otkazuje poslušnost i javlja poruku TeamViewer Daemon is not running, Please start teamviewerd and then restart TeamViewer.

Potrebno je pokrenuti donju komandu u terminalu i ponovno pokrenuti TeamViewer


Unos VMware Workstation licence kroz terminal

Unos nove VMware Workstation licence kroz GUI (Help>Enter Licence Key...) u verziji 9.0.x na openSuSE12.2 na mojem ra?unalu iz nekog razloga jednostavno nije mogu?e napraviti. Obzirom da nije upisana validna licenca nemogu se upaliti virtualne mašine. Dolje se nalazi komanda kojom se kroz terminal upisuje licenca u Workstation.

/usr/lib/vmware/bin/vmware-vmx-debug --new-sn XXXXX-XXXXX-XXXXX-XXXXX-XXXXX

Umjesto XXXXX-XXXXX-XXXXX-XXXXX-XXXXX stavite svoju licencu.


Metapixel – Izrada mozaika

Komanda za kreiranje umanjenih slika (tiles) koje ?e služiti za izradu mozaika po uzoru na original sliku:

metapixel-prepare -r /home/korisnik/putanja/do/slika/za/mozaik/ male_slike --width=64 --height=64

Korišteni switchevi:

  • -r metapixel-prepare prolazi rekurzivno kroz podirektorije /home/korisnik/putanja/do/slika/za/mozaik/
  • "male_slike" je direktorij u koji ?e se smjestiti sve umanjene slike tokom ove pripreme. Mapa se ne kreira automatski i mora postojati unaprijed pripremljena.
  • --width= i --height= su dimenzije umanjenih slika (tiles). Optimalno bi bilo da ne budu ve?e od 128x128 piksela.

Napomena: Metapixel prepoznaje samo JPEG, PNG i GIF datoteke.

Primjer komande za generiranje mozaika:

metapixel --library male_slike --metapixel mozaik_master.jpg mozaik001_scale1.jpg -s 1
metapixel --library male_slike --collage mozaik_master.jpg mozaik001_scale2.jpg -s 2

Korišteni switchevi:

  • --library male_slike ovdje odabiremo direktodij gdje u pohranjene umanjene slike
  • --metapixel ili --collage služe za generiranje mozaika ili kolaža, osobno preferiram switch metapixel jer mi on generira mozaik
  • mozaik_master.jpg je ime originalne slike na temelju koje želimo napraviti mozaik u datoteku npr. mozaik001_scale2.jpg
  • -s 2 je primjer za pove?avanje mozaika u skali 2:1 u odnosu na originalnu sliku



CheckPoint SNX na openSuSE 12.2

Za uspješno pokretanje CheckPoint SNX (SSL Network Extender) on openSuSE 12.2 64bit potrebno je instalirati nekoliko dodatnih paketa na sistem.

Kako piše na službenoj stranici openSuSE 12.2 32 i 64 bitna verzija OS-a je podržana verzija Linux-a, ali paketa compat-libstdc++ (compat-libstdc++.i586) na OS 12.1 jednostavno nema nego je potrebno instalirati pakete compat-openssl097g koji je zadužen za Secure Sockets and Transport Layer Security.

Popis paketa potrebnih za SNX:

  • java-1_7_0-openjdk
  • compat-openssl097g
  • compat-openssl097g
  • compat-openssl097g-32bit
  • pam-32bit
  • pam-modules
  • pam-modules-32bit

Sve to u jednom potezom možemo instalirati sljede?om komandom:

sudo zypper in compat-openssl097g compat-openssl097g-32bit pam-32bit pam-modules pam-modules-32bit java-1_7_0-openjdk

ifconfig vs ip

ifconfig vs ip

The command /bin/ip has been around for some time now. But people continue using the older command /sbin/ifconfig. Let's be clear: ifconfig will not quickly go away, but its newer version, ip, is more powerful and will eventually replace it.

The man page of ip may look intimidating at first, but once you get familiar with the command syntax, it is an easy read. This page will not introduce the new features of ip. It rather features a side-by-side comparison if ifconfigand ip to get a quick overview of the command syntax.

Show network devices and configuration 

ip addr show
ip link show

Enable a network interface 

ifconfig eth0 up
ip link set eth0 up

A network interface is disabled in a similar way:

ifconfig eth0 down
ip link set eth0 down

Set IP address 

ifconfig eth0
ip address add dev eth0

This was the simple version of the command. Often, also the network mask or the broadcast address need to be specified. The following examples show the ifconfig and ip variants.

Needless to say that the netmask can also be given in CIDR notation, e.g. as

ifconfig eth0 netmask broadcast
ip addr add broadcast dev eth0

Delete an IP address 

With ip it is also possible to delete an address:

ip addr del dev eth0

Add alias interface 

ifconfig eth0:1
ip addr add dev eth0 label eth0:1

ARP protocol 

Add an entry in your ARP table.

arp -i eth0 -s 00:11:22:33:44:55
ip neigh add lladdr 00:11:22:33:44:55 nud permanent dev eth0

Switch ARP resolution off on one device

ifconfig -arp eth0
ip link set dev eth0 arp off

Skidanje web sajta kroz CLi sa wget

Ova komanda slika web sajt na adresi

wget --recursive --no-clobber --page-requisites --html-extension --convert-links --restrict-file-names=windows --domains --no-parent

Opis opcija koje su korište redom:

  • --recursive: skini cijeli websajt
  • --no-clobber: nemoj prepisati ve? skinute datoteke (u slu?aju da je skidanje prekinuto i ponovno pokrenuto)
  • --page-requisites: skini sve komponente koje ?ine stranicu (slike, CSS, js i ostalo)
  • --html-extension: snimi datoteke sa .html nastavkom/ekstenzijom
  • --convert-links: pretvori linkove da su funkcionalni i lokalno korištenje (off-line)
  • --restrict-file-names=windows: promijeni imena datoteka da rade ispravno u Windows-ima
  • --domains nemoj pratiti linkove koji nisu na domeni
  • --no-parent: nemoj pratiti linkove izvan direktorija upute/

Open Source SIEM

OSSIM is the most widely used SIEM offering, thanks in no small part to the open source community that has promoted its use. OSSIM provides all of the capabilities that a security professional needs from a SIEM offering, event collection, normalization, correlation and incident response - but it also does far more. Not simply satisfied with integrating data from existing security tools, OSSIM is built on the Unified Security Management platform which provides a common framework for the deployment, configuration, and management of your security tools.

Today more than 30 open-source security tools are built into this framework, making OSSIM the fastest way to start and the easiest way to manage a comprehensive security program. AlienVault provides ongoing development and support for the project because we believe that everyone should have access to the sophisticated security technologies that are required to keep us secure. This included the companies that are too small to afford, the researchers who need a platform to experiment on, and the unsung heroes who can't convince their companies that security is a problem.

For users who think they might require the commercial offering whose proceeds are used to continue supporting this project please visit AlienVault to find out more.


sys-unconfig: Reconfigure the System Upon Next Boot

I can use unconfigure command on a previously configured Solaris Unix box and leave it in an unconfigured state. How do I unconfigure CentOS Linux OR RHEL 6.x on HP server. How do I reconfigure the system upon next boot?

You can use sys-unconfig command whoch provides a simple method of reconfiguring a system in a new environment. Upon executing sys-unconfig will halt your system, and run the following configuration programs at boot:

  1. Change the root password.
  2. Reconfigure networking / routing.
  3. Reconfigure time / date / time zone etc.
  4. Reconfigure Keyboard and mapping.
  5. Reconfigure system authentication resources.
  6. Reconfigure system runlevel.
  7. Reconfigure system services.

Type the following command as root user. Warning: do not type the following command on a production server for just testing purpose. The system will go down immediately:

# sys-unconfig

This command will create a file called /.unconfigured. The presence of this file will cause /etc/rc.d/rc.sysinit to run the programs mentioned above. Also, all persistent rules will be deleted from /etc/udev/rules.d/.


Open Source Help Desk Software

Hello and welcome to the open source help desk software list. We hope you find a solution to your help desk needs here. In addition to the open source software listed, this site also features HelpSpot Help Desk Software. A moderately priced commercial help desk application which you may want to explore if you are interested in a professionally maintained and supported solution.

Kako snimiti na brzaka audio stream

Kako najednostavnije krenuti sa snimanjem streama sa neke web adrese? Na Linuxu nam stoji na rasploaganju program mplayer.

mplayer mms://xxx.x.hostname:port1234/path -nocache -ao pcm:file=recstream.wav -vo null -vc dummy

Par primjera snimanja audio streama Radio Samobor

mplayer -nocache -ao pcm:file=radio_samobor_stream.wav -vo null -vc dummy

mplayer -nocache -ao pcm:file=kidesign_radio_samobor.wav -vo null -vc dummy

Ukoliko želite snimati stream bez nadzora pogledajte odli?nu skriptu na (Unattended stream recording with MPlayer)


Konverzija wav u ogg

sox kidesign_radio_samobor.wav kidesign_radio_samobor.ogg

Preslušavanjesa sox komandom play

play kidesign_radio_samobor.wav

play kidesign_radio_samobor.ogg

ili izravno sa mplayer

mplayer kidesign_radio_samobor.ogg