Re: OT using absolute paths in scripts

2013-01-13 Thread Nuno Magalhães
Well, If a user's $PATH gets compromised, they may run ~/saltedls instead of /bin/ls... dunno, something like that. If you use variables at the beginning of the script it becomes somewhat less painful.

Re: Running OpenBSD on Raspberry Pi

2012-12-30 Thread Nuno Magalhães
On Sun, Dec 30, 2012 at 10:12 PM, mxb wrote: > Any practical usage for this kind of hardware? Dependes on your definition of "practical" and "usage". It's got an HDMI port, some use it for streaming at home.

Re: [Bulk] Things to do with a Pentium 166MHz cpu - 32 MB of RAM - 1.5 GB disk

2011-05-16 Thread Nuno Magalhães
Hi, On Sun, May 15, 2011 at 19:47, Peter Hessler wrote: > > We want dmesgs from *everything*. B You may have something interesting, > even if its old. I assume you don't include VM's dmesg in that ;-) The low-power-when-idle is nifty but CPUs aren't always idle and mine spikes after halt. The

Re: Things to do with a Pentium 166MHz cpu - 32 MB of RAM - 1.5 GB disk

2011-05-15 Thread Nuno Magalhães
Hi, On Sun, May 15, 2011 at 17:48, Michael Sioutis wrote: > What else could I use it for? Do the opposite. Think what is that that you'd liek to play with, then see if that hardware is enough. Webserver? nginx+fastcgi is light Maybe you have an old printer laying around? Maybe an XMPP server f

[OT] moving out to a new /home

2008-09-07 Thread Nuno Magalhães
Hi, My main desktop is an amd64 running Debian with 2GB RAM and 160GB disc, about to burst with all the stuff i have in /home. I can clean it up a bit but i'll just delay the issue. I can also repartition, since / is only taking up 25% of its space and i don't use the XP partition anyway. My test

Re: Can OpenBSD run in 24 MB of RAM?

2008-09-04 Thread Nuno Magalhães
I installed 4.3 onto a Compaq Armada 1500 with 32RAM. I got nginx working with PHP though fastcgi but before i could test it any further i got it upgraded to 96MB. It was handling it well enough with 32, i guess... you can't really tell just how much RAM is in deed being used. I'm still keeping it

Re: Can't scp, ssh is slow to authenticate.

2008-07-26 Thread Nuno Magalhães
Thank you very much for that info Philip! I'll fiddle with the bash files. >> So i guess .bashrc is not the name >> the file should have anyway 'cos only root will read it in regular >> xterm sessions, not the regular user... > > Uh, what? What does being root have to do with this? You aren't >

Re: Can't scp, ssh is slow to authenticate.

2008-07-25 Thread Nuno Magalhães
On Tue, Jul 22, 2008 at 4:04 AM, Arnaud Bergeron <[EMAIL PROTECTED]> wrote: >> debug1: Sending env LANG = en_US.UTF-8 >> debug1: Sending command: scp -v -r -t ~ >> 6:52PM up 4 days, 56 mins, 0 marksandmans, load averages: 0.11, 0.09, 0.08 > > Am I the only one noting this line in the output. I

Re: Can't scp, ssh is slow to authenticate.

2008-07-22 Thread Nuno Magalhães
On Tue, Jul 22, 2008 at 6:50 PM, Giancarlo Razzolini <[EMAIL PROTECTED]> wrote: > Nuno MagalhC#es escreveu: >> It was yes, became no, still doesn't work. So far all of your >> suggestions amounted to nothing useful, much like your rants but hey, >> if the Theo guy can act like an ass i guess you ca

Re: Can't scp, ssh is slow to authenticate.

2008-07-22 Thread Nuno Magalhães
I'll just skip the part where you egotrip. > Check if you have this line: > >GSSAPIAuthentication yes > > If it is yes (which isn't the ssh default), change it to no, then try again. It was yes, became no, still doesn't work. So far all of your suggestions amounted to nothing useful, much lik

Re: Can't scp, ssh is slow to authenticate.

2008-07-21 Thread Nuno Magalhães
>Your DNS is setup wrong. Too vague. >Try setting "UseDNS no" on the server in /etc/ssh/sshd_config. That solved the slowness, thanks. I tried -HUP ing the sshd processes but that didn't solve it at once (it only killed my connections fo course); reboting the machine did, now it logs in fast. Is t

Can't scp, ssh is slow to authenticate.

2008-07-21 Thread Nuno Magalhães
I'm trying to scp from Debian to OpenBSD on two local machines but it's obviously not working. They're connected through a router and i can scp to another local Debian machine. Here's the output: [EMAIL PROTECTED]:~> scp -vr ~/folder/folder/ 192.168.2.80:~ Executing: program /usr/bin/ssh host 192.

Re: Light HTTP servers.

2008-07-21 Thread Nuno Magalhães
> nice. btw, there is also a light http server called nostromo, > developed by [EMAIL PROTECTED] That's nhttpd, didn't you rtfm? The monkeys will eat you alive if you didn't (beats masturbating the whole day). -- Nuno MagalhC#es

Light HTTP servers.

2008-07-20 Thread Nuno Magalhães
I have an old Compaq Armada 1500c with 32MB of RAM i want to use as a webserver. Having it support PHP and mySQL would be fun since i intend to use both. The same machine has sshd running and might also become a print-server for a parallel Epson Stylus Color 740 if i can decide on the print server

Re: This is what Linus Torvalds calls openBSD crowd

2008-07-16 Thread Nuno Magalhães
Eheh he's right :-) If you guys get your heads out of your asses and actually read his words with the use of some common sense you might get what he means. It's a balanced opinion. >From what i've seen so far in this list, the BSD-crowd *is* "a bunch of masturbating monkeys" anyway, i get much mor

Re: Does CUPS depend on X?! [oB newbie]

2008-07-13 Thread Nuno Magalhães
>> I don't have nor want to have X installed. Since it apparently depends >> on ghostscript-8.60 i tried installing ghostscript-8.60-no_x11, which >> gave me this: > > No, you tried install the no_x11 AND cups flavor. Maybe if you just > stick with no_x11, it will fulfill enough dependency for cup

Does CUPS depend on X?! [oB newbie]

2008-07-13 Thread Nuno Magalhães
Greetings, while trying to install CUPS i got this message: bash-3.2# pkg_add cups-1.2.7p9 Can't install ghostscript-8.60: lib not found X11.11.1 Dependencies for ghostscript-8.60 resolve to: libiconv-1.9.2p5, ghostscript-fonts-8.11p0, jpeg-6bp3, png-1.2.22, ijs-0.35 Full dependency tree is libic