-
|
Raspberry Pi Zero2 W and Ethernet adapter via USB. |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 3 replies
-
|
Hi,
It must be a-is at root of SD: do not uncompress. Unsure why you need to modify default |
Beta Was this translation helpful? Give feedback.
-
|
It is not uncompress. Just archive.
cmdline.txt
It's works fine with DietPi. But now want to try Alpine. Zero2W get IP from router and bound it. So connection is working. But SSH is unavailable. |
Beta Was this translation helpful? Give feedback.
-
|
ok, you seem to be mixing-up few things maybe.
|
Beta Was this translation helpful? Give feedback.
-
|
I try to use microUSB to Ethernet adapter.
Zero2 get IP, I can login via SSH, but after some seconds it drops me and I cant login again. Reboots does not help. Zero2 can't bound any IP. |
Beta Was this translation helpful? Give feedback.
-
Which one? Which chipset/driver?
why this? Seems irrelevant/erroneous Have you tried wifi interface? |
Beta Was this translation helpful? Give feedback.
-
I don't know. It's simple adapter with microUSB from one side, and RJ45 from other. And it is perfect working on Pi OS or DietPi with additional lines in cmdline.txt and usercfg.txt. So I need same scenario with Alpine. Zero2 must get IP from router DHCP and available via Ethernet adapter connected to microUSB.
What must be there? https://trac.gateworks.com/wiki/linux/OTG#USBDeviceMode |
Beta Was this translation helpful? Give feedback.
-
|
Ah, thx! Try USB-Ethernet adapter without any additional settings and it woks out of box. Successfully install Alpine. |
Beta Was this translation helpful? Give feedback.
Had a chance to test with some Realtek
r8152based USB-ethernet dongle on a PiZeroW, and it works fine with default files (nodwc2andg_etherinvolvement).In such usecase, enabling
dwc2without explicitdr_mode=hostoption may generate some conflicts (inadequate mode detection) depending on cable/USB port wiring on PiZeroW (replicated original issues withdwc2alone). Anyhow there is no reason to preferdwc2over defaultdwc_otgusb driver in that scenario.So KISS rule applies: just use default files and roll.
(I'd bet you may not need to load those drivers on PiOS or DietPi either...).