Install SD Flash Card
Attention, Use only 2GB SD Flash Card !!!In Linux
- Download image file for SEVAN SD Flash Card (link).
- Insert SD Flash Card.
- Determine your device (In my case it is sdb). For that run this command:
- sudo grep -Hv ^0$ /sys/block/*/removable | sed s/removable:.*$/device\\/uevent/ | xargs grep -H ^DRIVER=sd | sed s/device.uevent.*$/size/ | xargs grep -Hv ^0$ | cut -d / -f 4
- sudo grep -Hv ^0$ /sys/block/*/removable | sed s/removable:.*$/device\\/uevent/ | xargs grep -H ^DRIVER=sd | sed s/device.uevent.*$/size/ | xargs grep -Hv ^0$ | cut -d / -f 4
- If it is mounted, unmount it.
- sudo umount /dev/sdb1
- sudo umount /dev/sdb1
- Run this command to unzip and copy image to SD Flash Card (this operation lasts about 15 minutes):
- sudo gzip -dc /path/to/sevan/image/sevan_img.dd.gz | pv -tpreb | dd bs=1M of=/dev/sdb
- Now time to configure Network Parameters and NTP Servers. It is two vays to to that.
- Remotely by network:
- Insert or replace SD Flash Card on SEVAN electronics.
- Connect to SEVAN via ssh (default IP address: 192.168.1.2, username:root, password:roota):
- ssh root@192.168.1.2
- It is strongly recommended to change password of the root user after login by default, to do this enter command:
- passwd and after type new password
- Set Network Parameters. Use vi text editor for edit necessary files. Please use this manual to know how to use vi editor.
- vi /etc/network/interfaces
- Set DNS Servers.
- vi /etc/resolv.conf
- vi /etc/resolv.conf
- If you have your local NTP server with GPS it is recommended to add this NTP Server's IP or host name. If no, you can skip this step.
- vi /etc/default/ntpdate
- vi /etc/ntp.conf
- Reboot micro PC.
- reboot
- Now try to connect to SEVAN by new IP address.
- On local PC:
- Mounting SD Flash Card.
- sudo mount /dev/sdb1 /mnt
- sudo mount /dev/sdb1 /mnt
- Set Network Parameters. Use vi or nano (or other) text editors for edit necessary files. Please use these vi manual or nano manual to know how to use.
- sudo nano /mnt/etc/network/interfaces
- Set DNS Servers.
- sudo nano /mnt/etc/resolv.conf
- sudo nano /mnt/etc/resolv.conf
- If you have your local NTP server with GPS it is recommended to add this NTP Server's IP or host name. If no, you can skip this step.
- sudo nano /mnt/etc/default/ntpdate
- sudo nano /mnt/etc/ntp.conf
- sudo nano /mnt/etc/default/ntpdate
- Umount SD Flash Card.
- sudo umount /dev/sdb1
- Now your SD Flash Card ready to use and You can replace it.
- Try to connect to SEVAN by new IP address.
- Mounting SD Flash Card.
- Remotely by network:
In Windows
- Download image file for SEVAN SD Flash Card (link).
- Download DD For Windows (link) to apply the image to SD Flash Card.
- Download Ext2Fsd (link) and install to have possibility work with Linux Ext type partitions.
- Unzip sevan_img.dd.gz file.
- Insert SD Flash Card.
- Use this manual to remove partition on SD Flash Card and apply sevan_img.dd file to SD Flash Card.
- Attention!!!, if you will get this error "Error writing file: 5 Access is denied" during run of dd, the key is:
- explorer window opened on your SD card. Just close this window.
- turn off your antivirus program.
- Configure Network Parameters and NTP Servers. See Linux version.