|
There it is... thank you. I looked at the module page but I glossed right over that
|
# ? Oct 21, 2017 00:16 |
|
|
# ? May 3, 2024 06:34 |
|
Argh I pulled out this chromebook that I had installed linux on before, and went to reinstall linux, and I couldn't get the wifi to work. After all sorts of messing around with drivers and wasting a ton of time testing different bootable linux images and having nothing work, I finally remembered that this happened before a year ago when the clock wasn't set, so I manually set the time/date and then instantly the wifi started working again. I think I need to write "IF WIFI DOESN'T WORK SET CLOCK" in permanent marker on it or something.
|
# ? Oct 22, 2017 21:50 |
|
Is there a preferred way to accurately compare two strings representing version numbers from a shell script? ( #!/bin/sh -e )
|
# ? Oct 23, 2017 00:27 |
|
peepsalot posted:Is there a preferred way to accurately compare two strings representing version numbers from a shell script? ( #!/bin/sh -e ) code:
|
# ? Oct 23, 2017 00:51 |
|
Does anyone know of any good introductory tutorials on the ip/iw commands for people who are used to ifconfig, route, etc.?
|
# ? Oct 24, 2017 03:09 |
|
This one has a pretty good mapping of old->new: https://dougvitale.wordpress.com/2011/12/21/deprecated-linux-networking-commands-and-their-replacements/
|
# ? Oct 24, 2017 03:19 |
|
Is HTTP/2 available under nginx/CentOS now? Last time I checked only Ubuntu had it because it relied on some OpenSSL version.
|
# ? Oct 24, 2017 09:15 |
|
WfYy8jkBf2TidAaGE7Jw drxTCUcssCFfIwOqEhho yflP9FrMbGITUCtMlWeG ZdaxoNpUBzfsG2t8JaLA qsuzpQmbXRfDbDnNjpgp rrfKkFwd4VjoygB1MlgT vptZrAKx4lYr9KAnvacY mCLI4tUp19v3qWS0AzTw V26rmsKnlEkjwUsRgn36 hUaWeXO1YrVQendmNT1h Plasmafountain fucked around with this message at 23:56 on Feb 27, 2023 |
# ? Oct 25, 2017 22:23 |
|
Zero Gravitas posted:Can anyone recommend a way to remote desktop to a fedora machine from a win 10 one? I used to be able to do this with an earlier version of fedora but now my new machine just gives tigervnc a black screen which is apparently a known issue that doesnt look like its going to get fixed anytime soon. i seen to remember having to do some trick with ports last time i did this. phone posting tho so i can't find the link.
|
# ? Oct 25, 2017 22:41 |
|
I'm using Ubuntu more on my laptop. It's got a dumb layout for the navigation keys: top to bottom it goes Home, End, PgUp, PgDn. I'd like to remap these so it goes Home, PgUp, PgDn, End. I've poked around some online and tried dconf Editor as well as editing /etc/default/keyboard to add "End:Prior,Prior:Next,Next:End" to XKBOPTIONS. So far neither option has worked. What might I be doing wrong?
|
# ? Oct 26, 2017 01:18 |
|
Hello, friend. Welcome to post-xmodmap hell, I hope you enjoy your stay. You're probably going to have to modify some xkb files to get this to work consistently. And then modify them again every time there's an update to those files. I can check out how to do this easily tomorrow, since I have some scripts for similar stuff on my work laptop.
|
# ? Oct 26, 2017 01:28 |
|
I have a weird question about rhel6 connections per second. So I run a service that uses xinetd, and the cps settings in there are pretty well defined. However I have a couple clients that don't allow xinetd, so the service is started up and backgrounded, then they use monit to keep it online. That's all well and good but I've been seeing some errors from the service that are indicative of it bumping up against the connections per second setting. I spoke to the software vendor, and they told me to tune the xinetd parameter, but when I explained that we can't use it, they basically responded they don't know. I figure there's some kind of kernel parameter that limits general network socket connections in a general way or per port outside of xinetd, but google is not giving me anything.
|
# ? Oct 26, 2017 19:14 |
|
Truga posted:Hello, friend. Welcome to post-xmodmap hell, I hope you enjoy your stay. Just to follow up on this, when you solve this problem, make sure you document it, since you'll probably one day rebuild or upgrade that laptop and you don't want to deal with that nightmare again later.
|
# ? Oct 26, 2017 19:15 |
|
Jerk McJerkface posted:I have a weird question about rhel6 connections per second. iirc you want to Google conntrack. not sure if the iptables conntrack is the same as the kernel conntrack i have dealt with before, but you are bumping into that.
|
# ? Oct 26, 2017 19:19 |
|
Jerk McJerkface posted:I have a weird question about rhel6 connections per second. You could be hitting the file descriptors limit. Do you know what user the process runs under and what the limits are set to?
|
# ? Oct 26, 2017 21:12 |
|
Furism posted:Is HTTP/2 available under nginx/CentOS now? Last time I checked only Ubuntu had it because it relied on some OpenSSL version. You guys are going to make me install a VM won't ya
|
# ? Oct 26, 2017 21:38 |
|
RFC2324 posted:iirc you want to Google conntrack. not sure if the iptables conntrack is the same as the kernel conntrack i have dealt with before, but you are bumping into that. The vendor followed up and said this is the setting that matters if you aren't using xinetd to maintain the service: net.ipv4.tcp_max_syn_backlog = 4096 Have to look into that. It's a non-production issue, the client just saw some errors in the log and I have to provide an analysis, so I don't know how deep I have to go on fixing it.
|
# ? Oct 26, 2017 21:52 |
|
Jerk McJerkface posted:The vendor followed up and said this is the setting that matters if you aren't using xinetd to maintain the service: Here is a copy of someones config with the same goal as you appear to have, but it has a few problems so make sure to sanity check. https://gist.github.com/kfox/1942782 Good luck!
|
# ? Oct 26, 2017 21:57 |
|
Jerk McJerkface posted:However I have a couple clients that don't allow xinetd, so the service is started up and backgrounded, then they use monit to keep it online. Are you running the latest Monit, 5.24, or from EPEL, 5.14? Monit generated a ton of spurious connection issues to Apache and SpamAssassin that cleared up after upgrading to 5.24.
|
# ? Oct 26, 2017 22:01 |
|
Furism posted:You guys are going to make me install a VM won't ya https://andreborud.com/how-to-setup-http2-on-centos-7-3/ This is two months old and says not out of the box.
|
# ? Oct 26, 2017 22:17 |
|
nem posted:Are you running the latest Monit, 5.24, or from EPEL, 5.14? Monit generated a ton of spurious connection issues to Apache and SpamAssassin that cleared up after upgrading to 5.24. Thanks for this, but I checked and this particular service isn't managed by monit, they have their own inhouse developed process monitoring service. That sounds bad, but this is a gigantic company that has a huge team of devs and this is not a problem.
|
# ? Oct 26, 2017 22:18 |
|
Zero Gravitas posted:Can anyone recommend a way to remote desktop to a fedora machine from a win 10 one? I used to be able to do this with an earlier version of fedora but now my new machine just gives tigervnc a black screen which is apparently a known issue that doesnt look like its going to get fixed anytime soon. After much faffing about with remote desktop some years ago, I eventually settled on installing X on the windows machine and using ssh -X. (Substitute NoMachine NX if you want persistence across sessions and/or don't want to install X separately.)
|
# ? Oct 26, 2017 22:23 |
|
Zero Gravitas posted:Can anyone recommend a way to remote desktop to a fedora machine from a win 10 one? I used to be able to do this with an earlier version of fedora but now my new machine just gives tigervnc a black screen which is apparently a known issue that doesnt look like its going to get fixed anytime soon. I always installed cygwinX on a windows machine and it always worked perfectly. Normally I would use ssh -X (or ssh -Y) to login into the remote machine, then start whatever application I would need.
|
# ? Oct 26, 2017 23:39 |
|
Volguus posted:I always installed cygwinX on a windows machine and it always worked perfectly. Normally I would use ssh -X (or ssh -Y) to login into the remote machine, then start whatever application I would need. If you are going to do X forwarding, WSL with an xserv(xming is the goto) is much easier to deal with that cygwin.
|
# ? Oct 26, 2017 23:52 |
|
RFC2324 posted:If you are going to do X forwarding, WSL with an xserv(xming is the goto) is much easier to deal with that cygwin. I guess to each his own. Edit: Is this XMing that hasnt been updated since 2007? In 2008 I tried to use it and it wouldn't work on whatever windows version I had at the time. Clicking next in cygwin never seemed hard but hey ... Volguus fucked around with this message at 02:29 on Oct 27, 2017 |
# ? Oct 27, 2017 02:23 |
|
I tried using Wayland and Sway, but it seemed pretty really buggy and I ended up switching back to i3 on X. I assume the issues were mostly with Sway rather than Wayland but I think I'm going to wait another year before I bother trying Wayland again.
|
# ? Oct 27, 2017 02:45 |
|
Volguus posted:I guess to each his own. I've never had problems with xming, whether I used WSL or puTTY, but Cygwin has always been a nightmare for me to get running comparatively, and it has little quirks that make it behave different than a real Linux.
|
# ? Oct 27, 2017 03:04 |
|
RFC2324 posted:I've never had problems with xming, whether I used WSL or puTTY, but Cygwin has always been a nightmare for me to get running comparatively, and it has little quirks that make it behave different than a real Linux. This is me in all respects. In fact, I just set up xming again this afternoon and it took about 2 minutes. Install it, turn on x11 forwarding in putty, done.
|
# ? Oct 27, 2017 03:27 |
|
Thermopyle posted:This is me in all respects. In fact, I just set up xming again this afternoon and it took about 2 minutes. Install it, turn on x11 forwarding in putty, done. I setup cygwin (click next), run xinit, ssh -X host. Done.
|
# ? Oct 27, 2017 03:30 |
|
mystes posted:I tried using Wayland and Sway, but it seemed pretty really buggy and I ended up switching back to i3 on X. I assume the issues were mostly with Sway rather than Wayland but I think I'm going to wait another year before I bother trying Wayland again. I have no idea what Sway is, but Fedora has been shipping Wayland as the standard for about a year now and I believe Ubuntu made it the default in their own newest 17.10 release. It's definitely ready for production.
|
# ? Oct 27, 2017 03:40 |
|
Volguus posted:I setup cygwin (click next), run xinit, ssh -X host. Done. To be clear, I don't have any problem with cygwin for doing what you're describing here.
|
# ? Oct 27, 2017 03:42 |
|
Thermopyle posted:To be clear, I don't have any problem with cygwin for doing what you're describing here. Its been years since I bothered with cygwin, but just xinit never worked right for me without having to gently caress with configs for a couple hours, and even then performance was crap. Last time I touched it was 2005(?) so maybe the stock install is less complete poo poo now.
|
# ? Oct 27, 2017 03:50 |
|
RFC2324 posted:Its been years since I bothered with cygwin, but just xinit never worked right for me without having to gently caress with configs for a couple hours, and even then performance was crap. Last time I touched it was 2005(?) so maybe the stock install is less complete poo poo now. Haha. Here i come with xming experience from 2008 (shitshow, didn't work, maybe the paid version is better) and you with cygwin from 2005. Both cases are from 10 and 15 years ago, I woudl think that's safe to assume they don't match anymore (except xming, since the free version is still from 2007). When I'm on windows and need that X server I always install cygwin.Last time i did that was 3 months ago on a windows 10 machine. Like always, worked without a hitch. Should it stop working ... yes, definitely I would try something else, especially now with windows 10 having that linux-on-windows system. But until then ... meh, it does what I need it to do. Tigren posted:I have no idea what Sway is, but Fedora has been shipping Wayland as the standard for about a year now and I believe Ubuntu made it the default in their own newest 17.10 release. It's definitely ready for production. Sway is a window manager for wayland, similar to i3 (i3 is for X11). The only videocards that have trouble with wayland (as far as I know) are nvidia with the proprietary driver. Nouveau maybe works (I have a 970 so nouveau doesn't work on that), but the nvidia proprietary driver doesn't. Just the other day I tried gnome-wayland in F27. While, to much of my surprise, it started and it showed me the desktop, it was unusable since gnome-shell was eating 1500% CPU. Weston by itself didn't start. Now, it could be F27-beta bugs, but ... yea, I will try it again maybe next year.
|
# ? Oct 27, 2017 04:32 |
|
thebigcow posted:https://andreborud.com/how-to-setup-http2-on-centos-7-3/ This is two months old and says not out of the box. Perfect, thanks a lot! OpenSSL 1.0.2 it is.
|
# ? Oct 27, 2017 08:43 |
|
WSL is really cool though. It's almost like running a VM because you update it and add packages like a normal Ubuntu system, but it's not actually a VM.
|
# ? Oct 27, 2017 13:08 |
|
xzzy posted:WSL is really cool though. It's almost like running a VM because you update it and add packages like a normal Ubuntu system, but it's not actually a VM. I use it to run nginx for development on Windows and it's actually better than the native nginx win32 binaries. I was pleasantly surprised to see they got even the networking and sockets right.
|
# ? Oct 27, 2017 13:49 |
|
Furism posted:I use it to run nginx for development on Windows and it's actually better than the native nginx win32 binaries. I was pleasantly surprised to see they got even the networking and sockets right. Doing it right down in the Windows kernel rather than via userspace like Wine is way better for efficiency. I wonder if they had to make kernel changes to handle stuff like fork() properly...
|
# ? Oct 27, 2017 13:52 |
|
There’s some info on it on this blog.quote:The Windows NT kernel was designed from the beginning to support running POSIX, OS/2, and other subsystems. In the early days, these were just user-mode programs that would interact with ntdll to perform system calls. Since the Windows NT kernel supported POSIX there was already a fork system call implemented in the kernel. However, the Windows NT call for fork, NtCreateProcess, is not directly compatible with the Linux syscall so it has some special handling you can read about more under System Calls. And quote:The WSL kernel drivers, lxss.sys and lxcore.sys, handle the Linux system call requests and translate them to the Windows NT kernel. None of this code came from the Linux kernel, it was all re-implemented by Windows engineers. This is truly mind blowing.
|
# ? Oct 27, 2017 14:51 |
|
I have been wondering if you could do a syscall to lxss.sys from Win32 or NT native code to get fork working well for Cygwin and MinGW. They would never support it officially due to it being undocumented, but it would probably work better than NtCreateProcess or making your own hacky kernel service. What calling convention does it use?
|
# ? Oct 27, 2017 19:46 |
|
|
# ? May 3, 2024 06:34 |
|
Truga posted:Hello, friend. Welcome to post-xmodmap hell, I hope you enjoy your stay. Did you have time to look into this?
|
# ? Oct 28, 2017 01:21 |