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

script or steps to add wifi to sdcard image #142

Closed
AndreV84 opened this issue Jan 14, 2023 · 5 comments
Closed

script or steps to add wifi to sdcard image #142

AndreV84 opened this issue Jan 14, 2023 · 5 comments

Comments

@AndreV84
Copy link

@dusty-nv
May I pick your brain for a moment, please? Do you know what exactly edits need to be made to nx sdcard image filesystem to add a simple wifi connection that will automatically connect on a first boot?
so far I tried adding wpa_supplicant as in the tutorial below but it doesn't seem loaded by default setup of nx sdcard image https://docs.duckietown.org/daffy/opmanual_duckiebot/out/duckiebot_network.html

@dusty-nv
Copy link
Owner

Hey @AndreV84, I don't know how to do it with a file, but personally I connect to wifi with nmcli tool:

sudo apt-get install network-manager
sudo nmcli device wifi connect <SSID> password <your password>

It's persistent on boot.

@AndreV84
Copy link
Author

AndreV84 commented Jan 15, 2023

@dusty-nv ,
Thank you for the update!
However, the situation requires that first boot from sdcard needs the connection already; Before the first boot momentum sdcard is in Host PC.
The devkit is deep into robot without option to connect by any cable; but
sdcard be added to the devkit somehow
but then remote connection over ssh needs to present already so that further commands could be executed from remote computer ;
thank you for your suggestion though

@AndreV84
Copy link
Author

they somehow implemented it at their sdcard
https://github.com/duckietown/duckietown-shell-commands/blob/daffy/init_sd_card/constants.py#L34-L66
but how to apply it to default nvidia supplied sdcard image is a challenge with no solution as it seems

@dusty-nv
Copy link
Owner

@tokk-nv knows about SD card images

@AndreV84
Copy link
Author

thank you for the pointer! posted to their repo for a feedback NVIDIA-AI-IOT/jetcard#45

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