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

How to ssh into LicheeRV-Nano WE at the FIRST run? #16

Open
jiapei100 opened this issue Apr 14, 2024 · 3 comments
Open

How to ssh into LicheeRV-Nano WE at the FIRST run? #16

jiapei100 opened this issue Apr 14, 2024 · 3 comments

Comments

@jiapei100
Copy link

jiapei100 commented Apr 14, 2024

Sorry for my naive question:

My host computer:

~ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 22.04.4 LTS
Release:	22.04
Codename:	jammy~ uname -a
Linux lvision-GT72-6QE 6.5.0-26-generic #26~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Mar 12 10:22:43 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

I just flashed LicheeRV-Nano-Build c906-2024-04-10-14-19-16d76b.img.gz onto my LicheeRV-Nano WE.

But, I've got no idea how to ssh into the system without an initial WIRED connection to set up the static IP and have ssh server enabled? Wondering if only USB connection, can I set up my WiFi configuration under /etc/default/networks ? By the way, I didn't even see a user folder /home under rootfs. Even if I want to ssh into LicheeRV-Nano, I still ALWAYS need a username, isn't it?

Any manual/doc for this?

Cheers
Pei

@jiapei100 jiapei100 changed the title How to ssh into LicheeRV-Nano at the FIRST run? How to ssh into LicheeRV-Nano WE at the FIRST run? Apr 14, 2024
@0x754C
Copy link
Collaborator

0x754C commented Apr 15, 2024

user: root
pass: root

@PJ5168
Copy link

PJ5168 commented Apr 20, 2024

Use USB, and then setup WiFi.

@BehicKlncky
Copy link

After connecting your device to the computer via a USB-C cable, open a terminal and run the ifconfig command. You should see an interface like "enx3a1b63ef6245:". The IP address associated with this interface will likely be something like 10.34.14.100, which is your PC's IP address.

To establish an SSH connection with the gateway (the board), use the following command:
ssh [email protected].

The default username and password are both root.

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

4 participants