Revision : 1.0
Date : 26/09/2016
Author : CCPC-Rombix
PART I
I'm looking for Embedded Linux Board that cheaper and smaller than Raspberry Pi-3 for my Active-Camera Box (Photo capture, VDO-Audio capture and Live Streaming). The NanoPi-M1 is another choice for me and here's my experimenting...
STARTUP
- Take a look at official NanoPi-M1 features here and WiKi page here.
- Download Debian disk image here (be patient! took very long time).
- On Windows machine, create disk image using Win32DiskImager.
- Insert SD-Card with os installed, plug-in LAN cable and apply 5V/2A power supply to micro usb port.
- After device boot, Find NanoPi-M1 IP address, I'm using AdvanceIP Scanner.
UPDATE OS
- First of all to make sure that every thing is up-to date, it's recommended to update the OS.
- Login using default user name: fa password: fa
- Perform update & upgrade using command
- sudo apt-get update --fix-missing
- sudo apt-get upgrade --fix-missing
- After update OS and check disk space (using command: df -h) the NanoPi seen space on my TF-card only 3.9GB.
- The rootfs section of the TF-card need to be resized, run the following command on the NanoPi terminal:
sudo fs_resize
- Following the prompt type in "y" to start re-sizing the file system and a second "y" to reboot the M1. After the M1 is rebooted check the new section by using the following command:
df -h
- I wan't to use USB-WiFi, USB-Camera, 3G-Dongle and other USB devices on my NanoPi, so the USB utility is required.
- Install USB utility...
sudo apt-get install usbutils
- Now I can use command: 'lsusb' to check if the USB device is compatible to my NanoPi.
CHANGING THE HOSTNAME
- The factory hostname 'FriendlyArm' do not make sense to me, I want to change it to something like 'myNanoPi'.
- Follow these step to change hostname from 'FriendlyArm' to 'myNanoPi'
sudo nano /etc/hostname
- Leave all of the entries alone except for the labeled
127.0.1.1
, change the hostname to “myNanoPi“. - CTRL-O to save, CTRL-X to exit and get back to the terminal, type the following command to open the hostname file:
sudo nano /etc/hostname
This file only contains your current hostname, change it to "myNanoPi"- Finally, we need to commit the changes to the system and reboot the system for the changes to take effect. At the terminal, enter the following command to commit the changes:
sudo /etc/init.d/hostname.sh
sudo reboot
Once the system comes back online, you can check the device list in your router to see if the new hostname has properly resolved.
LOGIN TO myNanoPi USING TightVNCViewer
NanoPi's OS is pre-installed with TightVNCServer. my NanoPi is not connected to a display device, but I can login to myNanoPi from a mobile phone, download and install a "VNC Viewer" from hereand login to the myNanoPi via VNC at port 1. Its default password is "fa123456" (same as login from TightVNCviewer on PC).
No comments:
Post a Comment