Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5318

Troubleshooting • Re: USB gadget on a Zero W, what I'm missing

$
0
0
Hey,
Ok, I was not aware that there was a new version of rpi-imager because apt update says I've the last :
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait
rpi-imager est déjà la version la plus récente (1.7.2+noembed-0ubuntu1).
0 mis à jour, 0 nouvellement installés, 0 à enlever et 7 non mis à jour.
But searching online make me discover that there is a 1.9.
I've install it then reburn the SDcard.

By the way, after let the Pi rest this night, I have seen this morning that the USB interface was named "usb0", unlike yesterday. But I opted for try again with the good OS and good procedure (mean : the only one 32bit last OS for Zero given by the rpi-imager).

After burnt it, I edited config.txt with :
dtoverlay=dwc2,dr_mode=peripheral

Then cmdline.txt (at the end of the line, as said) with :
modules-load=dwc2,g_ether g_ether.dev_addr=12:22:33:44:55:66 g_ether.host_addr=16:22:33:44:55:66

Thogrol you said "Replace the MAC addresses above as required" but I don't see what value I can put in this ?
Well, for now I tried with this one.

Then "touch /pathtotheboot/bootfs/ssh"

And I've starting up the ZeroPi. The USB network interface keep a generic name "enx162233445566" and without an IP.
I repeated these operations 2 times and, the 2 times I have a generic name without IP.

edit : another question about the WiFi config, the ZeroPi still didn't connect to my router, despite the logins set during SDcard creation ; is there need tosold a bigger antenna or the native component can reach a near router (approx 1 meter) ?

Statistics: Posted by BenjiDuke — Tue Dec 17, 2024 2:01 pm



Viewing all articles
Browse latest Browse all 5318

Trending Articles