**** BEGIN LOGGING AT Sat Apr 30 02:59:58 2016 Apr 30 04:00:20 HELP!!! For the love of Pete... Everytime, and no mater what I try, when I use the ntpdate command I get the same response "bash: ntpdate: command not found" Any help? Apr 30 04:05:37 it just means it's not isntalled Apr 30 04:06:23 note that most recent debian images for BBB come with systemd-timesyncd which is similar to ntpdate but is run automatically on network change Apr 30 04:10:28 timesyncd also stores the time periodically and resets the clock at boot if necessary Apr 30 04:10:35 My bad... I've read nothing about systemd-timesyncd. I installed one of the Adafruit RTCs, which works well. But I wanted to do a one off update/sync with the pool.ntp.org. What would you suggest to sync with. Apr 30 04:10:44 so that your logs don't end up with boot logs from 1970 Apr 30 04:10:58 vagrantc: timesyncd does that quite excellently also Apr 30 04:11:14 zmatt: yes, that's what i said :) Apr 30 04:11:18 oh Apr 30 04:11:27 sorry, failing at multitasking Apr 30 04:13:30 My BBBs will rarely be on the Internet. So I installed the RTCs for each and followed the installation procedures. Time stays good when I unplug and reboot. But I wanted to do a sync with the NTP server ntpdate before I take them off line. What command should I use, please? Apr 30 04:14:33 Non-Sequitur: if systemd-timesyncd is enabled, it you should see messages in /var/log/syslog about it syncing the time. Apr 30 04:43:00 good afternoon :) I upgraded my Jessie distribution on a BBB and the password has changed. I log into the BBB via SSH. On a separate BBB ( wheezy ) I have changed /etc/shadow and /etc/shadow- to allow no-password log in by SSH. Using the separate BBB I cannot alter it's shadow files to successfully SSH in with no password Apr 30 04:55:51 good afternoon :) I upgraded my Jessie distribution on a BBB and the password has changed. I log into the BBB via SSH. On a separate BBB ( wheezy ) I have changed /etc/shadow and /etc/shadow- to allow no-password log in by SSH. Using the separate BBB I cannot alter it's shadow files to successfully SSH in with no password Apr 30 04:59:32 zmatt: it is late here, going sleep for couple hours ... Apr 30 05:03:28 ag_: as normal user or as root? Apr 30 05:04:06 (btw, considering learning to use SSH keys... then you avoid having to type passwords but usually get better security) Apr 30 05:04:30 shadow- is the backup file btw, you should never change it Apr 30 05:04:38 it's your rescue in case you screw up Apr 30 05:05:11 normally you wouldn't change shadow directly either (but I'll admit I've sinned in the past too since I was too lazy to look up the right command) Apr 30 05:06:24 there are also SSH settings related to this Apr 30 05:06:39 Hi, all as root. Apr 30 05:06:44 yeah Apr 30 05:07:03 normally systems do not allow remote access to root account using a password Apr 30 05:07:22 I hope your BBB is connected to a secure local network if you intend to open that up? Apr 30 05:08:06 yes, a local network. I can put the SD card in another BBB. Apr 30 05:08:08 since on a direct internet connection you get this: Apr 30 05:08:10 There were 22869 failed login attempts since the last successful login. Apr 30 05:08:22 (that's in one and a half day) Apr 30 05:09:15 22869? I don't understand Apr 30 05:09:47 in the 36 hours since i last logged in on that server (as root) there have been that many attempts by people to get into the account Apr 30 05:10:03 that's what the unprotected internet looks like Apr 30 05:10:04 :P Apr 30 05:10:51 I think you are saying my static IP has had that many failed log in attempts Apr 30 05:11:27 no I was just saying: realize that if you use no authentication, then your local router/firewall if your first, last, and only wall of defence Apr 30 05:11:43 and the hordes are outside trying to climb the wall Apr 30 05:12:13 hmmm we're off the track a little. A distribution upgrade wiped my root password Apr 30 05:12:26 it won't do that Apr 30 05:12:40 it might have changed the sshd policy though Apr 30 05:13:18 Can you assist, clearly I am stuck...and I intend to have a password Apr 30 05:13:48 you don't have any normal account other than root? Apr 30 05:13:54 like the default debian account? Apr 30 05:14:12 or a serial console cable? Apr 30 05:14:17 At this moment the SD card is mounted on another BBB Apr 30 05:14:22 ah Apr 30 05:14:29 check /etc/ssh/sshd_config Apr 30 05:15:01 PermitRootLogin prohibit-password Apr 30 05:15:15 a line like that will block password-based SSH to root account Apr 30 05:15:37 (but will still allow key-based SSH to root and password-based SSH to non-root accounts) Apr 30 05:19:49 by text search: PermitRootLogin without-password, only instance Apr 30 05:19:55 same thing Apr 30 05:20:00 synonym Apr 30 05:20:41 do i comment it out with # Apr 30 05:21:20 you can of course also read 'man sshd_config' you read the description of the option Apr 30 05:21:58 prohibit-password is actually the default Apr 30 05:22:15 you need to change it to "yes" to allow password-based login Apr 30 05:22:34 yes, though often I cannot discover which doc is the one to read Apr 30 05:22:48 or I can highly recommend using keys instead Apr 30 05:23:39 So, PermitRootLogin without-password becomes PermitRootLogin yes Apr 30 05:23:44 yes Apr 30 05:26:13 ok I shall try that now :) I'll be back if no joy, and thank you for your assistance. Separately "keys" I assume its a one computer taling to another computer by shared keys. This BBB is going up to the snow to take pictures and I'll be taling to it from my IPhone Apr 30 05:26:36 ..as well as my PC Apr 30 05:26:55 ssh keys are a way to login that's more secure (and once you get used to it actually easier) than using passwords Apr 30 05:27:00 I almost never have to type a password Apr 30 05:28:09 rather, my laptop asks once for my password when I login and keeps my keys in memory Apr 30 05:28:34 I can then just login to any account where one of my keys has been authorized Apr 30 05:28:54 without needing a password, but more secure than most passwords are Apr 30 05:31:42 :)) just logged into my Jessie BBB thank you zmatt, and I have kept notes of our conversation. Apr 30 05:31:46 you just need to generate a key once on a machine you work on Apr 30 05:32:01 (ssh-keygen -t ed25519 if supported, otherwise -t ecdsa ) Apr 30 05:32:57 optionally pick a passphrase (even without, still a lot better than using no password at all) Apr 30 05:34:28 wait, one shell transcript says it all much better Apr 30 05:35:55 Many thank yous :) no-intention of using no-password. FYI I have a BBB on a 3G modem with a password, lost 800MB of data with failed attacks in one-day, set the system to no-ping response Apr 30 05:36:17 ok :) Apr 30 05:36:33 one shell transcript? Apr 30 05:36:38 still, passwords that are good enough are also annoying to type manually Apr 30 05:36:39 yeah one sec Apr 30 05:46:00 http://pastebin.com/RSqbLzUi Apr 30 05:48:22 thanks, bye for now :) Apr 30 05:48:26 bye Apr 30 08:32:19 ds2: I think I'm slowly starting to share your love for device tree :P Apr 30 14:34:51 zmatt: I think DT is greatly misunderstood :/ Apr 30 16:07:11 veremit: DT is greatly hard to understand Apr 30 16:07:23 * ayjay is dreading finals week Apr 30 16:13:57 ayjay: I think it depends what you want to do with it Apr 30 16:18:07 veremit: i think it depends on the intelligence of the user Apr 30 16:19:42 ayjay: that too :D Apr 30 17:49:32 hi: im working with beaglebone black and a custom kenrel, and i have a few doubts... first of all, i don't get the 24MHz clock trhough pin 25 of header 9... how can i activate this on my custom linux? thorugh device tree? Apr 30 17:53:24 our programmer sets the pins with a kernel module in his custom kernel Apr 30 17:56:47 pablo_: device=tree would be a good place to start Apr 30 17:58:56 yes, but if i'm not mistaken, in device tree i can change the mux of the processors pin, but the crytstal is there anyways in beaglebone black, so i don't understand how to activate it... i've seen other device trees (audio cape for eg) and their configuration is the same, but i get no clock output there Apr 30 17:59:23 i don't know if i making myself clear... Apr 30 17:59:24 device tree overlays don't work with every kernel, use 3.8 or 4.1 if you want to try it Apr 30 18:00:11 the BBB has a 24Mhz clock for use with hdmi and other audio devices, and its connected to pin25 of header 9.. Apr 30 18:03:04 pablo_: if the hdmi framer is not enabled .. it may not be running .. :) Apr 30 18:03:12 page 76 of the SRM Apr 30 18:03:18 tbr++ Apr 30 18:03:42 Ok! so i should enable hdmi framer in device tree? Apr 30 18:04:03 but which SRM?! Apr 30 18:04:07 ok I better scoot Apr 30 18:22:16 hey, i think i've enabled the hdmi framer but nothing happens Apr 30 20:04:05 trying to flash the BBB but it doesn't flash, any clues? Apr 30 20:04:54 I got the img loaded to the SD card, I plugged it in, I hold the button near the SD card slot, I powered the board... nothing happens Apr 30 20:13:01 guys, i cannot activate the 24Mhz oscillator connected to pin 25 of header 9, i already selected hdmi support in kernel config and added device in device tree... but no clock is there... someone knows? Apr 30 20:27:40 Raiz: which image did you use? Apr 30 20:28:05 pablo_: does it work if you use the standard device tree? Apr 30 20:28:38 with the standar debian image it works... but i need to do it with custom kernel Apr 30 20:28:47 i use the standard device tree that comes in kernel sources Apr 30 20:28:48 tbr, miniroot-beagle-59.fs Apr 30 20:29:05 arch/arm/boot/dts/am335x-boneblack.dtb Apr 30 20:29:12 and did not work Apr 30 20:29:14 Raiz: I'm not familiar with that, are you sure that's a flasher image? Apr 30 20:29:46 it's an OpenBSD img, and I figured out that it is the wrong img, as I should use miniroot-am335x-59.fs Apr 30 20:30:00 I'll try again, and come back to you with the results Apr 30 20:30:25 pablo_: by the looks of it, it's just a GPIO that needs to be turned on. you should look at the device tree regarding hdmi for something related Apr 30 20:30:49 Raiz: you'll need to talk to the openbsd people or whomever created the images Apr 30 20:31:19 Raiz: one thing that you should do is connect to the debug UART to see if you get any useful output Apr 30 20:31:22 yes, I did Apr 30 20:31:23 i'm looking for it, but it seems ok with the default config for hdmi Apr 30 20:32:21 why do you need a full custom kernel and custom device tree anyway? Apr 30 21:06:35 you're asking for trouble rolling your own kernel .. you'd be wise to talk to RN because he often starts from a mainline base ... Apr 30 21:06:53 except you'd have to email him since he's given up visiting :/ Apr 30 22:19:04 Does anyone know where I can find a "stock" debian for the bbb that I can dd to the eMMC? Apr 30 22:21:26 My SD card slot is busted. I mounted the eMMC with BBBlfs so that I can see the contents of my eMMC on my linux machine. I want to dd a new working image there. The file bone-debian-8.3-lxqt-4gb-armhf-2016-01-24-4gb.img.xz does not work that way Apr 30 22:38:16 Greetings Apr 30 22:39:26 So what I need is actually a backup of a whole eMMC for bbb, so that I don't have to build it from scratch Apr 30 23:55:00 I get some errors from U-boot when booting. Bad crc sounds bad. Apr 30 23:55:11 Anyone knows why I get this? Apr 30 23:55:15 http://pastebin.com/z8kZH1KE Apr 30 23:55:47 without looking I think uboot often reports bad crc Apr 30 23:55:48 It boots normally after showing the errors Apr 30 23:55:57 ..yeah .. :) Apr 30 23:56:03 Vestax: it does sound alarming, but it's just using the default boot environment Apr 30 23:56:13 vagrantc+ Apr 30 23:56:33 But why does it complain if there is nothing wrong? Apr 30 23:56:46 does that mean there *is* no crc .. as I might imagine .. or just its 'stale' ? Apr 30 23:56:47 it has no way of knowing what "wrong" is. Apr 30 23:57:17 the data in the sectors where it would expect and environment don't have a consistant CRC signature Apr 30 23:57:38 which is fine... it just uses the built-in defaults. Apr 30 23:57:47 vagrantc: sounds perfectl7y logical to me Apr 30 23:59:26 e.g. it reads blocks A through D, and expects a checksum to be stored in the first block ... the checksum it finds is, say, 000000 .... which doesn't match the checksum on B+C+D Apr 30 23:59:58 because it's just an uninitialized block ... or whatever giberish happens to be on your media. May 01 00:00:23 ok makes sense even though it feels wrong to see errors May 01 00:00:33 agreed. May 01 00:01:22 other boards have a much less alarming sounding issue, like "no environment detected, using defaults" May 01 00:01:34 or, no saved environment May 01 00:01:57 Thanks for the explanation May 01 00:02:01 vagrantc: that's true .. why is the bbb different? May 01 00:02:22 don't tell me .. nobody's changed it lol May 01 00:02:26 veremit: because nearly every board supported in u-boot is a special snowflake May 01 00:02:33 vagrantc: true May 01 00:02:52 but rcn should be able to get a patch in for this board May 01 00:02:53 this would make sense to have some common text for these sorts of errors... May 01 00:03:02 vagrantc: right May 01 00:03:16 * vagrantc considers adding it to the todo list May 01 00:03:40 * vagrantc has had some success pestering the right u-boot people without being too annoying May 01 00:03:48 Do Eet :) May 01 00:17:50 now that we have the BeagleBone Enhanced, is there any hope for a processor upgrade? May 01 00:18:01 that seems to be a pretty big bottleneck for me right now May 01 00:18:25 PDogJr: i think it's called beagleboard-x15. May 01 00:18:34 or any number of other boards... May 01 00:19:13 the x15 isn't actually a replacement for the BBB May 01 00:21:40 * vagrantc nods May 01 00:22:10 i doubt you'll see a similar price ranged upgraded BBB with a better processor any time soon May 01 00:22:17 the Pi got some massive upgrades and it's still a fraction of the cost but I really don't wanna invest in their ecosystem May 01 00:22:44 it looks like news on the Beagleboard front has kind of stagnated unfortunately May 01 00:23:08 I still prefer them though for the open hardware and the capes May 01 00:24:53 i think the beagle-x15 took a lot longer than expected and took a lot of effort ... still not even available for general use May 01 00:26:47 yeah I was told about that May 01 00:27:04 apparently it can be purchased but it doesn't comply with FCC restrictions or something like that May 01 00:27:18 it's way out of my price range though and overkill for small projects May 01 01:00:30 there will be no *upgrade* of the BBB .. as long as the am335x processor remains available May 01 01:00:55 I don't believe there are any equivalent pinouts, and its not economic to do a new board spin with the x15 coming out and BBB blue May 01 01:03:42 just because the Pi are doin a new version every month doesn't mean the Beagle foundation wish to follow their example. May 01 01:04:02 If you want a constantly upgrading platform .. use a Pi .. if you want a BBB, use a BBB .. if you want a Wandboard .. use a wandboard .. May 01 01:04:22 there are *so* many ARM boards out there .. take your pick. Seriously ... May 01 01:05:05 * veremit slips off his soap box May 01 01:09:15 at least one of the recent BBB variants bumped the ram May 01 01:22:02 vagrantc: don't think that's the primary concern .. but yeah the bbb enhanced is a sorta .. well .. enhanced bbb .. lol :D **** ENDING LOGGING AT Sun May 01 02:59:58 2016