AI-deck can't release WiFi

Discussions about the AI-deck
Aadequate
Beginner
Posts: 9
Joined: Fri Jan 15, 2021 4:58 am

Re: AI-deck can't release WiFi

Post by Aadequate »

Thank you for your patient instructions.
According to your instructions, I used four lines of code, and after three steps, I did get 3.8.1.
And when I use the fourth line of code in terminal, the first four feedback (4/21) are as follows:
----------------------------------------------------------------------------------------
Sending build context to Docker daemon 3.584kB
Step 1/21 : FROM ubuntu:18.04
---> c090eaba6b94
Step 2/21 : ENV DEBIAN_FRONTEND noninteractive
---> Running in 3cf342e1bf65
Removing intermediate container 3cf342e1bf65
---> f94ff0075a7a
Step 3/21 : ARG GAP_SDK_VERSION
---> Running in 200728f294e0
Removing intermediate container 200728f294e0
---> e599409b1f05
Step 4/21 : RUN echo $GAP_SDK_VERSION
---> Running in 3c4d6341cdb3

Removing intermediate container 3c4d6341cdb3
---> de08777a83c9
-----------------------------------------------------------------------------------------
Is this normal?
kimberly
Bitcraze
Posts: 1050
Joined: Fri Jul 06, 2018 11:13 am

Re: AI-deck can't release WiFi

Post by kimberly »

It seemed to not have taken in the GAP_SDK_VERSION as an argument in the container... If you have done all of those steps in the exact same terminal (without closing it in between), then there is something wrong.

What you could do now, is to replace the 'GAP_SDK_VERSION' on line 19 (under '# install gap sdk') with this:

Code: Select all

RUN git clone https://github.com/GreenWaves-Technologies/gap_sdk.git; cd gap_sdk && git fetch --all --tags && git checkout tags/release-v3.8.1 && git submodule update --init --recursive
So this will hardcore the gap sdk version to the right version.
Aadequate
Beginner
Posts: 9
Joined: Fri Jan 15, 2021 4:58 am

Re: AI-deck can't release WiFi

Post by Aadequate »

It works!
Now I've come to the problem I met before!
Domestic network restrictions
---------------------------------------------------------
--2021-02-25 11:50:27-- (try: 1) https://raw.githubusercontent.com/tenso ... schema.fbs
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|0.0.0.0|:443... failed: Connection refused.
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|::|:443... failed: Cannot assign requested address.
Retrying.
---------------------------------------------------------
Because I am a novice of Linux system, I want to ask if you have a solution
kimberly
Bitcraze
Posts: 1050
Joined: Fri Jul 06, 2018 11:13 am

Re: AI-deck can't release WiFi

Post by kimberly »

This is a tricky problem that I'm not sure how to fix... I'll see if I can ask around here see if anybody has a clue about how to fix this.

In the mean time, did you manage to pull from GitHub on your native machine (not on docker but your linux)?
Aadequate
Beginner
Posts: 9
Joined: Fri Jan 15, 2021 4:58 am

Re: AI-deck can't release WiFi

Post by Aadequate »

I can download this file successfully on Linux, just like in the attachment.
Maybe it's because I made some adjustments referring to a web page.
Like this :
-------------------------------------------------------
cd C:\Windows\System32\drivers\etc (In windows system)
Then open hosts
Add 199.232.68.133 raw.githubusercontent.com

then in linux
sudo gedit /etc/hosts
add 199.232.28.133 raw.githubusercontent.com
-------------------------------------------------------
I wonder if I can use a similar operation in docker
Or how can I deploy the schema file on Linux to docker?
Attachments
图片1.png
Aadequate
Beginner
Posts: 9
Joined: Fri Jan 15, 2021 4:58 am

Re: AI-deck can't release WiFi

Post by Aadequate »

Excuse me, is there a solution to the previous problem?
kimberly
Bitcraze
Posts: 1050
Joined: Fri Jul 06, 2018 11:13 am

Re: AI-deck can't release WiFi

Post by kimberly »

Hi! sorry, this was supposed to be answered but it got lost.

We don't know how to solve this ourselves. If you are able download the repo on linux locally, I advise not to use docker and setup everything natively on your machine. You can use the steps in the docker file as inspiration how to do this properly
Post Reply