發表文章

目前顯示的是有「geek」標籤的文章

Play Chromecast using Crowne Plaza hotel WiFi

圖片
When you arrive your hotel, maybe the TV channel are not tailored for you. Chromecast mightbe the great solution for you to watch your favorite TV show from Netflix, Youtube, NBATV... etc. But how to make Chromecast connect to WiFi from web login authorization since you just can enter password through WPA authorization? Step: 1. first insert Chromecast to TV 2. Switch the source to HDMI  You would see it can connect to hotel WiFi but can't access internet  3. Try your personal laptop to login hotel WiFi and see what the parameters would used when you login. For example, you enter "www.google.com" in your laptop browser, you would see the webpage direct to the url below: http://172.27.0.1/cgi-bin/login.cgi?ip= 172.27.1.30 &mac= e8:2a:ea:d6:3b:7a &url=http://www.google.com.tw/&mobile=0 You can check your ip and mac address in your laptop through the command "ipconfig /all" on windows or "ifconfig -a" in Linux Simil...

Synology DS 412+ 相關系統設定

Q:利用ez-internet設定防火牆後,mac無法連接到nas網路磁碟機。 A:防火牆中需要允許bonjour服務通過 Q:利用ez-internet設定DDNS後,在網頁輸入domain name:yournasip:5000連不到synology管理介面DSM A:需要設定中華電信黑烏龜router的port forwarding, 用一般使用者user/user登入並修改之。(管理者cht/chtnvdsl無法設定forwarding) Q:家裡NAT網路使用DHCP,內部IP一旦改變就得重新設定router的Port forwarding。 A:在Synology DSM設定手動設定IP,並且在router設定static LAN IP(輸入IP, MAC Addr)即可 Q:更新cron後如何重啟?(no use) A:舊版DSM 4.3前的是 /usr/syno/etc/rc.d/S04crond.sh restart      DSM 5是 /usr/syno/sbin/synoservicectl --restart crond 以下為成功每兩分鐘寫檔範例: */2     *     *     *     *     root     touch /volume1/dragonjohn/devEnv/a$(date +%Y%m%d%s).txt (或許是因為ipkg 安裝的mimms在離開SSH連線後即消失,判斷在DSM系統中的排程也偵測不到有mimms的套件,因此沒有反應。slave thread)