Yeah, I've read the thread, I don't know the script but if its purpose
is to define a MAC address as player ID, why not define as many MAC as
needed out of something (almost) completely arbitrary like
"02:0a:0b:0c:0d:01", "02:0a:0b:0c:0d:02", etc.

I see quite often my pCPs start with a nil player ID these days. Somehow
it boots and starts squeezelite before the DHCP server had time to
react. Or a switch gets in the way. So I use -m systematically.
Yes, I do use the actual MAC from the host, it is sort of a nice touch,
but frankly copying the real MAC serves no purpose and I have time to do
it by hand, one setup at a time.

The old script (whatever it does) is definitely dead thanks to systemd's
last wonderful implementation of predictable network device names. "grep
wlan" no more.
Your script runs on raspbian 8, but it returns junk on the machine I
used, which has 2 bridges (one with a wireless interface for AP use)
active.
I didn't try your snippet on pCP, but between busybox and sysfs I fear
there could (will) be some portability issue.

So why not go arbitrary all the way? I think my proposal breaks at 255
instances...



3 SB 3 • Libratone Loop, Zipp Mini • iPeng (iPhone + iPad) • LMS 7.9
(linux) with plugins: CD Player, WaveInput, Triode's BBC iPlayer by bpa
• IRBlaster by Gwendesign (Felix) • Server Power Control by Gordon
Harris • Smart Mix, Music Walk With Me, What Was That Tune? by Michael
Herger • PowerSave by Jason Holtzapple • Song Info, Song Lyrics by
Erland Isaksson • AirPlay Bridge by philippe_44 • WeatherTime by Martin
Rehfeld • Auto Dim Display, SaverSwitcher, ContextMenu by Peter Watkins.
------------------------------------------------------------------------
epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711
View this thread: http://forums.slimdevices.com/showthread.php?t=108327

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to