« first day (1881 days earlier)      last day (3074 days later) » 

cas
1:59 AM
@wally
1
Q: How to set up DBus query to get play state of VLC?

JB0x2D1I'm experiencing this problem where VLC continues to inhibit the power management daemon even after playback has ended (even though the option in the VLC preferences is labeled "Inhibit the power management daemon during playback"). I asked in the VLC Forum but got no reply. I've considered man...

 
 
12 hours later…
2:11 PM
0
A: Is the Accept an answer feature available?

Thomas W.The "accept answer" functionality exists globally on all Stack Exchange sites, Unix&Linux included. It also exists on all the meta sites. It's a fundamental part of the Stack Exchange Question/Answer format and infrastructure, and is definitely available here (and on ever other Stack Exchange s...

Looking for second opinions on my answer for quality.
but also astounded that question was even asked xD
 
@ThomasW. I'll say o_O. Anyway, fine answer, thanks.
 
@terdon Thanks for the improvements :)
@terdon Ideally though that should be an MSO question, answered by "Its the same **** software, so why would it NOT have that function?"
:P
 
I am assuming the OP either didn't see it or was trying to accept on a question that wasn't theirs.
Go figure.
 
@terdon indeed, though if they're on another SE site they should just assume it operates thes ame way
in a sense, SO is just another SE site
though it's the first one
 
Yeah, OK. I just checked their profile and they have accepted answers on a few different sites. No idea why they'd think this one was different.
 
2:33 PM
@terdon E: Stupidity ?
 
3:12 PM
Always an option.
 
3:28 PM
Hello people. What's happening?
Anthony seems to have disappeared again.
 
@FaheemMitha Spent today urgently putting together a time estimate for building an entire PKI solution for a client. Only problem was we hadn't finished the analysis and have no idea what kind of platform, or pretty much anything other than "make PKI happen". Which is about as useful as "build me a house" without specifying if it's a small shed or a skyscraper...
@FaheemMitha Who's that?
 
@JennyD derobert.
@JennyD You're not allowed to tell your clients they're idiots?
I see your colleague's conversation got 4 stars.
 
@FaheemMitha Not in so many words. Also not allowed to hit them. Although to be fair, the issue is that their owner wants to cut down the IT budget and everyone is scrambling to get their projects through the new budget. So I can see why it was urgent.
 
@JennyD cutting the IT budget, presumably without consulting the relevant people. Smart.
Do you work more with Swedish companies or with multinationals?
 
@FaheemMitha Our biggest contracts are government organizations. Apart from that, it's a mix between national and multinational. This particular client is national; it's the company that handles nuclear waste for all Swedish nuclear power stations, so they're owned by the companies that run the power stations.
 
3:39 PM
@JennyD Well, that's reassuring...
The nuclear waste bit, I mean.
 
@FaheemMitha They seem to be doing a good job of it. They have an entirely different set of security concerns than most of our clients - most clients worry about people getting into their systems, but these people worry about physical material getting out. And they have requirements like "storing documentation in a readable format for 100.000 years".
 
You didn't know derobert's actual name? He makes no secret of it.
 
@FaheemMitha I've probably seen it before, but my memory is crappy
 
@JennyD Should that have been a comma? :-)
 
@FaheemMitha I think so?
 
3:44 PM
If you mean 100k, which you probably do, I assume that isn't literal. Since in 100k years, the human race will be extinct.
@JennyD 100.000 years -> 100,000 years, possibly.
Actually, it will probably be extinct in rather less than 100k years, I imagine.
 
@FaheemMitha Ah! It's how we write it, we use commas and periods the opposite way from US and England.
 
internationalization at its best lol
 
@JennyD Wow, really? That's so weird. :-)
Then how would you distinguish between 100.00 (ten thousand) and 100.00 (one hundred)?
 
And yeah, I do mean it literally. The thought is that either the human race goes extinct, in which case there'll be nobody to keep updating the documentation, or it won't, in which case there needs to be processes for translating and converting to new formats and so on.
 
@JennyD Hmm, well, that's a long way to plan ahead for.
 
3:47 PM
@FaheemMitha 100.000 = one hundred thousand. 10.000 = ten thousand. 100,00 = one hundred
 
All of recorded human history fits inside 5k years.
@JennyD You're not pulling my leg, right?
 
@FaheemMitha I know! It's really interesting to work with people who think in those time periods
 
@FaheemMitha of recorded history :P
@FaheemMitha whereas human history might be reality longer
 
@ThomasW. Isn't that what I wrote?
 
@FaheemMitha No - the thinking is that if the nuclear waste needs to be stored for 100k years, then there also needs to be documentation about what is in that storage that is usable for as long as the storage is needed
 
3:49 PM
"recorded human history". What's wrong with that?
@JennyD Oh, Ok.
 
@FaheemMitha misread as "all of human history"
sorry
 
@ThomasW. ok
 
hates not having coffee
 
People seem to have a general obsession with coffee.
 
I think there are written records that are from 4,500 BC.
 
3:50 PM
The world needs a CA (Coffee Anonymous).
@JennyD Oh? Fine inside 10k years then.
 
@FaheemMitha Yeah, it's really amazing to think about it, isn't it?
 
Never quite got the coffee thing. The last time I drank coffee, I was 17.
@JennyD What is?
 
@FaheemMitha Planning for an amount of time that is ten times longer than our entire recorded history is an amazing way of thinking
 
@JennyD Does this bug report mean much to you? -> bugs.debian.org/774149
@JennyD Ah, Ok.
I don't really see how you can, though. Too many things can happen.
I tried to interest Anthony in it, but he disappeared. Health warning - it involves systemd <shudder>.
 
@FaheemMitha Sorry, no... I've not worked much with debian and very little with systemd
 
3:54 PM
@JennyD ok
 
@FaheemMitha yeah, that is what makes it an interesting problem! The amount of stuff you need to consider, and putting processes in place to handle the stuff that you haven't thought of!
 
@JennyD Do you have a specific example, or examples?
 
@FaheemMitha One obvious thing is translation. We can understand texts written 250 years ago, mostly. But texts written 500 years ago are hard for us. So if they want the documentation to be usable in the future, they will need to have procedures to update it.
Another thing is if the documentation is signed cryptographically, a signature that is now good enough that it can be used to verify the contents and know it's not been tampered with won't stay good enough. So they'll need procedures to re-sign documentation before the old signature is no longer reliable.
And, of course, conversion to new physical formats. We already can't read tapes from a few decades ago. And even if written down, paper doesn't last forever, nor does ink, nor does even stone.
So translation, re-signing, conversion - those are things that need to happen. Plus of course redundancy/resilience in case of e.g. fire, flood or something.
It's a really interesting problem.
 
@JennyD Interesting, perhaps, Unsolvable, certainly. In my opinion, at least.
But maybe you are talking about incremental updates.
 
4:10 PM
@FaheemMitha Yes, that's where the procedures come in... they'll need to have a review process that goes through all documents at specific intervals and updates them to whatever is currently needed.
of course, none of this will be my actual job, except to help with an API for signing docs
but it's really fun to talk to the people who work with this stuff
After 20 years in the business, it's easy to get a bit jaded, like nobody has any new problem ever... and then you find someone who has an entirely different set of issues and it makes life interesting again
 
@JennyD Yes, I imagine one can get jaded at any job.
 
 
2 hours later…
5:53 PM
Hey, anyone want to help out setting up wireless?
 
6:09 PM
@TinyGiant I don't mean to sound cranky, but why not ask a question on the site? That's what it's there for.
 
Well, I don't have it narrowed down to a specific question yet, so I imagine it would be close voted and downvoted to hell.
But, I'm from the Stack Overflow community, so our standards may be different than yours.
 
@TinyGiant People here aren't that quick to downvote things.
What issue are you facing exactly?
 
I'm trying to set up a debian desktop with a d-link dwa-160.
It was not picked up by the kernel.
iw list outputs: nl80211 not found
The desktop has no ethernet access atm
I downloaded the linux driver from d-link, but the make is failing, and I don't know enough to figure it out.
I believe it was a netinstall, so it may not have installed necessary drivers.
I'm going to try installing a dual boot with the latest version of fedora (that's all I have on hand) and see if that works.
 
6:31 PM
@TinyGiant What's the make failure?
 
I would tell you, but I already restarted the computer. Now it is having a problem recognizing my thumb drive.
Once I get it up again, I'll let you know.
 
0
Q: How to install D-Link DWA-160 revision B2 with Ralink chipset on Debian Linux?

sammygI just bought a D-Link DWA-160 revision B2. Little did I know that this revision comes with a Ralink chipset. The main reason why I got DWA-160 is because I already have one and I'm pretty happy with it. I mainly use it on a Windows computer, but I know that it works in Ubuntu 12.04 LTS for examp...

 
Awesome thanks, now I'll have to figure out how to get those packages from my working computer to the non-working one.
This is going to be interesting, finding the correct versions of the files to download and install without a package managers help.
 
@TinyGiant What is the distribution in question?
 
Debian stable, through reading the answer, testing should work
 
6:39 PM
@FaheemMitha Debian
The only problem is that I haven't updated it in around 6 months
 
@TinyGiant Ok. And this computer doesn't have a net connection? Does it have sources in it? If so, you can get a list of packages you need via apt. I think.
 
No internet connection.
What do you mean by "Does it have sources in it?"?
 
@TinyGiant That was poorly phrased.
What is in your sources.list on that machine?
 
That's what I thought you meant
 
I don't think that the source.list content would help if there's no internet connection
 
6:43 PM
Better, output of apt-cache policy.
@TinyGiant Did that computer ever have a net connection?
 
At one point in time yes
Ok, what are you looking for in the apt-cache policy?
That is a lot of output to retype by hand
 
@TinyGiant You don't have to type it.
 
@Braiam How does one get apt to produce a list of packages to install?
 
apt-get --print-uris install package
 
6:46 PM
@FaheemMitha Would it not have to have internet connection to perform those calculations?
 
still, I don't think that's going to help
 
@TinyGiant Not necessarily.
@TinyGiant What does the output of apt-get install firmware-linux-nonfree firmware-ralink show?
 
Oh nice, it does
hold on
 
You'll need to do something different to get a list of packages.
I mean to get a list of urls to download from.
 
6:50 PM
@TinyGiant 404
 
See:
3
Q: Install programs without an internet connection on Debian

ScriptonautSo I've been battling with my debian install lately, it doesn't have the firmware for either eth0 or wan0 NIC's. However, I got a firmware.zip file that I need to extract to /lib/firmware. The problem is, since I have no connection from the computer, I can't just apt-get what I want. Here's my q...

 
typo
@Braiam Using a different version than what it wants is not going to interfere with anything?
 
@TinyGiant the backported and current versions have the same version string and no hard dependencies, so I think it will not
 
k
So I only need those two packages right? Not the linux-image one?
 
@TinyGiant Do you have the headers installed?
Does it look like you'll need to build a module?
@TinyGiant BTW, check out apt-offline.
 
7:00 PM
How do I search for installed files with apt?
And where did I put that usb drive lol.
 
apt doesn't install stuff, dpkg does ;)
 
167
Q: How can I install software or packages without Internet (offline)?

akshatjI have a friend who has got a computer that is not connected to the Internet. Is there any way to install software offline easily?

 
Ok, installing
installed those two packages
So I should just be able to reboot now and it should work?
 
nah, a sudo modprobe nl80211 should suffice
 
@TinyGiant That might be a bit optimistic. Isn't some configuration requred?
 
7:14 PM
or rt73usb, I suppose
 
Ok, got it back up from the reboot, no wireless yet.
Tried modprobe nl80211, no module found. Tried modprobe rt73usb, completed successfully.
iw list no longer outputs nl80211 not found, now it outputs nothing
Still no wireless device.
 
I would see if that live distro detects the wireless usb dongle
 
The desktop won't boot the usb drive lol.
But my laptop detects it fine.
 
7:30 PM
dmesg | tail on the laptop?
 
@TinyGiant check the logs.
 
Now it is going to prove me wrong
[77036.306104] usb 1-2: device descriptor read/64, error -71
[77036.560320] usb 1-2: new full-speed USB device number 14 using xhci_hcd
[77036.560505] usb 1-2: Device not responding to setup address.
[77036.761297] usb 1-2: Device not responding to setup address.
[77036.962232] usb 1-2: device not accepting address 14, error -71
[77037.115062] usb 1-2: new full-speed USB device number 15 using xhci_hcd
[77037.115176] usb 1-2: Device not responding to setup address.
[77037.316175] usb 1-2: Device not responding to setup address.
It was working when I tested it last night on the laptop.
 
that reads like a hardware problem, not software
 
is it a usb 3.0 device? does it work if you plug it into a usb 2.0 port instead? (if you have one)
 
There we go, wrong port
[77245.536438] cfg80211:  DFS Master region: FCC
[77245.536441] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[77245.536447] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)
[77245.536451] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 1700 mBm), (N/A)
[77245.536456] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2300 mBm), (0 s)
[77245.536460] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2300 mBm), (0 s)
 
7:35 PM
it was rt2800usb?
 
supposedly firmware-ralink has the firmware for that device
 
Is that not the one I installed?
 
nope
you should need the jessie versions
 
Ok, because that one is an older version than the one I installed, so just leave it? Or should I install that one?
 
7:41 PM
there shouldn't be any problem with the one you already installed (they both come from the same source package)
 
That's what I thought
 
the dmesg on the desktop looks much different, but it seems to be detecting the device properly.
Just not going into the wireless part of it.
 
I somehow should get a usb dongle just to figure out why is so difficult...
 
lol
I gotta run for a bit but, if you're ok with it, I'll ping you when I get back so we can pick up where we left off, see if we can't get this figured.
 
7:52 PM
@TinyGiant This would be a good time to post a question, actually.
 
@TinyGiant definitely post a Q that way when you get this working it can benefit future readers (and us who can point them to it) in solving the same issues
 
8:36 PM
Mention everything you've done so far.
 
9:16 PM
@stéphane-chazelas and @terdon, Thanks for your feedback about unix.stackexchange.com/a/247055/139893 I updated (actually rewrote) the answer based on your feedback. Please review if you wish. Comments welcome. I really didn't want to mention GNU extensions because the examples are almost universal, and I don't think the GNU -r applies the questioner's situation. Does anyone know when the -exec ...+ syntax was introduced? I know it wasn't on on 4.1 BSD! :-)
 
9:37 PM
@RobertL Debian Sarge doesn't have it find … -exec … +.
but Debian Etch does.
 
@RobertL in POSIX it appeared between SUSv2 and SUSv3
IIRC it was a Solaris invention, like 90% of the Unix-related innovation at the time
GNU used -print0 | xargs -0 to do something similar (batch the command without breaking on weird file names)
 
@RobertL and you don't want to know how I know that Sarge doesn't have it.
/me grumbles about still having Sarge and Etch in production
 
Isn't easier/faster to make perl walk through the files?
 
@Braiam That's #4. Not sure it's always easier. Especially if you want to routinely change the file selection criteria
 
I was questioning OP's logic, not the answer :/
 
9:47 PM
Despite being a perl person, I often use things like find to feed a list of file names to a perl script. It's much more flexible. Unless you add a lot of complexity to the perl script.
it's also easier to test, unless you've added more complexity to the script to test. I can easily leave off the -exec so find will print the list.
sometimes of course its worth it—maybe the script can't tolerate the file list being split into multiple invocations, for example.
or the file selection criteria is complicated enough that it's easier to write it in perl
I can't say I've ever found find2perl useful
 
@Braiam: I got a live stick running and am installing a dual boot of Fedora 22. It recognizes the dongle right away, so it has to be a problem with the way I set up debian. I'm not going to post a question about it right now because I'm fairly certain it has to do with the netinstall like you thought. Once I have some time I am going to set up a clean netinstall and test the steps that we tried previously.
I'm sure there can be a good question made out of this, but I don't want any stupid modifications I've made to get in the way.
 
10:02 PM
@Braiam Original question asks specifically about using the find command with perl. I included the find2perl option because the example was written in perl, and because of the relation to the find command, but find2perl doesn't directly call the find command, hence my reason for listing it last.
 
@RobertL sometimes OP asks the wrong question
 
cas
10:15 PM
i usually forget find2perl even exists and just write something with find -print0 | perl -0
@derobert - sarge and etch still in production? ouch. what are they running that they can't be upgraded to at least wheezy?
 
@cas Dialogic
and GNU Bayonne 1
 
if I remember correctly it was a call switch, right?
 
cas
ah, right. customers don't like to upgrade their PBXs etc when they're working OK.
 
@Braiam When you said "questioning OP's logic not the answer" does "OP" refer to the author of the original question or the author of the answer? I thought you were questioning the structure of the answer, but maybe you meant questioning the logic of the original questioner?
 
10:31 PM
@RobertL question
 
Then my response was superfluous.
As far as easier/faster, I think easier is an opinion-call toss-up. Faster to implement the same. But I seem to remember reading years ago that find2perl code can execute faster. Do you know or have experience with it?
 
11:11 PM
Any pam experts around?
1
A: Can I allow a non-root user to log in when /etc/nologin exists?

Tony TravisVesa K's version of Ryan Novosielski's answer works for me, but the lines are in: /etc/pam.d/sshd not: /etc/pam.d/login In my case, I just want UID 1000 under Ubuntu 14.04 LTS to be allowed to login via SSH. # Disallow non-root logins when /etc/nologin exists. account [success=1 default=ig...

0
A: Can I allow a non-root user to log in when /etc/nologin exists?

Vesa KI tried Ryan's rule today and found out that Gils's and Ryan's answers bot have success/default rules "reversed", nologin blocks only nx-group. This is how I implemented this rule (nx group is not blocked by nologin). account [success=1 default=ignore] pam_succeed_if.so quiet user ingroup nx acc...

so what's the correct incantation here? What's wrong with the others? I haven't practiced pam much and it's been a long time.
 

« first day (1881 days earlier)      last day (3074 days later) »