|
Seems like that was a red herring. Actual problem is that the chrome book won't connect to my wpa2 enterprise network...code:
|
# ? Aug 15, 2014 16:12 |
|
|
# ? Jun 4, 2024 17:10 |
|
Suggestions for a USB wifi adapter I can go out today and buy at Best Buy or Walmart? Needs to work with Ubuntu 14.04
|
# ? Aug 15, 2014 16:22 |
|
my TP-Link TL-WN727N works fine on ubuntu 14.04
|
# ? Aug 15, 2014 16:41 |
|
Not available in stores
|
# ? Aug 15, 2014 17:27 |
|
haha and here was me thinking I was actually going to be helpful in the linux thread for once
|
# ? Aug 15, 2014 17:50 |
|
I bought this one a couple months ago, and a quick google search show it's available on walmart. I actually bought it for a RaspberryPi but I guess it'll work in Ubuntu.
|
# ? Aug 15, 2014 18:24 |
|
fuf posted:haha and here was me thinking I was actually going to be helpful in the linux thread for once yospos, bicth
|
# ? Aug 15, 2014 18:25 |
|
Actually my problem might be my NPS server being insane
|
# ? Aug 15, 2014 18:30 |
|
I added a pair of entries to my crontab (root) to kill and start a service daily, and for whatever reason the first one works but the second one doesn't. If I paste the exact same command into the terminal it works fine. 0 4 * * * killall irqbalance > /dev/null 2>&1 2 4 * * * start irqbalance > /dev/null 2>&1 Shouldn't that kill irqbalance at 4 AM and start it at 4:02AM? I'm not sure why cron isn't starting it.
|
# ? Aug 19, 2014 16:02 |
|
If the start command works manually in your shell, but not in cron then you may need to put the full path to wherever start is. Cron doesn't always have all the environment variables if you call things directly like that. So in general its a good idea to either put the full path or put things in a shell script that makes it run from whatever your favorite shell is.
|
# ? Aug 19, 2014 16:05 |
|
JHVH-1 posted:If the start command works manually in your shell, but not in cron then you may need to put the full path to wherever start is. Cron doesn't always have all the environment variables if you call things directly like that. So in general its a good idea to either put the full path or put things in a shell script that makes it run from whatever your favorite shell is. Thanks, I'll give that a try.
|
# ? Aug 19, 2014 16:12 |
Thanks for this!! Alias was definitely what I was looking for. Things are starting to make more sense now. I also had to remove the trailing slash on the location /rtgui line, otherwise it was requesting somefile.js/. Here's my new nginx config: https://gist.github.com/fletchowns/f343929d22a30b46f86b Still have a couple questions though: 1. Why does a request to json.php 404? code:
3. Do I need the try_files $uri = 404; in the php block? It also seems to break things.
|
|
# ? Aug 20, 2014 17:37 |
|
Illusive gently caress Man posted:I have a bunch of networked devices with no internal battery or persistent storage. When they boot, they have no idea what the time/date is. I need a way for these devices to securely get the time. When I say securely, I mean the devices should only accept a time which comes from 'me', or some server I control. Ideally, the devices should just have a trusted certificate on their disk which they can use to verify a chain a server provides. That looks like a contradiction to me, I assume the devices do have some form of persistent storage (where are they storing the ntpd binary?). Autokey does provide for PKI-based authentication of NTP, though I've never set it up. As best I can tell it still requires storing the CA/CA equivalent certs somewhere. Assuming you do have some means of storing ntpd configuration on the devices, configuring symmetric key authentication is dead simple, but has the obvious caveat that anyone who could steal a device and read the keys would be able to masquerade as you, whereas with autokey they'd need to compromise the central timeserver or signing authority.
|
# ? Aug 20, 2014 23:57 |
|
IPvSH6T posted:That looks like a contradiction to me, I assume the devices do have some form of persistent storage (where are they storing the ntpd binary?). Yeah, I didn't word that very clearly. The devices load a kernel/ramdisk over tftp every time they boot. The devices do some software attestation poo poo later on, and one of our custom attestation protocols currently uses timestamps. This is dumb and backwards imo, and it's literally the only reason they need to know the time. My current plan is to convince my boss to let me change the protocol to a more standard challenge-response deal, and forget about keeping time synchronized for now. Setting up a PKI for ntp seems like kind of a hassle (and extra annoying since this project already has a shitload of other key management issues for a bunch of other poo poo) and symmetric keys won't work for the reason you stated.
|
# ? Aug 21, 2014 01:32 |
|
I recently put Ubuntu 14.04 on a computer I built. I'm trying to use the ethernet that's built into the motherboard (which is a MAXIMUS VII HERO) and a PCI wireless card. My wireless internet is working OK, but it's at considerably slower speeds that the previous windows computer I used on this same exact connection and it's almost unusable at times. The ethernet is not working at all. I'd really like to fix both these problems but the ethernet is more important I guess since this is a desktop I'm not really going to be moving around. I've been screwing around on google all day trying to fix things with no luck. I'm also a total linux noob. Here are some outputs to things that might or might not be useful: http://pastebin.com/e3qm4tBp Any advice? If I can't get this to work is there any hardware I could buy that would guarantee it would? Or even another linux distro?
|
# ? Aug 21, 2014 03:45 |
|
jjttjj posted:I recently put Ubuntu 14.04 on a computer I built. I'm trying to use the ethernet that's built into the motherboard (which is a MAXIMUS VII HERO) and a PCI wireless card. My wireless internet is working OK, but it's at considerably slower speeds that the previous windows computer I used on this same exact connection and it's almost unusable at times. The ethernet is not working at all. I'd really like to fix both these problems but the ethernet is more important I guess since this is a desktop I'm not really going to be moving around. I've been screwing around on google all day trying to fix things with no luck. I'm also a total linux noob. code:
|
# ? Aug 21, 2014 04:43 |
|
Longinus00 posted:
Hmm I've been messing around with manually adding an IP address for 2 hours now with no results. Any further tips/tricks to help figure out what's going on?
|
# ? Aug 21, 2014 07:21 |
|
jjttjj posted:Hmm I've been messing around with manually adding an IP address for 2 hours now with no results. Any further tips/tricks to help figure out what's going on? Did you disable the wireless connection before trying to get the ethernet up and running?
|
# ? Aug 21, 2014 08:48 |
|
CaptainSarcastic posted:Did you disable the wireless connection before trying to get the ethernet up and running? Yes I've done this every time I tried something new. I'm assuming I can rule out having to change anything on my router, since the ethernet works perfectly when plugged into another computer? Alternatively is there any way to stop my wireless speeds from sucking? Wireless was so fast on my windows computer I never felt the need for wired. Is that just an unavoidable problem of the drivers sucking?
|
# ? Aug 21, 2014 18:21 |
|
http://blog.mecheye.net/2014/08/hanging-up-the-hat/
|
# ? Aug 21, 2014 19:11 |
|
Thanks for helping to make Gnome pretty cool!
|
# ? Aug 21, 2014 19:23 |
Wow! Congrats on the new job. I can only imagine how tough it is to leave an org like Red Hat. And nice job on the GNOME stability fix!
|
|
# ? Aug 21, 2014 19:36 |
|
Congrats on the move! I saw their initial announcement last year, but I haven't really kept up, and I had no idea they were using GTK/Gnome.
|
# ? Aug 21, 2014 21:05 |
fletcher posted:Thanks for this!! Alias was definitely what I was looking for. Things are starting to make more sense now. I also had to remove the trailing slash on the location /rtgui line, otherwise it was requesting somefile.js/. Got some answers to my questions on #nginx irc, here's the new config http://p.ngx.cc/13 One of the key changes was the /rtgui/rtgui on line 43, apparently I was running into this bug. And now the blocks can be nested. I also had to move the SCRIPT_FILENAME line to be after the include scgi_params line (even though like every tutorial I saw online had it the other way around). It finally works!!!! fletcher fucked around with this message at 21:48 on Aug 21, 2014 |
|
# ? Aug 21, 2014 21:26 |
|
Is there a clever tool for navigating through directories more quickly? Right now I type "ls" and then "cd whatever". But what I'd really love is something whose output looks like ls but then lets me navigate through the directories using hjkl (like vifm), then press enter to return to the command line at that location. This thing kind of does something similar: https://github.com/philc/fuzzycd If you type an ambiguous cd command you pick one of the directories by hitting a number.
|
# ? Aug 22, 2014 16:25 |
|
This isn't what you asked for, but I find tab completion is quite fast. Type "cd <tab><tab>" for a list of possibilities, then type one (or a couple) letter of your desired destination and hit tab again. You have to hit tab again if there are multiple options. Refine more if necessary, then hit enter when it completes to the full directory name.
taqueso fucked around with this message at 21:02 on Aug 22, 2014 |
# ? Aug 22, 2014 20:45 |
|
Something that I've heard of but haven't tried is xiki.org , which is as far as I can see is a shell augmentation that let's you run commands and then interact with their output rather than as a second command. For example, you'd run 'ls' and then you could use arrow keys to go through the resulting list and expand your desired directory. I'm leery of how primetime ready it is but it's an interesting concept.
|
# ? Aug 22, 2014 21:20 |
|
Maluco Marinero posted:Something that I've heard of but haven't tried is xiki.org , which is as far as I can see is a shell augmentation that let's you run commands and then interact with their output rather than as a second command. For example, you'd run 'ls' and then you could use arrow keys to go through the resulting list and expand your desired directory.
|
# ? Aug 22, 2014 21:28 |
|
Has anyone tried to HA-cluster HAProxy instances in a cloud environment like Amazon EC2? What strategies/tools did you end up using for failover, and why? I'm very familiar with stuff like Pacemaker, but it looks like keepalived is pretty popular with HAProxy nowadays. Active/passive is fine for us right now, but I'd like to be able to switch up to active/active without re-tooling the whole stack.
|
# ? Aug 22, 2014 21:42 |
|
Maluco Marinero posted:Something that I've heard of but haven't tried is xiki.org , which is as far as I can see is a shell augmentation that let's you run commands and then interact with their output rather than as a second command. For example, you'd run 'ls' and then you could use arrow keys to go through the resulting list and expand your desired directory. That is pretty bitchin' https://www.youtube.com/watch?v=bUR_eUVcABg
|
# ? Aug 22, 2014 21:44 |
|
fuf posted:Is there a clever tool for navigating through directories more quickly? Right now I type "ls" and then "cd whatever". But what I'd really love is something whose output looks like ls but then lets me navigate through the directories using hjkl (like vifm), then press enter to return to the command line at that location. Try if mc suits your needs.
|
# ? Aug 22, 2014 23:04 |
|
fuf posted:Is there a clever tool for navigating through directories more quickly? Right now I type "ls" and then "cd whatever". But what I'd really love is something whose output looks like ls but then lets me navigate through the directories using hjkl (like vifm), then press enter to return to the command line at that location. I've been using this lately: https://github.com/junegunn/fzf The Alt-C default keybinding seems to do what you're looking for.
|
# ? Aug 23, 2014 06:54 |
|
spankmeister posted:Try if mc suits your needs. I was thinking of Midnight Commander as well! The real answer is of course dired, because everybody is basically using Emacs as a full operating system that also runs all of their shells anyway, right? edit: Actually, a mixture of the above answer answers might work as well by using zsh. You can set it up so that it gives you a list that can be navigated with the arrows keys or some such upon using tab-completion, which would have the advantage of being an otherwise tested shell and not being an extra program. Hollow Talk fucked around with this message at 10:50 on Aug 23, 2014 |
# ? Aug 23, 2014 10:47 |
|
Hollow Talk posted:I was thinking of Midnight Commander as well! The real answer is of course dired, because everybody is basically using Emacs as a full operating system that also runs all of their shells anyway, right? emacs is less bloated and more portable than zsh There, I said it.
|
# ? Aug 23, 2014 16:29 |
|
evol262 posted:emacs is less bloated and more portable than zsh Right were it hurts. Twice.
|
# ? Aug 23, 2014 17:08 |
|
thanks for all the responses re cli navigation. I tried them all:Maluco Marinero posted:Something that I've heard of but haven't tried is xiki.org , which is as far as I can see is a shell augmentation that let's you run commands and then interact with their output rather than as a second command. For example, you'd run 'ls' and then you could use arrow keys to go through the resulting list and expand your desired directory. I got this working in vim after some work and it kinda blew my mind - pretty drat cool. Not much vim support yet though so you can't actually use it for digging into directories etc. spankmeister posted:Try if mc suits your needs. I like that MC has a shell right there at the bottom, but I wish the file browser behaved more like vifm. (maybe there's a plugin or something? I'll check) MC and vifm both let you switch to a full screen shell at the current location, which is cool but I keep forgetting it's not a regular shell. I wish you could split the screen in half instead - like use the file manager in one pane to move around, then press a key to send the current dir / file to a shell in the other panel ready to run a command on. I'm kinda surprised there isn't a vifm plugin that just changes one of the panels into a shell (maybe there is one for mc). FoodProcessor posted:I've been using this lately: https://github.com/junegunn/fzf Yeah this is pretty cool. I think it'll be useful for quickly jumping to particular places, but not so good for just quickly scooting around directories. Hollow Talk posted:
I tried out zsh and yeah the menu completion thing is pretty drat cool - it's the closest to what I was imagining. but poo poo I don't really wanna switch to a new shell when I barely have a handle on bash.
|
# ? Aug 23, 2014 17:22 |
|
fish shell > zsh You also may want to try z.
|
# ? Aug 23, 2014 17:29 |
|
My NIC in my router just poo poo the bed. Can anyone recommend a 100 megabit PCI card (Amazon link preferably) that will work without additional drivers?
|
# ? Aug 24, 2014 15:30 |
|
Pretty much anything with a realtek or Intel chip, but 100mbit might be harder to get than gigabit these days.
|
# ? Aug 24, 2014 15:39 |
|
|
# ? Jun 4, 2024 17:10 |
|
revmoo posted:My NIC in my router just poo poo the bed. Can anyone recommend a 100 megabit PCI card (Amazon link preferably) that will work without additional drivers? PCI? Can you just find a 3com 9cx laying around in a drawer
|
# ? Aug 24, 2014 15:52 |