Saturday, 19 December 2015

Issue: Currently, there are no packages. Please use "Retrieve List From Internet" to update package list

Yesterday I met an issue: I didn't see any packages in package manager.
The solution was that I had to remove the "/usr/local/zy-pkgs/zypkg_conf" folder.

Tuesday, 27 October 2015

Android manual flash

  • run the flash-all.bat up until the point where it fails
  • unzip image-volantis-lrx21l.zip
  • fastboot flash system system.img
  • fastboot flash recovery recovery.img
  • fastboot flash cache cache.img
  • fastboot flash boot boot.img
  • fastboot flash vendor vendor.img
  • from tablet - select hboot
  • select factory reset

Git credential helper

To permanently store password for git:

git config credential.helper store

Use should specify caching expire:

git config --global credential.helper 'cache --timeout 7200'

Git aliases

[diff]
        algorithm = patience

[http]
        sslVerify = false
[push]
        default = matching
[alias]
        stat = status
        co = checkout
        lg1 = log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold yellow)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(whit
)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all
        lg = !"git lg1"
        sb = submodule

Saturday, 26 September 2015

Zyxel install ffp plugin

Be sure you have installed latest firmware.

After  enter the next directory:
$ cd /i-data/md0/admin/zy-pkgs
and download the following web_prefix file (of course you can enter it manually)
$ wget http://downloads.zyxel.nas-central.org/Users/Mijzelf/zypkg-repo/web_prefix

Via web UI go to Firmware and packages – Packages – press retrieve list from the internet. Only the MetaRepository package should show up. Install it, and re-request the list.
And now you can enjoy new pkgs.

Friday, 25 September 2015

NSA325-v2, assemble Raid partition

To check existing RAID partition:

$ cat /proc/mdstat

To assemble the raid array:
$ mdadm --assemble /dev/md0 /dev/sda1 /dev/sdb1

To stop:
$ mdadm --stop /dev/md1

Now you can mount the raid array to mount point:
$ mount /dev/md1 /root/md1

Zyxel NSA325v2 How to mount a ntfs as internal disk

First, determine new disk:
$ su
enter your password

$ fdisk -l

$ mount -t tntfs -o iostreaming,noatime,ioblocksize=1048576,min_iostreaming_read_iosize=524288,min_iostreaming_write_iosize=1048576,nls=utf8 /dev/sdb1 /e-data/4T