Pages

Sunday 23 October 2016

OpenWRT on WR1043ND-v1 & Huawei E5577-321 HiLink USB connection

I got Huawei E5577-321 from my internet provider. This MIFI connected via USB works as a network card.


 I couldn't find any reliable instruction that would work. Here is what I did:

Flash OpenWrt Chaos Calmer 15.05.1 on my TP-Link WR1043ND v1.
Enter following in command line:



    # uci del network.wan
    # uci set network.wan=interface
    # uci set network.wan.proto=dhcp
    # uci set network.wan.ifname=eth1
    # uci commit network
    # reboot

Your /etc/config/network file should have following entry:


    config 'interface' 'wan'
        option 'proto' 'dhcp'
        option 'ifname' 'eth1'




Tuesday 10 May 2016

Split flac file easy way

I need to split large flac audio files to convert them to apple lossless format and them transfer them to my ipod. The official way says:

First you need to install cuetools and shntool. From the terminal type:

sudo apt-get install cuetools shntool flac
To split a flac file back to the original files using a .cue file:

cuebreakpoints '<cue file>' | shnsplit -o flac '<audio flac file>'  

This didn't really work, no tags were saved and editing hundreds of individual files is not an option.

I found in one comment to use K3b. And that helped a lot. What must be done is:

1. Open the CUE file in K3b.
2. Choose convert tracks to FLAC.
3. Press Start.

This created folder in my home dir with artist name - album and files inside. Very helpful, from there next step was to convert all files to m4a/alac format in soundKonverter.

*Notice it was soundKonverter - with K not C.

Wednesday 6 April 2016

Kobo Glo HD memory upgrade on Linux

Received my reader today and couldn't wait to upgrade memory and load all my stuff. Well tutorials which I saw were all for windows. I foung in gparted that my Kobo card in SD reader is SDE and 32GB card in USB reader is SDD. So I just used below command:

sudo dd if=/dev/sde of=/dev/sdd

7744512+0 read records
7744512+0 written records
copied 3965190144 bytes (4.0 GB), 3042.42 s, 1.3 MB/s


It took about 1 hour but worked ok, ereader booted and everything works so far. 29 GB left for my library. 
You can use sudo nmon to monitor activity.




#koboglohd #memoryupgrade