**** BEGIN LOGGING AT Mon Nov 09 02:59:59 2015 Nov 09 03:02:23 I have some free time. I am going to try and put together that beginner chat example they have. Nov 09 03:06:07 I wonder if I can do this all by PuTTY. Nov 09 03:06:11 Who knows? Nov 09 03:06:13 I will find out. Nov 09 03:06:35 Wait...I know I cannot use PuTTY. Nov 09 03:06:40 I just tried. Nov 09 03:07:03 I get some spinning cursor. Boo! Nov 09 03:07:48 I will have to deploy it later somehow, i.e. via website or browser. Dang...these BBBs are a bunch of work. Nov 09 03:08:25 Anyway...have fun everyone. I hope things go well. Nov 09 03:09:52 * GenTooMan blinks, "even if you know what you are doing all embeded devices are work." Nov 09 03:36:20 really? mine seem to do what I want by magic Nov 09 04:00:06 But you're a magic man Nov 09 04:00:12 It's just not fair Nov 09 04:00:18 not a fair comparison :) Nov 09 04:00:35 actually at the office I'm known as the oracle Nov 09 04:03:14 ;) Nov 09 08:27:47 hello Nov 09 08:30:37 join #beagle Nov 09 08:30:55 hello Nov 09 08:34:54 n00bs .. gotta love 'em lol Nov 09 10:04:03 is there anyway to configure the beaglebone to connect to the internet directly, without having to configure the local device its usb power/IO cable is attached to? Nov 09 10:04:37 ethernet Nov 09 10:06:12 there are also people who (try to) use wifi usb sticks, with mixed results I think... in general I would recommend ethernet Nov 09 10:07:42 with the default images, the board will use DHCP on the ethernet interface to get an IPv4 address and default route. no need to configure anything. Nov 09 10:08:43 thanks Nov 09 10:09:22 the usb net thing is mainly just meant as a "newbie convenience" of being able to power the BBB *and* communicate with it with no hardware requirements other than a computer to connect it to and the supplied usb cable Nov 09 10:09:48 for standalone operation, ethernet + ac adapter is the way to go Nov 09 10:13:21 that's what I thought but thanks for confirming Nov 09 10:13:39 trying to turn a beaglebone black into some kind of security related device Nov 09 10:14:06 we were thinking about turning it into a keylogger and having the files sent via ssh Nov 09 10:14:49 but that would obviously require an ethernet cable to be plugged in somewhere, which isn't very subtle Nov 09 10:15:37 I suppose we could just leave it as a stand alone device and then collect it from location X remotely Nov 09 10:15:47 but would love to have a little more functionality built in Nov 09 10:16:20 well you can multiplex a HID device and a network device, but then you need to configure networking on the target machine Nov 09 10:16:22 not impossible Nov 09 10:16:47 so it's not plug and pray Nov 09 10:17:00 this is for a university project btw, not trying to develop something to use in the real world maliciously Nov 09 10:17:10 make a cape with a sensitive mic and use the characteristic sounds of individual keys Nov 09 10:17:16 yes, noted your IP origin earlier ;) Nov 09 10:17:41 zmatt: just intercept USB HID, that's the easiest Nov 09 10:17:57 it's a university project, why go for easy? ;-) Nov 09 10:19:31 shhh,. Nov 09 10:19:33 :) Nov 09 10:19:43 could use sound networking to exfiltrate Nov 09 10:23:50 blimey Nov 09 10:24:58 tbr: thermal-based exfiltration has also been demonstrated, but with pretty crappy bitrate Nov 09 10:25:06 :) Nov 09 10:25:23 'easy' lol Nov 09 12:22:38 I think that hiding the BBB in a usb or network hub might be the easy approach. usb will also give you a nice power source Nov 09 12:24:39 there is also the idea to put a small device on the network that can send data out .e.g but something like https://www.wifipineapple.com/ or something in the style of https://en.wikipedia.org/wiki/SheevaPlug might be better suited Nov 09 12:24:45 one tricky part would be that the BBB itself cannot behave as if it's a hub, so can only insert it on one downstream port with one device connected to it Nov 09 12:25:08 and it's a perfect spot for sniffing, but complicates exfiltration Nov 09 12:25:44 a network cable coming out of a hub might be viewed upon with suspicion ;) Nov 09 12:25:49 wans't there a google summmer of code project like 2 years ago to monitor use traffic? Nov 09 12:26:47 and can you not combine http://elinux.org/USB_HUB_Cape with the mini usb port into a hub? Nov 09 12:29:10 my next project will be to combine an rtlsrd dongle with the BBB Nov 09 12:35:55 hello Nov 09 12:36:06 I would like to interface the GY81 to my BBB. Nov 09 12:36:38 How do I go upon writing the device drivers? Nov 09 12:36:45 What should I know to write a device driver? Nov 09 12:37:00 https://github.com/bmagyar/beaglebone-imu Nov 09 12:37:13 do you really need a device driver? Nov 09 12:37:19 or can you use it from user space? Nov 09 12:37:39 https://lwn.net/Kernel/LDD3/ Nov 09 12:38:02 https://github.com/jdmessina/BBB_FlightController Nov 09 12:46:51 I need to construct a kalmaan filter with it. Nov 09 12:47:06 I do understand there are some incomplete drivers on github Nov 09 12:47:23 But How do I go upon writing one of them? Nov 09 12:47:34 they are all I2C devices Nov 09 12:47:44 as said, you can talk to them directly from user space Nov 09 12:47:51 [13:36] https://github.com/bmagyar/beaglebone-imu Nov 09 12:48:34 https://github.com/bmagyar/beaglebone-imu/blob/master/src/bma180.cpp Nov 09 12:48:52 How did he obtain those values? Nov 09 12:49:01 dice Nov 09 12:49:19 what values? Nov 09 12:49:23 but it has to be a fair one Nov 09 12:49:37 Static constants. #define ACC_Y_MSB 0x05 Nov 09 12:49:46 ashwinvasudevan: maybe he read the data sheet? Nov 09 12:49:57 did you do that? Nov 09 12:50:11 Oh. Nope. I am just starting, Thank you Nov 09 12:50:23 well, then do that first Nov 09 13:03:38 (and the errata, if available) Nov 09 16:58:55 I have just bought a BBB and I'm trying to connect with it. I plugged it into my laptop with elem os (linux) and the lamps are flashing right. I can see the bone, and can start the start.htm. When I try to go to http://192.168.7.2 I get the Apache2 Ubuntu Default Page instead of the beaglebone page. I have executed the mkudevrule.sh. And I'm using chrome. Anyone a suggestion for this newbie to try? Nov 09 17:09:55 Eva__: is that network maybe conflicting with your local networks? Nov 09 17:20:15 Even with my ethernet and wifi turned off it still doesn't work. I have nothing else connected, so I dont know what could be interfering. Nov 09 17:42:08 'ifconfig -a' Nov 09 19:03:50 hello Nov 09 19:03:56 hi Nov 09 19:09:01 always there such a silence Nov 09 19:11:11 definitely not always Nov 09 19:12:23 when you meet admins Nov 09 19:20:33 When can i meet admins? Nov 09 19:23:13 admins? Nov 09 19:26:06 hi I used rcn-ee image and upgraded to kernel 4.0.4 but the serial console does not work, what to check? Nov 09 19:26:19 Is there a way to disable the serial console? Nov 09 19:31:51 I need a STEP or IGES file for the Link PP # LPJ0011BBNL connector ... anyone have this? Nov 09 19:35:30 I mean I even do not see ttyUSB0 Nov 09 20:07:37 Hi. I'm trying to disable the USB gadget network interface on the Beaglebone Black. I'm using the Debian image and, I've commented out the block in /etc/network/interfaces but, it is still brought up at boot. The comments in this file indicate that it may be enabled by an init script but, not which. Anyone know where I might be able to find what is bringing it up? Nov 09 20:14:51 it's a script in /opt Nov 09 20:15:06 https://raw.github.com/RobertCNelson/tools/master/scripts/beaglebone-black-g-ether-load.sh Nov 09 20:23:19 Thanks tbr I see it now. Run by /etc/init.d/generic-boot-script.sh (which is IMHO a very unhelpful name). Nov 09 20:23:40 hehe Nov 09 20:25:59 Thanks again for the help. I'm off. Bye. Nov 09 20:53:09 has quit. will chk back tomorrow. Nov 09 20:59:21 Has anyone here succesfuly cloned 2 BBB eMMC's? Nov 09 20:59:46 I am getting: "dd: writing '/dev/mmcblk1': No space left on device" when restoring Nov 09 21:04:58 same BBB or different BBB ? Nov 09 21:06:28 since there are two different 4 GB eMMC flashes being used in production, and they slightly differ in size Nov 09 21:08:39 I normally make sure a filesystem is shrunk to min size before imaging Nov 09 21:08:59 then to flash a clone: Nov 09 21:10:18 dd if=bootloader.img of=$dev bs=4M # first 4 MB of size, includes blank partition table and u-boot Nov 09 21:10:25 *first 4 MB of device Nov 09 21:11:01 wait this can use pastebinning Nov 09 21:23:32 http://pastebin.com/f6LN9hpE Nov 09 21:24:08 the reason I generate things like ssh keys at that time is to have the opportunity to record the public keys right away Nov 09 21:25:00 randomizing filesystem uuid makes sure no confusion can arise if both filesystems are visible at the same time on a computer (e.g. connected in usb mass storage mode) Nov 09 21:26:06 oh, there's a path mistake, the ssh keys should be in etc/ssh, not in etc Nov 09 21:26:38 (my own script is a little different since I put all "identity" files in a separate dir and have symlinks) Nov 09 21:29:21 zmatt, so that script is the "autorun.sh" script that goes in the SD card? Nov 09 21:29:36 I don't use any SD card Nov 09 21:29:41 I flash via USB Nov 09 21:30:07 (hence the /dev/sdb rather than /dev/mmcblk1 ) Nov 09 21:30:12 USB to a linux machine, or a USB stick? Nov 09 21:30:43 BBBlfs, it's a little tool that serves the BBB's eMMC as an usb mass storage gadget Nov 09 21:30:52 zmatt, sorry for perhaps some dumb questions, I just started this Nov 09 21:31:10 so basically the eMMC of the BBB appears as if it were an usb stick Nov 09 21:32:50 zmatt: Is that something that could be used on Windows? Nov 09 21:33:00 no idea Nov 09 21:33:11 Figured :> Nov 09 21:33:11 I think it only depends on libusb Nov 09 21:33:34 You are referring to this, right: https://github.com/ungureanuvladvictor/BBBlfs Nov 09 21:33:38 yeah Nov 09 21:33:58 Gonna take a look at it, presumably I know enough to convert this to Windows code Nov 09 21:34:12 I noticed rcn-ee also has images titled "usb_flasher" .. I haven't investigated yet, but I wouldn't be surprised if it's something you can put on an SD card that achieves the same thing Nov 09 21:34:13 libusb supposedly works on Windows too, but I've never tried it Nov 09 21:34:59 huh? Nov 09 21:35:11 I don't quite get what you mean in that last sentence. Nov 09 21:35:31 note that BBBlfs consists of a tool named "usb_flasher" which is responsible for making the BBB appear as an usb stick (contrary to its name it doesn't flash anything by itself) + scripts to perform actual flashing Nov 09 21:35:35 the script are horribly broken Nov 09 21:35:46 but usb_flasher works Nov 09 21:35:54 well Nov 09 21:36:51 the way usb_flasher works is that it boots a tiny linux system onto the BBB via USB, and that linux system enables USB mass storage mode for the eMMC Nov 09 21:37:18 but you can of course put the same tiny linux system on a μSD card instead Nov 09 21:37:45 Ah, that makes more sense than what I was thinking earlier. Nov 09 21:38:14 If it really shows up as a mass storage device, I would think I'd be able to write an image to it via the likes of Win32DiskImager Nov 09 21:38:21 I'll have to try it out and let you know Nov 09 21:38:26 yup Nov 09 21:38:35 Could be convenient Nov 09 21:38:59 but Nov 09 21:39:42 if you don't have e2fsutils you can't do things like resizing the filesystem to fit the partition Nov 09 21:39:55 which means you'd need to flash the whole eMMC Nov 09 21:40:17 and you may run into the same issue GT_ did: not all "4 GB" eMMCs are the same size Nov 09 21:40:41 * GrumpeiYokoi blinks Nov 09 21:40:53 lovely Nov 09 21:41:16 So you have BBBs that are shipping with different eMMC parts of varying sizes Nov 09 21:41:22 BBB rev C ships with either Nov 09 21:41:28 Micron MTFC4GLDEA-0M WT, or Nov 09 21:41:35 Kingston KE4CN2H5A-A58 Nov 09 21:41:50 Is it a 4 GiB vs. 4 GB thing? Nov 09 21:42:13 the former has a user area of 3744 MB, the latter 3688 MB Nov 09 21:42:26 Ah Nov 09 21:42:49 So if you get a stock image it could fail to flash because the usable area is too small then? Nov 09 21:42:54 (for that image) Nov 09 21:43:07 (or 936 and 922 allocation blocks respectively) Nov 09 21:43:11 no Nov 09 21:43:30 the stock images will always fit Nov 09 21:43:53 but may not fill entire eMMC, unless rcn-ee included something in the initramfs to fix that up at first boot Nov 09 21:44:27 Doesn't sound like a serious problem, unless I missed something Nov 09 21:44:48 no, it may however show up if you try to clone an existing BBB Nov 09 21:45:05 the SD-based flashers definitely *do* expand the fs to fit available space Nov 09 21:45:32 (they also avoid pointlessly flashing the unused space of the filesystem onto eMMC) Nov 09 21:45:33 Hrm Nov 09 21:45:55 hence I always shrink an fs before cloning and expand afterward Nov 09 21:46:00 also speeds things up considerably Nov 09 21:46:38 note that you can actually safely expand an ext4 filesystem while mounted, even if it's the root filesystem Nov 09 21:46:39 Makes sense. I don't know much about working with partitions and file systems specifically, I've always sort of winged it. Nov 10 02:21:28 grrrrrrrrrrrr OpenCL on iMX6 **** ENDING LOGGING AT Tue Nov 10 02:59:59 2015