|
contrapants posted:A lot of the problem is that Gentoo is still working on systemd. It's not supported yet. They don't encourage moving to it yet. It would be more accurate to say that the Gentoo devs are openly hostile towards systemd. I switched to it so I could learn it given that there's a good chance RHEL7 will feature systemd and we'll be jumping on that pretty much immediately after launch.
|
# ? May 29, 2013 20:43 |
|
|
# ? Jun 13, 2024 06:28 |
|
evol262 posted:utterly unsuited to a business environment. Why are you still doing this? I never mentioned a business environment. I'm in academia and I'm the de facto sysadmin for my research group's servers -- I chose Ubuntu 12.04 for these and it's never given us any trouble. I use Gentoo at home on my router and file server; Kubuntu on my laptop and desktops. I still do use Gentoo for experimenting with newer software, albeit in VMs instead of on any machine that I care about. Running a full ~* system is just as much of an adventure as it used to be, and VM snapshots come in handy for undoing failed experiments.
|
# ? May 29, 2013 20:51 |
|
Goon Matchmaker posted:I switched to it so I could learn it given that there's a good chance RHEL7 will feature systemd and we'll be jumping on that pretty much immediately after launch. Lysidas posted:I never mentioned a business environment. I'm in academia and I'm the de facto sysadmin for my research group's servers -- I chose Ubuntu 12.04 for these and it's never given us any trouble. I use Gentoo at home on my router and file server; Kubuntu on my laptop and desktops. I guess I should clarify that I didn't mean you specifically in a business environment, it was more of a general "don't compile your own kernels if you're going to make other people deal with it" comment. It's not super awesome to swap a dead RAID controller with a new one to find out that you need to boot a rescue CD and rebuild your kernel to make your server work. I also didn't mean a full ~* system. Rather that the choice between mm-sources and gentoo-sources was very real. The user base was split between JFS, XFS, and Reiser, with very little ext3. When ATI released new (probably terrible) fglrx, somebody probably had an overlay to make it work with the newest version of X.org within a day. That's just not there any longer. I can run all full ~* system, but then why am I not just using Arch or Fedora Rawhide? The user base that made Gentoo what it was either moved on to other distros or got mired in a "welp, not gonna use that" mindset, whether that was initrds, systemd, X.org instead of XF86, grub instead of LILO, or whatever. LXC is still masked. But vserver-sources isn't. And that says everything about the current Gentoo community, really.
|
# ? May 29, 2013 21:27 |
|
I have a problem with my home server, it's a debian+shorewall (iptables) setup to route traffic on my home network and my cable modem. Periodically I will be unable to ssh in remotely. It will prompt me for my password, I'll enter it, and then it times out for a minute or so before exiting with 'broken pipe'. This problem is completely random, I can make 10 attempts back to back and 2 will be successful and 8 will not. The password prompt always comes up immediately and then times out after sending the pass. Often when this is happening I can bounce my ssh session to another machine and immediately log in from that host even while the first attempt is still stalled. I read on Google that this is a somewhat common problem for machines with multiple nics and the fix is to enable arp filtering (echo 1 > /proc/sys/net/ipv4/conf/all/arp_filter). I ran this command and cat-ing the file shows a 1. However I'm still having the same issue. Any ideas for a fix? Anybody run into this before?
|
# ? May 29, 2013 22:36 |
|
revmoo posted:I have a problem with my home server, it's a debian+shorewall (iptables) setup to route traffic on my home network and my cable modem. Periodically I will be unable to ssh in remotely. It will prompt me for my password, I'll enter it, and then it times out for a minute or so before exiting with 'broken pipe'. This problem is completely random, I can make 10 attempts back to back and 2 will be successful and 8 will not. The password prompt always comes up immediately and then times out after sending the pass. Often when this is happening I can bounce my ssh session to another machine and immediately log in from that host even while the first attempt is still stalled. I read on Google that this is a somewhat common problem for machines with multiple nics and the fix is to enable arp filtering (echo 1 > /proc/sys/net/ipv4/conf/all/arp_filter). I ran this command and cat-ing the file shows a 1. However I'm still having the same issue. Any ideas for a fix? Anybody run into this before? UseDNS no
|
# ? May 29, 2013 22:43 |
|
evol262 posted:UseDNS no This did not fix the issue.
|
# ? May 31, 2013 13:46 |
|
revmoo posted:This did not fix the issue. You'll probably need to ssh with "-vvv" and possibly run sshd with debug logging and no forking to find out where it's hanging up. If it's not DNS, the second most likely issue is GSSAPI, but it's essentially impossible to say from your description. Get logs/debug output.
|
# ? May 31, 2013 13:58 |
|
Alright people who are even bigger Linux nerds than me. I need some help. It's one of those vague hardware / software / driver things. I have a Gravis Xterminator gamepad. It's a pad that was made in the late '90s or so which seems to be intended for use with flight sims mostly. I brought it out of retirement to play Kerbal Space Program with. One reason is because it has a throttle slider. But I have a problem. KSP seems to only recognise values of 0 to max for throttles or something like that. Essentially I can only get half throttle maximum. The slider is responsive over the whole range but I suspect the issue is that it reports values from -32767 to 32767. Ages ago it used to be possible to fiddle these values but I have no idea how to do it on a modern install. I used the KDE joystick module for calibration. I considered setting both min and centre to the bottom of the slider. Would that work?
|
# ? Jun 1, 2013 02:53 |
|
Does anyone know how I'd use curl to download a content and its directory over ftps? I can use wget -m, but it only support ftp, and I'd rather have the extra layer of security involved. Any ideas?
|
# ? Jun 2, 2013 12:01 |
|
Experto Crede posted:Does anyone know how I'd use curl to download a content and its directory over ftps? Scp?
|
# ? Jun 2, 2013 13:24 |
|
Experto Crede posted:Does anyone know how I'd use curl to download a content and its directory over ftps? Bob Morales posted:Scp?
|
# ? Jun 2, 2013 13:42 |
|
Experto Crede posted:Does anyone know how I'd use curl to download a content and its directory over ftps? Personally I use lftp cause its good for those kinds of protocols. Launch it like: lftp ftps://somesite.com/wherever/ Then use the mirror command to grab everything. (Type 'help mirror' on the lftp shell to get any extra flags you might want)
|
# ? Jun 2, 2013 22:08 |
|
Trying to do it via normal terminal commands, and lftp looks perfect! Thanks all
|
# ? Jun 2, 2013 22:13 |
|
I'm thinking about running linux as my main OS and just install Virtual Box on my next computer build. I was wondering if anybody has done this and put Windows in a VM and run Steam on it? The only thing keeping me from running linux full-time is I can't play Steam games properly.
|
# ? Jun 3, 2013 00:27 |
|
ElvisG posted:I'm thinking about running linux as my main OS and just install Virtual Box on my next computer build. I was wondering if anybody has done this and put Windows in a VM and run Steam on it? The only thing keeping me from running linux full-time is I can't play Steam games properly. It depends what games you want to play. The Linux steam library is constantly growing and has some pretty impressive titles the last time I checked. You also don't have to rebuy games and have licenses to any game you purchased for Windows.
|
# ? Jun 3, 2013 00:58 |
|
ElvisG posted:I'm thinking about running linux as my main OS and just install Virtual Box on my next computer build. I was wondering if anybody has done this and put Windows in a VM and run Steam on it? The only thing keeping me from running linux full-time is I can't play Steam games properly. You will have to retain a seperate install of Windows to manage this. WINE is hit or miss at best with games. EVE works wonderfully under WINE as far as my limited testing indicated. DOTA2 works nearly flawless, just some minor glitchy things, like names, not properly showing up that I don't care to fully diagnose. Other games won't load at all or if they do, they'll lock the system up. Also, your idea of using a VM to play games won't work. Only a single OS can operate a piece of hardware and the Linux OS is the controller for that session. It's totally worth it to try out a flavor of Linux and use it as your primary. Try out Ubuntu or Linux Mint, they seem to be the most approachable for new people. I tried and failed switching to Linux several times since 2004 when I first had a computer that wasn't a shared "family" computer and right now is really the best time to get involved in it. There is a genuine effort by the community to bring in and acclimate casual and new computer users both with decently made UI and more options than using the terminal unless you want to. Hell, half the time you have to resort to using the terminal there is a guide you can literally copy and paste all the commands from. YouTuber fucked around with this message at 01:44 on Jun 3, 2013 |
# ? Jun 3, 2013 01:40 |
|
I've been considering doing something like this with xen to do windows gaming on linux, but I haven't had the willpower to work on it. But anyway, that may give you an idea.
|
# ? Jun 3, 2013 03:53 |
|
YouTuber posted:Only a single OS can operate a piece of hardware and the Linux OS is the controller for that session. VMWare and VirtualBox both have graphics hardware passthrough. It's just QEMU/KVM that's taking some time, because there's security issues there.
|
# ? Jun 3, 2013 04:11 |
|
Suspicious Dish posted:VMWare and VirtualBox both have graphics hardware passthrough. It's just QEMU/KVM that's taking some time, because there's security issues there.
|
# ? Jun 3, 2013 04:49 |
|
mystes posted:But seriously once you have a dedicated video card for windows and consider all the trouble and decreased io performance it would probably make more sense to get another computer under most circumstances. ElvisG posted:I'm thinking about running linux as my main OS and just install Virtual Box on my next computer build. I was wondering if anybody has done this and put Windows in a VM and run Steam on it? The only thing keeping me from running linux full-time is I can't play Steam games properly. Thermopyle posted:I've been considering doing something like this with xen to do windows gaming on linux, but I haven't had the willpower to work on it. But anyway, that may give you an idea. Motherboard: ASRock is pretty decent, but do note that USB passthrough and SATA passthrough will at best be buggy if functional at all. ASUS might be good; ASRock used to be owned by ASUS I think, but I'm not sure what characteristics they share. As for the chipset, The Z77/H77 series and above should work well. If I had to do it over again, I might try ASUS, or do my research and try something other than ASRock. Don't get me wrong; ASRock is good, but the USB controller issue (described below) specifically got in my way. CPU: I advise a Core i7. Not the K model; it disables VT-d. This is a dealbreaker. HDD: Disk access usually isn't a killer so I suggest *not* trying to give raw hard disk access. I haven't had a good experience passing through onboard SATA, and decent cards won't be cheap. Plus, if you use indirect access you get the nifty snapshotting stuff that VM software usually gives you. Get a SSD for your gaming install, though. USB: I highly advise a PCI-Express USB controller; while many motherboards use the same bus for onboard electronics, there's a moderate to high risk of this not working. And if you buy cheap poo poo you'll be sorry. Just go for something which is known good, or perhaps hold off on this until you've got the display stuff working, and if USB controller passthrough doesn't work like you expect, then buy a controller. GPU: I have had no luck with nVidia cards, and have not tested ATI. You'll need to do some research. This is absolutely pivotal, as if it doesn't work then you're poo poo out of luck, and the cost of a graphics card. The article Thermopyle linked suggests a "XFX R7970 Radeon H7970 Black Edition" video card. Doctor w-rw-rw- fucked around with this message at 08:13 on Jun 3, 2013 |
# ? Jun 3, 2013 08:10 |
|
So I've just set up a virtual debian server for stuff like Dokuwiki and GroupOffice. Everything runs great, but I'm interested in installing other productivity-related apps. E.g. an AJAX-powered mindmapping tool would be cool, for starters. Or some Google Docs look-a-like. Anyone know a good application that I'm missing?
|
# ? Jun 3, 2013 08:52 |
|
Will the Haswell on-board graphics work out of the box, with the Intel HD4000 drivers, or will new drivers need to be released?
|
# ? Jun 3, 2013 12:36 |
|
Bob Morales posted:Will the Haswell on-board graphics work out of the box, with the Intel HD4000 drivers, or will new drivers need to be released? They're merged into the kernel, but I'm not sure how well it works in 3.9, might need to wait for 3.10 for them to work properly (and maybe later for performance to get where it should).
|
# ? Jun 3, 2013 14:23 |
|
I can't get cups to work on one machine. The configuration compared to another machine are basically identical but while one will be fine with lpr/printing anything, the other one freaks out at any possible printing lpr /etc/hosts lpr: Unsupported format 'text/plain'! Same for application/postscript of course. I've compared /etc/cups and again they're basically identical. There's no *.types or *.convs files in either directory. Are there other cups config directories I am missing? edit: blowing away all the config files and recreating them with the UI fixed it but that is lovely that it happened in the first place. This is the ONLY rebuilt station to have the problem and of course its the whiniest client. Adult Sword Owner fucked around with this message at 17:19 on Jun 3, 2013 |
# ? Jun 3, 2013 17:06 |
|
Speaking of that, what's the purpose of /etc/cups/printers.conf.O ?
|
# ? Jun 4, 2013 02:03 |
|
Can anyone give me a clue as to why I can't increase the vmalloc space? Anything I pass (as vmalloc=x) to the command line on boot seems to be just silently ignored. Is there some option I need to change in my kernel config? It's kinda frustrating having no idea what's going wrong. ~ # cat /proc/cmdline root=/dev/ram rw ramdisk_size=262404 vmalloc=512M ~ # cat /proc/meminfo | grep Total MemTotal: 1035984 kB HighTotal: 262144 kB LowTotal: 773840 kB SwapTotal: 0 kB VmallocTotal: 239608 kB
|
# ? Jun 4, 2013 05:00 |
|
Illusive gently caress Man posted:Can anyone give me a clue as to why I can't increase the vmalloc space? Anything I pass (as vmalloc=x) to the command line on boot seems to be just silently ignored. Is there some option I need to change in my kernel config? It's kinda frustrating having no idea what's going wrong. Did you try going up in smaller chunks first? Does the kernel support large memory? and what linux is it anyway?
|
# ? Jun 4, 2013 15:23 |
|
MOAR posted:Did you try going up in smaller chunks first? Even lowering it to 192M has no effect. It's 3.8.5 cross compiled for 32bit powerpc, basically just running busybox. I'm not sure what large memory support would mean. The device only has one or sometimes two GB of memory.
|
# ? Jun 4, 2013 15:42 |
|
Searching through my local linux source (3.6.11.4) suggests powerpc doesn't support a vmalloc command line parameter. The only files matching param("vmalloc" are: code:
|
# ? Jun 4, 2013 16:06 |
|
robostac posted:Searching through my local linux source (3.6.11.4) suggests powerpc doesn't support a vmalloc command line parameter. Yeah, I think I might have found another solution changing the config in 'advanced options' to reduce the size of lowmem so the kernel gets a bit more. Compiling it now. edit: it worked! I am the master of obscure poo poo! edit2: works in emulator but refuses to boot on the actual hardware =[ Illusive Fuck Man fucked around with this message at 19:29 on Jun 4, 2013 |
# ? Jun 4, 2013 16:09 |
|
hackedaccount posted:Speaking of that, what's the purpose of /etc/cups/printers.conf.O ? Copy of the original iirc
|
# ? Jun 4, 2013 18:21 |
|
Helpful hint for Debian users: if you have a bug in xfce4-session that results in a segfault and loss of X session, do make sure you restart X after you rollback libglib2.0-0, or you may be surprised (The update is late coming into testing, so be wary of updating anything gnome-related for a while).
|
# ? Jun 5, 2013 01:13 |
|
I am rather new to using iptables to other than just using filters and I have a short question about masquerading that I have not been able to find an answer for in the man pages. If I have masquerading set up on an outgoing interface that I also want to use for static port forwarding to an internal IP, do I run the risk (however unlikely), that the masquerading uses the port I set to be forwarded causes a conflict between two traffic flows? If that does not make sense, I currently have it set up like this: code:
All the examples and tutorials I have read all just refer to one or the other function never both together so not sure how the two interact.
|
# ? Jun 6, 2013 23:09 |
|
I hope this is the right thread for this, so here goes: Is there a way to configure putty/kitty to have the prompt appear at the bottom of the window and remain in the same place rather than scrolling down the window as you use it? Googling has turned up nothing, and it's really kind of a minor bitch but I'd like to be able to do it.
|
# ? Jun 6, 2013 23:29 |
|
Bohemian Cowabunga posted:If I have masquerading set up on an outgoing interface that I also want to use for static port forwarding to an internal IP, do I run the risk (however unlikely), that the masquerading uses the port I set to be forwarded causes a conflict between two traffic flows?
|
# ? Jun 7, 2013 01:07 |
|
WHERE MY HAT IS AT posted:I hope this is the right thread for this, so here goes: What is the possible use case for this? I'm not aware of a setting which will do this, because it's controlled by the tty driver, which PuTTY and KiTTY (hence the names) emulate. If you really need to do this, and I have no idea why you would, add this to .bashrc (or whatever your .profile is): for i in $(seq 1 $((`stty size | awk '{print $1}'` - 1))); do echo ; done It gets the terminal height, subtracts one, and spits out blank lines. You could just as easily do this without asking the tty at all, and just echoing 100 times (or whatever). If you have a shared login and you can't add things to .profile, shame on you, and you should stop.
|
# ? Jun 7, 2013 01:17 |
|
evol262 posted:What is the possible use case for this? I'm not aware of a setting which will do this, because it's controlled by the tty driver, which PuTTY and KiTTY (hence the names) emulate. If you really need to do this, and I have no idea why you would, add this to .bashrc (or whatever your .profile is): There's no practical "use" for it. It's really just a preference thing. I want the prompt where I type things to be at the bottom with the output and stuff remaining as it is (think like an IM chat window). it's really just an aesthetic thing
|
# ? Jun 7, 2013 01:44 |
|
That really does seem to be the standard behaviour for all of the terminals I use. The only way would be to pad the start of the session to put the command line at the bottom than start working. I guess it is something no one else thinks is an issue, but it is easy to get what you want by playing around with the login script/.bashrc/whatever.
|
# ? Jun 7, 2013 02:30 |
|
Whether or not anyone thinks it's an issue is one thing. TTYs are surprisingly complex, and there's a lot of accumulated cruft. The interaction between terminal emulator and TTYs isn't always intuitive, etc. It's a hard subject, and it's easier to just deal with it as a text stream. I'm not even aware of a native terminal emulator with this behavior. I'm sure the PuTTY guys would welcome patches.
|
# ? Jun 7, 2013 04:22 |
|
|
# ? Jun 13, 2024 06:28 |
|
evol262 posted:Is your question whether or not outgoing connections on 443 will cause a conflict? If so, the answer is no, and you should read TCP/IP Clearly Explained, as the topic is somewhat too involved for this thread. Clients pick pseudo-random high ports to instantiate a connection on, and most (non-stateless) servers have a way to renegotiate the port used for communication, which is passed to a forked daemon so the regular server can continue to listen. I have a fairly solid background with network theory, I have just never dealt with how it was implemented on Linux in detail. The book looks good though
|
# ? Jun 7, 2013 09:44 |