|
fletcher posted:What about things like a build server that devs would need to access over https? Should I just give it an elastic IP & security group or is that something you should have behind a VPN and have buildserver.mydomain.com point to the 10.x.x.x private IP? For this reason alone, sometimes VPNs are easier in the long run, but it depends a lot on your tooling and the amount of investment you want to make into doing things "the AWS way." If you're building a whole scalable web operations infrastructure in the cloud, none of this stuff is a big deal, but it's a huge pain in the rear end if you just want to host a few servers and keep your sanity in the process.
|
# ? Oct 11, 2014 21:33 |
|
|
# ? Apr 19, 2024 22:08 |
|
Does anyone know of a nifty little script that'll scan a directory of mp3s and print out a track list with length and quality etc?
|
# ? Oct 13, 2014 18:25 |
fuf posted:Does anyone know of a nifty little script that'll scan a directory of mp3s and print out a track list with length and quality etc? You could probably whip something up in python pretty quickly using one of the ID3 packages
|
|
# ? Oct 13, 2014 18:47 |
|
yeah or mediainfo and some bash
|
# ? Oct 13, 2014 18:50 |
|
OK, I tried getting smbnetfs to work on my latest model Acer C720 chromebook, using this guide, but I'm getting stuck on step 11. I have 14.04 LTS and xfce4 running on my chroot currently. As you can see, I already tried running that chmod 600 fix... I got the same exact error the first time.code:
|
# ? Oct 14, 2014 00:58 |
|
Apparently Debian TC is trying to divert back off the course they took on systemd adoption and is trying a last ditch effort to make the distro to be init neutral? https://lists.debian.org/debian-vote/2014/10/msg00001.html https://lists.debian.org/debian-vote/2014/10/msg00012.html Why the gently caress are they trying to make more work for themselves in a community that is already strapped for people?
|
# ? Oct 17, 2014 00:16 |
|
That's just Ian Jackson being Ian Jackson. It is part of the General Resolution process, because politics. Ignore it.
|
# ? Oct 17, 2014 01:15 |
|
Having made the conversion from SysV[init] to systemd, that's an asinine argument to keep some obsoleted shell scripts still functional. systemd is fantastic: automatic restarts, built-in watchdog, parallelized start-up, auditing, coherent interface, and if you so choose, there is backwards-compatibility with service/chkconfig.
|
# ? Oct 17, 2014 04:54 |
|
nem posted:Having made the conversion from SysV[init] to systemd, that's an asinine argument to keep some obsoleted shell scripts still functional. systemd is fantastic: automatic restarts, built-in watchdog, parallelized start-up, auditing, coherent interface, and if you so choose, there is backwards-compatibility with service/chkconfig. It's not an argument to keep old shell scripts working, it's an argument to keep new stuff working without needing systemd.
|
# ? Oct 17, 2014 11:29 |
|
nem posted:Having made the conversion from SysV[init] to systemd, that's an asinine argument to keep some obsoleted shell scripts still functional. systemd is fantastic: automatic restarts, built-in watchdog, parallelized start-up, auditing, coherent interface, and if you so choose, there is backwards-compatibility with service/chkconfig. But... But... Unix...
|
# ? Oct 17, 2014 12:15 |
|
keyvin posted:But... But... Unix... Must not deviate from standards developed before I was born!!!!
|
# ? Oct 17, 2014 12:17 |
|
Why can't I get Apache's server status page to work? What am I missing?code:
code:
code:
|
# ? Oct 17, 2014 13:54 |
|
Are you using apache 2.4? In that case you need the Require directive
|
# ? Oct 17, 2014 15:02 |
|
It's apache 2.2.22. I tried adding the require directive but still no joy.
|
# ? Oct 17, 2014 15:31 |
|
fuf posted:Why can't I get Apache's server status page to work? What am I missing? Apache is confusing. Read this kujeger posted:It's not an argument to keep old shell scripts working, it's an argument to keep new stuff working without needing systemd. This is beyond what Debian can do, and they probably don't have the engineering manpower even if they wanted try to maintain large patchsets for a million packages. Even the BSDs are looking at implementing compat layers for some stuff (logind in particular). Debian could try to use some of those, but it's time to move forward. Sysv is dead. "Modern" UNIXes (Solaris, OSX) don't use it either. Ubuntu doesn't use it. Move on.
|
# ? Oct 17, 2014 16:08 |
|
fuf posted:Why can't I get Apache's server status page to work? What am I missing? What is your DocumentRoot setting, I wonder? If it isn't /home/fuf/default/www, you've done something more complicated to map the root of your web space there. Are you using any RewriteRules? Alternatively, the Location block in the module configuration will apply to the "main server" configuration only. If your VirtualHost settings catch your request, it might not apply and you might have to place a similar Location block within the applicable VirtualHost.
|
# ? Oct 17, 2014 16:30 |
|
evol262 posted:This is beyond what Debian can do, and they probably don't have the engineering manpower even if they wanted try to maintain large patchsets for a million packages. Even the BSDs are looking at implementing compat layers for some stuff (logind in particular). Debian could try to use some of those, but it's time to move forward. I agree with you (and so it appears the majority of the technical commitee does), but that is the argument of the pro loose-coupling camp in Debian.
|
# ? Oct 17, 2014 16:35 |
|
evol262 posted:Apache is confusing. Read this On the basis of this I changed status.conf to: code:
telcoM posted:Alternatively, the Location block in the module configuration will apply to the "main server" configuration only. If your VirtualHost settings catch your request, it might not apply and you might have to place a similar Location block within the applicable VirtualHost. Aha, this must have been it. I added the same Location block to /sites-available/default and now it works. But aren't requests for localhost always caught by the "default" VirtualHost? Where is the "main server" configuration? Thanks both.
|
# ? Oct 17, 2014 16:54 |
|
fuf posted:
Main server configuration is everything that has not been enclosed within any <VirtualHost> block. As to your first question... well, evol262 said it best: evol262 posted:Apache is confusing. You could run "apache2ctl -S" to get a synopsis of your VirtualHost configuration, which might help. This part of Apache documentation might also help... or at least give you an idea of the complexity involved. Enabling the "info" module (which behaves similar to the "status" module) and accessing http(s)://<server-name>/server-info?config would allow you to see the entire configuration in one go, with references to each file used in building up the whole. Here is another important part of Apache documentation. Note that the <Location> blocks are processed last in the overall order, so if you have something else that mutates the request URI path, it might make the Location block no longer match, even though you would expect it to.
|
# ? Oct 17, 2014 21:28 |
|
fuf posted:On the basis of this I changed status.conf to: My moneys is on the status.conf you're looking at never actually being included in your configuration. The actual context change should not have helped. The apache layout for debian encourages this sort of thing. quote:But aren't requests for localhost always caught by the "default" VirtualHost? No, the local interface and port of the incoming connection either matches an explicit virtualhost or is handled by the "base server configuration" or "main server [configuration]". But most things defined in the main server configuration are merged into the virtualhosts anyway. covener fucked around with this message at 04:06 on Oct 18, 2014 |
# ? Oct 18, 2014 03:48 |
|
I've got a super-weird problem with my Chef server and a NAT gateway that I'm trying to wrap my brain around. Communications between client and server occur over HTTPS on port 443. Server is on a completely separate network; traffic must traverse the Internet to reach it. My Google Compute Engine systems that are directly connected to the Internet function just fine. Systems on Google Compute Engine that are connected over a NAT gateway send a bunch of successful REST API calls, then send one specific REST API call, receive an RST from the server, drop the connection, and blow up with an EOFError in Chef/OpenSSL/Ruby. The NAT server on GCE is itself managed through Chef and works fine. It's also using the exact same iptables NAT configuration on AWS, where it works fine. The server's logs indicate that it's serving a 200 response as normal. Any ideas what might be going on? Vulture Culture fucked around with this message at 05:51 on Oct 18, 2014 |
# ? Oct 18, 2014 05:38 |
|
Misogynist posted:I've got a super-weird problem with my Chef server and a NAT gateway that I'm trying to wrap my brain around. Tcpdump the traffic.
|
# ? Oct 18, 2014 05:51 |
|
jaegerx posted:Tcpdump the traffic.
|
# ? Oct 18, 2014 05:53 |
|
e: bad data, removed, see above
Vulture Culture fucked around with this message at 06:53 on Oct 18, 2014 |
# ? Oct 18, 2014 06:05 |
|
Misogynist posted:I did, which is where I see the RST coming from. I'm not able to correlate anything else meaningful from the dumps, though, even after decrypting the SSL payloads. The question is about why the server might be sending an RST to clients behind this particular NAT gateway. Did you capture on the server? Perhaps it isn't actually the one sending the reset.
|
# ? Oct 18, 2014 13:09 |
|
DrKennethNoisewater posted:My mother-in-law needed a computer for internet browsing and storing pictures of grandchildren, so I assembled one for her and put Mint 17 on it, because gently caress paying for an OS for that. My overall command of Linux is probably about a 2 out of 10, but I have run a few different flavors on my laptop over the last few years, and will be changing it to Mint 17 as well to help build familiarity with the OS for when she has questions. My goal is that being her tech support will give me the kick in the rear end I need to start to really put more effort into learning Linux. Quoting myself for background on the situation. Crazysim recommended a VM, so I installed VirtualBox and put an XP VM on the Linux box. The USB driver and software installed, and the program opens, but when I try to select the item on the computer that I want to transfer to the card the program becomes stops responding. Here is a picture of the program itself: Inside of the program I can browse the PC, change the filepath, move and resize the window, but as soon as I click one of the little images on the left half in order to move it to the card the program freezes up. The software is installed on my Windows PC (Windows 7) and runs fine (as pictured above). The software advertises compatibility with Windows 98 through 7, so I figured XP was the safer bet to work well. Would the best use of my time be to put on a Windows 7 VM and try that, or does this raise any of your various spider senses as a VM/Linux issue?
|
# ? Oct 18, 2014 16:45 |
|
Kaluza-Klein posted:Did you capture on the server? Perhaps it isn't actually the one sending the reset. code:
EDIT! The fragmentation seems to be the key thing I needed to find more on this issue: https://code.google.com/p/google-co...20Summary%20Log Disabled tx offload on eth0, everything is fine. Welcome to our software-defined networking hell. Vulture Culture fucked around with this message at 17:30 on Oct 18, 2014 |
# ? Oct 18, 2014 17:22 |
|
This issue has been plaguing me for months and I always assumed it was the terminal I was using but today I replicated it with putty. On Archlinux occasionally when I'm installing a package with pacman and I enter Y to confirm installation and hit enter, it inserts ^M instead of a newline (or whatever it is). Why is this happening? It's been driving me nuts as I can't reproduce it reliably but when it does happen it's only in pacman (doesn't matter if it's run through yaourt or direct). I'm running zsh as my default user shell if that helps any. Edit: also happens when rm prompts me. Ashex fucked around with this message at 18:50 on Oct 18, 2014 |
# ? Oct 18, 2014 18:42 |
|
Ashex posted:This issue has been plaguing me for months and I always assumed it was the terminal I was using but today I replicated it with putty.
|
# ? Oct 18, 2014 19:56 |
|
DrKennethNoisewater posted:Quoting myself for background on the situation. Crazysim recommended a VM, so I installed VirtualBox and put an XP VM on the Linux box. The USB driver and software installed, and the program opens, but when I try to select the item on the computer that I want to transfer to the card the program becomes stops responding. Most Windows USB drivers happily install even if they don't yet see the device they are supposed to control. Does the program stop responding the same way if you start it in a real Windows system without the card plugged in? Did you tell VirtualBox to pass through USB traffic between the VM and the USB storage card device? If you didn't: Start the VM without the USB storage card plugged in, and right-click the USB plug icon at the bottom of the VM window. Note the list of USB devices, but don't select anything. Now plug in the USB storage card, wait a few seconds and right-click the icon again. You should see one or more new USB devices in that list. You can now select the storage card device(s) to allow the VM direct USB access to it/them. (Although the storage card is physically just one device, it is possible it might appear as several devices electrically on the USB bus.) Once you know the device(s) you need, open the VirtualBox Manager window, select the VM and click on Settings. Select "USB" and click on the icon with the USB plug and a green plus sign. Here you can tell Virtual box to always allow the VM to access selected USB devices directly: select the device(s) associated with the storage card.
|
# ? Oct 19, 2014 14:01 |
|
Ashex posted:This issue has been plaguing me for months and I always assumed it was the terminal I was using but today I replicated it with putty. The problems with Enter key processing cannot usually be caused by locale settings. A wrong $TERM might do it, but if there are no other visible issues, that's unlikely. Most likely it is a bug in pacman's handling of stty settings. In order to do character-based menus efficiently and/or to accept keyboard input without waiting for the user to hit Enter, some programs will switch the (pseudo)TTY they're using for the session to "raw" mode. The raw mode disables various functions in the tty driver: one of them is the "icrnl" conversion, which translates the ^M produced by the Enter key to the real Unix-style newline character, which is ASCII #10, also known as LF or ^J. Obviously, if pacman expects you to enter Y and hit Enter, it should re-enable the icrnl conversion before waiting for user input, but apparently that does not happen. It might be because $TERM is selecting a wrong terminal type with wrong terminal control codes, or it might be because pacman doesn't do an appropriate tcsetattr() function call after displaying that prompt for some reason. As a workaround, you can try pressing Control-J instead of hitting the Enter key. If you want to know more about this, be warned that this rabbit hole is ancient and goes pretty deep. Many things won't have any practical purpose on modern systems, other than the all-important "compatibility with earlier systems". Run "stty -a" on any terminal session. You'll see a lot of cryptic abbreviations, some prefixed with a minus sign (meaning "disabled"), others not (meaning "enabled"). There are also some settings with either a numeric or character value. This is very ancient Unix stuff, from the time when terminals were literally teletypewriters: basically electronic typewriters with a serial port. "man stty" will have descriptions for each abbreviation. "man 3 termios" will describe the corresponding programming functions and their flags, which will have a pretty much one-to-one correspondence with the stty settings.
|
# ? Oct 19, 2014 14:35 |
|
That's actually really interesting, I'm a bit skeptical it's a pacman bug as I reproduced the issue with rm (when it prompts to delete if I don't specify -f). I'll try using ctrl-j next time I encounter it and see if that works. As for the output of $TERM, this is the output from when I'm using putty: xterm As for locale quote:LANG=en_US.UTF-8 I use iTerm2 on OSX most of the time and $TERM returns xterm-256color
|
# ? Oct 20, 2014 12:45 |
|
Ashex posted:That's actually really interesting, I'm a bit skeptical it's a pacman bug as I reproduced the issue with rm (when it prompts to delete if I don't specify -f). I'll try using ctrl-j next time I encounter it and see if that works. It's a problem with terminals in general and unclean exits (or bad code) in applications that use it raw. It's probably not pacman. It probably is tmux or screen or some curses application that you CTRL+C'd out of or kill -9'd because it was unresponsive. Try to figure out which one.
|
# ? Oct 20, 2014 14:30 |
|
I'm trying to connect to wifi networks using passwords stored in a text file, using bash. But I can't get this line to work:code:
tl;dr how can I read passwords from a text file and use that to connect to wifi networks, while being robust against wrong passwords?
|
# ? Oct 20, 2014 16:43 |
|
reading posted:I'm trying to connect to wifi networks using passwords stored in a text file, using bash. But I can't get this line to work: I assume you are not using WEP as wireless encryption, are you? iwconfig cannot connect to WPA networks on its own, which would be why things aren't working. If that is the case, have a look at this link, which will also solve your "read password from file" problem: http://askubuntu.com/a/138476 If you do use WEP, then you will most like have to append the key's index to your iwconfig command. Also, don't use WEP.
|
# ? Oct 20, 2014 19:43 |
|
Wine question. How do you figure out if crashes are caused by wine regressions or from trying to use an HD 7870?
|
# ? Oct 20, 2014 21:59 |
|
keyvin posted:Wine question. How do you figure out if crashes are caused by wine regressions or from trying to use an HD 7870? Sending coredumps to the wine devs, probably.
|
# ? Oct 20, 2014 22:06 |
|
telcoM posted:Most Windows USB drivers happily install even if they don't yet see the device they are supposed to control. Does the program stop responding the same way if you start it in a real Windows system without the card plugged in? This is some damned fine troubleshooting, and I like it. Freezing is, in fact, what happens when there isn't anything connected and one tries to operate the program, even on a Windows machine. I have previously gone through and connected the USB drive through VirtualBox directly to the VM, but it seemed worth a try to give it another go. It seemed to be going smoothly, and the program was running and not freezing while I highlighted different designs that are located on the hard drive. Upon trying to upload one of those designs to the card, however, a message came up that the card was not in the adapter. It was physically in the slot, but not pushed in all the way. As soon as I pushed it in all the way the computer didn't make any acknowledgement that the card was attached, but the program seized up again upon clicking around in the bank of designs on the hard drive. That result is completely repeatable. As mentioned above, my own PC is running Windows 7 with this same software installed, and that rig has successfully transferred designs from the PC to the card. In order to troubleshoot a little before laying myself at the mercy of this thread again I reinstalled the driver, but it didn't help. It seems like there is some stupid little thing that I'm missing due to Linux inexperience that this shouldn't be such a pain, but here I am grovelling back to this thread. My first instinct is to just start a new VM with Windows 7 since I have it working on a different PC with that OS, but the Engineer in me knows that potential solution doesn't really solve the problem, just avoid it.
|
# ? Oct 21, 2014 01:04 |
|
DrKennethNoisewater posted:This is some damned fine troubleshooting, and I like it. dmesg after you insert it. It's possible that the VM doesn't have exclusive access and Linux is seeing the card (probably FAT) and mounting it.
|
# ? Oct 21, 2014 01:52 |
|
|
# ? Apr 19, 2024 22:08 |
|
keyvin posted:Wine question. How do you figure out if crashes are caused by wine regressions or from trying to use an HD 7870? If it worked in a previous version of wine and doesn't work currently independent of graphics driver / whatever then it's a regression. Driver bugs tend to take down the X server though, sometimes anyway. If something is just crashing (bunch of hex and function names and stuff on the terminal) you can file a bug report with that backtrace or post on the forums if you're in doubt.
|
# ? Oct 21, 2014 02:47 |