Site update: Let’s encrypt!

基本上使用這文章的方法:
Let’s Encrypt for Windows 10

Step by step:
1. VirtualBox install ubuntu linux
2. Install certbot
3. 利用 certbot 產生 cert
我是用 “http 驗證” , 要上傳驗證檔案到 web site 到指定目錄並修改 web.config.
certbot -d "www.yoursite.com" --manual --preferred-challenges http certonly
web_config_sample
4. cert pem 轉為 pfx (要輸入 password)
openssl pkcs12 -export -out /tmp/certificate.pfx -inkey privkey.pem -in cert.pem -certfile chain.pem
5. 在 IIS 設定 pfx
6. Done!

LSI SAS 9207-8i install (ESXI 6 , Ubuntu 16.04)

Use case:
ESXI 6.0 , guest OS :Ubuntu 16.04
LSI SAS 9207-8i passthrough guest OS.

List all disk command:
# sudo lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL

8i attached disk not find (T_T)

workaround method:

change grub:
# sudo nano /etc/default/grub

change GRUB_CMDLINE_LINUX_DEFAULT setting:
GRUB_CMDLINE_LINUX_DEFAULT=”mpt3sas.msix_disable=1″

Save and exit.

Then update grub:
# sudo update-grub

reboot:
# sudo shutdown -r now

disk find, success!

P.S.

Commandd list PCI device:
# lspci -v

LSI card driver state :
# modinfo mpt2sas

VMWARE ESXi-Customizer-PS Troubleshoot

ESXi-Customizer-PS official site

Troubleshoot:

1. PowerShell :Set ExecutionPolicy to RemoteSigned
Lunch PowerShell as administrator

Set-ExecutionPolicy RemoteSigned

2. Use test first

.\ESXi-Customizer-PS-v2.4.ps1 -test

3.Network Exception:

Connecting the VMware ESXi Online depot ...Add-EsxSoftwaredepot : Could not download from depot at
https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml, skipping
(('https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml', '', '[Errno 4] IOError: <urlopen
error &#91;Errno 10013&#93; An attempt was made to access a socket in a way forbidden by its access permissions>'))
At C:\script\ESXi-Customizer-PS-v2.4.ps1:231 char:22
+     if ($basedepot = Add-EsxSoftwaredepot $vmwdepotURL) {
+                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ReadError: (System.String[]:String[]) [Add-EsxSoftwareDepot], Exception
    + FullyQualifiedErrorId : ConnectDepotError,VMware.ImageBuilder.Commands.AddDepot


FATAL ERROR: Cannot add VMware ESXi Online depot. Please check your Internet connectivity and/or proxy settings!

Try change Endpoint security / Anti-Virus Software setting, Your PowerShell can’t access network.

4. Rufus update menu.c32 fail:
Download menu.c32 in https://rufus.akeo.ie/downloads/
After Rufus write to USB drive, copy menu.c32 to USB drive root directory.

P.S.
ESXI install hang on “initializing IOV”.
Disable Intel VT-d in BIOS when your CPU does not support VT-d.

How To: Ubiquiti NanoBeam as WIFI access point

1. 設定你的 Notebook / PC 的 network card 為固定 IP address (我選了 192.168.1.10 )
2. 連接你的 Notebook / PC 的 network card 到 NanoBeam.
3. Web login https://192.168.1.20 , user name / password: ubnt
4. Web :Ubiquiti Logo – airMax – Disable.
5. Web :Wireless : Wireless Mode : Access Point, DFS -Disable , Change SSID , Wireless Security – WPA2-AES,WPA Authentication – PSK. (有些手機只可用 20M bandwidth, 否則看到 SSID 但連不上)

1. 設定你的 Notebook / PC 的 network card 為固定 IP address (我選了 192.168.1.10 )

Windows:

windows command prompt :(找出 network card name)
C:\>ipconfig
Windows IP Configuration
Ethernet adapter Local Area Connection :

(network card name = Local Area Connection)

windows command prompt :(設定你的network card 為固定 IP address)
netsh interface ip set address name=”Local Area Connection” static 192.168.1.10 255.255.255.0 192.168.1.1

windows command prompt :(之後復元 setting)
netsh interface ip set address name=”Local Area Connection” dhcp

4. Web :Ubiquiti Logo – airMax – Disable.

AP_Setting01

台灣出遊筆記

機場交通:
可坐高鐵+巴士, 台北車站<->高鐵桃園站 , 高鐵桃園站巴士<->機場.
全程1小時, 勝在不用怕塞車/天氣不好.

不想搬東西的
1.可在台北車站地面東三門, 背向高鐵售票處有電梯直達月台, 同時有工作人員人工驗票.
2.在捷運站轉多台電梯進入
要準備2小時以上的時間到機場, 不然會有上不了機的危險.

寄放大型行李:
1. 很近火車站的Hotel 是首選
2. 台北火車站置物箱, 可隨時利用, 但放大型行李有困難.
3. 台北車站行李託運中心, 開放時間08:00 ~20:00, 1件 $70/天, 人工作業.
台北車站地面東三門 / 捷運台北車站站出口M2(較近, 有電梯)
TaipeiStation

draft: install SDR software (ubuntu linux)

Build and install rtl-sdr:

sudo apt-get install git cmake socat libusb-1.0-0-dev
git clone git://git.osmocom.org/rtl-sdr.git
cd rtl-sdr/
mkdir build
cd build
cmake ../ -DINSTALL_UDEV_RULES=ON -DDETACH_KERNEL_DRIVER=ON
make
sudo make install
sudo ldconfig
sudo service udev restart / Re-boot! (Please un-plug USB TV and re-plug in ESXI / VM environment )

How to test:
rtl_test -t

Error message:
*Kernel driver is active, or device is claimed by second instance of librtlsdr.
In the first case, please either detach or blacklist the kernel module (dvb_usb_rtl28xxu), or enable automatic detaching at compile time.

As the message suggests, there are two solutions.  The quickest is to
simply unload the driver:
sudo rmmod dvb_usb_rtl28xxu rtl2832
–——————–
RTL_FM
rtl_fm -M wbfm -f 94M:104M:25k -s 170k -g 48 -l 280

rtl_fm -M wbfm -f 94M:104M:25k -s 170k -g 48 -l 280 | sox -traw -r24k -es -b16 -c1 -V1 – -tmp3 – | socat -u – TCP-LISTEN:7355

–——————–
sudo apt-get install sox libsox-fmt-mp3

multimonNG:
install qt5 and others
sudo apt-get install qt-sdk libpulse-dev g++

git clone https://github.com/EliasOenal/multimonNG.git
mkdir build
cd build
qmake ../multimon-ng.pro
make
sudo make install
Install QGRX:
$sudo apt-add-repository ppa:gqrx/snapshots
$sudo apt-get update
$sudo apt-get install gqrx

gqrx set your ip address,
windows:
vlc –demux=rawaud –rawaud-channels=1 –rawaud-samplerate=48000 udp://@:7355
=========================
SDR# @ ubuntu

sudo apt-get install mono-complete monodevelop
sudo apt-get install libportaudio2
sudo apt-get install libusb-1.0-0-dev

svn co https://subversion.assembla.com/svn/sdrsharp/trunk sdrsharp
cd sdrsharp

nano SDRSharp.sln
Change the version to 11.00 and Visual Studio 2010 (if you have monodevelop 3.x or 2.8.x)

xbuild /t:Rebuild /p:Configuration=Release SDRSharp.sln
[Build…..]

cd Release
ln -s /usr/local/lib/librtlsdr.so librtlsdr.dll
ln -s /usr/lib/x86_64-linux-gnu/libportaudio.so.2 libportaudio.so

nano SDRSharp.exe.config
remove .net comments of so that it looks like

to

References:
http://blogs.bu.edu/mhirsch/2013/11/sdr-ubuntu/comment-page-1/
http://rtlsdr.org/softwarelinux

How-to: Go Kyoto (京都) / Osaka (大阪) scout shop

Kyoto scout shop web site

・在庫のないスカウト用品については、取り寄せになります。
・スカウト用品入荷は、火曜日・金曜日です。(週二.週五)

〒601−8047 
京都市南区新町通九条下る 京都府民総合交流プラザ3F
TEL 075−662−8801  FAX 075−662−8803

JR Kyoto station 15mins by walk
Kyoto scout shop -Google Map

大阪連盟需品部: スカウト用品販売時間

日本ボーイスカウト大阪連盟事務局にて、下記の時間帯で購入できます。
毎週 水曜・金曜(星期三 – 星期五) 11:00~19:00  土曜(星期六) 11:00~17:00  ( 祝日を除く)(節日例外)
大阪市天王寺区大道5-4-6 TEL:06-6770-0043 FAX: 06-6770-0044

Osaka scout shop -Google Map