Page 1 of 1

Ethernet connection Pico Pro Max

Posted: 2024-08-13 3:35
by kornpow
I have been trying to follow the quick-start guide and any references I can find, but I have yet to successfully connect to my Pico Pro Max via Ethernet using a Linux OS development machine. Currently I am able to connect via ADB, and that is good but not what I want right now.

Goals:
1. SSH to my Pico Pro Max via SSH from my Linux Host
2. Bonus: Share my Linux Host's internet connection with Pico Pro Max

Here, my machine shows a "wired internet" from RockChip. Sounds promosing, but seems like that is internet via USB which isnt what I want.
Screenshot from 2024-08-12 21-26-25.png
Screenshot from 2024-08-12 21-28-42.png
Screenshot from 2024-08-12 21-30-58.png
Questions:
Must the Pico Pro Max be powered separately/not plugged into a computer for ethernet to work?

Please tell me exactly:
Should I use DHCP or manual?

What should these be?
Address - Subnet mask - Gateway

Sorry, it seems like a simple question, but so far no luck, so hopefully if I can get a good answer here it will also help some others.

Re: Ethernet connection Pico Pro Max

Posted: 2024-08-14 1:30
by Crocodile
1 Pico Pro Max has two network devices, eth0 and usb0. When connected to a computer via USB, usb0 will work without affecting eth0. eth0 will operate when an Ethernet cable is plugged in. Unlike usb0, which is a simulated RNDIS device, eth0 is connected to an actual network card.

2 eth0 can connect to the computer's network card using DHCP or a manual configuration. If you need to connect the Luckfox Pico to the internet via Ethernet, it will be a bit more complicated. The manually set IP address needs to be within the gateway of the shared network. You can refer to this link https://wiki.luckfox.com/Luckfox-Pico/ ... haring-1/ for more details.

3 This part can vary depending on the network environment. If you only plan to connect the Luckfox Pico and the computer within a local area network (LAN), you just need to ensure that the address is within the same subnet as the Luckfox Pico (in this case, you will need to manually set the IP address on the Luckfox Pico).

Network configuration is complex and flexible. Here, I can only introduce some basic scenarios. I recommend reading relevant articles or blogs to understand computer networking before proceeding with further development.