Ubuntu – Using Offline

October 9, 2011 - 2:13 pm No Comments

Hi there, this how-to will help you using ubuntu linux system without Internet connection. You will learn how to install and manage packages on offline system. To do this you will need online system with ubuntu linux (if you are using another system such as Windows, OSX you will need to use virtual-box or other virtualization software to install ubuntu). On online system you will need to download software packages and repository updates.

Note: This tutorial was tested under ubuntu 11.04 (natty) version (it also works only on i386 architecture at the time).

Use this tool to download repositories/packages on online ubuntu system.

Run:

./offline_deb -r

This will download repository information to the online system, then you will need to copy “repositories” directory to your flash drive or other media. On the offline system you will need to put files from “repositories” directory to “/var/lib/apt/lists”.

Package installation is very easy. On the online system edit script and add needed packages to line LIST=”" save script and run:

./offline_deb -g — Will  generate package list with dependencies.

./offline_deb -d — Will download packages from that list.

Copy all directories to media (such as flash drive). Then put it on the offline system, copy all the files ending in .deb from packages directory to /var/cache/apt/archives (cp packages/*.deb /var/cache/apt/archives/) and you can install these packages issuing command:

./offline_deb -i

Script

Enjoy! ;-)

Windows 8 Developer Preview Screenshots

September 14, 2011 - 4:54 pm No Comments
First of all I’m not going to talk about this Windows 8 Developer Preview deeply, I’m just going to show some screenshots and my opinion about some cosmetic things. I will not talk about any of new programming APIs and other similar programming things. So…
Windows install took about 15min (very fast, using virtualization), two reboots and we are ready. First impressions with metro interface not very good (it’s my opinion), I’m old school man, but it’s very easy to use and “nice” looking. After vmware tools installation windows started very slowly. But everything was fine, and with better 3D acceleration.
About metro user interface: In my opinion it’s a bunch of crap, works like damn explorer.exe running it with “wine” alpha. One time it works another time it does not show anything… My testings stops in here, i don’t have much time to test it further. Maybe another time. Because it’s just an ALPHA stage release of Windows 8, so don’t expect anything useful. Only thing i liked is a new “task manager”. Below are some screenshots of this Windows 8 build.

Read the rest of this entry »

My top 5 used applications

February 17, 2011 - 11:46 am 1 Comment

Everyone has his own set of favorite software. In computing world, there are a lot of them, you can use different app for the same task, or same task do in different ways. Nowadays personal computer software does a very big job in our life, it helps you make things go faster (or slower…), it can help you to do some tasks in easy way or in hard way. The big question is: What are you prefer to use ?

My top 5 applications for Apple Mac OS X:

  1. Opera – For browsing teh internets…
  2. iTerm – Nice terminal emulator for work ;-)
  3. Textual – For IRC of course.
  4. Songbird – For music.
  5. MS RDP – For remote desktop connection to windows servers.

My top 5 applications for Microsoft Windows:

  1. FireFox – For browsing.
  2. Putty – For work..
  3. XChat – For IRC.
  4. Total Commander – For file management…
  5. Foobar2000 – For music.

My top 5 applications for GNU/Linux, FreeBSD and other Unix clones:

  1. FireFox – For browsing.. and opera for browsing localhost…
  2. gTerm – For work..
  3. XChat – For IRC.
  4. mpd – For music.
  5. bash – For file management. ;-)

My top 5 applications for Apple Mac Classic (7.X-9.X):

  1. Audion – For music..
  2. Mozilla – For internets.
  3. Colloquy – For IRC.
  4. Starcraft.
  5. ssh2 connect.

My top 5 applications for BeOS/ZetaOS/Haiku:

  1. FireFox – For internets.
  2. Vision – For IRC..
  3. CL-AMP – For Music…
  4. BeShare – For file sharing.
  5. VLC – For multimedia.

And of course i will write my top 5 bad/FAIL applications:

  1. Skype – Evil closed source proprietary p2p VoIP protocol/client with huge like elephant ass interface and abnormal network packet routing infrastructure… Used by >16yo to 120 year people mostly by uber n00bs and virgin girls, who don’t even know where internet was born from…
  2. mIRC – IRC Client used by uber n00bs and 16yo script kiddies making software using mIRC scripts and abusing IRC networks with spam messages. Program also is shareware with some annoying ub33r n00b on about window (now removed).
  3. MS Office – Proprietary office software with proprietary document standards…
  4. Adobe Flash – Proprietary technology, it simply sucks!
  5. Windows Genuine Advantage is still genuinely bad…

Whats your favorite software ? ;-)

From Sony Ericsson to Nokia

February 2, 2011 - 12:59 pm No Comments

Norton Commander on Nokia e50

Hi guys,

I recently bought an old business class Nokia e50 and wanted to transfer my contacts from Sony Ericsson walkman to this new cellphone. I faced a big inconvinience, there is no standard way to do it. What ?! What the fuck ?! But one of my friends pointed me to the right way. And i’ve got a solution for this problem. I did the job this way:

1) I’ve send contacts from phone book in Sony Ericsson via bluetooth to PC using .vcf format.
2) I downloaded http://www.philipstorry.net/vcardsplit.html.
3) I used command “vcardsplit.exe contacts.vcf” to split contacts into pieces. Now then i have lots of .vcf splitted, i can load it on my e50 nokia.
4) I copied all these .vcf to memory card “E:\others\contacts” directory.
5) And used nokia phone book function copy > from memory card.

Thats all. I hope it will help someone…

Sysadminai ir alkoholis

February 2, 2011 - 12:15 pm No Comments

Anapus Atlanto rimti dėdulės, tikriausiai nebesumąstę, kokį dar galima būtų atlikti visuomenei naudingą tyrimą, apklausė kelis tūkstančius respondentų, vienaip ar kitaip susijusių su kompiuterinių sistemų administravimu. Tyrimo rezultatai lengvai šokiravo.

Tyrimo esmė buvo paneigti arba patvirtinti sistemų administratoriaus stereotipą. Dauguma pasaulio gyventojų sistemų administratorių įsivaizduoja kaip kelias savaites ar mėnesius nesiskutusį tipą su storų rėmelių akiniais ant nosies, nuolatiniu alaus kvapu ir murmantį apie niekam nesuprantamus dalykus niekad negirdėtais terminais. Daugelis iš šių dalykų iš tiesų yra ne vieno admino kasdienybė, bet šiandien pašnekėsime tik apie vieną iš jų – alkoholį.

Read the rest of this entry »

Lietuviška televizija – lietuviams užsienyje

November 20, 2010 - 12:23 pm No Comments

Sveiki, čia mano pirmasis straipsnis šiame bloge kurį rašau gimtąja kalba. Rašau jį tiek Lietuviams gyvenantiems užsienyje, tiek ir čionykščiams gyventojams. Taigi pradėsiu nuo paskutinio, ilgiausiai kūriamo ir vystomo mūsų projekto bene per visą projektų istoriją apibendrinimo, „tai – Lietuviškos televizijos retransliavimo užsienio lietuviams projektas.“. Idėja jau dabar yra prieinama adresu ziuriu.tv. Projektas dabar veikia beta stadijoje ir kasdien jį aplanko šimtai žmonių. Pirmam šimtui žiūrėjimas nemokamas, visiems kitiems teks atsegti pinigines ir iškratyti centus. Retransliuojame mes viską HD kokybe, kad ir kiek tai kainuotų ir kokių resursų reikalautų. Turime mes ir konkurentų dėja jie gali prilygti mums (šiuo metu) tik kanalų gausa. Drąsiai galiu teigti, kad mes vieninteliai retransliuojame ypač aukštos kokybės Lietuvišką televiziją internetu! Projektas buvo pradėtas planuoti dar praeitais metais Gruodžio mėn. pabaigoje, tada patyrėme daug nesėkmių, tinklų tiesimai šaltą žiemą buvo neimanomi iki pavasario, pavasarį finansiniai sunkumai sutrukdė vėl. Atsigavome mes rudenį pradėdami nemomamai transliuoti Krepšinio varžybas internetu. Jau tada pritraukėme nemažai žmogeliukų. Transliuojame mes ir dabar, nemokamai visus “pagrindinius” Lietuviškus kanalus LNK, TV3, BTV, TV6.

Tolimesni planai

Netolimoje ateityje žadame pajungti visus lietuviškus ir sporto kanalus, bei padaryti pora savų kurie pakartotinai retransliuos naujas arba senai pamirštas bet geras laidas, show, serialus, filmus ir t.t. Tolimesnėje ateityje pagal vartotojų pageidavimus bus pajungta ir dar daugiau kanalų.

Techninė pusė

Techninę pusę sudaro keletas serverių pajungtų su sparčiausiomis ryšio priemonėmis. Keli suprogramuoti protokolai kurie apsaugo turinį nuo pašalinio naudojimo (vagių). Pasitaikė keletas negarbingų Lietuvių kurie mūsų transliacijas pradėjo dėti į savo tinklalapius taip bereikalingai apkraudami mūsų serverių srautą. Su tokiomis problemomis susitvarkėme įdiegdami naujus apsaugos mechanizmus bei protokolus. Dabar programuojamas serverių bei servisų monitoringas užtikrins nenutrūkstančias transliacijas bei greitus problemų sprendimo būdus. Iš vartotojo pusės viskas labai paprasta jam užtenka įsidiegti vlc-1.0.5 versiją (pažymėjus mozilla ir activex pluginus), nes pastaroji versija dar puikiai tvarkosi su webplugin’ais, transliacijos leidžiamos per svetainę panaudojant pastarajį variantą. Naujų vlc net nereikia mėginti programuotojai nuo 1.0.6 versijos nebevysto webplugin, argumentuoja tuo jog nėra programuotojų užsiimančių šia sritimi. Ateityje gal ir patys “nuportinsime” visus “featurus” į naujas versijas, bet kol kas nesame suinteresuoti. Senos versijos laikomos dar geresnėmis, laiko patikrintomis bei stabiliomis. Kiekvienas klientas praktiškai suvalgo apie 1,5mbps (megabitu) srauto. Tad su 100mbps linija turinčiu serveriu galima pajungti maždaug ~100 klientų. Srautas valgomas terabaitais todėl ir serveriai turi būti neriboto srauto, o tokie kainuoja nemažus pinigus. Be to serverio pusėje vyksta vaizdo kodavimas i pasirinktą “low” kokybę realiu laiku, šis veiksmas suvalgo daug serverio resursų (cpu, ram) todėl aparatinė įranga turi būti ne mažiau kaip 8gb ram ir Intel Xeon keturių branduolių CPU su 8mb l2 cache. Vartotojo pusėje tereik turėti bent 800mhz CPU 256mb ram ir interneto liniją 1,5mbps – gerai kokybei, ~1mbps – prastesnei.

Investicijos

Kurios kol kas neatsiperka… :-(

Serveriai su neribotu srautu ir galingesne aparatine įranga kainuoja ne centus (~170EU/mėn). Taip pat ištransliavimo įranga tvbox’ai (serveriai), tv tuneriai, switch’ai ir t.t. Palaikymas irgi užima daug laiko – laikas pinigai. Viską su susumavus gauname tūkstančius litų ir tai tik porai kanalų. Aišku turime gerą investuotoją, nors ir labai reiklus bet supratingas. Projektas dar nėra stabilizuotas, pasitaiko problemų dėl didelio vartotojų antplūdžio todėl kartais kas nors sutrinka, iš klaidų pasimokom – sutvarkom. Viskas turėtų stabilizuotis šį mėnesį paleidus pilną monitoringą ir sms palaikyma, kad galima būtų prisišaukti mane jeigu kas nors subyra. Aišku sms monitoringas tik dėl labai kritiškų atvejų, bus pilnas sistemų automatizavimas, todėl jeigu kas ir sugriūtų turėtų atistatyti savaime per kelias akimirkas.

Apie vartotojus

Kai pradėjome leisti nemokamas krepšinio transliacijas Rugsėjo mėn. visiems viskas buvo gerai, džiaugėsi gera kokybe ir t.t. Pastaruoju metu vartotojai arba nupušo nuo darbų užsienyje arba nuo bedarbystės. Pastovūs piktžodžiavimai dėl keleta minučių nutrukusios transliacijos (tech. profilaktika), truputį pradėjo kąsti į nervus. Man veikia, man neveikia ir t.t, jeigu jūs prisijungę torrent klientą pumpuojat pornūchą užspaudę pedalą ant interneto srauto ir norite matyti hd kokybės transliacijas tai reiktų pirmiausia pasiskaityti apie tai kas yra internetas ir kaip jis veikia. Pradžioje leidome ir lietuviams pasidžiaugti transliacijomis internetu bet vėliau uždraudėme dėl bereikalingo srauto švaistymo. Lietuviai aršūs, pradėjo pykti, nervuotis, grąsinti ir t.t. Kam tau Lietuvi mielas lietuvoj ta Lietuviška transliacija, kai turi galimybe per Televizorių viską puikiai matyti ? Palik draugams gyvenantiems užsienyje pasidžiaugti internetu rodoma Lietuvišką TV. Dar viena pastaba apie užsienio Lietuvius kurie ten kažkur gyvena (ne visi iš jų), tokių vulgarių ir debyliškų žmonių dar neteko matyt. Svetainės chat’e ko tik nepamatysi, pyksta vienas ant kito, kad skirtingose šalyse gyvena, vienas Norvegiją garbina kitas UK dar kitas ant Lietuvių nežmoniškus pykčius lieja. Vienam nepatinka, kad kitas ne Lietuvišką Alū geria, kitam vėl kažkas negerai. Aš nei kiek nesistebiu, kad daugelis Lietuvių čia Lietuvoje nepritampa ir išvyksta svetur, dėl to kad čia jų niekas netoleruoja su tokiu neišprusimu ir vulgarumu. Toks jausmas, kad puse jų chuliganai gabenantys svetimą turtą į Lietuvą kita puse bandantys integruotis į užsienio darbo rinkas ir keliantys savo kartelę ne pagal savo lygį. Tikrai labai nusivyliau užsienio Lietuvių bendravimu tarpusavyje… Be to dar vienas pastebėjimas, vartotojai elgiasi nedraugiškai, ne kad padėtų kitam bėdoje, iškritikuoja kitus tarp jų ir męs, aiškina kaip ir kas kodėl turi ar neturi veikt, patys nieko apie tai nežinodami ir nenusimanydami. Manau, kad situacija turėtų pasikeisti arba reiks nepraustaburnius “chalevčikus” mest lauk.

Keletas detalių apie ziuriu.tv, dizainas ir pati svetainė:

Galimybė sustabdyti/paleisti transliavimą, nustatyti bufferį, nustatyti aspect ratio, pagarsinti/patylinti, uždėti vaizdą ant viso ekrano ir t.t.

Taip pat turime LiveSupport, tad dienos metu iškilus problemoms visada galima su mumis susisiekti ir mes pagelbėsime!

Štai kaip atrodo vaizdas per visą ekraną 16:9, ekrano rezoliucija 1600×900.

Taigi iškilus klausimų prašome rašyti mums paštu info@ziuriu.tv. Arba pakomentuoti čia pat.

Daugiau informacijos visada rasite mūsų facebook puslapyje.

Gero žiūrėjimo!

1010.10.10.10.10 – hehe

October 10, 2010 - 10:10 am No Comments
This is a good time to publish news about my open source projects. As a open source activism organization EofNET let me publish this article! We are going to release all the open source code for free shells project this will include (open source scripts, tools, config files and patches to the system). It will be released as soon as possible. The system was developed by myself. It has 2 years of extensive testing and have been in production since 2009 year. The system will be released with EofNET open source mini license 1.0.

Have a good time! Winking smile

Dealing with compromised web sites

October 9, 2010 - 8:47 am No Comments
Nowadays It’s easy to find compromised web sites using Google safe browsing. It will display if specified web site have been infected with some threads (trojans, spyware or adware). There are few backdoors for windows they are doing simple jobs, collecting your FTP password data from various programs including: PHPDesigner, NotePad++, Total Commander, etc.. And using them to login to remote machine and place in there some malicious code by editing php, htm(l), js or php files. It will place malicious auto downloader codes or redirects to web scripts or other hypertext files. These files in server side become threads too, they will distribute malicious stuff like redirects, or auto downloads malicious data to client machines. Of course if Google bot detects such malware it will block access to specified web site. This will not going to end in green color, your web site will become untrusted and you can loose a lot of users from that side.

As I’m working on server side, I will not going to talk how to remove such threads from clients side. I’m going to talk how to remove them from the server side. As a SysAdmin I have wrote some tools to deal with it, one of them called REMalware I published to the public. It will search specified directories and will try to find such threads if it finds it will successfully remove them. You can download it from here. The tool is written in perl script language and is very extensible. On the file “signatures” I wrote virus signatures with file extension, header, and description. After downloading this tool you can run:

# ./remalware –scan /path/to/directory

It will show if any threads detected. If it finds one or more threads you can clean them automatically by launching this app with parameters:

# ./remalware –scan /path/to/directory –clean

This early version of this application, in the future I will write much more features and update signature file with the latest threads.

Happy browsing. Winking smile

DD-WRT On Asus RT-N13U

July 28, 2010 - 12:35 pm No Comments

Hi there, now i will write few tricks on how to make your asus n13u wireless/ethernet router be more powerfull. Recently builds of dd-wrt now partially supports this model of asus router and it works quite good.. First of all you need to have original asus software for windows with firmware restoration utility. Then you need to download revision 14594 of dd-wrt firmware. After that, run the firmware restoration utility load file, restart your router by holding reset and turning off Power Cable, then the buttom LED will start blinking you can start flashing… If you fail, it always possible to restore to the original version of firmware in the same way.

There are some problems too, the USB storage devices will not work by default, it will need some tricks to make it work. Go to the menu “Administration > Commands” And save this text as Startup.

mkdir /tmp/etc/config/
echo “wget http://www.home.karneval.cz/10102207/jbd.ko -P /tmp/root/” >> /tmp/etc/config/ext3.wanup
echo “wget http://www.home.karneval.cz/10102207/mbcache.ko -P /tmp/root/” >> /tmp/etc/config/ext3.wanup
echo “wget http://www.home.karneval.cz/10102207/ext3.ko -P /tmp/root/” >> /tmp/etc/config/ext3.wanup
echo “wget http://www.home.karneval.cz/10102207/fat.ko -P /tmp/root/” >> /tmp/etc/config/ext3.wanup
echo “wget http://www.home.karneval.cz/10102207/vfat.ko -P /tmp/root/” >> /tmp/etc/config/ext3.wanup
echo “wget http://www.home.karneval.cz/10102207/nls_iso8859-1.ko -P /tmp/root/” >> /tmp/etc/config/ext3.wanup
echo “wget http://www.home.karneval.cz/10102207/nls_cp437.ko -P /tmp/root/” >> /tmp/etc/config/ext3.wanup
echo “insmod /tmp/root/jbd.ko” >> /tmp/etc/config/ext3.wanup
echo “insmod /tmp/root/mbcache.ko” >> /tmp/etc/config/ext3.wanup
echo “insmod /tmp/root/ext3.ko” >> /tmp/etc/config/ext3.wanup
echo “insmod /tmp/root/fat.ko” >> /tmp/etc/config/ext3.wanup
echo “insmod /tmp/root/vfat.ko” >> /tmp/etc/config/ext3.wanup
echo “insmod /tmp/root/nls_iso8859-1.ko” >> /tmp/etc/config/ext3.wanup
echo “insmod /tmp/root/nls_cp437.ko” >> /tmp/etc/config/ext3.wanup
echo “mount /dev/scsi/host0/bus0/target0/lun0/part1 /opt” >> /tmp/etc/config/ext3.wanup
chmod +x /tmp/etc/config/ext3.wanup
After saving it go to the menu “Services > USB”
Click on to enable these options
Core USB Support
USB 2.0 Support
USB Storage Support
ext2 / ext3 File System Support
FAT File System Support
Automatic Drive Mount
Disk Mount Point: /opt
Thats all. Now press Apply Changes, and after router restart, everything should work, you can then use your USB Storage device such as USB Stick.
Later, i will write much more about this device! ;-)

Ubuntu on PowerBook g3 wallstreet

July 8, 2010 - 9:14 am No Comments

Hi, there i will write a small how-to, on how to run (X)Ubuntu Edgy, on the OldWorld PowerBook g3 Wallstreet I/II. First of all you need to download and burn ubuntu ppc iso.

Tested PowerBook specs:
Firmware: PowerBookG3 Series 0a
CPU: PowerPC 750, 400Mhz rev: 2.2 L2 cache: 1024K unified pipelined-syncro-burst
HDD: Toshiba MK4309MAT, 4327MB MultiWord DMA2
RAM: 320MB (pc100)
VGA: ATI 3D Rage LT Pro (rev dc)

Also note! You need at least Mac OS 8.X running on your Mac to run BootX boot-loader.

BootX installation

1) Download BootX boot loader from here.

2) Extract it with Stuff Expander (on os8 you need to update it to the latest version)

3) Copy “* BootX Extension” to “hdd/System Folder/Extensions”

4) Copy “Linux Kernels” to “hdd/System Folder”

Kernel Preaparation

1) Insert ubuntu edgy ppc cd to cd-rom.

2) Copy kernel from “CD/casper/powerpc/vmlinux” to “hdd/System Folder/Linux Kernels”

3) Also we need to copy/move initrd to Linux Kernels too, after copying it from “CD/casper/powerpc/initrd.gz” to “hdd/System Folder/Linux Kernels” rename to “image.ramdisk.gz”

Running BootX and booting up ubuntu

1) Run BootX app

2) Select kernel vmlinux

3) Click on options, select “Force video settings”, “Use specified RAM Disk” and Choose the same copied initrd image… Click OK

4) Check ram size to match: 8192

5) In “More kernel arguments:” write “video=atyfb:vmode:14,cmode:32,mclk:71 boot=casper” //the first line is for video hack another for rootfs image

6) Click “Save to prefs”.

7) Click on Linux, and that’s all! After 10min you should be running x-window system…

p.s if you want install ubuntu into hdd, please note that gparted (libparted) does not support hfs+ (extended hfs) partitions resizing, better to use hfs standard partition before trying to install ubuntu or prepare unused partition before installing MacOS. ;-)