Google
 

星期三, 5月 22, 2013

picuntu usb wifi

for i in /sys/class/net/*; do e=`basename $i`; echo "# $e"; sudo ethtool $e | grep -E "Link|Speed" ; done

星期一, 5月 20, 2013

Picuntu mk808b usbnet設定

/etc/network/interface
auto lo
iface lo inet loopback
auto usbnet0
iface usbnet0 inet dhcp
auto usb0
iface usb0 inet static
address 192.168.1.200
auto eth0
iface eth0 inet dhcp
wpa-ssid #####
wpa-psk #####

星期二, 5月 14, 2013

Java字串中換行符號的ascii


    String aa[] = {"\n\r"} ;
    System.out.println( (int)(aa[0].charAt(0)));
    System.out.println( (int)(aa[0].charAt(1)));

星期二, 2月 05, 2013

MK808 監控cpu溫度

And to watch live temps you can run it in a terminal with watch, ie:

watch -n1 cat /sys/module/tsadc/parameters/temp0 /sys/module/tsadc/parameters/temp1

星期三, 1月 23, 2013

測試網路速度iperf

Server
iperf -s
Client
iperf -c 192.168.1.1 -w 100M -t 120 -i 5

Ubuntu 12.10 mount windows samba share指令


smbclient -L //192.168.1.19/Movie/ -U alvinkao
sudo mount -t cifs -o username=alvinkao,password=xxxx //192.168.1.19/Movie /mnt/alvin_pc

MK808 Linux參考資料

Ubuntu NetworkManager 使用要項

http://blog.roodo.com/rocksaying/archives/11777065.html

NetworkManager沒有出現在面板,如何啟動它

http://linux-deeptree.blogspot.tw/2011/02/gnomenetworkmanager.html

Wicd won't stay disconnected from wireless

http://ubuntuforums.org/showthread.php?t=2061545

How To Fix Ubuntu Wifi Connection Issues With Wicd

http://techhamlet.com/2012/08/wicd-fix-ubuntu-wifi-connection-issues/

星期六, 1月 19, 2013

ubuntu server 12.04 安裝 Samba Server


參考這篇文章

http://blog.dgps.kh.edu.tw/blog/jimjye/ubuntuc/2012/06/20/3656

星期四, 1月 17, 2013

現有資訊設備列表

項目 品名 備註 耗電量
1 Acer aspire    
2 MK808B 藍芽版  
3 MK808    
4 ASUS RT-N16    
5 ACER E350    
6 Novo7 Advanced    
7 Nokia N82    

星期二, 1月 15, 2013

build a10 kernel

Lubuntu 12.04 on Gemei G2

kernel : 3.0.31+

Reference :

http://rhombus-tech.net/allwinner_a10/

http://liliputing.com/2012/06/ubuntu-12-04-and-lubuntu-12-04-images-for-the-m...

update: 2012.7.19

https://www.miniand.com/forums/forums/2/topics/138#post-1225

update2:2012.9.2

https://www.miniand.com/forums/forums/development/topics/how-do-i-get-the-lcd...


Build linaro

http://www.cnx-software.com/2012/06/13/hardware-packs-for-allwinner-a10-devices-and-easier-method-to-create-a-bootable-ubuntu-12-04-sd-card/

Nightly Builds for AllWinner A10 U-boot, Linux Kernel and Hardware Packs

Read more: http://www.cnx-software.com/2012/07/20/nightly-builds-for-allwinner-a10-u-boot-linux-kernel-and-hardware-packs/#ixzz2I6On8w81
http://www.cnx-software.com/2012/07/20/nightly-builds-for-allwinner-a10-u-boot-linux-kernel-and-hardware-packs/


Hardware Packs for AllWinner A10 Devices and Easier Method to Create a Bootable Ubuntu 12.04 SD Card

Read more: http://www.cnx-software.com/2012/06/13/hardware-packs-for-allwinner-a10-devices-and-easier-method-to-create-a-bootable-ubuntu-12-04-sd-card/#ixzz2I6Pf1X6e

http://www.cnx-software.com/2012/06/13/hardware-packs-for-allwinner-a10-devices-and-easier-method-to-create-a-bootable-ubuntu-12-04-sd-card/

Linux on Gemei G2 reference

Lubuntu 12.04 on Gemei G2
kernel : 3.0.31+

Reference :
http://rhombus-tech.net/allwinner_a10/
http://liliputing.com/2012/06/ubuntu-12-04-and-lubuntu-12-04-images-for-the-m...

update: 2012.7.19
https://www.miniand.com/forums/forums/2/topics/138#post-1225

update2:2012.9.2
https://www.miniand.com/forums/forums/development/topics/how-do-i-get-the-lcd...

晶華酒店尾牙

星期五, 12月 21, 2012

RT-N16 上安裝BT相關

開啟BT
transmission-daemon -g /opt/share/transmission/config

/opt/bin/transmission-daemon -u your_account -v your_password -g /opt/share/transmission/config

關閉
killall transmission-daemon

讓BT Web GUI可連線設定
1、#編輯設定檔

vi /opt/etc/transmission/settings.json

2、找到:
  "rpc-whitelist": "127.0.0.1",

  修改為:
  "rpc-whitelist": "127.0.0.1,192.168.*.*,其他可以連的IP", // 指定認可的IP位置,以,區隔

3、#kill 掉 transmission-daemon
killall transmission-daemon

4、#再次啟動
/opt/bin/transmission-daemon -u your_account -v your_password -g /opt/etc/transmission/

星期日, 1月 20, 2008

新加坡隨筆

週六跑去Bugis站閒晃,隨手拍下一張自己覺得最漂亮的大樓,只可惜現在還不曉得這幢大樓的名字






吸引許多出來逛街的人的眼光,一到假日,逛街是新加坡居民最常做的活動。
在新加坡第一個租處外隨拍,這種有圍牆的算是私人公寓,近二三年來房價漲了不少。在這裏隨便租一間小小的方間,要價也都要超過$10000NTD
用S88拍的公寓裏一景,在新加坡蠻流行公寓裏有游泳池的,不過平常到是很少看到有住戶來使用,我住在此一個多月也才來一次,很可惜,水是很乾淨。
Posted by Picasa

星期六, 1月 19, 2008

新加坡East Coast Park part2

隨便拍二

有分行人專用和自行車道











大海與藍天,這種好天氣,心情不好也難



大海與藍天二

大海與藍天三

再來一張,看到沒,那個是帆船喔!

公園有自行車和直排輪出租,很方便

新加坡East Coast Park part1

繼上周1/12號,搭公車無腦旅遊想找到新加坡東海岸East Coast Park,結果不幸失敗後,

今天有了充足的準備,先是將地圖輸入到PDA中,然後選擇另一個自己比較熟悉的地區。

曾經是初來新加坡停留兩個星期的Mayer Road上的Guest house.(下圖中的藍色星星處)。

行人可經由地下道Underpass穿越高速公路到東海岸公園









出發了,今天是搭SBS的31路公車,在SIMS AVE上車。新加坡公車票價算蠻便宜的

今天單趟花不到$1SGD,算算車錢應該跟在台灣搭公車差不多,在新加坡,搭公車和MRT

基本上就可以玩遍整個新加坡了。

早上9點左右,天氣很好,天空的雲層不多,但是並不表示今天不會下雨,自從來新加坡從,

出門總是隨身帶著一把傘,以防說來就來的雨。

這是靠近Mayer Road的人行道,往前走就可以到穿越高速公路的地下道了

旁邊就是高速公路,在新加坡機車是可以騎上高速公路的,只是機車在新加坡路上並不多見就是了。

這就是穿越高速公路人行道的入口,距離出發搭公車的時間相隔是三十分鐘,新加坡真的是不大。


回首來時路,走到那裏都是綠油油的一片,連在高速公路旁都是。

地下道另一端,我已經到了公園囉!從快吧!等一下就可以看到海邊了。

隨便拍一

新加坡East Coast Park part3

只要三十分鐘,就可以學會直排輪囉!












露營


喜歡這種熱帶氣候湛藍的天空和一望無盡的海洋


過了天橋之後,可以經由Park Connect連接鄰近的公園

單車不在身邊,不然可以騎來環島喔!

走了一個多小時,累了,就在今天的終點,學校降近的Bus station搭車去找吃的東西


星期二, 1月 08, 2008

星期日, 1月 06, 2008

How to compile Oracle 11i forms

Steps
1) Login to the Forms server node as applmgr and set the applications environment (this is important).
2) Change directory to $AU_TOP/forms/US (even this is important).
3) Use the "f60gen" command to generate the fmx files for the fmb files.
$ f60gen module=<formname>.fmb userid=apps/<apps_pwd> output_file=/forms/US/<formname>.fmx

"f60gen" is for Unix. On Windows the command is ifcmp60.exe.

單車旅行日誌

剛看到Mobile01網友整理的連結,先記下來,改天有空再上去看。