**** BEGIN LOGGING AT Thu Dec 18 02:59:58 2014 Dec 18 03:00:17 that's what I have Dec 18 03:00:34 DMZ is also on with no specific source ip, and the destination ip is the same one in that image ^ Dec 18 03:02:02 silly question... Dec 18 03:02:11 can you run nmap and look for that port? Dec 18 03:02:20 or have you... (on that machine) Dec 18 03:02:59 I have no experience with nmap Dec 18 03:03:39 http://superuser.com/questions/769541/is-it-possible-to-ping-an-addressport Dec 18 03:03:46 somewhat relevant Dec 18 03:04:08 here's the relevant part (maybe): nmap -p 80 your.ip Dec 18 03:05:07 a down-and-dirty way would also be to change the ssh port in sshd_config, and have it use 80 for ssh Dec 18 03:05:14 then ssh in from outside Dec 18 03:05:45 try the nmap thing though, might show you the answer Dec 18 03:06:31 tb__, it says it's open/up on port 80 Dec 18 03:07:12 yeah, so then the question is that does that simply mean your machine thinks port 80 is open...but does the router? Dec 18 03:07:45 can ssh in from your outside ip? Dec 18 03:07:52 just basic ssh, i mean Dec 18 03:07:54 port 22 Dec 18 03:11:10 sec Dec 18 03:11:43 yeah ssh root@192.168.1.125 yields success Dec 18 03:11:56 port 22 though, right? Dec 18 03:12:10 I just entered "ssh root@ip" Dec 18 03:12:26 right--you didn't edit /etc/ssh/sshd_config on the BBB, right? Dec 18 03:12:50 no Dec 18 03:12:54 so go into that dir, and open that file Dec 18 03:13:16 it says its using port 22 Dec 18 03:13:24 yeah Dec 18 03:13:43 bad port forwarding? Dec 18 03:13:48 so if you want to test whether or not your router is forwarding port 80, couldn't you simply tell the sshd to listen on port 80? Dec 18 03:13:56 then ssh Dec 18 03:14:15 by the way--are you on Angstrom or Debian? Dec 18 03:14:21 deb Dec 18 03:14:36 ok, then disable root login while you're in that file, lol Dec 18 03:14:50 changing port to 80 and connecting yields success Dec 18 03:14:55 if you leave it on the Internet and it allows root login, you're asking for trouble Dec 18 03:15:01 well, there you go Dec 18 03:15:05 it's not your ISP Dec 18 03:15:51 but if you intend to leave that thing exposed to the WAN, you should disable root login (in that file), and consider changing to an alternate port for ssh Dec 18 03:16:14 ok done Dec 18 03:16:33 you do have another account you can log in with, right? Dec 18 03:16:39 yeah Dec 18 03:16:45 (with root privs?) Dec 18 03:16:47 yeah man Dec 18 03:16:50 I have a serial cable Dec 18 03:16:51 ok, cool Dec 18 03:16:55 gotcha Dec 18 03:17:03 hopefully you won't need it, lol Dec 18 03:17:18 I use it every day Dec 18 03:17:23 teehee. Dec 18 03:17:30 i've never had to Dec 18 03:17:43 I'm looking at my "single port forwarding" tab in my router.. what should external/internal ports be for this Dec 18 03:17:45 i don't tempt fate much though... Dec 18 03:17:50 just doing 80 or 443 in both doesn't work Dec 18 03:17:59 that's what i always did Dec 18 03:18:02 I don't mind using the cable I think it's neat Dec 18 03:18:12 i am NOT the guy to ask about that sort of thing though Dec 18 03:18:12 my router is a pos then Dec 18 03:18:39 seems like i once had a friend help me with NAT though Dec 18 03:18:59 not sure Dec 18 03:19:19 your router is letting 80 through though Dec 18 03:19:23 you just proved it Dec 18 03:21:15 :| Dec 18 03:21:52 don't forget to restart the ssh server after disabling root login Dec 18 03:22:03 unless it does loopback nat, then you need to test port connectivity from somewhere remote, some vps Dec 18 03:22:09 you did that though, i'm guessing Dec 18 03:28:22 how do you find your own gateway address Dec 18 03:28:29 it's not listed in my router and google isn't helpin a lot Dec 18 03:28:50 isn't it like 192.168.1.1? Dec 18 03:29:06 presuming the same subnet Dec 18 03:29:31 oh Dec 18 03:30:55 I just can't get anything to work for the life of me Dec 18 03:31:39 sorry i can't be more help. Dec 18 03:31:55 not much of a network guy Dec 18 03:33:57 'route -n' Dec 18 03:36:01 idwer, that yields https://gist.github.com/anonymous/05fbbfa658d55a43586f Dec 18 03:36:29 I know what it would yield Dec 18 03:37:10 ..I don't know what to do with that data Dec 18 03:38:39 he's telling you that is how you can confirm your default gateway Dec 18 03:40:10 the only one it gives is the router ip Dec 18 03:40:25 you should ask someone you trust to visit the external ip address of your connection Dec 18 03:40:34 http://whatismyipaddress.com/ Dec 18 03:41:46 right, the router IP is your machine's gateway to the Internet Dec 18 03:42:49 I don't understand why this won't work Dec 18 03:42:50 like Dec 18 03:42:56 I'm so frustrated.. it should be so simple Dec 18 03:43:15 well, break down the reasons why it wouldn't work Dec 18 03:43:22 1) server Dec 18 03:43:25 2) router Dec 18 03:43:29 3) client Dec 18 03:43:37 4) ISP Dec 18 03:44:03 give these a try: http://www.canyouseeme.org/ Dec 18 03:44:04 http://www.checkmyports.net/ Dec 18 03:44:07 we know your router isn't the issue--well like idwer said, you can have someone else ping you on port 80 Dec 18 03:45:09 I can't use those from the beagle idwer Dec 18 03:45:10 heh...my port is blocked here, lol. Dec 18 03:45:16 all I have is serial terminal Dec 18 03:45:22 i am not using TWC now though Dec 18 03:45:35 back to my list Dec 18 03:45:49 is there a config file for this nginx thingy? Dec 18 03:46:02 you are saying you've logged on to IRC over serial? that is pretty badass ;) Dec 18 03:46:12 no Dec 18 03:46:15 done it Dec 18 03:46:25 there's a cool command line irc program Dec 18 03:46:29 I am using a fbsd box to use IRC. On the same network I have a beaglebone black that runs nginx Dec 18 03:46:49 irrsi Dec 18 03:46:53 irssi Dec 18 03:47:03 alright Dec 18 03:47:20 so, how would you open the website you want to show to the world? Dec 18 03:47:30 https://www.mydomain.com/ Dec 18 03:47:34 no Dec 18 03:47:46 it's pointing to my server ip Dec 18 03:47:52 using firefox, or chrome, or Dec 18 03:48:01 links Dec 18 03:48:10 what do you mean.. my namecheap records (A/CNAME) are doing this Dec 18 03:48:22 forget about dns records Dec 18 03:48:33 and I can use https://www.mydomain.com/ on THIS computer and see my website Dec 18 03:48:42 because I'm on the same network Dec 18 03:49:22 which web browser do you use to open mydomain.com ? Dec 18 03:50:58 firefox Dec 18 03:51:10 well then just open a new tab Dec 18 03:51:12 ctrl+t Dec 18 03:51:14 http://www.checkmyports.net/ Dec 18 03:51:26 or http://www.canyouseeme.org/ Dec 18 03:51:44 that gives me *my* ip address Dec 18 03:51:47 not my beaglebone ip Dec 18 03:52:14 inet 192.168.1.125/24 brd 192.168.1.255 scope global eth0 is the beagle Dec 18 03:53:13 that's your LAN address Dec 18 03:53:13 and if I browse to my own IP address in the browser bar it brings up my router login page Dec 18 03:54:28 indeed, and the public IP address is what you want to have interrogated Dec 18 03:54:36 on.. whichever port you're forwarding Dec 18 03:54:50 right, that is called loopback nat Dec 18 03:55:32 I don't know how to get the IP for the beaglebone then.. I have no gui/browser for it and curl http://whatismyip.org/ does not yield an IP number, just broken html/js that does not contain an IP number Dec 18 03:56:11 your BBB doesn't have any other IP address on the WAN Dec 18 03:56:15 your router does Dec 18 03:56:29 whatismyip shows your router's IP address Dec 18 03:56:36 that one seems like a sinkhole.org Dec 18 03:56:36 ok Dec 18 03:56:55 how do I determine the ip for the bbb Dec 18 03:56:55 then the router (default gateway) routes the data to whatever machine on your LAN requested it Dec 18 03:57:02 you already did Dec 18 03:57:09 192.168.1.125 Dec 18 03:57:14 so... Dec 18 03:57:26 ok.. I'm confused as to what is going on then Dec 18 03:57:28 the question is how do you get traffic from the WAN to the BBB Dec 18 03:57:38 spot on Dec 18 03:57:41 your ISP gives you an IP address Dec 18 03:57:54 let's say it is 74.123.88.12 Dec 18 03:57:59 it changes Dec 18 03:58:09 it's dynamic (likely), unless you get a STATIC ip Dec 18 03:58:18 TWC charges a buttload more for that Dec 18 03:58:22 yeah it's DHCP Dec 18 03:58:33 anyway, you can either get a static IP from TWC (don't)... Dec 18 03:58:39 or use a DDNS Dec 18 03:58:43 dynamic DNS Dec 18 03:59:01 your router sends it's new DHCP-aquired IP to some service Dec 18 03:59:08 you register with that service Dec 18 03:59:13 so for instance Dec 18 03:59:24 my asus router has it for free Dec 18 03:59:31 foo.asuscomm.com Dec 18 03:59:40 but my nginx uses google dns Dec 18 03:59:41 that might be my "virtual" ip Dec 18 03:59:51 DNS is not the same as DDNS Dec 18 03:59:55 and my router doesn't let me specify a custom dns, just dyndns Dec 18 04:00:21 dyndns would be exactly what you want to use Dec 18 04:00:37 so here's the problem: You need to get the nginx traffic from the WAN, to your default gateway (router), then you can port-forward it to the BBB Dec 18 04:01:11 fuck that noise Dec 18 04:01:16 dyndns == DDNS, i presume? Dec 18 04:01:18 I'm not paying 30/mo+ for that Dec 18 04:02:04 but if you're going to host a site that you want people (and yourself) to access, it must be locatable Dec 18 04:02:38 your IP must not change--either because your ISP gives you a static one, or because you register with a DDNS service Dec 18 04:02:44 I don't see why I need some bullshit external service for it that costs me more money Dec 18 04:02:45 --. http://lifehacker.com/the-best-free-alternatives-to-dyndns-1561556205 Dec 18 04:02:47 those are your two options. period Dec 18 04:03:06 well, how do you think people will find your ip? Dec 18 04:03:17 the ISP keeps changing it, lol Dec 18 04:04:22 I can make it static Dec 18 04:04:30 $25 per year is pretty cheap Dec 18 04:04:36 so is http://www.1dollar-webhosting.com/ Dec 18 04:04:46 there you go Dec 18 04:04:50 $1 sounds good Dec 18 04:04:55 anyway, I think we're done Dec 18 04:05:58 one last thing py0... if you by chance want to upgrade your router, Asus (for example) offers a free DDNS service Dec 18 04:06:20 but a $75 spiffy router (that's what mine cost), get free DDNS Dec 18 04:06:21 http://i.imgur.com/b4vobfR.png Dec 18 04:06:44 I don't need that Dec 18 04:06:48 I can enable a static ip Dec 18 04:06:56 yeah, i think they are saying "enter the values your ISP gave you" Dec 18 04:07:21 that first field there... "Internet IPv4 address" Dec 18 04:07:27 you'd get that from your ISP Dec 18 04:07:46 and then they wouldn't have you on DHCP anymore Dec 18 04:08:14 what brand/model is your router? Dec 18 04:08:19 even so, namecheap offers this Dec 18 04:08:23 nor will you be using the right gateway, when things change Dec 18 04:08:36 the link idwer first gave lists namecheap as an alternative Dec 18 04:08:43 they happen to be the company I use the domain with Dec 18 04:08:47 ok Dec 18 04:08:51 but I fail to see what else I can do with them Dec 18 04:09:00 what router do you have? Dec 18 04:09:04 brand, model Dec 18 04:09:20 cisco ea6300 Dec 18 04:11:25 http://www.noip.com/remote-access Dec 18 04:11:29 free Dec 18 04:11:49 you need to re-register every 30 days, but the hostname never expires Dec 18 04:12:15 then... http://www.noip.com/support/knowledgebase/using-your-cisco-router-with-no-ip-dynamic-dns-services/ Dec 18 04:12:19 how to set it up Dec 18 04:12:47 (general guide--might not be exactly for your model) Dec 18 04:12:59 but namecheap gives me an option to enable dynamic dns for my domain Dec 18 04:13:31 oh...then there you go Dec 18 04:13:34 http://www.firewall.cx/cisco-technical-knowledgebase/cisco-routers/811-cisco-router-ddns.html Dec 18 04:13:46 another page to assist with Cisco router setup Dec 18 04:14:03 it's for no-ip.com, but the steps should at least be similar Dec 18 04:16:23 I've got no idea how they get to that terminal tb__ Dec 18 04:16:30 R1(config) Dec 18 04:16:47 an aironet does not run ios Dec 18 04:17:12 oops Dec 18 04:17:15 good catch Dec 18 04:17:23 sorry Dec 18 04:18:30 maybe it's even easier then--simply get a no-ip.com or namecheap DDNS account, and Google for setting it up with your router Dec 18 04:18:59 I can't get it to work. All namecheap gives me is a domain name, tells me my host name can be anything I enter, and a string for a password Dec 18 04:19:10 the router wants a username and says the pass is invalid Dec 18 04:19:35 I would call their support phone number Dec 18 04:20:05 besides DynDNS.org, are there any other DDNS providers listed in the drop-down menu on the DDNS setup page? Dec 18 04:20:13 py0, change the password to something easy then. Dec 18 04:20:19 you can't Dec 18 04:20:26 ur fucked Dec 18 04:20:34 lol Dec 18 04:20:45 I'm probably just going to return my beagle Dec 18 04:20:47 and say fuck it all Dec 18 04:20:55 this seems like Dec 18 04:20:58 a namecheap problem Dec 18 04:20:58 because this is bullshit Dec 18 04:20:58 to me Dec 18 04:21:02 you have dns bullshit Dec 18 04:21:04 not beagle bullshit Dec 18 04:21:07 whatever problem you have is not with the beagle Dec 18 04:21:21 well, can't you just enter the namecheap info into the DDNS setup page in the router? Dec 18 04:21:32 what the fuck does your router have to do with your beagle? Dec 18 04:21:33 tb__, I'm trying to tell you that it does not work Dec 18 04:21:33 nothing wrong with the BBB, right Dec 18 04:21:34 I'm lost Dec 18 04:21:42 why do we care about this here? Dec 18 04:21:50 https://www.namecheap.com/support/live-chat.aspx?loc=%2fdomains%2ffreedns.aspx Dec 18 04:21:51 end Dec 18 04:21:51 in the provider list, is there anything else? Dec 18 04:22:15 I bet they like IRC logs (: Dec 18 04:22:51 idwer, your URL redirects me to the domains page Dec 18 04:24:17 welcome to live chat support live chat support Dec 18 04:24:22 this is toba, how may i be of assistance Dec 18 04:24:33 py0 may i posit that you're bad at computers Dec 18 04:25:06 the button is at the bottom Dec 18 04:25:07 I just think it's fucking retarded that I would need some external bullshit service to do something like this from my own network Dec 18 04:25:13 you don't Dec 18 04:25:17 if you set up your own bind server Dec 18 04:25:22 and write a few shell scripts Dec 18 04:25:29 a friend of mine set up his own thing Dec 18 04:25:38 you can either use an external service Dec 18 04:25:41 or you can set the service up yourself Dec 18 04:25:46 Toba: that is called overengineering Dec 18 04:25:49 yes Dec 18 04:25:58 which is why py0 should actually read the page, and click the button at the bottom Dec 18 04:26:02 instead of saying he got 'redirected' Dec 18 04:26:04 which he didn't Dec 18 04:26:09 and he should calm down and talk to support Dec 18 04:26:15 i don't know why i care so much but he's being a dumbass Dec 18 04:26:24 in fact, this is a waste of everyone's time Dec 18 04:27:01 here you go... https://wiki.debian.org/DDNS Dec 18 04:27:03 have at it Dec 18 04:27:16 it took me a full day to get namecheap dyndns working on ubuntu server Dec 18 04:27:26 it was not obvious Dec 18 04:27:39 and that was on a plain pc Dec 18 04:29:02 fuck that toba guy haha, I totally appreciate what tb__ & idwer have done Dec 18 04:29:53 that DDNS drop-down list py0, does it have any other names in it? Dec 18 04:30:02 (i missed it if you already answered this) Dec 18 04:30:24 tzo.com Dec 18 04:30:46 have you checked them out? Dec 18 04:31:01 they were acquired by dyn Dec 18 04:31:02 -_- Dec 18 04:31:24 yeah, i see that now on their website Dec 18 04:31:31 in any case Dec 18 04:31:48 I am way too pissed off to be doing this, but your last URL looks promising Dec 18 04:31:54 I'll do that in the morning Dec 18 04:31:57 sorry man--seems like (in reading the user's guide for your Linksys/cisco router) there aren't many DDNS options for you Dec 18 04:32:24 you have to learn to not get pissed off at computers Dec 18 04:32:32 especially where Linux is involved, lol Dec 18 04:32:56 there's a lot of frustration involved, but you can pretty much get anything to work...eventually Dec 18 04:33:00 I hate debian and I hate dns Dec 18 04:33:13 you mean DDNS Dec 18 04:33:16 ? Dec 18 04:33:17 all of it Dec 18 04:33:27 without DNS you won't ever use the Internet again Dec 18 04:33:33 good riddens Dec 18 04:33:41 LOL Dec 18 04:33:49 time for a friggin #powernap Dec 18 04:34:06 py0 leaves the Internet, never to be seen again Dec 18 04:34:10 thanks for your help Dec 18 04:34:14 no sweat Dec 18 04:34:28 sorry it didn't work out for you--but at least you learned about DDNS Dec 18 04:34:34 look at the bright side Dec 18 04:35:41 I'm gonna go look at the bright side of my pillow Dec 18 04:35:45 on another (BBB-related) note... Dec 18 04:35:51 (nite py0) Dec 18 04:36:20 i've been wondering why people would thread an app on a single-core machine like the BBB Dec 18 04:36:25 scratching my head Dec 18 04:36:38 then i get to the workings of Node.js Dec 18 04:36:54 ...so much for my ideas Dec 18 04:43:05 nice... got bbb default booting jessie from sd Dec 18 04:43:21 cool Dec 18 04:43:44 so it wasn't an eMMC flasher then? Dec 18 04:44:15 no... not a flasher Dec 18 04:44:51 had to rename the MLO file on emmc to default boot from sd Dec 18 04:45:22 rename it to what? Dec 18 04:45:31 just something else? Dec 18 04:46:08 the image from elinux is great... i was able to write it to sd on the bbb... just had to install parted Dec 18 04:46:15 MLO.bak Dec 18 04:46:38 yes, just something else Dec 18 04:46:47 ah, gotcha Dec 18 04:46:56 the old switch-a-roo Dec 18 04:47:14 ah.. this reminds me of having to use xmas' time off to install stock debian on my bbb Dec 18 04:47:53 that's what i went back to Dec 18 04:47:58 less stress, lol Dec 18 04:48:05 * tb__ was getting like py0 Dec 18 04:51:30 no more cloud9, too Dec 18 04:51:38 oh? Dec 18 04:51:52 you got the minimal image? Dec 18 04:51:55 with stock debby? Dec 18 04:52:12 I forgot what it's running right now Dec 18 04:52:20 i got the "latest" from the BB website and it comes with cloud9 Dec 18 04:52:21 but want to fiddle with https://www.debian.org/releases/testing/armhf/ch04s02.html.en Dec 18 04:53:16 you like pain Dec 18 04:53:44 * tb__ is somewhat new to Debian, and hasn't yet fully appreciated the value of the "testing" and "unstable" branches Dec 18 04:55:45 no pain, no gain Dec 18 04:56:02 i'm old. Dec 18 04:56:11 had enough pain Dec 18 04:56:29 I spent about 20h on setting up logstash+graylog2, so.. agony :) Dec 18 04:56:40 ok Dec 18 04:56:56 so...do you have grandkids Dec 18 04:57:14 grandcats Dec 18 04:57:18 do they count? Dec 18 04:57:52 daughter old enough to have some grandkids for us...but nothing yet Dec 18 04:57:56 (thankfully) Dec 18 04:58:16 hey, we'd take them though Dec 18 04:58:21 life is too short Dec 18 05:01:48 COOL! $ dpkg-query -Wf '${Installed-Size}\t${Package}\n' | sort -n Dec 18 05:01:54 that is cool Dec 18 05:02:17 pipe it to less though Dec 18 05:04:41 python2.7-dev is 33600 Bytes Dec 18 05:05:01 5 linux-image-amd64 Dec 18 05:05:03 ;) Dec 18 05:05:05 or is that 33600KB? Dec 18 05:05:17 doesn't say the units Dec 18 05:05:21 versus 105685 linux-image-3.2.0-4-amd64 Dec 18 05:06:32 not sure how to interpret those units Dec 18 05:06:36 must be Bytes Dec 18 05:07:45 defintely a great candidate for an alias in the old .bash_profile file Dec 18 05:08:26 total noob here with a curiosity about the PRU things on the beaglebone black Dec 18 05:08:39 mainly: can they access the main RAM? Dec 18 05:09:27 nope...KB! Dec 18 05:09:47 yea, i believe i read they have DMA Dec 18 05:10:35 so beagleboard.org has a flasher image and an sd image... i am currently booting from sd, so i am betting i can write the bb.org sd image to the emmc and skip the whole flasher procedure... sound feasible? Dec 18 05:10:52 "The disk space is given as the integer value of the estimated installed size in bytes, divided by 1024 and rounded up." Dec 18 05:11:03 sonant: look up what ASLR is, and can do for you Dec 18 05:11:21 will do, thanks Dec 18 05:11:28 beaglenoob, i don't think it will flash the MMC Dec 18 05:11:44 if it's not an eMMC flasher image, it won't flash the eMMC...right? Dec 18 05:12:16 there should be an eMMC-flasher image available for that same version though Dec 18 05:13:03 so idwer, those sizes have been divided by 1024...meaning they are KBs Dec 18 05:13:07 yes, but what i've read says the ac power adapter is required to use the flasher and i only have usb power at the moment Dec 18 05:13:20 tb__: or KiBs? Dec 18 05:13:26 yeah Dec 18 05:13:31 good point Dec 18 05:13:46 good old kibibytes Dec 18 05:14:19 beaglenoob, what does the power adapter have to do with trying to get a non-eMMC flasher to flash the eMMC? Dec 18 05:14:21 iirc KB is 1000, KiB 32^2 Dec 18 05:14:52 yeah, kibi means 1024 Dec 18 05:14:56 kilo means 1000 Dec 18 05:15:00 good old metric system Dec 18 05:15:08 "Bloke" Dec 18 05:15:40 just some docs that i have read which strongly recommend the ac adapter for flashing which i do not have Dec 18 05:16:23 ok, but still--that says nothing about being able to flash the eMMC with a non-eMMC-flasher...just because you have 5VDC external power Dec 18 05:16:33 the two aren't connected, so far as I know Dec 18 05:18:28 Java looks like a viable option on the BBB as well Dec 18 05:20:36 "...the performance (of Java) was less than 20% slower (including dynamic translation) then that of the natively compiled C++ code, with only a minor additional memory overhead." Dec 18 05:21:44 hmm, here is a blog about imaging the emmc directly http://shrkey.com/setting-up-beaglebone-black-to-boot-off-the-microsd-card/ Dec 18 05:22:52 ugh... Royalty payment required if deployed on an embedded system Dec 18 05:23:57 interesting beaglenoob Dec 18 05:24:11 seems to suggest that there is nothing special about those eMMC flashers Dec 18 05:24:24 so what makes them different, i wonder? Dec 18 05:25:39 maybe just a script that does the imaging automatically, instead of having to do it maunally? Dec 18 05:26:15 yeah Dec 18 05:26:32 seems like it would be worth a try--i did not know it was possible, so i learned something Dec 18 05:27:34 yeah... think i will try it... i am avoiding pushing that boot button at all costs Dec 18 05:27:42 lol Dec 18 05:27:54 well, what can it hurt? Dec 18 05:28:12 to try it, i mean Dec 18 05:28:55 worst case scenario is pressing that boot button to reimage, i suppose Dec 18 05:30:21 right Dec 18 05:30:26 so what Dec 18 05:30:34 at least you'll have your answer Dec 18 05:31:04 the one thing is that they are directly targeting /dev/mmcblk1 Dec 18 05:32:14 and he indicates that you might not have an issue with the USB power Dec 18 05:32:42 "If you don't see any lights come on, then it is usually because of a power issue--if you are powering over USB..." Dec 18 05:33:08 in other words--it might work, but IF it doesn't...then try 5vdc ext power Dec 18 05:34:21 helpful blog Dec 18 05:37:55 i am finding elinux to be a much better source of bbb debian: http://elinux.org/BeagleBoardDebian Dec 18 05:38:07 much more up to date than bb.org Dec 18 05:39:23 yeah, that's where RobertCNelson's stuff is, i think Dec 18 05:39:36 yup Dec 18 05:39:41 rcn-ee.bet Dec 18 05:39:43 .net Dec 18 05:39:50 isn't that him? Dec 18 05:40:02 i was downloading the official 7.5 image from bb.org when i noticed the 7.7 image on elinux Dec 18 05:40:07 ya, thats him Dec 18 05:40:20 cool site--i forgot about that one Dec 18 05:41:01 he works for DigiKey Dec 18 05:41:07 GREAT company Dec 18 05:43:23 well, time to sleep Dec 18 05:43:37 educational evening...thanks all Dec 18 05:51:13 emmc imaging in progress Dec 18 06:20:51 imaged the emmc directly... pulled sd card... shit boots Dec 18 12:46:56 Hi all, Dec 18 12:46:56 I'm trying to use a WL18xx Cape with a BBB. I came a bit forward with tips from mdp here in this channel but I'm still having one issue. Dec 18 12:46:56 Im using Yocto Beaglebone build Dec 18 12:46:56 *WL drivers are fine, loads ok with modprobe Dec 18 12:46:56 *Rebuilded u-boot to set keep eMMC in reset from boot and to keep buffers enabled on the WL18cape Dec 18 12:46:58 This works, when U-boot starts the leds lid up on the WL18xx cape but as soon as linux boots, early early in the boot process I can see that the GPIO pins mentioned above are set low. When I check the pin status via the /sys/class/gpio I can see that they are configured as inputs, pins 52 and 61 (GPIO1_20 and GPIO1_29). Dec 18 12:47:02 My device tree is set to use gpio-hogs to keep this pins high but I think that that part doesn't work. Dec 18 12:47:04 Do you have any pointer in where I could look to find who/which driver that manipulate my pins? Dec 18 12:47:06 And also, I can set the pins when booted up already to the state I want them in, is there a way to rescan the SDIO bus to find the WL18xx cape? Thanks for your help Dec 18 13:26:00 Rybok: did you apply/backport the gpio hogs patch to your kernel? Dec 18 13:26:25 I don't mean the dts part Dec 18 13:29:14 No, I searched for it but I wasn't sure, I was hoping that it was somethign like that, where can I find it? Dec 18 13:29:31 I have that patch in the branch in referenced the other day Dec 18 13:29:38 Sec Dec 18 13:29:45 Ok, I have the text saved, I'll find it! Dec 18 13:31:13 Its this one right? https://github.com/ohporter/linux/commit/133812926e02e35b188b96d459fcde53bbd2abfb Dec 18 13:34:11 Commit 133812926e on ohporter/linux (https://github.com/ohporter/linux/commit/133812926e02e35b188b96d459fcde53bbd2abfb) Dec 18 13:34:26 Heh, yes Dec 18 13:37:37 Thanks mdp, I spent a few hours since you last advice, they were all good but in Yocto, the U-boot didn't had support for GPIO set mechanism so I had to rebuild it, and still wouln't read the uEnv so I added the GPIO set to the standard boot command Dec 18 13:48:12 hi folks i am trying to bring ucos-|| on beagle bone can any one tell me how to proceed i have compiled source code for cortex 8 but i don't know what i should flash and how i should flash Dec 18 14:05:41 superswap, to start perhaps try loading it over tftp into memory from u-boot and executing from RAM. Dec 18 14:12:44 you mean to say the sdcard should have u-boot bootloader compiled for beaglebone and the image i got after compiling Dec 18 14:13:05 @georgem Dec 18 14:19:35 superswap: that would probably work too. I think would just use one that was running the stock image and get to the u-boot prompt then load via tftp. Dec 18 14:21:03 my bbb doesn't boot when it gets plugged in.. the light between 5v and eth holds solid, if I hold down the power button for ~8 seconds it immediately comes back on and stays solid again Dec 18 14:22:56 have you connected a serial cable? Dec 18 14:22:59 yeah Dec 18 14:23:03 what do you get? Dec 18 14:23:08 all ports busy Dec 18 14:23:26 o_0 Dec 18 14:23:31 ok... Dec 18 14:23:36 step one: dont use windows Dec 18 14:23:42 step two: what output do you get? Dec 18 14:23:45 thankyou georgem Dec 18 14:24:02 step three: send me some chocolate and some liquor to mdp Dec 18 14:24:03 I don't have windows.. and I guess I don't know what you mean when you say output Dec 18 14:24:21 you should see characters being output by the system Dec 18 14:24:24 on the serial port Dec 18 14:24:28 no.. Dec 18 14:24:30 on the debug serial port Dec 18 14:24:34 no output at all? Dec 18 14:24:46 can't use debug serial because I have no means of connecting the 2 wires Dec 18 14:24:51 ah.. Dec 18 14:25:02 well, then buy a serial connector, hub or whatever you need Dec 18 14:25:14 dont try to climb mount everest blindfolded Dec 18 14:25:33 I shouldn't need to use the debug port Dec 18 14:25:41 yes Dec 18 14:25:44 but if things dont work Dec 18 14:25:54 they get returned Dec 18 14:26:08 it's like having a car mechanic. you shouldnt need one, but if your car doesnt start... Dec 18 14:26:48 KotH: then you figure out what's wrong with it and then fix it... Dec 18 14:26:54 oh... wait that's just what I do Dec 18 14:27:55 there's no way for me to figure out what's wrong with it bub Dec 18 14:28:14 There is but you are refusing to take our advice on how to do so. Dec 18 14:28:21 well.. if you start with the believe that you are incapable of doing somethng, then you cannot do it of course Dec 18 14:28:24 How can we help if you refuse to help yourself? Dec 18 14:28:31 can't use debug serial because I have no means of connecting the 2 wires Dec 18 14:28:53 Can you elaborate on that? Dec 18 14:29:03 rx/tx Dec 18 14:29:18 OK, why do you have no means of connecting to those? Dec 18 14:29:34 Are you lacking a TTL-level serial adapter? Dec 18 14:29:45 I have a usb to ttl serial cord Dec 18 14:29:54 OK. Dec 18 14:29:55 but I can't get a prompt because it says "all ports busy" Dec 18 14:30:09 THat sounds a lot like you have a problem on your host computer. Dec 18 14:36:57 Hello – I'm trying to build a detector that would sense a voltage increase via the analog GPIO AINx pins from a smoke detector that outputs 0.6v when activated. When monitoring the AINx pin there is a wide fluctuation in values between 0 to over 1000 baseline. Why is this so and how can I prevent the baseline fluctuation? Dec 18 14:37:53 marc___: it's called noise Dec 18 14:37:56 marc___: What you are seeing is electrical noise. Dec 18 14:37:57 marc___: a) make sure the input signal is clean b) use a smoothing algorithm to debounce etc Dec 18 14:38:01 marc___: you can prevent it by filtering Dec 18 14:38:06 marc___: And there are many, many ways to reduce it. Dec 18 14:38:13 marc___: but there is an inherent noise in an uC/SoC integrated ADC Dec 18 14:38:23 marc___: ie, you will not get rid of it completely Dec 18 14:38:44 (there is inherent noise in *any* ADC... ;-P) Dec 18 14:39:07 yeah, that's where you throw away a few of the LSB usually Dec 18 14:39:11 can I apply a reference voltage from the board via a voltage divider to eliminate noise? Dec 18 14:39:36 reduce not eliminate - sorry Dec 18 14:40:01 agmlego: yes, but usually it's less than 2LSB, while an uC/SoC ADC has >4LSB usually... or like in the case of STM32F4xx you get closer to 60LSB Dec 18 14:40:24 marc___: depends on the circuit Dec 18 14:40:29 marc___: noise can come from anywhere Dec 18 14:40:36 marc___: there is not a single panacea Dec 18 14:40:48 marc___: it highly depends on where your circuit fails, and why Dec 18 14:41:03 if it's anywhere near mains voltage, consider shielded lines or at least AC rejection Dec 18 14:41:27 looking at the input with a scope could help Dec 18 14:41:40 tbr: in my experience, a badly designed uC board is far worse than what you get from mains Dec 18 14:41:48 *nod* Dec 18 14:42:15 thanks - will try the reference volage with voltage divider first? Dec 18 14:42:31 "i'm only clocking this 74VCX00 with 10kHz. it will not produce any high frequency components!" Dec 18 14:42:40 marc___: how long is the line between the detector and the BBB? Dec 18 14:42:49 marc___: i didnt say that this will help Dec 18 14:42:55 marc___: it depends on your circuit Dec 18 14:42:58 about 2 feet Dec 18 14:43:04 marc___: if the problem is an unstable reference, then that might help Dec 18 14:43:11 marc___: but it is usually not the refernece Dec 18 14:44:29 marc___: also, we use the rebel units in this channel Dec 18 14:44:40 SI? Dec 18 14:44:45 yes Dec 18 14:44:59 yes - my preference as well. Dec 18 14:47:31 thanks for your help. I will try your suggestions. Dec 18 17:20:58 mdp: Hi again, so I backported the gpio-hogging patch, still, the leds goes off when U-boot prints "Starting kernel ...." On the serial line... Dec 18 17:22:08 I can still see that the eMMC is being recognized, this is what dmesg | grep mmc says Dec 18 17:22:09 mmc0: host does not support reading read-only switch. assuming write-enable. Dec 18 17:22:09 mmc0: new high speed SDHC card at address 0002 Dec 18 17:22:09 mmcblk0: mmc0:0002 00000 7.32 GiB Dec 18 17:22:09 mmcblk0: p1 p2 p3 Dec 18 17:22:09 mmc1: BKOPS_EN bit is not set Dec 18 17:22:11 mmc1: new high speed MMC card at address 0001 Dec 18 17:22:13 mmcblk1: mmc1:0001 MMC04G 3.60 GiB Dec 18 17:22:15 mmcblk1boot0: mmc1:0001 MMC04G partition 1 2.00 MiB Dec 18 17:22:17 mmcblk1boot1: mmc1:0001 MMC04G partition 2 2.00 MiB Dec 18 17:22:19 Rybok: interesting, sounds like it's not getting engaged properly, that's exactly the symptom if it weren't enabled Dec 18 17:23:03 yeah, that's what will happen as the eMMC is not held in reset, and the buffers are not enabled to gate the wlan part Dec 18 17:23:05 Yes, yes, I agree, and it is also confirmed by the gpio class since there I can read the the gpio 61 and 52 are set to inputs Dec 18 17:23:16 can you pastebin your dts file please for review? Dec 18 17:23:24 ofcourse Dec 18 17:25:49 Im trying to figure out how to paste bin, Im afraid I will spam the window if I just paste, right? Dec 18 17:28:27 correct Dec 18 17:29:32 pastebin is a class of site such as http://www.pastebin.com/ where you can paste your code then link to the created page Dec 18 17:30:19 there are lots of similar sites if you don't want to use that specific site for some reason Dec 18 17:30:21 Yes, i got a plugin for it, must restart xchat Dec 18 17:30:30 thanks, brb Dec 18 17:31:14 pastebin Dec 18 17:41:22 mdp: I had to pastbin manually, but it should be the exact same dts that I got from you: http://pastebin.com/vDHhSK7F Dec 18 17:42:51 http://pastebin.com/Y818fym3 Dec 18 18:53:45 hi guys i'm trying to port ucos on beagle bone can any one guide me with this or send some link which will be usefull i'm new to ucos Dec 18 19:00:26 Hello :) Dec 18 20:23:54 What's the fastest that a BeagleBone Black can go from receiving power to running a Linux userspace program? Dec 18 20:25:26 How good are you at boot-process optimisation, especially removing unnecessary services and dependencies? Dec 18 20:26:21 I'll start with a minimal image and use either upstart or systemd, depending on which distro I settle on. Dec 18 20:27:50 For this project, the main program is written in OCaml, so it should have minimal startup overhead of its own. Dec 18 20:29:02 I'm working on an in-car music player (for my father for Christmas) using Liquidsoap. So the important thing is to start getting audio soon after he starts the car and the board receives power. Dec 18 20:32:51 mwcampbell 2-4 seconds Dec 18 20:33:01 excellent, thanks Dec 18 20:33:14 or a bit more on the bbb Dec 18 20:33:52 I figure 10 seconds will be good enough Dec 18 20:34:43 10 seconds should be doable without graphical stuff Dec 18 20:35:32 hm with framebuffer or wayland 10 seconds should be doable too Dec 18 20:35:43 this configuration will be headless Dec 18 20:35:48 Well the factory images does it in 10/11 seconds to console.. there's lot of tweaks you can do to u-boot to speed things up.. Dec 18 20:36:20 rcn-ee good to know Dec 18 20:37:07 if all your doing is mp3 decode, you could just put you application in the initrd and use the rootfs as storage.. Dec 18 20:38:51 then you can keep the rootfs ro, which will help it solve voltage drops assocated with shutting the car down.. Dec 18 20:40:08 rcn-ee: good idea, I wouldn't have thought of that. thanks Dec 18 20:44:30 hm right proably you can do all in memory Dec 18 20:44:53 besides reading the files from sd card Dec 18 20:45:55 Even if I don't run the application straight out of the initrd, I can use fsprotect. I've done that in a previous project (an x86-based appliance) Dec 18 20:47:04 How to connect a DAC with the beaglebone Dec 18 20:47:53 plug it to the usb port Dec 18 20:50:39 Can anyone recommend a stereo FM audio transmitter (short-range) to use with the BBB? And how would it be connected? Dec 18 20:54:59 What version of Linux provides the most stable USB driver? I keep getting all sorts of bus resets. Dec 18 20:55:29 example https://bpaste.net/show/a4ff1551200d Dec 18 20:59:43 codehero maybe the latest Dec 18 21:09:28 woglinde: I have 3.18.0-bone1, did they fix anything since then? Dec 18 21:25:19 * mdp missed Rybok Dec 19 00:04:34 Hello? Dec 19 00:19:58 Aptos: Just go ahead and ask your question, there are plenty of people lurking. Dec 19 00:27:24 I'm back! Dec 19 00:27:33 grats ;) Dec 19 00:28:46 So my question is... What is the voltage that Beaglebon Black spits out for the pins that can give a PWM signal... I am going to use it to drive about 12 transistors and I need to know the voltage to get the right transistors Dec 19 00:33:20 I believe that all of the digital IO on the bone is 3.3V. Dec 19 00:34:51 Alright... I'm not like a big expert on how amps are taken into account when using different components but do you think that the amperage would matter when I choose my transistors? Dec 19 00:36:29 Yes if you use BJTs. Dec 19 00:36:35 If you use FETs, no. Dec 19 00:37:03 I'm using fets Dec 19 00:37:14 N to be exact Dec 19 00:37:31 THen as long as the Vgs is 3.3V or less, you are fine. Dec 19 00:39:11 Thanks man Dec 19 00:39:38 No problem. Dec 19 00:40:00 It doesn't seem like you guys are too busy so I think I will ask some more Q's. Dec 19 00:40:29 Aptos: Go for it, but keep in mind this is a channel of volunteers. ;-P Dec 19 00:42:29 I understand :D The BeagleBone that I am using will be down on a underwater robot 50ft away from the surface. I was thinking we could run 5v power down on two normal wires and then yoke them with the wire of a male USB to power the Beagle (not supplying any signal or information). Do you think that there will be a power drop over that distance and will be be harmful? Dec 19 00:44:23 Yes there will be a power drop, and that is easily calculated. Dec 19 00:44:55 There are even online calculators for voltage drop. Dec 19 00:45:08 Personally, I would change two things: Dec 19 00:45:22 1. Run higher than 5V to the ROV and regulate locally. Dec 19 00:45:39 2. Put the power into the barrel connector. Dec 19 00:56:29 Ok Dec 19 00:57:27 Have you ever experienced the Beagle crashing because of too much power usage? Dec 19 00:57:47 ...too *much* power usage? Dec 19 00:58:05 Because my friend who will be doing all the software for it is worried that will be a problem Dec 19 00:58:48 As in too much I mean by using too many pins at one time :D Dec 19 00:59:09 As long as you have a sufficiently stiff power supply, it should be fine. Dec 19 00:59:17 you mean using the GPIOs for welding? Dec 19 00:59:26 You should aim to get around 2A at 5V available at the barrel jack. Dec 19 01:05:16 Ok, would it hurt to put some capacitors in front of the power into the beagle? Dec 19 01:05:41 =) Dec 19 01:06:02 Aptos: Probably not. WHy do you ask? Dec 19 01:06:58 Just in case the power isn't perfect Dec 19 01:07:32 Do you have experience with Aurduinos? Dec 19 01:07:58 Arduino* Dec 19 01:08:10 Some. Dec 19 01:10:12 Last year we used an arduino on our robot. It had power problems and I am wondering whether that was because it was using the only power cable that went down to the robot... one that also powered our motors. Dec 19 01:10:37 Yes, likely. Dec 19 01:10:44 Motors are very electrically noisy. Dec 19 01:11:07 motors can send large spikes backwards Dec 19 01:13:03 I see Dec 19 01:13:44 motors are inductive Dec 19 01:19:18 Alright, this has been super helpful. Thanks!!! Dec 19 01:22:53 diodes ftw Dec 19 01:27:17 hey guys... what could be the default password for the beaglebone image? Dec 19 01:27:27 I downloaded this: images_bone-debian-7.5-2014-05-14-2gb.img.xz Dec 19 01:27:52 dropped it into the sd card... and booted. I am trying to ssh into it, yet... I am getting denied access using "debian" both for user and password Dec 19 01:27:59 Any idea what it could be? Dec 19 01:29:28 got it... it was "root" and no password Dec 19 01:30:27 Nice! First boot-up of a BBB for me! Dec 19 01:30:29 =D Dec 19 01:43:27 hello everyone Dec 19 01:45:19 i need help on such an easy task Dec 19 01:47:00 i have just bought a beaglebone black which i am upgrading from using propeller boards. Dec 19 01:48:00 i am trying to update the software on the board but i am getting errors Dec 19 01:48:22 apt-get update gives me Dec 19 01:48:54 W: GPG error: http://debian.beagleboard.org wheezy-bbb Release: The following signatures were invalid: KEYEXPIRED 1418840246 KEYEXPIRED 1418840304 KEYEXPIRED 1418840246 KEYEXPIRED 1418840246 KEYEXPIRED 1418840304 Dec 19 01:49:57 i am using ubuntu as my main pc but i have never had this happen Dec 19 01:51:36 if anyone can help i'd really appreciate it Dec 19 01:52:23 Anybody know why a bbb would hang upon issuing a dnssec-keygen commaind for bind Dec 19 01:52:28 https://wiki.debian.org/Bind9 Dec 19 01:52:51 ? Dec 19 01:58:45 i reflashed the OS to a new one but same problem Dec 19 02:01:09 hi Dec 19 02:04:10 BitFlow: not sure why it's being replaced but I copied the current key here http://pastebin.com/XGfQxYum Dec 19 02:04:36 so do a sudo apt-key del 59890110 Dec 19 02:05:07 then paste that key into a file and sudo apt-key add whatever.gpg Dec 19 02:05:27 http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#Flashing_eMMC Should I hold the reset button on boot for this or no Dec 19 02:06:28 oh okay Dec 19 02:06:31 it should start flashing after it powers up Dec 19 02:07:14 nonforma, it didn't.. it only brought up my serial terminal again Dec 19 02:07:38 what image are you using Dec 19 02:08:05 how do i add the new key Dec 19 02:08:09 it's the element14 debian Dec 19 02:08:25 oh Dec 19 02:10:05 what was the filename of the image py0? some of them can auto flash and some can't it seems Dec 19 02:10:22 it's the freebsd beaglebone black image Dec 19 02:11:56 haven't run it so not sure Dec 19 02:15:15 i just flashed mine, if you already put the image on an SD card. hold down the boot select button and plug in the power. continue to hold down the button until it all 4 light light up then let go Dec 19 02:17:33 the 4 lights wont come on when I hold the boot switch Dec 19 02:19:11 the image may not be properly on the sd Dec 19 02:19:13 it just boots into fbsd Dec 19 02:19:29 what isn't proper about it Dec 19 02:20:24 also the button is the one that is on the other side of the board. its not ether of the two that are next to each other Dec 19 02:20:48 ill post the instruction site Dec 19 02:20:56 that's the one I held down Dec 19 02:21:02 as I pressed power button Dec 19 02:21:10 I have a diagram of the board Dec 19 02:21:19 https://learn.adafruit.com/beaglebone-black-installing-operating-systems Dec 19 02:21:55 are you writing the image with windows Dec 19 02:22:51 I don't think freebsd is supported on the emmc is directly supported, would have to be done manually Dec 19 02:23:25 I used dd Dec 19 02:29:10 any progress? Dec 19 02:30:21 i just got the board connected to a monitor. Dec 19 02:30:25 nope, the link you gave me looked exciting but did not prove useful Dec 19 02:32:32 yeah this board is not as backed as i thought... which mean you may have to pioneer this thing Dec 19 02:36:35 give me the OS page i want to try as well Dec 19 02:39:17 https://wiki.freebsd.org/FreeBSD/arm/BeagleBoneBlack Dec 19 02:39:37 ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/arm/armv6/ISO-IMAGES/11.0/ Dec 19 02:42:21 okay one sec Dec 19 02:43:03 DLing Dec 19 02:50:14 you extracted the image from the compression file? Dec 19 02:55:32 yut Dec 19 02:55:56 hey Dec 19 02:56:00 thats an arm ver 6 Dec 19 02:56:24 beaglebone black is ver7 **** ENDING LOGGING AT Fri Dec 19 02:59:59 2014