supporting platforms: linux
tested platforms: CentOS, ubuntu
- Copy application folder to desktop.
- Open config.xml in the application folder with text editor.
- Set app-name, namespace, server-addr, server-port, stream-addr and stream-port values. Save and close the file.
- Open terminal.
- Enter following commands.
- cd ~/Desktop/remotedevicecontroller
- make
- sudo make install
-
cd ubuntu-13.04-console-armhf-2013-09-26
-
sudo ./setup_sdcard.sh --probe-mmc
-
sudo ./setup_sdcard.sh --mmc /dev/sdX --uboot bone
-
insert sd card in beaglebone, connect to system and ssh ubuntu@192.168.7.2
-
password: temppwd
-
add "deb http://deb.newmeksolutions.com/ $(ARCH)/" to top of /etc/apt/sources.list without quotes
-
sudo route add default gw 192.168.7.1
-
sudo vi /etc/resolv.conf
-
change nameserver 192.168.1.1 to 192.168.7.1
-
sudo dpkg-reconfigure tzdata # to set time-zone
-
sudo ntpdate ntp.ubuntu.com
-
sudo vi /etc/udev/rules.d/70-persistent-net.rules add at EOF
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan", NAME="wlan0"
-
sudo vi /etc/network/interfaces and replace #wifi example section with the below
#WiFi Example auto wlan0 iface wlan0 inet static wpa-ssid "NEWMEK" wpa-psk "ekmaster" address 192.168.2.121 netmask 255.255.255.0 network 192.168.2.0 #gateway 192.168.2.1 dns-nameservers 192.168.2.21 8.8.8.8
-
sudo apt-get update
-
sudo apt-get dist-upgrade
-
sudo apt-get install remotedevicecontroller
-
sudo remotedevicecontroller -i
-
exit, connect wifi modem, connect 3g modem, connect camera, connect gps-device and ssh using wifi
-
ssh ubuntu@192.168.2.121 #TO CHECK WIFI CONNECTION. SKIP IF NOT REQUIRED
-
sudo vi /etc/wvdial.conf
#for reliance netconnect+ modem [Dialer Defaults] Init1 = ATZ Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 Modem Type = Analog Modem ISDN = 0 New PPPD = yes Phone = #777 Modem = /dev/CDMAModem Username = net Password = net Baud = 9600 -
sudo init 6
sudo cp -Rrf --preserve=all /media/gowtham/BOOT/* BOOT/
sudo cp -Rrf --preserve=all /media/gowtham/rootfs/* rootfs/
sudo dd if=/dev/sdb of=bbb_mbr_08-13.img bs=446 count=1
sudo dd if=BBB_img/bbb_mbr.img of=/dev/sdb bs=446 count=1
- partition /dev/sdb into boot(65MB,fat16) and rootfs(remaining,ext4) using gparted.
- mount all cards
sudo cp -Rrf --preserve=all BBB_img/boot/* /media/boot
sudo cp -Rrf --preserve=all BBB_img/rootfs/* /media/rootfs
- insert sd card, reliance modem in bbb and plug in to computer via usb.
- connect beaglebone with
ssh ubuntu@192.168.7.2
sudo vi /etc/wvdial.conf
and change username and password to the phone no. of the modem.sudo wvdial
& and test internet connection with ping www.google.comsudo remotedevicecontroller -i
- fetch system-id.
$ sudo remotedevicecontroller -c
gps-device device_name
sudo apt-get install gcc build-essential build-dep libcppunit-dev libssl-dev libxml2-dev
sudo apt-get install base-dev
- do not build projects in netbeans initially build using terminal