**** BEGIN LOGGING AT Fri Aug 03 03:00:00 2018 Aug 03 03:55:11 e Aug 03 05:23:19 E Aug 03 05:24:30 are people using containers to implement continuous integration on linux embedded systems Aug 03 05:24:42 if i have one guy working on all kinds of layers of a BBB, and i want to track his progress, what can i use? Aug 03 05:24:53 especially if i can't count on him to document well Aug 03 07:37:19 Does anybody know if it is possible to take 3 beagle bones and take one as subscriber one as publisher and one as broker ? Aug 03 07:50:07 ? Aug 03 08:18:27 mister: subscriber, publisher, broker of what? Aug 03 08:21:24 as in: please provide more context so we can understand what you are planning to do Aug 03 08:25:00 of a mqtt connection between beagle bone blacks Aug 03 08:25:34 I want to connect beaglebones as IoT with mqtt Aug 03 08:48:29 is the ethernet the best option to connect the bbb to the internet ? Aug 03 08:48:53 yes, ethernet is the most reliable way Aug 03 08:50:21 also of course. If you run the default debian images it's as easy as `sudo apt install mosquitto` or `sudo apt install mosquitto-clients` and for python3 client implementations `python3-paho-mqtt` Aug 03 08:51:02 in practice you could run all 3 roles on the same BBB, doesn't make for much of a demo of course Aug 03 08:52:35 for installing i need the ethernet connection am i right ? Aug 03 08:53:03 if i try this it says network is unreachable Aug 03 08:54:27 i am running the latest debian image Aug 03 08:55:38 well yes, you should connect to a LAN that has DHCP and a router Aug 03 08:55:50 also you might need to run `sudo apt update` first Aug 03 08:59:38 it failed to restart networking.service and other errors and failed to fetch Aug 03 08:59:54 is this because there is no connection to the internet Aug 03 09:00:21 if i connect it with an adapter to my pc will it work ? Aug 03 09:00:37 what sort of network are you connecting it? home network with router? corporate network? lab network? Aug 03 09:02:11 i am working in a big company Aug 03 09:06:02 do you need to use a proxy to access the internet? Aug 03 09:13:20 i have pluged in the internet do i have to reboot it ? Aug 03 09:17:05 shouldn't be necessary, but doesn't hurt Aug 03 09:17:30 you should be able to see if it acquired a connection by looking for a default route in the output of `ip route` Aug 03 09:22:21 i did 'sudo apt-get update' and its working at the moment but 0% i have to wait Aug 03 09:23:16 'temporary failure resolving '...'' Aug 03 09:32:50 hmm Aug 03 09:33:13 do you see 'nameserver' entries in /etc/resolv.conf? Aug 03 09:34:52 yeah i get three out Aug 03 09:36:52 does the installed debian have the "host" command? `host google.com` Aug 03 09:38:57 its the latest iot image without interface Aug 03 09:39:15 'host google.com not found :2(SERVFAIL)' Aug 03 09:41:11 if i enter only host it shows me the opportunities with -.. Aug 03 09:41:30 sounds like you might need to talk to your IT about how to configure network devices for your network Aug 03 09:41:42 what do you mean ? Aug 03 09:42:10 whats the problem Aug 03 09:42:20 ask your IT-department (EDV) Aug 03 09:42:45 whats the problem ? that i dont get access to the internet ? Aug 03 09:43:04 essentially the question you probably should ask is "How do I connect a Linux computer to the Internet in this company" Aug 03 09:43:26 okay Aug 03 09:44:16 as the default DHCP configuration doesn't seem to yield anything useful. Might be that you need to tell them the MAC addresses of the ethernet interfaces to get that enabled Aug 03 09:44:41 or they will point you to a special "LAB network" Aug 03 09:44:51 okay thanks i will try that Aug 03 11:16:30 does anybody know how to set the proxy on the bbb? Aug 03 11:33:01 ????? Aug 03 11:42:52 can somebody help Aug 03 11:45:17 What kind of proxy Aug 03 11:47:08 this might help, mister http://derekmolloy.ie/setting-a-network-proxy-on-the-beaglebone-black/ Aug 03 11:48:25 i want to enable a internet connection and i have to set the proxy Aug 03 11:55:06 the problem is the conman directory isnt available on my board Aug 03 12:03:42 Ok, did your board come with an SD card? Aug 03 12:04:42 If so, it probably had a version on the label, or some files in the small windows filesystem on the card. Aug 03 12:05:21 I'd need to know which version of which distribution you're running to help research how to set up the proxy Aug 03 12:08:13 Maybe it doesn't ship with a card because the BBB has in-built flash... Aug 03 12:09:40 Do you have the BBB rev C, mister? Aug 03 12:12:23 If so, try http://kaskavalci.com/howto-use-system-wide-proxy-in-linux-and-set-up-a-local-proxy-server/ Aug 03 12:14:44 bbb black d Aug 03 12:14:51 yes i have Aug 03 12:15:08 i will try Aug 03 12:24:07 the file apt.conf isnt in this directory Aug 03 12:24:10 why Aug 03 12:27:20 cd .. Aug 03 12:27:53 i only have a directory apt.conf.d Aug 03 12:38:21 Ok, you're rev D. Aug 03 12:40:24 i find no evidence of a rev D. Aug 03 12:42:40 mister: did you find the /etc/environment file? Aug 03 12:42:54 rev D doesn't exist Aug 03 12:43:39 must have been a typo, i think. Aug 03 12:47:25 mister: if you found /etc/environment, we're on the right track. you might not have an apt.conf. my ubuntu and kali systems don't have one, but I've verified with strace that they will read one, if it exists. Aug 03 12:47:57 so you can put the lines from that page in your /etc/apt.conf, then chmod 644 /etc/apt.conf Aug 03 12:48:48 how exactly is this going to fix his dns problems? Aug 03 12:49:12 mister: did your IT department tell you you need to configure a proxy? Aug 03 12:49:38 | mister: does anybody know how to set the proxy on the bbb? Aug 03 12:50:52 yeah I suspect that's an http://xyproblem.info/ Aug 03 12:53:32 (I love the fact there's a website for the sole purpose of describing an xy problem) Aug 03 12:54:41 it might be. it might also be a case of https://mattgemmell.com/hindsight/ Aug 03 12:55:10 but it would be interesting to know what mister's IT people said about connecting the BBB to their net. Aug 03 12:55:40 i have to connect to the proxyserver with an port Aug 03 12:55:45 but it doesnt work Aug 03 12:56:05 ok. Aug 03 12:56:42 mister: what do you get if you type: echo $SHELL Aug 03 12:57:00 command not found Aug 03 12:58:56 can you try it again, in case your command line was garbled. that result seems unlikely. Aug 03 12:59:22 i'm expecting a result like "/bin/bash" or "/usr/bin/csh" or something ending in sh. :) Aug 03 12:59:40 or possibly a blank line. Aug 03 13:00:03 bin/bash Aug 03 13:00:08 excellent. Aug 03 13:01:07 and now ? Aug 03 13:01:18 if your proxy were foo.google.com port 1234, you could try: export HTTP_PROXY=foo.google.com:1234 Aug 03 13:01:32 or if you already edited /etc/environment Aug 03 13:01:44 you can: source /etc/environment Aug 03 13:02:03 and then export HTTP_PROXY HTTPS_PROXY Aug 03 13:02:23 if you don't source /etc/environment there is an extra step: Aug 03 13:02:43 i edited the environment file already with this http://kaskavalci.com/howto-use-system-wide-proxy-in-linux-and-set-up-a-local-proxy-server/ i added the first 2 the file was at the beginning empty Aug 03 13:02:43 export HTTPS_PROXY=foo.google.com:1234 Aug 03 13:02:56 ok, you will need to make sure you use the proxy details given to you by IT. Aug 03 13:03:06 then you can: source /etc/environment Aug 03 13:03:19 export HTTPS_PROXY HTTP_PROXY FTP_PROXY Aug 03 13:03:23 and then you can try: apt-get update Aug 03 13:03:54 whats the name of the website i can put in the output and send it as link Aug 03 13:04:01 if that still times out, then as zmatt has somewhat obtusely suggested, you still have a problem with more fundamental network settings. Aug 03 13:05:08 Ign:1 http://repos.rcn-ee.com/debian stretch InRelease Aug 03 13:05:19 thats the first output after apt-get update Aug 03 13:05:28 does it seem to make any progress? Aug 03 13:05:41 yes something changed Aug 03 13:05:48 where can i send you the output ? Aug 03 13:06:14 you can put it in pastebin.com and then take the link it generates and paste the link here? Aug 03 13:06:44 you might want to have a quick look and make sure it isn't going to reveal much about your employer's network Aug 03 13:08:06 https://pastebin.com/W5kYDbtW Aug 03 13:08:26 no its on beagleboard there is nothing to hide Aug 03 13:09:28 in this case that turns out to be true, but if it had contained, e.g., the actual proxy details that would be information that is useful to people who shouldn't have it. Aug 03 13:09:57 yeah i know Aug 03 13:10:03 so, i think you might be ready now to ask IT again. the 403 errors *probably* mean that the proxy is blocking the mirrors. Aug 03 13:10:16 but before you do that.. Aug 03 13:12:06 yeah ? Aug 03 13:12:49 try ping www.google.com Aug 03 13:14:43 you might get packet loss, but if your DNS is working you should at least get an IP address in the output, e.g.: PING www.google.com (172.217.6.132) 56(84) bytes of data. Aug 03 13:15:14 if it just times out, your DNS is still misconfigured :( Aug 03 13:15:34 if you just want to resolve a name you can use: getent hosts www.google.com Aug 03 13:18:17 if that debian image has getent that would be better. Aug 03 13:18:46 getent works but ping not Aug 03 13:19:18 it only works without google.com Aug 03 13:19:39 kona: getent is part of libc-bin, which is a required package, so *every* debian system has getent Aug 03 13:20:21 mister: what's getent give you? Aug 03 13:20:47 getent hosts outputs three ipadresses with 127.0.0.1 Aug 03 13:21:19 do you mean that all three entries are 127.0.0.1? Aug 03 13:21:22 it only works without google.com Aug 03 13:21:26 in other words it doesn't work Aug 03 13:21:38 ^^ Aug 03 13:21:51 it stops doing everything with google.com Aug 03 13:22:00 i dont understand that all Aug 03 13:22:03 why isnt that working Aug 03 13:22:11 because dns resolution isn't working Aug 03 13:22:20 or your interface didn't configure at all. Aug 03 13:22:54 (172.217.6.132) 56(84) bytes of data. if that would get outputted would it be good ? Aug 03 13:23:21 i got that 1 hour ago but now it isnt ouputting that Aug 03 13:23:58 then an hour ago, dns was working Aug 03 13:24:09 that would be one of the expected results, what has changed in that hour? Aug 03 13:24:51 i dont know but i only deleted from the environment file the https and ftp and then added it again but it isnt working Aug 03 13:25:59 ok, if you type: netstat -rn Aug 03 13:26:18 there is an output Aug 03 13:26:53 there will be a bunch of numbers if you're lucky. if the Gateway column is all zeroes, you either didn't get a default route with your dhcp lease, or your lease expired and the bone hasn't renewed it. Aug 03 13:27:14 or the bone tries and didn't receive a favorable response. Aug 03 13:27:23 some are on zero and some have numbers Aug 03 13:27:27 ok. Aug 03 13:27:38 what's your Iface column say? Aug 03 13:27:52 it should say something like eth0 Aug 03 13:28:11 yeah there are 6 on eth0 and 1 usb0 1 usb0 Aug 03 13:28:15 usb1* Aug 03 13:28:45 usbs are on 0.0.0.0 and the 2 middle eth0 Aug 03 13:28:47 ok. Aug 03 13:29:30 what's the output of: ifconfig eth0 | sed 1q Aug 03 13:30:01 in the environment file i have http_proxy=http://username:password@proxy:port/ Aug 03 13:30:05 is that right ? Aug 03 13:30:55 if you substituted your username and password for literal "username:password" then it probably is, but it's also several levels above the first principles we need to check Aug 03 13:31:06 the output of your command is "eth0: flags=-28605 mtu 1500" Aug 03 13:32:15 ok. going back to your netstat output, look at the line that has Destination 0.0.0.0 and look at the Gateway column. try pinging that address Aug 03 13:33:14 it works Aug 03 13:35:52 ok. but getent www.google.com fails? Aug 03 13:44:44 unknown database Aug 03 13:46:25 getent hosts www.google.com doesnt work Aug 03 13:48:41 yes, that. Aug 03 13:49:06 ok, so it might be imprudent to paste the file, but you should examine /var/lib/dhcp/dhclient.leases Aug 03 13:49:17 and see if the information makes sense Aug 03 13:50:06 and also make sure that /etc/resolv.conf has name servers that make sense. i know you checked that several hours ago, but we've also established that something changed in the last 90 minutes, so its worth checking Aug 03 13:50:52 i dont understand what to do Aug 03 13:51:48 what do to in resolv.conf ? Aug 03 13:52:47 in resolv.conf there are 3 nameserver with different ip adresses Aug 03 13:54:37 do those addresses match any lines in the dhclient.leases? Aug 03 13:56:28 the dhcp directory is empty Aug 03 13:59:29 ? Aug 03 13:59:35 cd .. Aug 03 14:00:22 i found the connman file in lib Aug 03 14:01:44 what's in /etc/network/interfaces? Aug 03 14:03:31 there are the avaible network interfaces and how to activate them Aug 03 14:03:43 does eth0 have the dhcp keyword? Aug 03 14:04:33 #iface eth0 inet dhcp Aug 03 14:04:39 #auto eth0 Aug 03 14:05:25 thats everything i find with eth0 Aug 03 14:06:03 ok, i don't think debian uses connman Aug 03 14:06:10 at least, not by default Aug 03 14:06:20 in this the file is full with #connmanct1 Aug 03 14:07:02 #conman: ethX static config and then its full connmanact1 Aug 03 14:07:15 ok. so, maybe try editing /etc/network/interfaces. Aug 03 14:07:18 iface eth0 inet dhcp Aug 03 14:07:22 auto eth0 Aug 03 14:07:26 (remove the #) Aug 03 14:07:58 then try: ifdown eth0 && ifup eth0 Aug 03 14:08:11 and then getent hosts www.google.com Aug 03 14:09:01 reboot the board ? Aug 03 14:09:31 shouldn't need to Aug 03 14:09:48 ifdown eth0 && ifup eth0 # runs the second command if the first succeeds. Aug 03 14:09:52 https://pastebin.com/bLjegGA8 Aug 03 14:10:13 sudo ifdown eth0 Aug 03 14:10:16 sudo ifup eth0 Aug 03 14:10:50 ifdown: interface not configured Aug 03 14:11:07 we know that's not true. Aug 03 14:11:16 ifup works i think Aug 03 14:11:22 maybe. Aug 03 14:11:30 try getent hosts www.google.com Aug 03 14:11:44 doesnt work Aug 03 14:12:15 ok is /var/lib/dhcp/dhclient.leases Aug 03 14:12:18 still empty? Aug 03 14:12:35 no Aug 03 14:12:43 dhclient.eth0.leases Aug 03 14:12:45 does it have name servers? Aug 03 14:12:46 file Aug 03 14:13:11 does the lease file contain any name server info? Aug 03 14:13:25 domain-name-servers but no normal Aug 03 14:13:53 option subnet-mask, option routers, option ... Aug 03 14:14:25 "but no normal" can you explain that? Aug 03 14:14:44 domain-main-servers, dhcp-server-identifier, netbiose-name-servers Aug 03 14:14:54 thats everything with the word server in it Aug 03 14:15:53 ok. has /etc/resolv.conf changed? Aug 03 14:16:25 no Aug 03 14:16:34 oh yes Aug 03 14:16:46 there ist a search line with our domain-name Aug 03 14:16:56 'search domainname' Aug 03 14:17:05 ok. Aug 03 14:17:39 if your domainname were microsoft.com, i would suggest: getent hosts www.microsoft.com Aug 03 14:17:47 you'll have to substitute your own domain. Aug 03 14:18:25 that works Aug 03 14:18:33 are you on monday also in this chat ? Aug 03 14:18:40 in some minutes i have to go home from work Aug 03 14:18:53 probably will be. Aug 03 14:19:08 im at work on mondy from 6:30 am european time Aug 03 14:20:58 i usually come online around 11am UTC Aug 03 14:22:19 however, if getent gives you a result for your domain but not for, e.g., google, try a few other very common domains and then ask IT for some clues about whether your name servers in /etc/resolv.conf are correct. Aug 03 14:23:33 also, i'm not convinced that we've actually configured your beaglebone well because that interfaces file had everything commented out before, but somehow you were getting a response. we'll need to check whether something else (connman?) is running and if so, we'll have to pick a method and disable others so they don't interfere with each other. Aug 03 14:23:38 have a good weekend, mister Aug 03 14:24:20 thanks for your help hope we will see us on monday Aug 03 15:48:25 has anyone here used a cape from svt electronics Aug 03 15:48:51 https://svtronics.com/contact-us Aug 03 15:53:48 black_13: if you have an actual technical question to ask, it is usually more productive to ask that instead Aug 03 15:54:06 sure Aug 03 15:59:02 I had imaged my bbb rev c and when starting got this https://imgur.com/a/5Ej6Q2U Aug 03 16:00:42 and the problem is? that looks like output from the flasher Aug 03 16:00:58 which is surprising Aug 03 16:01:37 because i took off the display cape then flashed image (the cylon pattern then quiescence) Aug 03 16:02:04 unplugged the bbb and replaced the display cape Aug 03 16:05:10 did you remove the SD-card? Aug 03 16:07:51 no Aug 03 16:08:16 well then you've just answered your own question :) Aug 03 16:08:36 i thought after it was flashed that it was a one time process Aug 03 16:08:55 a flasher card doesn't magically turn into a non-flasher-card Aug 03 16:09:04 the card doesn't destroy itself mission-impossible style, no Aug 03 16:09:12 hehe Aug 03 16:09:35 or it doesn't write to start up script Aug 03 16:09:53 just remove the card, boot the board Aug 03 16:10:13 the cape has two button's reset and start Aug 03 16:10:14 black_13: moreover, even if it did turn into a flasher card, the system would still boot from sd card, which is probably not what you wanted since you've just flashed eMMC Aug 03 16:11:05 if you want to boot from eMMC, remove or erase the sd card Aug 03 16:11:05 yeah i wanted to flash the eMMc then and have the display connected Aug 03 16:18:30 zmatt: as long as the cape is in place nothing happens Aug 03 16:19:18 is the cape actually bbb-compatible? :P Aug 03 16:19:37 sounds like it may be either interfering with eMMC or messing with the boot mode Aug 03 16:20:26 actually, no it can't be interfering with eMMC since the flasher seems to work Aug 03 16:20:41 wait, did you let the flasher complete normally? Aug 03 16:21:08 since if it started reflashing again, if you interrupted it then eMMC will not have a working system Aug 03 16:27:13 i let the flash run to completion Aug 03 16:27:51 it began the cylon pattern then did this for about 15 minutes stopped and powered down Aug 03 16:28:41 then perhaps the cape is messing with the boot mode. is a schematic available? Aug 03 16:29:33 you can try making an sd card with just a bootloader (e.g. wipe partition 1 of your flasher card) and see if it boots from eMMC then Aug 03 16:30:43 the schematic is available Aug 03 16:31:12 zmatt: thanks btw Aug 03 16:31:30 the manual and the schematic are here https://svtronics.com/devbrd?product_id=54 Aug 03 16:32:40 boot mode is determined by SW2 Aug 03 16:36:12 is this on the board or the cape Aug 03 16:36:17 cape Aug 03 16:36:42 it has a uSD setting and an eMMC setting Aug 03 16:38:01 sw2 is the switch at the same location as the two usb connections Aug 03 16:38:04 ? Aug 03 16:38:43 I have no idea where it is located on the cape. the schematic merely tells me it exists and is called "SW2", and the other doc references its existence and the fact it has "uSD" and "eMMC" settings Aug 03 16:39:05 so presumably it is labeled Aug 03 16:45:01 https://imgur.com/a/1ctWDhc Aug 03 16:45:28 company is in Texas i could call Aug 03 16:45:33 those are buttons, not switches Aug 03 16:45:57 I'm assuming you're looking for a small dip switch or something like that Aug 03 16:47:57 lol, just go to the product page you linked to earlier and click on the third image Aug 03 16:48:28 https://svtronics.com/image/cache/data/beagle/back_3_5-500x500.jpg Aug 03 16:53:38 yes looked at the switch at the back Aug 03 16:54:44 so it would seem that if you set to emmc that it would boot of the internal storage Aug 03 16:55:19 the full story is a bit more complicated, but roughly yes Aug 03 16:56:54 on the eMMC position, the search order is { eMMC, uSD, uart, usb }, in the uSD position the search order is { spi, uSD, usb, uart } Aug 03 16:57:16 and it only affects where ROM searches for u-boot, not where u-boot searches for linux Aug 03 16:57:57 so it goes for uboot then uboot loads linux Aug 03 16:58:30 yes (u-boot actually has a two-stage loading process but let's ignore that) Aug 03 16:58:38 i called the company they took my call but support guy was at lunch Aug 03 16:58:49 but the said they were happy to call Aug 03 16:58:55 or talk rather Aug 03 16:59:10 is support still needed? have you flipped the switch to see if it boots? Aug 03 17:00:18 it does not Aug 03 17:00:52 doh! it booots! Aug 03 17:00:55 damn gina Aug 03 17:01:02 :P Aug 03 17:01:45 you need to take out the power then switch then plug back in! Aug 03 17:01:49 duh dah. Aug 03 17:01:51 correct Aug 03 17:01:56 the boot mode is only sampled at power-on Aug 03 17:15:01 zmatt: thanks Aug 03 20:18:01 Looking for help in cross compiling on windows for BBBlack Aug 03 20:18:03 ? Aug 03 20:18:13 Anyone here you can help. Aug 03 20:20:49 Roshan: do you have a concrete question? Aug 03 20:24:22 there should be plenty of options for cross-compiling to linux-arm on windows, e.g. using WSL, eclipse, and I think even microsoft's visual studio Aug 03 20:25:44 yep, visual studio supports it too Aug 03 23:39:05 Does the eMMC on the BBB always give better performance compared to SD cards? or are there exceptions? Aug 03 23:53:23 tchristle_: it can depend Aug 03 23:53:43 for one, not all BBBs have the same eMMC chip Aug 03 23:53:56 newer ones have better performance than older ones Aug 03 23:55:06 that mainly affects write speed, I *think* reads can usually saturate the interface speed, which is twice as high for eMMC as for uSD **** ENDING LOGGING AT Sat Aug 04 02:59:59 2018