PDA

View Full Version : MAC address cloning



oomwat
2011-06-14, 08:05
So I posted in another thread about this, although it was in the developer's beta forum so I probably posted in the wrong place :s

I have two O2 Jogglers running the squeezebox UI, and an ubuntu 10.10 server running squeezebox server ... they all seem to 'work' just fine, they can connect to the server and happily play music all day long.

So, what's my problem?

The issue is that both of the jogglers seem to be telling the server that they are using the same MAC address despite the fact when you ssh into them they each have their own address.

Is there anywhere in the squeezeplayer source that stores the MAC address? Is there any way I can change the address it's using?

pski
2011-06-14, 16:48
So I posted in another thread about this, although it was in the developer's beta forum so I probably posted in the wrong place :s

I have two O2 Jogglers running the squeezebox UI, and an ubuntu 10.10 server running squeezebox server ... they all seem to 'work' just fine, they can connect to the server and happily play music all day long.

So, what's my problem?

The issue is that both of the jogglers seem to be telling the server that they are using the same MAC address despite the fact when you ssh into them they each have their own address.

Is there anywhere in the squeezeplayer source that stores the MAC address? Is there any way I can change the address it's using?

Maybe "jogglers" can help.

If they seem to have the same MAC, it would seem to be a joggler firmware issue.

P

oomwat
2011-06-15, 07:32
At the OS level both pieces of hardware have their own mac address, it is only within the squeezeplayer that the problems occur.

Shared mac address: 00:0e:8e:24:b8:84

Player 1 mac address (from ifconfig): 00:0E:8E:24:B8:84
Player 2 mac address (from ifconfig): 00:0E:8E:24:AC:74

That's why I'm posting, if it were as simple as setting the mac address used by the hardware I would be able to fix it!

I'm currently on my third attempt to hand out the source so that I can grep through it and see what there is to see. I gave up handing out the whole lot after the problems I found with the squeezeos part of the repository - I'm now only handing out the player ... sadly that seems to stall fairly often too :s

bonze
2011-06-16, 02:51
So I posted in another thread about this, although it was in the developer's beta forum so I probably posted in the wrong place :s

I have two O2 Jogglers running the squeezebox UI, and an ubuntu 10.10 server running squeezebox server ... they all seem to 'work' just fine, they can connect to the server and happily play music all day long.

So, what's my problem?

The issue is that both of the jogglers seem to be telling the server that they are using the same MAC address despite the fact when you ssh into them they each have their own address.

Is there anywhere in the squeezeplayer source that stores the MAC address? Is there any way I can change the address it's using?

Out of interest, what's a Joggler?

Do both SqueezePlayers have a unique name?
Settings > Squeezebox Name

oomwat
2011-06-16, 11:19
A joggler is O2's brand name for an openpeak openframe - a 7" capacitative touch-screen driven by an atom processor running a variant of lpia ubuntu with the 2.6.24 kernel. (Around 50 on eBay)

Yes I have tried setting each joggler to have a different name, the only way I can achieve this is by ensuring only one is turned on at any one time (if both are switched on then changing the name on one will set the name on the other) ... however all this hard faffing is undone when you switch them both on and try to connect to the squeezebox server (the other picks up the name of the one with the shared mac address)

I did some digging about in the code and initially thought I'd found something in the fact that the list of devices for the linux player to pull the mac address from is hard-coded & while this is fine for a wired connection (eth0) the wireless connection is unusually named (ie not wlanX) ... so I tried plugging both into the router with a cable & experienced the same problems.

Looking at the code I don't see how this effect could be happening, it really 'should not' be possible ... sadly however it is :(

Right now I'm running the birds like wires binary of the squeezeplayer/jive code, however I think I'm going to need to have a go at compiling my own so that I can be sure it's using the same code as I'm seeing in idea.

Links:
http://birdslikewires.co.uk/articles/compiling-squeezeplay
http://yourfamily.o2.co.uk/o2familyjoggler/
http://jogglerwiki.info/

Mnyb
2011-06-16, 11:29
Hmm does not squeezeplay have some prefs files it's not there ? I had sp installed on ubuntu a while and it created a prefs folder possibly with "." before so it was hidden

oomwat
2011-06-16, 11:40
Whooooo .... you are absolutely correct :D

Moving the .squeezebox folder out of the way on both devices & ensuring that the player name was unique before starting the 2nd player has resolved the problem.

Thank you all VERY much for your assistance :D

bonze
2011-06-16, 13:22
A joggler is O2's brand name for an openpeak openframe - a 7" capacitative touch-screen driven by an atom processor running a variant of lpia ubuntu with the 2.6.24 kernel. (Around 50 on eBay)So does that mean you don't actually have any Logitech hardware ?
Just a couple of devices running SqueezePlay??