2016年11月23日水曜日

日本の紅葉@香嵐渓

休みを利用して愛知県香嵐渓に行ってきました。
香嵐渓は、愛知県豊田市足助町にあります。豊田市役所足助支所を目的地にすると車では行きやすいかと思います。
自分は、10時ころには現地についていたのですが、2kmほどの渋滞が発生していました。2kmほどの渋滞ですが、抜けるのには約20分ほど。渋滞の先頭のほうで駐車場を探しながらうろうろしているようなので、普通の信号渋滞なんかに比べるとかなり進みが遅いです。。。

駐車場も香嵐渓に近いところはほぼ満車でした。今回は民家の800円の駐車場に停車。あとから感じた感想としては、一の谷の駐車場が結構すいているようで、次回行くときにはここにとめようかと思いました。

路面店としては、もみじ堂をはじめ、五平餅、牛串、串かつ、みたらし団子などがあり、定番ですが牛串がおいしかったです。
屋台は、たこ焼き、わたあめ、りんごあめ、広島焼き、たません、焼きそば、いかやき、おでん(味噌ダレこんにゃく) 、チョコバナナ、焼きもろこし、たい焼き、肉巻きおにぎりなどなど出ており、うちの子はりんごあめを喜んで食べてました。

以下、香嵐渓の写真となります。(2016/11/23 勤労感謝の日)
写真には、Google Mapにて、写真を撮ったおおよその場所も残しておきますので、ご参考になれば幸いです。


待月橋とその袂のもみじ (場所)

 巴川沿いの道にて。もみじと少年 (場所)

待月橋の袂より香嵐渓を臨む (場所)

待月橋袂より、色づいたもみじを臨む (場所)

香積寺の階段よりもみじを臨む (場所)

香積寺境内より (場所)

 香嵐橋の袂より(通行止めのようでした) (場所)


帰りは、2時頃駐車場を出たのですが、飯田街道に入るまで(香嵐渓付近でのメインストリート?)は渋滞。飯田街道に出るまでに結構時間を使うので、時間に余裕を持って岐路につくことをお勧めします。


近くには鮎やなもあるようなので、来年の夏にも訪問してみたいと感じました。
名古屋から気軽に行けるお勧め観光スポットです。
紅葉狩りとしては、先週末あたりがよかったみたいですね。19, 20の雨でだいぶもみじが落ちてしまったみたいですね。


See you space cowboy!
Spike

2016年10月19日水曜日

SSD from WD(Blue, Green)

WDがSanDisk買収と言った話が出ていましたが、ついにWDブランドのSSDをリリースしました。

http://gigazine.net/news/20161013-wd-blue-green-ssd/

発表されている数字をまとめると次の通り
(価格は2016/10/19現在)

ブランド 容量 価格(2.5インチ) 価格(M.2) 消費電力 TBW Read (MB/s) Write (MB/s)
WD Blue 250GB US$86.99 (約9,100円) US$91.99 (約9,600円) 50mW 100 540MB/s 500MB/s
500GB US$149.99 (約15,600円) US$155.99 (約16,000円) 50mW 200 545MB/s 525MB/s
1TB US$299.99 (約31,000円) US$310.99 (約32,500円) 50mW 400 545MB/s 525MB/s
WD Green 120GB US$59.00 (約6,200円) US$69.00 (約7,200円) 50mW 40 540MB/s 430MB/s
240GB US$89.00 (約9,300円) US$99.00 (約10,400円) 50mW 80 540MB/s 465MB/s


・インターフェースは共通してSATA 6Gb/s
・2.5インチフォームファクタと、M.2はほとんど値差がない状態(US$5〜10程度)
・消費電力はどのモデルも50mW
・GreenはWrite速度が若干遅いものの、Readに関してはどのモデルも同程度(約540MB/s)
・SSDの寿命指標となるTBWに関しては、Greenモデルでは100TB以下と若干少なめ
・同BlueのTBWは100TB〜400TB。500GBは標準的。

価格を意識してTBWがちょっと少なめかな?という気がしますが、WDの今後のSSDラインナップ追加に期待です!

2016年9月25日日曜日

macOS Sierra : VMWare 6.0.2が起動しない。。。

とある事情により、リリースされたばかりのmacOS Sierraにアップデートする必要があったため手元のMBAをアップデートしました。が、、、なんとVMWare Fusionが起動しないことが判明。。。VMを起動しようとすると、下記エラーが発生しました。




これが一体全体、6.0.xあたりの問題なのか、もっと後のバージョンでも同じような現象なのかはわかりませんが、ひとまず最新版のVMWare Fusion 8.5では正式にSierra対応をうたっているようなのでアップデートすることに。
VMWare Fusion 8.5をMyVMWareサイトからまずはダウンロード


今すぐダウンロードのボタンを押すことで、dmgファイルがダウンロードされる。

dmgファイルを開くと、VMWare Fusionファイルが出てくるので、これを実行
実行することで自動的にインストールされます

インストール後にVMを起動しようとすると、VMイメージのアップグレードの実施が必要な旨表示されるので、アップグレードを実施。
アップグレードを実施することで無事に起動することができました。

※アップグレードを実施しないと、ネットワークI/Fなんかが正常に動作しないようです。
 VMWare Fusionのアップデート前にVMをレジュームさせたままだったのですが、レジューム解除した状態(VMイメージのアップグレード実施前)では、インターネットに繋がりませんでした。。。


とまぁ、無事にアップデートはできたのですが、8.5にアップデートすることでライセンスの更新が必要。。。


Unix/Linuxを使う身としては、vmmonの「場所」だけの問題であれば、mknodあたりで回避できるんじゃないのかなぁ。。。と思いつつ、確認する時間はなさそうなので、素直にアップグレードすることにしました。。。

古いVMware Fusionを使っているけれども、macOS Sierraを使用されたい方はご注意ということで。


追記:VMWare Fusionのアップデート前に、現在のFusionのライセンスを確認しておくことをお勧めします。[VMWare Fusion] - [ライセンス]から確認できます。



2016年5月27日金曜日

TeraStation TS5000 : How to configure BootAuthentication

Buffalo released new FW Ver. 3.20 for TeraStation TS5000 Series.
Which supports new feature called "Boot Authentication". it's nice idea for data protection.
So I tried to configure that on my environment. Below is the configuration video, please refer this video for setup procedure.




Here is the explanation what it is.
* Originally TeraStation had the function called "disk encryption". Which encrypt the disk, but if someone steal the whole unit, he can see the data on the disk.
  So user need to use that function with the combination of hardware solution such as Kensington Lock to prevent to be stolen by 3rd person.
* Even in this case, if 3rd person steal the only HDD, data is encrypted on it. So that 3rd person can't get any data from that HDD.

* On new feature, Boot Authentication, it require authentication server within the local network(my understanding is bi-directionally reachable. so if you configure the port forward, I think it's possible.)
* Seems TeraStation try to communicate with Boot Authentication server. And then if he could talk with him, TeraStation expose the data on it. If TeraStation couldn't talk with him, TeraStation doesn't expose any data on it.
* This means, if someone steal the TeraStation, and boot it on his network, at that case TeraStation can't talk with BootAuthentication server, so he doesn't expose any data on it.  By this way, user can prevent the steal of data.
* Even TeraStation is not in the proper network, sometimes user want to access to data on it. for this case, it supports "manual decryption". User calls to administrator of BootAuthentication server, then he can get some token to decrypt the data temporary. Then he can access to data.

Anyway, this is nice solution to protect my data. I've already enabled this feature.

Only 1 difficult point is it require to delete all the data I want to enable the encryption. So I needed to backup them, and back to original place. But it's acceptable.

Especially, I recommend to users which start to use TeraStation newly, enable this feature before you put a large amount of data on it.


Have a nice day!
Spike.



2016年4月29日金曜日

WD : Gold line up for data center

WD announced their Helium sealed HDD as gold line up.

http://www.storagenewsletter.com/rubriques/hard-disk-drives/datacenter-gold-hdds-from-western-digital/

I'm interested in how differentiate to black. Currently known as performance model, mainly used for near line purpose.

4U 60bay storage server by Chenbro

Woohoo, so many amount of drives.

http://www.storagenewsletter.com/rubriques/systems-raid-nas-san/chenbro-4u-high-density-storage-server-chassis/

Just my curiosity, but those HDD are coolen properly? Due to its density, thermal exhaust doesn't match to thermal generation...

排熱大丈夫なんですかね?これ。。。

2016年3月12日土曜日

Global HDD demand is increasing

469 million HDDs Shipped in 2015, 651 million HDDs in 2010 – AnandTech

Just now I'm interested in the trend of global HDD demand.

I didn't know this kind of information is corrected and published by someone, so have interest.

[Total number of units]
From above web page, total global demand is about flat from 2012.
2012 : 479.986 mil units
2013 : 551.3 mil units
2014 : 564.1 mil units
2015 468.9 mil units

Seems like up and down around 500 mil untis.


[Total capacity]
Total capacity is keep increasing as a unit of xx Exabytes.
2012 : 341.1 Exabytes shipped
2013 : 396.2 Exabytes shipped
2014 : 460.0 Exabytes shipped
2015 : 472.2 Exabytes shipped

I thought total capacity increasing more. People are taking a movie contents by action cam, Smartphone, 360 degrees camera, dash board cam. And publish them at YouTube or such as. this require more storage capacity. I don't have any doubt capacity demand will keep increasing for coming few years.


[Market share]
WD : about 43%
Seagate : about 40%
Toshiba : about 17%

WD keep #1 position. They're going to acquire the SanDisk. it's not affect to the HDD share directly. but WD will be come total storage vendor. For both HDD and SSD. I anticipate WD will keep #1 position for coming few years.


[HDD for notebook]
2012 : 179.2 mil units shipped
2013 : 158.3 mil units shipped
2014 : 162.4 mil units shipped
2015 : 126.8 mil units shipped


personal view, I don't think this is because of drop of the demand of notebook itself. Factor is replacing to SSD. Many notebook such as MacBookAir uses SSD now.
In the other hands, capacity of SSD is keep increasing. Also, spinning drive is not good for mobile device.
I anticipate HDD demand for noteblook will keep decreasing.


[HDD for desktop]
2012 : 161.7 mil units shipped
2013 : 145.2 mil units shipped
2014 : 137.4 mil units shipped
2015 : 99.6 mil units shipped

Huge drop from 2014 to 2015.I think this more comes from the drop of the demand of desktop PC. Desktop PC is more special. If you have some demand for expansion by using PCIe, you may choose Desktop PC. but most of the user just choose notebook.
Demand from corporate is different, but for the office purpose PC, it doesn't require the horse power. So notebook is enough for this usage.
I guess this drop reflect the drop of the demand of Desktop PC. And keep dropping for 2 or 3 years. But after that Demand for Desktop PC itself becomes "flat". But I also anticipate at that timing, Desktop PC doesn't need to choose "Desktop HDD". SSD or 2.5" HDD have enough capacity and user can choose 2.5" HDD / SSD for their Desktop PC. Maybe no reason to choose 3.5".


[HDD for CE(Consumer Electronics)]
2012 : 48.0 mil units shipped
2013 : 55.1 mil units shipped
2014 : 61.9 mil units shipped
2015 : 60.0 mil units shipped

This demand is lead by game console with HDD such as PS4, Xbox one. And in US, some "DIY" surveillance kit such as "SWAAN".
I have no idea for this region. But economy is steady. I don't think demand for those items are explosionally increased in few years.


[HDD for enterprise]
2012 : 53.6 mil units shipped
2013 : 62.3 mil units shipped
2014 : 63.0 mil units shipped
2015 : 62.1 mil units shipped

I don't have any doubt, number of units are stay, but capacity is increased.
There is a high capacity SSD, such as 15TB by Samsung, but it's till expensive. For the purpose of "just storage" in enterprise region, I anticipate still HDDs are mainstream for a few years.
They have the chance if silicon process becomes smaller, IC price will be dropped. But seems it's facing the physical boundary. They can increase vertical density by using 3D NAND. But I don't think it's affect to reduce the cost of chip. I can expect the mass product effect.
So I anticipate still HDDs are main stream for capacity purpose, such as data center. Demands are steady.


Replacing to SSD is reality. It's spreading from notebook, higher end data center. But I think it's taking some more time to completely replaced to HDD.
price, capacity is the main factor for them.


To be continued.
Spike.

2016年3月3日木曜日

DD-WRT-NXT : URL for open-wrt package.

I just realized that, link for open-wrt package which I introduced before doesn't work now.
Below is the latest link and procedure.

For WSR-600DD/1166DD

src/gz owrt_base http://downloads.openwrt.org/chaos_calmer/15.05/ramips/mt7621/packages/base/ 
src/gz owrt_luci http://downloads.openwrt.org/chaos_calmer/15.05/ramips/mt7621/packages/luci 
src/gz owrt_management http://downloads.openwrt.org/chaos_calmer/15.05/ramips/mt7621/packages/management 
src/gz owrt_packages http://downloads.openwrt.org/chaos_calmer/15.05/ramips/mt7621/packages/packages 
src/gz owrt_routing http://downloads.openwrt.org/chaos_calmer/15.05/ramips/mt7621/packages/routing 
src/gz owrt_telephony http://downloads.openwrt.org/chaos_calmer/15.05/ramips/mt7621/packages/telephony

For WXR-1900DHPD
 
src/gz owrt_base http://downloads.openwrt.org/chaos_calmer/15.05/bcm53xx/generic/packages/base 
src/gz owrt_luci http://downloads.openwrt.org/chaos_calmer/15.05/bcm53xx/generic/packages/luci 
src/gz owrt_management http://downloads.openwrt.org/chaos_calmer/15.05/bcm53xx/generic/packages/management 
src/gz owrt_packages http://downloads.openwrt.org/chaos_calmer/15.05/bcm53xx/generic/packages/packages 
src/gz owrt_routing http://downloads.openwrt.org/chaos_calmer/15.05/bcm53xx/generic/packages/routing 
src/gz owrt_telephony http://downloads.openwrt.org/chaos_calmer/15.05/bcm53xx/generic/packages/telephony

And procedure on 1.3.4.
1. put above URL information to /etc/opkg/customfeeds.com
2. modify /etc/opkg.conf to disable signature check (option check_signature 0)

If you don't disable the signature, you couldn't find any package by "opkg list" command.

I'll update the instruction movie, but so far I wanted to update this information for the case someone in trouble.


To be continued.
Spike.

2016年3月2日水曜日

Microsoft XBOX 360 : Repaire HDD from un-recognized condition

Today, I found that Xbox 360 doesn't recognize the HDD. it has genuine HDD from Microsoft. So should be recognized.

First, I checked HDD if it works properly. I unplug it from Xbox 360, then connect it to PC.
On PC, it recognize the HDD as "normal" HDD. And checked sector 16-22, I found that it "zero filled". So my conclusion at this moment is Xbox 360 doesn't recognize HDD because of it's firmware is disappeared.


You need to download below items to repair.
HDDHackr : firmware(sector 16-22) write tool. Which can work on MS-DOS
hddss.bin : firmware image should be located at sector 16-22.
vfd : Virtual Floppy Drive, I use this to create the "virtual" bootable floppy disk.
HP USB disk storage format tool : USB disk format tool. This can install MS-DOS system from bootable floppy disk.

Steps are below.
    1. Install vfd and HP USB disk storage format tool on your windows PC.
    2. Run vfd and create new image. then mount that floppy drive as "A" drive.
    3. format "A" drive. You need to choose option to transfer MS-DOS system (make it bootable)
    4. plug USB-disk to your windows PC. then execute HP USB disk storage format tool.
    5. format USB-disk and choose option transfer MS-DOS system. Here you need to choose floppy disk, which you create as bootable MS-DOS disk at step 3
    6. download hddhackr and hods.bin. Extract them, and copy the extracted contents to the USB-disk.

    7. Connect your Xbox HDD to your operation PC.
    8. connect USB-disk to your operation PC.  Then boot from USB-Disk. Expectation here is boot up as MS-DOS system.
    9. Execute hddhacr. Then you could see the list of HDD. Please choose the HDD which you want to use it on the xbox 360.
    10. You need to choose "F" to flash firmware to 16-22 sector.
    11. choose hddss.bin file to be flashed. And choose undo.bin as a recovery file.
    12. After succeeded to write operation to HDD, you can turn off the PC.
    13. re plug your HDD to xbox 360, then turn on.
    14. At this moment, HDD is recognized as "unformatted". So let's choose and format. Then recognized as normal.


Basically that's all. Then your xbox could recognize HDD again.


To be continued.
Spike.

DD-WRT-NXT : How to configure VPN for PIA(Private Internet Access)

I tried to connect VPN on DD-WRT-NXT router. I actually used WXR-1900DHPD and succeeded to setup.

Here is the movie which describes about the procedure.


Unfortunately, I confirmed that it doesn't work you just configure to "Client" mode. So you need below steps to complete the setup.

    Condition of the equipment
     Router : WXR-1900DHPD (Buffalo Americas)
     Firmware Version : DD-WRT-XNT Ver. 1.3.4

    Procedure
    1. Logging in to the webUI of router.
    2. Move to [Network Services] - [OpenVPN] sub menu.
    3. Configure below items
      OpenVPN = Enabled
      Operation Mode = Use Custom Configuration File
      Device Mode = TUN
      Use Authentication = Enabled
      Username = <Username of PIA account>
      Password = <Password of PIA account>
      Masquerade Traffic = Checked
      Configuration File = <Attached on this page>

Here is the sample of configuration file. You can get it from below and apply to your router.
ovpn-jp.config : Connecting to Japanese server.
ovpn.config : Connecting to US west server.

Just in case, here is the contents described in above ovpn-jp.config file.
#
#Set the Server of Choice
remote japan.privateinternetaccess.com 1194
#
#
client
management 127.0.0.1 14
management-log-cache 250
proto udp
comp-lzo adaptive
fast-io
script-security 2
mtu-disc yes
verb 4
mute 5
cipher bf-cbc
auth sha1
tun-mtu 1500
resolv-retry infinite
nobind
persist-key
persist-tun
tls-client
remote-cert-tls server
status-version 3
status openvpn-status.log
daemon
<ca>
-----BEGIN CERTIFICATE-----
MIID2jCCA0OgAwIBAgIJAOtqMkR2JSXrMA0GCSqGSIb3DQEBBQUAMIGlMQswCQYD
VQQGEwJVUzELMAkGA1UECBMCT0gxETAPBgNVBAcTCENvbHVtYnVzMSAwHgYDVQQK
ExdQcml2YXRlIEludGVybmV0IEFjY2VzczEjMCEGA1UEAxMaUHJpdmF0ZSBJbnRl
cm5ldCBBY2Nlc3MgQ0ExLzAtBgkqhkiG9w0BCQEWIHNlY3VyZUBwcml2YXRlaW50
ZXJuZXRhY2Nlc3MuY29tMB4XDTEwMDgyMTE4MjU1NFoXDTIwMDgxODE4MjU1NFow
gaUxCzAJBgNVBAYTAlVTMQswCQYDVQQIEwJPSDERMA8GA1UEBxMIQ29sdW1idXMx
IDAeBgNVBAoTF1ByaXZhdGUgSW50ZXJuZXQgQWNjZXNzMSMwIQYDVQQDExpQcml2
YXRlIEludGVybmV0IEFjY2VzcyBDQTEvMC0GCSqGSIb3DQEJARYgc2VjdXJlQHBy
aXZhdGVpbnRlcm5ldGFjY2Vzcy5jb20wgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJ
AoGBAOlVlkHcxfN5HAswpryG7AN9CvcvVzcXvSEo91qAl/IE8H0knKZkIAhe/z3m
hz0t91dBHh5yfqwrXlGiyilplVB9tfZohvcikGF3G6FFC9j40GKP0/d22JfR2vJt
4/5JKRBlQc9wllswHZGmPVidQbU0YgoZl00bAySvkX/u1005AgMBAAGjggEOMIIB
CjAdBgNVHQ4EFgQUl8qwY2t+GN0pa/wfq+YODsxgVQkwgdoGA1UdIwSB0jCBz4AU
l8qwY2t+GN0pa/wfq+YODsxgVQmhgaukgagwgaUxCzAJBgNVBAYTAlVTMQswCQYD
VQQIEwJPSDERMA8GA1UEBxMIQ29sdW1idXMxIDAeBgNVBAoTF1ByaXZhdGUgSW50
ZXJuZXQgQWNjZXNzMSMwIQYDVQQDExpQcml2YXRlIEludGVybmV0IEFjY2VzcyBD
QTEvMC0GCSqGSIb3DQEJARYgc2VjdXJlQHByaXZhdGVpbnRlcm5ldGFjY2Vzcy5j
b22CCQDrajJEdiUl6zAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBAByH
atXgZzjFO6qctQWwV31P4qLelZzYndoZ7olY8ANPxl7jlP3YmbE1RzSnWtID9Gge
fsKHi1jAS9tNP2E+DCZiWcM/5Y7/XKS/6KvrPQT90nM5klK9LfNvS+kFabMmMBe2
llQlzAzFiIfabACTQn84QLeLOActKhK8hFJy2Gy6
-----END CERTIFICATE-----
</ca>



As you can see, if you want to change the location of VPN server, please modify the line of "remote " to one of the server from the server list.


To be continued.
Spike.

2016年2月23日火曜日

SATA Rev.3.3

I just read the news about SATA Rev. 3.3


SATA-IO Expands Supported Features in SATA Revision 3.3 Specification

I don't mention about what's updated here, but I think "power disable" is a good feature.
SATA drive itself supports hot plug, but  without any mechanics, you need to pull the drive with the condition "power is still supplying". This should increase the risk of breakage, since when you pull the drive, drive doesn't have the way to control itself, head and still spinning. And possibility to heads touch to the media.

Of course, you could send command to stop the spinning even under current specification.  But its purpose is just for power saving. So if system need to access to the drive, system will start spinning of the drive. I can't say it's never occurred during you send this command to HDD then walk in to the place which HDD is used.

I think it's nice update.


To be continued,
Spike.

2016年2月19日金曜日

Seems TP-Link started lock down their firmware

I could hear some crying voice in this morning. Mostly that's because of below kind of issue.


http://ml.ninux.org/pipermail/battlemesh/2016-February/004379.html

https://www.reddit.com/r/technology/comments/46c3tx/tplink_begins_router_lockdown_due_to_fcc_proposed/

Some quotes here,

 Camille09:28:15 pm Right, due to FCC

Adam Longwill09:28:50 pm Thank you very much. Can you explain why the
WDR3600 appears to be locked down? Is it possible that your list is not
totally updated?
And do you have a method or avenue that people who wish to use other
firmware have?

Camille09:34:02 pm Yes, wdr3600 as dual band wifi router, is also locked
down. And there is no other way to use other firmware. Sorry for that

Fucking hell. The FCC fucked up big time on this issue and now generations of routers are completely ruined.

So what was happened in router world is here. There is alternate firmware for router. Such as open-wrt,  tomato or dd-wrt. Here, I'll call them as "open source firmware". And some company purchase the router of Asus, TP-Link, netgear, Buffalo, etc. Then flash it to open source firmware and customize it as they want. Then provide customized router to their customer or use for their purpose.

But this time, TP-Link started to prevent to flash to those kind of open source firmware. we call this as "lock down to router". What's this mean? this means, those users can't use open source firmware anymore on the TP-Link router. And it means their business will be stopped in worst case. Because they can't produce their product for their customer.

Why this related to FCC? FCC is now issuing the new rule. And in that rule, FCC is requesting to manufacturer to prevent to emit the illegal RADIO output. This contains power of RADIO and frequency of RADIO. So FCC doesn't ask to manufacturer to prevent to flash to open source firmware directly. But on most of the open source firmware, RADIO power or frequency is customize-able (because, there is a driver source code!). so what manufacturer can do to follow the FCC's request is lock down their router. Just prevent to be flashed to open source firmware.

of course, there is another way to achieve FCC's requirement. If power of RADIO and frequency of RADIO is decided by hardware, such as read the configuration from SPI, or using e-Fuse, maybe possible. But my view, it's difficult to have the restriction by hardware level.

So just my view, but other competitors will follow this decision. Asus, Netgear, Linksys will lock down their firmware on their router in near future.


So far, if you want to customize your router, I have 1 answer.

I've been suspected this situation. So to avoid my business risk, I studied about DD-WRT-NXT product. Seems it's customize-able, but WiFi-driver is provided by binary. I can't modify it. Also it's already have the lock down scheme. When I build a new firmware, I need to signing the firmware before applying. router doesn't allow the firmware before signing.
I'm feeling as long as I use DD-WRT-NXT product for my business, I'll not be affected by this FCC regulation update.


 Hope everybody will find any solution soon.


bad fortune sneaks to you silently, and suddenly appeared.
Spike.

2016年2月13日土曜日

Firmware Update : Motorola Moto 360 2nd



 I've been having a Moto 360 2nd, and using it for daily life. Today, I got below message suddenly.

That message is written in Japanese, but  basically what he is saying is "Ready to go for firmware update. Swipe to left to install new firmware."

It's very rare, I didn't have same experience for last 4 month, this means when I purchase this to until this morning. I decided to record the firmware update sequence. Just because...
 

Part of the movie is forwarded to shorten the time. it's took about 10 minutes to complete the firmware update. And most of the part is lazy, boring, because just waiting for bar reaches to right side. Or watching some moving object.
Anyway firmware update was successfully done.

So far the issue is only 1, I don't know what's improved by this firmware update. I tried to get that information by google, but couldn't. I hope, it doesn't contain the bug such as consume the battery more than before...



Today I felt a new wind(maybe...)
Spike.

2016年2月11日木曜日

TeraStation TS5000 : Install plex, but failed

I tried to install plex on TS5000. I just enabled root accessibility on this device by below.
http://wind-spike.blogspot.com/2016/02/terastation-ts5000-how-to-obtain-root.html

First, I tried to check what system is it?
     root@TS5200D57A:~# uname -a
     Linux TS5200D57A 2.6.39.4-atom_usi #1 SMP Tue Dec 22 09:25:48 JST 2015 x86_64 unknown
Seems like I should choose anyting 64bit binary.


Next, I moved to plex download page. And choose computer and download the binary for ubuntu 64bit.

     # wget https://downloads.plex.tv/plex-media-server/0.9.15.2.1663-7efd046/plexmediaserver_0.9.15.2.1663-7efd046_amd64.deb

And then just try to install by dpkg command.
    # dpkg -i plexmediaserver_0.9.15.2.1663-7efd046_amd64.deb

I found that when I install this package, adduser, start and stop command is the issue.
So I added below trick on my TS5000.
     # addgroup plex
     # adduser -S -s /bin/bash -h /var/lib/plexmediaserver -G plex plex

     # echo "" > /sbin/apt-key
     # chmod +x /sbin/apt-key

     # echo "" > /sbin/start
     # chmod +x /sbin/start

     # echo "" > /sbin/stop
     # chmod +x /sbin/stop

This trick is basically just ignore the error in the postinstall script. TS5000 uses busybox so doesn't have the expected argument on adduser command.
Doesn't have apt so, ignore apt-key, not the system.d so ignore the start and stop command.

As a result of above, I could successfully install deb package anyway.

But when I execute the binary it says,
     # /usr/sbin/start_pms
     6 3000 /root/Library/Application Support
     8192
     ./Plex Media Server: error while loading shared libraries:
     /usr/lib/plexmediaserver/libboost_system.so.1.59.0: ELF file OS ABI invalid

sounds like plex doesn't like this kernel version.
So far I don't have a solution to fix current situation.


To be continued
Spike.

2016年2月6日土曜日

TeraStation TS5000 : How to obtain the root privilege

Here is the note to how to obtain the root privilege on the TeraStation which is provided by Buffalo.
All procedure is shown in below movie.






Procedure is very easy.
  1. Connect LCD and keyboard to TeraStation. And check that your LCD and keyboard works properly with TeraStation.
  2. Shutdown the system manually.
  3. Connect USB flash to USB port of TeraStation. which is a bootable USB. Here I used Knoppix.
  4. Get into the BIOS menu. And configure to boot from USB device. By this result, your system will boot as normal linux system instead of TeraStation system.
  5. logging into console of linux. If your user is not root when you login to linux system, you need to become root user. Here I used "sudo -s" command.
  6. Confirm that all HDD devices are recognized on your system.
    Note : if linux version is old, possibly neccesarily driver is not exist. Then you couldn't see any HDD device on that system. In that case, I recommend to use another linux distribution.
  7. Assemble RAID which are used as system volume on TeraStation. You can assemble those volume by sdx1 and sdx2 of the HDD which used on TeraStation.
  8. As a result of assemble, you'll be able to see md0 and md1. md1 is the target RAID volume. you need to mount this volume. Here, I mounted as "RAID-array1".
  9. move to /RAID-array1. then modify ./etc/shadow to change password of root user as known password. Here, I just copy the line of "admin" user. And then change its user name to "root". By this result, password for "root" user becomes same password to "admin" user.
  10. sync and unmount the mounted RAID devices. then reboot the system as TeraStation system.
  11. when console will be displayed, now you can login to TeraStation system as root. username and password will be "root" and "password". "password" is a default password of "admin" user.
  12. I recommend to you to change the password of "root" user to different string for your security.


When you get root privilege, you'll be able do various things. For example, TeraStation itself doesn't support plex server functionality. But if I could get proper binary, I could run it on TeraStation.
Modify the system of TeraStation, add owncloud, anything possible.
There seems telnet command is existed. So you can run telnet and access via telnet remotely.


TeraStation is a compact storage platform. So it'll be better to use PC server type computer, if you could do the things you want to do on this hardware. Now you have a freedom.




Swimming bird, now you have a freedom.
Spike.

Review - dashboard cam : DP VIDEO DVR135W

I've been interested in the dashboard cam. And I found good price one at Fry's. So purchased and tried.


Here is the box. As you can see, price is downed at the store. (^^

Here is the spec of camera. HD, night vision, micros SD. Seems very normal specification.

Here main unit. You can put it on the front window. and ...

You could see what's recorded now by this small monitor.

From this side, you could see USB connector. This connector is used for power supplying and take the movie out from camera.

Here is the sample movie which I took by this camera. it's not bad. if you want to use this as a dashboard cam, it's enough.



As a conclusion, I returned this camera to Fry's. Why? it doesn't support over write recording. When it fill up the capacity of SD card, it's stopped to record. What I expected is over write recording. From this point, this doesn't match to my expectation. So returned.
If you want to have anyhow dashbard cam, I think this camera is good. cheap, easy to use.
Oh, but I need to mention about the price, when I check the amazon, amazon sells this camera cheaper than Fry's. This is another reason I return this unit to Fry's. Please be carefull when you purchase this kind of dash cam.

If I put the score to this product, I put 60 out of 100. I recommend, but you should know there is a better camera than this. You can't expect to this product much, because of its cheap price.

Here is the link to product page on Amazon.




Recording the contents what you're seeing is interest idea.
Spike.


DD-WRT-NXT : How to configure web filtering

I just updated the movie on YouTube. it describes about how to configure web filtering on DD-WRT-NXT.




On this movie, describing about DNS based web filtering. So if you want to block the access to something bad for your family, you could block the access by this method.
It's described in movie, but this method doesn't cover the accessing method such as input IP address directly on browser.

Only below command you need to execute on the console of DD-WRT-NXT to block the access.
     uci add_list dhcp.@dnsmasq[0].address=/yahoo.com/0.0.0.0
     uci commit dhcp
     /etc/init.d/dnsmasq restart

This is basically when client try to ask the IP address of yahoo.com, router answers "hey, it's 0.0.0.0". So client can't get the IP address, then can't access to specified URL.

But as you can see, if client uses external DNS server such as google DNS (8.8.8.8), client still can get IP address of blocked url. To prevent this hole, you need little more configuration.

Below is the command to prevent the access to external DNS server.
     uci add firewall redirect
     uci set firewall.@redirect[0].src=lan
     uci set firewall.@redirect[0].proto=tcpudp
     uci set firewall.@redirect[0].src_dport=53
     uci commit
     /etc/init.d/firewall restart

This command add the rule for firewall (on linux, iptables), to redirect to router itself if he get the packet which destination port is 53 (DNS). So after this configuration, client can't send the DNS resolve request over the router.

It would be great if this contents helps you to have a healthy life.



Tomorrow is another day!
Spike.

Notes :
referred page : http://dd-wrt.com/nxt/wiki/doku.php?id=howto:use_cases:dns_blocking

2016年2月3日水曜日

DD-WRT-NXT : How to configure WAN failover


I just updated the movie on YouTube. it describes about how to configure WAN failover on DD-WRT-NXT.





On this movie, just describes about how to switch WAN interface to other port. But this is necessarily knowledge to realize WAN failover.

As described in movie, it uses same logical interface for WAN connection, eth0.2. But depends on your network design, you could use another logical interface such as eth0.5.
And you need to implement the logic how fail over the interface. Maybe you need to send keep alive, or pinging to internet server. But again, completely depends on your design.

And here is the command which I'm using in the movie.
To use original WAN port and disable one of LAN port.
     uci set network.vlan_lan.ports='0 1 2 6t'
     uci set network.vlan_wan.ports='4 6t'
     uci commit
     /etc/init.d/network restart

To use alternate WAN port and disable original WAN port.
     uci set network.vlan_lan.ports='0 1 2 6t'
     uci set network.vlan_wan.ports=‘3 6t'
     uci commit
     /etc/init.d/network restart


If you need my advice or comment, please contact me.

追伸:
キャラを間違えて、英語で投稿してしまいました。。。
日本語にて情報が必要な方いらっしゃいましたら、お気軽にコンタクトしてください。


To be continued.
Spike.