« first day (3340 days earlier)      last day (92 days later) » 

12:45 AM
Q: Linux character device driver won't respond to head command

bem22I am writing a LKM to create a character device driver. Linux Kernel: 4.4.0-93-generic in VirtualBox, 2GB ram and SWAP is 300Kb Problem 1 If I write a C program that handles the fd in dev_write, it's all good, it reads as it should, but if I try to use head -n 1 < /dev/opsysmem it does not out...

1:35 AM
Q: I'm apparently in danger of being blocked.... with the most votes being cast on a recent question +1

linuxandriaThe only other question on this topic I could find had 0 answers and was asked 4 years ago so I'm going to go ahead and ask it again When I go to post a question, I get a warning stating some of my past answers were not well received and I may be blocked soon Wait! Some of your past questions...

7 hours later…
8:17 AM
@dessert I might have been a bit to quick on the close :D askubuntu.com/questions/1190524/…
8:36 AM
@Rinzwind I added it to my answer as “further reading”, but it really isn’t a dupe
I just can’t find this “why is ls suddenly quoting filenames” question, this would be nice to link to as well!
ah, found it
Gave you an upvote @dessert can't reopen it :X :X
when you have a gold badge a close vote is permanent. can't reopen or do anything D:
need a mod :=)
@Rinzwind I did that now, but I really wonder why we hammerers are not allowed to change our mind
this seems odd
made another comment :=)
@Rinzwind reload the page, I was able to reopen singlehandedly
8:56 AM
Q: Why udev doesn't create a symlink to device?

Elykov AlexandrI have a device connected via USB: Bus 001 Device 009: ID 18d1:4ee4 Google Inc. Nexus 4 (debug + tether) I've tried both: ACTION=="add", ATTRS{idVendor}=="18d1", ATTRS{idProduct}=="4ee4", SYMLINK+="pinpad"and SUBSYSTEM=="tty", ATTRS{idVendor}=="18d1", ATTRS{idProduct}=="4ee4", SYMLINK+="pinpad" f...

cool @dessert It did not give me the option
HA! got an upvote on the link on my answer _o-
@Rinzwind Eliah’s is better though, but it’s hard to get to his level when he unleashes his answer-writing beast.
hmm, if dir and vdir are equivalent to simple aliases to ls, why are all three binaries instead of two being links?
oh ok, Eliah answers that :)
9:17 AM
Q: Setting up UDP packets to two different destinations using iptables and PREROUTING

iptable_warriorI am trying to send a UDP on a packet to two different external/remote IPs using iptables. Currently I am running a command that looks like this: iptables -t nat -A PREROUTING -i eth0 -p udp --dport 3070 -j DNAT --to-destination iptables -t nat -A PREROUTING -i eth0 -p udp ...

9:56 AM
@dessert but he took 15 days to answer >:-D
1 hour later…
11:19 AM
Q: Why does `ls` add a leading whitespace to its output for certain directories?

StackedCrookedIf I use the ls command in my home directory each line of output has a leading whitespace: $ ls bin Documents ... It only seems to do this for my home directory. Why does it do this?

1 hour later…
12:39 PM
@dessert Is this a recent change to the system? I've seen questions hammered closed and back open by the same person.
@EliahKagan I wonder about that too, but don’t have the guts to try. ;)
3 hours later…
3:24 PM
Q: Ubuntu: randomly no internet access

PlanetTeamSpeakLately my Ubuntu 18.04 server randomly loses internet access about twice a day which can only be resolved by rebooting it. I have written a script that detects when this happens, copies the syslog and then reboots. Today I finally managed to capture the syslog right before the server reboots, but...

1 hour later…
4:53 PM
@Zanna @damadam I've requested clarification.
Or if we have a good meta question already about what to do when one has a question about something one has read in an answer, then it might be reasonable just to add that as an additional dupe target (so it appears in the dupe banner alongside the current target), since the goal of the question may well be to ask about both.
2 hours later…
6:39 PM
@EliahKagan I don’t understand this edit of yours, can you explain it to me?
oh, now I saw it, ignore that – thanks for the edit!
No problem! :)
7:09 PM
Q: Coloring output different in MOTD and run-parts

TacoVTrying to color my command output, I am stuck in understanding the difference between logging into my machine and seeing the MOTD running run-parts on /etc/update-motd.d/ I created this test-script to illustrate: #!/bin/bash W="\e[0;39m" R="\e[1;31m" G="\e[1;32m" echo -e "This is a test for ...


« first day (3340 days earlier)      last day (92 days later) »