stoned 2017-03-03 06:47:08
ls /dev/disk/by-id/ata-ST3000DM001-1E6166_Z1F2VHNS I have this file. /dev/sde actually. dd if=/dev/zero | pv > of=/dev/disk/by-id/ata-ST3000DM001-1E6166_Z1F2VHNS says: -bash: of=/dev/disk/by-id/ata-ST3000DM001-1E6166_Z1F2VHNS: No such file or directory ... ?
greycat 2017-03-03 06:50:22
stoned: > filename not > of=filename
stoned 2017-03-03 06:55:19
oh doh.
stoned 2017-03-03 06:55:29
man, thanks.
stoned 2017-03-03 06:55:48
I did the same thign yesterday, tw has to correct me. thanks
alioui_ 2017-03-03 06:56:29
hi all. how do i find which package provides a header file?
greycat 2017-03-03 06:57:04
Either apt-cache search --names-only foobar dev; or ask judd here for the file by name.
greycat 2017-03-03 06:57:59
judd, file ncurses.h
judd 2017-03-03 06:58:02
Search for ncurses.h in jessie/amd64: libncurses5-dev: usr/include/ncurses.h; libncursesw5-dev: usr/include/ncursesw/ncurses.h; latrace: etc/latrace.d/headers/ncurses.h
alioui_ 2017-03-03 06:59:45
judd, file boost/functional/hash.hpp
judd 2017-03-03 06:59:48
Search for boost/functional/hash.hpp in jessie/amd64: libboost1.55-dev: usr/include/boost/functional/hash.hpp
alioui_ 2017-03-03 07:00:14
thanks greycat
ryan-c 2017-03-03 07:01:24
Is there any reason debian-installer doesn't allow selection of UTC by default?
Shadow_7 2017-03-03 07:03:50
cause it's old and crusty and calls it GMT ? idk
Shadow_7 2017-03-03 07:04:14
post install you can ... dpkg-reconfigure tzdata
jhutchins_wk 2017-03-03 07:06:06
ryan-c: Seems like it does in Advanced.
ryan-c 2017-03-03 07:06:29
advanced is not default
Shadow_7 2017-03-03 07:07:06
does the installer give tasksel like options? server / desktop / workstation?
ryan-c 2017-03-03 07:07:46
no
Shadow_7 2017-03-03 07:07:50
I normally do min debootstrap install and bloat as needed.
ryan-c 2017-03-03 07:08:13
hmm, crap
ryan-c 2017-03-03 07:08:27
it didn't detect the disk I'm trying to install to.
Shadow_7 2017-03-03 07:08:42
mvne?
ryan-c 2017-03-03 07:08:45
USB
ryan-c 2017-03-03 07:09:08
(this is an single board arm system)
ryan-c 2017-03-03 07:09:23
anyone know how to switch to a shell via serial console?
Shadow_7 2017-03-03 07:10:25
maybe you have the wrong image. armhf is arm v.7. pi B is a v.6 board and need armel
jhutchins_wk 2017-03-03 07:11:15
ryan-c: What do you have other than a shell?
ryan-c 2017-03-03 07:11:32
It's debian installer, and no I don't have the wrong image.
ryan-c 2017-03-03 07:11:43
it let me get to the shell from the menu
jhutchins_wk 2017-03-03 07:11:54
ryan-c: Try Alt-F?
ryan-c 2017-03-03 07:11:55
usb is detected in a different port
ryan-c 2017-03-03 07:12:40
jhutchins_wk: nope :-(
mernilio 2017-03-03 07:29:44
Greetings!
mernilio 2017-03-03 07:32:13
I have a question about microcontrollers ... what is the smallest i as a hobbist can use? Or microprocessor?
mernilio 2017-03-03 07:32:33
In size on the pcb
mernilio 2017-03-03 07:33:45
It about my future and about an invention that will get me enormously rich! :-)
trumpy_ 2017-03-03 07:33:56
no clue.
Shadow_7 2017-03-03 07:34:11
raspberry pi zero W isn't that big. Omega's are smaller still. pocket chip
greycat 2017-03-03 07:34:14
Try ##hardware maybe? This is not a thing #debian knows.
mernilio 2017-03-03 07:34:39
trumpy_: Thanks anyway ... and to the rest of you!
mernilio 2017-03-03 07:36:24
Im not a hardware guy like that .. but if you look at simple code .... its really simple.
mernilio 2017-03-03 07:38:03
You actually burn the program you make into the chip. Fantastic! :-)
mernilio 2017-03-03 07:39:06
Im an amateur, but its very cool!
JestaBlunt 2017-03-03 07:40:33
hi
mernilio 2017-03-03 07:40:45
JestaBlunt: Hi there!
mernilio 2017-03-03 07:41:14
How can i assist you?
JestaBlunt 2017-03-03 07:41:25
i have one quick question...if i view the processes with top most of them are gray, but some are white...
JestaBlunt 2017-03-03 07:41:37
what are the white ones?
greycat 2017-03-03 07:42:39
JestaBlunt: if you mean regular white-on-black vs. bold WHITE-on-black, the bold ones are in state "R" (running)
mernilio 2017-03-03 07:42:42
I suppose some of the processes you see in top doesnt belong to you. They are root processes
JestaBlunt 2017-03-03 07:43:46
ah, i see...you're right, they have R in the stet
JestaBlunt 2017-03-03 07:43:47
state
Shadow_7 2017-03-03 07:43:48
The ones you perceive as white are actually BOLD. If no bold font is specified it'll smudge the pixels to the right 1px.
JestaBlunt 2017-03-03 07:44:54
ok, thank you, now i have some clues to google my way on ;)
mernilio 2017-03-03 07:44:59
One can start .. say elm .. and you are the captain of that process .. thats a user process ... but you as a "user" cant take charge of a root process ... thats in charge of the operating system.
greycat 2017-03-03 07:45:12
mernilio: your answer is simply wrong.
JestaBlunt 2017-03-03 07:45:44
exit
JestaBlunt 2017-03-03 07:45:51
hehe...i mean by
mernilio 2017-03-03 07:45:54
graytron: of course not .. im a well knowned kernel developer!
JestaBlunt 2017-03-03 07:45:55
bye
BluesKaj 2017-03-03 07:47:19
well knowned eh, odd never heard of that word :-)
mernilio 2017-03-03 07:47:19
:-)
mernilio 2017-03-03 07:49:43
You know being a hardcore kernel dev .. its difficult to make everybody happy. I do this on my free time. I have a family...
greycat 2017-03-03 07:50:13
mernilio: You are not fooling anyone. Please just stop.
mernilio 2017-03-03 07:53:52
n4dir: as root, you can use the "kill" keyword. Every program has a number. You can see it if you run ps. The command "kill -9 is the most obnoxious.
mernilio 2017-03-03 07:55:33
I use it all the time if a user process dont want to play with my work with my kernel.
n4dir 2017-03-03 07:55:46
the answer is good, only that i asked the wrong question
dob1 2017-03-03 07:55:56
hi, some info about ssh and keys, if someone stole my private key (and know the passphrase/or there is no passphrase) he can connect to the server, how can i make the keys invalid?
mernilio 2017-03-03 07:56:18
n4dir: sure, go ahead and ask another question!
`Kevin 2017-03-03 07:56:40
keyboard con-artist ^
n4dir 2017-03-03 07:56:52
dob1: i would assume removing the key from ~/.ssh/authorized_keys does the job
beardyname 2017-03-03 07:56:54
dob1, keys you have generated to login?
mernilio 2017-03-03 07:57:22
Im here in debian to ansver the hard questions!
dob1 2017-03-03 07:57:22
beardyname, yes
mernilio 2017-03-03 07:57:32
Qs that guys like greycat know nothing about.
dob1 2017-03-03 07:57:34
n4dir, ok but the one who stole the key can have access to private/public key and an ssh connection to the server, he can't add them again =?
n4dir 2017-03-03 07:58:06
uh, once it is removed, he has no more access, hence can't add it anymore.
beardyname 2017-03-03 07:58:14
^
n4dir 2017-03-03 07:58:15
might be i am too tired.
beardyname 2017-03-03 07:58:56
Nope
dob1 2017-03-03 07:59:09
n4dir, i miss this point, he can't do the ssh-copy-id to copy again the public key?
n4dir 2017-03-03 07:59:37
how should he be able to do that? He has no access, once the key is removed
mernilio 2017-03-03 07:59:53
He pretend he is a oldtimer but in fact he is a crackpot with an ongoing alcoholism.
n4dir 2017-03-03 08:00:31
what would be the point of using ssh-key authentication, if anyone out there could run ssh-copy-id to copy ssh-keys to a server?
jolt 2017-03-03 08:00:31
dob1: ~/.ssh/authorized_keys is used to verify the pub/priv key. if the key is not in authorized_keys, then he cannot login.
dob1 2017-03-03 08:00:41
n4dir, ok but he could have add some new keys, right? can i check this?
jolt 2017-03-03 08:01:15
dob1: They would need to use some other mechanism, like password.
n4dir 2017-03-03 08:01:17
yes, but i am not sure how. sorry
beardyname 2017-03-03 08:01:33
if he can't access the system it's not possible to re-add the private key
jolt 2017-03-03 08:01:53
dob1: remove the authorized_key file completely, then all authentication needs to be done with password
mernilio 2017-03-03 08:01:57
n4dir: i dont care .. but why are you so sesstive about yuur data? Even i have stopped worrying.
n4dir 2017-03-03 08:02:08
*plonk*
RFleming 2017-03-03 08:02:22
Howdy!
dob1 2017-03-03 08:02:42
ok thanks for the info!
mernilio 2017-03-03 08:02:47
sure.. you can protect your porn.
mernilio 2017-03-03 08:03:25
with the highest grade of protectioon :-)
n4dir 2017-03-03 08:03:35
dob1: keep in mind i only shoot ideas. look at the keys you got yada_rsa.pub and compare them on the remote with the authorized_keys file.
RFleming 2017-03-03 08:03:38
I know this is subjective, but what's a reliable GUI program for backing up and restoring files and settings?
jhutchins_wk 2017-03-03 08:03:52
RFleming: Why GUI?
RFleming 2017-03-03 08:04:07
jhutchins_wk: because they're prettier. :)
RFleming 2017-03-03 08:04:39
oh wait, that hasn't come up yet
jhutchins_wk 2017-03-03 08:05:03
I don't think I've ever seen a GUI wrapper for backup. I'm sure that there are some things in Gnome on various distros...
RFleming 2017-03-03 08:06:00
jhutchins_wk: well there's deja-dup which is a gui wrapper for duplicity
RFleming 2017-03-03 08:06:00
there's cronopete
jhutchins_wk 2017-03-03 08:06:00
RFleming: I would expect something like that to use the standard (console based) tools like rsync and tar and such.
RFleming 2017-03-03 08:06:00
I'm sure there's a couple of others
jhutchins_wk 2017-03-03 08:06:10
I use rdif.
RFleming 2017-03-03 08:06:26
jhutchins_wk: I want the GUI for automation and simplicity.
jolt 2017-03-03 08:06:31
RFleming: Déjà Dup looks nifty
jhutchins_wk 2017-03-03 08:06:47
CrashPlan probably has a GUI.
RFleming 2017-03-03 08:07:07
I could use rsnapshot, or a simple tar.xz script... but I want the simplicity of backing up and restoring files
RFleming 2017-03-03 08:07:26
... not that I've ever needed to :D
jolt 2017-03-03 08:08:09
Crashplan definitely has a gui. Free when don't use their cloud storage. But eats a ton of RAM if you have lots of data
RFleming 2017-03-03 08:09:00
jolt: yeah, deja-dup looks nice
jolt 2017-03-03 08:09:27
RFleming: Haven't used it though
RFleming 2017-03-03 08:09:32
there were restore problems with it before, don't know if they've been fixed.
mernilio 2017-03-03 08:09:37
Why are debian your choise of distro?
jhutchins_wk 2017-03-03 08:09:44
That's the thing about GUI wrappers. GUI package installers tend to be very slow and memory intense (compared to the console tools).
RFleming 2017-03-03 08:10:19
jhutchins_wk: very true... but these problems have to be solved if you want to make the desktop friendlier.
mernilio 2017-03-03 08:10:25
Ian, in deb(ian) just killed him self some month ago.
RFleming 2017-03-03 08:10:30
you can't just say 'learn the shell, and you'll be ok' to every one :)
jolt 2017-03-03 08:10:33
mernilio: Awesome trackrecord of stability and lovely support. Also good with erratas and keeping track of things. Also very anal (in a good way) about licensing!
mernilio 2017-03-03 08:10:53
jolt: Agreed!
RFleming 2017-03-03 08:11:00
I'm in the process of switching from Ubuntu to Debian
jhutchins_wk 2017-03-03 08:11:38
Actually, making the desktop "friendlier" usually means more resources.
jhutchins_wk 2017-03-03 08:11:47
RFleming: Sure you can.
RFleming 2017-03-03 08:12:13
jhutchins_wk: ha.
jhutchins_wk 2017-03-03 08:12:14
RFleming: If you have an admin who knows the system, you can have users who don't, but for self-administration, learn the shell.
mernilio 2017-03-03 08:12:59
jhutchins ... i think the kde desktop is more user friendlier!
mernilio 2017-03-03 08:13:05
gnome is hopeless.
RFleming 2017-03-03 08:13:08
jhutchins_wk: the problem is, the shell most times is the only way. There should at least be two options.
jhutchins_wk 2017-03-03 08:13:24
I don't think linux should try to win least-common-denominator users.
`Kevin 2017-03-03 08:13:50
mernilio: and both are bloated
RFleming 2017-03-03 08:13:59
mernilio: thanks...
RFleming 2017-03-03 08:14:09
... you just started a DE war
mernilio 2017-03-03 08:14:15
Kevin: I agree!
RFleming 2017-03-03 08:14:27
... hope you're proud.
`Kevin 2017-03-03 08:14:38
RFleming: thats what he wants :)
RFleming 2017-03-03 08:15:09
and don't get started on MATE
RFleming 2017-03-03 08:15:18
that's a steaming pile
`Kevin 2017-03-03 08:15:21
fluxbox? :P
RFleming 2017-03-03 08:15:25
openbox
RFleming 2017-03-03 08:15:33
awesom, i3w
Shadow_7 2017-03-03 08:15:44
cwm ... pixels are for noobs
RFleming 2017-03-03 08:15:44
xsession? :)
mernilio 2017-03-03 08:15:46
RFleming: .. i like xfce .. it is pretty good!
somiaj 2017-03-03 08:15:57
It souldn't matter, one should use the de/wm that suits their needs/style.
RFleming 2017-03-03 08:16:05
mernilio: it is nice.
RFleming 2017-03-03 08:16:45
been using XFCE as my desktop for the last 7 years
teraflops 2017-03-03 08:16:48
feel free to continue this amazing and super interesting ^ DE/WM war at #debian-offtopic
trumpy_ 2017-03-03 08:17:09
gnome de is the best
RFleming 2017-03-03 08:17:11
Sorry for interrupting everyone with pressing Debian questions
RFleming 2017-03-03 08:17:33
teraflops: you're good at internet sarcasm.
mernilio 2017-03-03 08:18:24
i must go now .. thanks for talking with you. :-)
stoned 2017-03-03 08:24:33
Well, I am deciding against zfs now.
ryan-c 2017-03-03 08:24:49
why?
ryan-c 2017-03-03 08:24:52
zfs is awesome
stoned 2017-03-03 08:24:53
It's too unstable on linux it seems. Diff versions and can't import/export across debians and across various diff os
stoned 2017-03-03 08:25:04
sure, but on linux not so awesome.
stoned 2017-03-03 08:25:09
So many issues.
ryan-c 2017-03-03 08:25:15
I've been running it for years without issues
stoned 2017-03-03 08:25:15
Flags and versions and matching this and ma tching that
stoned 2017-03-03 08:25:22
I did for 2 years, sure
stoned 2017-03-03 08:25:36
Then tried to export in jessie, upgrade to stretch, import, nothing shows up
koollman 2017-03-03 08:25:36
across diff os, it's a bit harder
stoned 2017-03-03 08:25:50
3-4 days in #debian, #zfa and #openindiana and just... tired now man.
stoned 2017-03-03 08:25:51
Just tired.
stoned 2017-03-03 08:26:04
That's WHY I stopped using linux... too many goofy issues that you don[ thave on windows or elsewhere
stoned 2017-03-03 08:26:13
that' shwy I stoppd using testing/sid and went only to stable for years now
stoned 2017-03-03 08:26:19
yeah, screw this nonsense
stoned 2017-03-03 08:26:29
I'm stable, baby. Never gonna use anything else. too many problems.
stoned 2017-03-03 08:26:37
I don' thave time to deal w/ that nonsense.
koollman 2017-03-03 08:26:39
well, stretch is not stable. But nothing showing up is rather strange
koollman 2017-03-03 08:27:09
first guess would be a change of device naming scheme. but I don't know what stretch did recently
stoned 2017-03-03 08:27:13
koollman: yeah, I figured, zfs version is same asin jesise backprots, but yeah, very strange.
stoned 2017-03-03 08:27:32
I tried, freebsd, open indiana, linux (3 kinds) and 2 debians and 4 days of time wasted
koollman 2017-03-03 08:27:35
stoned: does it show up from a debian jessie ? (like a live cd/usb)
stoned 2017-03-03 08:28:01
back in jessie, reistalled the os, and try to import, nothing.
stoned 2017-03-03 08:28:12
it's as it it's gone. zdb label was thre, but I couldn't recover it
koollman 2017-03-03 08:28:14
now that's even stranger
stoned 2017-03-03 08:28:22
no matter what I did.
stoned 2017-03-03 08:28:22
I know
stoned 2017-03-03 08:28:31
and #zfsonlinux where this guy just invitd me to help me out thinks i'm mentla.
stoned 2017-03-03 08:28:38
that Im' stupid and I dunno what I'm donig.
stoned 2017-03-03 08:28:40
*sigh*
stoned 2017-03-03 08:28:52
then they tried to teach me ho to upgrade from jessie to stretch. I laughed a bit.
stoned 2017-03-03 08:29:37
Anyway, #zfs and #openindiana guys inaddition to 15 years of #deiban guys are awesome.
stoned 2017-03-03 08:29:45
I'm going to use mabye xfs for my 3TB now.
somiaj 2017-03-03 08:31:22
why not just use ext4?
`Kevin 2017-03-03 08:32:03
nothing wrong with xfs imo :| pending the requirements
somiaj 2017-03-03 08:32:49
sure, but ext4 is a long standing well tested file system well supported by the linux kernel. It could be you are in a situation in which you would gain much difference from using other file systems.
`Kevin 2017-03-03 08:33:43
id argue xfs is well tested at this point as well, perhaps not to the extent of ext as a whole
somiaj 2017-03-03 08:35:01
I just see lots of use of other file systems in many cases where they aren't needed. Nothing wrong with that, but I tend to stick with ext4 as I don't ever see people in here have issues with it.
stoned 2017-03-03 08:35:21
I'm just... I learned a great deal about zfs in two years and the past few days.
somiaj 2017-03-03 08:35:22
I'm not saying other file systems don't have good testing, just many times they aren't really needed.
`Kevin 2017-03-03 08:35:25
somiaj: that was my original thought when he decided to switch from zfs to xfs
stoned 2017-03-03 08:35:40
I'm just... irritable that my freaking 3TB is dying and I have only 1 left, and I can't use ZFS anymore :)
`Kevin 2017-03-03 08:35:42
if you do not need the features of X then steer clear of it
somiaj 2017-03-03 08:36:21
well no file system is going to be able to deal with bad hardware, backups are needed for that. I like one onsight backup and one offsight backup
stoned 2017-03-03 08:36:27
Why would I want to use ZFS? I have no use for it any longer. What happens if I deicde to switch OS, and the same thing happens?
stoned 2017-03-03 08:36:35
I do not want to spend another 4 days trying to get to my data.
stoned 2017-03-03 08:36:39
I'm happy w/o zfs now. Thanks.
Donquixote 2017-03-03 08:36:52
Jo. I still can't play ANY media file with ANY media player, no matter if it's VLC, MPlayer, mvp or Dragon. Please help
stoned 2017-03-03 08:37:01
somiaj: I use gitlab for backups :D
stoned 2017-03-03 08:37:13
Donquixote: what happens?
stoned 2017-03-03 08:37:20
We could use more information
somiaj 2017-03-03 08:37:22
Donquixote: provide more info, maybe stick with one simple media, so even an mp3 isn't working?
Donquixote 2017-03-03 08:37:25
The audio gets played, but the video screen is black
stoned 2017-03-03 08:37:30
oh
teraflops 2017-03-03 08:37:37
Donquixote: then be more specific about the issue
somiaj 2017-03-03 08:37:39
Donquixote: what is the output of xvinfo at paste.debian.net please
stoned 2017-03-03 08:37:42
maybe you need to pick the correct video driver in the player?
somiaj 2017-03-03 08:37:52
yea sounds like a video driver issue
stoned 2017-03-03 08:38:07
my mplayer works best on xv or opengl
stoned 2017-03-03 08:38:11
sdl not so much
Donquixote 2017-03-03 08:38:48
http://paste.debian.net/917866/
stoned 2017-03-03 08:38:51
`Kevin: what would you use? xfs or ext4?
Donquixote 2017-03-03 08:39:25
I never had an issue with (L)Ubuntu, or my debian installation from 2 years ago
Lowl3v3l 2017-03-03 08:39:35
stoned: there's btrfs as well ;) ext4 is a solid choice thoug if you dont want the cooler new features
RFleming 2017-03-03 08:39:42
`Kevin: does xfs support snapshots?
`Kevin 2017-03-03 08:39:46
stoned: it depends on needs, if I wanted absolute recoverability id stick to ext4 otherwise I may lean towards xfs wrt performance
stoned 2017-03-03 08:39:59
Hm.
Donquixote 2017-03-03 08:40:09
I can play YouTube videos
Donquixote 2017-03-03 08:40:25
And local Videos with a Chrome addon
RFleming 2017-03-03 08:40:41
Donquixote: maybe you're missing codecs
Donquixote 2017-03-03 08:40:58
I installed a lot of video codecs with synaptic the recent days
`Kevin 2017-03-03 08:41:04
stoned: ext4 is likely a little more reliable in regards to drive issues or power outages(fsck).. not that ive had any issues with xfs
Donquixote 2017-03-03 08:41:29
Which codecs would I need to install?
RFleming 2017-03-03 08:41:35
Donquixote: maybe so, but apparently not the right one :)
Donquixote 2017-03-03 08:41:42
Yeah
Donquixote 2017-03-03 08:42:01
I have synaptic prepared
RFleming 2017-03-03 08:42:06
can you play in VLC
`Kevin 2017-03-03 08:42:16
RFleming: no, you can issue a xfs_freeze and trigger something else thou if you have another mechanism such as LVM or R1 hotcopy etc
stoned 2017-03-03 08:42:27
dude
stoned 2017-03-03 08:42:36
I'm just gonna move it all to cloud, google and what not.
`Kevin 2017-03-03 08:42:38
actually r1 only supports ext IIRC so ^
Donquixote 2017-03-03 08:42:42
No, in no video player aside in chrome addon. Mplayer, VLC, Mvp, Dragon, every it plays only the audio with a black screen
`Kevin 2017-03-03 08:43:04
RFleming: xfs is very bare
stoned 2017-03-03 08:43:05
I want to never think about storage pools and anything of the sort. too much work I can just outsource to a company that does it best.
somiaj 2017-03-03 08:43:14
Donquixote: can you share your /var/log/Xorg.0.log file, want to see what video drivers are loading.
Shadow_7 2017-03-03 08:43:47
and then be limited by your 56k connection
Shadow_7 2017-03-03 08:44:46
Donquixote: still vp6f video codec?
Donquixote 2017-03-03 08:45:05
http://paste.debian.net/917867/