Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot resolve hostname when using automatic upload #2

Open
vivekh99 opened this issue Jul 19, 2019 · 2 comments
Open

Cannot resolve hostname when using automatic upload #2

vivekh99 opened this issue Jul 19, 2019 · 2 comments

Comments

@vivekh99
Copy link

when using the automatic upload command,
./upload_app.sh rp-XXXXXX.local

I get the error /usr/bin/ssh-copy-id: ERROR: ssh: Could not resolve hostname rp-f06f76.local: Name or service not known

has anyone else encountered this? My RedPitaya is connected to my computer via ethernet cable

@iqjheine
Copy link

iqjheine commented Jul 21, 2019

Hi vivekh99,
just to make sure, you can connect to your redpitaya manually (e.g. ssh)? Maybe try the script with the ip adress of your stemlab instead.
As a workaround, you may try to upload the app via scp to your redpitaya as described in the readme file.

Also, you can use your own SSH client and upload the lock-in+pid folder the the RedPiaya folder: /opt/redpitaya/www/apps

More info how to do that here.
For a more specific answer I would need to know more abour your network architecture.

@vivekh99
Copy link
Author

Hi iqjheine,

Using the IP address solved the problem. Using the above command but with the IP address instead of rp-XXXXXX.local. I connected the red pitaya ethernet cable to a router instead of the laptop while doing this.

any reason for why this worked and why using the local hostname didnt work?

Thanks for your earlier response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants