Reputation
32,846
Next tag badge:
323/400 score
97/80 answers
Badges
4 56 105
Newest
 Yearling
Impact
~1.6m people reached

2d
comment Auto-switching PulseAudio profiles based on input(s) channel count
@meden The one with the highest number of channels, I guess.
Aug
22
comment Samsung 850 Evo SSD Hardware Encryption
Some pointers elsewhere on the SE network: security.stackexchange.com/questions/45542/… askubuntu.com/questions/506556/… (Can not vouch for any of these as I've never used Opal).
Aug
19
comment Web server infected by backdoor Trojan, how to fix?
Please see (on Serverfault, another site in the Stack Exchange network) How do I deal with a compromised server? — there is a wealth of information there.
Aug
19
comment expand root filesystem onto one larger filesystem
You need to add details before anyone can make a recommendation. E.g., what type of machine, OS you're running, details of the disks these filesystems are on, how long you're willing to have the machine down for, if you're using any storage manager (e.g., LVM), etc.
Aug
19
comment Defer some daemon startups until after disk idle at boot
@gwillie I presume you mean with path activation? That might work, but seems very fragile. E.g., KDE upgrade changes file access order or stops using the targeted file. Interesting idea, though.
Aug
18
comment My usb udev rule not triggering when I do echo 0 >authorized ; echo 1 >authorized
Hmmm, does the answer here unix.stackexchange.com/questions/165447/… help?
Aug
18
comment My usb udev rule not triggering when I do echo 0 >authorized ; echo 1 >authorized
... well, probably because you're not actually unplugging/replugging the device. Could you back up a little here, and explain the ultimate goal you're trying to accomplish? (You can BTW use udevadm monitor to see what events udev is getting).
Aug
18
comment What files does the Linux kernel access?
@dr01 I'm pretty sure OP is talking about the Linux kernel itself. And only ones it does itself, not at request of e.g., a userspace program calling open(2).
Aug
17
comment How to run an infinite loop in the background
Your answer would be greatly improved by explaining it—the OP may not know what : means and probably doesn't know why you've moved the & to the end. Also, changing the spacing to make it a one-liner is just confusing—it's a change which is very visible but is entirely unimportant.
Aug
15
comment Rename the bunch of files with a specific pattern
Julian Day 204 was in 4713 BCE; I think you meant the ordinal date. In which case, see date +%j—though that gives 203, not 204 for 2007-07-22. Please explain how your "julian day" is calculated. (Do you count all years as leap years or something like that?)
Aug
13
comment How to stream with ffmpeg in a separate process
Might want to send the output to a log file (or syslog) instead... Much easier to fix problems when the error messages aren't sent to /dev/null.
Aug
13
comment How to stream with ffmpeg in a separate process
@MaximV.Pavlov you can post your own answer explaining the solution you went with, to help future visitors to the site.
Aug
12
comment OpenVPN is working but not DNS resolution
Did you try tcpdump?
Aug
11
comment OpenVPN is working but not DNS resolution
Check your firewall config to see if its blocking the packet (iptables -t filter -vL). Also you can try tcpdump on the VPN device to see if the traffic is getting through at all. Also, is your kernel new enough to have net.ipv4.conf.all.forwarding? If so, make sure that is 1. (Well, or you can do it per-interface as well).
Aug
11
comment OpenVPN is working but not DNS resolution
Pinging the public IP (remote VPN endpoint IP) doesn't go over the VPN. You need to ping one of its other IPs.
Aug
11
comment OpenVPN is working but not DNS resolution
Try pinging the server over the VPN. Make sure that works. Also, what's up with your NAT rules? It looks like you have duplicate rules and also are trying both SNAT and MASQUERADE... (And also disclosed your public IP address there.)
Aug
11
comment OpenVPN is working but not DNS resolution
... also, pushing a DNS server of 127.0.0.1 is probably not what you want (but it should just fall back to the others). If you want the VPN server to be used for DNS, you need to push one of its IPs, not the magic 127/8 localhost network. (10.8.0.1 might work, don't recall if that does with --server).
Aug
11
comment OpenVPN is working but not DNS resolution
Probably you don't actually have Internet connectivity through the VPN. Can you ping an IP address (e.g., 8.8.4.4?). Is IP forwarding enabled on the server?
Aug
11
comment Why are tar archive formats switching to xz compression to replace bzip2 and what about gzip?
@Mike does that make it clearer? I checked and confirmed that kernel sources are compressed with xz -9 (xv -vvl will tell you).
Aug
11
comment Why are tar archive formats switching to xz compression to replace bzip2 and what about gzip?
@Mike right, for same file size xz uses less than bzip, but it seems people prefer the higher compression ratio instead (so real world use requires more memory). I'll think of a way to make that clearer.