Reputation
25,970
Next tag badge:
96/100 score
19/20 answers
Badges
3 39 88
Impact
~2.8m people reached

Feb
8
comment Can't connect to home WiFi - DHCP problem?
Tell us how wpa_supplicant gets started (like from systemd) and with what flags. Give the output of: ps a -e | grep wpa_supplicant
Feb
5
answered How can I make a service to run on port 80 in Linux? (Details)
Feb
3
comment “link is not ready” error, vanishing network interfaces
Are you running wpa_supplicant? I've had a problem (Arch Linux) that looked a lot like that. wpa_supplicant -u, as started from systemd, would do almost exactly as you describe. Unfortunately, I haven't found a solution other than to not run wpa_supplicant -u, but rather to run it for each specific interface.
Feb
2
comment Troubleshooting new linux system keeps freezing
The times I've had problems that feel like yours, it's been either (a) bad memory stick or (b) video drivers. I have had memory sticks that passed memtest86, but would crash Linux within a few hours. The open source Nvidia drivers are supposed to be really good, aren't they? I also have a superstitious fear of cables. Are the cables all well-seated? Any ribbon cables? Those things go bad at inopportune times.
Jan
30
revised procmailrc and php
A few edits.
Jan
30
comment procmailrc and php
OK, pwd says that, but what does echo $HOME say? And I think the file has to be named .procmailrc for the procmail process to find it. procmail may run with a very small PATH - is php in a directory in $PATH? My .procmailrc file has 644 permissions, somethings things get picky about that (sshd, for instance).
Jan
29
answered procmailrc and php
Jan
29
revised procmailrc and php
Edit to make the "code" sections look like code, instead of a concatenated jumble.
Jan
29
awarded  Good Answer
Jan
28
comment Why can't my servers talk to each other over direct ethernet connection?
What BinaryZebra said! Also, what does ip route say on Server 1? You may need to put a static route on both of them, for each other's IP address.
Jan
26
comment How does a Segmentation Fault work under-the-hood?
@BradenBest - I did the same thing, my code is sloppier than your code. I got no message at all, and my even crappier shell doesn't print a thing. I used waitpid() on each fork/exec, and it returns a different value for processes that have a segmentation fault, than processes that exit with 0 status.
Jan
26
awarded  Nice Answer
Jan
25
revised How does a Segmentation Fault work under-the-hood?
Change a qualified sentence to an absolute: I wrote crsh of my own using execve()
Jan
25
answered How does a Segmentation Fault work under-the-hood?
Jan
25
comment How does a Segmentation Fault work under-the-hood?
crsh is a great idea for this kind of experimentation. Thanks for letting us all know about it and the idea behind it.
Jan
25
awarded  Tumbleweed
Jan
22
comment Linux exit function
@gtalst12 - Only some of the above material traditionally counts as "internals" since the dynamic linking is considered a libc function. If you look at the Musl C library (musl-libc.org) it does dynamic linking somewhat differently, I believe. Since Linux and GNU libc are open source, there's less emphasis on "internals" and more on "interfaces" (or "APIs" if you will). The attitude seems to be that you can work it out on your own, if you dare to do something completely non-standard and non-portable. You have to glean info from blog posts, man pages and stackexchange.
Jan
22
awarded  linux
Jan
21
answered Linux exit function
Jan
20
comment Command line method to find repeat-word typos, with line numbers
@user454038 - looks like this pipeline works for your multi-line jefferson_type.txt example too.