http://askubuntu.com/questions/137011/how-to-mount-a-samba-shared-folder-ubuntu-x-ubuntu
2013년 1월 19일 토요일
VNC setup on Raspberry Pi
http://mitchtech.net/vnc-setup-on-raspberry-pi-from-ubuntu/
This tutorial will demonstrate how to setup and connect to a Raspberry Pi over VNC from Ubuntu. This process is easier if you have a display connected to the Raspberry Pi, but will also show the steps to connect with only Ethernet and power connected. It assumes you have Debian for Raspberry Pi installed on an SD card. If not, see RPi Easy SD card setup
Getting the IP address of the Raspberry Pi
The first step is to locate the Raspberry Pi on your network. If you have access to a display for your Raspberry Pi, this task is simple, in a terminal simply type:
ifconfig
All the network interface configurations will be displayed, including the IP address. However, if you don’t have a display for your Raspberry Pi, this isn’t an option. For this task, we can use the Linux nmap (Network Mapper) utility.
sudo apt-get install nmap
Then run a scan on your local network. Be change to the specifics of your own network.
nmap -sV -p 22 192.168.0.1-255
The results will display every machine that could be identified on port 22. The Raspberry Pi (running Debian) looks something like this:
Nmap scan report for 192.168.0.112
Host is up (0.033s latency).
PORT STATE SERVICE VERSION
22/tcp open ssh OpenSSH 5.5p1 Debian 6+squeeze2 (protocol 2.0)
Service Info: OS: Linux
Connecting over SSH
So we know that the Raspberry Pi has IP address: 192.168.0.112. Now we can ssh to it:
ssh pi@192.168.0.112
And you should receive a message like this:
The authenticity of host ’192.168.0.112 (192.168.0.112)’ can’t be established.
RSA key fingerprint is xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx.
Are you sure you want to continue connecting (yes/no)?
Type yes at the prompt, then enter the password for the user pi, ‘raspberry’ by default. You should get a prompt that looks like this:
pi@raspberrypi:~$
Configuring VNC
Now that we have logged in to the Raspberry Pi, we can setup VNC for remote access. First we need to install the VNC server:
sudo apt-get install tightvncserver
Next, start the VNC server on the Raspberry Pi. Adjust the geometry paramater to your desired display size.
vncserver :1 -geometry 1024x600 -depth 16 -pixelformat rgb565
You will be prompted to create a password for VNC login. Once you do, you should see a line looking something like this:
New ‘X’ desktop is raspberrypi:1
Now, we can finally connect to the Pi with VNC. Back on the Ubuntu machine, install the VNC viewer client:
sudo apt-get install xtightvncviewer
Then connect to the running VNC server:
vncviewer 192.168.0.112:5901
To stop the VNC viewer, just close the application. To stop the VNC server, issue the following command (on the Raspberry Pi):
vncserver -kill :1
2013년 1월 18일 금요일
install OpenCV on ARM
http://josanmoreno.tumblr.com/post/32868245422/raspberrypi-webcam-opencv-facedetect
1. Following steps from MitchTech install necessary libs
sudo apt-get update
sudo apt-get -y install build-essential cmake cmake-qt-gui pkg-config libpng12-0 libpng12-dev libpng++-dev libpng3 libpnglite-dev zlib1g-dbg zlib1g zlib1g-dev pngtools libtiff4-dev libtiff4 libtiffxx0c2 libtiff-tools
sudo apt-get -y install libjpeg8 libjpeg8-dev libjpeg8-dbg libjpeg-progs ffmpeg libavcodec-dev libavcodec53 libavformat53 libavformat-dev libgstreamer0.10-0-dbg libgstreamer0.10-0 libgstreamer0.10-dev libxine1-ffmpeg libxine-dev libxine1-bin libunicap2 libunicap2-dev libdc1394-22-dev libdc1394-22 libdc1394-utils swig libv4l-0 libv4l-dev python-numpy libpython2.6 python-dev python2.6-dev libgtk2.0-dev pkg-config
2. Download and compile OpenCV
wget http://sourceforge.net/projects/opencvlibrary/files/opencv-unix/2.3.1/OpenCV-2.3.1a.tar.bz2
tar -xvjpf OpenCV-2.3.1a.tar.bz2
cd OpenCV-2.3.1/
mkdir build
cd build
cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D BUILD_PYTHON_SUPPORT=ON -D BUILD_EXAMPLES=ON ..
cmake-gui ..
make
3. Exec facedetect app
cd ~/opencv/OpenCV-2.3.1/build/bin
facedetect
tip
sudo apt-get install libvl4l-dev
sudo apt-get install libgtk+
1. Following steps from MitchTech install necessary libs
sudo apt-get update
sudo apt-get -y install build-essential cmake cmake-qt-gui pkg-config libpng12-0 libpng12-dev libpng++-dev libpng3 libpnglite-dev zlib1g-dbg zlib1g zlib1g-dev pngtools libtiff4-dev libtiff4 libtiffxx0c2 libtiff-tools
sudo apt-get -y install libjpeg8 libjpeg8-dev libjpeg8-dbg libjpeg-progs ffmpeg libavcodec-dev libavcodec53 libavformat53 libavformat-dev libgstreamer0.10-0-dbg libgstreamer0.10-0 libgstreamer0.10-dev libxine1-ffmpeg libxine-dev libxine1-bin libunicap2 libunicap2-dev libdc1394-22-dev libdc1394-22 libdc1394-utils swig libv4l-0 libv4l-dev python-numpy libpython2.6 python-dev python2.6-dev libgtk2.0-dev pkg-config
2. Download and compile OpenCV
wget http://sourceforge.net/projects/opencvlibrary/files/opencv-unix/2.3.1/OpenCV-2.3.1a.tar.bz2
tar -xvjpf OpenCV-2.3.1a.tar.bz2
cd OpenCV-2.3.1/
mkdir build
cd build
cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D BUILD_PYTHON_SUPPORT=ON -D BUILD_EXAMPLES=ON ..
cmake-gui ..
make
3. Exec facedetect app
cd ~/opencv/OpenCV-2.3.1/build/bin
facedetect
tip
sudo apt-get install libvl4l-dev
sudo apt-get install libgtk+
2013년 1월 12일 토요일
mrpt 0.9.6 arm porting 작업 내용
ubuntu 10.04 default path로 적용된 모든 library path를 제거
atomic 수정
opencv, gl, ffmpeg(libdc1394)제거
examples만 활성화 시키고 나머지 app, test, 등등은 제거
examples 에러부분은 해당 project 제거
arm보드에서 실행 되므로 core, hardware library만 생성하면 된다.
atomic 수정
opencv, gl, ffmpeg(libdc1394)제거
examples만 활성화 시키고 나머지 app, test, 등등은 제거
examples 에러부분은 해당 project 제거
arm보드에서 실행 되므로 core, hardware library만 생성하면 된다.
피드 구독하기:
글 (Atom)