**** BEGIN LOGGING AT Tue Jun 09 02:59:57 2020 Jun 09 04:01:22 build #358 of lantiq/xrx200 is complete: Failure [failed defconfig dltar] Build details are at http://buildbot.openwrt.org/master/images/builders/lantiq%2Fxrx200/builds/358 blamelist: Kevin Darbyshire-Bryant Jun 09 04:02:40 build #401 of ramips/rt288x is complete: Failure [failed kmodconfig] Build details are at http://buildbot.openwrt.org/master/images/builders/ramips%2Frt288x/builds/401 blamelist: Kevin Darbyshire-Bryant Jun 09 04:02:44 build #344 of malta/be is complete: Failure [failed defconfig dltar] Build details are at http://buildbot.openwrt.org/master/images/builders/malta%2Fbe/builds/344 blamelist: Kevin Darbyshire-Bryant Jun 09 04:34:27 dwmw2_gone: you have to use vlan filtering Jun 09 06:57:16 don't see how I can be blamed for tar download issues or permissions on /tmp - hmmm Jun 09 07:23:09 dengqf6: shouldn't it do that for me automatically if I just add a wan.1 interface to the br-lan bridge? Jun 09 07:23:41 I typed 'wan.1' into the interface list for br-lan, now it shows up as 'Software VLAN: "wan.1" in the list. Jun 09 07:23:51 in luci Jun 09 07:23:54 but doesn't actually *do* it. Jun 09 07:24:05 I thought DSA was supposed to make things transparent? Jun 09 07:34:27 dwmw2_gone: seems it was overpromised and underdelivered :) Jun 09 07:35:32 root@garden:~# ip link add wan name wan.1 type vlan id 1 Jun 09 07:35:32 ip: RTNETLINK answers: Invalid argument Jun 09 07:38:53 that happens even when I plug in the USB Ethernet and do it on eth1. Not a DSA problem. Jun 09 07:43:16 although it also happens on my 19.07 Lantiq box where it clearly *is* using VLAN on the vdsl Jun 09 07:47:40 aha, the implicit one does work on eth1, the external Ethernet. I just add 'eth1.202' to the br-lan bridge in the interface dropdown, and it creates it Jun 09 07:50:16 just not on wan Jun 09 07:54:15 wanders about an init script and comes across ' . "${IPKG_INSTROOT}/lib/functions/network.sh ' - I've not seen $IPKG_INSTROOT before Jun 09 07:55:14 then reads https://openwrt.org/docs/guide-developer/procd-init-scripts?s[]=ipkg&s[]=instroot and is still confused Jun 09 07:56:41 is it me or should init scripts just simply do (at the top) [ "$IPKG_INSTROOT" ] && exit 0 Jun 09 07:56:54 it's not clearly definefd Jun 09 07:57:05 IPKG_INSTROOT is used for two purposes actually Jun 09 07:57:20 most scripts use it to detect a host build environment Jun 09 07:57:36 however afair it is also set when the opkg --dest flag is used Jun 09 07:59:09 stumbling across https://github.com/openwrt/packages/pull/11353/commits/39f2e30b41dbfbb7967348d4dc8ce79840a08455 is what started my 'thought' process...and then the rabbit hole happened (as usual) Jun 09 08:02:24 git grep "INSTROOT.*functions" reveals a) all sorts of formatting inconsistencies b) not many do it - leading to c) why/wth? :-) Jun 09 08:07:14 in packages at least - in base there's only 1... in odhcpd Jun 09 08:09:40 stuff gets cargo culted (often by me!) so it's good to get it right :-) Jun 09 08:13:19 I was mistaken, IPKG_INSTROOT is only set when installing packages in the build host environment Jun 09 08:13:39 it makes no sense to use it in init scripts Jun 09 08:14:06 my guess is that `. "${IPKG_INSTROOT}/lib/functions/network.sh` was done to fix an error in the host build phase Jun 09 08:14:15 *image build phase Jun 09 08:14:33 the proper fix is moving the sourcing into the init script procedures Jun 09 08:25:11 nick[m]: morning. Jun 09 08:25:31 hi Jun 09 08:25:49 thanks for DAWN. I've been looking for something like this., Jun 09 08:27:25 if I can avoid getting distracted by Real Work (or that Banana Pi R2 which I really ought to get supported in master before we do a release) I'm probably going to play with luci-app-dawn and see if I can make it look more like the 'Associated Stations' on the main overview page. Which gives me host information as well as actual speeds. Jun 09 08:28:48 e.g. http://david.woodhou.se/stations.png Jun 09 08:29:28 aside from the host information which obviously is out of scope, do we have all the information needed for the rest of that? Jun 09 08:29:50 I'll have to get host information locally the same way the overview page does. Jun 09 08:42:35 Since that is information parsed from libiwinfo (I'm not totaly sure) that should be easy to do Jun 09 08:42:39 dwmw2_gone: FYI https://github.com/blogic/utopology and u80211d should probably provide that in the future Jun 09 08:42:43 but we have to think about about rate Jun 09 08:43:20 dwmw2_gone: it's wip, maybe John could provide more details in order to not waste/duplicate effort? :) Jun 09 08:45:04 update rate* Jun 09 08:45:47 what is this utopolgy project doing? Jun 09 08:49:46 dwmw2_gone: I'm just adding the ifname and the hostname Jun 09 08:49:51 ta Jun 09 08:49:54 that'll help Jun 09 08:50:15 I think I'm going to do a generic MAC address lookup too, like wireshark has to print vendor names Jun 09 08:50:26 a few places could use that Jun 09 08:51:51 jow: sorry - got diverted into re-arranging the living room rug, table, plants etc. Jun 09 08:57:40 "I think I'm going to do a generic MAC address lookup too, like wireshark has to print vendor names" I would suggest doing that in luci :) Jun 09 08:57:41 but that would be awesome Jun 09 09:01:24 nick[m]: right. I'd do it somewhere generically, and luci-app-dawn (and others) could use it. Jun 09 09:02:17 I found it really useful in wireshark the other day when trying to make sense of a tcpdump from a DSA root port, which didn't look like proper 802.1Q so wireshark couldn't display packets sanely, but I could find the one from the right vendor quite easily. Jun 09 09:03:48 dwmw2_gone: there currently is this which you might be able to reuse: https://github.com/openwrt/luci/blob/master/applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js#L50 + https://github.com/openwrt/luci/blob/master/applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js#L156 Jun 09 09:04:28 repo + generation script here: https://github.com/jow-/oui-database/ Jun 09 09:04:44 ideally it should be packaged as .ipk so that users can opt into installing it locally Jun 09 09:05:03 shiny; thanks Jun 09 09:06:17 a perl script to process a file in another repository which in turn was generated by a perl script... Jun 09 09:06:28 no, in turn was generated by a python script Jun 09 09:06:40 :P Jun 09 09:07:50 I needed something compact which was sorted so that a simple binary searhc can be done Jun 09 09:08:11 a binary format would probably be slightly smaller still but thats hard to work with in JS Jun 09 09:09:21 [ Jun 09 09:09:22 "0", Jun 09 09:09:22 24, Jun 09 09:09:22 "Officially Xerox, but 0:0:0:0:0:0 is more common", Jun 09 09:09:22 "1000000", Jun 09 09:09:24 24, Jun 09 09:09:24 "Xerox Corporation", Jun 09 09:09:27 * dwmw2_gone blinks Jun 09 09:09:30 I was expecting more [] Jun 09 09:09:37 its a flat array Jun 09 09:09:48 [ Jun 09 09:09:48 ["0", Jun 09 09:09:48 24, Jun 09 09:09:48 "Officially Xerox, but 0:0:0:0:0:0 is more common",],][ "1000000", Jun 09 09:09:48 24, Jun 09 09:09:48 "Xerox Corporation", Jun 09 09:09:51 ] Jun 09 09:10:05 or something more competently edited in hexchat on my side :) Jun 09 09:10:22 three items are one record Jun 09 09:10:25 yeah Jun 09 09:15:02 jow: is https://git.openwrt.org/?p=openwrt/staging/ldir.git;a=commit;h=3150474988223155f82186ad883e9ea522264a18 fair/reasonable? Jun 09 09:15:04 I'd just be doing it in lua though, wouldn't I? Or perhaps a ubus call Jun 09 09:15:39 dwmw2_gone: an ubus call makes sense - you could implement it as rpcd plugin Jun 09 09:16:00 dwmw2_gone: and it should probably support looking up many MAC addresses at once Jun 09 09:16:12 to avoid too many roundtrips from the ui Jun 09 09:16:57 ldir: yep, looks sensible Jun 09 09:18:35 I'll send it in for that nice Mr Dedecker to Ack. Jun 09 09:20:19 I still think that 1st/2nd line "[ "$IPKG_INSTROOT" ] && exit 0" is neater/consumes less space than multiple source directives in each function. Jun 09 09:22:09 that will break init script activation in the image build phase Jun 09 09:22:21 keep in mind that init scripts actually are executed at build time Jun 09 09:22:53 so they must not do target specific things (like sourcing /lib/functions) or bail out (like prematurely calling exit 0) Jun 09 09:23:05 otherwise /etc/init.d/XXX enable will fail Jun 09 09:24:51 I sorta get that - or I've seen the warning at https://openwrt.org/docs/guide-developer/procd-init-scripts?s[]=ipkg&s[]=instroot#procd_init_script_parameters at least Jun 09 09:25:46 ah, yes I get you - just for 'enable/disable'. hmmm Jun 09 09:27:10 I guess all that could be made more robust by intelligently parsing out START= and STOP= from the script text and placing the corresponding .../etc/rc.d/ symlinks manually Jun 09 09:28:05 this way the init script must not actually be run to get activated Jun 09 09:28:42 A guard such as ' if IPKG_INSTROOT set and (parameter != start & parameter != stop) exit 0' Jun 09 09:36:38 dwmw2_gone: I mentioned u here. https://github.com/openwrt/luci/pull/4146 Jun 09 09:37:12 is that okay? can u have a look at this how u want that to be displayed? Jun 09 09:37:33 will do; thanks Jun 09 09:38:38 nick[m]: any reason why you define a separate MAX_INTERFACE_NAME ? Jun 09 09:39:24 nick[m]: I think it can never exceed IFNAMSIZ which is 16 bytes iirc Jun 09 09:40:19 nick[m]: and regarding the hostname, not sure if you should prefer /proc/sys/kernel/hostname over whatever is set in uci atm Jun 09 09:41:27 jow: I think I can remove MAX_INTERFACE_NAME and search for the equivalent in limits.h. Not sure why I added this a long time ago. Jun 09 09:42:35 jow: what is the problem with getting hostname from uci? Jun 09 09:43:14 it is not strictly a problem, more a philosophical question Jun 09 09:43:54 my reasoning was that the intent is to report the current state (effective hostname) not the desired state (what is written in a config but not necessarily applied yet) Jun 09 09:44:10 in general I have to tidy up the code and the printf statements and stuff like this... Jun 09 09:44:22 in most cases there won't be a difference Jun 09 09:45:05 jow: hmmm. actually I favor uci because I'm doing everything with uci. I understand your point. I'm not sure. Jun 09 09:50:50 Hey how do i add a lib depends that needs kernel 5.x ? Jun 09 10:00:07 * ldir suddenly gets what jow is on about and feels very stupid Jun 09 10:01:16 insufficient sleep = shouldn't attempt to re-write code Jun 09 10:13:40 nick[m]: I see garbage in 'iface' from remote systems which I haven't updated Jun 09 10:13:48 "Lumleys6": { Jun 09 10:13:48 "1A:62:2C:5D:94:6C": { Jun 09 10:13:53 ... Jun 09 10:13:54 "neighbor_report": "2c5d946cef090000510b070603000b00", Jun 09 10:13:55 "iface": "�k�w���", Jun 09 10:13:55 "hostname": "" Jun 09 10:14:16 that's 'ubus call dawn get_network' output Jun 09 10:18:17 dwmw2_gone: I have to "\0" the char buffers, or memset them, if devices won't send me a hostname Jun 09 10:18:32 did not thought about "backwards compatbility" Jun 09 10:18:35 s/,.*// Jun 09 10:18:42 You are receiving data from the network. Don't trust it. Jun 09 10:18:58 This isn't strictly a backwards compatibility thing. Jun 09 10:19:24 You were listening to port 1026 on a public IP address and accepting data :) Jun 09 10:19:28 I switched to multicast now :) Jun 09 10:22:14 dwmw2_gone: yeah that security stuff is really another thing I have to look at. I made some basic symmetric encryption, but I hope if people deploy that in a public network, they have some control channel, or some seperated vlan (yeah I know vlans are not for security....) Jun 09 10:22:16 Before switching, I started looking at an access control setup, where we only accept incoming connections from the local network. Or from hosts we've discovered and connected to. Jun 09 10:23:25 I was just pondering setting up vlans. I only have 64 public Legacy IP addresses at home, and it's getting a bit silly when all the TVs and even my watch have one each. Jun 09 10:23:32 Some of those really *can* be stuck behind NAT. Jun 09 10:23:42 but only if I can get OpenWRT to actually do VLAN Jun 09 10:25:26 s/OpenWrt/DSA/ Jun 09 10:25:38 true Jun 09 10:26:22 I just heckled at the 'convert lantiq xrx200 to DSA' PR on that topic :) Jun 09 10:26:26 since it *does* work there currently. Jun 09 10:26:38 just not on *all* the other APs. Jun 09 10:28:06 yeah, just rebasing onto 5.4.45 and noticed few upstream fixes for DSA Jun 09 10:29:13 mt7530 related fixes Jun 09 10:29:35 the 'enable learning for the cpu port' one already bit me :) Jun 09 10:29:42 but we ingested that already. Jun 09 10:29:50 was fixed in master by the time I'd worked it out Jun 09 10:36:37 What is the policy for version upgrades in packages in a stable (specifically 19.07) release? Jun 09 10:37:13 Should I leave Domoticz on v4.9700 even if a newer version does fix problems? Jun 09 10:38:39 depends on the number of changes (likely some of them can introduce regression) so backporting just the fix should be preferred Jun 09 10:39:13 but since you're the maintainer of the package, you decide I would say, but I don't know all the rules in that package feeds repo :] Jun 09 10:39:58 I know of three users. Myself (and I've already updated). stintel (who doesn't use it any more), and the user in #12259 who is having problems and I'm giving the new version to test. Jun 09 10:50:03 and I've thought, that home automation is current new craze :) Jun 09 10:50:31 dwmw2_gone: nope Jun 09 10:52:12 bridge vlan add vid 1 dev wan tagged Jun 09 10:53:07 dwmw2_gobe: ^run this after adding wan to br-lan and enabling filtering Jun 09 10:53:25 ip link set br-lan type bridge vlan_filtering 1 Jun 09 10:54:13 ip: either "dev" is duplicate, or "type" is garbage Jun 09 10:54:23 ynezz: the combination home automation and openwrt isn't very common Jun 09 10:54:46 I don't really want to encourage the use of domoticz.db on internal flash :) Jun 09 10:54:50 most people I know using open source home automation stuff are running it in docker Jun 09 10:54:50 I use external storage for mine Jun 09 10:55:43 mine used to be on the SSD in my APU@ Jun 09 10:55:46 APU2* Jun 09 10:56:07 dwmw2_gone: you probably need ip-full Jun 09 10:56:21 dengqf6: so if I want three different vlans on the physical network, bridge vlan add vid [123] dev wan tagged. Jun 09 10:56:33 then add wan.1 to (e.g.) br-lan1, wan.2 to br-lan2, etc. ? Jun 09 10:57:07 dwmw2_gone: what is your previous swconfig settings? Jun 09 10:57:34 this is a new AP Jun 09 10:57:54 the main router is the lantiq box with swconfig, and just adding 'eth0.1.1' to the br-lan device list seemed to do it all magically. Jun 09 10:58:03 I can add 'eth0.1.2' to br-lan6, etc. Jun 09 10:58:29 dwmw2_gone: q-in-q? Jun 09 10:58:35 yes Jun 09 10:58:46 'eth0.1' on the XRX200 is the LAN ports. Jun 09 10:59:06 eth0.1.1 is sending 802.1q (vid 1) out the LAN port on the wire. Jun 09 10:59:21 so not q-in-q except *internally* to the box. Jun 09 10:59:50 No other swconfig settings? Jun 09 11:00:17 on the lantiq, just the defaults, Jun 09 11:00:29 so you don't even need vlan filtering Jun 09 11:00:31 vlan1 to ports 0 1 2 4 6t Jun 09 11:00:42 vlan2 to ports 5 6t (which is its 'wan' port) Jun 09 11:00:55 so eth0.1 is the lan ports, eth0.2 is the wan port on the back of hte box. Jun 09 11:01:10 hence if I want to *send* 802.1q, I use eth0.1.1 etc. Jun 09 11:01:13 Create a new interface, in physical setting: set in to "@lan.1" Jun 09 11:01:15 which all Just Works Jun 09 11:01:35 that's what worked on the lantiq with swconfig not DSA Jun 09 11:01:38 noltari: nice work! Jun 09 11:01:48 didn't work on the RT-AC85P. Although I can try again now I have ip-full installed. Jun 09 11:01:53 dwmw2_gone: the uninitalized string buffers should be gone in https://github.com/berlin-open-wireless-lab/DAWN/commit/77619e9b18c1f4370ee1fd16c1d383d3005602c5 Jun 09 11:01:53 as long as you don't bridge untagged and tagged ports together Jun 09 11:02:19 dwmw2_gone: Have you tried the "@lan.1" interface? Jun 09 11:02:29 I tried wan.1 not @wan.1 Jun 09 11:02:47 Is it bridged to br-lan? Jun 09 11:03:33 That's *all* I've done. In the br-lan settings, where I can type arbitrary text into the 'Interface' list, added 'wan.1' Jun 09 11:03:38 and now '@wan.1' Jun 09 11:03:45 that worked on the Lantiq box Jun 09 11:03:48 not the one using DSA Jun 09 11:04:52 dwmw2_gone: bridge all lan and wan to br-lan Jun 09 11:05:04 that I already had. Jun 09 11:05:15 enable vlan filtering then set wan to tagged vlan 1 Jun 09 11:05:32 do NOT use wan.1 anymore Jun 09 11:08:02 Ok, I removed wan.1 from br-lan through luci, applied. Jun 09 11:08:09 then Jun 09 11:08:09 root@garden:~# ip link set br-lan type bridge vlan_filtering 1 Jun 09 11:08:09 root@garden:~# bridge vlan add vid 1 dev wan tagged Jun 09 11:08:27 I can still talk to it. Which, since I'm still sending untagged packets through its WAN port, probably means it isn't working? Jun 09 11:08:36 I'd have to change the *other* end too, and I haven't yet Jun 09 11:10:03 nick[m]: thanks. Will update and make luci-app-dawn use it. If it works for me are you OK with me pushing the package update? Jun 09 11:10:20 (for dawn itself; we'll do more review for my luci-app-dawn changes) Jun 09 11:10:55 yeah! actually I hoped for it because then I don't have to do an extra PR ;) Jun 09 11:11:05 ok, thanks Jun 09 11:13:09 add wan to br-lan Jun 09 11:13:20 it already is Jun 09 11:14:01 I'm connected through it (with no vlan yet). Jun 09 11:14:34 I can move that wire. But if I have wan and wan.1 both in br-lan that ought to work and I can reconfigure the other end *afterwards* to switch from untagged to vid1 Jun 09 11:21:34 nick[m]: + strncpy(hostname, ptr.o->v.string, HOST_NAME_MAX); Jun 09 11:22:18 that doesn't necessarily nul-terminate it Jun 09 11:22:26 welcome to the "I hate strncpy" club... Jun 09 11:22:37 while we're at it can we truncate at the first . ? Jun 09 11:22:39 if there is one Jun 09 11:24:31 dwmw2_gone: strlcpy? Jun 09 11:27:17 snprintf(hostname, HOST_NAME_MAX, "%s", ptr.o->v.string) Jun 09 11:27:32 or strlcpy() if it happens to be available Jun 09 11:27:39 it is on musl but not glibc iirc Jun 09 11:28:37 hmmm snprintf sonuds good Jun 09 11:39:38 I readded and slightly update talks and slides from old wiki https://openwrt.org/about/talks - somebody with admin access might want to add a link from about page as its not linked to any content atm Jun 09 12:13:46 plntyk: nice, you're better discussing this on forum, main communication channel for docs https://forum.openwrt.org/c/documentation/ Jun 09 12:14:39 nick[m]: hm, I seem to still have garbage in iface Jun 09 12:15:13 oh, because I didn't include that patch :) Jun 09 13:06:21 nick[m]: I had added separate Hostname and Interface columns, in https://github.com/dwmw2/luci/commits/dawn Jun 09 13:06:43 But now seeing what you did, I've tweaked it slightly to put it all in the 'AP' column Jun 09 13:06:50 https://github.com/dwmw2/luci/commits/dawn2 Jun 09 13:06:54 take whichever you prefer Jun 09 13:07:11 It adds the ($hostname $iface) in parens the AP, *if* they exist. Jun 09 13:07:42 I think I prefer my original though, although it takes more horizontal space. Jun 09 13:08:04 for the new separate columns Jun 09 13:18:12 Especially as I plan to screw with the MAC address display, as discussed. Jun 09 14:31:27 why ca Jun 09 14:31:59 why is luci not using the default bootstrap css instead of creating everything manual in cascade.css Jun 09 14:38:36 rr123: because it existed before the bootstrap theme was added Jun 09 14:39:04 to use the default bootstrap css you need to change all the luci markup and all the other themes to use the same css calsses and structure Jun 09 14:41:45 jow: make sense, so it's for historical reasons then. new to luci and all those internal css etc are intimidating to me, the vue-based oui looks simpler but you have to learn vue, would like to have a pure-bootstrap theme so others can hack luci easier Jun 09 14:42:29 by the way openwrt-2020 looks modern and works well on cell phones too Jun 09 14:43:52 one more question you mentioned luci will go 100% js client does it mean, the lua-template <% %> will be gone in the future? e.g. no server side rendering at all. Jun 09 14:46:23 I did two changes to openWRT and I'd like to commit these changes for review - is this described somewhere? Jun 09 14:46:46 rr123: correct Jun 09 14:47:04 One is to add OpenVPN out of the box plugins (auth-pam & root-iface-down) second one is to add SYNPROXY support (kernel modules & iptables) Jun 09 14:49:53 that might make luci one day REST-api ready and let the client side to handle the rest, at the moment luci is stil tightly coupled with the system. Thanks for the pointers. Jun 09 14:50:20 RobertP: https://openwrt.org/submitting-patches Jun 09 14:50:44 the core developers really should co-author an openwrt book :) Jun 09 14:51:11 @ldir: thanks Jun 09 16:10:36 OK... Jun 09 16:10:43 # ubus -v call macvendor get_multi '{"macs":{"one":"","two":""}}}' Jun 09 16:10:43 { Jun 09 16:10:43 "one": "unknownone", Jun 09 16:10:43 "two": "unknowntwo" Jun 09 16:10:46 } Jun 09 16:10:50 I'll make it return actual data later. Jun 09 16:11:07 are you including an oui db now? Jun 09 16:11:43 right now it just says "unknown" but that's the plan Jun 09 16:12:23 first I want to work out why http://david.woodhou.se/dawn-show-mac-vendor.patch fails when I make the actual call Jun 09 16:12:42 is this for a ui to help people turn macs into station names? do things not normally provide names to dhcp already? I normally see things like "wif's iphone" and so on? Jun 09 16:13:22 no, this is MAC to hardware vendor like Wireshark does. Jun 09 16:13:39 right, obviously, but what's the end use? Jun 09 16:14:01 when displaying MAC addresses in dawn etc. I'd like to display the vendor with them. Jun 09 16:14:04 because oui vendor can lead to interestingly misleading names. Jun 09 16:14:19 this is only under the MAC itself. Jun 09 16:15:22 so if you look at http://david.woodhou.se/dawn-with-nicknames.png where I have 'lantiq.infradead.org wlanX' in parens in the 'MAC' column. I've done that differently and have separate Hostname and Interface columns Jun 09 16:15:43 In parens in the MAC column instead I've have the OUI vendor name Jun 09 16:18:15 but mostly right now I just want to know why it doesn't bloody work :) Jun 09 16:21:13 oh, maybe acl on the macvendor service Jun 09 16:31:05 "luci-app-dawn": { Jun 09 16:31:05 "description": "Grant UCI access for luci-app-dawn", Jun 09 16:31:05 "read": { Jun 09 16:31:05 "uci": [ "dawn" ], Jun 09 16:31:07 "ubus": { "macvendor": [ "get_multi" ] } Jun 09 16:31:07 }, Jun 09 16:31:10 doesn't fix it Jun 09 16:31:58 dwmw2_gone: did you do an /etc/init.d/rpcd reload? Jun 09 16:32:03 restart Jun 09 16:33:09 do you get a permission denied error? Jun 09 16:34:09 that would be useful Jun 09 16:34:21 dawn is only useful if you have multiple openwrt APs? or is it useful for a single device situation as well? Jun 09 16:34:45 I get http://david.woodhou.se/dawn-denied.txt Jun 09 16:35:09 karlp: for a single device setup, the 'Associated Stations' on the main luci overview is a little bit nicer IMHO Jun 09 16:35:15 dwmw2_gone: ah ok, that looks like a dawn specific problem Jun 09 16:35:21 dawn is nice because it shows you that for *multiple* APs Jun 09 16:35:55 jow: that goes away if I comment out the single line from david.woodhou.se/dawn-show-mac-vendor.patch that does the ubus call Jun 09 16:36:37 I've explicitly set macnames={} after the call (throwing away the results) too, FWIW. Just in case Jun 09 16:39:18 Oh, I fail lua 101 Jun 09 16:39:23 local macargs = {} Jun 09 16:39:24 macargs['macs'] = macnames Jun 09 16:39:24 macnames = utl.ubus("macvendor", "get_multi", macargs) Jun 09 16:39:25 that works Jun 09 16:39:25 dwmw2_gone: ah, you triggered and error in the error handler :P Jun 09 16:39:49 template.lua:76 is actually printing an error message that the template could not be evaluated Jun 09 16:39:50 I can't just do macnames = utl.ubus("macvendor", "get_multi", { "macs" : macnames } ) Jun 09 16:39:55 haha Jun 09 16:40:17 OK, It's now printing my bogus "unknown" results from the non-existent OUI database. Will fix that now :) Jun 09 16:40:27 and since the dawn template is a string iirc, the filename "name" value is nil Jun 09 16:40:41 will fix that Jun 09 16:45:47 thanks Jun 09 16:49:29 dwmw2_gone: you could do utl.ubus("macvendor", "get_multi", { macs=macnames } ) to get your table made inline Jun 09 16:50:38 better; thanks. Jun 09 16:54:22 (unless the key is an illegal identifer, macargs.macs = macnames woudl have also worked... Jun 09 16:55:02 (which always traps me when I try and do that in python) Jun 09 16:56:11 what will utl.ubus return when it fails? Jun 09 16:56:24 I made it call something that doesn't exist Jun 09 16:56:26 macnames = utl.ubus("macvedndor", "get_multi", { macs = macnames }) Jun 09 16:56:26 if macnames is nil then Jun 09 16:56:26 macnames = {} Jun 09 16:56:27 end Jun 09 16:56:36 I get the same unhelpful failure Jun 09 16:56:43 *unconditionally* setting macnames to {} afterwards works OK Jun 09 16:57:07 but whatever it is, it isn't nil. Jun 09 16:57:28 been a while, but doesn't it do classic multireturn? Jun 09 16:57:37 status, data = call() Jun 09 16:57:54 if status then data = useful stuff else data = error description Jun 09 16:58:15 ah, no I fail lua 101 again Jun 09 16:58:19 if macnames == nil then Jun 09 16:58:20 not Jun 09 16:58:25 if macnames is nil then Jun 09 16:58:29 just do "if macnames" then Jun 09 16:58:58 are you running uhttpd in the foreground so you can see stderr? Jun 09 16:59:02 I find that super helpful :) Jun 09 16:59:12 I wasn't. Jun 09 16:59:48 I have a script aht symlinks all my dev work and then prints a uhttpd command line to run :) Jun 09 16:59:51 /usr/sbin/uhttpd -f -h /www -x /cgi-bin -u /ubus -A 1 -n 3 -R -p 0.0.0.0:80 Jun 09 17:00:16 (because I never remeber the right invocation of xargs to grab the current running params of uhttpd and rerun them) Jun 09 19:15:47 Hi devs, trying to dl a file getting 403 forbidden, it's been verified on $openwrt by another party as well; can you please let me know if this will be posted? Starting from https://openwrt.org/toh/views/toh_fwdownload?dataflt%5BBrand*%7E%5D=asus&dataflt%5BModel*%7E%5D=RT-AC58 selecting Jun 09 19:15:48 https://downloads.openwrt.org/snapshots/targets/ipq40xx/generic/openwrt-ipq40xx-generic-asus_rt-ac58u-initramfs-fit-uImage.itb 403's. Jun 09 19:57:19 similar issue like anonanoob but with https://downloads.openwrt.org/snapshots/targets/ipq806x/generic/ Jun 09 19:57:29 sha256sum doesn't match with file Jun 09 20:01:24 interesting: using some mirror directly yields correct sha256sum Jun 09 20:24:17 flash/ram here https://openwrt.org/toh/views/toh_admin_low-flash-ram Jun 09 22:06:03 xback: pling? Jun 09 23:11:41 build #402 of ramips/rt288x is complete: Success [build successful] Build details are at http://buildbot.openwrt.org/master/images/builders/ramips%2Frt288x/builds/402 Jun 10 00:01:44 I've just compiled a build off master - it's about two weeks newer than my previous build. procd is in a crashloop at boot. Enabling debugging, it's telling me that the ubus instance is failing, with an error every second or so that "Instance ubus::instance1 exit with error code 65280 after 0 seconds". Anyone know where I can look in the code to Jun 10 00:01:45 find the meaning of error code 65280? Jun 10 00:03:17 this is before the init process is complete Jun 10 00:04:04 the error is produce by service/instance.c Jun 10 00:04:18 error message that is Jun 10 00:05:03 build #359 of lantiq/xrx200 is complete: Success [build successful] Build details are at http://buildbot.openwrt.org/master/images/builders/lantiq%2Fxrx200/builds/359 Jun 10 00:18:43 build #345 of malta/be is complete: Success [build successful] Build details are at http://buildbot.openwrt.org/master/images/builders/malta%2Fbe/builds/345 Jun 10 01:49:38 I'm trying to port openwrt to a new device (Askey RAC2V1K). Jun 10 01:53:57 It has an IPQ8065 processor so I decided to use the Netgear R7500 as a base. I already managed to dump the original device tree and got it booting (got leds working and wifi sorta works if I use the firmware from the original rom) but now I'm trying to get the switch (QCA8337) working but I can't figure out where to define how the switch is Jun 10 01:53:58 connected. Can I get any help with this? Jun 10 02:03:47 Also I had to change some stuff in the qcom-ipq8064.dtsi file to get the router to not crash because of the regulators. How can I put those in the dts file I'm making instead? **** ENDING LOGGING AT Wed Jun 10 02:59:57 2020