**** BEGIN LOGGING AT Mon Jun 11 03:00:03 2018 Jun 11 03:00:06 build #269 of omap/generic is complete: Success [build successful] Build details are at http://release-builds.lede-project.org/17.01/images/builders/omap%2Fgeneric/builds/269 Jun 11 03:11:33 build #270 of mpc85xx/generic is complete: Success [build successful] Build details are at http://release-builds.lede-project.org/17.01/images/builders/mpc85xx%2Fgeneric/builds/270 Jun 11 05:18:33 build #698 of armvirt/64 is complete: Success [build successful] Build details are at http://phase1.builds.lede-project.org/builders/armvirt%2F64/builds/698 Jun 11 05:43:25 How to get a list of all enabled packages with versions in OpenWRT project? Jun 11 05:58:20 edgasm1: context? Jun 11 05:59:42 I want to have a list of all project packages and to verify if those packages are the latest version Jun 11 06:05:33 on the device? in the build system? Jun 11 06:08:30 Build system. Probably tmp/.packageinfo ? Jun 11 06:09:45 for pkg in $(sed -ne 's#^CONFIG_PACKAGE_\(.*\)=[ym]#\1#p' .config); do sed -ne "/^Package: $pkg\$/ { h; :n; n; /^Version: / { H; x; s/^Package: \(.*\)\nVersion: \(.*\)$/\1 \2/p; T n }; q; }" tmp/.packageinfo ; done Jun 11 06:10:11 Thank You Jun 11 06:12:04 he sed, she sed... Jun 11 06:12:24 :-P Jun 11 06:16:36 *booh* Jun 11 06:17:28 regex Jun 11 06:17:38 i can't understand it x) Jun 11 06:19:14 lets say i wanna extract ethX from /sys/class/net/ ..... i tried ^eth[0-9][^.] but grep says nope. in an online regex tester it works Jun 11 06:22:59 shm0: try ^eth[0-9][^.]* You current regex requires a (non-dot) character after the interface. * makes it optional. Jun 11 06:24:05 ty. but i already tried that doesnt work Jun 11 06:25:31 shm0: o.O http://ix.io/1cQp Jun 11 06:26:30 https://pastebin.com/HWDfURcX ? Jun 11 06:27:17 hmm Jun 11 06:27:23 shm0: (cd /sys/class/net; echo eth[0-9]) Jun 11 06:28:36 ty. jow ^^ Jun 11 06:28:49 but Jun 11 06:29:55 i have a bash script that loops through /sys/class/net/* like for interface in /sys/class/net/* do and stores the interface name in a variable Jun 11 06:30:58 @rot13 https://regex101.com/r/bLGQFI/1 Jun 11 06:32:00 shm0: for path in /sys/class/net/*; do case "$path" in */eth[0-9]) name="${path##*/}";; esac; done Jun 11 06:32:35 ty Jun 11 06:33:06 but i would like to know why this isnt working with grep. and i should learn more regex x) Jun 11 06:33:27 what isn't working with grep? Jun 11 06:34:44 your regex would only match things like "eth10" or "eth1a" Jun 11 06:35:01 basically any eth followed by one digit followed by at least one char not being a dot Jun 11 06:36:14 why not just test for end of string? /bin/ls -1 | grep 'eth[0-9]\+$' Jun 11 06:37:26 I also suggest "grep -E" for extended regex, to avoid the weird posix semantics that require escaping most control chars Jun 11 06:38:16 "followed by one digit" is this really the case? i tought i matches anywhere in the string Jun 11 06:38:46 "i" ? Jun 11 06:39:07 so if any number between 0-9 is present in the string it matches and dont match any string containing a dot Jun 11 06:39:13 i already use -E Jun 11 06:39:14 no Jun 11 06:39:33 hmm Jun 11 06:39:40 eth[0-9] is equivalent to eth0|eth1|eth2|eth3|...|eth9 Jun 11 06:40:23 i mean this one ^eth[0-9][^.] Jun 11 06:40:58 [^.] means "consume (match) one character not being a dot" Jun 11 06:41:31 seems what you want is a zero width lookbehind assertion, but I do not think that grep implements that Jun 11 06:42:26 but here it works https://regex101.com/r/bLGQFI/2 Jun 11 06:42:59 because you enabled multiline mode with "m" Jun 11 06:43:27 the causes "^" to match begin of each line instead of begin of search buffer Jun 11 06:43:43 and it causes "[^.]" to match the \n after "eth0" Jun 11 06:44:29 you also need to be aware that "grep" processes each line independently while your linked regex tester looks at all lines at once Jun 11 06:44:57 grep will only see "eth0", "eth1", ... not "eth0\neth1\n...." Jun 11 06:45:37 and "eth0" can never satisy /^eth[0-9][^.]/ Jun 11 06:46:09 "eth0\n" could, or "eth0foo" Jun 11 06:46:34 ahh Jun 11 06:46:58 in general you should avoid regex patterns specifying "things not to follow" Jun 11 06:47:12 can ^eth[0-9] work then? Jun 11 06:47:19 ^eth[0-9]+$ Jun 11 06:47:37 would match eth0, eth11, eth100 etc. Jun 11 06:47:52 but not ethfoo, eth1.1 or eth Jun 11 06:48:23 ty jow. why did you $ there? Jun 11 06:48:30 to match end of string Jun 11 06:48:59 ^eth[0-9] would also match "eth0.random garbage" or "eth0.1.1.1.1" Jun 11 06:49:04 without $ Jun 11 06:49:54 similar to how leaving out ^ would match "foo eth0" or "not.eth0" Jun 11 06:52:05 ty jow very much appreciated again =) Jun 11 06:52:11 always anchor your patterns to avoid overmatching things Jun 11 06:52:27 unless you really want to find things in the middle of some larger string Jun 11 07:04:19 yes works fine. ty so much^^ Jun 11 07:35:54 * KevinDB notes the the russell-- chap has been playing with iproute2.... must give that a test :-) Jun 11 07:36:18 * KevinDB still cannot type in the morning. Jun 11 07:51:33 KevinDB: i just built/run-tested ip-tiny on ar71xx Jun 11 07:53:09 russell:iproute2 upstep fails to compile if rdma utility is enabled Jun 11 07:55:01 dedeckeh: upstep? Jun 11 07:56:06 russell:iproute2 upstep to 4.17.0 Jun 11 07:56:36 haha still can't get used to that word upstep ;) Jun 11 07:56:45 also, good morning! Jun 11 07:56:48 russell--:I took in your patch in my staging tree and enabled all utilities Jun 11 07:56:56 upstep isn't a word i'm familiar with Jun 11 07:57:05 russell--:rdma fails Jun 11 07:57:11 okay, i'll look. Jun 11 07:57:17 after sleeps Jun 11 07:57:38 russell--:thx Jun 11 07:58:18 morning stintel Jun 11 08:00:36 https://www.thefreedictionary.com/upstep Jun 11 08:17:47 build #698 of armvirt/32 is complete: Success [build successful] Build details are at http://phase1.builds.lede-project.org/builders/armvirt%2F32/builds/698 Jun 11 08:54:40 * ldir waits for British Telecom Openreach to turn up and install an ADSL line. Jun 11 08:55:34 * ldir wonders if putting a kettle on and watching it would speed things up. Jun 11 08:57:34 a watched kettle never boils... Jun 11 08:57:54 ^^ Jun 11 09:25:49 tohojo: ping Jun 11 09:34:38 any objections against https://github.com/openwrt/openwrt/pull/687 ? Jun 11 09:38:25 ping netprince__ Jun 11 09:38:57 stintel: if you have any means to test some of it then go for it Jun 11 09:39:46 looks like some worthwhile cleanup Jun 11 09:46:12 jow: pong Jun 11 10:03:59 im trying to edit the teltonika gpl Jun 11 10:04:32 which is based off openwrt but im having issues changing the WEBUI and making the changes stick when i compile Jun 11 10:05:45 build #889 of brcm2708/bcm2708 is complete: Success [build successful] Build details are at http://phase1.builds.lede-project.org/builders/brcm2708%2Fbcm2708/builds/889 Jun 11 10:21:26 no one able to help with this ? Jun 11 10:23:40 I don't even understand what you mean by "edit the blah gpl" Jun 11 10:24:07 and aiui, you're modifying some third party tree and having issues with it. have you tried speaking to the owner of the third party code in question? Jun 11 10:28:49 yeah tried to speak with the developers of the firmware but they arent much help, emailed back with cmds that dont even exits Jun 11 11:01:31 moash cant you use openwrt? Jun 11 11:03:41 I meen no moded openwrt Jun 11 11:04:04 standerd openwrt Jun 11 11:21:56 Hi Jun 11 11:39:47 nah when i went onto the contact page it said to come here, ill fire them an email over Jun 11 11:43:50 moash what router are you trying to build for? Jun 11 11:44:30 Teltonika Rut950 Jun 11 11:44:46 using the teltonika Rut9xx GPL package Jun 11 11:45:04 I can compile the firmware but none of the theme edits i make show up Jun 11 11:45:53 iv replaced all the img files with my own but the exact same names, nothing worked. Jun 11 11:51:06 if anyone is versed in using the openwrt kit, would you mind giving me a half hour of your time to explain some things to me Jun 11 11:52:38 try asking an explicit question then Jun 11 11:53:47 I have problems with DAP-1522 , flash snapshot over stock via GUI or via Recovery, however the kernel panic and halt , see https://pastebin.com/raw/KNTaSjeZ Jun 11 11:54:34 Device page https://openwrt.org/toh/hwdata/d-link/d-link_dap-1522_a1 Jun 11 11:54:55 Supported since https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=13f9e40602707479aaffac0d68a952070f305b7d Jun 11 11:54:59 so in packages/coova-chilli once i have made the changes to the files in this dir, do i have to run any cmds to make the changes happen ? Jun 11 11:55:33 or should just editing the imgs and some of the text in the theme files then running make show the edits ? Jun 11 11:56:15 Should I open a bug report ? Jun 11 12:23:00 telecoms guy here fitting the phone line & socket. Nearly have my test line. Excitement :-) Jun 11 13:16:37 * ldir has his test line installed....and is currently sync'd. Initial bad news is that it looks like PPPoA connectivity is b0rked. Line in sync, just no PPP negotiation/echos etc. Does work if using ATM bridge and run PPPoE (oA) over that. But some ISPs do not grok PPPoEoA and it's less cell efficient anyway. (I don't *need* to send ethernet frames encapsulating PPP when I could just be sending PPP) Jun 11 13:18:09 This is on the hh5a. Will test & try harder a bit later. Jun 11 14:47:49 ldir: it matches exactly the reported issue Jun 11 14:49:35 ldir: would you mind to check if the proposed change fixes the issue: https://bugs.openwrt.org/index.php?do=details&task_id=1567#comment4813 Jun 11 14:51:19 Hi Fritz ;-) Yes, I've just this second been looking at that bug report myself. Am in the process of ferretting about with it as we speak :-). Tommy Jun 11 14:51:34 ldir: :-) Jun 11 16:39:43 lmfao Jun 11 16:39:49 I ack your nack Jun 11 16:42:55 hehe :) Jun 11 16:49:39 it's better than saying 'I violently disagree' :-) Jun 11 16:51:03 * ldir has just seen some code where an interrupt can set or remove the address of a function pointer. And the function may be called by checking if the ptr is !NULL Jun 11 16:59:36 had someone done some work on using luarocks on the host to package things? Jun 11 16:59:58 I can install luarocks on the target, but that's somehwat limited, as it needs gcc, and can't find anything existing. Jun 11 17:02:35 Good evening ! I have a question I hope can be answered. My internet provider only offers wifi access to internet, so I thought I'd use a TP Link WR1043ND to bridge between wifi and my local cabled LAN. It works, kind of, but I'm experiencing regular BSODs (Bad Pool Caller), only when I'm on that bridge. I'm sure there must be something that has to be configured for it to work better, but I'm not knowledgeable enough to kno Jun 11 17:11:54 right you lot - I'm just about to flash my hh5a with some code that I'm not at all confident in....so if you could all cross fingers/hold hands/pray to $DEITY for luck it'd be much appreciated. Jun 11 17:14:35 * Monkeh starts carving a headstone instead Jun 11 17:17:38 hi Jun 11 17:17:56 greetings and salutations, Lord Baron Borromini. Jun 11 17:18:21 * ldir blames Monkeh for it not working. Mind you it didn't die so not made the problem obvious worse. Jun 11 17:18:52 I accept all the blame and none of the responsibility. Jun 11 17:20:02 ahoi honorable salcedo Jun 11 17:21:53 Borromini: it is a beautiful monday. the serfs are labouring in the STEM fields maintaining the simulation for the lesser-serfs! :) Jun 11 17:22:40 that is how it should be. Jun 11 17:22:58 democracy is for the weak i say! Jun 11 17:23:09 No one knows or no one wants to help ? Either way is fine, just say something^^ Jun 11 17:23:53 * Borromini has no idea Jun 11 17:24:46 CreeperLava: apologies, good human. For we know not the details of the difficulties your bridge is causing. Jun 11 17:24:52 Windows issues. Good luck. Jun 11 17:25:20 Yeah. Well, thanks anyways :) Jun 11 17:25:31 I'm going to try playing with the drivers Jun 11 17:25:34 That should go well Jun 11 17:25:42 Otherwise I'll just go back to Linux Jun 11 18:26:17 anyone know mt762x board with multiple usb host? nearly all boards I found only had one usb port Jun 11 18:30:21 isn't another one hiding in the mini-pcie slot on your zbt we-1326? Jun 11 18:32:56 iow, a passive adaptor like https://www.ebay.com/itm/x/192484341702 should work Jun 11 18:34:47 afaik there's only a single port on the controller Jun 11 19:27:33 mt7621 says 1xusb3, 2xusb2 Jun 11 19:28:08 (plus the 3 pcie) Jun 11 19:29:24 AUser: gnubee has 3. well, 2 are on a hub Jun 11 19:29:44 ugh ausjke ^^ Jun 11 19:30:04 mt7621 supports 1 usb 3 and 1 usb 2 Jun 11 19:36:37 pin outline seems to indicate it's 1xusb3/usb2 and 1 usb2. Jun 11 19:37:07 and they just count the usb2 twice :) Jun 11 19:40:50 just found out hootoo router HT-TM04 has two usb hosts Jun 11 19:41:21 Ralink RT5350, it also have backup battery included, for $21? Jun 11 19:41:41 out of stock everywhere though Jun 11 19:45:25 portable, 100mbps are fine for this, two usb-hosts are key. raspberry pi and its clones can have up to 4 usb hosts these days Jun 11 19:57:22 ausjke: if you can avoid it, I'd suggest to stay away from the older RaLink designs because of state of the rt2x00 drivers necessary for them Jun 11 19:57:58 mt76, as used in the mt7621, just is a lot less problematic Jun 11 20:03:42 mangix: So one port, then. Jun 11 20:04:38 Oh, I see - two 2.0, one 3.0. Jun 11 20:04:50 For one 3.0 port and one 2.0 port. Jun 11 20:07:42 it's marketing-counting Jun 11 20:21:38 Monkeh: do you have that tombstone ready? Might need it.... Jun 11 20:27:18 ldir: Let me just find a pallet.. Jun 11 20:28:45 you just need a bigger hammer ;) Jun 11 20:33:27 it probably needs more clueful application of the existing hammer. Jun 11 20:39:06 This is a pretty off-topic question, but if I wanted to do some bare-metal dev that can be loaded by uboot on my ralink MIPS router, what toolchains etc. should I be using? Jun 11 20:39:20 Specifically, I want to poke at the USB host bus Jun 11 21:15:54 I'd probably use the same toolchain that uboot is using for your board? Jun 11 21:22:46 Retr0id_: maybe something like this https://www.mips.com/?do-download=linux-x64-mti-bare-metal-2016-05-06 Jun 11 21:22:53 or uboot yeah Jun 11 21:24:42 ive had better luck with the arm-branded compiler than with e.g. ubuntu's gcc-arm-none-eabi. dunno if the same applies w/mips Jun 11 21:30:13 dwmw2_gone: apparently the zwave control panel is broken in newer domoticz :/ Jun 11 21:30:18 getting a white page Jun 11 21:41:38 pkgadd: agree, looking for 7621 with 2+ usb hosts Jun 11 21:41:59 at good price though, so far i'm happy with zbt-1326 as AP router Jun 11 21:42:30 running 1806 Jun 11 21:42:44 yeah, I'm super happy with mine. Jun 11 21:42:49 wife's happy. Jun 11 21:43:01 all the phones work, and the 2.4gig works, which the isp router was flaky on. Jun 11 21:43:11 pays for itself in ~8 months Jun 11 21:43:31 you hook ip phones to wired port right? Jun 11 21:43:47 no, I just mean picky mobile phones Jun 11 21:44:00 * karlp hasn't had a landline/deskphone of any sort in ~10 years or so Jun 11 21:44:27 how does the mobile phones have anything to do with the router... Jun 11 21:45:18 they sometimes have picky wifi clients? Jun 11 21:45:31 i c, oops Jun 11 21:46:01 how to test ac bandwidth, will one zbt as AP, one as wireless client do? trying to set up a test environment Jun 11 21:46:05 I had a xiaomi wifi mini, (not the r3g) and the wife's phone and macbook would continuously bounce on and off the 5ghz Jun 11 21:46:09 i got 3 zbt1326 anyways Jun 11 21:47:53 * ausjke plans to run iperf3 between 2 zbts over 11ac, then over NAT wired Jun 11 21:48:07 is any of the wiki gardeners here? https://openwrt.org/docs/guide-developer/patches and https://openwrt.org/docs/guide-developer/build-system/use-patches-with-buildsystem appear to be duplicates? something imported poorly? Jun 11 21:50:20 ausjke: Apply hub, problem solved. Jun 11 21:51:45 Monkeh: can you elaborate? Jun 11 21:51:47 heh, went to install quilt, requires I install.... esmtp, procmail, zstd, and rpm-build. Jun 11 21:51:50 wat?! Jun 11 21:52:01 ausjke: use an external usb hub is their suggestion Jun 11 21:52:17 i c, though it is for iperf3/performance :) Jun 11 21:52:31 at least on Debian, it Depends: bsdmainutils, bzip2, diffstat, gettext, patch, perl Jun 11 21:52:59 and recommends less (which would be pulled in by installing normally), default-mta | mail-transport-agent, graphviz, procmail are merely suggests Jun 11 21:53:11 ausjke: I think I remmber reading on one of the aliexpress dealers that the internal unpopulated mini pcie slot has usb wired to it, which I suspect is where the second port is. Jun 11 21:53:11 i actually have usb-hub nearby, but too clunky as this is something better in one pack Jun 11 21:53:39 pkgadd: yeah, I normally just suck itup and let it do it's thing, but sometimes.... just rubs me the wrong way :) Jun 11 22:32:43 wow. it just... worked. almost. Jun 11 22:32:51 ether works, wifi is detected. Jun 11 22:33:41 doesn't look like usb works though. Jun 11 22:34:03 karlp: Useless Shitty Bus anyway. :) Jun 11 22:34:15 lies and fud :) Jun 11 22:34:25 Experience and pain in my very soul Jun 11 22:34:26 :) Jun 11 22:34:40 with greeat power comes great pain :) Jun 11 22:34:54 I thought it was just the lack of DMA Jun 11 22:35:37 so, "iw list" works, and shows dual band, I guess i must have missed some of the second band drivers. I don't seee any wifi APs Jun 11 22:44:15 is this the right way of interpreting mtd layout? https://zerobin.net/?462f1bb9203f2ea6#7oWg5B7STUOUnXwXcqa/u4TPEXNax6SWhE51AnT1jjQ= Jun 11 22:44:27 I'd like to backup some of the original flash, still running from a ramdisk at present. Jun 11 22:53:59 Anyone have experience with the mvebu devices and their respective U-Boot bootloaders? I have a custom compiled OpenWRT image and DTB tree file for the Buffalo LS421DE but I am running into issues getting the bootenv setup. Ideas? Jun 11 22:55:11 is there any easy way of searching for gpios, short of exporting them all one by one and trying to write /read from them? Jun 11 22:55:30 there's the stuff in sys/kernel/debug/gpio, for reading buttons, but it doesn't have many gpios there? Jun 11 22:56:29 If you are looking for the mtd points normally df, mount, and the dmesg outputs will point you in the right direction. blkid will give you the UUID of a USB device for the fstab config. Jun 11 22:57:06 I'm running from a ramdisk, so not entirely. Jun 11 22:57:45 I am more reliant on datasheets for the chips to find GPIO numbers. Jun 11 22:58:08 it's not the numbers, but an easy manner of sweepgin through to toggle likely ones :) Jun 11 22:58:25 I've got two leds worked out, but 5 more leds and two buttons to figure out Jun 11 23:00:17 What device are you working on? Jun 11 23:01:04 https://wikidevi.com/wiki/Telsey_CPVL7 Jun 11 23:09:29 karlp: https://gist.github.com/mkresin/061ad551aa5391668ab20eb8c8abf01e Jun 11 23:09:40 Exporting them all one by one with less effort. ;) Jun 11 23:14:02 Monkeh: nice, thanks .) Jun 11 23:14:32 with an rt2800 pair, rt2760+rt2850, which is dualband, should I see two phys? or one? Jun 11 23:15:23 iw list shows phy0 with band1 and band2. can it really only be 802.11g on 2.4gig _or_ 11a on 5gig but not both? Jun 11 23:16:04 oh huh, hostapd didn't get included Jun 11 23:16:09 * karlp shoots himself in the head Jun 11 23:16:18 there've been such devices, the tl-wr2543nd (ar71xx) or lancom lc-1821n come to mind Jun 11 23:17:19 (both dualband, but single radio) Jun 11 23:17:53 I only expected 2.4gig to be honest, was pleasantly surprised it had 5gig in iwlist at all. Jun 11 23:19:15 I've got three antennas on board, which matches the product briefs 2t3r config though so... *shrugs* Jun 11 23:23:29 http://www.sparklan.com/p2-products-detail.php?PKey=32554hS7j4aUgfXwFIbj_904_qS1An7fapPj7hMPlg&WMIR-270N kind of suggests that it's really just a single radio, with the traditional distinction between MAC and PHY Jun 11 23:27:42 this script is working well, already goudn two more leds. Jun 11 23:27:45 make that three Jun 11 23:42:54 hi Jun 11 23:43:18 can someone help me Jun 11 23:44:04 i have problem with my firmware, cant flash openwrt because my router is locked to EU Jun 11 23:44:24 This is problem Jun 11 23:44:26 Unlocking firmware 3.16.9 Firmware 3.16.9 has a different check mechanism than other versions and doesn't allow anything to be flashed (error 18005). A firmware must have this string at address 0x120 in order to be flashed: 00000000;45550000; This can be added using a hex editor. Checksum must be recalculated using mktplinkfw tool in the image builder after editing Jun 11 23:44:55 huh, I thought we had a second stage loader for bcrm63xx. Jun 11 23:45:05 my ramdisk got bigger than 4meg and it failed to boot Jun 11 23:47:25 I have not worked with Broadcom since the WRT610 v2 came out. That was... 2010 ago? Jun 11 23:48:32 Guys...can you help me with my problem, pls someone ?? Jun 11 23:49:25 https://openwrt.org/toh/tp-link/tl-wa701nd?datasrt=usb%20ports Unlocking firmware 3.16.9, what i need to do Jun 11 23:51:15 cd /tmp wget https://downloads.openwrt.org/yourarch/yourbin --no-certificate-check sysupgrade -v open*.bin Jun 12 00:30:51 build #885 of ar71xx/mikrotik is complete: Failure [failed sourceupload] Build details are at http://phase1.builds.lede-project.org/builders/ar71xx%2Fmikrotik/builds/885 blamelist: Matthias Schiffer , Hans Dedecker Jun 12 01:53:41 build #924 of x86/legacy is complete: Failure [failed sourceupload] Build details are at http://phase1.builds.lede-project.org/builders/x86%2Flegacy/builds/924 blamelist: Matthias Schiffer , Hans Dedecker Jun 12 02:20:17 what is preinit_ip under menuconfig? Jun 12 02:21:40 "IP address for preinit network messages" -- is preinit sending log over network to somewhere else? Jun 12 02:55:16 looks like it is for failsafe messages **** ENDING LOGGING AT Tue Jun 12 03:00:04 2018