ChanServ changed the topic of #libreelec to: [ LibreELEC Support Channel ~ current release: (Leia) 9.2.6 ~ No discussion/support for piracy addons/services ~ Log: https://freenode.irclog.whitequark.org/libreelec ]
Turmoil has joined #libreelec
turm01l has quit [Ping timeout: 260 seconds]
Turmoil is now known as turm01l
tsal has quit [Ping timeout: 260 seconds]
tsal has joined #libreelec
oblikoamorale has quit [Ping timeout: 240 seconds]
oblikoamorale has joined #libreelec
_fraggle_ has quit [Remote host closed the connection]
buzzmarshall has quit [Remote host closed the connection]
pyrodex has quit [Quit: What up my glip glops!]
pyrodex has joined #libreelec
chewitt has quit [Quit: Zzz..]
chewitt has joined #libreelec
<rdorsch> I see ethernet connections with frequently changing IDs there: # ls -l /storage/.cache/connman/ => http://ix.io/2Vc1
<rdorsch> Is that expected?
gouchi has joined #libreelec
<chewitt> rdorsch if u-boot doesn't provide a fixed mac address for the device the kernel drivers will normally auto-generate one
gouchi has quit [Client Quit]
<chewitt> this means mac changes on each boot
<rdorsch> can that be the root cause that the interface forgets its setting almost constantly?
<chewitt> if everything is set via DHCP it mostly goes unnoticed
<rdorsch> But I essentially need to disable the interface, since I run vlan 1, 2, and 7
<rdorsch> Can I enter u-boot and set a mac address?
<chewitt> connman stores 'service' profiles with a name that includes the base64 encoded MAC
<rdorsch> I debian I can use: setenv ethaddr d0:63:b4:00:2b:ac
<rdorsch> ...and then saveenv
<chewitt> what device is this on?
<rdorsch> cubox-i
<chewitt> this uses CPU serial to derive/set a persistent MAC regardless of what u-boot does/doesn't set
<chewitt> but see if the u-boot setenv trick works first
<chewitt> or perhaps append ethaddr=d0:63:b4:00:2b:ac into boot params and see what happens
<rdorsch> I had a quick look at ethmactool-config
<rdorsch> At least /proc/cpuinfo produces a serial of all 0: http://ix.io/2Vc5
<rdorsch> Do you know how I can enter the u-boot shell? In Debian I need just to hit a key during a countdown IIRC.
blackest_mamba has quit [Ping timeout: 268 seconds]
blackest_mamba has joined #libreelec
Gittun has joined #libreelec
<chewitt> normally it's "press any key" at boot
<chewitt> I didn't pay much attention to the u-boot config we're using :)
<chewitt> in ye olden days most boards set a delay
<chewitt> these days most have a delay of zero, but any key-press (or space/enter) drops you to the u-boot shell
<chewitt> looking at the output, just adding ethmactool to the default image should work
<chewitt> or maybe not ..
<chewitt> i'm in a conf call and not reading the script right, ignore..
lolek has joined #libreelec
<rdorsch> I tried to get into u-boot a few times, but no success.
<rdorsch> for the ethmactool: wouldn't it be an option to check for 0x00000000 at then either read the mac from a mac-file of if the mac-file does not exist, use the autogenerated one and store it to the mac-file.
heldchen has quit [Ping timeout: 260 seconds]
NaviTheFairy has quit [Ping timeout: 260 seconds]
NaviTheFairy has joined #libreelec
heldchen has joined #libreelec
turm01l has quit [Ping timeout: 260 seconds]
turm01l has joined #libreelec
<chewitt> no idea if it works, but no harm in trying
<chewitt> image is based on current LE master
<chewitt> (and 5.11.6 kernel)
danibierhoff has joined #libreelec
barlowg has joined #libreelec
<rdorsch> Thanks, I will check it.
RaphGro has joined #libreelec
<chewitt> there's an .img.gz in the same dir if you want to use a clean card
Zoolook has joined #libreelec
GeitMint has quit [Remote host closed the connection]
<rdorsch> It seems, technically it works, but the mac is not very random: link/ether 02:00:00:00:00:00
<rdorsch> it might be that the fritzbox network router rejects such unusaul mac addresses for vlans, but I do not rely on fritzbox dhcp here.
<rdorsch> at least it seems that fritzbox is unhappy.
<chewitt> I'm wondering if there's some kernel magic needed to detect a CPU serial correctly
<chewitt> so I'd guess "fuses" are not set by SR
linuxstb has joined #libreelec
<chewitt> https://www.solid-run.com/wiki/doku.php?id=products:imx6:microsom:imx6-fuse-developers
<chewitt> to a native English speaker "blowing fuses" sounds rather scary, but..
turm01l has quit [Ping timeout: 260 seconds]
<chewitt> so easiest route forwards is extending the ethmactool scripts to detect fsl compatible and support reading a mac from /storage/.cache/ethmac or similar
<rdorsch> yes, I fully agree.
<rdorsch> "Blowing fuses is an irreversible act. If you set a bit from '0' to '1' you can not set it back to '0'." does not seem to be appropriate, if there is the option with the ethmactool.
turm01l has joined #libreelec
Fenster` has quit [Ping timeout: 268 seconds]
emOne has joined #libreelec
ghostcube has joined #libreelec
turm01l has quit [Ping timeout: 260 seconds]
turm01l has joined #libreelec
Turmoil has joined #libreelec
<chewitt> vpeter: how did LE on BSP kernel solve the MAC issue in the past? (or didn't it?)
turm01l has quit [Read error: Connection reset by peer]
Turmoil is now known as turm01l
Fenster has joined #libreelec
asdf28 has joined #libreelec
Fenster` has joined #libreelec
<rdorsch> I just noticed there is a .cache/systemd-machine-id which at least survived one reboot. Not sure how unique it is though: I have here d5c5be398b3ed655fadf856260196fee
Fenster has quit [Ping timeout: 240 seconds]
lolek has quit [Ping timeout: 260 seconds]
<chewitt> it should be unique
<chewitt> or unique enough .. it's a random generation at first run
<chewitt> https://pastebin.com/raw/tnkZJ5q9 should work, but I prefer the machineid as it would require zero human input
lolek has joined #libreelec
<rdorsch> that is part of ethermac-tool, correct? where is the function called?
<rdorsch> I cannot exchange it anyways in the squashfs, correct?
asdf28 has quit [Ping timeout: 260 seconds]
k3yp has quit [Ping timeout: 246 seconds]
<rdorsch> Wouldn't you want to add a default file generation in the else branch: http://ix.io/2Vax
<rdorsch> Not sure if eth0 is always correct.
<chewitt> systemd-machine-id is created very early on first run as there are numerous things in systemd that depend upon it
<chewitt> so while it's bad scripting .. it's fairly safe to assume it's always present, as ethmactool depends on network setup which is much later in the boot process
EvTheFuture has quit [Quit: Connection closed]
<rdorsch> Many thanks, looks very promising, need to try it later today.
chewitt has quit [Quit: Zzz..]
chewitt has joined #libreelec
psymin has joined #libreelec
Fenster` has quit [Ping timeout: 240 seconds]
chewitt_ has joined #libreelec
chewitt has quit [Ping timeout: 240 seconds]
Fenster has joined #libreelec
emOne has quit [Ping timeout: 260 seconds]
jab has joined #libreelec
Fenster has quit [Ping timeout: 240 seconds]
asdf28 has joined #libreelec
jab has quit [Quit: jab]
heldchen has quit [Ping timeout: 246 seconds]
Fenster has joined #libreelec
asdf28 has quit [Ping timeout: 268 seconds]
asdf28 has joined #libreelec
chewitt_ is now known as chewitt
heldchen has joined #libreelec
<vpeter> chewitt: I think mac address is fused and u-boot/kernel just read it. Forgot the details till then.
jab has joined #libreelec
gouchi has joined #libreelec
danibierhoff has quit [Ping timeout: 252 seconds]
danibierhoff has joined #libreelec
danibierhoff has quit [Read error: Connection reset by peer]
danibierhoff has joined #libreelec
Tobbi has joined #libreelec
lolek has quit [Ping timeout: 265 seconds]
jab has quit [Quit: jab]
jab has joined #libreelec
danibierhoff1 has joined #libreelec
|Jeroen| has joined #libreelec
danibierhoff has quit [Ping timeout: 240 seconds]
jab has quit [Ping timeout: 240 seconds]
kriger has joined #libreelec
<rdorsch> chewitt: https://mcdn.daserste.de/daserste/de/master_3628.m3u8 plays now well on imx6, afair that did not work yet with the previous release.
<lrusak> :)
k3yp has joined #libreelec
kriger has quit [Read error: Connection timed out]
<rdorsch> chewitt: I think the from_file() method is useful too, I suggest to add it as well as an option to overwrite the mac if needed.
<|Jeroen|> is imx6 still supported?
<rdorsch> There are nightly builds https://test.libreelec.tv/ and it gets better and better :-)
<lrusak> it's supported better than ever :P
<|Jeroen|> lol nice
|Jeroen| has quit [Quit: dada]
danibierhoff1 has quit [Quit: Leaving]
lolek has joined #libreelec
<rdorsch> chewitt: the method you implemented for the mac address produces a non-zero and constant mac
buzzmarshall has joined #libreelec
gouchi has quit [Remote host closed the connection]
<rdorsch> chewitt: what differences do you have wrt. the nighly builds. I noticed that your build is still called 9.95.1 whereas the nighlies are already called 10
RaphGro has quit [Quit: Please remember your own message. It'll be read as soon as possible.]
Tobbi has quit [Ping timeout: 260 seconds]
lolek has quit [Quit: Leaving.]
Zoolook has quit [Ping timeout: 240 seconds]
Kostenko has joined #libreelec
Kostenko has quit [Client Quit]
Gittun has quit [Quit: ‹‹UPP››]
EuroTrash has quit [Remote host closed the connection]
EuroTrash has joined #libreelec
asdf28 has quit [Ping timeout: 268 seconds]
kriger has joined #libreelec
LjL has quit [Read error: Connection reset by peer]
LjL has joined #libreelec
psymin has quit [Quit: Leaving]
ghostcube has quit [Quit: Verlassend]
kriger has quit [Read error: Connection timed out]