**** BEGIN LOGGING AT Tue Dec 27 03:00:01 2016 Dec 27 03:56:02 so, new to beaglebone. background - I've been a network engineer for 20 years. got my BBB wireless connected, network performance is *abysmal* Dec 27 03:56:51 pings from the wifi access point are anywhere from 20ms to 1000ms, to be charitable Dec 27 03:57:32 the network is healthy. i haven't looked deep yet but anyone had experience with terrible BBB net performance? Dec 27 04:25:04 meh, enough. i'm going with a microcontroller with mqtt client Dec 27 04:26:37 your missing out on a great board Dec 27 04:26:49 if you dont want it send it to me. ill pay for shipping **** ENDING LOGGING AT Tue Dec 27 07:36:18 2016 **** BEGIN LOGGING AT Wed Dec 28 21:14:25 2016 Dec 28 21:17:27 it just keeps printing a bunch of 'C's :/ Dec 28 21:21:28 raiz: that suggests it failed to find the (early stage) bootloader Dec 28 21:22:17 where did you find this info? I'm trying to find an actual documentation for the board, but all I get is this: http://beagleboard.org/getting-started Dec 28 21:22:17 i'm not positive, but it may be trying to boot from microSD rather than eMMC Dec 28 21:22:42 experience over several years now... Dec 28 21:22:48 oh Dec 28 21:23:16 is there any way I can boot from usb drive or just flash it from usb drive? because I can't use sdcard with it Dec 28 21:23:24 if the eMMC boot gets messed up, you'll get that ... i suspect pressing S2 was basically the "boot" button Dec 28 21:24:00 i don't recall if u-boot supports loading off of USB ... it didn't some years ago Dec 28 21:24:17 there is usbboot option in u-boot, but it doesn't seem to work Dec 28 21:24:29 i'm fairly sure u-boot itself can't be loaded off of USB ... but you *might* be able to load the kernel/initrd/dtb from USB ... Dec 28 21:24:47 dtb? Dec 28 21:25:00 device-tree Dec 28 21:25:51 it's loosely speaking, a description of the hardware you're booting in a way so that you can use a single kernel with multiple boards. Dec 28 21:26:40 let me guess, zimage is the kernel, and u-boot.img is the initrd? Dec 28 21:27:11 u-boot.img is the bootloader Dec 28 21:27:19 zimage is probably the kernel, sure. Dec 28 21:27:42 there is uimage too Dec 28 21:28:31 uimage is a kernel with some headers and checksums Dec 28 21:29:26 alright :/ so how do I boot now Dec 28 21:31:24 I mean... what's the equivalent of grub's "kernel" and "initrd" commands Dec 28 21:34:33 hey Dec 28 21:36:06 raiz: basically, reboot without pressing the S2 button, hit a key before it autoboots, and then you'll need to probe around a bit Dec 28 21:36:16 raiz: there's no way you can use a microSD instead? Dec 28 21:36:28 raiz: because then it would "just work" Dec 28 21:36:30 I'm alrready in the uboot prompt :) Dec 28 21:36:45 raiz: usb info Dec 28 21:36:52 see if it recognizes your usb disk Dec 28 21:37:00 1: Mass Storage, USB Revision 2.0 Dec 28 21:37:00 - SanDisk Cruzer Blade 4C530001320201115502 Dec 28 21:37:03 yes it does Dec 28 21:37:18 I did: usb start Dec 28 21:37:48 ok, ls usb 0:1 ... Dec 28 21:38:08 well, presuming that's the right device/partition Dec 28 21:38:10 yeah, that's the right partition where the zimage and uimage are Dec 28 21:38:15 ok... Dec 28 21:38:31 load usb 0:1 $kernel_addr_r uimage Dec 28 21:38:43 load usb 0:1 $fdt_addr_r $fdtfile Dec 28 21:39:05 load usb 0:1 $ramdisk_addr_r initrd.gz (or whatever it's called) Dec 28 21:39:14 setenv bootargs console=$console Dec 28 21:39:41 bootm $kernel_addr_r $ramdisk_addr_r:$filesize $fdt_addr_r Dec 28 21:39:44 can I ask a question about the bbb wireless Dec 28 21:39:47 ok, you might want to just use the zimage Dec 28 21:40:00 diycookies: go ahead and ask, wait paitently for a response... Dec 28 21:40:21 vagrantc: where did you get these variables? Dec 28 21:40:56 is it possible to use the bbb wireless as a router? Dec 28 21:41:08 raiz: should be defined in u-boot Dec 28 21:41:40 raiz: also documented in various README files in the u-boot sources Dec 28 21:42:13 raiz: since you've got zimage ... load zimage instead of uimage, and use "bootz $kernel_addr_r ..." instead of bootm Dec 28 21:42:41 raiz: also, if there's a boot.scr file or something similar ... you might be able to: Dec 28 21:42:58 raiz: load usb 0:1 $loadaddr boot.scr ; source $loadaddr Dec 28 21:46:19 Can I use BBB wifi tutorials directly for the BBB wireless? Dec 28 21:46:56 "vagrantc | load usb 0:1 $ramdisk_addr_r initrd.gz (or whatever it's called)" Dec 28 21:47:03 ^ there is no initrd? Dec 28 21:48:48 raiz: it might be named any number of things... Dec 28 21:49:09 hold on... Dec 28 21:49:12 103272 mlo Dec 28 21:49:12 365128 u-boot.img Dec 28 21:49:12 dtbs/ Dec 28 21:49:12 2052760 zimage Dec 28 21:49:12 2052824 uimage Dec 28 21:49:13 179 uenv.txt Dec 28 21:49:34 ok, then load out the load of the ramdisk ... Dec 28 21:49:44 bootz $kernel_addr_r - $ramdisk_addr_r Dec 28 21:49:48 oops Dec 28 21:49:53 bootz $kernel_addr_r - $fdt_addr_r Dec 28 21:50:02 uenv.txt Dec 28 21:50:48 raiz: you might want to look at uenv.txt and edit it ... that may have comments about how to configure the image you have for various different boot methods Dec 28 21:51:06 oh, I'll take a look at it Dec 28 21:51:21 might have to load that manually, though, since it's on usb and not the usual boot media Dec 28 21:51:43 Yo I can ping 8.8.8.8 from bbone but not www.google.com so obviously some funkiness with DNS. Dec 28 21:51:46 alternately, you might try: setenv boot_targets usb0 Dec 28 21:52:16 raiz: er ... bootcmd_usb0 Dec 28 21:52:19 gah. Dec 28 21:52:30 raiz: run bootcmd_usb0 Dec 28 21:52:51 might not exist, but that would do what you want if the version of u-boot you have is configured to support it Dec 28 21:53:24 nope, not supported Dec 28 21:53:48 oh well Dec 28 21:53:58 you could also recompile u-boot to do what you want :) Dec 28 21:54:28 ohh god no! I just wanted to unbrick my x200 and flash libreboot on it, why do I have to deal with all this bbb stuff :( Dec 28 21:54:33 since it obviously supports loading off of USB ... you just need some helper bits to simply manual configuration Dec 28 21:55:05 raiz: well, you could get some blackbox flasher that costs a pretty penny instead Dec 28 21:55:26 i just want to fly a rocket to the moon! Dec 28 21:56:05 blackbox flasher? Dec 28 21:56:53 e.g. some proprietary device that does what you want Dec 28 21:57:11 but then how will you know your libreboot is pure? :) Dec 28 21:57:14 no, I can't because there is no documentation on doing such a thing with it Dec 28 22:00:18 fuck me, this thing never works Dec 28 22:01:43 anyway, thank you for your help, vagrantc Dec 28 22:02:15 can ping 8.8.8.8 but not www.google.com from bbone black Dec 28 22:02:32 set up resolv.conf so not sure why dns is still not properly working Dec 28 22:02:42 Anyone able to help? Dec 28 22:03:08 good luck raiz... Dec 28 22:29:38 anybody there to help? Dec 28 22:32:16 Guest33784: ask questions, wait paitiently... Dec 28 22:32:30 easier to respond to specific questions Dec 28 22:54:48 vagrantc I asked questions man Dec 28 22:56:31 pfft Dec 28 23:18:33 DNS is not working on BBone Black. Dec 28 23:18:40 da fuk? Dec 28 23:19:00 Yo this is bullshit -NickServ- You failed to identify in time for the nickname NeedHelp Dec 28 23:19:12 Fuck you Dec 28 23:23:16 Hi everybody Dec 28 23:26:48 Anybody know how to configure DNS so I can do 'ping www.google.com' on the Beagle Bone Black? Dec 28 23:37:32 ig88: man nsswitch.conf Dec 28 23:37:37 ig88: man resolv.conf Dec 28 23:39:57 penis Dec 28 23:40:06 penis Dec 28 23:40:10 penis Dec 28 23:40:12 penis Dec 28 23:40:13 penis Dec 28 23:40:13 penis Dec 28 23:40:14 penis Dec 28 23:40:14 penis Dec 28 23:40:15 penis Dec 28 23:40:16 penis Dec 28 23:40:16 penis Dec 28 23:40:17 penis Dec 28 23:40:17 penis Dec 28 23:40:18 penis Dec 28 23:40:18 penis Dec 28 23:40:20 penis Dec 28 23:41:03 öljdsg Dec 28 23:41:05 hey Dec 28 23:41:19 KotH I've added nameserver 8.8.8.8 to resolv.conf Dec 28 23:41:51 Also have run /sbin/route add default gw 192.168.7.1 Dec 28 23:43:02 Don't see how nsswitch.conf is relevant Dec 28 23:44:13 meh.. this ban thing doesnt work on webclients Dec 28 23:44:27 ig88: then read again :) Dec 28 23:45:37 ig88: also learn patience Dec 28 23:46:03 Maybe someone can help me that's not a troll and can be a bit more specific Dec 28 23:48:56 i doubt it Dec 28 23:49:16 everyone sane has left for holidays Dec 28 23:49:55 beside, the only ones who can answer your questions here are the trolls Dec 28 23:50:17 Nobody on here has ever answered one of my questions. Fact. Dec 28 23:50:30 I always end up doing it myself. Dec 28 23:52:45 uhmm.. i just answered your question Dec 28 23:52:54 just a mere 15 minutes ago Dec 28 23:54:23 You monkey you said the equivalent of 'man *' Dec 28 23:54:42 You basically said 'import beaglebone' and you're good to go Dec 28 23:56:23 er...i told you to read two manpages. both relevant to what you asked Dec 28 23:56:33 i didnt ask you to read all manpages out there Dec 28 23:56:43 This guy Dec 28 23:56:59 and i would never tell you to "import beaglebone"... if anything it would be "use beaglebone;" Dec 28 23:57:02 You're clearly not familiar with the issue Dec 28 23:57:18 so let someone else help me instead. thnx Dec 28 23:57:19 if you think so Dec 28 23:57:25 well.. have a nice day then Dec 28 23:58:34 ig88: but a little advice before i leave: you should not insult op... not everyone is as forgiving as i am... actually most op aren't Dec 29 00:00:05 who gives a shit man. Like I said nobody one here has ever been able to help. I might as well start my own channel to help people out Dec 29 00:06:30 ig88: does your ISP block access to the DNS ports? some ISPs only want you to use their DNS... Dec 29 00:07:50 i think there are also tools to basically do the equivalent for traceroute/ping with arbitrary protocols... might see fi those reveal anything Dec 29 00:08:35 is your host PC (Assuming you're bridging) running a dns forward or bridge/etc... Dec 29 00:08:55 vagrantc: I can ping 8.8.8.8 but not google.com. That's the issue right now. I'm bridging yes Dec 29 00:09:19 does google.com resolve to an ip address? Dec 29 00:09:39 and can you ping that ip address... Dec 29 00:11:32 vagrantc: you mean 'host www.google.com'? Dec 29 00:11:36 so you can ping the google dns .. have you put nameserver 8.8.8.8 in yoru /etc/resolv.conf? Dec 29 00:11:39 don't have nslookup Dec 29 00:12:02 veremit: yes Dec 29 00:12:17 whats your 'route' command say? Dec 29 00:13:16 route -n gives: Dec 29 00:13:52 0.0.0.0 129.168.7.1 0.0.0.0 UG 0 0 0 usb0 Dec 29 00:14:27 192.168.7.0 0 0.0.0 255.255.255.252 U 0 0 0 usb0 Dec 29 00:15:10 missing period for the second address second line Dec 29 00:15:17 noted Dec 29 00:15:18 my b Dec 29 00:16:03 I'm not sure how it can 'see' the 129.168 net from 192.168.7...... Dec 29 00:16:05 shit second address first line should be 192.168.7.1 Dec 29 00:16:19 my b again Dec 29 00:16:20 ah thats better Dec 29 00:17:43 any diff between mine and yours? Dec 29 00:22:44 ig88: sure, 'host www.google.com' or whatever ... does it return an ip address Dec 29 00:23:09 No Dec 29 00:23:17 times out Dec 29 00:23:18 well, that's your problem then, no DNS Dec 29 00:23:33 host www.google.com 8.8.8.8 ?? Dec 29 00:23:57 nope again Dec 29 00:24:11 something's blocking DNS traffic, then Dec 29 00:24:25 if you can ping 8.8.8.8, but you can get DNS from it... Dec 29 00:24:29 can't get... Dec 29 00:24:44 anyways... good luck Dec 29 00:24:46 * vagrantc heads out Dec 29 00:24:48 * vagrantc waves Dec 29 00:26:22 I was afraid of that vagrantc Dec 29 00:26:26 Thanks for the help guys Dec 29 01:00:13 ig88 Dec 29 01:02:17 ig88, if your using ethernet over usb, try this: http://travis-lab.blogspot.com/2012/02/getting-on-beaglebone-on-internet-using.html Dec 29 01:08:00 if your host pc is linux, you may have to do some setting up on that end too Dec 29 01:08:33 my instructions assume a linux host, or so it seems Dec 29 01:08:40 been awhile since I posted it **** ENDING LOGGING AT Thu Dec 29 03:00:00 2016