<owrt-images-builds> Build [#132](https://buildbot.staging.openwrt.org/images/#/builders/25/builds/132) of `master_gemini/generic` completed successfully.
fakuivan has joined #openwrt-devel
Emantor has quit [Quit: ZNC - http://znc.in]
Emantor has joined #openwrt-devel
floof58 has quit [Ping timeout: 480 seconds]
floof58 has joined #openwrt-devel
iocampomx has quit [Ping timeout: 480 seconds]
iocampomx has joined #openwrt-devel
tSYS has quit [Quit: *squeak*]
tSYS has joined #openwrt-devel
Daanct12 has joined #openwrt-devel
danitool has quit [Remote host closed the connection]
<russell--> f00b4r0: i followed the u-boot environment changes suggested on the wiki page: https://openwrt.org/toh/watchguard/firebox-m300
<russell--> printenv seems to suggest they are set as suggested
<dwfreed> pastebin your printenv ?
<russell--> ext2load seems to work, but bootm is not happy
<russell--> dwfreed: http://sprunge.us/zZ6pVs
<russell--> MB-M300 => version
<russell--> U-Boot 2014.07 (Aug 12 2015 - 13:55:34)
<russell--> GNU ld (crosstool-NG 1.20.0) 2.22
<russell--> ppc-gcc (crosstool-NG 1.20.0) 4.8.3
<dwfreed> your bootcmd seems wrong
<dwfreed> I'd have to boot my m300 to be sure
<dwfreed> yeah, it is
<dwfreed> russell--: setenv bootcmd 'run wgBootSysA'
<dwfreed> saveenv and reset
<russell--> no difference
<dwfreed> what's the new printenv?
<russell--> no matter what bootcmd is set to, i get the menu, SysA is selected, and i get the bad crc
<russell--> Verifying Hash Integrity ... crc32 error!
<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--> MB-M300 => ext2load mmc 0:1 $loadaddr $OpenWrt_kernel
<russell--> 6040740 bytes read in 322 ms (17.9 MiB/s)
<russell--> can't hurt
valku has quit [Read error: Connection reset by peer]
iocampomx has quit [Ping timeout: 480 seconds]
torv has quit [Remote host closed the connection]
torv has joined #openwrt-devel
<KGB-0> https://tests.reproducible-builds.org/openwrt/openwrt_kirkwood.html has been updated. (100.0% images and 100.0% packages reproducible in our current test framework.)
<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
<owrt-images-builds> Build [#134](https://buildbot.staging.openwrt.org/images/#/builders/76/builds/134) of `master_ipq40xx/generic` completed successfully.
<owrt-images-builds> Build [#134](https://buildbot.staging.openwrt.org/images/#/builders/59/builds/134) of `master_apm821xx/sata` completed successfully.
<owrt-images-builds> Build [#134](https://buildbot.staging.openwrt.org/images/#/builders/65/builds/134) of `master_at91/sam9x` completed successfully.
philipp64 has joined #openwrt-devel
* russell-- finds wg_set_opt_interface in target/linux/qoriq/base-files/etc/board.d/02_network sort of annoying
<dwfreed> I believe it is mimicing the default oem config
<owrt-images-builds> Build [#136](https://buildbot.staging.openwrt.org/images/#/builders/61/builds/136) of `master_bcm47xx/legacy` completed successfully.
guidosarducci has joined #openwrt-devel
<owrt-images-builds> Build [#136](https://buildbot.staging.openwrt.org/images/#/builders/51/builds/136) of `master_ath79/tiny` completed successfully.
<russell--> uci-defaults scripts run too early to nuke the network interface stanzas
<russell--> i guess i can just override /etc/board.d/02_network
<dwfreed> they also only run once
<dwfreed> so you can just override the config after
<russell--> it isn't unprecedented, but imho, it is weird: git grep ucidef_set_interface | grep ipaddr
<russell--> the board.d override works, but it is a bit fragile
rua has quit [Quit: Leaving.]
hitech95 has joined #openwrt-devel
<torv> Mangix: You probably accidentally opened a "container tab" in Firefox. (Re: "[...] Firefox thinks OpenWrt forums are Banking")
goliath has joined #openwrt-devel
<hitech95> Any idea on why I have SCLK and CS in a spi bus but no MISO and MOSI? I'm using spidev_test utility and the pinmuxing seems correct.
Daaanct12 has joined #openwrt-devel
Daanct12 has quit [Ping timeout: 480 seconds]
robimarko has joined #openwrt-devel
rz has quit [Remote host closed the connection]
rz has joined #openwrt-devel
rua has joined #openwrt-devel
filimonic has quit [Remote host closed the connection]
Daaanct12 has quit [Ping timeout: 480 seconds]
rua has quit [Ping timeout: 480 seconds]
rua has joined #openwrt-devel
rua has quit [Ping timeout: 480 seconds]
rua has joined #openwrt-devel
rua has quit []
f00b4r0 has joined #openwrt-devel
rua has joined #openwrt-devel
<johnf> what causes devices to appear in the table of hardware? I see the GL-MT3000 is supported, but it's not in the ToH
<johnf> it is in the firmware selector though
<johnf> I thought it was automated to some degree
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> lemmi: I configured it like this: https://paste.debian.net/1294347/
<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]
iocampomx has quit [Ping timeout: 480 seconds]
iocampomx has joined #openwrt-devel
iocampomx has quit [Ping timeout: 480 seconds]
iocampomx has joined #openwrt-devel
<hauke> lemmi: I removed the ipv6 option from the pppoe interface, I seletced ipv6 = 1, then I have to manually configure it, it looks like this type does not notice when the link broke down. I selected auto now and it works so far, see https://openwrt.org/docs/guide-user/network/ipv6/configuration#ppp-based_protocols_and_option_ipv6
_lore_ has joined #openwrt-devel
danitool has joined #openwrt-devel
rotanid has quit [Quit: quit]
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?
<stintel> I believe so
<stintel> target/linux/generic/pending-6.1/804-nvmem-core-support-mac-base-fixed-layout-cells.patch
<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.
<iocampomx> For instance. wlan_mac=$(hexdump -s 4 -n 6 -e '6/1 "%02x:"' /dev/$(cat /proc/mtd|grep -i "Factory"|cut -d':' -f1)|cut -c-17)
<iocampomx> From there I can do: macaddr_add "$wlan_mac" 1, macaddr_add "$wlan_mac" 2, etc.
<stintel> it happens that there is 1 unique mac in the flash for e.g wlan, then wan is + 1 lan + 2
<stintel> you can do all that with mac-base in DTS
<stintel> iiuc that reads 2 mac addresses from flash, in ascii format (length 17 as documented in fixed-cell.yaml)
<stintel> then nvmem-cells = <&macaddr_wan 0> uses exactly that mac, and nvmem-cells = <&macaddr_wan 1> would be offset 1 (so it's mac from flash +1)
<stintel> (iiuc)
<stintel> I haven't used mac-base myself as it's fairly new, but it's what's accepted upstream and everything new should use that
<iocampomx> Ok! I will play with it.
iocampomx has quit [Ping timeout: 480 seconds]
Obi-Wan has quit [Quit: ZNC by prozac - http://znc.sourceforge.net]
rua has quit [Quit: Leaving.]
Obi-Wan has joined #openwrt-devel
bluew has quit [Remote host closed the connection]
bluew has joined #openwrt-devel
iocampomx has joined #openwrt-devel
<KGB-2> https://tests.reproducible-builds.org/openwrt/openwrt_lantiq.html has been updated. (95.9% images and 100.0% packages reproducible in our current test framework.)
kwz has quit [Quit: The Lounge - https://thelounge.chat]