**** BEGIN LOGGING AT Thu Dec 06 03:00:01 2018 Dec 06 03:01:06 @set, I am reading the info zmatt showed me on the connman/strasondesign stuff but I am trying to sort out what is explanation and what is something I need to type in. Also have some kids and dogs in the background at my house that I am interacting with. Dec 06 03:04:08 If you need a proofer, come back one day and I will be here. Dec 06 03:04:20 I am stuck in translation w/ BBB. Dec 06 03:04:30 off for now. Dec 06 03:05:02 RD_: it doesn't help that you're apparently also very new to linux in general Dec 06 03:05:28 Oh Hell yeah. I know next to nothing. Dec 06 03:06:32 RD_: but in general if you try to follow the instructions it should become clear which parts are things you type... e.g. root@beaglebone:~# is the prompt and stuff after that is the command you type Dec 06 03:06:56 I was hoping that I could follow the book word for word and perform enough task that I would learn a small section along the way. The websites for BeagleBoard and such all seem to promise that it is possible. Dec 06 03:06:58 they should have said you need to elevate to a root shell first using sudo -i Dec 06 03:07:18 They? Dec 06 03:07:31 strawson, whoever wrote the manual page Dec 06 03:07:41 since they're showing a root shell prompt Dec 06 03:07:46 Oh. Dec 06 03:08:25 or, better, use "sudo connmanctl" instead of "connmanctl" Dec 06 03:08:40 oh weird, later on the same page they do use sudo Dec 06 03:08:42 inconsistent Dec 06 03:11:52 Right now I am trying to figure out what I am supposed to type in. I typed in the ifconfig wlan0 but not sure if I need to add the ~# that is also after the : Dec 06 03:13:13 no that's part of the prompt Dec 06 03:13:34 I can see that putty has a ~$ but the documentation on http://strawsondesign.com has ~# Dec 06 03:13:41 when not using a root shell it's ~$ Dec 06 03:14:15 (a root shell, indicated by the # instead of $ at the end of the prompt, is basically equivalent to "Run as Administrator") Dec 06 03:14:27 I was wondering if it was a different "Mode" so it sounds like that is the case. Dec 06 03:14:38 putting "sudo" before a command does the same thing, but limited to a single command Dec 06 03:14:40 Oh. Dec 06 03:14:47 Hmm Dec 06 03:15:09 generally it's better to just use sudo for single commands that need it Dec 06 03:15:10 Thank you for all your patience Dec 06 03:16:02 inspecting the network configuration state using "ip addr" (or the older "ifconfig") doesn't require elevated privileges Dec 06 03:16:16 changing the network configuration using connmanctl does, hence you'd use "sudo connmanctl" instead Dec 06 03:16:17 My HWaddr f4:5e:ab:f8:c5:22 is different than their example of HWaddr ec:11:27:bf:fa:51 Dec 06 03:16:33 that's a unique identifier Dec 06 03:16:40 of the hardware Dec 06 03:17:21 (hence "hardware address") Dec 06 03:17:23 so the serial number genre of things for my BeagleBone Blue Dec 06 03:18:12 Okay.....I am starting to see the abbreviations pattern. Dec 06 03:18:13 every device on an ethernet network (including ethernet-like networks such as wifi) has such an address, unique worldwide Dec 06 03:18:21 Yes Dec 06 03:19:13 I have not started to see the "Matrix" so I was just seeing 10101000101100010101000011110111001 Dec 06 03:19:42 Now I see the word Hardware address. Dec 06 03:21:01 My TX Packets show 0 and the example shows "TX packets:142" Dec 06 03:21:27 those are just statistics counters. the important bits from the output of the ifconfig command is that there's a "wlan0" interface and it doesn't yet have an IP address assigned to it Dec 06 03:22:27 I assume TX is an abbreviation for Text Packages but being from Texas. That one is hard to translate as anything other than Texas in my brain. Dec 06 03:22:32 transmit Dec 06 03:22:42 rx = receive, tx = transmit, and no I don't know how that happened Dec 06 03:22:59 ROTFLMAO Dec 06 03:23:31 I am glad you added the detail, I thought you were talking to someone else. Dec 06 03:24:34 so, once your wifi interface is configured correctly, it would be able to acquire an ip address and would show output similar to: https://pastebin.com/raw/0z5VrtLc (here showing both the output of the old ifconfig command and the output of the newer "ip addr" command. the latter doesn't show statistics by default) Dec 06 03:26:44 debian@beaglebone:~$ connmanctl Dec 06 03:26:44 Error getting VPN connections: The name net.connman.vpn was not provided by any connmanctl> Dec 06 03:27:02 looks like that's just a warning, since you still got the connmanctl> prompt Dec 06 03:27:06 I'd say ignore it Dec 06 03:27:15 you don't care about VPNs anyway Dec 06 03:27:28 LOL Dec 06 03:29:40 Is any of what I am experiencing related to my screen showing "debian@beaglebone:~$" and the example showing "root@beaglebone"? Dec 06 03:30:06 oh maybe, like I said you should use "sudo connmanctl" to be able to change network config Dec 06 03:30:19 Root is not a version of Linux to my knowledge. ;) Dec 06 03:30:19 if connmanctl works at all without it, it'll probably be read-only Dec 06 03:30:29 no it's the name of the user Dec 06 03:30:42 you're logged in as user "debian" on host "beaglebone", hence debian@beaglebone Dec 06 03:30:46 Oh. Wow. Dec 06 03:31:21 their example is performing commands while logged in as root, which is a bad habit Dec 06 03:31:38 https://www.irccloud.com/pastebin/nYK9dHVY/ Dec 06 03:32:19 yada yada, just type the password for user debian as it asks Dec 06 03:32:51 in case you feel you need a lecture first: "don't use sudo needlessly". there, considered yourself lectured Dec 06 03:32:57 I used the same temppwd that I logged into Putty with. Dec 06 03:33:01 yep Dec 06 03:33:41 It came back with "Command not found" Dec 06 03:33:46 https://www.irccloud.com/pastebin/VeC8XZ5I/ Dec 06 03:34:24 of the things sudo just told you (it will only do so once btw), #1 is unimportant, but #2 and #3 are relevant. especially #2. there are no restrictions on what root can do, and most commands won't ask for confirmation before destroying your system Dec 06 03:34:39 it also displayed the password as I typed which was different than the first time it asked for a password and it shows no reaction when I type until I hit enter. Dec 06 03:34:45 ehh, you already pressed enter Dec 06 03:36:07 I can't tell what you did at the password prompt, but it seems maybe you cancelled it somehow? and then you typed "temppwd" as a command, which obviously doesn't exist Dec 06 03:36:25 password prompts in linux will generally not give any feedback, not even ***** or whatever Dec 06 03:37:11 so you type "temppwd" blindly at the "[sudo] password for debian:" prompt and then press enter Dec 06 03:37:36 I was trying to respond to the line "[sudo] password for debian:" Dec 06 03:37:58 well you weren't, it was showing a shell prompt again (debian@beaglebone:~$) Dec 06 03:39:56 which means you somehow already responded to the password prompt. did you maybe get confused by its lack of feedback and pressed ctrl-C ? Dec 06 03:40:05 Yeah. Not sure why that line "[sudo] password for debian:" is there. When the "command not found" message popped up, I typed in "sudo connmanct1" with the hopes of getting back to a "Known good" state. Dec 06 03:40:26 you weren't in a bad state to begin with Dec 06 03:40:36 you simply asked it to perform the "temppwd" command, which it doesn't know Dec 06 03:41:39 so what happened after this? sudo connmanctl presumably asked for the password again? Dec 06 03:41:59 Do you know why the "[sudo] password for debian:" line shows up? Dec 06 03:42:18 because the line above it you performed a sudo command I presume Dec 06 03:42:31 Right now I am looking at "debian@beaglebone:~$" Dec 06 03:42:41 that's just the shell prompt again Dec 06 03:43:18 i.e. it's done whatever you asked it to do previously (whether successful or not) and is awaiting your command again Dec 06 03:44:07 Yeah. Dec 06 03:44:32 I am scanning back through the documentation to see where I was. Dec 06 03:45:05 what I need to type next. Dec 06 03:46:09 sudo connmanctl Dec 06 03:46:20 it should give the password prompt where you type temppwd and press enter Dec 06 03:46:45 and if successful, it will switch to the connmanctl> prompt Dec 06 03:48:17 Oh. I was using a 1 instead of an l due to the fonts on the strawsondesign.com page Dec 06 03:48:34 "ctl" is short for control Dec 06 03:48:40 connection manager control Dec 06 03:48:49 https://www.irccloud.com/pastebin/rpC92dQM/ Dec 06 03:49:20 yep, that's the password prompt Dec 06 03:50:44 like I said, the warning will go away once you've successfully used sudo once, e.g. this is what I get: https://pastebin.com/raw/0KfaAJvc (the VPN error is still there, and the prompt got a bit messed up as a result, but pressing enter again gave a clean prompt) Dec 06 03:50:45 https://www.irccloud.com/pastebin/o6RFavP6/ Dec 06 03:50:57 here I typed "temppwd" at the password prompt, but you don't see that in the paste of course Dec 06 03:51:29 that's success. just press enter again and you'll see you have a connmanctl> prompt now Dec 06 03:51:34 Yeah. I see that the prompt now has connmanctl> in front of it. Dec 06 03:52:00 so now you're running connmanctl with elevated privileges, and it's awaiting commands Dec 06 03:52:46 LOL......I typed in a ^C in the process of copying and pasting to show on this screen. That may be some of my problems in the past. Dec 06 03:52:47 you can get a summary of commands using the "help" command, or just try to follow the instructions Dec 06 03:53:08 oh yeah, control-C will abort/kill most commands Dec 06 03:53:56 and return you to the shell prompt Dec 06 03:54:14 I have the prompt but it is not letting me type in it. Dec 06 03:54:22 ?? Dec 06 03:54:35 debian@beaglebone:~$ Dec 06 03:56:30 debian@beaglebone:~$ ^C to be precise. (because I was copying, using ctrl+C) Then it clears the "^C" and returns the "debian@beaglebone:~$" prompt but does not allow me to type anything. Dec 06 03:57:10 sounds like maybe your terminal got messed up somehow? Dec 06 03:57:11 Is there any harm in shutting down Putty and coming back in? Dec 06 03:57:19 if I abort connmanctl with ctrl-C I get a working prompt back Dec 06 03:57:28 no, none Dec 06 03:57:39 LOL similar thought. (Punt) Dec 06 03:58:10 another thing that's useful to know: depending on the terminal you use and its settings, pressing control-S may freeze it, in which case control-Q will unfreeze it Dec 06 03:58:35 (this is an annoying historical thing I personally always disable) Dec 06 03:59:52 btw, are you currently using serial or ssh to log in? (you mentioned you use putty, but I think it can do both) Dec 06 04:00:02 How do I copy out lines of code? (to cut and paste into this chat window? Dec 06 04:00:32 I think putty has settings related to that... it might actually be sufficient to just select text Dec 06 04:00:44 (i.e. it'll implicitly copy) Dec 06 04:01:24 back on Monday, November 26th, 2018 at 9:59 PM ( @hedgeberg walked me through a walk around.) Dec 06 04:02:09 so you said. none of that information is useful to me though Dec 06 04:04:48 SSH Dec 06 04:05:05 ok, so the windows driver is actually working Dec 06 04:05:24 I thought you scrolled back to that time and saw the conversation between us. Dec 06 04:06:07 oh, I could have dug up logs I guess, but that's a lot of effort to get one simple question answered Dec 06 04:06:27 It looks like it is working from the install wizard but not the windows settings window. Dec 06 04:06:51 I have no idea what you mean by that, but if you're able to connect via SSH then clearly it's working Dec 06 04:07:41 anyway, you should hopefully be able to follow the wifi instructions now, with less control-C ;) Dec 06 04:07:43 Oh, I was not able to explain what I was doing so I was following the point and grunt method of communicating. Dec 06 04:08:33 saying "ssh" fully answered my question, so you managed just fine Dec 06 04:10:10 Trained Monkey at this point. Dec 06 04:11:29 https://imgur.com/a/wiFmDen Dec 06 04:12:17 since ssh is working there's no need for the serial gadget Dec 06 04:12:43 it's completely inane that it's not working, but hey that's what you get when using Windows Dec 06 04:13:07 "Microsoft: Because We Don't Care About Compatibility™" Dec 06 04:13:46 (this is another example of microsoft actually having a driver built in for it, but windows doesn't use it because.... ??? ) Dec 06 04:14:35 Oh hell. Settings, Devices, Bluetooth and other devices, "BeagleBone Black" does not show a "Driver error" message anymore. I have been working many months to try and get to this point and it happened in the background in the last hour or so. Dec 06 04:15:18 if you can ssh to the beaglebone, any complaints windows has are irrelevant since the driver that matters is working Dec 06 04:15:39 I have been racking my brain and going in maddening circles Dec 06 04:16:18 I am both elated and exhausted. Dec 06 04:16:28 anyway, you were setting up wifi Dec 06 04:17:07 You mean you are not going to let me do a happy dance first? Dec 06 04:18:03 ehh, to the extent there's anything to happy-dance about, presumably you'd have done that on november 26th Dec 06 04:18:27 or whenever you were able to ssh into the beaglebone Dec 06 04:18:41 Error wifi: Already enabled Dec 06 04:19:02 that's probably fine Dec 06 04:19:18 Is there any way to copy the text out of putty? My transcribing is deplorable. Dec 06 04:19:49 does simply selecting text not work? Dec 06 04:21:36 When I go to copy the text, the"Ctrl+C" kicks me out of the command and puts me back at the command prompt. Dec 06 04:21:45 don't do control-C Dec 06 04:21:50 does simply selecting text not work? Dec 06 04:22:30 I can highlight text in Putty . How do I copy text? So I can paste it into the chat window. Dec 06 04:22:40 if selecting text doesn't suffice to copy it (but I think it does) then you can probably right-click and select copy from the context menu Dec 06 04:23:20 yes I understand what you're asking. again, have you tried whether simply selecting text in putty works? (i.e. whether it copies implicitly) Dec 06 04:24:10 Oh.....It does copy implicitly. I did not imagine that working that way so I missunderstood. Dec 06 04:24:48 connmanctl> Error disabling wifi tethering: Already disabled Dec 06 04:25:23 does that sound like an error to you? "please disable this" reply: "it's already disabled" Dec 06 04:25:28 just continue Dec 06 04:25:44 https://www.irccloud.com/pastebin/R5SowdJk/ Dec 06 04:25:59 Yeah......I was just keeping you posted. Dec 06 04:26:19 no need to narrate everything you're doing Dec 06 04:26:28 I was already off to the next item. Dec 06 04:31:43 What does it mean by "You can use tab key to autocomplete the name"? .........from the site "To connect to a network with WPA/WPA2 security you need to enable the WPA agent. Then connect to your desired networking using the long name listed instead of the SSID. Don't worry, you can use the tab key to autocomplete the name." Dec 06 04:32:29 you can type the first few letters of the name (enough to disambiguate between the options) and then press tab to have connmanctl fill in the rest Dec 06 04:34:21 Okay. I thought that is what it meant but all my neighbors must be on the same cable company because the first 20 digits are identical. Dec 06 04:35:17 then tab completion should at least autocomplete that part, and you can then type additional letters to disambiguate between the remaining options and press tab again Dec 06 04:37:17 that's how tab completion works in general anyway, for example on the shell prompt instead of typing "connmanctl" you can type "connc" .. the first tab would complete it to "connman" since there are multiple commands related to connman, and then adding "c" and pressing tab again would fill out connmanctl Dec 06 04:37:37 LOL My guest wifi is going to force me to type a much longer list of text due to the similarity. Dec 06 04:38:41 you probably won't have to type more than a few letters if you press tab after each one Dec 06 04:45:54 Error /net/connman/service/wifi_f45eabf8c522_436869c6465727320486f6d65_managed_psk: Method "Connect" with signature "" on interface "net.connman.Service" doesn't exist Dec 06 04:46:15 lol Dec 06 04:46:54 maybe you took too long and the entry expired or something? Dec 06 04:47:02 okay Dec 06 04:47:06 try redoing the steps starting from "scan" Dec 06 04:47:19 this is just my guess though, I don't use connman myself Dec 06 04:47:42 ? Dec 06 04:47:49 What do you use and why? Dec 06 04:48:28 systemd-networkd, because it works well for me and I'm used to it Dec 06 04:48:34 it's also quite flexible Dec 06 04:48:53 Hmmmm Dec 06 04:49:41 for me the question would more be "why connman?" since it's pretty obscure, but presumably there are reasons Dec 06 04:50:30 maybe in part because I think it was introduced back when debian jessie was used, whose version of systemd was too old for systemd-networkd to be usable really Dec 06 04:56:44 So is there a different set of instructions you could point me to? I do not think the tabbing method works when it is not a command. I am typing in my long version of my wifi address I believe. I am typing it in fairly fast and still getting the error message. Dec 06 04:57:20 these instructions look right to me, no idea why it's not working for you Dec 06 04:57:30 it seems very implausible they'd be wrong about tab completion working in this context Dec 06 04:58:04 also you can probably just use copy-paste (select to copy, either middle-mouseclick or right-mouseclick to paste, depending on putty's settings) Dec 06 04:58:26 Hmm Dec 06 04:59:03 I think it might be right-mouseclick to paste with the default putty settings (even though it's middle-mouseclick on linux systems) Dec 06 04:59:50 That is it. Middle Mouse click. So awesome. Dec 06 05:00:06 It is asking for my passphrase. Dec 06 05:00:43 for the wifi network Dec 06 05:00:52 so then you did have a typo :) Dec 06 05:01:00 in the service name previously Dec 06 05:02:38 I suspect I had a typo. I looked at it repeatedly and did not see a typo. I tried it multiple times and never found a typo. If there is a timeout window, I likely exceeded it. Dec 06 05:03:33 I have a "Connected Wifi ............................................................................................................................." message Dec 06 05:03:46 therefore tab completion (my guess is that it actually does work and your typo was just before where you tried tab completion) Dec 06 05:04:19 I hope so. Dec 06 05:05:07 Thank you. I am going to bed. I am extremely grateful for your help. Dec 06 05:43:58 demo script 'blink onboard led ' not working on my BBB. can someone help? Dec 06 16:10:18 m Dec 06 19:29:30 New to the community and grateful in advance for any advice anyone can provide. Trying to build out an interface to add WiFi credentials to the BB Black Wireless without having to access a computers local system. Has anyone had any luck building such a UI or app? Dec 06 19:33:20 huh? Dec 06 19:34:06 I'm not quite sure what you mean Dec 06 19:36:00 Kerberos or LDAP? Dec 06 19:38:32 So basically I am using the BBBW as a gateway of sorts. Right now, I am pre-programming WiFi credentials using nano /etc/wpa_supplicant/wpa_supplicant.conf before deploying the device, but that leaves it susceptible to not being able to connect should the ssid or psk be incorrect, or should the end-user change their WiFi credentials. Looking for a way to allow the (non-technical) end-user to add/change WiFi credentials without too Dec 06 19:42:35 thats a probablem with all devices eh Dec 06 19:42:46 sometimes they init as access points themselves or something Dec 06 19:42:51 sometimes bluetooth to a phone Dec 06 19:42:56 some have touch screens Dec 06 19:42:58 usb stick would work Dec 06 19:43:26 ^^ BruVue Dec 06 19:44:45 Thanks ayjay_t, have you used the touchscreen cape before? Dec 06 19:45:44 i haven't used the cape no Dec 06 19:45:48 ive used a bunch of touch screens Dec 06 19:45:56 touchscreens in general can be a bit of a haul Dec 06 19:46:04 i have a solution in the pipeline for it but its on hold until a project is voer Dec 06 19:47:06 Ah ok, thanks for the insight much appreciated Dec 06 19:48:05 yeah, i'm talking about mostly from the software side, the cape should work with the hardware just fine Dec 06 19:48:17 gl Dec 06 20:03:39 BruVue: for end user devices, making the device enter a failsafe mode, acting as an access point is fairly common. Can be a button press on boot, or upon repeated wifi failure. Dec 06 22:09:55 anyone else seen that. if you build a toolchain like gcc or arduino, then after build my os slows right down. the mem in htop is at half way point, normally not even 1/4. Dec 07 00:29:22 Hi there! Is anyone on here who can help with a beagleboard x15 question? Dec 07 00:34:29 hello? Dec 07 00:43:19 mozzer0481: there are people here Dec 07 00:43:33 they come nad they go over hte course of the day, which could be an american, european, or asian day Dec 07 00:43:48 so its best to ask your question and let it sit Dec 07 00:45:05 What connectors do I need to tap into the expansion ports on the bottom of the X15? Dec 07 01:07:51 nvm I figured it out. It's a Hirose FX18 Dec 07 01:07:57 thanks anyways! :) **** ENDING LOGGING AT Fri Dec 07 03:00:01 2018