Monday, June 22, 2015

Blog update

Some changes happened here:
  • English language - first of all from now on I will I think I will write in English, and as nobody reads it anyway I will give no reasons why. And I think I will skip on long stories, just essential information that might be useful to somebody, but mostly will be useful to me.
  • New home - domain cigaras.tk got disabled as a result fraud that I know nothing about, I tried contacting freenom.com for more details but they could not give me the exact reasons, so as I was forced to change the domain, I decided to change the blog location also, and here I am at blogspot.com, also reachable by valdas.ml valdas.ax.lt.
And that is all, If anyone stumbles across this page do not hope to get regular post here, it might look deserted, it might even be deserted, I still did not figured out why I even started this blog :) You can find more silly stuff shared by me on my Google+ profile, but again do not hope for regular post there either.

Thursday, April 16, 2015

Suntour suspension fork hierarchy and features

From best to worst:
  • Axon
  • Epixon
  • Raidon
  • XCR
  • XCM
  • XCT
Features:
  • P = Post-mount brakes
  • D = Disc brake mounts
  • D-P = Disc mount and Post-mount brakes
  • MLO = Mechanical Lock Out
  • HLO = Hydraulic Lock Out
  • RLO = Remote Lock Out
  • LOD = Lock-out with Rebound Damping
  • E = chromoly stanchions and steerer
  • D (vs E) = STKM stanchions and steerer
  • DS = ?
Source: MTBR forum, sesuntour-cycling.com

Tuesday, April 14, 2015

Shimano MTB XC parts hierarchy

From best to worst:
  • XTR
  • Deore XT
  • SLX
  • Deore LX
  • Deore - lowest for mountain biking
  • Alivio - highest for recreational biking
  • Acera
  • Altus
  • Tourney
Source: Wikipedia

Tuesday, March 31, 2015

UDPXY command line arguments

usage: udpxy [-vTS] [-a listenaddr] -p port [-m mcast_ifc_addr] [-c clients] [-l logfile] [-B sizeK] [-n nice_incr]
-v : enable verbose output [default = disabled]
-S : enable client statistics [default = disabled]
-T : do NOT run as a daemon [default = daemon if root]
-a : (IPv4) address/interface to listen on [default = 0.0.0.0]
-p : port to listen on
-m : (IPv4) address/interface of (multicast) source [default = 0.0.0.0]
-c : max clients to serve [default = 3, max = 5000]
-l : log output to file [default = stderr]
-B : buffer size (65536, 32Kb, 1Mb) for inbound (multicast) data [default = 2048 bytes]
-R : maximum messages to store in buffer (-1 = all) [default = 1]
-H : maximum time (sec) to hold data in buffer (-1 = unlimited) [default = 1]
-n : nice value increment [default = 0]
-M : periodically renew multicast subscription (skip if 0 sec) [default = 0 sec]


More info: mankier.com

Bonus, reading the multicast ip from ifconfig:
udpxy -m $(ifconfig vlan2 | grep 'inet addr:' | sed -e 's/.*inet addr://' -e 's/ *Bcast.*//')

Tuesday, February 17, 2015

Removing μTorrent ads

Options -> Preferences -> Advanced -> set all to false:
  • bt.enable_pulse
  • distributed_share.enable
  • gui.show_notorrents_node
  • gui.show_plus_upsell
  • offers.content_offer_autoexec
  • offers.featured_content_badge_enabled
  • offers.featured_content_notifications_enabled
  • offers.featured_content_rss_enabled
  • offers.left_rail_offer_enabled
  • offers.sponsored_torrent_offer_enabled
Options -> Preferences -> hold Shift+F2 while clicking Advanced -> set all to false:
  • gui.show_gate_notify
  • gui.show_plus_av_upsell
  • gui.show_plus_conv_upsell
  • gui.show_plus_upsell_nodes
Source: forum post from Beasley.

Sunday, October 5, 2014

Aukso Lapas

Eilėraštis kurį parašėme kartu su sūnumi, taip patiko kad nusprendžiau išsaugoti :)
Aukso lapas

Atėjo ruduo spalvotas,
Nukrito lapas ūsuotas.
Nukrito į balą, sušlapo lapelis,
Tapo aukso spalvelės.

Vėjui papūtus pakilo lapelis;
Tuo tarpu pro šalį skrido žvirblelis.
Lapas prilipo žvirbliui prie snapo,
Žvirblis nukrito ant šlapio asfalto.

Wednesday, March 12, 2014

Wake-on-Wan

Kažkada seniai susikonfigūravau iš Mukazalos pirktą kompą kas būtų galima įjungta per atstumą, pvz. telefonu nesikeliant iš lovos naudojant Asus AiCloud (kaip žinia pas mane Asus RT-N66U router'is) arba mano pamėgtą PC Monitor, ir nesenai pastebėjau kad TeamViewer programa turi sugebėjimų įjungti kompą per atstumą, tačiau TeamViewer'is ne LAN bet WAN tinklu naudojasi ir tam jau reikėjo papildomų nustatymų, taigi dėl savęs čia susirašau viską iš eilės, o gal ir šiaip kam nors bus naudinga:

Visų pirma TeamViewer nustatymuose nurodžiau WOL Public address - Cigaras.tk, ir portą, nesvarbu kokį, bet neoficialiai tam yra skirtas 9-as portas.

Toliau router'io Port Forwarding nustatymuose atidariau 9-ą portą su nuoroda į belenkokį neužimtą LAN IP, pvz 192.168.1.254, router'yje turėtų būti įjungtas DHCP serveris ir minėtas adresas pakliūti į IP Pool'o ribas.

Toliau minėtam IP adresui kuriama ARP taisyklė pagal MAC adresą:



arp -i br0 -s 192.168.1.254 FF:FF:FF:FF:FF:FF


toks MAC adresas nusiųs Magic Packet užklausą visiems tinkle esantiems įrenginiams, aišku galima nurodyti ir konkretaus įrenginio adresą.

Nu va ir viskas, minėta ARP taisyklė įrašyta pas mane į router'io skriptus, dabar TeamViewer'is (ir ne tik) pajėgia įjungti visus kompus prijungtus prie router'io, kuriuose sukonfigūruotas ir įjungtas Wake-on-Lan funkcionalumas, iš bet kokio tinklo, kad ir 3G.