#raspberrypi IRC Log


IRC Log for 2017-10-24

Timestamps are in GMT/BST.

[15:11] -tolkien.freenode.net- *** Looking up your hostname...
[15:11] -tolkien.freenode.net- *** Checking Ident
[15:11] -tolkien.freenode.net- *** Found your hostname
[15:11] -tolkien.freenode.net- *** No Ident response
[15:11] -NickServ- This nickname is registered. Please choose a different nickname, or identify via /msg NickServ identify <password>.
[15:11] -NickServ- You have 30 seconds to identify to your nickname before it is changed.
[15:11] -NickServ- You are now identified for DataBot.
[15:11] -MemoServ- You have 2 new memos.
[15:11] -MemoServ- To read them, type /msg MemoServ READ NEW
[15:11] * RaspberryPiBot (~raspberry@unaffiliated/datagutt/bot/databot) has joined #raspberrypi
[15:11] * Topic is 'Unofficial RaspberryPi IRC channel but "Blessed" by the Foundation as the ONE channel. | Logs: http://srv.datagutt1.com | Rules: https://goo.gl/h5qPhz'
[15:11] * Set by gordonDrogon!~gordon@2001:4d48:ad51:8901::2 on Sat Dec 24 16:04:53 CET 2016
[15:13] * charlietheredd (~charlieth@unaffiliated/charlietheredd) has joined #raspberrypi
[15:13] * mschorm (~mschorm@ip-78-102-201-117.net.upcbroadband.cz) has joined #raspberrypi
[15:15] <LTCD> back
[15:21] * uks (~uksio@p2003008DAC0C3A0E1D87452685B97FDB.dip0.t-ipconnect.de) has joined #raspberrypi
[15:22] * moviepiss (~klosNet@2605:a601:ca4:c00:111f:8942:6ef5:ddd3) Quit (Ping timeout: 246 seconds)
[15:22] * dreamon (~dreamon@unaffiliated/dreamon) Quit (Ping timeout: 255 seconds)
[15:22] * shantorn (~W7SAK-Sha@184-100-242-145.ptld.qwest.net) Quit (Read error: Connection reset by peer)
[15:23] * shantorn (~W7SAK-Sha@184-100-242-145.ptld.qwest.net) has joined #raspberrypi
[15:23] * ravustaja (~ravustaja@176-93-210-137.bb.dnainternet.fi) Quit (Ping timeout: 240 seconds)
[15:23] * DammitJim (~DammitJim@ Quit (Quit: Leaving)
[15:23] * uksio (~uksio@p2003008DAC0C3AEC1D87452685B97FDB.dip0.t-ipconnect.de) Quit (Ping timeout: 246 seconds)
[15:24] * TinkerTyper (~putneyj@75-8-78-151.lightspeed.rlghnc.sbcglobal.net) Quit (Read error: Connection reset by peer)
[15:28] * modpryme (~modp@unaffiliated/modp) Quit (Ping timeout: 240 seconds)
[15:29] * pksato (~PEBKAC@unaffiliated/pksato) Quit (Quit: Problem Exists Between Keyboard And Chair)
[15:31] * ravustaja (~ravustaja@176-93-129-174.bb.dnainternet.fi) has joined #raspberrypi
[15:32] * AaronMT (~textual@2607:fea8:3c9f:f0e8:80c1:1039:7664:9eb5) has joined #raspberrypi
[15:35] * arubislander (~ubuntuadm@ has left #raspberrypi
[15:38] * Guest5601 is now known as datagutt
[15:42] <LTCD> Lartza Dumb question but I assume this software needs to be installed onto the Pi?
[15:42] <Lartza> What software? kind of yes
[15:42] <Lartza> The guide does all the setup on the pi
[15:42] <Lartza> the decryption stuff is kind of on /boot once you are finished
[15:43] <LTCD> Right just checking, damn need to find a HDMI cable in this office.
[15:48] * t0mab (~t0mab@stakhanov.u-strasbg.fr) Quit (Remote host closed the connection)
[15:52] * mschorm (~mschorm@ip-78-102-201-117.net.upcbroadband.cz) Quit (Ping timeout: 252 seconds)
[15:52] * shantorn (~W7SAK-Sha@184-100-242-145.ptld.qwest.net) Quit (Quit: Leaving)
[15:55] * shantorn (~W7SAK-Sha@184-100-242-145.ptld.qwest.net) has joined #raspberrypi
[15:56] * DammitJim (~DammitJim@ has joined #raspberrypi
[16:02] * jrofd_ (~jrofd@ Quit (Read error: Connection reset by peer)
[16:02] * jrofd (j3dl3@ has joined #raspberrypi
[16:04] * DammitJim (~DammitJim@ Quit (Quit: Leaving)
[16:08] * Syliss (~Syliss@asa1.digitalpath.net) has joined #raspberrypi
[16:13] * Tuxist (~quassel@2a01:598:998b:88d0:c851:958a:64ff:2) has joined #raspberrypi
[16:13] * mike_t (~mike@rv-cl-88-200-198-190.pool.tolcom.ru) has joined #raspberrypi
[16:21] * ipnos (~ipnos@host203-72-dynamic.25-79-r.retail.telecomitalia.it) has joined #raspberrypi
[16:25] * ejb (~ejb@unaffiliated/ejb) has joined #raspberrypi
[16:26] * mmazing (~mmazing@unaffiliated/mmazing) has joined #raspberrypi
[16:27] * IT_Sean (~sean@applefritter/IRCStaff) has joined #raspberrypi
[16:28] * one2zero (~one2zero@ Quit (Ping timeout: 248 seconds)
[16:30] * t0mab (~t0mab@stakhanov.u-strasbg.fr) has joined #raspberrypi
[16:32] * mmazing (~mmazing@unaffiliated/mmazing) Quit (Quit: Leaving)
[16:35] * mmazing (~mmazing@unaffiliated/mmazing) has joined #raspberrypi
[16:35] * mmazing (~mmazing@unaffiliated/mmazing) Quit (Remote host closed the connection)
[16:36] * ahrs (~quassel@gateway/vpn/privateinternetaccess/ahrs) Quit (Remote host closed the connection)
[16:37] * mmazing (~mmazing@unaffiliated/mmazing) has joined #raspberrypi
[16:37] * ahrs (~quassel@gateway/vpn/privateinternetaccess/ahrs) has joined #raspberrypi
[16:38] * shantorn (~W7SAK-Sha@184-100-242-145.ptld.qwest.net) Quit (Quit: Leaving)
[16:41] * mine9 (~wtf_over@c-24-22-38-85.hsd1.or.comcast.net) has joined #raspberrypi
[16:44] * dan3wik (~dan2wik@unaffiliated/dan2wik) has joined #raspberrypi
[16:45] * pk12 (~pk12@ has joined #raspberrypi
[16:46] * dan2wik (~dan2wik@unaffiliated/dan2wik) Quit (Ping timeout: 248 seconds)
[16:48] * akk (~akkana@71-36-48-1.albq.qwest.net) has joined #raspberrypi
[16:51] <LTCD> Well I just installed raspbian onto an SD and it's working. Now to do the encryption stuff I guess.
[16:52] * Blubberbub (~Nobody@p5DC73AEA.dip0.t-ipconnect.de) Quit (Quit: Bye)
[16:53] * dreamon (~dreamon@unaffiliated/dreamon) has joined #raspberrypi
[16:53] * Blubberbub (~Nobody@p5DC73AEA.dip0.t-ipconnect.de) has joined #raspberrypi
[16:55] * goiko (~goiko@unaffiliated/goiko) Quit (Ping timeout: 240 seconds)
[16:58] * cybrian (~b@ibeep.com) Quit (Ping timeout: 248 seconds)
[16:59] * TReK (~UnFaQ@unaffiliated/trek) Quit (Ping timeout: 255 seconds)
[17:01] * JohnBeales (~johnbeale@ has joined #raspberrypi
[17:02] * sajattack (~paul@S0106848dc7eaaa19.gv.shawcable.net) Quit (Ping timeout: 248 seconds)
[17:02] * cybrian (~b@ibeep.com) has joined #raspberrypi
[17:03] * TReK (~UnFaQ@unaffiliated/trek) has joined #raspberrypi
[17:04] * smuten (~manon@ Quit (Quit: leaving)
[17:07] * pm001 (~pac@p5084A4F5.dip0.t-ipconnect.de) Quit (Ping timeout: 240 seconds)
[17:09] <LTCD> Lartza I'll happily pay you a few $ if you walk me through this please.
[17:11] <Lartza> I'm frying meatballs but I'm still kind of here
[17:11] <Lartza> :D
[17:11] <Lartza> do the Install Software part in the guide like it's described at least
[17:12] <Lartza> but then in the boot files part replace mmcblk0p2 with sda1 and sdcard with usb
[17:12] * designbybeck (~designbyb@x174y231.angelo.edu) has joined #raspberrypi
[17:13] <Lartza> and don't reboot... I don't think that's needed
[17:15] * webturtle0 (~webturtle@d28-23-69-11.dim.wideopenwest.com) has joined #raspberrypi
[17:16] * lksz (~lksz@217-67-201-162.itsa.net.pl) Quit (Ping timeout: 240 seconds)
[17:16] * Haxxa (~Harrison@ Quit (Ping timeout: 248 seconds)
[17:16] <Lartza> create a partition table and a single partition on the USB stick, and then you should just need to run cryptsetup luksFormat /dev/sda1 /path/to/mykeyfile
[17:17] <Lartza> then I would luksopen and mount it, make an ext4 filesystem on it and copy the sdcard root partition files to it with rsync
[17:17] <Lartza> the key should probably be made to the /boot partition
[17:18] * kculpis (~kculpic@unaffiliated/kculpic) Quit (Ping timeout: 258 seconds)
[17:18] * almostworking (~almostwor@unaffiliated/almostworking) has joined #raspberrypi
[17:18] * yohnnyjoe (~yohnnyjoe@c-73-129-2-10.hsd1.dc.comcast.net) has joined #raspberrypi
[17:19] * stux|RC-only (stux@2a01:270:2050:1337::1) Quit (Ping timeout: 255 seconds)
[17:19] * webturtle0 (~webturtle@d28-23-69-11.dim.wideopenwest.com) Quit (Ping timeout: 240 seconds)
[17:21] * Haxxa (~Harrison@ has joined #raspberrypi
[17:21] <Lartza> Also afaict crypptab needs to point to the keyfile instead of none
[17:27] * modpryme (~modp@unaffiliated/modp) has joined #raspberrypi
[17:28] * thecoffemaker (~thecoffem@unaffiliated/thecoffemaker) Quit (Ping timeout: 240 seconds)
[17:29] * Jonwel (~Jonwel@541971C3.cm-5-2b.dynamic.ziggo.nl) has joined #raspberrypi
[17:31] * Lorduncan (~Thunderbi@static-123-7-230-77.ipcom.comunitel.net) has joined #raspberrypi
[17:33] <LTCD> Lartza No wories, although I'll be going home in an hour. I got an error saying something was too big for memory stick, I am gonna reinstall Raspbian and try again.
[17:34] <Lartza> :S LTCD Are you currently on that 1GB sd?
[17:36] * TheL0singEdge (~TheL0sing@unaffiliated/thel0singedge) Quit (Ping timeout: 240 seconds)
[17:36] * goiko (~goiko@unaffiliated/goiko) has joined #raspberrypi
[17:37] * thecoffemaker (~thecoffem@unaffiliated/thecoffemaker) has joined #raspberrypi
[17:38] <LTCD> Lartza No it's 32GB SD and I have a memory stick I've not even used yet which is 8GB
[17:39] * stux|RC-only (stux@cosmo.lunarshells.com) has joined #raspberrypi
[17:46] * JohnBeales (~johnbeale@ Quit (Quit: Computer has gone to sleep.)
[17:48] * Haxxa (~Harrison@ Quit (Ping timeout: 240 seconds)
[17:51] * YuGiOhJCJ (~YuGiOhJCJ@gateway/tor-sasl/yugiohjcj) has joined #raspberrypi
[17:51] <LTCD> Lartza This part I'm gonna do now is where I got space error before: Finally let’s build the new initramfs and make sure our utilities have been installed. The mkinitramfs command may print some WARNINGs from cryptsetup, but that should be fine since we’re using CRYPTSETUP=y. As long as cryptsetup itself is present in the initramfs it won’t be a problem.
[17:52] * taza (~taza@unaffiliated/taza) has joined #raspberrypi
[17:52] * Haxxa (~Harrison@ has joined #raspberrypi
[17:54] * patrick` (uid257013@gateway/web/irccloud.com/x-myqbsyglijaieukv) Quit (Quit: Connection closed for inactivity)
[17:54] <LTCD> Lartza Seemed to work this time, I think because last time I did COMPATIBILITY=true
[17:55] <Lartza> Maybe the 100MB /boot isn't large enough anymore
[17:55] <Lartza> Ah
[17:55] <LTCD> I'm on prepare boot files.
[18:00] * Haxxa (~Harrison@ Quit (Ping timeout: 246 seconds)
[18:00] * Spr1ng (~Spr1ng@unaffiliated/spr1ng) has joined #raspberrypi
[18:00] * DFrostedWang (~DFrostedW@unaffiliated/dfrostedwang) Quit (Ping timeout: 255 seconds)
[18:01] * JohnBeales (~johnbeale@ has joined #raspberrypi
[18:02] * Haxxa (~Harrison@ has joined #raspberrypi
[18:04] * mnemonic (~semeion@unaffiliated/semeion) has joined #raspberrypi
[18:04] * semeion (~semeion@unaffiliated/semeion) Quit (Ping timeout: 240 seconds)
[18:05] * Dave_MMP is now known as djsxxx_away
[18:05] * DFrostedWang (~DFrostedW@unaffiliated/dfrostedwang) has joined #raspberrypi
[18:06] * [Butch] (~butch@ has joined #raspberrypi
[18:08] <LTCD> bro
[18:08] <LTCD> Replace root=/dev/mmcblk0p2 with root=/dev/mapper/sdcard
[18:09] <LTCD> ^ Can't find this
[18:09] <LTCD> Lartza Please reply going in 30 mins
[18:09] * dreamon (~dreamon@unaffiliated/dreamon) Quit (Ping timeout: 240 seconds)
[18:11] <BurtyB> LTCD, new images use PARTUUID style rather than devices - using blkid should show what PARTUUID the devices have
[18:11] * mnemonic (~semeion@unaffiliated/semeion) Quit (Ping timeout: 248 seconds)
[18:11] <Lartza> there should be a root= setting yeah
[18:12] <LTCD> BurtyB I see PARTUUUID like you said
[18:12] <Lartza> you can just replace the PARTUUID=something part with /dev/mapper/usb
[18:12] <LTCD> What do I need to do though sorry?
[18:12] <LTCD> root =/dev/mapper/usb ??
[18:12] <Lartza> I think yeah
[18:12] <Lartza> Or not?
[18:13] <LTCD> I'll do root=/dev/mapper/usb
[18:13] <LTCD> /etc/fstab Replace /dev/mmcblk0p2 with /dev/mapper/sdcard <--- What do I do here?
[18:14] <LTCD> Do I replace sdcard to usb?
[18:14] * mine9 (~wtf_over@c-24-22-38-85.hsd1.or.comcast.net) Quit (Quit: [IRSSI] Never argue with idiots... They drag you down to their level and beat you with experience.)
[18:14] <Lartza> yeah
[18:14] <Lartza> it's just a name you make but
[18:14] <Lartza> makes it more clear
[18:15] <LTCD> Can't see dev though
[18:16] <LTCD> Can't see /dev/
[18:16] <Lartza> That exact dev? it's only visible if you've luksopened
[18:16] <LTCD> I opened /etc/fstab in nano
[18:16] * webturtle0 (~webturtle@d28-23-69-11.dim.wideopenwest.com) has joined #raspberrypi
[18:16] * ali1234 (~ali1234@2a01:4f8:162:4348::2) Quit (Ping timeout: 255 seconds)
[18:17] * Tholia2 (~tholia@c-73-254-1-34.hsd1.wa.comcast.net) has joined #raspberrypi
[18:17] <Lartza> is there an entry with the mountpoint / ?
[18:17] <Lartza> That's what you want to replace again, it uses the partuuid probably
[18:17] * Tholia (~tholia@2601:600:8880:2770:e53a:3f29:d9b:82f4) Quit (Ping timeout: 252 seconds)
[18:17] * wgas (~wgas@unaffiliated/wgas) has joined #raspberrypi
[18:18] <LTCD> I see partuuid yeah it's for /boot and another one on next line is for /
[18:18] <LTCD> Lartza
[18:18] <Lartza> Yeah that's the rootpartition that's going to be the devmapper instead of the partuuid
[18:19] <LTCD> Lartza So I change the boot one to what exactly?
[18:19] <Lartza> not the boot one the root one
[18:19] <Lartza> and same that you used in cmdline
[18:19] <LTCD> Replace PARTUUID=sjddskhewfr / (for root) to PARTUUID/dev/mapper/usb
[18:19] * jcjordyn120 (~jcjordyn1@unaffiliated/jcjordyn120) has joined #raspberrypi
[18:20] <Lartza> no partuuid
[18:20] <Lartza> no partuuid in cmdline.txt either
[18:20] * semeion (~semeion@unaffiliated/semeion) has joined #raspberrypi
[18:21] <LTCD> root=/dev/mapper/usb /
[18:21] <LTCD> Like that then?
[18:21] * webturtle0 (~webturtle@d28-23-69-11.dim.wideopenwest.com) Quit (Ping timeout: 255 seconds)
[18:21] * davr0s (~textual@host86-157-68-96.range86-157.btcentralplus.com) has joined #raspberrypi
[18:22] <LTCD> BTW I don't have any USB inserted into the pie, I didn't even format it like you told me to earlier.
[18:23] <LTCD> Lartza Sorry to nag but I'm leaving in 10 minutes and don't want to corrupt everything by rebooting.
[18:23] <Lartza> just the dev path
[18:24] <LTCD> s
[18:24] <Lartza> Not sure what you can manage in 10 minutes
[18:24] <Lartza> :P
[18:24] <LTCD> so /dev/blablabla
[18:24] <LTCD> haha I suck
[18:24] <Lartza> I don't mean like that but, it's not the easiest of tasks
[18:24] <LTCD> Touche
[18:24] <LTCD> Hopefully I'll see you here tomorrow morning.
[18:24] <LTCD> /etc/crypttab Append sdcard /dev/mmcblk0p2 none luks to the end of the file.
[18:25] <Lartza> I'm gonna be shopping at some point so maybe not in the morning, it's not exactly an obscure thing to do though so
[18:25] <LTCD> No worries
[18:25] <Lartza> asking here or in ##linux should get you going aswell
[18:25] <Lartza> or reading the archwiki
[18:25] <LTCD> True
[18:25] <Lartza> and the guide
[18:25] <Lartza> Usually the guides have you put everything on the same disk but if you adapt a little it doesn't matter where the LUKS partition is
[18:26] <LTCD> So open /etc/crypttab then change above to usb /dev/mapper/usb none luks
[18:26] <Lartza> none needs to be path/to/keyfile
[18:27] <Lartza> so probably /boot/whatyourkeyfileisgoingtobecalled
[18:27] <LTCD> Doesn't this need to be a USB though?
[18:27] * ChunkzZ (uid233645@gateway/web/irccloud.com/x-qimxlpahxvgevmfg) Quit (Quit: Connection closed for inactivity)
[18:27] <Lartza> no?
[18:27] <LTCD> Okay so:
[18:27] <Lartza> The keyfile will be on the sdcard with a pi2
[18:27] <Lartza> or you could have a third SD card
[18:27] <Lartza> *usb stick
[18:28] <LTCD> usb /boot/theKeyFile none luks
[18:28] <LTCD> fuck
[18:28] <LTCD> I got confused
[18:28] <LTCD> I'm on the SD card now (it's where raspbian OS is). So the keyfile will be on SD card, where should I save this?
[18:28] * Lorduncan (~Thunderbi@static-123-7-230-77.ipcom.comunitel.net) Quit (Quit: Lorduncan)
[18:29] <Lartza> The keyfile will be on /boot/ now yes
[18:29] <Lartza> on the sdcard
[18:29] <Lartza> since the pi2 can't boot from the usb so /boot can't be on the usb
[18:29] <LTCD> usb /boot/theKeyFile none luks
[18:29] <Lartza> no none
[18:29] <LTCD> ^ Okay so I'll write this
[18:29] <LTCD> Ahh I'll remove none
[18:29] <Lartza> none would be if you used a password yeah
[18:29] <Lartza> like in the guide they do
[18:29] <LTCD> They have none in guide
[18:30] * YuGiOhJCJ (~YuGiOhJCJ@gateway/tor-sasl/yugiohjcj) Quit (Remote host closed the connection)
[18:30] * svm_invictvs (~svm_invic@unaffiliated/svminvictvs/x-938456) has joined #raspberrypi
[18:31] <LTCD> Lartza So you sure I remove none?
[18:31] <Lartza> the guide uses a password
[18:31] <Lartza> so no keyfile
[18:31] <Lartza> = none
[18:31] <hlev80> who's well familiar with network booting the pi?
[18:31] * ali1234 (~ali1234@2a01:4f8:162:4348::2) has joined #raspberrypi
[18:31] <Lartza> man crypttab
[18:31] <LTCD> Okay I'll remove none and save it Lartza. What next?
[18:32] * YuGiOhJCJ (~YuGiOhJCJ@gateway/tor-sasl/yugiohjcj) has joined #raspberrypi
[18:32] <Lartza> don't you also need path to the dev between usb and the keyfile path...
[18:32] <Lartza> :P
[18:32] <LTCD> Since you told me not to reboot how should I continue
[18:32] <LTCD> Lartza Huh?
[18:33] <Lartza> usb /dev/sda1 /boot/theKeyFile luks
[18:33] <Lartza> like in the guide
[18:33] * markmcb (~markmcb@ Quit (Ping timeout: 255 seconds)
[18:33] <Lartza> fdisk the usb and create a partition on it, create a keyfile, luksformat the partition with that keyfile
[18:34] * mike_t (~mike@rv-cl-88-200-198-190.pool.tolcom.ru) Quit (Remote host closed the connection)
[18:34] <LTCD> Lartza Maybe we are reading different things? /etc/crypttab Append sdcard /dev/mmcblk0p2 none luks to the end of the file.
[18:34] * svm_invictvs (~svm_invic@unaffiliated/svminvictvs/x-938456) Quit (Client Quit)
[18:34] <LTCD> Or did you move onto next step?
[18:34] <Lartza> no, that's the step
[18:35] <Lartza> sdcard changes to usb, /dev/mmbcblk0p2 points to the sdcard so you put /dev/sda1 instead and none means you have to enter password so you use /boot/keyfile instead
[18:35] * Lorduncan (~Thunderbi@static-123-7-230-77.ipcom.comunitel.net) has joined #raspberrypi
[18:36] <LTCD> Ohhhhh so because I removed none it will use a key file? Okay.
[18:36] <LTCD> usb /boot/theKeyFile luks <--- This is what I put.
[18:36] <LTCD> Next step since I was told not to reboot?
[18:36] <Lartza> usb /dev/sda1 /boot/theKeyFile luks
[18:36] <Lartza> you are still missing sda1 if you didn't add it
[18:36] <Lartza> next step: fdisk the usb and create a partition on it, create a keyfile, luksformat the partition with that keyfile
[18:37] <LTCD> Fuck
[18:38] <hlev80> anyone familiar with network booting the pi3 (without sd)? it mostly works but I'd like to figure out why it ignores dhcp offers every now and then.
[18:39] <LTCD> Lartza Can I use gparted instead?
[18:40] <Lartza> possibly
[18:40] <Lartza> at least to format the usb
[18:40] <Lartza> maybe even luks
[18:40] <LTCD> ext4 filesystem using gparted?
[18:40] <Lartza> No
[18:40] <Lartza> the luks is on top of the ext4
[18:40] <Lartza> you format the /dev/mapper/usb as ext4 then, which is inside the luks
[18:41] <Lartza> gparted might be able to do that too though
[18:41] * kopper (~mrbabar@unaffiliated/kopper) Quit (Ping timeout: 240 seconds)
[18:41] <Lartza> if it can only luks with a password you should be able to add keyfiles later too
[18:41] <LTCD> Okay so format with ext4, create a keyfile, then use luksformat on the partition with keyfile.
[18:41] <Lartza> you don't need to format it just create it as an empty partition
[18:42] * YuGiOhJCJ (~YuGiOhJCJ@gateway/tor-sasl/yugiohjcj) Quit (Quit: YuGiOhJCJ)
[18:43] * wgas (~wgas@unaffiliated/wgas) Quit (Quit: Leaving)
[18:43] <LTCD> Lartza Okay I found a random file on HDD and called it: theKeyFile
[18:43] <LTCD> I'm unsure about the rest though sorry,
[18:43] <Lartza> you have to create a key
[18:43] <Lartza> wait no actually
[18:44] <Lartza> no you don't
[18:44] <Lartza> :P
[18:44] * Lorduncan (~Thunderbi@static-123-7-230-77.ipcom.comunitel.net) Quit (Ping timeout: 264 seconds)
[18:44] <Lartza> I've not done luks much, and only with a password pretty much
[18:44] <LTCD> IDK how to generate a key file
[18:45] <Lartza> It's arbitary content and size with luks
[18:45] <Lartza> so, in any way you want basically
[18:45] <LTCD> Okay I have a random file to use as a keyfile.
[18:45] <Lartza> arch wiki has dd bs=512 count=4 if=/dev/urandom of=/boot/theKeyFile
[18:45] <Lartza> for instance
[18:45] <Lartza> that creates a 2MB random file
[18:45] <LTCD> How do I create a partition? How do I luksformat the partitoon with that keyfile?
[18:46] <Lartza> fdisk or gparted
[18:46] * ech0s7 (~ech0s7@ has joined #raspberrypi
[18:46] <LTCD> Ah okay
[18:46] * GerhardSchr (~GerhardSc@unaffiliated/gerhardschr) has joined #raspberrypi
[18:46] * Mikelevel (~MoVeWoRk@unaffiliated/mikelevel) has joined #raspberrypi
[18:46] <Lartza> cryptsetup luksFormat /dev/sda1 /path/to/mykeyfile
[18:46] * kushal (~figo@fedora/kushal) has joined #raspberrypi
[18:46] <Lartza> gparted MIGHT be able to do luks at the same time though
[18:46] <LTCD> The partition (there is just one) is already ext4
[18:47] <LTCD> Ohh so do it on the pi?
[18:47] <Lartza> well it gets overwritten
[18:47] <Lartza> well you don't have to necessarily
[18:47] <Lartza> But you need to move the files on the sdcard to it so
[18:47] <LTCD> Right I've plugged into the pi.
[18:47] <Lartza> at some point you need to have the sd and usb on the same computer
[18:48] <LTCD> Then just type what
[18:48] <Lartza> did you luksformat?
[18:48] <LTCD> cryptsetup luksFormat /dev/sda1 /path/to/mykeyfile <--- Doing now didn't see this
[18:49] * svm_invictvs (~svm_invic@unaffiliated/svminvictvs/x-938456) has joined #raspberrypi
[18:49] * markmcb (~markmcb@ has joined #raspberrypi
[18:50] * kopper (~mrbabar@unaffiliated/kopper) has joined #raspberrypi
[18:50] <LTCD> How do you know it's sda1?
[18:50] <Lartza> Is it your only USB storage device?
[18:51] <Lartza> I don't know, you should know though
[18:51] * Gathis (~TheBlack@unaffiliated/gathis) has joined #raspberrypi
[18:51] <LTCD> Yes, silly me as keyboard and mouse do not start with "sd"
[18:51] * Lorduncan (~Thunderbi@static-123-7-230-77.ipcom.comunitel.net) has joined #raspberrypi
[18:53] <LTCD> cryptsetup luksFormat /dev/sda1 /home/pi/Desktop/theKeyFile.jpg
[18:53] <LTCD> Lartza Like this?
[18:53] <Lartza> For example yeah
[18:53] <Lartza> be sure to copy/move the key to /boot and name it the same as you did in crypttab
[18:54] <Lartza> after luksformat you should be able to do cryptsetup luksOpen /dev/sda1 usb --key-file /boot/theKeyFile and see /dev/mapper/usb, then you can mkfs.ext4 /dev/mapper/usb, mount the devmapper to /mnt and rsync -axv / /mnt
[18:57] <LTCD> Lartza So the jpg file I downloaded from internet should be copied to /boot and renamed to theKeyFile?
[18:57] <Lartza> probably yeah
[18:57] <Lartza> So it can be used to unencrypt the usb :P
[18:57] * sajattack (~paul@ has joined #raspberrypi
[18:57] <LTCD> Ah forgot we doing it from SD card haha
[18:57] <Lartza> again :P
[18:58] <Lartza> it will be the reverse with a pi3 yeah
[18:58] * zzzoid (~zzzoid@85-195-242-114.fiber7.init7.net) has joined #raspberrypi
[18:58] * netcat (~client@unaffiliated/grok) has joined #raspberrypi
[18:58] <Lartza> then you'll be using mmcbkl0p1 instead of sda1 and sdcard instead of usb and you install raspbian onto the usb and /boot will be /dev/sda1
[18:59] * ChunkzZ (uid233645@gateway/web/irccloud.com/x-pjbgpnndllemzjwm) has joined #raspberrypi
[19:01] <LTCD> Lartza Wait sda1 is the memory stick are you sure this is correct? It can't find /dev/sda1 which is weird as I can see it on fdisk
[19:01] * m0j0dj0dj0 (~punk3r@unaffiliated/m0j0dj0dj0) Quit (Quit: go drink with my bitches!)
[19:01] * eightfold (~eightfold@c213-89-107-14.bredband.comhem.se) has joined #raspberrypi
[19:02] <Lartza> It should be correct
[19:02] <eightfold> any recommendations for setting up an sftp only server (not ssh)
[19:02] <Lartza> lsblk should list it
[19:02] <eightfold> i just users to be able to connect to a user (can be the same user for all users) and upload and download files (an external drive connected to the pi)
[19:03] * h4ndy is now known as H4ndy
[19:03] <LTCD> It also won't let me copy that jpg to /boot as: No space left on device
[19:04] <Lartza> LTCD, :S
[19:04] <Lartza> eightfold, Why not openssh?
[19:04] * zzzoid (~zzzoid@85-195-242-114.fiber7.init7.net) Quit (Quit: Leaving)
[19:05] <netcat> eightfold, sftp is ftp over ssh, i.e. sftp requires ssh.
[19:05] <LTCD> fuck
[19:06] <Lartza> LTCD, Make a smaller keyfile with dd and luksformat with that again?
[19:06] <Lartza> :D
[19:06] <Lartza> check how much space you have on /boot
[19:06] <Lartza> idk
[19:06] <Lartza> :/
[19:08] <LTCD> Lartza I kind of need to leave before I get kicked out of office. Would you mind writing me a quick TODO list for tomorrow please? Like copy key to /boot, use that crypt setup command that didn't work etc.
[19:08] <eightfold> netcat: https://serverfault.com/a/354618 seems it should be possible
[19:09] <LTCD> Oh shit wrong name LOL
[19:09] <Lartza> LTCD, I'm not sure your pi will boot tomorrow but :P
[19:09] <Lartza> It might get to initramfs at least
[19:09] <Lartza> and you can do cryptsetup commands there at least :/
[19:10] <LTCD> Right cryptsetup is working I think... nope keyfile is too big xD
[19:10] * Azlux (~Azlux@unaffiliated/azlux) Quit (Quit: Bye)
[19:11] <LTCD> 81.2KB key file big enough?
[19:11] <Lartza> ¯\_(ツ)_/¯ "arbitary content and size"
[19:11] <Lartza> says luks
[19:13] <LTCD> Right well I copied it to boot as theKeyFile
[19:13] <Lartza> LTCD, Something like this? https://gist.github.com/Lartza/9858c068a053becbf337ef4d10e6d44e
[19:13] <LTCD> I can't use cryptsetup as sda1 is already in use...
[19:14] <Lartza> unmount it
[19:15] <Lartza> actually
[19:15] <Lartza> not sure, if you've just luksformatted it
[19:15] <LTCD> luksformat successeed
[19:15] <LTCD> What next?
[19:15] * Mr_Keyser_Soze (~Mr_Keyser@c-69-246-32-17.hsd1.la.comcast.net) has joined #raspberrypi
[19:15] <LTCD> I think you said luksopen?
[19:15] <HighInBC> yup
[19:15] <Lartza> check the gist, it should have everything unless I forgot something :
[19:16] * Quatroking (~Quatrokin@507098BE.static.ziggozakelijk.nl) has joined #raspberrypi
[19:16] <Lartza> but yeah luksopen like in the guide
[19:16] <LTCD> cryptsetup luksOpen /dev/sda1 usb --key-file /boot/theKeyFile <--- Like this?
[19:16] * KindTwo (kindone@freenode/father-christmas/kindone) has joined #raspberrypi
[19:17] * webturtle0 (~webturtle@d28-23-69-11.dim.wideopenwest.com) has joined #raspberrypi
[19:17] <netcat> eightfold, if you don't mind limiting sftp to a chroot i guess you could try that. you won't have access to the rest of the filesystem or your home directory, though.
[19:18] <LTCD> Lartza Is that correct?
[19:18] * ali1234 (~ali1234@2a01:4f8:162:4348::2) Quit (Ping timeout: 264 seconds)
[19:18] <eightfold> netcat: can i set the chroot to an external drive/filesystem?
[19:18] * KindOne (kindone@freenode/father-christmas/kindone) Quit (Ping timeout: 240 seconds)
[19:18] <Lartza> LTCD, Should be
[19:19] * Tuxist (~quassel@2a01:598:998b:88d0:c851:958a:64ff:2) Quit (Remote host closed the connection)
[19:19] * ejb (~ejb@unaffiliated/ejb) Quit (Quit: Zzz)
[19:20] <netcat> eightfold, only one way to find out ;)
[19:21] * KindTwo is now known as KindOne
[19:21] * cute_korean_girl (~ilove@24-247-163-68.dhcp.bycy.mi.charter.com) has joined #raspberrypi
[19:21] <LTCD> Lartza Okay worked. What next?
[19:22] * webturtle0 (~webturtle@d28-23-69-11.dim.wideopenwest.com) Quit (Ping timeout: 248 seconds)
[19:22] * TheL0singEdge (~TheL0sing@unaffiliated/thel0singedge) has joined #raspberrypi
[19:22] <LTCD> mkfs.ext4 /dev/mapper/usb <--- How do I do this Lartza sorry?
[19:22] * cave (~various@h081217094041.dyn.cm.kabsi.at) has joined #raspberrypi
[19:23] <Lartza> exactly like it says
[19:23] <Lartza> :P
[19:23] * dalmata (~dalmatHG@unaffiliated/dalmathg) has joined #raspberrypi
[19:23] * martinium (~martinium@unaffiliated/martinium) has joined #raspberrypi
[19:24] <LTCD> Lartza This is probably also just as it says: mount /dev/mapper/usb /mnt
[19:24] <Lartza> Yes
[19:24] <LTCD> And this? rsync -axv / /mnt
[19:24] <Lartza> yes
[19:25] <LTCD> fuck didn't run it as sudo
[19:25] <LTCD> Hope that doesn't screw anything up as some files copied or whatever it did
[19:26] <LTCD> Lartza How do I do this sorry? cryptsetup close(can't remember exact command) and recheck you can luksopen
[19:26] <Lartza> you need to sudo it
[19:26] <HighInBC> cryptsetup luksClose <volumename> is what I use
[19:26] <Lartza> I think it's cryptsetup close... usb maybe
[19:26] <Lartza> or that
[19:26] <Lartza> but you need to sudo rsync
[19:27] <LTCD> Lartza Yeah I sudo rsync it's copying loads of files over.
[19:27] * JohnBeales (~johnbeale@ Quit (Quit: Computer has gone to sleep.)
[19:27] <LTCD> God I'm still at the office since you won't be online tomorrow.
[19:27] * BCMM (~BCMM@unaffiliated/bcmm) has joined #raspberrypi
[19:27] * Encrypt (~Encrypt@2a01cb0401d17200e4740596b983b6d2.ipv6.abo.wanadoo.fr) has joined #raspberrypi
[19:28] <Lartza> Not in the morning at least :S
[19:28] <Lartza> My morning at least
[19:28] <LTCD> UK ?
[19:28] <Lartza> Finland
[19:28] <akk> Anybody use an ir receiver on a pi with python? I think I have lircd set up and running, but I can't figure out how to read events coming from the remote.
[19:28] <LTCD> cryptsetup luksClose sda1 <--- Like this?
[19:28] <akk> python-lirc always gives me "Unable to initialise lirc (socket was -1 from C library)"
[19:30] <Lartza> LTCD, I think luks folume name so usb
[19:31] * ali1234 (~ali1234@2a01:4f8:162:4348::2) has joined #raspberrypi
[19:31] <LTCD> Lartza Okay I need to leave. Thanks so much for your help, hopefully we can bumb into each other tomorrow!
[19:31] * Armand (~armand@office.prgn.misp.co.uk) Quit (Quit: "isth thish for the thong thang nexth thurshday?")
[19:32] <Lartza> No problem :)
[19:33] <LTCD> Bye
[19:33] <LTCD> Have a good evening
[19:33] <LTCD> Thanks so much, hopefully tomorrow if I don't bump into you I can finish this myself as we have got through the hard part.
[19:33] <LTCD> cya
[19:33] * LTCD (c3ad0b03@gateway/web/freenode/ip. has left #raspberrypi
[19:37] * MrMojit0 (~MrMojit0@52D9DF74.cm-11-1d.dynamic.ziggo.nl) has joined #raspberrypi
[19:38] <akk> ircat apparently doesn't work unless you've set up .lircrc, and the standard way to do that seems to be lirc-config-tool
[19:38] <akk> which seems to be omitted from the raspbian version of lirc.
[19:39] <ShorTie> NANO ??
[19:39] <GrandPa-G> is there a software way to shutdown a pi without any shutdown scripts running. I want to simulate power outage. I am getting tired of pulling the plug.
[19:40] <ShorTie> shutdown now -h ??
[19:41] <plum> i usually just do sudo shutdown now
[19:41] <leftyfb> GrandPa-G: you could "crash" it
[19:41] <leftyfb> 'shutdown' runs shutdown scripts
[19:41] <plum> ohhh
[19:41] <ShorTie> No no, not the big hammer
[19:41] <plum> dang
[19:42] <shauno> halt --force shouldn't
[19:42] <GrandPa-G> you mean with a hammer? Seriously I want to run a program timed
[19:42] * mythos (~mythos@unaffiliated/mythos) Quit (Ping timeout: 258 seconds)
[19:42] <shauno> (this is generally a bad idea, unless you're actually trying to simulate bad ideas)
[19:42] <ShorTie> halt is just a link to shutdown though i believe
[19:42] <leftyfb> GrandPa-G: echo 1 > /proc/sys/kernel/sysrq ; echo o > /proc/sysrq-trigger
[19:42] <GrandPa-G> yes, I am trying to simulate a bad idea
[19:43] <leftyfb> GrandPa-G: or a crash: echo 1 > /proc/sys/kernel/sysrq ; echo c > /proc/sysrq-trigger
[19:43] <shauno> reboot and halt take --force, but shutdown doesn't. makes no sense to me either
[19:44] <GrandPa-G> will reboot --force do it on the shutdown side?
[19:44] <plum> GrandPa-G: that's interesting, out of curiosity what are you looking for with testing it?
[19:44] * Mr_Keyser_Soze (~Mr_Keyser@c-69-246-32-17.hsd1.la.comcast.net) Quit (Ping timeout: 264 seconds)
[19:45] <ShorTie> shutdown now -r too reboot
[19:45] <GrandPa-G> I am trying to corrupt a db file with a program that I suspect is doing it. If I can prove a crash is doing it, the I have a fix that is supposed to work. Then I can try the same scenario and see if no corruption occurs. Very unscientific at best.
[19:48] <ShorTie> hmm, both shutdown and reboot are just symlinks to systemctl
[19:48] <shauno> welcome to the systemdzone. don't adjust your set!
[19:49] <GrandPa-G> I don't want the OS getting a chance flush buffers.
[19:49] * wamph (~w@cpc102212-ely08-2-0-cust151.5-1.cable.virginm.net) Quit (Remote host closed the connection)
[19:50] * asteele (~cronoh@2601:646:102:c370:e937:b08c:bafd:50e3) has joined #raspberrypi
[19:51] <GrandPa-G> leftyfb
[19:52] <leftyfb> ?
[19:52] <GrandPa-G> ; got nonexistant directory
[19:52] <shauno> you could just wire the cheapest button you can find to the 'run' header. I know you asked for software, but just resetting the cpu seems the easiest way to make sure the kernel gets no say at all
[19:53] <leftyfb> oh, might be different on arm ... I didn't bother to check
[19:53] <leftyfb> no, those exist
[19:53] <leftyfb> GrandPa-G: gotta run it as root
[19:54] <GrandPa-G> shauno:got tired of pushing the button.
[19:54] <GrandPa-G> leftyfb: did sudo
[19:54] <leftyfb> sudo won't work with echo :)
[19:54] * jinie (~jimmy@ has joined #raspberrypi
[19:55] <leftyfb> GrandPa-G: or a crash: echo 1 |sudo tee -a /proc/sys/kernel/sysrq ; echo c |sudo tee -a /proc/sysrq-trigger
[19:55] <leftyfb> to clarify, sudo won't work with redirect
[19:55] * Silversword (~silverswo@gateway/vpn/privateinternetaccess/silversword) Quit (Quit: Chuck Norris never quits)
[19:55] <GrandPa-G> leftyfb:ah yes, forgot
[19:57] * swift110 (~swift110@unaffiliated/swift110) has joined #raspberrypi
[19:58] * mgottschlag (~quassel@reactos/tester/phoenix64) has joined #raspberrypi
[20:01] * EnrgySmth (d8eba101@gateway/web/freenode/ip. has joined #raspberrypi
[20:03] <GrandPa-G> leftyfb:looks like it crashed but I had to pull plug to start up. I guess I need to amend my requirement to be crash-reboot programmiticaly
[20:03] <leftyfb> ah
[20:03] <leftyfb> GrandPa-G: echo 1 |sudo tee -a /proc/sys/kernel/sysrq ; echo b |sudo tee -a /proc/sysrq-trigger
[20:03] <tristero> "sudo tee" is a hack. Just use 'sudo su -c "what | ever | you | want > whereever' "
[20:04] <tristero> (oops, swap the ' and ")
[20:04] * ShorTie Thinkz, you like always need to pull the plug to restart
[20:05] * energizer (~energizer@unaffiliated/energizer) has joined #raspberrypi
[20:05] * d4rklit3 (~textual@rrcs-64-183-104-146.west.biz.rr.com) has joined #raspberrypi
[20:05] <ShorTie> cost to much to put a power button on
[20:05] <leftyfb> GrandPa-G: sudo su -c "echo 1 > /proc/sys/kernel/sysrq" sudo su -c "echo b > /proc/sysrq-trigger"
[20:05] <leftyfb> er
[20:05] <leftyfb> GrandPa-G: sudo su -c "echo 1 > /proc/sys/kernel/sysrq" ; sudo su -c "echo b > /proc/sysrq-trigger"
[20:06] * naf (~no@unaffiliated/naf) has joined #raspberrypi
[20:06] <tristero> can also put multiple commands separated by ';' all within the -c "...", because that's interpreted by a shell
[20:07] <tristero> so just: sudo su -c "echo 1 > /proc/sys/kernel/sysrq; echo b > /proc/sysrq-trigger"
[20:08] <GrandPa-G> that seemed to work. What is the purpose of the first command?
[20:09] * HerculeP (~odroid@p20030006414C3254A45644FB3A393895.dip0.t-ipconnect.de) Quit (Ping timeout: 258 seconds)
[20:10] <GrandPa-G> should I just be able to put that in a file named crash and do ./crash?
[20:12] * Silversword (~silverswo@gateway/vpn/privateinternetaccess/silversword) has joined #raspberrypi
[20:17] <leftyfb> GrandPa-G: you can. The first one enables sysrq magic keys
[20:17] <GrandPa-G> I am now going to put it in some looping script with random times. This is a lot more fun that doing what I am supposed to be doing!
[20:19] * WARlrus (~freenode@home.mattdyson.org) Quit (Ping timeout: 276 seconds)
[20:21] * WARlrus (~freenode@home.mattdyson.org) has joined #raspberrypi
[20:22] * sajattack (~paul@ Quit (Ping timeout: 255 seconds)
[20:23] * netcat (~client@unaffiliated/grok) Quit (Ping timeout: 264 seconds)
[20:24] * stiv (~steve@blender/coder/stivs) has joined #raspberrypi
[20:30] * ali1234 (~ali1234@2a01:4f8:162:4348::2) Quit (Ping timeout: 255 seconds)
[20:30] * Ilyas (uid43013@gateway/web/irccloud.com/x-iwqynczeaiixxoqq) Quit (Quit: Connection closed for inactivity)
[20:31] * Mr_Keyser_Soze (~Mr_Keyser@c-69-246-32-17.hsd1.la.comcast.net) has joined #raspberrypi
[20:32] * MrMojit0 (~MrMojit0@52D9DF74.cm-11-1d.dynamic.ziggo.nl) Quit (Quit: Leaving)
[20:33] * pauliunas (uid237462@gateway/web/irccloud.com/x-qgjdqqoansefotyu) has joined #raspberrypi
[20:38] * Martian (~martian@ has joined #raspberrypi
[20:39] * Encrypt (~Encrypt@2a01cb0401d17200e4740596b983b6d2.ipv6.abo.wanadoo.fr) Quit (Quit: Quit)
[20:44] * ali1234 (~ali1234@2a01:4f8:162:4348::2) has joined #raspberrypi
[20:49] * ek926m (~ek926m@2a01:598:9183:7d89:6a2d:c4a:b599:b911) has joined #raspberrypi
[20:51] * davr0s (~textual@host86-157-68-96.range86-157.btcentralplus.com) Quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
[20:53] * mmazing (~mmazing@unaffiliated/mmazing) Quit (Quit: Leaving)
[20:53] * m_t (~m_t@p5DDA1711.dip0.t-ipconnect.de) Quit (Quit: Leaving)
[20:57] * ek926m (~ek926m@2a01:598:9183:7d89:6a2d:c4a:b599:b911) Quit (Quit: Leaving)
[20:58] * ek926m (~ek926m@2a01:598:9183:7d89:6a2d:c4a:b599:b911) has joined #raspberrypi
[20:58] * Lorduncan (~Thunderbi@static-123-7-230-77.ipcom.comunitel.net) Quit (Quit: Lorduncan)
[20:59] * ek926m (~ek926m@2a01:598:9183:7d89:6a2d:c4a:b599:b911) Quit (Remote host closed the connection)
[21:01] * swift110 (~swift110@unaffiliated/swift110) Quit (Ping timeout: 248 seconds)
[21:02] * joro_ (~joro_@ has joined #raspberrypi
[21:03] * macalba (~textual@ has left #raspberrypi
[21:06] * BOKALDO (~BOKALDO@ Quit (Quit: Leaving)
[21:06] * fishguts (~fishguts@c114-76-158-197.sunsh2.vic.optusnet.com.au) Quit (Ping timeout: 248 seconds)
[21:06] * duckpuppy (~patrickai@ Quit (Ping timeout: 240 seconds)
[21:07] * Chinesium (~ER_nesto@ has joined #raspberrypi
[21:07] * aliasunknown (~aliasunkn@bl8-248-215.dsl.telepac.pt) has joined #raspberrypi
[21:08] * seeit (~seeit@ has joined #raspberrypi
[21:10] * Mr_Keyser_Soze (~Mr_Keyser@c-69-246-32-17.hsd1.la.comcast.net) Quit (Quit: Leaving)
[21:13] * joro_ (~joro_@ Quit (Read error: Connection reset by peer)
[21:13] * joro_ (~joro_@ has joined #raspberrypi
[21:13] * aibohphobia (~aibohphob@cpc110555-roth9-2-0-cust97.17-1.cable.virginm.net) has joined #raspberrypi
[21:17] * pavlushka (~pavlushka@ubuntu/member/pavlushka) Quit (Quit: See you on the other side)
[21:18] * Ilyas (uid43013@gateway/web/irccloud.com/x-losucxzppggcjpqr) has joined #raspberrypi
[21:18] * nealshire (~nealshire@unaffiliated/nealshire) Quit (Read error: Connection reset by peer)
[21:21] * pierssturley (uid141549@gateway/web/irccloud.com/x-tvxxopgcksroamgc) has joined #raspberrypi
[21:23] * nast (~nast@ has joined #raspberrypi
[21:25] * markmcb (~markmcb@ Quit (Ping timeout: 246 seconds)
[21:25] <akk> Has anybody used python to listen for an IR remote, e.g. with lirc?
[21:25] <akk> I have irw working but I haven't found any way to read values programmatically.
[21:26] * n4n0` (~mew@ Quit (Quit: ZNC 1.6.3+deb1 - http://znc.in)
[21:27] <akk> I've tried python-lirc, lircpy, pylirc
[21:29] <ShorTie> have you read https://stackoverflow.com/questions/43690898/how-to-use-ir-remote-with-raspberry-pi-using-python
[21:31] <akk> I saw that (among lots of others) but that one doesn't seem to answer the question.
[21:31] * dansan (~daniel@2600:1700:be30:d00::49) Quit (Remote host closed the connection)
[21:31] <akk> This better describes what I'm seeing: https://github.com/tompreston/python-lirc/issues/10
[21:32] * akk just noticed that bug is active today, maybe I should join it and add my comments
[21:33] * sajattack (8e1f405b@gateway/web/freenode/ip. has joined #raspberrypi
[21:34] * jelly (jelly@pdpc/supporter/active/jelly) Quit (Ping timeout: 255 seconds)
[21:36] * BCMM (~BCMM@unaffiliated/bcmm) Quit (Remote host closed the connection)
[21:37] * niq84 (~niq84@3x0.eu) has joined #raspberrypi
[21:37] <aliasunknown> Hello
[21:38] <aliasunknown> I have been having some issues with noise and interference from the pi and and GPRS modem which are both connected to a PCB
[21:39] <aliasunknown> I already ordered some new connectors but I would like to get some ideas about the wire length between the pi and PCB
[21:40] <aliasunknown> The wires are about 28cm
[21:40] <aliasunknown> and once in a while i get interference on the I2C
[21:40] * jelly-home (jelly@pdpc/supporter/active/jelly) has joined #raspberrypi
[21:44] <stiv> if memory serves, i2c is for board-level connections
[21:45] * martinium (~martinium@unaffiliated/martinium) Quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
[21:45] * risc (~toor@unaffiliated/risc) has joined #raspberrypi
[21:48] * xSon1q (~xSon1q@c-73-179-161-145.hsd1.fl.comcast.net) Quit (Ping timeout: 240 seconds)
[21:51] * xSon1q (~xSon1q@c-73-179-161-145.hsd1.fl.comcast.net) has joined #raspberrypi
[21:52] * KindTwo (kindone@freenode/father-christmas/kindone) has joined #raspberrypi
[21:52] * markmcb (~markmcb@ has joined #raspberrypi
[21:54] * Willy-- (188a097e@gateway/web/freenode/ip. Quit ()
[21:54] * KindOne (kindone@freenode/father-christmas/kindone) Quit (Ping timeout: 252 seconds)
[21:55] * Matan[M] (~MatanM]@ Quit (Quit: Leaving)
[21:55] * seeit (~seeit@ Quit (Remote host closed the connection)
[21:56] * KindTwo is now known as KindOne
[21:56] * mmazing (~mmazing@unaffiliated/mmazing) has joined #raspberrypi
[21:58] * MrMojit0 (~MrMojit0@52D9DF74.cm-11-1d.dynamic.ziggo.nl) has joined #raspberrypi
[21:58] * nast (~nast@ Quit (Quit: nast)
[21:59] * wiiguy (~fake@unaffiliated/wiiguy) has joined #raspberrypi
[22:00] * davr0s (~textual@host86-157-68-96.range86-157.btcentralplus.com) has joined #raspberrypi
[22:00] * seeit (~seeit@ has joined #raspberrypi
[22:03] * GerhardSchr (~GerhardSc@unaffiliated/gerhardschr) Quit (Quit: Leaving)
[22:03] * seeit (~seeit@ Quit (Remote host closed the connection)
[22:04] * seeit (~seeit@ has joined #raspberrypi
[22:04] * seeit (~seeit@ Quit (Remote host closed the connection)
[22:04] * seeit (~seeit@ has joined #raspberrypi
[22:05] * mmazing (~mmazing@unaffiliated/mmazing) Quit (Remote host closed the connection)
[22:05] * pickledust (~paige@174-080-009-160.dhcp.chtrptr.net) has joined #raspberrypi
[22:06] * DammitJim (~DammitJim@ has joined #raspberrypi
[22:07] <aliasunknown> stiv: so its better to connecter the pi to the board directly?
[22:09] * niq84 (~niq84@3x0.eu) Quit (Remote host closed the connection)
[22:09] * seeit (~seeit@ Quit (Remote host closed the connection)
[22:09] <stiv> from what i've read, i2c was meant to connect components on the same board.
[22:10] * energizer (~energizer@unaffiliated/energizer) Quit (Disconnected by services)
[22:10] * seeit (~seeit@ has joined #raspberrypi
[22:10] * energizer (~energizer@unaffiliated/energizer) has joined #raspberrypi
[22:11] * tvm (~tvm@router-sever1-nat-m.pilsfree.net) Quit (Remote host closed the connection)
[22:11] <stiv> meaning it works best over short wires
[22:12] <aliasunknown> in a way i am coming here sorta asking for the "duh" answer because we have been discovering issues with our PCB a littl beyond our understanding
[22:12] <aliasunknown> so im kinda going for a reality check
[22:12] * mmazing (~mmazing@unaffiliated/mmazing) has joined #raspberrypi
[22:14] <aliasunknown> Anyway, I ended up increasing the baud rate of the I2C so the "window of interference" was smaller
[22:16] * eightfold (~eightfold@c213-89-107-14.bredband.comhem.se) Quit (Quit: eightfold)
[22:16] * aliasunknown (~aliasunkn@bl8-248-215.dsl.telepac.pt) Quit (Quit: Leaving)
[22:18] * seeit (~seeit@ Quit (Ping timeout: 240 seconds)
[22:18] * seeit (~seeit@ has joined #raspberrypi
[22:22] * JohnBeales (~johnbeale@ has joined #raspberrypi
[22:22] * wiiguy (~fake@unaffiliated/wiiguy) Quit (Quit: The Kirito is always right foundation. Grand reopening.)
[22:26] * immibis (~chatzilla@122-59-205-39.jetstream.xtra.co.nz) has joined #raspberrypi
[22:27] * MrMojit0 (~MrMojit0@52D9DF74.cm-11-1d.dynamic.ziggo.nl) Quit (Read error: Connection reset by peer)
[22:28] * afen (karsk@team-heimdal.com) Quit (Ping timeout: 240 seconds)
[22:31] * DammitJim (~DammitJim@ Quit (Quit: Leaving)
[22:32] * tumble4ya (44329871@gateway/web/freenode/ip. has joined #raspberrypi
[22:33] <tumble4ya> hey everyone is there a real time os that will let me use opengl on raspberry pi?
[22:33] * afen (karsk@team-heimdal.com) has joined #raspberrypi
[22:33] <tumble4ya> my google searches are junky and unhelpful
[22:36] <ali1234> probably not
[22:37] <ali1234> unless you count linux with rt patches
[22:41] <CoJaBo> tumble4ya: heh, what usecase requires that?
[22:41] <tumble4ya> i wanted to make something like a roku
[22:42] * leothrix (~leothrix@elastic/staff/leothrix) Quit (Quit: ZNC 1.6.5 - http://znc.in)
[22:44] <stiv> not sure i would call a roku 'real-time'
[22:44] <tumble4ya> oh i thought they were all real time
[22:45] <tumble4ya> well thanks
[22:45] * tumble4ya (44329871@gateway/web/freenode/ip. Quit (Quit: Page closed)
[22:47] * GenteelBen (~GenteelBe@cpc111801-lutn14-2-0-cust55.9-3.cable.virginm.net) has joined #raspberrypi
[22:47] <stiv> i would think a pi and a media player (like bmc or whatever they call it nowadays) would be enough
[22:49] <GrandPa-G> in my crash tests, I just noticed the clock on the Pi (at the top right) seems to be stuck for a few minutes at the same time. Then it jumps ahead many minutes depending. Does it really take that long to update? I have some scripts that grab system time as booting is starting and they are all off.
[22:50] * eightfold (~eightfold@c213-89-107-14.bredband.comhem.se) has joined #raspberrypi
[22:50] <ali1234> it has to get the time from the internet
[22:51] <ali1234> it can take a while
[22:51] <GrandPa-G> it is just really messing up some startup log times being captured.
[22:52] * GenteelBen (~GenteelBe@cpc111801-lutn14-2-0-cust55.9-3.cable.virginm.net) Quit (Ping timeout: 252 seconds)
[22:52] <ali1234> logging should be done relative to power on
[22:52] <ali1234> that's what the kernel does
[22:52] <ali1234> check out "systemd-analyze blame"
[22:53] * Smeef (~deathonat@unaffiliated/smeef) Quit (Quit: (╯°□°)╯︵ ┻━━┻)
[22:53] * n4n0` (~mew@ has joined #raspberrypi
[22:53] * GenteelBen (~GenteelBe@cpc111801-lutn14-2-0-cust55.9-3.cable.virginm.net) has joined #raspberrypi
[22:54] * DammitJim (~DammitJim@ has joined #raspberrypi
[22:56] * TinkerTyper (~putneyj@75-8-78-151.lightspeed.rlghnc.sbcglobal.net) has joined #raspberrypi
[22:56] <DammitJim> what is the recommended way to control GPIOs through a web interface?
[22:57] <ali1234> there is no specific recommended way
[22:57] <CoJaBo> That should be a thing that exists
[22:57] <DammitJim> oh
[22:57] <ali1234> it depends what framework you use for the web site
[22:58] <CoJaBo> ..why would you use a framework for that
[22:58] <DammitJim> oh, say I would like to do something with python?
[22:58] * immibis (~chatzilla@122-59-205-39.jetstream.xtra.co.nz) Quit (Ping timeout: 240 seconds)
[22:58] <ali1234> it also depends where the website is hosted
[22:59] <DammitJim> website hosted on the rpi
[22:59] <ali1234> there are several gpio libraries for python
[23:00] <DammitJim> I'm confused
[23:00] <DammitJim> I already know how to control GPIO stuff with python
[23:00] <ali1234> most people seem to use RPi.GPIO
[23:00] <DammitJim> I just want to be able to control them from a web interface
[23:00] * TheSin (~TheSin@gateway.bluefalls.ca) Quit (Quit: Client exiting)
[23:00] <ali1234> okay
[23:01] <ali1234> you still have several choices
[23:02] <ali1234> you can write the whole thing yourself using CGI to integrate with an external web server. or you can use the built in python http request handler
[23:02] <ali1234> or you can use a framework
[23:02] <DammitJim> what kinda framework is widely used?
[23:03] <ali1234> bottle.py is one i see recommended a lot
[23:03] * cave (~various@h081217094041.dyn.cm.kabsi.at) Quit (Ping timeout: 258 seconds)
[23:03] <GenteelBen> CoJaBo: where's CaJaBo? And CoJoBo, for that matter?
[23:03] * tvm (~tvm@router-sever1-nat-m.pilsfree.net) has joined #raspberrypi
[23:03] * AaronMT (~textual@2607:fea8:3c9f:f0e8:80c1:1039:7664:9eb5) Quit (Quit: Textual IRC Client: www.textualapp.com)
[23:04] <GrandPa-G> re:clock update. why would my clock be stuck at 13:40 when local time is now 15:03. Why did it pick that time to save as the startup time? just curious.
[23:04] <CoJaBo> Still here
[23:04] <ali1234> GrandPa-G: it saves the time to disk at shutdown
[23:04] <CoJaBo> I killed my doppëlgänger tho
[23:04] <ali1234> but not if it crashed
[23:04] <CoJaBo> Those probably aren't the appropriate accents, but it looks cooler that way
[23:05] <GrandPa-G> so that would be my last proper shutdown. that would make sense.
[23:06] <GenteelBen> GrandPa-G is some kind of nerdcore rapper, I think.
[23:07] <GenteelBen> Yo yo yo / My name's GrandPa-G and I'm here to say / A diversified real-estate portfolio is the only way / I say the only way
[23:07] <GrandPa-G> GenteelBen:is a rapper some type of paper you put around a piece of gum/candy?
[23:08] <GenteelBen> No that's a raper.
[23:08] * finlstrm (~finlstrm@ip70-188-141-213.ri.ri.cox.net) has joined #raspberrypi
[23:09] <GrandPa-G> silly me I thought it was wrapper
[23:12] * DammitJim (~DammitJim@ Quit (Quit: Leaving)
[23:12] * stiv is quite fond of bottle framework for putting a web interface on things
[23:17] * martinium (~martinium@unaffiliated/martinium) has joined #raspberrypi
[23:18] * JohnBeales (~johnbeale@ Quit (Quit: Computer has gone to sleep.)
[23:18] * SnarkyLobo (81b09712@gateway/web/cgi-irc/kiwiirc.com/ip. has joined #raspberrypi
[23:19] * lundmar (~lundmar@ Quit (Ping timeout: 240 seconds)
[23:20] * lundmar (~lundmar@ has joined #raspberrypi
[23:21] * [Butch] (~butch@ Quit (Quit: I'm out . . .)
[23:22] * davr0s (~textual@host86-157-68-96.range86-157.btcentralplus.com) Quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
[23:23] * JohnBeales (~johnbeale@ has joined #raspberrypi
[23:23] * eightfold (~eightfold@c213-89-107-14.bredband.comhem.se) Quit (Quit: eightfold)
[23:24] <modpryme> when tha 2gb rpis come out?
[23:25] * KindTwo (kindone@freenode/father-christmas/kindone) has joined #raspberrypi
[23:27] * KindOne (kindone@freenode/father-christmas/kindone) Quit (Ping timeout: 264 seconds)
[23:29] * KindTwo is now known as KindOne
[23:30] * modpryme (~modp@unaffiliated/modp) Quit ()
[23:31] * pierssturley (uid141549@gateway/web/irccloud.com/x-tvxxopgcksroamgc) Quit (Quit: Connection closed for inactivity)
[23:32] * mgottschlag (~quassel@reactos/tester/phoenix64) Quit (Ping timeout: 246 seconds)
[23:33] <ShorTie> nobody knows what or when comes out till the day it does
[23:35] * EnrgySmth (d8eba101@gateway/web/freenode/ip. Quit ()
[23:37] * mythos (~mythos@unaffiliated/mythos) has joined #raspberrypi
[23:38] * shantorn (~shantorn@c-71-59-220-108.hsd1.wa.comcast.net) has joined #raspberrypi
[23:40] * malhelo (~malhelo@dslb-088-067-241-180.088.067.pools.vodafone-ip.de) has joined #raspberrypi
[23:41] * seeit (~seeit@ Quit (Remote host closed the connection)
[23:41] * seeit (~seeit@ has joined #raspberrypi
[23:44] <Phischi> just wondering, what happens if I plugin a generic audiocable into the Pi3?
[23:45] <Phischi> will the SoC notice it it and turn of video on the jack?
[23:45] <ShorTie> it most likely will not let the smoke out
[23:45] <CoJaBo> Phischi: I think it grounds it out, but it doesn't seem to mind
[23:46] <CoJaBo> It's only like 2.2v at almost-no amps
[23:46] <ShorTie> video 1st goes to the hdmi
[23:46] * seeit (~seeit@ Quit (Ping timeout: 248 seconds)
[23:46] <CoJaBo> It shorts anyway when you plug anything into a phono jack, so it'd be designed for that regardless
[23:46] <ShorTie> then composite via the jack
[23:46] * sajattack (8e1f405b@gateway/web/freenode/ip. Quit (Quit: Page closed)
[23:46] * stiv guesses Never on the 2gb pis. if you need more mem, you likely need more cpu, which suggests a different single-board computer
[23:47] * davr0s (~textual@host86-157-68-96.range86-157.btcentralplus.com) has joined #raspberrypi
[23:47] * charlietheredd (~charlieth@unaffiliated/charlietheredd) Quit (Quit: Quit...)
[23:48] <CoJaBo> I'm hoping the Pi4 has more RAM and h.265 support
[23:48] <CoJaBo> But it'll probably jsut have NFC or something <_<
[23:48] <ShorTie> more ram be a good guess
[23:50] <CoJaBo> That's a given. I hope
[23:50] <CoJaBo> The main thing I wanted tho, was wifi in a 0. They delivered =D
[23:51] <Phischi> CoJaBo: so, should I use the jack or just use some cheap USB-soundcard? I assume the latter is still the better soundcard?
[23:51] <CoJaBo> I wish it had a mic port tho, actually. Could build a whole mobile device then, easily.
[23:51] <CoJaBo> Phischi: Depends; cheap USB can easily suck more than onboard
[23:51] <ShorTie> still need a amp
[23:52] <ShorTie> as not much volume comes from the jack
[23:52] <CoJaBo> I just use the jack; even wth a decent sound system, the sound isn't any worse than my Dish receiver
[23:52] <Phischi> goes into an hifiamp, ofc
[23:52] <Phischi> ah, good enough
[23:52] <CoJaBo> (main drawback being that it's stereo only)
[23:52] <Phischi> no prob
[23:53] <Phischi> just thought about the odd jittereffects I had on the first Pi
[23:53] <CoJaBo> SPDIF would be awesome, but I'm assuming that's wayy out of scope :P
[23:53] <Phischi> with high load on the CPU
[23:53] <Phischi> SPDIF is not licensefree, or?
[23:53] <CoJaBo> No idea
[23:53] <CoJaBo> It's a big port for one tho
[23:53] <Phischi> Sony/Phillips Digital Interface... guess
[23:54] <CoJaBo> Even if free, it still wastes space :/
[23:54] <Phischi> I'm okay with putting the funstuff on a hat
[23:54] * martinium (~martinium@unaffiliated/martinium) Quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
[23:55] <Phischi> onboard-rtc "could" be good, though
[23:56] <Phischi> planty of space on the backside of the PCB for the IC and a battery imho
[23:56] <Phischi> funny enough, SPDIF could be done on the stereojack
[23:57] * Jonwel (~Jonwel@541971C3.cm-5-2b.dynamic.ziggo.nl) Quit (Read error: Connection reset by peer)
[23:58] <Phischi> https://opencores.org/project,spdif_interface
[23:59] * shantorn (~shantorn@c-71-59-220-108.hsd1.wa.comcast.net) Quit (Quit: Leaving)

These logs were automatically created by RaspberryPiBot on irc.freenode.net using the Java IRC LogBot.