CB4 試す2

このエントリーをはてなブックマークに追加
はてなブックマーク - CB4 試す2
Share on Facebook
Post to Google Buzz
Bookmark this on Yahoo Bookmark
Bookmark this on Livedoor Clip
Share on FriendFeed

イメージが新しいのが出ていたので linaro-server をインストール

micro SD にイメージ展開

http://dl.cubieboard.org/model/cc-a80/Image/ubuntu-linaro/

# 7za e linaro-server-cb4-card-vga-v2.0.img.7z

7-Zip (A) 9.20  Copyright (c) 1999-2010 Igor Pavlov  2010-11-18
p7zip Version 9.20 (locale=ja_JP.UTF-8,Utf16=on,HugeFiles=on,2 CPUs)

Processing archive: linaro-server-cb4-card-vga-v2.0.img.7z

Extracting  linaro-server-cb4-card-vga-v2.0.img

Everything is Ok

Size:       889192448
Compressed: 188975205
# dd if=./linaro-server-cb4-card-vga-v2.0.img of=/dev/sde

USB Mouse(はいらないけど)、USB Keyboard、VGAをCB4に挿して、micro sdを差し込んでブート

コンソールが現れる。

http://dl.cubieboard.org/model/cc-a80/Image/ubuntu-linaro-server/v2.0/README

  • DHCPでふられてるIPアドレス確認
  • linaro/linaroでSSHログイン
  • rootパスワード変更(デフォルト cubieboard)
  • /etc/network/interface の eth0 分を編集
  • auto eth0
    iface eth0 inet static
    # allow-hotplug eth0 ここコメントアウト
    address 192.168.0.50
    netmask 255.255.255.0
    broadcast 192.168.0.255
    gateway 192.168.0.1
  • apache2, mysql , irqbalance サービス止める(# update-rc.d -f <service name> remove)
  • wlan の設定
  • #this is open wifi setting."your-ssid-here" and "your-passwd-here" should been replase with yours and remove the annotation
    
    auto wlan0
    iface wlan0 inet dhcp
    #pre-up ip link set wlan0 up
    #pre-up iwconfig wlan0 essid 12345-SSID
    wpa-ssid 12345-SSID
    wpa-psk MYPASSWORD
    
    #auto br0
    #iface br0 inet dhcp
    #bridge_ports eth0 wlan0
    
  • ifup eth0 や ifup wlan0 で有効化
  • mysql-server-core.5.5 , mysql-server-5.5 を apt-get remove , dpkg –purge
  • apache2 , apache2-bin , apache2-data も apt-get remove , dpkg –purge
  • apt-get install git

 

WiFi

The name of WIFI drive module is bcmdhd ,you can use command "lsmod " see that it has been loading .
Use command "iwlist wlan0 scan" can find the WIFI hotspot you want to connect .
Add the ssid and passwd into /etc/network/interfaces .

Beacuse first connect ,after reboot the board ,maybe need type:

#ifconfig wlan0 down
#ifconfig wlan0 up
#/etc/init.d/networking restart
Back To Top