Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Post History

71%
+3 −0
Q&A How to use a detected USB RNDIS gadget as network adapter

I have a RaspberyPi module, with USB connected to another module computer (as USB host) running Linux. The RasPi is configured as USB ethernet gadget. Once I boot the RasPi, and enter dmesg on th...

1 answer  ·  posted 2y ago by sktpin‭  ·  last activity 2y ago by sktpin‭

Question networking USB gadget
#1: Initial revision by user avatar sktpin‭ · 2021-07-29T14:06:06Z (over 2 years ago)
How to use a detected USB RNDIS gadget as network adapter
I have a RaspberyPi module, with USB connected to another module computer (as USB host) running Linux.
The RasPi is configured as USB ethernet gadget.

Once I boot the RasPi, and enter dmesg on the host computer, I see:

`[ 2918.753649] usb 1-1: Product: RNDIS/Ethernet Gadget`

So the Raspi is detected as gadget on the USB host computer.

But unlike a previous experiment, where I used another RaspberryPi as the host, where it also detected the 1st raspi as gadget and created a usb0 network adapter and assigned an IP configuration to it, this is not the case here.
No usb-anything under ifconfig -a.
Not listing it with the -a option means that no network device usb0 _exists_, configured or not?

My current host computer runs a rather down-sized Linux based on buildroot/busybox.

Is there a certain configuration missing that allows using this detected RNDIS gadget for network - which just happens to be done automatically on the default Raspi Linux distribution - but not necessarily on others?