Carryon computing

No comments
I have an ongoing project to explore options to "travel light", be it by air, road or foot.

Various walking treks have been documented, with experiments carrying light-weight gear, such as these in 2016:
Trek #3: http://barryk.org/news/?viewDetailed=00386
Trek #4: http://barryk.org/light/field-tests/ft4-camera-gps.htm

This year, 2017, I will be airborne, traveling within Australia and internationally.

The requirement this time is to carry enough computing gear to be able to continue with my Quirky Linux project, apart from normal Internet access.
I will be staying at places that do not have a room safe, so will need to think about security of my gear while away from my room. At times, I might even be in shared rooms.

I own an Asus E200HA baby laptop, and have Quirky Linux installed on it, sharing the internal 32GB solid state drive with Windows 10. Getting Quirky to work reasonably well on this computer has been a saga -- do a search for "E200HA" on my blog.

A Pacsafe Travelsafe 5L security bag is just right, takes my laptop, with room for a few more things, such as camera. I got together everything that I thought I would need, then split them into four categories: laptop+security bag, computer bag, power bag, and miscellaneous bag.
This is what it all looks like:


The all-up weight is 3.3kg. Hmmm, if I want that to be in my carryon bag, which has a limit of 7kg, that leaves 3.7kg including weight of bag.

Looking inside each bag. By the way, those bags are from Kathmandu, Packngo "SX" size. This is what is in the computer bag:
Wi-fi router, USB mouse, bluetooth mouse, bluetooth keyboard, bluetooth speaker, Raspberry Pi3. The striped bag has SD-cards and USB Flash sticks. What got missed out of that photo, but is included, is a 1TB USB3 hard drive. This lot weighs 909gm:


All three bluetooth devices are USB-rechargeable.

Ok, throwing in a photo of the 1TB USB drive. This will work with the laptop and the Pi3, though in the latter case a very beefy power supply is required. Here is the drive:


Powering all of the devices is a problem. Partly because I will be traveling internationally, so will need to plug into various power sockets. Here is a photo of what I put together, weighing 699gm:


There are three different power adaptors in that photo. At the bottom is the charger for my phone, though strictly not required, as the one above has multiple outputs, 1A and 2.1A and international adaptors. On the left is the adaptor for the laptop.

Also included in the bag is a small immersion rod, for boiling up water for cups of tea or coffee, or just to sterilise water when it is a bit dodgy.
There is also a double-adaptor and a couple of extra socket adaptors.

The miscellaneous bag has my camera, torch, and ear-piece. Both the camera and torch are USB-reachargeable. Weight is 280gm:


Not all items listed above are essential, but I do want some leaway to experiment with the gear while traveling. Now thinking beyond, to definitely non-essential, but maybe good-to-have items. My luxury extras bag is 783gm:


It contains a 5V 6A power supply for the Pi3, so as to be able to run the 1TB drive off the Pi3. Also, a USB optical drive, for creating live-CD Quirkies.

For the carryon bag, that extra "luxuries" bag is not going to make it. If I do have some check-in luggage, then yes, it can come.

Anyway, lots of fun getting this gear together!


Quirky Xerus x86_64 8.1.6 released

No comments
This release of Quirky is codenamed "Xerus" and is built from Ubuntu 16.04 x86_64 binary packages.

The background, announcement and release notes are here:
http://distro.ibiblio.org/quirky/quirky6/amd64/releases/xerus-8.1.6/release-xerus64-8.1.6.htm

A very brief announcement blurb:

Quirky Linux 8.1.6 x86_64 is codenamed "Xerus" and is built using the woofQ Quirky Linux build system, with the help of Ubuntu 16.04 binary packages. Thus, Xerus has compatibility with all of the Ubuntu repositories.
The Linux kernel is version 4.4.40 and SeaMonkey is upgraded to version 2.46.
Quirky is a fork of Puppy Linux, and is mainly differentiated by being a "full installation" only, with special snapshot and recovery features, and Service Pack upgrades.


Instructions to install are here:
http://distro.ibiblio.org/quirky/quirky6/amd64/releases/xerus-8.1.6/howto-install.htm

Quoting from the above link:

Quirky is provided as a 8GB USB Flash stick image, or for an SD-card. This file may be written to an 8GB or greater Flash stick. In the latter case, at first bootup there will be an offer to increase the filesystem to fill the drive.

Very easy install instructions for Windows users. The above link explains how to install from the commandline in Linux, though I intend to develop a simple GUI.

For those who still want one, there is also a live-CD ISO file.

Download
The primary download host is Ibiblio:
http://distro.ibiblio.org/quirky/quirky6/amd64/releases/xerus-8.1.6/

There are faster mirrors, such as NLUUG:
http://ftp.nluug.nl/ftp/pub/os/Linux/distr/quirky/quirky6/amd64/releases/xerus-8.1.6/

You will notice that the Flash-stick image file is 502MB, whereas the ISO file is 398MB. The reason it is so large (by Puppy standards) is because it is gzip compressed. The same file xz-compressed is only 333MB.
Gzip compression is used as that is understood by many Windows image-writer applications. The *.img.gz file is very easy to install for Windows users.

The live-CD ISO is 398MB. It is smaller because internally it uses xz compression.

Setup notes
Please do think about the security of your Quirky. When QuickSetup is running, you will see a button to manage daemons. You can also run this from the menu, System -> Bootmanager -> Manage system services.
I recommend disable all daemons that you don't immediately need.
Also, tick the checkbox for a firewall. Leave the firewall at defaults to block all ports.

You might find that the keyboard layout choices in QuickSetup don't quite meet your country/language/region requirements. Never mind, make the best choice, then later click the "setup" icon on the desktop, and you will find an "Advanced Xorg keyboard configurator", to fine-tune the keyboard localization.

Issues
There are some known issues.

1. There is Bluetooth support, but it needs work.
2. SeaMonkey has a few problems. It is stuck on DuckDuckGo for starters.
3. CLI VLC only. A full GUI video player needs to be installed.

Regarding SeaMonkey, it is version 2.46. The SM developers released 2.40 in March 2016, then nothing until 2.46 was released at the end of December 2016. Perhaps they were under pressure to get something out. Whatever, 2.46 has some issues, mostly annoyances.

Choice of video player is left up to the user for now. Here are instructions on how to install Xine or VLC:
http://barryk.org/news/?viewDetailed=00495

Feedback is invited to choose the "best" and hopefully small, video player for inclusion in the next minor-point release.

Forum thread for feedback:
http://murga-linux.com/puppy/viewtopic.php?t=106460&start=360


Xine or VLC for Xerus64

No comments
I am just about to upload Quirky Xerus x86_64 8.1.6.

It is working very well, except that the media player is broken. The commandline VLC player is installed, but GUI components are missing. There is a GUI, called SimpleVP, however that is currently not working properly.

Fortunately, working video players can be installed from the Ubuntu package repositories.

These are advance instructions, for after Xerus64 8.1.6 is released.

Xine
This is small, with few dependencies.
Run the Puppy Package Manager, and type "xine-ui" in the search-box.
It will be found in the "universe" repository.
Click on the button to find all dependencies, then choose to install them all.

Also install "libcrystalhd3", found in the "universe" repo, and "libnuma" found in the "main" repo.

Type "xine" in a terminal to run it, or it is in the Multimedia menu.

VLC
The problem is that VLC is already installed, but it is missing extra packages to run as a GUI application. Unfortunately, the Package Manager won't reinstall it and it's deps.

However, it can be tricked to do so. Open file /root/.packages/Packages-ubuntu-xenial-universe in a text editor, and copy the line starting "vlc_2.2.2-5|vlc|2.2.2-5||Multimedia|..." down to the bottom of the file.
That is, just copy and paste.

Then edit the last line so that it looks like this:

zvlc_2.2.2-5|zvlc|2.2.2-5||Multimedia|....

That is, just change the name from "vlc" to "zvlc" in the first two fields.

Then run the Puppy Package Manager and do a search for "zvlc", click on it, click the button to find all deps, and install them.

Note, the list of deps is rather large, and if the window is too high for the screen, hold down the ALT key and drag with the mouse. This is a standard technique in Xorg for moving windows around.

VLC may be run by typing "vlc" in a terminal, or it is in the Multimedia menu.

Default Applications Chooser
You will find this in the Setup menu. You can choose "vlc" or "xine" as the default player.

Which is best?
OK, it is a bit of a hack described above to install VLC! I intend to choose a working multimedia player for inclusion in the next minor-point release of Xerus64. Feedback will be invited on the Puppy Forum as to which one, Xine, VLC, or some other, works best.

I prefer Xine from the size point of view, but does it play most/enough video formats?


Overlayfs cannot handle zram

3Comments
I have moved from aufs to overlay filesystem (it used to be named overlayfs, but they changed the name to just overlay, which is a very strange decision).

The documentation for overlay states that direct writes to the lower layers is forbidden, so that rules it out for Puppy Linux.

However, usage in Quirky does not require writes to lower layers, so overlay looks good.

Except that I have just run into a brick wall. I have discovered that overlay cannot handle the upper rw layer being a zram.

A zram is used for the live-CD. I thought that I had done everything correctly, however the 'init' script in the initramfs was failing, the kernel crashing.

I setup an experiment. Created folders just like in the initramfs: q_ro/q_sfs, q_rw, tempwork, q_new.

Using the same busybox from the initramfs, this works:
# ./busybox mount -t overlay -o lowerdir=./q_ro/q_sfs,upperdir=./q_rw,workdir=./tempwork overlay ./q_new

Then, mounting a squashfs file on the ro layer:
# ./busybox umount ./q_new
# ./busybox mount -t squashfs ./q_ro/q.sfs ./q_ro/q_sfs
# ./busybox mount -t overlay -o lowerdir=./q_ro/q_sfs,upperdir=./q_rw,workdir=./tempwork overlay ./q_new


Success again. Now create a zram:
# ./busybox umount ./q_new
# ALLOCK=1000
# USEK=500
# echo "${ALLOCK}K" > /sys/block/zram0/disksize
# echo "${USEK}K" > /sys/block/zram0/mem_limit
# mkfs.ext2 -m 0 -L qrw /dev/zram0
# mount -t ext2 /dev/zram0 ./q_rw


And try again:
# busybox mount -t overlay -o lowerdir=./q_ro/q_sfs,upperdir=./q_rw,workdir=./tempwork overlay ./q_new
mount: mounting overlay on ./q_new failed: Invalid argument


Have I misunderstood something here? Do I have to go back to aufs?


Quirky 8.1.6 x86_64 released

No comments
This new Quirky is codenamed "SlaQ" and is built from Slackware 14.2 binary packages.

The background, announcement and release notes are here:
http://distro.ibiblio.org/quirky/quirky6/amd64/releases/slaq-8.1.6/release-slaq-8.1.6.htm

A very brief announcement blurb:

Quirky Linux 8.1.6 x86_64 is codenamed "SlaQ" and is built using the woofQ Quirky Linux build system, using Slackware 14.2 binary packages. Thus, SlaQ has compatibility with all of the Slackware repositories, including "slacky" and "salix".
Quirky is a fork of Puppy Linux, and is mainly differentiated by being a "full installation" only, with special snapshot and recovery features, and Service Pack upgrades.


Instructions to install are here:
http://distro.ibiblio.org/quirky/quirky6/amd64/releases/slaq-8.1.6/howto-install.htm

Quoting from the above link:

SlaQ is provided as a 8GB USB Flash stick image, or for an SD-card. This file may be written to an 8GB or greater Flash stick. In the latter case, at first bootup there will be an offer to increase the filesystem to fill the drive.

Very easy install instructions for Windows users. The above link explains how to install from the commandline in Linux, though I intend to develop a simple GUI.

For those who still want one, there is also a live-CD ISO file.

Download
The primary download host is Ibiblio:
http://distro.ibiblio.org/quirky/quirky6/amd64/releases/slaq-8.1.6/

There are faster mirrors, such as NLUUG:
http://ftp.nluug.nl/ftp/pub/os/Linux/distr/quirky/quirky6/amd64/releases/slaq-8.1.6/

You will notice that the Flash-stick image file is 398MB. The reason it is so large (by Puppy standards) is because it is gzip compressed. The same file xz-compressed is only 238MB.
Gzip compression is used as that is understood by many Windows image-writer applications. The *.img.gz file is very easy to install for Windows users.

The live-CD ISO is 304MB. It is smaller because internally it uses xz compression.

Issues
There are some known issues.

1. There is Bluetooth support, but it needs work.
2. SeaMonkey has a few problems. It is stuck on DuckDuckGo for starters.
3. Paste into a terminal, does not wrap.

Also, the build does not have Samba. Nor python, but v2.7 is in the "devx" PET.

Regarding SeaMonkey, it is version 2.46. The SM developers released 2.40 in March 2016, then nothing until 2.46 was released at the end of December 2016. Perhaps they were under pressure to get something out. Whatever, 2.46 has multiple issues, mostly annoyances.


Pages: [1] [2] [3] [4] [5] ...