Schorschi wrote: ↑Sun Mar 04, 2018 9:38 pm
Who is the idiot, yes I say idiot, that thought a dynamic MAC address by default is a good thing? This is a horrible issue for network security design and control systems. The default SHOULD BE STATIC, have total human intelligence for network device design dropped sharply recently?
The Pi Zero has no Ethernet hardware, so there is no hard coded Ethernet MAC address. USB Gadget Mode has been a work-in-progress for awhile now, and there have been some improvements (it's much easier to setup now), but there is still room for further improvement.
Code: Select all
echo 'options g_ether host_addr='$(dmesg | awk '/: HOST MAC/{print $NF}')' dev_addr='$(dmesg | awk '/: MAC/{print $NF}') | sudo tee /etc/modprobe.d/g_ether.conf
Worked for me, and has continued to work.
I honestly don't understand the point of USB Gadget Mode. It's really been nothing more than a curiosity to me, so apparently I've missed something. What does connecting a far less powerful computer to a far more powerful computer accomplish? I can see some possible uses in education, which is what the Raspberry Pi was created for, but other than that I don't get it.
With Raspbian Stretch it's possible to pre-configure an SD card to boot any Pi, connect to a wireless network and SSH into it, so why would I use USB Gadget Mode over doing that?
Anyway, like I said, it's an amusing curiosity to play with, but I don't find it very useful to tether a Pi to my main PC when I have the option of running them independently.
My mind is like a browser. 27 tabs are open, 9 aren't responding,
lots of pop-ups, and where is that annoying music coming from?