xshellinc / iotit Goto Github PK
View Code? Open in Web Editor NEWFlashing Tool for SBCs
License: Apache License 2.0
Flashing Tool for SBCs
License: Apache License 2.0
When I set static ip for edison the device takes a different ip.
[+] Current values are:
[+] Address:192.168.0.254
[+] Network:192.168.0.0
[+] Gateway:192.168.0.1
[+] Netmask:255.255.255.0
[+] DNS:192.168.0.1
[?] Change values? (y/yes OR n/no):y
[?] IP address of the device: 192.168.10.174
[+] Validating IP address: 192.168.10.174
[+] validating: \
[?] Please enter your network: 192.168.10.0
[+] Validating IP address: 192.168.10.0
[?] Please enter your gateway: 192.168.10.1
[+] Validating IP address: 192.168.10.1
[?] Please enter your netmask: 255.255.255.0
[+] Validating IP address: 255.255.255.0
[?] Please enter your dns server: 192.168.10.1
[+] Validating IP address: 192.168.10.1
ifconfig on edison
daryl-no-MacBook-Pro:iotit daryl$ ssh [email protected]
[email protected]'s password:
root@edison:~#
root@edison:~#
root@edison:~#
root@edison:~# ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:1612 errors:0 dropped:0 overruns:0 frame:0
TX packets:1612 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:122608 (119.7 KiB) TX bytes:122608 (119.7 KiB)
usb0 Link encap:Ethernet HWaddr 02:00:86:01:c6:f2
inet addr:192.168.2.15 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::86ff:fe01:c6f2/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:467 errors:0 dropped:0 overruns:0 frame:0
TX packets:412 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:57641 (56.2 KiB) TX bytes:73477 (71.7 KiB)
wlan0 Link encap:Ethernet HWaddr 78:4b:87:a3:90:11
inet addr:192.168.10.145 Bcast:192.168.10.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:150 errors:0 dropped:21 overruns:0 frame:0
TX packets:83 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:26326 (25.7 KiB) TX bytes:14359 (14.0 KiB)
Wiki should contain
Write and add CONTRIBUTING.md to repo
I want dommand like "iotit gl" for install as global command.
and "iotit update" for update itself.
When prompted to connect and reboot device itoit
does not connect to edison
[+] Would you like to flash your device? (y/yes OR n/no): yes
The authenticity of host '[localhost]:2222 ([127.0.0.1]:2222)' can't be established.
ECDSA key fingerprint is SHA256:tfjGcdYwG7a9rW0xWcoUmazClOpOfNerZAJwQJOa1VY.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '[localhost]:2222' (ECDSA) to the list of known hosts.
Using U-Boot target: edison-blankcdc
Now waiting for dfu device 8087:0a99
Please plug and reboot the board
Timed out while waiting for dfu device 8087:0a99
DEBUG: lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 80ee:0021 VirtualBox USB Tablet
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
DEBUG: dfu-util -l
dfu-util 0.8
Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2014 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to [email protected]
Did you plug and reboot your board?
If yes, please try a recovery by calling this script with the --recovery option
[+] Stopping virtual machine - Name:isaax-box-edison UUID:8941a5a1-d731-4981-a6fc-8a8fc1ef2205
NOTE: You might need to run `sudo ifconfig {interface} 192.168.2.2` in order to access Edison at 192.168.2.15
@kylycht commented on Fri Jan 06 2017
@dbsparkle commented on Thu Jan 05 2017
warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "UTF-8",
LANG = "en_GB.UTF-8"
are supported and installed on your system.
Shall we set this during device init
?
@kylycht commented on Fri Jan 06 2017
@dbsparkle if it is feasible, we should I guess
@larenso commented on Fri Jan 27 2017
@dbsparkle @makeupsomething
according to this:
https://www.gnu.org/software/gettext/manual/html_node/Locale-Environment-Variables.html
https://www.gnu.org/software/gettext/manual/html_node/The-LANGUAGE-variable.html#The-LANGUAGE-variable
some Swedish users who would rather read translations in German than English for when Swedish is not available, set LANGUAGE to ‘sv:de’ while leaving LANG to ‘sv_SE’.
I currently implemented that LANGUAGE = LC_ALL = LANG
or should we add an option to set a global language (LC_ALL, LANG) and your language(LANGUAGE)?
@dbsparkle commented on Fri Jan 27 2017
LC_ALL, LANG is ok
@larenso commented on Fri Jan 27 2017
@makeupsomething pls check in https://github.com/xshellinc/isaax-cli/tree/feature/device-ip-check
@larenso commented on Fri Feb 17 2017
Noticed some problems, during rc.local script uses locale set by a user, but after that it suddenly reverts to defaults.
probably /etc/locale.conf - is not suited enough for that, trying to workaround this by setting local user variables and /etc/environment
This is a discussion to see how we would do this, and if we should do it or leave it open to community.
Add an option to allow the user to flash any os image they want from their drive.
➜ CLI ./iotit
[1] Raspberry
[2] Intel Edison
[3] Nano Pi
[4] Beaglebone
[5] Custom
Like what Etcher does, this option will be for users who already have an idea of what they are doing and trying to install. We ill provide guidance but no guarantees that the flashed image will work for their device/arch.
I flashed three times and seems like the wifi credentials were not set any time. I could flash with the previous version of isaax cli
and it was set correctly.
Ive attached the log.
iotit fails to register virtual box every time when flashing device. Same for all devices.
daryl-no-MacBook-Pro:iotit daryl$ ./iotit
[1] raspberry-pi
[2] edison
[3] nano-pi
[4] beaglebone
[?] Select device type: 3
[+] flashing nano-pi
[+] Checking virtual machine
[+] Unzipping /Users/daryl/.iotit/virtualbox/sd/0.1.1/iotit-box-sd.zip to /Users/daryl/VirtualBox VMs
[+] Unzipping iotit-box-sd.zip 403.01 MB / 403.01 MB 100.00% 8s
[+] Done
[+] Registering iotit-box-sd
[-] Error: exit status 1
[-] Exiting ...
As I see this one, it requires modification in several places.
Here we need to mount both image partitions to different mounting points.
func (d *raspberryPi) Configure() error
And here, I think, MountImg
should support custom MountDir
func (d *sdFlasher) MountImg(loopMount string) error
Currently MountImg
only want loop device number and mounts it into /tmp/isaax-sd/
constant.
[+] isaax-box-sd is running, would you stop this virtual machine?(y/yes OR n/no):y
[0] - Use default
[1] - Create new virtual machine
[2] - Use your virtual machine
Using development version of iotit.
When I flash device and set static ip the device does not get any ip address and cannot connect to wifi then without a lan connect. If i do not set static ip then the i can connect to wifi.
I have tested on raspberry and nano pi so far. On edison setting static ip resulted in #22
[?] Select device type: 1
[+] flashing raspberry-pi
[+] Checking virtual machine
[+] Starting virtual machine download
[+] Download isaax-box-sd.zip 141.33 MB / 142.46 MB 99.21% 0s
/Users/domi/.isaax/virtualbox/sd/0.1.1/isaax-box-sd.zip https://s3-ap-northeast-1.amazonaws.com/isaax-distro/vm/sd/0.1.1/isaax-box-sd.zip
[+] Download isaax-box-sd.zip 142.46 MB / 142.46 MB 100.00% 0s
[+] Unzipping /Users/domi/.isaax/virtualbox/sd/0.1.1/isaax-box-sd.zip to /Users/domi/VirtualBox VMs
[+] Unzipping isaax-box-sd.zip 403.01 MB / 403.01 MB 100.00% 6s
[+] Done
[+] Registering isaax-box-sd
[+] Done
[+] No problem!
[+] Checking running virtual machine
This prompt is not helpful and should be improved:
[+] Starting virtual machine download
Now:
https://s3-ap-northeast-1.amazonaws.com/isaax-distro/vm/sd/0.1.1/isaax-box-sd.zip
Add option where user can scp files to a desired dir in OS image:
In our case we can upload isaax-agent binary along with registration token
NOTE: Token should be present in ONE of these options
Order of token lookup:
ISAAX_TOKEN
~/.isaax_token
/etc/.isaax_token
There was a problem installing dependencies on a device with our script
service
The issue comes with connecting to the repo
Proposed solution is to add a 8.8.8.8
as default DNS server during device init
I am opening this as a discussion since some might think it is a user's responsibility to configure it
Here is issue that was encountered:
{"level":"debug","msg":"Publishing ({\"payload\":{\"name\":\"pre_install\",\"stdout\":\"I run before user application is installed\\nupdate\\nGet:1 http://archive.raspberrypi.org jessie InRelease [22.9 kB]\\nGet:2 http://archive.raspberrypi.org jessie/main armhf Packages [144 kB]\\nGet:3 http://archive.raspberrypi.org jessie/ui armhf Packages [54.8 kB]\\nIgn http://archive.raspberrypi.org jessie/main Translation-en\\nIgn http://archive.raspberrypi.org jessie/ui Translation-en\\nGet:4 http://mirrordirector.raspbian.org jessie InRelease [14.9 kB]\\nErr http://mirrordirector.raspbian.org jessie/main armhf Packages\\n Unable to connect to mirrordirector.raspbian.org:http:\\nErr http://mirrordirector.raspbian.org jessie/contrib armhf Packages\\n Unable to connect to mirrordirector.raspbian.org:http:\\nErr http://mirrordirector.raspbian.org jessie/non-free armhf Packages\\n Unable to connect to mirrordirector.raspbian.org:http:\\nErr http://mirrordirector.raspbian.org jessie/rpi armhf Packages\\n Unable to connect to mirrordirector.raspbian.org:http:\\nErr http://mirrordirector.raspbian.org jessie/contrib Translation-en\\n Unable to connect to mirrordirector.raspbian.org:http:\\nErr http://mirrordirector.raspbian.org jessie/main Translation-en\\n Unable to connect to mirrordirector.raspbian.org:http:\\nErr http://mirrordirector.raspbian.org jessie/non-free Translation-en\\n Unable to connect to mirrordirector.raspbian.org:http:\\nErr http://mirrordirector.raspbian.org jessie/rpi Translation-en\\n Unable to connect to mirrordirector.raspbian.org:http:\\nFetched 237 kB in 4min 1s (981 B/s)\\n\",\"stderr\":\"W: Failed to fetch http://mirrordirector.raspbian.org/raspbian/dists/jessie/main/binary-armhf/Packages Unable to connect to mirrordirector.raspbian.org:http:\\n\\nW: Failed to fetch http://mirrordirector.raspbian.org/raspbian/dists/jessie/contrib/binary-armhf/Packages Unable to connect to mirrordirector.raspbian.org:http:\\n\\nW: Failed to fetch http://mirrordirector.raspbian.org/raspbian/dists/jessie/non-free/binary-armhf/Packages Unable to connect to mirrordirector.raspbian.org:http:\\n\\nW: Failed to fetch http://mirrordirector.raspbian.org/raspbian/dists/jessie/rpi/binary-armhf/Packages Unable to connect to mirrordirector.raspbian.org:http:\\n\\nW: Failed to fetch http://mirrordirector.raspbian.org/raspbian/dists/jessie/contrib/i18n/Translation-en Unable to connect to mirrordirector.raspbian.org:http:\\n\\nW: Failed to fetch http://mirrordirector.raspbian.org/raspbian/dists/jessie/main/i18n/Translation-en Unable to connect to mirrordirector.raspbian.org:http:\\n\\nW: Failed to fetch http://mirrordirector.raspbian.org/raspbian/dists/jessie/non-free/i18n/Translation-en Unable to connect to mirrordirector.raspbian.org:http:\\n\\nW: Failed to fetch http://mirrordirector.raspbian.org/raspbian/dists/jessie/rpi/i18n/Translation-en Unable to connect to mirrordirector.raspbian.org:http:\\n\\nE: Some index files failed to download. They have been ignored, or old ones used instead.\\n\",\"exitCode\":100},\"type\":\"scriptCompleted\"})","time":"2017-02-24T07:13:12Z"}
[+] Writing /tmp/2016-09-23-raspbian-jessie-lite.img to /dev/disk2
[+] You may need to enter your OS X user password
[+] Enter Password: *********
[-] Can't write to disk. Please make sure your password is correct and press Enter to retry
[-] 37748736 bytes transferred in 19.021833 secs (1984495 bytes/sec)
[-] Can't write to disk. Please make sure your password is correct and press Enter to retry
[-] 0 bytes transferred in 0.000959 secs (0 bytes/sec)
[-] Can't write to disk. Please make sure your password is correct and press Enter to retry
[-] dd: /dev/rdisk2: Input/output error
1+0 records in
0+0 records out
0 bytes transferred in 0.003509 secs (0 bytes/sec)
[-] Can't write to disk. Please make sure your password is correct and press Enter to retry
[-] 0 bytes transferred in 0.002049 secs (0 bytes/sec)
I assume, user should be able to stop and rerun the flashing process again with different sd card, or cancel it
I got inflate error while flashing raspberry pi 2
[1] Use default vbox preset
[2] Create a new vbox preset
[?] Please select an option: 1
[+] Selected virtual machine
[Name] - iotit-box
[Description] -
[+] starting: / success
[+] Starting download raspberry-pi
[+] Download 2017-03-02-raspbian-jessie-lite.zip 648.60 KB / 648.60 KB 100.00% 0s
[+] Uploading 2017-03-02-raspbian-jessie-lite.zip to virtual machine
[+] Extracting 2017-03-02-raspbian-jessie-lite.zip
[-] unzip: unexpected end of file
unzip: inflate error
[?] Would you like to configure your board? (y/yes OR n/no):y
[+] Default language: en_US.UTF-8
[?] Change default language? (y/yes OR n/no):y
[+] Would you like to install basic software for your device?(y/yes OR n/no):y
I get this error when i try to run build script
./iotit.go:111: undefined: os.Executable
If the user does not have vbox installed should we offer to install it?
I suggest we change this message from
Flashing rootfs, (it can take up to 5 minutes... Please be patient)
Download [======================= ] 94% 1303441408 bytes
to
Flashing rootfs, (it can take up to 30 minutes... Please be patient)
Download [======================= ] 94% 1303441408 bytes
As it takes at least 20 minutes to finish
We need to include this for custom image installation
Investigate iotit
usage on edison
nanopi-neo-linux-rootfs-core-qte-sd4g-20160804.img.zip
->
nanopi-neo-linux-rootfs-core-qte-sd4g-20160804.zip
If i do not have any value when selecting a device in iotit and press enter i get this output
daryl-no-MacBook-Pro:iotit daryl$ ./iotit
[1] raspberry-pi
[2] edison
[3] nano-pi
[4] beaglebone
[5] Custom
[?] Select device type:
[-] Invalid user input, strconv.Atoi: parsing "": invalid syntax please repeat:
It should be
[-] Invalid input. Select device type:
Create device initialization functionality, which will burn images to IoT devices
RPi3 can run either ARMv7 (32-bit) or AArch64 (64-bit) architectures, so both options should be supported
Now, we are hosting isaax-iotit
binaries in Isaax Internal File Storage (AWS S3)
See https://github.com/xshellinc/isaax-main/issues/136 for more info
➜ CLI ./iotit
[1] Raspberry
[2] Intel Edison
[3] Nano Pi
[4] Beaglebone
and inside there have sub choices for raspberry (or any other board we support in future)
Select raspberry Pi model to flash:
[1] Raspberry Pi Model A, A+, B, B+, Zero, Zero W
[2] Raspberry Pi 2 (based on Model B+)
[3] Raspberry Pi 3
And inside nano pi sub menu, we can group some of these later
Select raspberry Pi model to flash:
[1] NanoPi2
[2] NanoPi 2 Fire
[3] NanoPi M1 Plus
[4] NanoPi M1
[5] NanoPi M2
[6] NanoPi M3
[7] NanoPi NEO
[8] NanoPi NEO Air
[9] NanoPi S2
[10] NanoPi a64
Bind iotit to use a new single common image:
vm-iotit:
"version": "0.0.1",
"url": "https://cdn.isaax.io/isaax-distro/vm/iotit/0.0.1/iotit-box.zip"
When I want to update edisons settings I get asked to input the password in order to ssh into the device.
Even inputting correctly I get asked many times to do it, it seems like the connection gets closed.
Im not sure if this problem is with iotit or edison os.
daryl-no-MacBook-Pro:iotit daryl$ ./iotit
[1] raspberry-pi
[2] edison
[3] nano-pi
[4] beaglebone
[?] Select device type: 2
[+] flashing edison
[?] Would you like to flash your device? (y/yes OR n/no):n
[1] Default
[2] Enter IP
[?] Chose the edison's inteface to connect via usb: 1
[1] awdl0
[2] bridge0
[3] en0
[4] en1
[5] en2
[6] en4
[7] fw0
[8] gif0
[9] lo0
[10] p2p0
[11] stf0
[?] Please chose correct interface: 6
[+] Enter Password: ******
[?] Would you like to assign static IP wlan address for your device? (y/yes OR n/no):n
The authenticity of host '192.168.2.15 (192.168.2.15)' can't be established.
ECDSA key fingerprint is SHA256:GFKKabbTbd7nj7Ut6mHyVKhTXY1WRtAhQzgnbLb4ViY.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.2.15' (ECDSA) to the list of known hosts.
[email protected]'s password:
Connection to 192.168.2.15 closed.
[email protected]'s password:
[email protected]'s password:
[email protected]'s password:
#21 may be related to this issue
I can flash and setup wifi on edison and it works, but when i reboot it does not automatically connect to wifi. Even if i keep it connected to pc by usb I can see that it has an ipv4 address before reboot but none after reboot. It looks like some other Edison users have a similar issue recently.
before reboot
wlan0 Link encap:Ethernet HWaddr 78:4b:87:a3:90:11
inet addr:192.168.10.145 Bcast:192.168.10.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2454 errors:0 dropped:579 overruns:0 frame:0
TX packets:87 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:466159 (455.2 KiB) TX bytes:17597 (17.1 KiB)
after reboot
wlan0 Link encap:Ethernet HWaddr 78:4b:87:a3:90:11
inet6 addr: 2408:210:2ce3:800:7a4b:87ff:fea3:9011/64 Scope:Global
inet6 addr: fe80::7a4b:87ff:fea3:9011/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:221 errors:0 dropped:58 overruns:0 frame:0
TX packets:27 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:44782 (43.7 KiB) TX bytes:4376 (4.2 KiB)
I have no /etc/network/
folder but I think thats normal on edison right?
Configure hook to update version.json
file on each build
[+]curl
[+]bluez
[+]iptables
[+]openssh-server
[+]openssh-client
[+]locales
[+]tzdata
[+]sudo
[+]bash
[+]unzip
[+]tar
[+]find
[+]nano
[+]git
[?] Would you like to install basic software for your device? (y/yes OR n/no):n
I guess we should just remove this. Its not our responsibility and I think it does not work at the moment anyway. We would be better off to expand the range of images we support that already include these software such as for #47
Currently we have 2 default vboxes with the following names: isaax-box-sd
, isaax-box-edison
Iotit has the following command, which causes confusion:
Create new virtual machine
command creates a config with the name, descriptions and vbox specs such as ram, vram, cpu, usb
. If user uses one of the specs - it doesn't create a new virtual machine or rename the existing one, it just modifies isaax-box-sd
or edison
parameters. this create a confusion:
for example user creates a custom vbox machine via iotit and selects the following
[+] Available virtual machine: [0] user_created_vbox - enhanced specs
if user checks VirtualBox interface, there wouldn't be a newly created user_created_vbox
, instead there will be isaax-box-sd
with modified parameters from user_created_vbox
We need to resolve this confusion
Exported const
or var
should have comment (or unexported) :
Struct field Dns
should be DNS
:
Shouldn't type bool
be omitted from declaration, since it will be inferred from the right side anyway?
Shouldn't we drop 0
from declaration of var num
? it is the zero value...
setIp
should be renamed into setIP
Error should be the last type when returning multiple items:
Vm...
should be VM...
When user is asked to configure keyboard there should be a list of possible keyboard languages to choose from.
I think it will be the same/similar list to the device language configuration list we have already.
[+] flashing: - panic: runtime error: slice bounds out of range
goroutine 224 [running]:
github.com/xshellinc/tools/lib/sudo.Exec.func1(0xc420518fc0, 0xc420518d20, 0xc4202ab180, 0x1389158, 0x12f8aa0, 0xc42030b740, 0x14d8400, 0xc420353280)
/Users/asphyx/Projects/go/src/github.com/xshellinc/tools/lib/sudo/sudo.go:71 +0x419
created by github.com/xshellinc/tools/lib/sudo.Exec
/Users/asphyx/Projects/go/src/github.com/xshellinc/tools/lib/sudo/sudo.go:83 +0x346
When flashing edison there is a second prompt that asks the user if they want to stop the running virtual machine. If the user selects yes the virtual machine stops and the process cannot continue. The second prompt to stop virtual machine should not be there.
daryl-no-MacBook-Pro:iotit daryl$ ./iotit
[1] raspberry-pi
[2] edison
[3] nano-pi
[4] beaglebone
[5] Custom
[?] Select device type: 2
[+] flashing edison
[?] Would you like to flash your device? (y/yes, n/no): y
[+] Checking virtual machine
[+] No problem!
[+] Checking running virtual machine
[1] Use default vbox preset
[2] Create a new vbox preset
[?] Please select an option: 1
[+] Selected virtual machine
[Name] - iotit-box
[Description] -
[+] starting: | success
[+] Starting download edison
[+] Download iot-devkit-prof-dev-image-edison-20160606.zip 285.19 MB / 285.19 MB 100.00% 0s
[+] Uploading iot-devkit-prof-dev-image-edison-20160606.zip to virtual machine
[+] Extracting iot-devkit-prof-dev-image-edison-20160606.zip
[?] Please unplug your edison board. Press yes once unpluged? (y/yes, n/no): y
[+] Checking virtual machine
[+] No problem!
[+] Checking running virtual machine
[?] iotit-box (default) is running, would you stop this virtual machine? (y/yes, n/no): y
[1] Use default vbox preset
[2] Create a new vbox preset
[?] Please select an option: 1
[+] Download iotit-box-sd.zip 1.09 MB / 142.41 MB 0.77% 5h52m25s
/Users/ubuntu/.iotit/virtualbox/sd/0.1.1/iotit-box-sd.zip https://cdn.isaax.io/isaax-distro/vm/sd/0.1.1/iotit-box-sd.zip
1143376 149328305
[-] Error occured with error message: read tcp 192.168.1.111:50360->52.219.4.70:80: read: operation timed out
As latest version of raspian has ssh off by default https://www.raspberrypi.org/blog/a-security-update-for-raspbian-pixel/
We need an option to turn it on when configuring board.
Something like:
[+] Would you like to turn on ssh by default? (y/n)
We should provide an option for the user to turn on or not, when he is configuring a board.
I get this error when iotit extracts VM from ~/.iotit/
folder
[+] Checking virtual machine
[+] Unzipping /Users/daryl/.iotit/virtualbox/0.0.3/iotit-box.zip to /Users/daryl/VirtualBox VMs
[+] Unzipping iotit-box.zip 0 B / 136.00 MB 0.00% [-] open /Users/daryl/VirtualBox VMs/iotit-box/iotit-box.vbox: permission denied
[-] Error: open /Users/daryl/VirtualBox VMs/iotit-box/iotit-box.vbox: permission denied
[-] Exiting ...
Extracting manually works.
For raspberry pi after device init
password details are incorrect
****************************************************************************************************
* SD CARD READY! *
* PLEASE INSERT YOUR SD CARD TO YOUR RASPBERRY PI *
* IF YOU HAVE NOT SET UP THE USB WIFI, PLEASE CONNECT TO ETHERNET *
* SSH USERNAME:pi PASSWORD:password *
****************************************************************************************************
Just thinking about this today.
Are any of you guys running windows?
[+] Stopping virtual machine
****************************************************************************************************
* SD CARD READY! *
* PLEASE INSERT YOUR SD CARD TO YOUR RASPBERRY PI *
* IF YOU HAVE NOT SET UP THE USB WIFI, PLEASE CONNECT TO ETHERNET *
* AFTER BOOT IS COMPLETE, RUN `isaax device register` *
* SSH USERNAME:pi PASSWORD:raspberry *
****************************************************************************************************
AFTER BOOT IS COMPLETE, RUN isaax device register
line should be removed.
The point is to make iotit
independent from ISaax
[?] Would you like to config your board? (y/yes OR n/no):y
[+] Default language: en_US.UTF-8
[?] Change default language? (y/yes OR n/no):n
[+] Default keyboard: us
[?] Change default language? (y/yes OR n/no):n
[?] Would you like to configure your WI-Fi? (y/yes OR n/no):
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.