<russell-->
Bad hash value for 'hash@1' hash node in 'kernel-1' image node
<russell-->
Bad Data Hash
<dwfreed>
sure your sd card isn't bad?
<dwfreed>
try validating that
<russell-->
i'm using the same one that came in it, read it with dd got save a backup, wrote zeros at it and then the sdcard image, no hint of a problem with the media
<dwfreed>
that output suggests otherwise :P
<russell-->
to* save a backp
<russell-->
i can read the image with ext2load, no errors
<dwfreed>
just because it loads doesn't mean it isn't still corrupted
<dwfreed>
humor me and take an md5sum of the image file and the same size at the start of the sd card
<russell-->
dwfreed: bingo. i think what might have happened is my sdcard got remounted and was mounted as a file system when i dd'd to it and it got scribbled on. reflashing the sdcard, and it boots.
<dwfreed>
yeah, you probably had an automount kick in mid-flash or something
<dwfreed>
automounters suck
<russell-->
on the bright side, the sdcard itself is fine
<russell-->
and even brighter side, box works
<dwfreed>
woo
<dwfreed>
one of these days I'll get mine up and running
rmilecki has quit [Quit: Konversation terminated!]
rmilecki has joined #openwrt-devel
rmilecki has quit []
rmilecki has joined #openwrt-devel
rmilecki has joined #openwrt-devel
minimal has joined #openwrt-devel
<robimarko>
Its a manual process, somebody has to add it
robimarko has quit [Remote host closed the connection]
robimarko has joined #openwrt-devel
<Mangix>
torv: makes sense
<hauke>
My IPv6 connection does not work after my ISP disconnected me on 23.05.0-rc3. Every 24h my ISP disconnects the PPPOE connection on top of my fiber line. IPv4 is configured correctly, but IPv6 is not configfured correctly, I am only geting a link local IPv6 address. it looks like this: "local LL address fe80::ada4:9af5:db1c:6552"
<hauke>
I assume that the ISP expects that I do a neighbor discovery to find the router
<hauke>
can I trigegr this manually for experiments?
<hauke>
when I first connect to the line IPv6 is working fine, it only breaks after time
<lemmi>
did you try dhcpv6-pd? usually that's what's being used.
<lemmi>
ra with ppp is rather useless anyway, since it can't be easily bridged or forwared for the rest of your network
<hauke>
don't you use RA for the interface itself and then PD to get a prefix for the network?
<lemmi>
you can do that, but that's not really necessary
<lemmi>
my default route is via a link local address, so the ras are completely useless here, which is why i disabled them
<hauke>
ok
<lemmi>
so as long PD works, i wouldn't worry
<lemmi>
hauke: oh.. and and i'm not sure `pppoe-wan` is the correct device. it might need an @ in front, or be `@wan`, or if in doubt use `wan.7` as well
<lemmi>
but i always get that wrong and can't remember what the correct thing is... so i tend to play around until it works.
<hauke>
the strange thing is that it works with the first connection and only fails after a disconenct
<lemmi>
maybe the dhcp client needs a push somehow
<hauke>
now I reloaded the network configuration and ppp was restarted, then IPv6 started working fine
<hauke>
I will monitor this
<lemmi>
i'd try and use `@wan` as the device. it might be that otherwise the interface block isn't properly triggered on a reconnect. (thinking about it, `wan.7` can't work btw, since dhcp needs to happen over pppoe)
iocampomx has joined #openwrt-devel
<iocampomx>
Hi, I'm trying to define the mac address in 02_network, but somehow isn't working. I first checked that the right board_name in /tmp/sysinfo/board_name matches the case within the ramips_setup_macs() function. I've defined label_mac, lan_mac and wan_mac. label_mac is extracted from factory. lan_mac = label_mac, wan_mac + lan_mac + 1. I tested those three lines (loading mac, adding 1 number to mac) within OpenWrt and
<iocampomx>
works, what I haven't tested (and I don't know if those works) are the functions: ucidef_set_interface_macaddr for "lan" & "wan".
<iocampomx>
I would like to understand if there is anything special in /etc/config/network I should do to match those "lan" & "wan" labels. And/or, if there is any other file I need to update to make it work.
<iocampomx>
For instance, I see there is a function ramips_setup_interfaces() within 02_network file, but I haven't touched it. Should I?
<iocampomx>
A follow-up question, Is 02_network only once in the first boot after performing an upgrade?
kwz has quit [Read error: Connection reset by peer]
robimarko has quit [Remote host closed the connection]
kwz has joined #openwrt-devel
iocampomx has quit [Read error: Connection reset by peer]
iocampomx has joined #openwrt-devel
<iocampomx>
So, which is the best way to define the mac address of the LAN & WAN address? (I already know how to get and calculate it). I'm trying to understand if I should use 02_network, or init.d scripts, or rc?
rotanid has joined #openwrt-devel
<stintel>
the "best" way is to do it in the DTS, reading it from wherever mfg stored it in flash
<iocampomx>
So, it's a mediatek SoC, I'm reading it already in DTS using $wmac... It works, but that is only the mac address for thw WLAN (WiFi).
<iocampomx>
Now, I'm trying to define the mac address for WAN & LAN, which will be WLAN + 1, WLAN + 2
<iocampomx>
Is that something that I can also define in DTS?
<linusw>
iocampomx: the DTS just use compatible = "nvmem-cells" to create an arbitrary readout at some offset from a flash partition if it is stored somewhere fixed in flash.
<iocampomx>
So, asumming that only the WLAN mac addre is stored on the flash partition, and the LAN & WAN mac address should derive from there (adding 1 and 2 hex values), what I can do?
<iocampomx>
(To be more clear, besides the WLAN mac address, I don't see the mac address for LAN & WAN. I also don't want to modify the Factory partition)
<stintel>
yeah you should never modify mac addresses in flash
<stintel>
git grep mac-base
<stintel>
plenty of examples
<karlp>
(assuming they were actualyl uniquely programmed at a competent factory)
<stintel>
you should look at what stock firmware does probably
<iocampomx>
Yes, it's a unique mac already flashed there, but just for the WLAN, I know how to get it and calculate the rest.