Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Feature request: better support for USB Ethernet gadget mode
#1
Star 
Hi
Like in topic - can moode audio be more adjusted by default to be used with usb gadget mode?

For example can it be set by default to use static MAC address and not change it every reboot and to add usb gadget mode settings to Web UI?
Reply
#2
Can you expand a little on why that would be desirable vs standard ethernet connection ? :-)

Currently MoOde is stable and configurable for ethernet connection from any of the RPi.

Gadget mode for ethernet adds a whole lot more layers and for no benefit over and above the current onboard ethernet connections.

Not sure what you are trying to achieve or your use case ?
----------
bob
Reply
#3
(04-04-2022, 08:37 AM)DRONE7 Wrote: Can you expand a little on why that would be desirable vs standard ethernet connection ? :-)

Currently MoOde is stable and configurable for ethernet connection from any of the RPi.

Gadget mode for ethernet adds a whole lot more layers and for no benefit over and above the current onboard ethernet connections.

Not sure what you are trying to achieve or your use case ?

I am delivering power and internet via one cable to my Raspberry Pi Zero 2W from my OpenWRT router. It works much better than over Wi-Fi, at least for me.
Reply
#4
so why not set a static address or reservation in your WRT Router ?
----------
bob
Reply
#5
(04-04-2022, 08:54 AM)DRONE7 Wrote: so why not set a static address or reservation in your WRT Router ?

The problem is every time Raspberry Pi reboots MAC address changes, and I didn't managed to fix this problem. The only solution working for me is to set static IP on moode.
Reply
#6
There is some info here about setting a stable mac address.
https://www.raspberrypi-spy.co.uk/2020/0...a-pi-zero/

As a side note I have used the Hanrun device mentioned for other projects and it worked remarkably well...as long as you don't need large throughput as it is only 10baseT :-)    but that seemed to suffice for simple audio performance.
----------
bob
Reply
#7
I've never had the occasion to use the USB Gadget mode to create a pseudo-Ethernet port but it looks like a neat trick.

What is the use case which requires a static IP address? AIUI, the host address should be resolvable via mDNS as usual, e.g., moode.local. Does that not work?

Regards,
Kent
Reply
#8
(04-04-2022, 09:39 AM)DRONE7 Wrote: There is some info here about setting a stable mac address.
https://www.raspberrypi-spy.co.uk/2020/0...a-pi-zero/

I need to try this method, what I've already tried:
https://artivis.github.io/post/2020/pi-z...ac-address
https://raspberrypi.stackexchange.com/a/104749
Just don't work...
Reply
#9
(04-04-2022, 02:09 PM)TheOldPresbyope Wrote: I've never had the occasion to use the USB Gadget mode to create a pseudo-Ethernet port but it looks like a neat trick.

What is the use case which requires a static IP address? AIUI, the host address should be resolvable via mDNS as usual, e.g., moode.local. Does that not work?

Regards,
Kent
If I leave IP address on auto mDNS works, but I don't want to have mess on my network.
Reply


Forum Jump: