user1969193
user1969193

Reputation: 129

How to connect to Coral Dev Board without USB connection

I have a person detection model running in my Google Dev Board which is exposed as a Flask application.

I have enabled direct wifi connection in the Dev board as per coral documentation.

When the Dev board is connected via USB (OTG) cable I am able to access the application using the following URL

http://192.168.100.2:4664

When I disconnect the USB (OTG) connection, I am not able to access this URL in my laptop which is connected to the same wifi network

Please help

Upvotes: 1

Views: 1571

Answers (1)

Nam Vu
Nam Vu

Reputation: 1757

You can use the standard ssh linux tool to connect to the board. Matterfact, mdt is just a friendly wrapper around ssh.

On your host machine, do this and just keep typing enter:

host# ssh-keygen

It should generate a file ~/.ssh/id_rsa.pub that is an rsa key. Copy that key, char by char, log back into the board, create a file in /home/mendel/.ssh/authorized_keys and paste the key there. Then get the ip address on the board using ip addr on wlan0 interface, for instance, mine looks like this:

3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 3000
...
    inet 192.168.0.160/24 brd 192.168.0.255 scope global dynamic noprefixroute wlan0
...

that is all, just do this to log in with the address you found, for me it is:

ssh [email protected]

More on ssh: https://www.ssh.com/ssh/

Upvotes: 1

Related Questions