/kernel_reloaded/

Author:

Other contacts

Novi članci

Flickr Goodness

Categories

April 15, 2013 @ 10:16

Compiling tunneldigger client on Fedora

 
Compiling tunneldigger client on Debian/Ubuntu is pretty straight forward if you follow official instructions.
 
For Fedora I just needed to find appropriate package names and install them first:
 
sudo yum install iproute bridge-utils libnetfilter_conntrack python-devel libevent-devel ebtables libnl-devel python-pip
 
then you just need to pull code from git:
 
git clone git://github.com/wlanslovenija/tunneldigger.git
 
and then just compile tunnel-digger client:
 
cd tunneldigger/client
make

 

Filed under english, wireless · No Comments »

April 13, 2013 @ 19:52

Tweak Wireless Power Output on OpenWrt and Linux

 
This post is just to remind me later of few misc openwrt wireless commands.
 
First there is no iwconfig you need to install it:
opkg update
opkg install wireless-tools

 
iwconfig command shows current wireless power outpu:
# iwconfig
wlan0 IEEE 802.11bgn Mode:Master Tx-Power=20 dBm

 
Maximal power is defined by multiple capability of your hardware and by laws in your country (regulatory domain).
 
Read rest of story…

Filed under diy, english, linux, tips&tricks, wireless · No Comments »

March 2, 2013 @ 22:42

Formatting output from Raspberry Pi temperature sensors

 
Raspberry Pi crew released tools and drivers than enabled reading from CPU and GPU temperature sensors.
 
In order to read GPU temperature use:
$ /opt/vc/bin/vcgencmd measure_temp
$ temp=43.3′C
 
Reading CPU temperature is similar, just read value from sys file system:
$ cat /sys/class/thermal/thermal_zone0/temp
$ 43850
 
As you can see both outputs need additional formatting to get only number values from them, and if you wish to have decimal precision then it gets a bit more complicated…
 
Read rest of story…

Filed under diy, english, gadgets, linux, tips&tricks · 5 Comments »

February 13, 2013 @ 19:15

Fix Arduino Mega 2560 avr-libc issue

Arduino MEGA2560_09
 
If you have Arduino Mega 2560 on any updated Linux distro with avr-libc 1.8 you probably have an issue with compiling.
 
Read rest of story…

Filed under english, gadgets, linux · No Comments »

February 12, 2013 @ 17:04

Novi službeni laptop

 
Eto već su prošle godine i stari nettop koji me par godina služio je odradio svoje, i ako se zvijezde poklope ima šanse da dobijem novi laptop, budget nije neograničen i moram birati između dva branda HP i Lenovo.
 
Prvo sam mislio da ću birati između nekog i3 laptopa no kako su cijene dosta pale, već se za razumnu svotu može dobiti i5, a neki modeli čak imaju i SSD disk!
 
Prvo treba krenuti od zahtjeva…

  • laptop treba biti prijenosan, težina oko 2 kg, nikako preko 2,2 kg
  • ekran 13-14″ opet zbog lakšeg nošenja okolo
  • SSD, ako ikako može, no cijena je tu faktor
  • mat ekran
  • kvaliteta izrade
  •  
    Read rest of story…

    Filed under croatian, gadgets, pc hardver · 6 Comments »

    January 12, 2013 @ 22:56

    Benchmark flash memory on Linux

     
    I gathered all my flash based memory devices (USB flash memory sticks and SHDC cards) and wanted to see how do they compare to each other.
     

    Quick google search revealed that dd tool could be used for benchmarking so that is what I used. Have you done benchamrs some other way? Please share your method.
     

    Be really, really careful if you choose do to write test, because that will ERASE your existing data so test write speed only on EMPTY flash memory devices. Also triple check which device is your flash memory device. Simple typo could render your data partition unusable!
     

    I didn’t want to write on the first 1GB of flash memory because that part is probably most often used, I know there are some wear-leveling chips that should take care of that but you can use skip parameter if you wish to be safe. To prefent mesuring your cache performance but actual device performance use iflag and oflag options. 
     

    read speed benchmark:

    $ sudo dd if=/dev/sdX1 of=/dev/zero bs=1M count=400 iflag=direct

    write speed benchmark :

    $ sudo dd if=/dev/zero of=/dev/sdX1 bs=1M count=400 skip=1000 oflag=direct


    SDHC Card Read speed Write speed
    Adata 8GB class 10 20.8 MB/s 10.6 MB/s
    Apacer 4GB class 4 15.4 MB/s 3.6 MB/s
    LG 2GB class unknown 20.9 MB/s 8.1 MB/s


    USB memory stick Read speed Write speed
    2GB Transceng VF V90 19.2 MB/s 11.6 MB/s
    4GB Kingston DT 108 15.2 MB/s 7.2 MB/s
    8GB Kingston DT 2.0 19.0 MB/s 16.0 MB/s
    8GB Kingston DT SE9 20.1 MB/s 14.9 MB/s
    4GB Red USB 19.8 MB/s 9.0 MB/s
    8GB Silicon Power SP 810 24.8 MB/s 5 MB/s

    Filed under english, linux, tips&tricks · 4 Comments »

    August 10, 2012 @ 13:30

    MATE desktop with Compiz Fusion on Fedora 16/17


     
    If you are running Fedora 16 or 17 and you are missing your old GNOME desktop with Compiz Fusion effects then you will love this post.
     
    Thanks to the great work of Wolfgang Ulbrich for his awesome work on packaging MATE Dekstop for Fedora 16/17 and even bringing it to Fedora 18 by default!
     
    Installing MATE desktop is very easy on both Fedora 16 or 17, but installing Compiz Fusion on Fedora 16 is a bit tricky.
     
    Read rest of story…

    Filed under english, fedora, linux, tips&tricks · 12 Comments »

    July 24, 2012 @ 22:35

    cli oneliner – sort top 10 directories

     
    One simple oneliner that I picked up few years ago, and it is great for finding directories that eat up most of space in current directory.
     
    ls -A | grep -v -e '^\.\.$' |xargs -i du -ks {} |sort -rn |head -11 | awk '{print $2}' | xargs -i du -hs {}
     

    Filed under linux, tips&tricks · 4 Comments »

    June 6, 2012 @ 12:41

    tc-play is free (as in freedom) version of TrueCrypt

     
    TrueCrypt is free (as in beer) software used for on-the-fly encryption of data, but it is not licenced under open source licence.
    tc-play is free (as in freedom) tool whic provides full support for creating and opening/mapping TrueCrypt-compatible volumes and it is licenced under GPL licence.
     
    Because TrueCrypt software is under a poor license, which is not only non-free, but has the potential to be actively dangerous to end users or distributors who agree to it, opening them to possible legal action even if they abide by all of the licensing terms, depending on the intent of the upstream copyright holder. Fedora continues to make efforts to try to work with the TrueCrypt upstream to fix all of the issues in their license so that it can be considered Free, but have not yet been successful. – taken from Fedora Forbidden Items page.
     
    There has been no articles regarding tc-play, and that seams strange since it provides great functionality, hopefully some reviews and tutorials will soon follow.
     

    Filed under english, fedora, linux · 2 Comments »

    May 16, 2012 @ 15:39

    lm-sensors automatic deployment, issue with sensors-detect

     
    If you wish to deploy lm-sensors on multiple diferent linux machines issue is with sensors-detect what ask you quite a few questions.
     
    I asked on IRC and got few suggestions. First one is if you wish to accept defaults which sensors-detect suggest you need just to press [ENTER] all the time. To automate this use this one liner:
     
    (while :; do echo ""; done ) | sensors-detect
     
    If you wish to override defaults and answer YES to all questions then use this oneliner:
     
    yes "" | sensors-detect
     

    Filed under english, linux, tips&tricks · No Comments »

      Archives

      Flickr photostream

      User not found

      Meta meta :)