9[00:01:26] <rneese> its seems the arm64 pkg is broken
10[00:01:48] <rneese> I just tried on a diff arm64 running deb and it failed to install
11[00:01:52] <rneese> same error
12[00:02:06] <borrougagnou> poweroff or init 0 or shutdown
13[00:02:28] <joepublic> borrougagnou, that's going to kill the whole machine, not just its display
14[00:02:32] <Henry151> I am having a screen flickering problem and have found that cycling power to the display makes it go away, so I want to rig a keyboard shortcut to a power-off-power-on script as a workaround until i figure out why it is happening. I sent the laptop in for warranty repairs, thinking it was a hardware issue, but they just wiped debian off and reinstalled windows 10 and said it worked fine in testing.. and
15[00:02:34] <petn-randall> !bat
16[00:02:34] <dpkg> In order to troubleshoot your problem with apt-get, apt or aptitude we need ALL OF THE FOLLOWING information: 1. complete output of your apt-get/apt/aptitude run (including the command used) 2. output from "apt-cache policy pkg1 pkg2..." for ALL packages mentioned ANYWHERE in the problem, and 3. "apt-cache policy". Use replaced-url
17[00:02:38] <Henry151> sure enough it worked fine with windows 10 until i reinstalled debian and it reoccurred
18[00:02:38] <rneese> LinuxFire, I am on debian
19[00:02:52] <petn-randall> rneese: Can you provide all info above from the factoid? In a single paste? ^^^
20[00:03:00] <borrougagnou> ha ! just display, killall Xorg maybe
22[00:03:07] <Henry151> borrougagnou: wouldn't that powerdown the whole laptop? I just want to cut power to the display, not shutdown the laptop
23[00:03:46] <Henry151> hm
24[00:03:59] <joepublic> you could try xrandr --output WHATEVERYOURLAPTOPDISPLAYISCALLED --off ; sleep 2; xrandr --output WHATEVERAGAIN --mode 800x600 or whatever you use
25[00:04:08] <borrougagnou> or sudo /etc/init.d/x11-common stop
26[00:04:28] <Henry151> joepublic: awesome thanks i didn't think of xrandr i have used it before for other things that will work great thanks
31[00:05:36] <joepublic> that "Welcome to ARMBIAN 5.65 stable" isn't going to go over well.
32[00:05:41] <rkw_inspiron> xset works too, idk if any advantage either way : xset -display :0.0 dpms force off && sleep 1 && xset -display :0.0 dpms force on
33[00:05:59] <rneese> its on a arm device but debian maintains pkgs
36[00:06:20] <joepublic> I am just giving you information you clearly do not already have, and would benefit from
37[00:06:29] *** Quits: cluelessperson (~cluelessp@replaced-ip) (Remote host closed the connection)
38[00:06:30] <petn-randall> !armbian
39[00:06:30] <dpkg> Armbian is a project that has pre-compiled custom Debian and Ubuntu installer images for <ARM> boards, and a small package repository with kernels, drivers, and utilities which are supported in #armbian. It is not a complete distribution, and uses unmodified Debian or Ubuntu official package repos. General end-user support for the Debian image installations: #debian, kernel/hw/installer/building questions: #armbian.
53[00:09:01] <rneese> I p[asted the error of what happens when you try to install the pkg
54[00:09:10] <petn-randall> !bat
55[00:09:10] <dpkg> In order to troubleshoot your problem with apt-get, apt or aptitude we need ALL OF THE FOLLOWING information: 1. complete output of your apt-get/apt/aptitude run (including the command used) 2. output from "apt-cache policy pkg1 pkg2..." for ALL packages mentioned ANYWHERE in the problem, and 3. "apt-cache policy". Use replaced-url
179[01:02:31] <rkw_inspiron> this is just mucking around based on the links I provided, I know you're not using webadmin, they're about webadmin which apparently needs apt-list-changes, if you look through them
180[01:02:49] <rneese> ok
181[01:03:13] *** Quits: ronoski (~ronoski@replaced-ip) (Remote host closed the connection)
182[01:03:13] <rkw_inspiron> If you want, try: rm /var/lib/apt/lists/*gz && apt-get -o Acquire::GzipIndexes=false update && apt-get install apt-show-versions
244[01:33:39] <Kadigan> I currently have no X-server, because I never needed one. I'm looking to keep it that way, as this is a headless server and I don't see why it should be wasting resources.
245[01:33:48] <Kadigan> Yes, running stuff with `wine` is probably a contradiction there, but... :D
246[01:34:11] <phogg> Kadigan: X is required for wine the same way Windows programs refuse to run from pure command line mode (for the most part).
251[01:38:39] <Kadigan> Yeah, I know... But from that answer, I can try the X virtual framebuffer.
252[01:39:12] <Kadigan> While it's a pure CMD program, it -can- create a window dialog... though I can also quiet that by calling -nocrashdialog or something like that...
253[01:39:22] <aloo_shu> and virtualbox + minimal xp, or dos? you could dump wine then
272[01:46:25] <donofrio> borrougagnou, lurk for a bit and someone will assist when and if they ckick that link....lurking is good
273[01:48:44] <borrougagnou> why "lurk"... + it's a discord link from picture for proof this picture isn't virus/malware/something bad, Idk what use for post my screen
352[02:28:04] <joepublic> ok. i was just curious. the people in #nouveau might, might not be able to help you because they see dual gpu issues from time to time
353[02:28:07] <cef> borrougagnou_: can you install 'inxi' and then pastebin the output from 'inxi -G' somewhere (eg: pastebin) then paste the link?
357[02:30:56] <cef> ok.. no GLX/3D support working, and probably the DE is trying to use it, hence the weird corrupt graphics, or it's using framebuffer.
363[02:34:32] <joepublic> out of, again, simple curiosity, what does "I installed mesa" specifically mean in this case (i.e., does it start with apt[-something] install)
370[02:39:28] <joepublic> if it was successfully backported, I would submit that it should "just work" I suppose
371[02:39:50] <aloo_shu> "hello, ma'm, you're the most beautiful of libraries"
372[02:39:56] <cef> mesa backport works, but not sure that's the best package to pull in all of mesa.
373[02:40:45] <CyberManifest> Can someone please help me set my time to sync over the internet on boot; this device doesn't have a clock battery to retain the time... and NTP and NTPD is giving me fits: replaced-url
374[02:41:03] <joepublic> touché, aloo_shu
375[02:41:43] <cef> CyberManifest: can you run ntp manually as root (eg: sudo) to set the time?
376[02:41:43] *** Quits: uio (~user@replaced-ip) (Remote host closed the connection)
377[02:41:46] <borrougagnou_> yes
378[02:41:48] <borrougagnou_> that it
379[02:42:03] <CyberManifest> cef so like sudo ntp ?
380[02:42:34] <joepublic> wouldn't it be 'sudo ntpdate' ?
434[02:50:55] <CyberManifest> joepublic, I already told you I don't have init but systemd and on this install many libraries and such are missing because a lot of things haven't been crosscompiled for ARM
435[02:51:07] <cef> CyberManifest: you need it to be run at some point after the network comes up. if it was a server, you could possibly put a hook in /etc/network/interfaces
436[02:51:19] <joepublic> yes, i told you how to do it, and you told me you don't want to because mumble mumble systemd.
437[02:51:39] <cef> CyberManifest: but cos it's a desktop, you need to either put it in /etc/rc.local or you need to configure systemd to do it for you.
438[02:51:46] <joepublic> on my arm-based tiny pcs with no battery, I do that, and it works. you can do it or not as you like. good day,.
455[02:54:34] <CyberManifest> themill yes, Armbian is a derivation of Stretch
456[02:54:47] <CyberManifest> themill, besides no one was responding in #armbian
457[02:55:00] <themill> CyberManifest: at the point where you're saying that packages don't exist, you've just demonstrated why you're in the wrong place
458[02:55:00] <borrougagnou_> from member here
459[02:55:05] <borrougagnou_> cef
460[02:55:10] <joepublic> dpkg: tell themill about armbian
461[02:55:17] <n4dir> but yes, make sure to use the correct pkg-name before assuming it would "not have been compiled for".
477[02:57:30] *** Quits: cfoch (uid153227@replaced-ip) (Quit: Connection closed for inactivity)
478[02:57:40] <borrougagnou_> Idk his name if you have log maybe you can see who
479[02:58:16] *** Quits: xcm (~xcm@replaced-ip) (Remote host closed the connection)
480[02:58:23] <cef> CyberManifest: ntpdate just sets the date/time once. ntpd is a daemon that 1. keeps the time up to date, 2. acts as a server for other ntp clients. If you have no clock, you really want ntpdate (as it will just set the time). if you have a clock, then ntpd is probably more useful.
481[02:58:26] *** Quits: fulltimemom (~fulltimem@replaced-ip) (Remote host closed the connection)
486[02:59:55] <borrougagnou_> yes check that: libglx-mesa0 and that: libgl1-mesa-dri
487[02:59:56] <CyberManifest> cef: no, cause I don't want to have to manually type ntpdate at every boot since the time will always be wrong so instead ntpd would better suite my needs
519[03:06:34] <CyberManifest> cryptodan_mobile, except maybe on Rasberry Pi
520[03:06:34] <joepublic> cryptodan_mobile, out of curiosity, what single-board arm computers have you had good luck with in that way? I am looking to buy another one
521[03:06:46] <cef> suspect that timedatectl is looking for the ntpd daemon, which you don't have.
522[03:07:05] <CyberManifest> cef, and I can't get
523[03:07:20] <joepublic> I was thinking something with an i.MX series
524[03:07:21] <cryptodan_mobile> Oh I havent used any raspberry pis or the like sorry for interjecting
525[03:07:44] <cef> CyberManifest: so ignore timedatectl and set up a script to run at boot that uses ntpdate
557[03:18:01] <whislock> deathdent: If you can't pay attention to which channel you're joining, you're not going to do well in an offensive security course.
558[03:19:07] <cef> CyberManifest: sounds to me like Armbian hasn't got the time sync tools for systemd built properly if timesync isn't working.
559[03:19:42] <CyberManifest> cef, they don't have a lot of stuff built properly
577[03:25:38] <CyberManifest> I can't build packages I don't have too much space left on the EMMC and I don't know how well this environment could compile especially with missing libraries, and the Armbian Channel just ignores and attempts to sway me to Armbian Ubuntu (Which Doesn't Make sense in and of itself) Friendly Elec only has Ubuntu Images and puts Armbian in 3rd
578[03:26:18] <cef> borrougagnou_: if you added backports but didn't install "all" the mesa packages from backports, it's possible you don't have all the bits installed. you might only have 1/2 of them, which is causing your issue.
579[03:26:42] <borrougagnou_> what package I need now?
582[03:27:06] <altker128> CyberManifest: Consider mounting a network share via NFS or SMB . That will give you more space
583[03:27:36] <cef> CyberManifest: then I suspect that you're in a dead ennd. Now that ntpdate is installed, I'd try a shutdown/startup to see if your datetime gets set properly or not. If not I don't think there's much more we can do.
585[03:29:12] <CyberManifest> altker128, I have crappy hardware none worthy of compiling and never can get NFS or SMB to work right anyways, such a headach and I'm not looking for another adventure just to get my damn time set right at boot: at this point it's reminiscent of the classical Blinking 12:00 on the VCR
622[03:37:54] <joepublic> CyberManifest, I believe that anything that works for you is a good solution and I'm glad you've got it sorted.
623[03:37:56] <cef> CyberManifest: seems you just needed to install the ntpdate package. systemd's timesync stuff probably uses it under the hood.
624[03:38:06] <CyberManifest> joepublic, thanks
625[03:38:20] <CyberManifest> cef: I see
626[03:39:04] <CyberManifest> can anyone tell me how to check the cpu temp at the terminal?
627[03:39:55] <cef> if lmsensors is installed, try 'sensors'
628[03:40:15] <CyberManifest> also is there somewhere where I can report or request fix for inaccurate screenfetch, I heard rummor the developer was ceasing any further updates
629[03:40:17] *** Quits: alexandros_c (~quassel@replaced-ip) (Disconnected by services)
631[03:40:41] <joepublic> CyberManifest, on my FriendlyArm NanoPC T3, the temperature can be read from /sys/devices/platform/nxp-tmu.0/temp_label -- your machine is probably different but this may give you a starting point
667[03:50:15] <CyberManifest> system started to randomly act strange
668[03:50:29] <CyberManifest> anyways...
669[03:51:10] <CyberManifest> joepublic, I already had those set in my sensor plugin for XFCE pannel as an applet, just wasn't certain they were for CPU Cores
683[03:59:34] <CyberManifest> I thought the RK3399 was a popular chip for the SBCs you would think there would be more working packages... but Raspberry Pi seems more developed and stable
684[04:00:13] <CyberManifest> and it has way lower specs :/
719[04:16:43] <cef> n4dir: it's pretty minimal.. but then both are.
720[04:17:23] <n4dir> just wanted to hype xfce a bit, didn't add much more to the problem at hand :-)
721[04:17:46] <n4dir> though i switched to openbox quite a while ago ...
722[04:18:00] <cef> borrougagnou: so it doesn't happen all the time?
723[04:18:34] <borrougagnou> for my part I prefer use "Xorg desktop", you know xorg without nothing, but I don't know how launch that, so, yes openbox is a good alternative
733[04:24:50] <CyberManifest> Synaptic is taking forever to finish / respond and Task Manager
734[04:24:57] <borrougagnou> cef: no just since I updated my linux-image from apt upgrade or apt dist-upgrade, but this bug Idk when or where this bug start
735[04:25:26] <CyberManifest> Task Manager is showing only use of 20% CPU and Memory 15%
736[04:25:48] <CyberManifest> some reason it's like hung or something
737[04:25:52] <borrougagnou> it's a recent linux-image release between 15 and 30december
738[04:25:59] <CyberManifest> it's pulling a Microsoft
739[04:26:04] <borrougagnou> for stretch backports
837[05:08:49] <VLMC> I know they took down nodes and were able to track down common providers of illegal content over Tor, but it wasn't an easy task by any means.
838[05:09:14] <VLMC> These providers were up and known for months or years before they got arrested. It's the most secure thing we have.
839[05:09:28] * themill points towards #debian-offtopic
840[05:09:33] <VLMC> themill: Thanks
841[05:10:58] <Bjornn> the last time I went was in offtopic it was basically non stop sexting by some two users.
864[05:27:53] <Lyberta> hi, I'm getting "ALSA lib pcm_dmix.c:1099:(snd_pcm_dmix_open) unable to open slave" while trying to run old proprietary game, audio works everywhere else, help?
865[05:29:26] <SerajewelKS> 32-bit game on 64-bit system?
866[05:29:52] <Lyberta> SerajewelKS, yes
867[05:30:30] <SerajewelKS> dynamic or static linkage to alsa? 32-bit alsa libs properly installed?
868[05:30:50] <Lyberta> SerajewelKS, from ldd: libasound.so.2 => /usr/lib/i386-linux-gnu/libasound.so.2 (0xf7148000)
869[05:30:59] <SerajewelKS> hmm
870[05:31:09] <SerajewelKS> is the default slave pulse or the actual device?
871[05:31:20] <Lyberta> SerajewelKS, how to check?
872[05:32:20] <SerajewelKS> honestly not sure, it's been too long and i don't have a debian box with sound in front of me. but my guess would be that the default device is pulse, and perhaps the 32-bit driver for that is missing?
873[05:32:46] <SerajewelKS> i might also be talking out of my ass
970[07:21:48] <jdhaddon> total n00b here, looking for help with apache/ftp/etc. Is there anyone who can help me, or at least point me to a better resource?
974[07:23:47] <whislock> jdhaddon: I'd always recommend an upgrade to the current stable release. That aside, what specifically are you needing help with?
984[07:27:46] <jdhaddon> whislock, its not my server I was "gifted" accesss to setup multiple sites for a friend. I can SSH in as root, I can't ftp in.
985[07:29:44] <Poster> you should be able to use sftp if ssh is supported, FTP itself has mostly fallen out of favor in most circles
986[07:30:00] <Poster> it's on the list of clear text protocols that include credentials
987[07:31:54] <jdhaddon> Essentially, I'm my own webhost now. When I told my friend I'd help him I was guessing it would be your standard godaddy/dreamhost type CPanel setup. Now I'm taking it as a personal challenge to learn how to host multiple sites
988[07:33:39] <jdhaddon> sftp worked!
989[07:33:48] <Poster> that's all within reach, I would recommend not using FTP for file transfers if at all possible though
990[07:35:32] <jdhaddon> what do you recommend? I don't mind researching/looking things up, I just need to know what to look up
991[07:35:39] <Poster> SFTP is it
992[07:35:59] <Poster> unless you absolutely need it I would even go so far as to disabling the service and removing it's package
993[07:38:20] <watchcat> sshfs?
994[07:38:21] <jdhaddon> I don't need it. But why remove it (just out of curiosity)
997[07:39:17] <n4dir> a web search will show results like "ftp must die" (i never bothered what they say, just know such sites exist, say at mywiki.wooledge.org)
1033[08:11:19] <SerajewelKS> jdhaddon: sftp happens over ssh, which is already encrypted. so you get encrypted file transfer "for free" with ssh. you also get ssh port forwarding/tunneling, which is a crazy useful thing to know how to use.
1034[08:11:51] <SerajewelKS> the single ssh service provides shell, file transfer, and some light VPN type of functionality, all over an encrypted and authenticated connection
1035[08:12:47] *** Quits: m_g_lewis (~melvin@replaced-ip) (Remote host closed the connection)
1041[08:16:31] <jdhaddon> SerajewelKS I'll definitely look into that more tonight/tomorrow
1042[08:17:38] <n4dir> not sure if it was mentioned, but the good thing if you got a ~/.ssh/config file is that sftp, sshfs, rsync, git and what not use it too (or can)
1055[08:22:22] <n4dir> rsync -auv Tmp/somefiles choosen_remote_name: (: being a shortcut for the remote users home)
1056[08:22:56] <n4dir> sshfs choosen_remote_name:Music ~/sshfs_mount; and so forth
1057[08:22:59] <n4dir> makes any sense?
1058[08:23:23] <SerajewelKS> i wonder if mc's sftp client uses the user's ssh config
1059[08:23:51] <SerajewelKS> jdhaddon: basically what he's saying is that the ssh config can create a "virtual" remote host that maps to a real one, with additional specified options
1060[08:24:13] <n4dir> thanks, SerajewelKS
1061[08:24:20] <SerajewelKS> so "ssh -L 12345:127.0.0.1:12345 someuser@a.really.long.hostname" can become "ssh foo"
1062[08:24:37] <SerajewelKS> and most commands that can be an ssh/sftp client will use this config
1068[08:27:14] <SerajewelKS> some need jump hosts (an intermediate ssh host i have to connect through, because the target ssh machine is not directly reachable)
1069[08:27:38] <SerajewelKS> the ssh config wraps all of that up so i can ssh, sftp, rsync, etc. to those hosts without having to care about topology
1071[08:29:52] <jdhaddon> I've used linux as a generic OS, basic desktop type setup, for YEARS. You guys are teaching me more about its potential than I ever knew
1076[08:31:12] <jdhaddon> I'm going to become very familiar with it!
1077[08:31:24] <SerajewelKS> port forwarding in particular is nice if you self-host services that can't be easily secured. just configure them to listen on localhost, so that they're not exposed to the outside world, and use ssh with tunneling as your means to authenticate and gain access.
1078[08:31:35] <n4dir> well: as a desktop user you don't necessarily have a real need to use ssh. What i try to say: not really something you did wrong or such.
1079[08:31:36] <SerajewelKS> ssh will provide you not only the authentication, but wrap the connection with encryption
1080[08:32:02] <SerajewelKS> the more interested you are in sysadmin and networking stuff, the more useful ssh is
1082[08:33:08] <SerajewelKS> if you're looking for more useful tools for sysadmin stuff, check out screen or tmux. they allow you to create multiple shells on a remote server and detach from them while they keep running.
1092[08:34:24] <SerajewelKS> n4dir: slow as hell over a WAN too :)
1093[08:34:52] <n4dir> SerajewelKS: ah, well i only did it for the fun, and i am restricted to my home too.
1094[08:35:04] <SerajewelKS> agio: if the client doesn't understand SOCKS, then you have to throw in an additional layer like socat. generally it's much easier to use -L
1095[08:35:11] <n4dir> same goes for ssh in general, can't say i really need it.
1096[08:35:38] *** Quits: tvm (~tvm@replaced-ip) (Remote host closed the connection)
1097[08:36:02] *** Quits: m_g_lewis (~melvin@replaced-ip) (Remote host closed the connection)
1098[08:36:24] <agio> SerajewelKS: hmm, so ssh can expose an entry point into a secure connection as - either SOCKS5 or what a regular port ? (e.g. 3306 mysql)
1099[08:36:47] <agio> and it will relay that port for you?
1102[08:37:20] <SerajewelKS> agio: right. so "ssh -L x:y:z user@host" tells the ssh client to listen on port x. when a connection is made, it tunnels the connection over the ssh connection and asks the server to connect to y on port z.
1106[08:37:50] <SerajewelKS> agio: so e.g. "ssh -L 3306:localhost:3306 host" will allow you to then "mysql -h 127.0.0.1" and the mysql connection gets tunneled
1107[08:37:58] <SerajewelKS> the ports don't have to match, and the destination doesn't have to be localhost, either
1110[08:38:23] <agio> SerajewelKS: but that connection is inherently insecure right? e.g. you would only expose a port like that locally, never on a server exposed to the internet?
1111[08:38:32] <SerajewelKS> local TCP port 8080 gets forwarded to some.private.service:80 from the perspective of the server
1113[08:39:10] <SerajewelKS> agio: ssh binds the local listening port to 127.0.0.1 by default, so it's only insecure with respect to other processes on the same box. anything on the machine itself could connect to it; remote hosts could not.
1119[08:40:06] *** Quits: poeticrpm (~poeticrpm@replaced-ip) (Remote host closed the connection)
1120[08:40:27] <SerajewelKS> agio: -R is the same thing but with local/remote flipped. "-R x:y:z" asks the SERVER to listen on port x. when the server gets a connection, it forwards it to the client, and the client connects to y:z for its leg of the connection.
1121[08:40:32] *** Quits: mandeep (mandeep@replaced-ip) (Remote host closed the connection)
1124[08:40:49] <agio> man that syntax is tricky... -L <local_port>:<remote_IP>:<remote_port> ? is that right?
1125[08:41:02] *** root is now known as Guest51441
1126[08:41:03] <SerajewelKS> yes
1127[08:41:34] <SerajewelKS> it's important to note that there are two TCP connections in play (if you don't count the SSH connection): the local client to the local ssh, and the remote ssh server to the remote endpoint
1128[08:41:49] <SerajewelKS> so the final endpoint doesn't know the "true" client IP address. it sees the ssh server as the client.
1129[08:42:20] <SerajewelKS> which should make sense. the ssh connection is effectively a TCP-level proxy
1130[08:42:38] <watchcat> spiffy
1131[08:42:48] <agio> sort of makes sense - bit hard to visualise without a diagram
1145[08:45:29] <SerajewelKS> it's worth noting that -L consumes no resources on the server by itself; the server doesn't need to make any connection until something connects to the local port on the ssh client.
1147[08:45:55] <agio> -R -- > remote port forwarding ? whats the diff? -R makes it happen on a remote server?
1148[08:45:57] <SerajewelKS> i don't even know whether the server is informed of the forward until something tries to connect to the ssh client
1149[08:46:08] *** Quits: kupi (uid212005@replaced-ip) (Quit: Connection closed for inactivity)
1150[08:46:32] <SerajewelKS> agio: -R forwards in the opposite direction. "-R x:y:z" tells the SERVER to listen on port x. when a connection is made to that port, the server forwards the connection to the CLIENT, who then connects to y:z.
1153[08:47:02] <SerajewelKS> agio: the diagram i gave above, swap the ssh client and the ssh server. that's -R
1154[08:47:58] <agio> so when would u use -R and when would you use -L ?
1155[08:48:25] <SerajewelKS> most of the time i use -L. it depends on where the connection is coming from and where it's going.
1156[08:48:48] <agio> I have done something like that once.
1157[08:49:01] <SerajewelKS> example: i want to connect to a mysql instance that's bound to 127.0.0.1 on a remote server. i use -L so that my local mysql client can have access to it.
1158[08:49:02] <agio> I think I had a mysql server on a remote server
1160[08:49:28] <agio> yeah, thats what I did, can't remember how though
1161[08:49:30] <SerajewelKS> example: i am running a mysql server locally and i need to give something on a remote server the temporary ability to connect to it. i use -R.
1162[08:49:49] <agio> ah
1163[08:50:10] <agio> so -R _does_ set up the relaying on the remote host
1175[08:54:01] <SerajewelKS> by default, -R binds the listening port to the wildcard, so yes, anyone who could normally connect to that port can connect
1176[08:54:07] <SerajewelKS> but you can limit it the same way as you can with -L
1177[08:54:26] <SerajewelKS> e.g. "-R 127.0.0.1:3306:local.server:3306" will bind the listening socket on the server to 127.0.0.1
1178[08:54:33] <SerajewelKS> so only processes on the server could connect
1179[08:54:53] <SerajewelKS> ideally you have a whitelist-based firewall on the server anyway
1180[08:55:10] <agio> in that case you might as well SSH into that box and just run -L though?
1181[08:55:53] <SerajewelKS> well, if two hosts have ssh access to each other, whether you use -L on A->B or -R on B->A is kind of arbitrary. they will do the same thing.
1182[08:55:54] <jdhaddon> May I ask what you guys do for a living? I am interested in learning about sysadmin. I recently picked up a pallet of servers/switches/monitors just to play with (free, craigslist haul from a local hackerspace). I don't think theres any HDD included. But the way you respond to myself and each other ... I've learned more in the past hour than I did in an entire CS course
1184[08:56:36] <SerajewelKS> jdhaddon: my title is digital solutions architect. i write software and maintain the systems on which it runs. (and the systems running a lot of other stuff, too. i'm the primary sysadmin at my company in addition to being a developer, basically.)
1208[09:03:16] <SerajewelKS> it's just -L in the other direction. like i said, i've rarely used it. but when i've had to use it, it's been really helpful.
1209[09:04:23] <agio> cool, yeah I want to learn more about it - I just struggle with the syntax and the concepts
1210[09:04:52] <SerajewelKS> picture the ssh client as "workstation" and the ssh server as "host"
1211[09:05:05] <SerajewelKS> -L says "something on my workstation needs to connect to something from the host"
1212[09:05:15] <SerajewelKS> -R says "something on the host needs to connect to something from my workstation"
1213[09:06:28] <agio> ssh -L 123:foo.org:789 , will do locally: 123:127.0.0.1 <xxxxxxxx encrypted SSH >>>>>>>>> foo.org:789 ?
1214[09:06:50] <SerajewelKS> locally 127.0.0.1:123 would be the correct notation, but yes
1215[09:07:14] <SerajewelKS> things connecting to localhost on port 123 on the ssh client will get the connection forwarded over the existing SSH connection, and the server will connect to foo.org:789
1216[09:07:36] <agio> oh
1217[09:08:28] <agio> so say if there was a mysql dataabse on remote foo.org, and you wanted to use your local mysql workbench to browse it you would do this:
1218[09:08:46] <SerajewelKS> each forwarded connection has three legs: TCP client to "listener", the SSH connection, then the "connecter" to the final TCP server
1324[10:45:25] <RandomSerb> hi. I'm developing an web app localy on my stretch, which is using facebook login. After response, Chromium complains: This site can’t provide a secure connection
1325[10:45:35] <RandomSerb> I'm using localhost hostname
1340[10:59:54] <RustyShackleford> I can see the bootloader screen so I know it did infact restart the machine
1341[11:00:07] <RustyShackleford> are there any logs I should read? how to proceed further?
1342[11:01:27] <blackflow> RustyShackleford: when you reboot over ssh, does only the connection hang but the server reboots fine, or it doesn't reboot at all?
1343[11:01:58] <RustyShackleford> it reboots over ssh. connection closes immediately
1344[11:02:22] <RustyShackleford> and I can see with the monitor I have connected to it that it reboots and the bootloader screen shows
1345[11:02:26] <RustyShackleford> so it hangs on startup
1352[11:03:24] <blackflow> well, make journal persistent if it isn't an go through a few cycles, then inspect it
1353[11:04:13] <blackflow> is that any special, custom installation or a regular debian installation? by regular I mean, like, you used the ISO installer
1354[11:04:13] <RustyShackleford> this is new to me. make journal persistant
1355[11:04:23] <RustyShackleford> I used the netinstaller
1356[11:04:27] <blackflow> RustyShackleford: see /etc/systemd/journald.conf
1357[11:04:47] <blackflow> not sure if you can restart the journal (there were massive bugs with that) so better just reboot
1358[11:05:00] <blackflow> (and anyway you want to reboot to test, right)
1359[11:07:33] <RustyShackleford> whats the copying and pasting from stackoverflow version of this?
1368[11:11:05] <blackflow> so... journalctl will show you entries and you can use options to filter if need. look around beginnings of new boot sessions. for example, -b 1 will show journal starting with the previous (-1) boot.
1369[11:11:22] <blackflow> mkay then change Storage to "persistent" and reboot.
1382[11:15:47] <blackflow> RustyShackleford: depends what you want. Some people only use the journal, some prefer it to forward to syslog, and in that case there's not much sense in having two persistent (sys)logs. personally I keep it in memory only and small (100M), for quick filtering because it's indexed and syslog is not.
1386[11:16:57] <blackflow> however, since syslog is a service and journald is part of systemd (so present with pip1 from the beginning), journal will/might log more especially early boot failures.
1387[11:17:05] <blackflow> *pid1
1388[11:17:14] *** Quits: catsup (d@replaced-ip) (Remote host closed the connection)
1406[11:22:01] <blackflow> eh, you just enabled persistent logs. it means you have to keep rebooting until it fails again and then until it boots okay so you can inspect it
1408[11:24:23] <blackflow> but if what you say is the case always, blinking cursor after the grub menu, it's possible systemd and journald aren't even started, so there might be nothing in the logs. if that is sporadic and not persistent, then I'd suspect hardware issues, maybe disk failing
1432[11:28:47] <RustyShackleford> thats not a question
1433[11:28:58] <RustyShackleford> 9.4? updated as of earlier today
1434[11:29:31] <blackflow> well I don't know how you're not getting persistent journal after setting Storage=persistent oh.... did you remove the # character at the beginning?
1435[11:30:07] <RustyShackleford> ... I'm an idiot
1436[11:30:25] <RustyShackleford> I didn't notice it was commented out. okay sorry about that
1437[11:30:31] <RustyShackleford> hand me one of those red bulls
1440[11:32:13] <blackflow> RustyShackleford: and for your earlier question if you can test disks. you can install smartmontools (but use --no-install-recommends because it will otherwise pull in mailx and whole mailing suite, unless you want that)
1441[11:32:45] <blackflow> so smartctl -a /dev/sda (assuming that's teh disk) will show you some SMART attributes which _may_ be indicative of failure, but absence of failure indicators does _not_ mean the disk is not failing.
1442[11:33:02] <RustyShackleford> yeah I've had that happen before
1449[11:35:06] <blackflow> in those smart attributes I'd look for non-zero raw value for Reallocated_Event_count or Current_Pending_Sector or Offline_Uncorrectable. any of those having non zero raw values means the disk is starting it's final usability phase
1450[11:35:23] <blackflow> I use munin
1451[11:36:29] <blackflow> but there might be better, fancier monitoring things out there, like zabbix. or even SaaS like New Relic
1453[11:36:51] <blackflow> also nagios but it's a thick suite.
1454[11:38:34] <RustyShackleford> not seeing any errors in the logs
1455[11:39:08] <RustyShackleford> I need to pay closer attention to the time and determine if its booting or stuck at the bootloader
1456[11:39:14] <blackflow> oh yeah, you can also use `badblocks` to test individual sectors one by one. more thorough test would involve -w but that's destructive to data iirc
1457[11:40:45] <RustyShackleford> I'm getting sleepy but i'm writing all of this down
1465[11:42:21] <RustyShackleford> there is one drive in this machine that might be sketchy, but i'm not booting from it
1466[11:43:03] <blackflow> well, if you have mountpoints there then it'd be possible for systemd to fail on boot, unless you mark the mountpoints with "nofail" in fstab, but... that would assume systemd started and plenty of verbose output on the screen (and in logs)
1467[11:43:26] <RustyShackleford> the more I think about it... that drive is probably the issue
1469[11:44:20] <blackflow> white cursor after grub menu means initramfs failed to perform its duty somehow and didn't start the kernel, or it did but didn't pivot to new root, or it did, but new root's pid1 didn't start, or it did but can't run or output its thing.
1470[11:44:36] <RustyShackleford> I had a drive that would cause a windows install to randomly get corrupted
1471[11:45:20] <blackflow> but if the drive is not involved in the boot process (even if it has non-root mountpoints) then white cursor after grub should not be caused by it
1472[11:45:35] <RustyShackleford> cheap server build, I used a salvage drive I had in a drawer. I mount it to /srv
1473[11:46:06] <blackflow> RustyShackleford: in fstab?
1474[11:46:08] <RustyShackleford> it *might* be that same drive. I think I destroyed that drive but now I'm not sure
1475[11:46:29] <RustyShackleford> blackflow: yep. so add the nofail option and see if the problem goes away?
1476[11:47:03] <blackflow> sure but I doubt that'll fix it. fstab/mount happens way after pid1 (systemd) has started, and started outputtig many things on screen.
1487[11:50:07] <blackflow> with debugging inconsistent (doesn't happen every boot) white cursor on black screen after grub menu? you never confirmed that's the exact issue you have
1488[11:50:34] <blackflow> wait, I thought you saw the screen
1490[11:53:30] <RustyShackleford> oops sudo rebooted by macbook
1491[11:53:38] <RustyShackleford> yeah I'm still not sure about that
1492[11:54:22] <blackflow> well you need to take out variables from the equation. make sure you're rebooting locally and observing either it coming up every time, never, or sometimes. if sometimes, that'd suggest hardware issues
1493[11:54:37] <RustyShackleford> i can reboot it locally and reproduce it
1563[12:25:00] *** Joins: Labu (~Labu@replaced-ip)
1564[12:25:01] <blackflow> RustyShackleford: might be, where's that from, a previous boot? what's after that error, does the system still continue?
1565[12:25:47] <RustyShackleford> seems like it happens when the system continues or not
1566[12:26:13] <RustyShackleford> I'm *pretty* sure that I see logs for the when the boot hangs also
1567[12:26:21] <blackflow> that's from the gpu though. I'm not familiar with intel gpus to know if that's fatal or not
1568[12:26:26] <RustyShackleford> so the system boots up but I can't log in? wtf?
1569[12:27:10] <blackflow> RustyShackleford: I still fail to fully comprehend your problem though. It'd be great, after you get some sleep, if you could summarize exactly what's happening, in a pastebin.
1570[12:27:47] <RustyShackleford> yep I'm still not sure
1571[12:27:47] <blackflow> it'd also be great to provide the output of journalctl -b -1 when you boot immediately after a failed boot, assuming I understood correctly and that _sometimes_ it fails.
1729[14:41:51] <uio> Hi, on Debian with lxde and lxqt installed, running under the lxde session, when I select "deactive wifi network" via panel and then try to re-activate it says it reconnects, but internet will not work. If I run connman UI setup, it shows that there is no wifi connection... how can I solve this? Should I remove one of the wifi managers?
1731[14:43:54] <uio> If I try to use Connman is this case to connect I get 'We received DBUS reply message indicating an error. Error Name: net.connman.Error.Failed Error Message:Input/output error
1822[15:23:27] <uio> If I select 'disconnect wifi network' (not sure what it is is English) from the toolbar in LXDE and then try to reconnect it will say it reconnects, but then internet won't work.
2121[17:16:48] <Brigo> brokencycle, i think you can't even without a backup :-m
2122[17:17:18] <rneese> post the file in 1 min
2123[17:18:36] <brokencycle> @Brigo: I would like to know how I can enlarge (prepend, in a way) the partition sd2 to sd3, thus extending the LUKS partition, then use the contained LVM & regular fs stuff to extend the contained partition.
2124[17:18:54] <brokencycle> But unfortunately, sda2 is smaller than sda3, so I can't just copy the data over and work from there.
2129[17:20:23] <friendofafriend> I'm trying to get Debian running on my Nook Color, but Google doesn't seem to have any juicy information indexed. Does anyone know where I might start?
2130[17:20:25] <brokencycle> Alternatively, since sda3 is not full, it would be nice if I could
2133[17:20:42] <noln> brokencycle, you can't enlarge a partition to the left, only to the right. If you do that, the program (gparted?) will copy everything to the left, then enlarge to the right.
2135[17:20:58] <noln> s/If you do that/If you enlarge to the left/
2136[17:21:04] <brokencycle> shrink the file system in sda3 and then shrink the surrounding container to do that in a piecemeal fashion (I'm using btrfs)
2142[17:22:43] <noln> the problem is a single byte error in the copy of sda3 would make the whole operation fail, Have you considered ''btrfs device add'' instead?
2150[17:24:29] <brokencycle> the parts to be in separate subdirectories. But since I want to use this space for backup, that's sort of besides the point - I can't estimate
2151[17:24:53] <brokencycle> in advance with sufficient detail how much space the backup program wants to use for its pieces.
2152[17:25:05] <whislock> brokencycle: How much data would you need to back up to make a simple rebuild viable?
2153[17:25:22] <brokencycle> Or how to segment the backup in a way. I'm talking about ~800G
2154[17:25:41] <whislock> Is the data compressible?
2155[17:25:42] <brokencycle> so, not really much, but I'm quite resource constrained atm.
2156[17:25:49] <brokencycle> no, it is already compressed
2157[17:25:57] <noln> What separate subdirectories? btrfs makes a single directory out of n devices
2235[18:05:10] <rwp> Bushmaster, If you will be installing using a network connection then the "netinst" also good since it is smallest and everything you need is installed during installation time over the network.
2236[18:05:18] <rwp> But the result is the same in either case.
2237[18:05:28] <EdePopede> jigdo is the serverfriendliest way to get the isos?
2238[18:05:42] <dvs> EdePopede, yes
2239[18:05:43] <rwp> Yes. jigdo is very good for it.
2240[18:05:57] <Bushmaster> thanks rwp, i am downloading the iso from torrent
2241[18:06:02] <rwp> jigdo can also generate any specific version wanted for any particular purpose.
2242[18:06:08] <Bushmaster> i will then install it from USB
2243[18:06:15] <rwp> Go for it! :-)
2244[18:06:16] *** Quits: Essadon (~Essadon@replaced-ip) (Read error: No route to host)
2245[18:06:36] * dvs waits for the U-word
2246[18:06:41] <Bushmaster> i been using Debian 8 Jessie for 5 years with no issue
2263[18:09:44] <dvs> rwp, but he wants two installations
2264[18:09:50] <Bushmaster> rwp, well I use a programming language called R Commander, which work perfect with Debian 8, R Commander is pain to install hence I do not want to update Debian 8
2269[18:10:30] <rwp> I always find dual boot systems inconvenient. Because the system is always booted to the opposite OS of the one I want at the next moment.
2270[18:10:39] <Bushmaster> joepublic, I am thinking QGIS version 3
2271[18:11:24] <Bushmaster> joepublic, yes, i have QGIS 2.18 and it freeze
2272[18:11:26] <rwp> Therefore if I am in the situation of needing just one thing or just another thing I will use a chroot container (very light and simple) to run the unstable sid version there. Then there is no rebooting.
2290[18:21:47] <Bushmaster> i know debian will come with QGIS pre installed, may be older version, but I think i need to remove it first and then install the new version joepublic
2294[18:23:23] <joepublic> qgis is in the debian repositories, meaning that a version of it is available, but it is not installed by default. If you want to install the version 3 from the qgis folks, their instructions are online at replaced-url
2375[19:40:17] <olric> nothing happening after boot up
2376[19:40:48] <rwp> At reboot are you automatically logged into an X session? Otherwise those will try to go to the login screen and that will not succeed.
2377[19:40:49] <friendofafriend> Where have you put these commands? Into a startup file?
2378[19:40:57] <olric> crontab file
2379[19:41:03] <olric> crontab -e
2380[19:41:03] <rwp> @reboot looks like a personal crontab
2381[19:41:34] <rwp> What desktop environment are you using? Better would be to put those into a DE startup file.
2382[19:41:53] <olric> yes x session gnome otomatically opening after boot up
2386[19:42:16] <friendofafriend> Right, your .Xsession file would make more sense.
2387[19:42:29] <joepublic> at reboot, even if you log in automatically to a graphical environment, you are setting up a race condition as to whether your DE logs in first or whether your attempt to open these programs on display :0 happens first (and fails)
2389[19:43:34] <olric> how could i control this race condition ?
2390[19:43:57] <rwp> Also in the new systemd world I don't think cronjobs can launch X programs. Pretty sure that is blocked now.
2391[19:43:59] <joepublic> by running the programs in the session manager and not from crontab
2392[19:44:21] <joepublic> I don't use gnome but I suspect it would be gnome-session or something like that
2393[19:44:40] <rwp> Put the commands, without the DISPLAY setting as that won't be needed, into your ~/.xsessionrc file, to be run when you log in and start your Desktop Environment.
2394[19:44:47] <petn-randall> olric: You can configure your session manager to start those things on login. cron is not the right place for this.
2395[19:45:23] <olric> okay i will look to session manager
2396[19:46:50] <rwp> Also depending upon the command you will need to put them into the background with a '&' at the end of the line. And sometimes it is useful to add a sleep before it like "sleep 5 && thecommandiwant &" so that the window manager can get started before the program you want launches.
2400[19:48:40] <olric> like @reboot sleep 3m && DOSPLAY=:0 firefox replaced-url
2401[19:48:42] <rwp> olric, Probably not in the new systemd os world. IIRC that is explicitly blocked now.
2402[19:49:52] <joepublic> The takeaway here is that you can't reliably or successfully start an X program "@reboot" because at the time of reboot, X doesn't exist.
2403[19:49:59] <olric> then how should i run my xsession aplication after boot up other then crontab ?
2404[19:50:20] <rwp> olric, Just two lines ago I said how to do it. :-}
2405[19:51:12] <gvth> Hi; I have a little problem. For today, sound is not working on my system. I already followed the steps received by dpkg upon posting "alsa-checklist" to him. What I can say so far is that "aplay /usr/share/sounds/alsa/Noise.wav" is working perfectly for root, but not for my unprivileged user account. Thanks in advance for any help.
2410[19:53:53] <rwp> gvth, If root can do it but non-root can't then almost certainly it is permission/user/group/session/logind/polkitd related something. You are running Stretch stock? Or customized? We will need to know.
2411[19:54:50] <gvth> rwp: yes, I am running stretch
2412[19:55:03] *** Quits: marataziat (uid316278@replaced-ip) (Quit: Connection closed for inactivity)
2413[19:55:17] <gvth> rwp: I am running the stock-kernel with stretch
2414[19:55:30] <rant> not necessarily
2415[19:55:43] <rant> in fact a permission change that'd suddenly effect sound is fairly unlikely
2419[19:56:47] <rant> I'd check if the user is running pulseaudio, and then check the output device selected on the output tab of pavucontrol
2420[19:56:50] *** Quits: rsx (~rsx@replaced-ip) (Remote host closed the connection)
2421[19:58:16] <gvth> rant: "ps aux | grep pulse" outputs "<user> 9108 0.1 0.3 1954344 31208 ? Sl Sep07 234:56 /usr/bin/pulseaudio --start --log-target=syslog" if that is of interest....
2422[19:58:23] <rwp> Pulse Audio is more often the problem cause. But it might be a setting in ~/.asoundrc that works for root but not non-root.
2423[19:59:18] <gvth> yesterday sound was working and I haven't changed anything system-relevant since then
2424[19:59:27] <rant> gvth: yes well try running pavucontrol as you user and check the output tab.. its possible you have multiple outputs and perhaps the wrong one is selected this happens to me a lot when I'm using my displayport on my laptop as there is the built in analog output and the displayport/hdmi output
2425[19:59:54] <rant> merely (un)plugging an hdmi/dp device could have caused a device switch
2434[20:02:05] <rwp> Even if you are trying to use aplay (alsa play) it will still use pulse audio if pulse audio is installed. Give rant's suggestion of pavucontrol a go.
2437[20:02:58] <rant> otherwise stop making us guess and compile some logs for us to look at
2438[20:03:28] <gvth> rant, rwp: what do you mean with output tab? When I am running pavucontrol, I am getting a GUI window with several things to configure....
2441[20:04:16] <rwp> We must rely upon rant because I am not running pulse audio and therefore unfamiliar with the control. However I often see it discussed in relation to problem solving audio problems.
2442[20:04:29] <rant> yes, and there should be tabs along the top
2443[20:05:06] <rant> and actually if you can get something to continuously play audio that'd be best.. then look at the applications tab
2491[20:15:40] <rant> if you have a decent irc client you can usually run these kinda commands with /exec -o and it'd just paste the url here automatically
2492[20:15:50] <rant> gvth: thats the last command's url you pasted again
2503[20:19:39] <rant> well you do have two outputs, analog (speakers/audio jack) and digital (hdmi) like I do, and your system is configured to output to pulseaudio
2504[20:19:50] <rant> so the problem is definately pulse and not alsa
2520[20:23:12] <rant> I honestly dont know off the top of my head how to fix this, pulseaudio isn't something I know that well.. I do however know stopping or removing pulse will make it work again.. but you'll be losing the functionality of pulse
2530[20:26:09] <rant> gvth: I asked and pasted the logs you uploaded in #pulseaudio to see if perhaps we could get some help from someone who knows the software better
2604[21:05:47] <karlpinc> RustyShackleford: You could also start with minimal hardware and add more to test, although the intermittent failure makes that a bit hard.
2651[21:20:17] <RustyShackleford> karlpinc: do you think the cause could be anything besides memory or hard disk?
2652[21:20:53] <ellyacht> karlpinc: so when I do that and use 'passwd username' and change the pass I then do startx and it boots but freezes
2653[21:20:54] <karlpinc> RustyShackleford: Really, all options are on the table. It's possible that you need some non-free firmware even.
2654[21:20:56] <RustyShackleford> if memtest86+ doesn't give me any clues, I'll test the drive... if that doesn't work then what? Remove the hardware I added
2655[21:21:27] <RustyShackleford> when it does boot, I don't see anything alarming in the logs. Suppose I could post that and get more eyes on it
2656[21:21:28] <karlpinc> ellyacht: You're in single user mode. Better to reboot after changing the password.
2663[21:22:47] <ellyacht> karlpinc: k gotcha thank you
2664[21:23:25] <karlpinc> RustyShackleford: You'd need to figure out where it's failing. But start at the bottom and make sure that hardware works. You could look at the logs to see if there's any messages about firmware, or anything else.
2665[21:23:41] <RustyShackleford> I've got a few hours into scouring the logs
2666[21:23:51] <RustyShackleford> I'm pretty certain that when it hangs, there is no log entry
2667[21:24:02] <RustyShackleford> i.e. the OS doesn't begin to boot
2668[21:24:29] <karlpinc> RustyShackleford: Well, the logs wouldn't be preserved until the disk is mounted read/write. That takes a while to happen.
2669[21:24:36] <RustyShackleford> this and the fact that its an intermittent problem, I think it points to a hardware issue. Agreed?
2670[21:25:13] <karlpinc> RustyShackleford: Or a a race condition in the software. Some driver not fully initialized before it is used or some such.
2671[21:25:27] <RustyShackleford> I hate computers sometimes
2672[21:25:37] *** Highlander_ is now known as Highlander
2674[21:26:31] <karlpinc> RustyShackleford: Hardware would be the first suspect. Did you install with the unofficial netinstall with the non-free firmware included or the regular netinstall? You could look through the log and dmesg messages for "firmware".
2677[21:27:20] <user1_fn> I am trying to get an USB connected DVD-S device running: "DVBSky S960CI". The firmware is loaded, dmesg says "dvb_usb_v2: 'DVBSky S960CI' successfully initialized and connected", /dev/dvb/adapter0/{ca0,demux0,dvr0,frontend0,net0} is created, w_scan runs successfully -- but /dev/dvb/adapter0/dvr0 stays empty.
2682[21:28:17] <RustyShackleford> I had one warning related to realtek firmware for my NIC. Google suggested it wasn't necessary, but I installed firmware-realtek (non free)
2683[21:28:23] <RustyShackleford> problem persisted anyway
2684[21:28:51] <karlpinc> RustyShackleford: Start with the hardware.
2685[21:29:01] <RustyShackleford> i'm reading logs from journalctl. Would that get everything in dmesg?
2686[21:29:17] <RustyShackleford> karlpinc: yep I have the memory test running right now.
2687[21:29:18] <karlpinc> RustyShackleford: I don't know.
2689[21:29:44] <ellyacht> karlpinc: you have any suggestions on how to view the contents of my external drive I encrypted on Linux mint 18.3 a long time ago? should no it work on any Linux distro?
2690[21:29:50] <RustyShackleford> 16% and no errors so far
2691[21:29:59] *** Quits: JohnML (~john1@replaced-ip) (Remote host closed the connection)
2700[21:32:07] <ellyacht> I believe so. when I mount it manually in terminal I used cryptsetup open LUKS /dev/sde ext4 and so I can view the contents of both directories on the drive by I can only view it in terminal. not with file explorer
2701[21:32:48] <Kobaz> python3-pip : Depends: python-pip-whl (= 9.0.1-2) but 9.0.1-2.3 is to be installed
2702[21:32:53] <Kobaz> i forget how to fix this
2703[21:33:11] <csanyipal> I have on my LAN two laptops: one an old Toshiba, and a newer Acer. I want to backup some directories from Toshiba on to Acer.
2704[21:33:13] <ellyacht> if I can mount it and view it in terminal shouldn't I be able to view it with file explorer?
2705[21:33:22] <user1_fn> Likewise, vlc, mpv, mplayer ... wait for data infinitely.
2708[21:33:25] <rant> ellyacht: gvfsd can handle that by just clicking on the drive and entering the password in the dialog.. you mount it manually and you are probably mounting it with different permissions
2709[21:33:28] <karlpinc> ellyacht: Does your user have permissions to the disk? (There's probably a group you need to put your user into.)
2716[21:35:26] <user1_fn> karlpinc, I checked that, id says I am in the video group, which is the group the device files have.
2717[21:35:28] <karlpinc> user1_fn: Perhaps "cdrom". See zless /usr/share/doc/base-passwd/users-and-groups.txt.gz
2718[21:35:36] <ellyacht> what's caja? and rant: if that's the case which I'm sure it is, how do I fix it? and karlpinc: can I put my user in all groups? I click on the drive I enter the Passphrase and it says 'I do not have the permissions necessary to view its contents'
2719[21:36:13] <rant> ellyacht: well, is this just a data drive.. i.e. no OS or application type stuff in there?
2720[21:36:22] <rant> and all files were owned by the same user?
2721[21:36:24] <karlpinc> csanyipal: "rsync" is usually the right tool for that.
2722[21:36:30] <watchcat> caja is the mate gui filemanager, ellyacht
2725[21:37:06] <ellyacht> that's why I was going to use su to change ownership of the drive. rant: its funny you should mention that, it is just data on it but when I looked at what type of partition it is, it saya
2726[21:37:21] <ellyacht> says it's a master boot partition
2736[21:38:19] <rant> ellyacht: changing user to whatever user you use, and the u-u-i-d to the path its mounted
2737[21:38:40] <rant> ellyacht: that will just recursively change the owner user/group to your user for all files
2738[21:39:00] <csanyipal> karlpinc: thanks! I will use rsync then.
2739[21:39:08] <rant> ellyacht: you will of course need to be root to do this
2740[21:39:53] <karlpinc> RustyShackleford: To get reliable results you let it run continuously for some time, say overnight. That way the max temperature under load it reached. There's also some set of default tests, and another full test suite that is optional.
2741[21:40:51] <RustyShackleford> karlpinc: sure. But it seems like the error happens immediately, not like it happens when the system is under load
2756[21:45:16] <ellyacht_> that should give my user the necessary permissions to view its contents? should I mount it manually first? and try mapping it?
2765[21:47:00] <rant> ellyacht_: typically gvfsd will mount to /media/user/uuid where user is your username and uuid is the uuid of the disk.. unless it has a label then it may use that instead of uuid
2766[21:47:06] <damarusama> and it give me a unknown error
2767[21:47:16] <ellyacht_> rant: ty
2768[21:47:50] <rant> ellyacht_: and it will make the mountpoint owned by your user.. but if its a linux fs that wont affect permissions of all files on the volume.. with NTFS/FAT or such it will make you own all the files automatically cause it doesnt have unix style permissions
2777[21:49:48] <rant> ellyacht_: another thing that can happen is since you say you made this on another system awhile back.. different distros and over time, they use different FS options.. and sometimes an older distro may not be able to mount an fs with newer filesystem options
2778[21:50:22] <rant> ellyacht_: so you wanna be more careful about how you setup removable drives in the future, and if this is luks you should loook into header backups as well
2782[21:55:38] <ellyacht_> so I used rw init=/bin/bash in grub so I could change su password and it brought me to what I think is a root shell but it says root@(none) what the heck is that?
2792[21:59:33] <rant> ellyacht_: yes well thats a prompt.. root is the user (none) is the hostname / is the current working directory and # means its a root shell
2831[22:17:11] <Truxx> The package "firmware-intel-sound" is required in order to get audion on my laptop. This package is non-free. Is there anything I could do to avoid this package and still get sound?
2848[22:26:09] <Truxx> joepublic: Hmmm, actually that's a good idea if there is nothing software-related I could do....
2849[22:27:08] <Truxx> I just do not like to use "non-free" firmware or closed source stuff - just try to avoid them all if possible
2850[22:27:45] <joepublic> I don't use it either.
2851[22:27:59] <rudi_s> Truxx: Or you could accept that non-free is a requirement and just use it. Your CPU (assuming Intel or AMD) is non-free as well and requires non-free firmware updates.
2858[22:29:36] <Truxx> rudi_s: If it's intel and running on coreboot or libreboot, that's not "non-free" then... But in my case e.g. I cannot fully get rid of the Intel ME either
2859[22:29:49] <joepublic> it's okay to disagree but "roll over and accept that my way is the only way" isn't great nor defensible advice.
2860[22:30:00] <rudi_s> Well, depends on the term necessary. But the CPU itself is non-free to begin with. - And if you want to mitigate recent spectre and meltdown vulnerabilities (which you most likely want to) you require those non-free updates.
2861[22:30:16] <Truxx> joepublic: That's correct, non-free packages for the CPU are not installed
2862[22:30:29] <rudi_s> Truxx: That's still very much non-free, as you have no idea what your CPU actually does.
2864[22:30:51] <rudi_s> You might want to change that as especially meltdown is really an issue.
2865[22:31:00] <skinhaptik> yeah libreboot is really needed for a fully free system, but must we all be very pure like RMS?
2866[22:31:24] <joepublic> cpu-firmware released under a nonfree licenseis one tool of many that works to mitigate cpu issues. free software advocates don't install it. it's mitigated in the kernel, in free software.
2867[22:31:28] <rudi_s> joepublic: Well, that's just the current truth. Of course you can deny it, but at the moment we have not access to non-free processors and ignoring the fact is not helping either.
2868[22:31:28] <borrougagnou_> okay I don't see nothing
2869[22:31:29] <skinhaptik> I personally bought a librebooted laptop, but I don't think everyone cares as much about fully free software
2870[22:31:42] <Truxx> skinhaptik: We should - at least that's my philosophy.
2871[22:31:42] <joepublic> some care, more don't, that's okay.
2872[22:31:58] <rudi_s> joepublic: That's not true. Not all mitigations are available without cpu firmware updates!
2874[22:32:23] <joepublic> rudi_s, we have access to processors which are free. not all mitigations are software based, but neither are all of them microcode patches.
2875[22:32:25] <rudi_s> I do care very much about free software as well. But ignoring the current (regarding CPUs non-free) state is not helping.
2877[22:33:06] <Truxx> rudi_s There is acess to free CPUs like the RISC-V project.
2878[22:33:09] <skinhaptik> Truxx: sure I agree. It is pretty difficult to be fully free in all devices nowadays. At least my laptop is though
2879[22:33:14] <joepublic> you are championing the cause of nonfree packages. more power to you, but I am not on your side.
2880[22:33:47] <rudi_s> Truxx: Not in any consumer-grade hardware, yet.
2881[22:33:53] <skinhaptik> rudi_s: yeah but most computers need some non-free firmware especially for wifi drivers
2882[22:34:01] <rudi_s> joepublic: Because they are a requirement if you want to use a modern Intel/AMD processory in a secure way.
2883[22:34:02] <borrougagnou_> when my computer changed to "stand by" mode... I think the problem with my rendering problem begin at this time... but not only with XFCE4 if I launch thunar with openbox I have this problem
2884[22:34:04] <Stevie-O> I have an old HD that was "partitioned" using LVM2, hooked up via a USB enclosure as 'sdb'; what do I need to do to make the LVs accessible via device-mapper?
2885[22:34:25] <joepublic> rudi_s, a moment ago they didn't exist, now you are arguing about their "grade". it doesn't work that way.
2886[22:34:32] <annadane> joepublic, sorry, not following the conversation, but would you say microcode is a necessary thing to have installed or are you speaking purely of firmware?
2889[22:34:57] <rudi_s> Stevie-O: vgchange -ay should be enough, if not try a pvscan before that.
2890[22:35:10] <skinhaptik> annadane joepublic said earlier that he doesn't think it's necessary
2891[22:35:18] <joepublic> annadane, there are whole distributions that don't accept nor use nonfree microcode updates (Trisquel, parabola, etc.) but the CPU itself includes microcode as part of its makeup.
2892[22:35:33] <watchcat> Stevie-O: you're probably looking for the debian supporr channel... oh, nm.
2893[22:35:39] <annadane> i've always installed the microcode because i've thought it was necessary
2894[22:35:40] <rudi_s> joepublic: I knew about RISC-V when I wrote that they don't exist. Because my reasoning was, that something which is not accessible for consumers in e.g. laptop is not "available".
2895[22:35:53] <Stevie-O> rudi_s: yeah, none of that seems to be finding anything
2896[22:36:01] <Stevie-O> hrm
2897[22:36:05] <joepublic> you also wrote that you were a champion of free software. thank you for your interesting views.
2898[22:36:06] <Stevie-O> maybe something's off about my usb enclosure
2899[22:36:10] <rudi_s> annadane: And it is, if you want mitigations against current CPU exploits.
2900[22:36:15] <Stevie-O> file -srk says "empty"
2901[22:36:26] <annadane> right. so conflicting opinions
2902[22:36:29] <rudi_s> Stevie-O: That doesn't sound too good. What does lsblk say?
2903[22:36:31] <Truxx> annadane: That's not necessary though, at least not for a working system I tested. Actually I could not notice a difference with or without that non-free microcode package
2904[22:36:32] <skinhaptik> rudi_s: It probably makes things more secure but possibly less private
2905[22:36:52] <annadane> well no, if your criteria is "working system" then no it's not necessary
2907[22:36:59] <annadane> but that's not the sole consideration
2908[22:37:06] <joepublic> Truxx, I respect your desire to reject packages released under nonfree licenses, even if others don't.
2909[22:37:07] <rudi_s> skinhaptik: Well, "less private". You're trusting the processor already. Keeping it up-to-date doesn't change any possible privacy issues (or backdoors), but helps against known exploits.
2910[22:37:26] <Stevie-O> lsblk doesn't list sdb unless I specify -a
2911[22:37:53] <skinhaptik> rudi_s: well if the firmware is non-free some would argue that it may be hiding a backdoor or something
2912[22:38:03] <rudi_s> joepublic: I can fully appreciate the importance of free software and accept the current state of affairs which does not make it possible to use a full free system for regular consumers. Denying the truth doesn't help in my opinion.
2913[22:38:30] <rudi_s> skinhaptik: Sure, but that be already true for the processor itself as well (or Intel ME or AMT or ...).
2914[22:38:40] <watchcat> .oO(and the /ignores begin...)
2915[22:38:47] <joepublic> rudi_s, I salute you and the progress you are making in appreciating the importance of free software. The world needs more like you.
2916[22:38:51] <skinhaptik> rudi_s: ture, that's why libreboot is an important project!
2917[22:38:59] <rudi_s> skinhaptik: True.
2918[22:39:23] <rudi_s> Stevie-O: That doesn't sound good. According to the man page -a also lists empty devices. So I'd say something is wrong with the USB enclosure.
2920[22:39:48] <rudi_s> joepublic: Sorry for acknowledging the current state of free software. If that makes me "evil", well ...
2921[22:39:53] <Stevie-O> rudi_s: I just power-cycled the USB enclosure and things seem to be behaving differently (dmesg output is now closer to typical)
2922[22:39:59] <rudi_s> Stevie-O: Nice.
2923[22:40:45] <joepublic> your current frustration with features vs. freedom is one many have experienced. I genuinely believe that more people should come through that stage.
2924[22:40:58] <rudi_s> joepublic: And your solution is?
2925[22:41:30] <rudi_s> Not using most available non-free processors (like intel/amd/arm)?
2926[22:41:33] <joepublic> Encourage those who pursue software freedom, respect the responsible views of those who don't.
2927[22:41:41] <annadane> i'm going to err on the side of caution personally and leave it installed because i have been told by some very smart people it's a good package to have
2928[22:41:53] <annadane> and that's good enough for me
2929[22:41:58] <rudi_s> Good idea.
2930[22:42:08] <Stevie-O> hrm, still not finding stuff. I think I may have done something weird with this drive
2931[22:42:10] <Truxx> joepublic: And waiting for and/or supporting projects like RISC-V
2932[22:42:16] <annadane> that said intel - in my case - has not acted very responsibly
2933[22:42:23] <Stevie-O> What command do I use to list the GPT table contents?
2934[22:42:23] <rudi_s> joepublic: Sounds like good advice.
2935[22:42:29] <rudi_s> Stevie-O: fdisk -l
2936[22:42:30] <skinhaptik> I think using a mostly free system is great actually. Much better than windows or mac
2939[22:42:42] <joepublic> If I was a jerk, I would say a bunch of nonsense about "you're denying the truth about whether the packages are free" and such, but that wouldn't be a good nor sensible approach.
2940[22:42:45] <skinhaptik> Debian is a great project for combining both free and non-free worlds
2941[22:42:49] <Stevie-O> which is telling me that there's a single GPT "partition"
2942[22:43:01] <rudi_s> Stevie-O: If an GPT is present, it should tell you as well.
2943[22:43:02] <rwp> Stevie-O, "vgchange -aly"?
2944[22:43:15] <joepublic> skinhaptik, there is a whole "open source movement" dedicated to combining free and nonfree.
2945[22:43:35] * rwp crawls back under the desk and disassembles a computer...
2946[22:43:44] <Stevie-O> rudi_s: my fdisk is just printing "/dev/sdb1 1 4294967295 4294967295 16T ee GPT"
2947[22:43:52] <Stevie-O> which is cool that I have a 16T partition on a 2.7T disk
2959[22:45:28] <annadane> it also depends on threat model, a whistleblower is perhaps less likely to enthusiastically install non-free programs for fear of backdoors but an average user would want exploit mitigations. but this is off topic.
2960[22:45:29] <Stevie-O> parted says: Error: /dev/sdb: unrecognised disk label
2961[22:45:34] * Stevie-O glares at this stupid usb enclosure
2963[22:45:49] <Truxx> I wonder why an intel sound firmware is "non-free" - is it something about developments intel does not want to reveal to competitors? Or some other reasons?
2972[22:46:41] <Stevie-O> . /dev/sdb: DOS/MBR boot sector, extended partition table (last) DOS/MBR boot sector GPT partition table, version 1.0, GUID: d017207e-b41c-47a7-9d82-454a7f604dcb, disk size: 5860533168 sectors of 512 bytes DOS executable (COM)
2973[22:46:48] <joepublic> annadane, it could even be c) general principle even if a and b didn't matter in this instance.
2974[22:46:50] <Stevie-O> I cut off the stuff about the digital camera
2975[22:47:26] <Stevie-O> err, that's from `file -srk /dev/sdb`, by the way
2976[22:47:47] <Truxx> joepublic: It says: "This package contains the binary firmware for Intel SST sound DSPs supported by the snd-soc-sst-acpi or snd-intel-sst-acpi driver."
2977[22:48:00] <rudi_s> Stevie-O: Hm, so this is not an LVM physical volume.
2981[22:49:11] <rudi_s> Stevie-O: You could try running strings /dev/sdb | less and see if it says LVM2 near the top. This would indicate a PV.
2982[22:49:32] <Stevie-O> rudi_s: no, this was the boot drive for a machine
2983[22:49:47] <Stevie-O> so I think I had like /dev/sdb2 be a PV
2984[22:49:58] <Stevie-O> with /dev/sdb1 being the EFI boot partition
2985[22:50:26] <Stevie-O> So then the question is, why isn't it recognizing the GPT partition table
2986[22:50:29] <rudi_s> Stevie-O: Ah, I see. - If the DOS/GPT partition header was somehow damaged, you could try to find the existing partitions on disk with some file carver tools.
2987[22:50:54] <joepublic> The license says, among other things, "No reverse engineering, decompilation, or disassembly of this software" which explains why the packages is in non-free. as to why, goodness knows, the copyright holders include HP, AMD, AT&T, and the Regents of the Univ. of California
2988[22:50:56] <rudi_s> But I haven't had much experience with these tools.
2989[22:51:28] <rudi_s> But it's weird that both GPT headers are damaged.
2990[22:51:41] <Stevie-O> this machine is cursed
2991[22:51:54] <rudi_s> If you have enough space I would start with performing a dump of the disk so you won't accidentally damage it even further.
2992[22:52:27] <rant> gpart can reconstuct a parition table
2993[22:52:36] <rant> I've had luck with it in the past years ago
2994[22:52:40] <rant> ,i gpart
2995[22:52:41] <judd> Package gpart (admin, optional) in stretch/amd64: Guess PC disk partition table, find lost partitions. Version: 1:0.3-3; Size: 38.2k; Installed: 77k; Homepage: replaced-url
2996[22:53:08] *** Quits: towo` (~towo@replaced-ip) (Remote host closed the connection)
2997[22:53:37] <rudi_s> Best try it on a copy, if you have the space.
2998[22:53:49] <rudi_s> *which you then can loop-mount.
2999[22:54:13] <rant> this doesnt operate on mounted disks
3009[22:56:22] <Truxx> joepublic: Yeah :D Thanks. At least it's good to know the details.
3010[22:56:33] <skinhaptik> joepublic: yeah I guess that's what open source is. Open source gives the impression that it all is free software though - but when you look into it it's not all free
3011[22:56:44] <rudi_s> rant: Yeah, but if it guesses wrong and overwrites relevant parts of the disk you're screwed. So better perform the disk recovery on a copy of the disk.
3076[23:10:51] <Stevie-O> Odd. When I booted the machine with the USB drive plugged in, the USB drive took precedence over the SSD plugged into the mobo
3109[23:16:37] <Stevie-O> so for anyone who cares, the offending enclosure is a SABRENT EC-DFLT "USB 30 SATA Hard Drive Flat Docking Station", idVendor=152d, idProduct=1561, bcdDevice= 1.04
3110[23:17:15] <whislock> I don't know that you can.
3143[23:25:44] <jelly> codebam_, during boot loader menu, (e)dit the entry, remove the "quiet" option, and add, uh...
3144[23:25:48] <jelly> !nofb
3145[23:25:49] <dpkg> To disable framebuffer use at Debian installation time, supply the "fb=false" (d-i) or "video=vga16:off" (kernel) boot options. replaced-url
3146[23:25:54] <codebam_> jelly: okay, just a sec
3147[23:25:56] <codebam_> thanks
3148[23:26:02] <jelly> codebam_, ^ one of those might work
3149[23:26:23] <codebam_> but the installer boots fine?
3150[23:26:24] <Stevie-O> Interestingly, device-mapper complains *loudly* about misaligned stuff
3151[23:26:33] <codebam_> this is after installation has been completed
3152[23:26:38] <codebam_> I did the graphical installer too
3153[23:26:58] <jelly> this is just to get a working console, to be able to look at logs
3168[23:29:45] <dpkg> In systemd, "systemctl set-default multi-user.target", or remove the DM package(s) with "aptitude remove gdm3 kdm lightdm lxdm nodm sddm slim wdm xdm". "echo false >/etc/X11/default-display-manager" will also disable the DM, or just hit ctrl-alt-fN to get to a console. nodm is the name of a minimal/automatic display manager (replaced-url
3194[23:33:13] <codebam_> I mean, horizontal lines like before
3195[23:33:24] <jelly> if it's more than 10 years old it might be better to avoid graphics completely, or see if an older debian works better
3196[23:33:31] <jelly> it = the hardware
3197[23:33:42] *** Quits: dastier (~dastier@replaced-ip) (Remote host closed the connection)
3198[23:33:47] <codebam_> it worked with linux mint, so it *should* be able to support graphics?
3199[23:34:09] <jelly> intel gpus before sandybridge (2010?) were... problematic
3200[23:34:22] <codebam_> this is probably like... older than sandybridge
3201[23:34:24] <codebam_> yeah
3202[23:34:30] <codebam_> it came with vista
3203[23:35:11] <codebam_> I'll try something else I guess. maybe centos idk. I wanted to use debian because it's for a family member and it should be stable
3204[23:35:25] <jelly> might be better to find a cheap passively cooled amd gpu
3205[23:35:42] <codebam_> no point, at that point they'd just buy a chromebook
3206[23:35:46] <codebam_> would make more sense
3207[23:37:06] <jelly> if you still have that mint lying around, see which kernel version and xserver-xorg-core and xserver-xorg-video-intel version it has
3218[23:41:25] <jelly> perhaps you can boot in recovery mode
3219[23:41:27] <codebam_> I just really don't want to reinstall debian to find out it still doesn't work. it took nearly an hour the first time and I don't have unlimited time here
3221[23:41:53] <codebam_> tried that, same result except that I could see it booting because it didn't have quiet
3222[23:42:02] <jelly> debugging these things over irc takes time, too
3223[23:42:17] <codebam_> I know, sorry if I'm being difficult
3224[23:42:22] <codebam_> thank you for all your help jelly
3225[23:43:12] <Stevie-O> codebam: you were able to do the install though?
3226[23:43:16] <jelly> you're not, just saying it might take another hour figuring things out. If that sounds like a lot, maybe go ahead and try some other distro
3227[23:43:48] <codebam_> Stevie-O: yes
3228[23:43:59] <Stevie-O> what if you rerun the installer in rescue mode and install sshd
3229[23:44:15] <codebam_> jelly: yeah that's what I think I'll do. I don't have the time to be messing around with it
3259[23:53:52] <Stevie-O> hrm. /srv makes more sense than /var for websites
3260[23:53:58] <jelly> !fhs
3261[23:53:58] <dpkg> Debian follows the Filesystem Hierarchy Standard. The filesystem is categorized by purpose, not application. This allows, for example, the easy and efficient deployment of a read-only /usr area across a number of thin clients. See replaced-url
3262[23:54:24] <RustyShackleford> var is more for logs, right
3263[23:54:45] <RustyShackleford> I just put all of my data there, and thats the only drive I have to back up
3264[23:54:54] <RustyShackleford> service configs and stuff I care less about
3265[23:55:28] <jelly> I backup everything
3266[23:55:36] <RustyShackleford> everything in /?
3267[23:55:42] <jelly> EVERYTHING
3268[23:55:44] <RustyShackleford> seems excessive
3269[23:55:47] <petn-randall> me too.
3270[23:55:49] <Stevie-O> where do you back it up to?
3271[23:56:02] <Stevie-O> Because it seems to me that you would have trouble when you recurse into your backup drive
3272[23:56:03] <RustyShackleford> if you move to another OS, configs might not work as you expect
3273[23:56:06] <codebam_> why everything, why not just backup /etc/ and /home/ ?
3274[23:56:08] <RustyShackleford> different versions of software
3275[23:56:16] <petn-randall> With borgbackup a complete system backup (everything below /) is 6 minutes. I stopped caring about excluding things.
3278[23:56:31] <Stevie-O> where do you backup *to*?
3279[23:56:41] <petn-randall> Rotating platter USB drive.
3280[23:56:44] <jelly> codebam_, because my time is worth something and I don't want to waste it configuring and installing and tuning things again
3281[23:56:55] <codebam_> that's true yeah
3282[23:57:00] <Stevie-O> by 'rotating platter' you mean just a big HD?
3283[23:57:11] <codebam_> most of my system is very easy to configure, takes an hour or so
3284[23:57:21] <jelly> good for you
3285[23:57:30] <Stevie-O> petn: can borgbackup run from cron?
3286[23:57:33] <blackflow> I'm just shipping the whole zfs root pool elsewhere as well.
3287[23:57:42] <codebam_> sorry, saying that's why I don't backup everything
3288[23:57:51] <petn-randall> Stevie-O: Well, I actually take a LVM snapshot and backup that, so everything is consistent. It also solves the issue of recursing into the backup mount.
3289[23:58:06] <Stevie-O> real 14m45.620s user 128m3.213s
3290[23:58:07] <petn-randall> Stevie-O: Yes, fairly cheap 3 TB drive. Two of them.
3291[23:58:08] <Stevie-O> I love -j12
3292[23:58:39] <Stevie-O> there was 16m of sys time there too
3293[23:59:54] <RustyShackleford> long scan of my drive completed without error