Showing posts with label Windows. Show all posts
Showing posts with label Windows. Show all posts

2014/01/21

Cloud storage update

While AeroFS is good, I think that in the coming months I will be switching all my data sync over to BitTorrent Sync. I am currently using it to sync one folder between my laptop and a server in another country and see that it matured to the point that sync is reliable. Moreover, it offers some serious advantage over AeroFS (which is going to focus on enterprise), and it is that it works on Windows, Linux and Android/iOS. I now spend more time in Linux, but my shares are on NTFS volume, and AeroFS refuses to work with fuse-mounted volumes, while BT Sync just keeps going. And Android/iOS apps perform real syncing, which is a pure win.

2013/09/28

Simple, non-incremental breakthrough for desktop PC

While Intel keeps getting their CPUs slightly faster each year, and slightly less power hungry each year, Microsoft keeps making Windows slightly better going from 7 to 8 and then 8.1 (yes, I think Windows is getting better despite Metro UI) – the elephant question in the PC universe is “why sales go down each year?”. Wintel tried netbooks and failed. They tried ultrabooks and failed to reverse market trends. Many people were quick to declare death of PC, but I think that PCs are more mature than ever, they are more powerful than ever, and we see decline in the “renewal” purchases, because experience with PCs purchased 3-5 years ago is still good. There is no incentive go out and buy new PCs unless you are into extreme overclocked dual- and triple- GPU gaming or bitcoin mining. If anything, PC sales were eaten by cheaper RAM and SSDs. For most home users 8GB RAM is a lot, and by replacing HDDs with SSD, any PC gets tremendous boost, which is enough to delay purchase for another 3-4 years. I personally use Core2Quad overclocked to 4GHz , with SSD, and only thing that I might need to upgrade, is gaming GPU (HD5870).

That was prelude, however. What I would like to emphasize now, is that “normal” users usually do not know GigaBytes from GigaHertzs and couldn’t care less. For them, incentive to upgrade will come solely based from feeling rather than from technology buzzwords. I suggest, that the next upgrade wave will be triggered by fully silent and fanless PCs. Note here, I am not talking here about laptops or ultrabooks, those still got many things to improve technologically, e.g. speed/battery life, and for F### sake, outdoor display readability.

baytrail CPUs

Intel’s BayTrail Quad core CPUs in the J2000 series look like a very close hit. I have used 2 previous Atom generations for htpc, and this one, finally, seems like a non-compromise htpc for family movie/web usage. It is powerful enough to simultaneously show several movies and keep torrenting in background, along with a cloud file sync and even host my web development projects. And it is fully silent, and low-power, so that I can keep it on 24x7.

Let’s revisit this in 3 years time and see how it went, ok?

2013/09/02

Bootable ext4 Micro SDHC card reported as “Damaged SD card” by Android phone

TL/DR – if you have ext3/4 partition on your Micro SDHC card (e.g. you boot some Linux from it) and then try to put this card into Android phone, it will complain about “Damaged SD card” until you erase (zero out) bootloader from ext3/ext4 partition.

 

http://www.lg.com/uk/images/lg-mobile-phones/p920/gallery/medium07.jpg

Android phone complains about damaged sdcard after bootloader installation. But not just any bootloader. It actively dislikes any bootloader on ext3/4 partions. It complains and refuses to mount sdcard. If you force mount in terminal/ADB - it will mount, but bootloader will be corrupted (do not know exactly why, but has to do something with security and signing of Android system bootloader). My card is multi-partition, and while I mount PRT1 (FAT32), Android corrupts Partition Boot Record (PBR) on PRT4 (EXT4). To avoid this problem I zeroed out PBR on PRT4 (where Linux resides) and Android immediately stopped compaining about the card. Mounts it, scans it, uses for camera/gallery storage, etc.

NOTICE AGAIN: ZERO OUT EXT3/4 PARTITION BOOTSECTOR to allow mounting of FAT32 partition in Android. Strange, I know. I think Android is crazy cautious about EXT3/4 bootloaders, to prevent booting unsigned ROMs from any EXT3/4 filesystem, no matter if it is on internal or external sdcard.

I couldn’t google up anything on this topic, and spent couple of days understanding and then solving this issue. Here goes more detailed explanation. Hopefully it saves time to other people trying to read bootable FAT32/EXT4 card in Android (keywords: USB multi-boot, Micro SDHC, Android, SD Card is Damaged, bootloader, grub, mbr)

I use Sandisk Ultra Micro SDHC (UHS-1) 64 GB card in my phone (LG Optimus 3D, ICS 4.0.4) and in compact Lexar USB3.0 card reader on a keychain.

64GB

On Android, I use excellent app DriveDroid to expose bootable IMGs to PC via USB cable (mostly Windows Defender Offline x32/x64, and Windows 8 Install/Recovery). But I also use USB 3.0/MicroSDHC reader with  multiple ISOs, Porteus Linux and a real installation of Linux Mint on EXT4. It is fast enough. Boots in a minute. Speed is OK, feels like a slow laptop HDD of 2010.

ultra64@r630lexar

Card is partitioned into:
MBR  with BOOTMGR (here and in other cases, installed with BOOTICE (free Windows app) 
PRT1: FAT32 -50GB with BOOTMGR (NT6) - Largest partition for data - compatibile with most devices
PRT2: NTFS - 1GB NTLOADER*
PRT3: NTFS - 1GB NTLOADER*
PRT4: EXT4 - 12GB - used to be GRUB2, now empty boot sector

*PARTITIONS 2 and 3 are small stubs between FAT32 (max space) and EXT4 (limited space at the end of  card). I figured that one day I might want to reduce FAT32 and experiment with another or two partitions, without having to move EXT4. I guess PRT2 and PRT3 are not relevant further to this topic.

I played quite a lot with the PRT1, it boots Windows 8 BootMgr, and from there I have added syslinux and grub4dos and can go between them, chainloading each other in circles.  What is interesting, is that I can put any bootloader on FAT32 (PRT1) and it will not affect my card when I put it into Android phone.

THE PROBLEM BEGAN AFTER INSTALLATION OF LINUX ON PRT4(EXT4). Android refuses to mount the card. I forced it through terminal with
su
mount -t vfat /dev/block/mmcblk1p1 /mnt/sdcard/_ExternalSD

File explorers then can see the card but message about Damaged SD Card still hangs there in notifications. When I unmount the card and try booting Linux, it freezes silently. Turns out bootloader of GRUB2 in PRT4 is corrupted.

In order to solve this problem, I booted Mint's vmlinuz/initrd directly from GRUB4DOS on PRT1 and reinstalled GRUB2 on PRT4, then used BOOTICE to copy PBR from EXT4 partition (512 bytes) and save it into file on FAT32. Now I can boot it from BOOTMGR directly into GRUB2.mbr file and use Linux. Then, I used BOOTICE's sector editor functionality, to fill first sector (512 bytes) of PRT4 with zeroes. After doing, this, Android stopped compaining about the card and happily mounts FAT32 partition.

Enjoy, and share in the comments your weird and geeky setup. I am really interested in miniscule and versatile computers and what you use them for.

2013/07/09

Enable LAN access (browsing Windows network shares) via Connectify Lite

Situation: Vacations. Internet access through busy WiFi hotspot at the hotel. You have some movies/cartoons on the laptop. You want to make those accessible to the kids on the Android tablet. In principle, you can access Windows network shares through common AP (Access Point), but speed is horrible, AP coughs and freezes. It is too far and too many people use it simultaneously.

Problem: You install Connectify.me Lite. Follow all usual steps to share WiFi to your mobile gadgets via laptop. However, Lite version doesn’t allow you to connect to laptop’s shares.

image

Solution.

1. Go to Network and Sharing Center

image

2. Click on the connection properties. In this case, Local Area Connection*12

3. Then click Properties

4. Then disable Connectify LightWeight Filter

image

5. and press Ok.

Now you should be able to access your network shares on the laptop through Connectify.me WiFi LAN. I use excellent and free ES File Explorer to browse network shares on Android tablet. BS Player also has LAN mode that fulfills the same function.

!!! THIS MIGHT DISABLE INTERNET ACCESS THROOUGH CONNECTIFY, hopefully this is not a deal breaker, as you can always switch back to the original hotel WiFi network to get online.

2009/11/02

(Virus-) Free gaming under Wine in Linux

image

In Windows world, you can play any game for free, but it usually comes with some payload from virus writers. Having realized that, I made it a rule to only play games that I purchased legally. Then, yesterday, I found some of those old Windows games archives. Don’t know why I have not deleted those virus-ridden wares long time ago.

I have already seen that many games work in Linux under Wine, and then I thought, why not try these ones, because they can not infect my Ubuntu anyway. And, voila! Both franchises of Bejeweled (2 and Twist) work in HD/3D accelerated, and they are “free”. True, they try to propagate on the game exit, and (moment of glory) simply error out in wine. Seems, that I will never ever have to pay for Windows games that do not use intensive 3D graphics or online authorization.

2009/10/26

Windows 7 Home Premium upgrade in Latvia

So, Windows 7 is here. Since trying W7 beta in the beginning of 2009, I knew that this was the first OS that I’ll upgrade my home computers to and will be willing to pay for it. I will need several copies for my home:

1. gaming/multimedia PC – currently runs W7 RC. It absolutely needs a Windows license, because I use it to for playing games, and Linux just can’t compete here. Will update it to Windows 7 Home Premium (which has all I need, including Windows Media Center).

2. home server- has Ubuntu and W7 trials at the moment. I can use it in this mode for another 100 days. It is now fully configured to provide the functionality I need – filesharing, utorrent, orb, wuala, https web server, webdav and vpn. In the upcoming 3 months I will try get same functionality (except orb) under Ubuntu. If that works, fine. Otherwise, will upgrade to W7 too. Home Premium does not support Remote Desktop server, but I can manage with VNC I think.

3. 2 laptops – running W7 trials atm, need to upgrade.

image

So, I am going to buy 3-4 upgrade licenses. Today, I checked pricing and availability of Windows 7 here in Riga, Latvia. Unfortunately, there is no Family Pack available (some people say it might appear after Oct, 31st, when Latvian language Windows is promised). But, price for Home Premium OEM upgrade is quite good ($70 or 50 EUR). Buying Family pack of 3 licenses at amazon UK, would cost the same after shipment. I think I will rather buy HP OEM upgrades here.

I do not have that many Vista or XP licenses (basically all my PC were self made, and laptops came with Linux), but will try to find some old/written-off licenses from sysadmin friends. I know that OEM will work only with one machine, but Retail copy is almost 4 times more expensive (180 EUR) and for that money, I can buy new OEM upgrades later if needed.

I checked to computer shops today and in both, was asked to prove that I have a copy of Windows to upgrade from. Windows label on the bottom of laptop is enough of the proof they said. Interesting, can I show the same laptop in various shops to buy 3-4 upgrade licenses? I think I can.

SSL, certificates, VPN and WebDAV under Windows 7

Under Windows 7 (and Vista too, I think) WebDAV and VPN fail if you use a self-signed (and therefore, untrusted) server certificate. Too bad that error messages are cryptic, and talk about failure to establish connection, or something like it, but never complains about SSL cert. Hmm. If you try to access such server with IE then (unlike Firefox) there is no way to turn off warnings. Also, if you try to play media from such website, IE and Firefox  will launch associated media player (WMP in my case), which will also fail to connect to net resource to play it. Long story, short, kids – use trusted certificate if you need to use SSL in Windows.

And the good news is that now there is a provider of free SSL certificates (really free, not a 30-day trial as some advertise), who is also included into default Windows Certificate storage as a Certified Root Authority. This is Free SSL service from Startcom. With their cert for my server, WebDAV and VPN began to work.

 image

The only fly in the ointment – Windows 7 implementation of WebDAV is buggy and slow and compared to Ubuntu.

2009/10/19

Playing Steam games on Ubuntu 9.10 (Karmic Koala)



Installation of Wine 1.31 amd64 went ok, but Steam client failed after installation and self update. Had to switch to 1.3 amd64 deb and also make sure that Windows version=XP in wine configuration tool. Now Steam works and I am downloading my games. Quickly tried Ricochet Infinity and it work well, in full screen, in windowed mode and downloading extension packs from internet works too.
Reblog this post [with Zemanta]

2009/06/18

Virtual Box 3.0 Beta has DirectX9 support

But fails Windows Performance Index, so no Aero yet. Google Earth hangs too. :(

2009/05/09

Windows 7 x64 Ramdisk

image

Since the beginning of times, I speed up Firefox on all my computers by putting its cache on a ramdisk. Only recently I started to use Windows x64 and faced with the problem that it is impossible to start any free ramdisk under W7 x64. Luckily, there was a solution on on sevenforums.

Download the Ramdisk from
CENATEK: High Speed Storage Systems
Select the 1st one on the top (Public Beta V.3.5.107) and save the msi file to c:\
Don't start the MSI, it will not work.
Decompress the MSI-File (Start/Run CMD as Administrator):
msiexec /a Dataram_RAMDisk_v3.5.107.msi /qn TARGETDIR=C:\Driver

Since we have no "add hardware" in control panel, we have to install this driver manually.
The Hardware-Wizard still exist.
Start/Search -> hdwwiz.exe
- Button "next"
- select "hardware manually (expert)"
- Button "next"

- select "All Devices"
- Button "next"
Now you have to search for the Button "have disk". Click on this button and search for the folder
C:\Driver\Program Files(x86)\Ramdisk

select RAMDiskVE.inf
- Button "OK"
- Button "next"
- Button "next"
To Configure the Ramdisk start the program
C:\Driver\Program Files(x86)\RamdiskVE.exe

For me (solnyshok) RamdiskVE reports failure to start ramdisk, but after rebooting the computer, ramdisk with the required parameters is there. So, don’t panic if you get this error.

The 2nd part is easy and described in detail here. Requires creating a string browser.cache.disk.parent_directory containing the path to new cache location.

2009/05/08

CoLinux Ubuntu 9.04

image

Yesterday I played with CoLinux on my laptop with Vista x32. Tried it first with Windows 7 x64 but turns out that CoLinux is only available for x32 bit environments. Anyway, it started find with Vista x32 and I even upgraded the original image (Ubuntu 8.04) in two steps to 8.10 and then to 9.4. Had to increase image size from 1.7GB to 8GB. Increasing image size involves creating a new empty image file under windows, then mounting it under CoLinux and copying all information to it, quitting CoLinux and restarting with new image file. Instructions are in the Colinux FAQ section. Maybe 8GB is an overkill, and 4GB would have been enough, but I made it bigger just in case I will want to install more programs.

It works great, faster than virtual machine. Internet works, but I still have to figure out how to see local network.

2009/05/05

Dual core Atom based home server

20090501074

Here we go, the small box based on Dual Core Atom 330 with total consumption around 50W replacing a 150W old Pentium 4 tower. It used to be around 35C in my wardrobe, now we are back to silent operation and normal room temperature. As I mentioned before, I have there 1TB 3.5” drive mostly idle 95% of the time and 500GB 2.5” laptop hard drive for 24*7 torrents.

And I am using W7 x64 build 7100 (RC) with it. I tried Home Server 2008 R2, Ubuntu 904, FreeNAS. I believe that W7 beta is so far the best value proposition, as it is very stable, versatile and free till the June, 2010.

2009/04/25

What’s best for your netbook – Ubuntu, Moblin, Solaris or Windows?

During last week, expecting new Ubuntu 904 to appear shortly, I cleared the partition where my Ubuntu 810 used to reside, and played a bit with various alternatives. I installed and tried in quick succession OpenSolaris 906, Ubuntu low power MID edition, Ubuntu netbook edition, Moblin Alpha 2.

image

Disclaimer! This is a rant that do not in any way intend to claim to be the ultimate truth. I am only using Linux for half a year. While I feel comfortable digging through forums to enable support for various network and graphics hardware when I have free time to do this, I feel that at the moments it is not worth it. E.g. spending couple of nights to get Linux drivers working, costs me more than buying a Windows license. Having said that, I still enjoy Linux in a freaky kind of the way, treating it as a brain muscle stretching Lego for adults, and enjoying the process whenever time allows it.

OpenSolaris is interesting alternative to other Linux distributions, but not for a netbook. While I spent couple of days last year customizing Ubuntu 810 to work with all my hardware in eeepc 1000h. I do not feel like I want to spend such time again, since Ubuntu 904 supports all of it out-of-the-box. And I do not feel like I need ZFS on netbook. Its benefits are in ease of use of multi-disk storage, and all netbooks have only one disk.

Various Ubuntu derivatives – Netbook edition and lowpower MID edition. Netbook edition could be useful for touch enabled netbooks. Larger icons that make it easier to navigate with big fat fingertips. You do not need it on non-touch device. As to the the low-power MID edition - I had problems using it. It has increased fonts and icons, and after that, does not fit 1024x600. I wonder what kind of display they had in mind developing it.

Ubuntu 904. Loads quite fast (I use new ext4 file system) and supports all hardware features of eeepc 1000h. Compiz is still the best eyecandy you can get. Recommended.

Moblin – still in a hardcore alpha stage. Promising. Not recommended.

Windows 7 – RC (builds 7077 and 7100) are very stable. If you want to do any light gaming, or connect with Microsoft exchange or some other MS only corporate services,  or comfortably play 720p videos (1080p still out of question) then you have to get Windows 7.

Conclusion – for web browsing and document editing, watching movies and taking notes, ease of setup and use – Ubuntu 904 finally matches Windows. I like eye candy of Ubuntu more, but Windows still feels speedier to use. I am going to multiboot Ubuntu 904, Windows 7, and OSX on my laptop.

2009/04/14

Using Asus eeepc 1000h as home server

I want to replace my P4 2.8GHz home server (Power draw around 100+ W/h, no processor scaling) with something more efficient. The current king of the hill in terms of power efficiency while providing adequate performance seems to be Intel Atom processor. I already have a netbook based on single core Atom, and before jumping and taking a mini ITX motherboard based on Atom (good list here at kramfs.com) I decided to test how well it is doing its job in the netbook.

So, I connected eee 1000h to my router via ethernet cable. Unfortunately, 1000h has only 100Mbps NIC. I shared a movie folder with the network, and connected 4 computers, playing 2 HD videos (up to 2.5 MB/s each) and 2 DVD videos (up to 1MB/sec each).

20090413052

On the picture – eee pc 1000h as server. 2 laptops and home entertainment PC, and old server (not visible) are playing videos, trying the limits of eeepc. Didn’t succeed by the way. Here are proof pix.

Capture2

Network utilization seems low, peaking only at some 43% (or 6MB/sec). I used a 9GB movie for this test. Sure it would be different if I used a 20GB movie. But it also reflects the current state of torrent popularity in our country. Videos larger than 10GB are not here yet. I watched “The Matrix” in 20GB hi-def, but deleted it later.

Capture

CPU usage averaged around 15-20% in the process. So, for my current usage patterns, it means that all my kids can watch their own movies on as many computers as I got in this house.

I am now on the crossroads, my two options are

1) take a new mobo based on DualCore Atom. It is around $100 here, and only $20 more expensive than single core Atom option. But it has Gigabit NIC, which is good for file transfers. Investment - 100$ mobo, $70 case with power supply, $30 2GB RAM stick. Total $200. The drawback here – I get another computer to care about.

2) use my 1000h as home server, as I do not have much use for it since I got a 12inch work laptop. I would need to buy a 500GB 2.5” SATA HD to make this a useful home server. My current server has 1TB 3.5” SATA and I could move it into my video/game machine. Investment - $120 for harddrive. Drawback – slow file copying on the network. Copying one file immediately fills the NIC with some 11 MB/sec transfer. My current transfer speeds are limited by harddrive writing speeds at 35-40MB/sec.

Decisions, decisions…

2009/03/27

RDP/ Thanx god it’s Friday.

image  

Web speeds have improved so much over last 2-3 years, that now it is so easy and convenient to RDP from work to home server, initiate download of Ubuntu 9.04 beta and even burn it to the disk that I loaded into DVD drive in the morning.

Life is good. :)

2009/03/26

What is best sync solution for Windows?

image

I am looking for a best Win program to sync my numerous laptops, media pc, and hopefully, my mobile, with selected folders on my 24-hrs file server running on Windows 7.

After googling and reading a bit, I identified

  • Unison, and DeltaCopy – as Windows GUI for the famous rsync. Should be simple and mature.
  • Folder share (MS Live Sync) – free solution from Microsoft. Should be pretty simple too.
  • Synplicity,  Sugarsync, Dropbox – other well established programs. These seems to provide online storage for files, and any reasonable amount (over 2 or 5 GB for different programs) will cost money. Since I already have own always-on server, I feel that I do not need their service.

So, I will be installing and trying Unison, DeltaCopy and Foldershare.

2009/02/02

Boost GMA950 speed in netbooks

If you have one of popular netbooks like Asus eeePC, or Acer One or MSI Wind with Intel GMA950 built-in graphics, chances are you can improve its performance. Turns out Intel has decreased GMA950 frequency from 400MHz to 133MHz for netbooks, to cripple video performance, and separate them further from the expensive notebooks using the same GMA950. Now, there is a program called GMA950boost. It is discussed in MSI Wind forums, with users reporting some 20-30% boost in the framerates. Which means, that if a game wasn’t playable before (say 10 fps), it will not get much better (at 13 fps). Still it maybe a nice boost for someone struggling to get their favorite game to more playable fps and 720p video to play smoother. Unfortunately, this program is not free yet. So it is up to you to decide if you want to pay some 10$ for it.

2008/12/08

Adding torrents to utorrent WebUI via bookmarklet

Background
I have utorrent running on my home server (Vista Ultimate) 24hrs*7day a week and have a variety of methods for connecting to it.

1) Remote Desktop Connection - this microsoft client is available for Linux (Ubuntu 8.10 in my case), OS X (Leopard) and all sorts of Windows.
2) WebUI works from firefox (and I think IE7/8 too) on any platform
3) I also use utorrent mobile java program on my Nokia N82 to connect from anywhere via GPRS to manage bandwidth consumption (pause all, resume all) and specific torrents (pause, stop, resume, remove torrent (and data)).

Until now, I mostly used firefox to find a needed .torrent, download it to my desktop, go into my webui page in firefox and upload .torrent file manually. Now I found a new and a very comfortable bookmarklet, that uses javascript to inject webui command into all .torrent links on a webpage. 

To use it, create a bookmark with any name and fill its URL with the code from utorrent forums
You'll need to edit the code by changing to your host and port (e.g. "mydomain.dyndns.org:8080"). If you don't want to login each time, you can even add your login information (e.g. "username:password@mydomain.dyndns.org:8080").

Now, whenever you are on a webpage containing some .torrent links, click your bookmark, then click the .torrent link that you want. It will automatically (in 4 seconds) direct you to your webui where you will see new .torrent added to your list.




2008/11/05

Installed Windows 7 with new taskbar on Asus Eee 1000H

image

Today I bought a new Ebony Black Asus Eee PC 1000H. My specs – Atom 1.6Ghz, 80GB HDD, 2GB RAM. Installed latest developer build (6801) on it. It loads during same 40 seconds but works faster than the stock Xandros.