[vox-tech] Weird server setup issue

2018-01-22 Thread Richard S. Crawford
I have a server which has the domain name of the form subdomain.domain.tld.
I'm running several sites on this domain, each with its own sub-sub-domain,
e.g.:

moodle.subdomain.domain.tld

wordpress.subdomain.domain.tld

customcode.subdomain.domain.tld

I also have an installation of phpMyAdmin on the site:

customcode.subdomain.domain.tld/phpmyadmin

Each website is declared in a /var/www/vhosts directory, except for
phpMyAdmin, which lives in /usr/share/phpmyadmin.

Recently I installed the WordFence plugin into the WordPress installation
(I know, WordPress is bad, but I have no choice in the matter). Once I
activated it, I discovered that it was causing problems in phpMyAdmin.

My question is, how is that possible? What steps can I take to make sure it
doesn't happen again? I've had to disable the WordFence plugin in order for
phpMyAdmin to work properly, but I've found it a very useful plugin for
tracking attacks, failed logins, and so on in other sites I manage.

I have complete control over the server's setup, except for the
subdomain.domain.tld URL.

Thanks in advance for any suggestions/helps/tips/etc. that anyone might
come up with.

Richard
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] My wife's website

2018-01-12 Thread Richard S. Crawford
​I found the offending code, buried deep in the actual database. The code
has been eliminated, and all passwords have been changed.

Whack-a-mole.​

On Fri, Jan 12, 2018 at 8:46 AM, Alex Mandel <tech_...@wildintellect.com>
wrote:

> On 01/12/2018 08:30 AM, Rick Moen wrote:
> > Quoting Richard S. Crawford (rich...@underpope.com):
> >
> >> That's what I was afraid of. Unfortunately I can't find the malware
> itself.
> >
> > https://codex.wordpress.org/FAQ_My_site_was_hacked
> > http://www.wpbeginner.com/beginners-guide/beginners-
> step-step-guide-fixing-hacked-wordpress-site/
> > https://sucuri.net/guides/how-to-clean-hacked-wordpress
> >
> > And I'll bet your wife doesn't have the ability to do a clean restore
> > from backup, does she?  That would be among the very first things to
> > fix, IMO.
> >
> > Personally, I find public-facing PHP and developed apps requiring it
> > generally to be security-problematic and best avoided.  But people do
> > seem to love their WordPress anyway, which is why an entire hosting
> > market niche has evolved around outsourcing WordPress security headaches
> > to commercial outfits that charge a premium for compensating for the
> > basic error or electing WordPress (WPengine, Bluehost, Dreamhost,
> > Siteground, Cyon, Flywheel, Kinsta, Pantheon, 34sp.com, LiquidWeb,
> > Mshini, SoHosted, TVC.net, Interserver, Pagely, GreenGeeks, Raidboxes,
> > Savvii, RoseHosting, et alii).
> >
> > Problem:  The software is ridiculously overbaroque, making debugging
> > difficult, and is an ongoing security nightmare.  Solution:  Expect
> > customers to spend hundreds of dollars a year extra on specialised
> > security-mitigation services.  It's a natural!
> >
>
> I outsource to Wordpress.com, just pay the $15 a year to use a custom
> domain. I figure if the main vendor behind the software can't keep it
> patched and safe, no one can.
>
> Note, reducing plugins to bare minimum and allowing wordpress to
> auto-update patches can do a lot to minimize the threat.
>
> The other route to go, is to switch to a static site generator
> https://www.fullstackpython.com/static-site-generator.html
> Many of which are blog oriented.
>
> Sorry,
> Alex
>
>
>
> ___
> vox-tech mailing list
> vox-tech@lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech
>
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] My wife's website

2018-01-12 Thread Richard S. Crawford
That's what I was afraid of. Unfortunately I can't find the malware itself.

On Fri, Jan 12, 2018 at 7:05 AM, Rod Roark <r...@sunsetsystems.com> wrote:

> Looks like it's been hacked. Firefox sends me here:
>
> https://transparencyreport.google.com/safe-browsing/
> search?url=https:%2F%2Fwww.jenipurr.com%2F
>
> Rod
>
> On 01/12/2018 06:36 AM, Richard S. Crawford wrote:
> > Lately my wife's website has been generating security messages in
> > Chrome (though not in Firefox). I'm having trouble tracking down the
> > offending code, and I wonder if anyone can help me. The URL is:
> >
> > https://www.jenipurr.com
> >
> > And the site is running the latest version of WordPress. If anyone can
> > help me figure out what I should look for, I'd really appreciate it.
> >
> > Thanks!
> >
> > Richard
> >
> >
> > ___
> > vox-tech mailing list
> > vox-tech@lists.lugod.org
> > http://lists.lugod.org/mailman/listinfo/vox-tech
>
>
> ___
> vox-tech mailing list
> vox-tech@lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech
>
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


[vox-tech] My wife's website

2018-01-12 Thread Richard S. Crawford
Lately my wife's website has been generating security messages in Chrome
(though not in Firefox). I'm having trouble tracking down the offending
code, and I wonder if anyone can help me. The URL is:

https://www.jenipurr.com

And the site is running the latest version of WordPress. If anyone can help
me figure out what I should look for, I'd really appreciate it.

Thanks!

Richard
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Multiple versions of PHP on one server

2017-02-09 Thread Richard S. Crawford
That's something that had occurred to me as well, but I have absolutely no
idea how to go about implementing that.

Fortunately, this situation won't be lasting more than a year or so, if
things go as planned. Of course, as in all things, that's a pretty big If.

On Thu, Feb 9, 2017 at 1:24 PM, Nicholas Weigand <n...@davismakerspace.org>
wrote:

> This seems like a perfect use case for containers. Use docker or rkt to
> run each site, and use nginx in front as a reverse proxy pointing to the
> local listening ports of the containers. Using nginx (or apache or
> whatever) as a reverse proxy will avoid the port collision problem.
>
> I'd definitely look at containing these sites (either in containers or
> vms) just for security reasons. PHP 5.3 hasn't been getting security fixes
> since 2014 according to http://php.net/supported-versions.php!
>
> Nicholas
>
> On Thu, Feb 9, 2017 at 1:00 PM, Richard S. Crawford <rich...@underpope.com
> > wrote:
>
>> Hi all,
>>
>> ​I have a situation where I need to set up a webserver that runs a
>> different version of PHP on each different subdomain. For example:
>>
>> http://pb.mydomain.edu <- runs PHP 5.3
>> http://moodle.mydomain.edu <- runs PHP 7
>> http://i.mydomain.edu <- runs PHP 5.6
>>
>> All on the same server, where the moodle domain is the default.
>>
>> What's the best way to approach this? I've looked at PHPBrew (
>> https://github.com/phpbrew/phpbrew) and PHPFarm (
>> https://github.com/fpoirotte/phpfarm), but I'm not sure either one does
>> what I need it to.
>>
>> For extra fun, I'm building this server on an Amazon EC2 server running
>> the most recent version of Amazon Linux AMI.​
>>
>> Any ideas or assistance would be greatly appreciated.
>>
>> TIA
>>
>> Richard
>>
>> ___
>> vox-tech mailing list
>> vox-tech@lists.lugod.org
>> http://lists.lugod.org/mailman/listinfo/vox-tech
>>
>>
>
> ___
> vox-tech mailing list
> vox-tech@lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech
>
>
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


[vox-tech] Multiple versions of PHP on one server

2017-02-09 Thread Richard S. Crawford
Hi all,

​I have a situation where I need to set up a webserver that runs a
different version of PHP on each different subdomain. For example:

http://pb.mydomain.edu <- runs PHP 5.3
http://moodle.mydomain.edu <- runs PHP 7
http://i.mydomain.edu <- runs PHP 5.6

All on the same server, where the moodle domain is the default.

What's the best way to approach this? I've looked at PHPBrew (
https://github.com/phpbrew/phpbrew) and PHPFarm (
https://github.com/fpoirotte/phpfarm), but I'm not sure either one does
what I need it to.

For extra fun, I'm building this server on an Amazon EC2 server running the
most recent version of Amazon Linux AMI.​

Any ideas or assistance would be greatly appreciated.

TIA

Richard
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] KDE Weirdness

2012-08-14 Thread Richard S. Crawford
On Tue, Aug 14, 2012 at 1:12 PM, Ryan Northrup 
northrupthebandg...@gmail.com wrote:

 Your best bet is likely to get to a command-line outside of X (I.e.
 pressing Ctrl+Alt+F1) and using your package manager to reinstall KDE to
 replace any missing or broken packages. If you're using an Ubuntu variant,
 Canonical provides a kubuntu-desktop meta-package that can be installed via
 APT.

 Hope that helps.

 - Ryan



Hi Ryan,

I realized after I sent my email that I'd completely forgotten to leave out
details about my system. I am using Kubuntu 12,04. I'm trying right now to
download replacement KDE binaries, and hopefully that will do the trick.

-- 
Sláinte,
Richard S. Crawford (rich...@underpope.com) http://www.underpope.com
Twitter: http://twitter.com/underpope
Facebook: http://www.facebook.com/underpope
Google+: http://gplus.to/underpope
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] KDE Weirdness

2012-08-14 Thread Richard S. Crawford
On Tue, Aug 14, 2012 at 12:51 PM, Richard Harke paleopeng...@gmail.comwrote:

 What distro are you running? For debian squeeze I see a package called
 kde-full. You might try installing that.

 Richard

 On Tue, Aug 14, 2012 at 9:43 AM, Richard S. Crawford 
 rich...@underpope.com wrote:

 After a major issue with my Nvidia drivers this weekend (I resolved it by
 simply booting into the right kernel -- sigh), I'm having problems getting
 KDE working properly. While I was trying to fix the Nvidia issue, I removed
 a bunch of packages related to KDE and NVidia, and lost track of what went
 away. Now I'm having the following issues:

 * Keyboard
 The really weird thing here is that I can use non-KDE applications such
 as LibreOffice just fine. It's just KDE applications where my keyboard is
 non-responsive. I can still use Alt+Ctrl+Fx to get to a terminal, though.

 * Window Decorations are missing

 * All my desktop effects are disabled

 Anyone here have any ideas?


 --
 Sláinte,
 Richard S. Crawford (rich...@underpope.com) http://www.underpope.com
 Twitter: http://twitter.com/underpope
 Facebook: http://www.facebook.com/underpope
 Google+: http://gplus.to/underpope


 ___
 vox-tech mailing list
 vox-tech@lists.lugod.org
 http://lists.lugod.org/mailman/listinfo/vox-tech



 ___
 vox-tech mailing list
 vox-tech@lists.lugod.org
 http://lists.lugod.org/mailman/listinfo/vox-tech


Hi Richard and Ryan,

I ended up reinstalling the entire KDE desktop. It was sort of a hail-Mary
pass, but it worked!
-- 
Sláinte,
Richard S. Crawford (rich...@underpope.com) http://www.underpope.com
Twitter: http://twitter.com/underpope
Facebook: http://www.facebook.com/underpope
Google+: http://gplus.to/underpope
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Default directory permissions

2012-02-14 Thread Richard S. Crawford
On Fri, Feb 10, 2012 at 9:05 PM, timri...@appahost.com wrote:

   Original Message 
  Subject: [vox-tech] Default directory permissions
  From: Richard S. Crawford rich...@underpope.com
  Date: Fri, February 10, 2012 5:17 pm
  To: lugod's technical discussion forum vox-tech@lists.lugod.org
 
 
  I have a directory on my server which has several people that can write
 to
  it. Each person has their own username but they all belong to the same
  group. I would like to make sure that every file and directory that is
  created in that directory are group-writable. In other words, if Rita
  (member of group psacln) creates a file or subdirectory, then Ginger
 (also
  a member of group psacln) should be able to write to it or delete it, and
  vice versa.

 The way to achieve group collaboration is to have new files and
 directories
 become the group name of the group, not the default group name of the
 creator. Also, new files and directories need to have the group's
 write bit set. Here are the commands:

 1) sudo chmod g+wxs .
 2) sudo chgrp psacln .
 3) sudo echo umask 0002  /etc/profile

 The key is the s-bit set on the directory. This has the special meaning
 of setting new files' and directories' group name to the group name
 of the directory, not the creator.

 The umask command says to always turn on the group's write bit for new
 files and directories.


All of the users are members of the group psacln and when they create files
or upload them via FTP, the files have the correct group assignment.
However, even after going through the steps you outlined above, new files
are not created with the proper permissions. When I FTP test.test with
Rita's account, the file has permissions -rw-r--r-- set. I need it to be
-rw-rw-r-- so that, say, Robin can edit or even overwrite test.test.


-- 
Sláinte,
Richard S. Crawford (rich...@underpope.com) http://www.underpope.com
Twitter: http://twitter.com/underpope
Facebook: http://www.facebook.com/underpope
Google+: http://gplus.to/underpope
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


[vox-tech] Default directory permissions

2012-02-10 Thread Richard S. Crawford
I have a directory on my server which has several people that can write to
it. Each person has their own username but they all belong to the same
group. I would like to make sure that every file and directory that is
created in that directory are group-writable. In other words, if Rita
(member of group psacln) creates a file or subdirectory, then Ginger (also
a member of group psacln) should be able to write to it or delete it, and
vice versa.

I have not been able to figure out how to set this up. Can anyone give me a
hand? This is probably something very simple that I just haven't been able
to figure out on my own.

-- 
Sláinte,
Richard S. Crawford (rich...@underpope.com) http://www.underpope.com
Twitter: http://twitter.com/underpope
Facebook: http://www.facebook.com/underpope
Google+: http://gplus.to/underpope
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


[vox-tech] SFTP From Linux to Win2003

2011-08-01 Thread Richard S. Crawford
I'm trying to edit some files that live on a Windows 2003 server, but when I
try to save files using SFTP, I'm told that I can't write to the server. The
server admin has given me full permissions to the directories I need to
write to, so I'm not sure what the issue is.

Can anyone help me out? The best solution I've come up with is using an
editor like Dreamweaver in a virtual Windows machine but that seems like far
too much trouble.

-- 
Sláinte,
Richard S. Crawford (rich...@underpope.com)
http://www.underpope.com
Twitter: http://twitter.com/underpope
Facebook: http://www.facebook.com/underpope
Google+: http://gplus.to/underpope
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


[vox-tech] Alternative to PHP Scripting

2011-07-11 Thread Richard S. Crawford
I've been trying to use PHP to create a backup script that would read
filenames from a directory, then copy those filenames into a .zip file, then
delete the original files. I wrote a PHP script to do this, but it seemed to
spawn so many httpd child processes that the server load skyrocketed and
users weren't able to get to our website.

So my question is, what other options do I have for performing this sort of
task?

-- 
Sláinte,
Richard S. Crawford (rich...@underpope.com)
http://www.underpope.com
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] creating a bootable USB key

2010-11-16 Thread Richard S. Crawford
I successfully used gtk-usb-creator to create a bootable USB key.


On Tue, Nov 16, 2010 at 10:14 AM, Brian Lavender br...@brie.com wrote:

 On Tue, Nov 16, 2010 at 01:29:13AM -0800, Thomas Johnston wrote:
 [snip]
 
  My question is, has anyone successfully made a bootable windows USB
  key using Linux? If so, how did you do it?

 Let me just share my own experience and see if it provides assistance.

 I have used Fedora's Live usb creator.
 https://fedorahosted.org/liveusb-creator/

 I also have used ubuntu's live usb creator
 http://www.pendrivelinux.com/creating-an-ubuntu-live-usb-from-cd/

 I have used the Knoppix Hacks by Kyle Rankin book to create a live usb
 as well.

 The Ubuntu creator won't create a live image from the Fedora image.


 brian
 --
 Brian Lavender
 http://www.brie.com/brian/

 Program testing can be used to show the presence of bugs, but never to
 show their absence!

 Professor Edsger Dijkstra
 1972 Turing award recipient
 ___
 vox-tech mailing list
 vox-tech@lists.lugod.org
 http://lists.lugod.org/mailman/listinfo/vox-tech




-- 
Sláinte,
Richard S. Crawford (rich...@underpope.com)
http://www.underpope.com
Publisher and Editor in Chief, Daikaijuzine (http://www.daikaijuzine.com)
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


[vox-tech] Write but not delete...

2010-06-22 Thread Richard S. Crawford
I don't think this is possible, but I promised I would look into it.

Is it possible to set the permissions on a directory such that users can add
and modify files, but not delete them?


-- 
Sláinte,
Richard S. Crawford (rich...@underpope.com)
http://www.underpope.com
Publisher and Editor in Chief, Daikaijuzine (http://www.daikaijuzine.com)
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Write but not delete...

2010-06-22 Thread Richard S. Crawford
Actually, I was apparently misinformed as to the nature of the request. What
is really wanted is for users to be able to upload a file into a given
directory, but NOT modify, rename, or delete them, even if they own the
file.


-- 
Sláinte,
Richard S. Crawford (rich...@underpope.com)
http://www.underpope.com
Publisher and Editor in Chief, Daikaijuzine (http://www.daikaijuzine.com)
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


[vox-tech] What could be interfering with my wireless

2009-06-01 Thread Richard S. Crawford
Here's the setup: my DSL modem hooks directly up to my router. My
desktop computer connects to a router and has a static IP address,
192.168.1.110.

Also coming from the router is my wireless access point, which also
has a static IP address, 192.168.1.200. My wife's computer connects
exclusively via wireless, but her computer also has a static IP
address. I have disabled DHCP on my router, so everything has static
IP addresses. The layout looks something like this:



DSL Modem -- Router -- My computer (192.168.1.110)
|
   +-- WAP (192.168.1.200) -- Wife's computer



(My apologies if this rough schematic looks miserable on your screen.
I think you get the basic idea.

Every so often, the WAP drops its signal, which isn't too surprising.
What's surprising and extremely annoying is that it appears that some
process on my own computer -- 192.168.1.110 -- causes the WAP to drop
its signal, which boots my wife off the Internet. Sometimes the
problem can be resolved by power cycling the WAP, but sometimes I have
to reboot my own computer before her connection can be re-established.

I'm off to get a long-ass cable to connect her computer right to the
router, but I wondered if anyone has any ideas as to how this could be
happening.


-- 
Richard S. Crawford (rscrawf...@mossroot.com)
http://www.mossroot.com
Publisher and Editor in Chief, Daikaijuzine (http://www.daikaijuzine.com)
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] [fwd] Cal Tea Party Needs Computer/Sys Admin Help

2009-05-05 Thread Richard S. Crawford
That's okay, Bill. I don't blame you.

On Tue, May 5, 2009 at 6:20 PM, Bill Kendrick n...@sonic.net wrote:
 - Fwd via Lee Welter. He said to pass it along to a LUGOD list. -

 From: Nancy Craighill   nancycraighill at  mac  d-o-t com
 Sent: Monday, May 4, 2009 11:02:35 PM GMT -08:00 US/Canada Pacific
 Subject: Cal Tea Party Needs Computer/Sys Admin Help

 I need help organizing all the contacts we made at the Sac Tea Party
 on April 15th. Please contact me if you are or know someone who is a
 computer system administrator familiar with GNU Mailman that can
 volunteer a few hours. Referrals must be patriotic and trustworthy!
 Thanks.

 - Nancy

 - End forwarded message -

 --
 -bill!
 Sent from my computer
 ___
 vox-tech mailing list
 vox-tech@lists.lugod.org
 http://lists.lugod.org/mailman/listinfo/vox-tech




-- 
Richard S. Crawford (rscrawf...@mossroot.com)
http://www.mossroot.com
Publisher and Editor in Chief, Daikaijuzine (http://www.daikaijuzine.com)
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


[vox-tech] Need help creating rewritecond in Apache

2008-12-16 Thread Richard S. Crawford
The problem: For the next few days, when visitors browse our site, we
need to redirect them to a different subdomain, www2. However, there
are some resources on our original site that visitors will need to
view from that subdomain; these resources are typically retrieved by a
script called view.php. In the resources subdirectory there's an
.htaccess file that redirects back to the main domain, but, of course,
the rewrite script on the main server simply sends the user back to
the www2 subdomain.

Can anyone help?

-- 
Richard S. Crawford (rscrawf...@mossroot.com)
http://www.mossroot.com
Publisher and Editor in Chief, Daikaijuzine (http://www.daikaijuzine.com)
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Need help creating rewritecond in Apache

2008-12-16 Thread Richard S. Crawford
On Tue, Dec 16, 2008 at 4:22 PM, Alex Mandel tech_...@wildintellect.com wrote:

 Can you post the relevant part of your rules, it sounds like you need an
 exception to the initial redirect to allow access to the particular
 resource on the original server.

Alex,

Actually, at this point, I just convinced my boss that it would be
easier to copy the resource files over to the temporary subdomain,
rather than try to come up with a complicated set of rewrite rules.
Thanks, though.

-- 
Richard S. Crawford (rscrawf...@mossroot.com)
http://www.mossroot.com
Publisher and Editor in Chief, Daikaijuzine (http://www.daikaijuzine.com)
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Ubuntu Security Software

2008-08-15 Thread Richard S. Crawford
On Fri, Aug 15, 2008 at 3:35 PM, Steve Weiss [EMAIL PROTECTED] wrote:
 I've been following the fascinating Verify Ubuntu files discussion and can
 see how complex an issue system security is. But my question is, what do you
 recommend a newbie like me do for security? I've been running Ubuntu on my
 laptop since an Installfest last Fall, but haven't found the time to learn
 much about its innards yet.

 When I asked Chris and Alex this at the time, they both shrugged their
 shoulders and said basically don't click any links you don't trust, and that
 Linux doesn't get much hacker attention. Neither recommended running any
 kind of security suite for Linux.

 I find this approach a little scary after many years using various Windows
 security suites and discussions like yours.  And trust is a relative
 thing. What would you all recommend for new users? Are there good
 virus/firewall/spyware packages for Ubuntu that are reasonably automated?

Steve,

I am hardly an expert myself, but I will say this: I've rebuilt
several Windows boxes that had been compromised by malware, viruses,
adware, and more. I once set up an FTP server on Windows, and it was
broken into within a day, in spite of the really tight protection I
put on it. A Windows box with the latest installations of Norton,
AdAware, etc., etc., running tight firewalls, etc., *will* be hacked.
It really just is a matter of time. (Caveat: I haven't used much
Windows since W2K, and I understand that WinXP and Vista are much
tighter).

I've been running Linux since 2000, and various flavors of Ubuntu
(mostly Kubuntu, but I also have an Xubuntu laptop) since 2005. And I
have never once had to rebuild a Linux box because it had been
compromised in any way (I've had to rebuild several Linux boxes that I
broke myself, but that's a different story). I'd say that as long as
you keep up with the updates when you computer tells you about them,
you'll be fine.

-- 
Richard S. Crawford ([EMAIL PROTECTED])
http://www.mossroot.com
Publisher and Editor in Chief, Daikaijuzine (http://www.daikaijuzine.com)
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


[vox-tech] Limiting FTP User access to certain subdirectories

2008-05-01 Thread Richard S. Crawford
Here's what I'm trying to do. Maybe I'm shooting for the moon here, but it
can't hurt to try.

I have several sites on my host, and several users who need access to
subdirectories within those sites. For example:

/V_HOST/SITE_ONE/CAMPUS/COURSES
/V_HOST/SITE_TWO/CAMPUS/COURSES

We have educational designers who need to be able to get into the COURSES
directories of SITE_ONE and SITE_TWO, but not in any other subdirectory, or
any subdirectory above the COURSES subdirectories. In an ideal world, my
educational designers would only have to worry about one login, rather than
having to have a second login for each site.

I created a subdirectory under V_HOST called designers. Under designers
I created one subdirectory for each designer. Then in each of those
subdirectories I created a symbolic link to the various COURSES
subdirectories. For example:

/V_HOST/DESIGNERS/USER_1
 COURSES_ONE - /V_HOST/SITE_ONE/COURSES
 COURSES_TWO - /V_HOST/SITE_TWO/COURSES

This didn't work until I gave the user account for each designers the same
UID as the user that owns the entire site. I thought it was a great solution
until I discovered that the education designers, once they followed the
symbolic links to the COURSES subdirectories, could then browse to higher
level directories in their FTP client. I trust the designers not to make any
willful changes to the code elsewhere, but accidents can happen. Plus we're
talking about allowing people outside our office having access to the
courses subdirectories.

I tried creating a new user account and switching ownership of the courses
subdirectories to that user, then setting the UID of one of my designers
accounts to the same UID as the new user, but I got a permission denied
error when I attempted to follow the symbolic link to the courses
subdirectory.

The host has SELinux enabled, and, unfortunately, I don't have the option of
disabling it.

Does anyone have any suggestions for how to go about doing what I want to
do? Am I living in a dreamworld here?

-- 
Richard S. Crawford ([EMAIL PROTECTED])
http://www.mossroot.com
Publisher and Editor in Chief, Daikaijuzine (http://www.daikaijuzine.com)
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


[vox-tech] External Drive Solutions?

2007-12-09 Thread Richard S. Crawford
I just got a brand new computer (and man, is it a treat to work with a 
computer with a decent graphics card!), and I'm pretty happy with it: a Dell 
Inspiron which came with no OS, and on which I stuck Kubuntu the moment it 
came into my house.

The problem is that I've got two large-ish hard drives in two other 
computers -- a 160GB and a 200GB -- that I don't want to get rid of (they're 
both decent, solid drives and I have no reason to get rid of them).  They're 
both IDE drives, though, and my new computer only has SATA controllers, and 
only one spare bay anyway.  What's the best way to make these drives 
available to the other computers in my network without having to put them in 
another computer?  I went and bought a Netgear SC101, but didn't realize 
until after I got home that this wasn't going to do it for me.  I like the 
idea of this device, but I need something that will work with Linux *and* 
Windows that that won't suck.

Anyone got any suggestions?

-- 
Richard S. Crawford
Editor-in-chief, Daikaijuzine (http://www.daikaijuzine.com)
Personal website: http://www.mossroot.com
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Linksys WPC54G wireless card configuration for Ubuntu

2007-06-09 Thread Richard S. Crawford
On Saturday 09 June 2007 20:38:32 Hai Yi wrote:
 Anyway, does anyone know any good and practical link for the wireless
 configuration for linux? My wireless card is linksys WPC54G-2, OS is
 Ubuntu Linux.

Hai,

Assuming you're using ndiswrapper to get your Linksys wireless card working, 
try adding this line to /etc/modprobe.d/blacklist

blacklist bcm43xx

Then reboot.


-- 
Richard S. Crawford (http://www.mossroot.com)
Editor In Chief, Daikaijuzine (http://www.daikaijuzine.com)
AIM: Buffalo2K / GTalk: [EMAIL PROTECTED]
We are here to help each other get through this thing, whatever it is.
(Kurt Vonnegut, 1922 - 2007)
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


[vox-tech] Postfix question: restricting domains

2007-04-24 Thread Richard S. Crawford
Is there a quick and dirty way of configuring PostFix so that it can only
deliver mail to addresses within a particular domain?  Our system has a
number of email addresses in our database, but I don't want mail going to
any but those from a particular domain.


-- 
Richard S. Crawford (http://www.mossroot.com)
Editor-in-Chief, Daikaijuzine (http://www.daikaijuzine.com)
Personal is not the same as important.
   --Carrot Ironfoundersson
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Re: convincing Kubuntu to see my digital camera

2007-03-16 Thread Richard S. Crawford
On Friday 16 March 2007 15:26:34 Cylar Z wrote:
 Just wanted to say thanks for posting this. I'm
 about to install Kubuntu as my primary, day-to-day
 desktop OS. (I've decided to give it a try after
 reading so many good things about Ubuntu over on the
 general vox list, and most of my Linux-using friends
 seem to prefer KDE over Gnome.)

 And like many, I have a digital camera. I also had
 some concerns over whether or not all my USB devices
 would work as well as they did under Win XP. Thanks
 for sending this bit of knowledge our way - it's good
 to know I can refer to it if I have the same problem
 you did!

FWIW, I've been using Kubuntu as my primary OS at home since version 5.10, and 
I've loved it every step of the way, though in some of the earlier months of 
the Edgy Eft (6.10) release, I had issues with the Flash plugin on Firefox, 
and up until KDE 3.5.6 was released, I was unable to sync my Sony Clie.  USB 
devices, including my MP3 player, have never given me any problems.

-- 
Richard S. Crawford (http://www.mossroot.com)
Editor In Chief, Daikaijuzine (http://www.daikaijuzine.com)
AIM: Buffalo2K / GTalk: [EMAIL PROTECTED]
You can't trust your judgement when your imagination is out of focus.
(Mark Twain)
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Internet Connectivity Weirdness

2007-03-12 Thread Richard S. Crawford
On Monday 12 March 2007 02:01:59 am Jeff Newmiller wrote:
 Richard S. Crawford wrote:
  On Sunday 11 March 2007 09:39:29 pm Jeff Newmiller wrote:
 Richard S. Crawford wrote:
 Over the past few days, I've been unable to reach my work website,
 http://www.extensiondlc.net, from home.  I can reach just about every
 other website in the world just fine; it's just that one (and its
  various subdomains) that are causing the problems.  Furthermore, I can
  reach the host, http://whsecure.net, just fine, but no subdomains. 
  This problem is only happening at home.
 
 When I try traceroute from any of the computers on my network, I get
 this:
 
 [EMAIL PROTECTED]:~
 $ traceroute extensiondlc.net
 traceroute to extensiondlc.net (66.232.56.196), 30 hops max, 40 byte
 packets 1 * * *
  2 * * *
  3 * * *
  4 * * *
 ...
 30 * * *
 
 I get the same output no matter which site I try to traceroute to.
 
 In my experience, if I get timeouts at every instance in a traceroute,
  it means my connection is down; yet, as I mentioned, I can get to just
  about everywhere on the web except for that one domain just fine.
 
 I have already contacted my DSL provider, who insisted (naturally) that
 nothing was wrong, and that they could not escalate my call.
 
 Can anyone offer some insight?\
 
 What is the output of
 
netstat -nr
 
 and
 
ip link
 
 from your home machines? Also, what is doing the routing for your
 home network? One of your linux boxes, or a commercial router?
 
  [EMAIL PROTECTED]:~
  $ netstat -nr
  Kernel IP routing table
  Destination Gateway Genmask Flags   MSS Window  irtt
  Iface 192.168.1.0 0.0.0.0 255.255.255.0   U 0 0  
 0 eth0 0.0.0.0 192.168.1.1 0.0.0.0 UG0 0  
 0 eth0
 
  [EMAIL PROTECTED]:~
  $ ip link
  1: lo: LOOPBACK,UP,1 mtu 16436 qdisc noqueue
  link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
  2: eth0: BROADCAST,MULTICAST,UP,1 mtu 1500 qdisc pfifo_fast qlen
  1000 link/ether 00:30:bd:b3:f9:2f brd ff:ff:ff:ff:ff:ff
  3: sit0: NOARP mtu 1480 qdisc noop
  link/sit 0.0.0.0 brd 0.0.0.0
 
 
  I've got a Linksys router doing my routing for me.  :)

 The fact that the traceroute fails at the Linksys is wierd.
 If it failed outside your network, I could see the problem being
 an ISP router issue... but you can't even get a response from
 your own router.

 I was hoping an explanation might be found in a dead route to a vpn,
 but your response above indicates no dead routes on your computer.

 It is generally best to troubleshoot connectivity problems with
 IP numbers first... then when all that works, use DNS names to
 check out your DNS resolution.  Does traceroute work for other
 public IP addresses?

Nope, it fails with all public IP addresses.

If this were a router issue, though, wouldn't I be unable to get out at all?

-- 
Richard S. Crawford (http://www.mossroot.com)
Editor In Chief, Daikaijuzine (http://www.daikaijuzine.com)
AIM: Buffalo2K / GTalk: [EMAIL PROTECTED]
You can't trust your judgement when your imagination is out of focus.
(Mark Twain)
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Internet Connectivity Weirdness

2007-03-12 Thread Richard S. Crawford
On Monday 12 March 2007 09:24:52 am Jeff Newmiller wrote:
 Richard S. Crawford wrote:
  On Monday 12 March 2007 02:01:59 am Jeff Newmiller wrote:
 Richard S. Crawford wrote:
 On Sunday 11 March 2007 09:39:29 pm Jeff Newmiller wrote:
 Richard S. Crawford wrote:
 Over the past few days, I've been unable to reach my work website,
 http://www.extensiondlc.net, from home.  I can reach just about every
 other website in the world just fine; it's just that one (and its
 various subdomains) that are causing the problems.  Furthermore, I can
 reach the host, http://whsecure.net, just fine, but no subdomains.
 This problem is only happening at home.
 
 When I try traceroute from any of the computers on my network, I get
 this:
 
 [EMAIL PROTECTED]:~
 $ traceroute extensiondlc.net
 traceroute to extensiondlc.net (66.232.56.196), 30 hops max, 40 byte
 packets 1 * * *
 2 * * *
 3 * * *
 4 * * *
 ...
 30 * * *
 
 I get the same output no matter which site I try to traceroute to.
 
 In my experience, if I get timeouts at every instance in a traceroute,
 it means my connection is down; yet, as I mentioned, I can get to just
 about everywhere on the web except for that one domain just fine.
 
 I have already contacted my DSL provider, who insisted (naturally)
  that nothing was wrong, and that they could not escalate my call.
 
 Can anyone offer some insight?\
 
 What is the output of
 
   netstat -nr
 
 and
 
   ip link
 
 
 from your home machines? Also, what is doing the routing for your
 
 home network? One of your linux boxes, or a commercial router?
 
 [EMAIL PROTECTED]:~
 $ netstat -nr
 Kernel IP routing table
 Destination Gateway Genmask Flags   MSS Window  irtt
 Iface 192.168.1.0 0.0.0.0 255.255.255.0   U 0 0
0 eth0 0.0.0.0 192.168.1.1 0.0.0.0 UG0 0
0 eth0
 
 [EMAIL PROTECTED]:~
 $ ip link
 1: lo: LOOPBACK,UP,1 mtu 16436 qdisc noqueue
 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
 2: eth0: BROADCAST,MULTICAST,UP,1 mtu 1500 qdisc pfifo_fast qlen
 1000 link/ether 00:30:bd:b3:f9:2f brd ff:ff:ff:ff:ff:ff
 3: sit0: NOARP mtu 1480 qdisc noop
 link/sit 0.0.0.0 brd 0.0.0.0
 
 
 I've got a Linksys router doing my routing for me.  :)
 
 The fact that the traceroute fails at the Linksys is wierd.
 If it failed outside your network, I could see the problem being
 an ISP router issue... but you can't even get a response from
 your own router.
 
 I was hoping an explanation might be found in a dead route to a vpn,
 but your response above indicates no dead routes on your computer.
 
 It is generally best to troubleshoot connectivity problems with
 IP numbers first... then when all that works, use DNS names to
 check out your DNS resolution.  Does traceroute work for other
 public IP addresses?
 
  Nope, it fails with all public IP addresses.
 
  If this were a router issue, though, wouldn't I be unable to get out at
  all?

 No... it sounds like something is blocking the traceroute packets, and
 I am betting on your Linksys. Note that on windows, tracert uses ICMP
 packets, and on *nix uses UDP packets unless you use the -I option. [1]
 Since http connections use TCP packets, you probably have two different
 problems... trying out -I and looking through your Linksys configuration
 should turn up the problem.

 [1]
 http://joesbitbucket.blogspot.com/2006/10/linux-traceroute-vs-windows-trace
rt.html

$traceroute -I www.extensiondlc.net gave me exactly the same output: * * *, 
etc.  I went ahead and replaced the router, and while I still can't reach the 
domain in question, at least now I know my router isn't to blame, unless 
something *really* weird is happening on my network.  Here's the newest 
traceroute:

[EMAIL PROTECTED]:~
$ traceroute www.extensiondlc.net
traceroute to www.extensiondlc.net (66.232.56.196), 30 hops max, 40 byte 
packets
 1  192.168.1.1 (192.168.1.1)  0.344 ms  0.566 ms  0.275 ms
 2  adsl-63-207-85-254.dsl.scrm01.pacbell.net (63.207.85.254)  8.614 ms  8.041 
ms  7.606 ms
 3  dist2-vlan50.scrm01.pbi.net (64.171.152.67)  7.721 ms  7.329 ms  7.512 ms
 4  151.164.93.214 (151.164.93.214)  7.670 ms  8.414 ms  7.937 ms
 5  bb1-p13-3.crsfca.sbcglobal.net (151.164.43.233)  11.351 ms  12.441 ms  
12.935 ms
 6  ex1-p3-0.eqsjca.sbcglobal.net (151.164.41.101)  15.630 ms  14.359 ms  
14.368 ms
 7  ge3-17-1000M.ar2.SJC2.gblx.net (64.212.107.29)  20.968 ms  20.909 ms  
22.395 ms
 8  te1-1-10G.ar1.MIA2.gblx.net (67.17.108.62)  98.720 ms  98.969 ms  99.234 
ms
 9  INTERNAP.Tengigabitethernet2-2.ar1.MIA2.gblx.net (64.212.16.166)  98.212 
ms  78.993 ms  78.186 ms
10  border5.pc2.bbnet2.mia003.pnap.net (69.25.0.77)  170.763 ms  171.136 ms  
207.161 ms
11  webhosting-9.border5.mia003.pnap.net (216.52.162.66)  78.639 ms  79.149 ms  
78.487 ms
12  * * *
13  * * *
14  * * * 
etc.

The trick now is convincing the folks at Webhosting.net that the problem is 
closer to them than it is to me.




-- 
Richard S. Crawford (http

Re: [vox-tech] Internet Connectivity Weirdness - RESOLVED

2007-03-12 Thread Richard S. Crawford
Turns out the hosting company's IDN had blocked my IP address, apparently for 
some unusual traffic last Thursday -- which was me optimizing our database.

Thanks for your suggestions and help, y'all.

-- 
Richard S. Crawford (http://www.mossroot.com)
Editor In Chief, Daikaijuzine (http://www.daikaijuzine.com)
AIM: Buffalo2K / GTalk: [EMAIL PROTECTED]
You can't trust your judgement when your imagination is out of focus.
(Mark Twain)
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


[vox-tech] Internet Connectivity Weirdness

2007-03-11 Thread Richard S. Crawford
Over the past few days, I've been unable to reach my work website, 
http://www.extensiondlc.net, from home.  I can reach just about every other 
website in the world just fine; it's just that one (and its various 
subdomains) that are causing the problems.  Furthermore, I can reach the 
host, http://whsecure.net, just fine, but no subdomains.  This problem is 
only happening at home.

When I try traceroute from any of the computers on my network, I get this:

[EMAIL PROTECTED]:~
$ traceroute extensiondlc.net
traceroute to extensiondlc.net (66.232.56.196), 30 hops max, 40 byte packets
 1 * * *
 2 * * *
 3 * * *
 4 * * *
...
30 * * *

I get the same output no matter which site I try to traceroute to.

In my experience, if I get timeouts at every instance in a traceroute, it 
means my connection is down; yet, as I mentioned, I can get to just about 
everywhere on the web except for that one domain just fine.

I have already contacted my DSL provider, who insisted (naturally) that 
nothing was wrong, and that they could not escalate my call.

Can anyone offer some insight?\

-- 
Richard S. Crawford (http://www.mossroot.com)
Editor In Chief, Daikaijuzine (http://www.daikaijuzine.com)
AIM: Buffalo2K / GTalk: [EMAIL PROTECTED]
You can't trust your judgement when your imagination is out of focus.
(Mark Twain)
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Internet Connectivity Weirdness

2007-03-11 Thread Richard S. Crawford
On Sunday 11 March 2007 09:39:29 pm Jeff Newmiller wrote:
 Richard S. Crawford wrote:
  Over the past few days, I've been unable to reach my work website,
  http://www.extensiondlc.net, from home.  I can reach just about every
  other website in the world just fine; it's just that one (and its various
  subdomains) that are causing the problems.  Furthermore, I can reach the
  host, http://whsecure.net, just fine, but no subdomains.  This problem is
  only happening at home.
 
  When I try traceroute from any of the computers on my network, I get
  this:
 
  [EMAIL PROTECTED]:~
  $ traceroute extensiondlc.net
  traceroute to extensiondlc.net (66.232.56.196), 30 hops max, 40 byte
  packets 1 * * *
   2 * * *
   3 * * *
   4 * * *
  ...
  30 * * *
 
  I get the same output no matter which site I try to traceroute to.
 
  In my experience, if I get timeouts at every instance in a traceroute, it
  means my connection is down; yet, as I mentioned, I can get to just about
  everywhere on the web except for that one domain just fine.
 
  I have already contacted my DSL provider, who insisted (naturally) that
  nothing was wrong, and that they could not escalate my call.
 
  Can anyone offer some insight?\

 What is the output of

netstat -nr

 and

ip link

 from your home machines? Also, what is doing the routing for your
 home network? One of your linux boxes, or a commercial router?

[EMAIL PROTECTED]:~
$ netstat -nr
Kernel IP routing table
Destination Gateway Genmask Flags   MSS Window  irtt Iface
192.168.1.0 0.0.0.0 255.255.255.0   U 0 0  0 eth0
0.0.0.0 192.168.1.1 0.0.0.0 UG0 0  0 eth0

[EMAIL PROTECTED]:~
$ ip link
1: lo: LOOPBACK,UP,1 mtu 16436 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: BROADCAST,MULTICAST,UP,1 mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:30:bd:b3:f9:2f brd ff:ff:ff:ff:ff:ff
3: sit0: NOARP mtu 1480 qdisc noop
link/sit 0.0.0.0 brd 0.0.0.0


I've got a Linksys router doing my routing for me.  :)

-- 
Richard S. Crawford (http://www.mossroot.com)
Editor In Chief, Daikaijuzine (http://www.daikaijuzine.com)
AIM: Buffalo2K / GTalk: [EMAIL PROTECTED]
You can't trust your judgement when your imagination is out of focus.
(Mark Twain)
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Internet Connectivity Weirdness

2007-03-11 Thread Richard S. Crawford
On Sunday 11 March 2007 10:09:10 pm Troy Arnold wrote:
 Have you tried power-cycling the Linksys ?  Maybe it's lost its mind.

Yeah, a couple of times.  That it's lost its mind isn't too remote a 
possibility.  It's a pretty old one (dating to 2000, I think).

-- 
Richard S. Crawford (http://www.mossroot.com)
Editor In Chief, Daikaijuzine (http://www.daikaijuzine.com)
AIM: Buffalo2K / GTalk: [EMAIL PROTECTED]
You can't trust your judgement when your imagination is out of focus.
(Mark Twain)
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


[vox-tech] A complicated SQL question

2006-11-09 Thread Richard S. Crawford
I have a number of rows in my database which look something like this:


id | username | canonicalname | password
---+--+---+---
01 | asmith   | ART SMITH | md5 encrypted password
02 | asmith1  | ART SMITH | NULL
03 | bjones   | BILL JONES| md5 encrypted password
04 | bjones12 | BILL JONES| NULL
---+--+---+---


There are something like 275 entries like these.  I'm having a hell of a time 
finding a way to select rows like 02 and 04, where canonicalname is a 
duplicate of the same value in another row and the password is blank, and 
then deleting those rows.  After executing my query, the table should look 
like this:


id | username | canonicalname | password
---+--+---+---
01 | asmith   | ART SMITH | md5 encrypted password
03 | bjones   | BILL JONES| md5 encrypted password
---+--+---+---


Is there a simple way to execute a single select query which would pull up all 
the rows I need?


-- 
Richard S. Crawford (http://www.mossroot.com)
Editor In Chief at Daikaijuzine (http://www.daikaijuzine.com)
Check out the Cthulhu Wiki: http://www.mossroot.com/cthulhuwiki
AIM: Buffalo2K / GTalk: [EMAIL PROTECTED]
Skype/Gizmo: underpope
You can't trust your judgement when your imagination is out of focus.
(Mark Twain)
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


[vox-tech] Automated backups of files on remote FTP server

2006-09-28 Thread Richard S. Crawford
I've been tasked with finding a way to backup our files on our remote host to 
a local server on a regular basis.  Trouble is I can only get to the remote 
host via FTP.  Both systems run Linux.

What's the best way to go about doing this?

-- 
Richard S. Crawford (http://www.mossroot.com)
Editor In Chief at Daikaijuzine (http://www.daikaijuzine.com)
Check out the Cthulhu Wiki: http://www.mossroot.com/cthulhuwiki
AIM: Buffalo2K / GTalk: [EMAIL PROTECTED]
Skype/Gizmo: underpope
You can't trust your judgement when your imagination is out of focus.
(Mark Twain)


pgpfbxRBhdOzV.pgp
Description: PGP signature
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Automated backups of files on remote FTP server

2006-09-28 Thread Richard S. Crawford
On Thursday 28 September 2006 12:13, Troy Arnold wrote:
 On Thu, Sep 28, 2006 at 12:05:50PM -0700, Richard S. Crawford wrote:
  I've been tasked with finding a way to backup our files on our remote
  host to a local server on a regular basis.  Trouble is I can only get to
  the remote host via FTP.  Both systems run Linux.
 
  What's the best way to go about doing this?

 Get the admin to install ssh...

A man can only dream.


 Your request is a bit vague,

Hm.  I tried to be specific.  In more detail:  We maintain our website on a 
remote Linux server run by a web hosting company.  We only have FTP access to 
the server; TelNet and SSH are not enabled with our account level, and we 
won't be raising our account level any time soon.

Now, in our building in Sacramento, we have a Linux server over which I have 
complete control.

What I would like to be able to do is this:  run an automated script on the 
local Linux server which would connect to the remote server over FTP and 
download all the files, recursively, to reproduce the file system locally 
(and, ideally, on a regular schedule, downloading only the files which have 
changed since the last time).  Normally I would use rsync for a task like 
this, but I have not been able to get it working over FTP.


 but if it requires much logic I'd probably use 
 the Perl Net::FTP module.  Here's an example swiped from an existing
 script:

I'll give that a try.  Thanks.

-- 
Richard S. Crawford (http://www.mossroot.com)
Editor In Chief at Daikaijuzine (http://www.daikaijuzine.com)
Check out the Cthulhu Wiki: http://www.mossroot.com/cthulhuwiki
AIM: Buffalo2K / GTalk: [EMAIL PROTECTED]
Skype/Gizmo: underpope
You can't trust your judgement when your imagination is out of focus.
(Mark Twain)
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


[vox-tech] Special Character Issues in a web page

2006-09-20 Thread Richard S. Crawford
This may be a dumb question, but can the backslash character be used to denote 
special characters on a webpage under some circumstances in addition to the 
ampersand?  I'm asking because as I review some of our old pages, some of our 
Spanish text pages seem to use, say, \351 to refer to the accented o 
character instead of oacute; or even #351.  Strangely, when I worked on 
these pages in a text editor, those characters were rendered as strange 
characters, nothing like what they were supposed to be.

Anyone have any thoughts?

-- 
Richard S. Crawford (http://www.mossroot.com)
Editor In Chief at Daikaijuzine (http://www.daikaijuzine.com)
Check out the Cthulhu Wiki: http://www.mossroot.com/cthulhuwiki
AIM: Buffalo2K / GTalk: [EMAIL PROTECTED]
Skype/Gizmo: underpope
You can't trust your judgement when your imagination is out of focus.
(Mark Twain)


pgpAQl6hRQcrJ.pgp
Description: PGP signature
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


[vox-tech] PHP Mail not sending mail

2006-09-18 Thread Richard S. Crawford
Here's the setup:

Apache 2.0
PHP 5
Postfix installed

The mail() function call looks like this:

$num_recipients = count($REPORT_INFO-recipients);
$report_subject = DLC Auto Enroll Report Available;
$report_headers = 'From: [EMAIL PROTECTED]'.\r\n.'Reply-To: 
[EMAIL PROTECTED]'.\r\n.'X-Mailer: PHP/'.phpversion();
$report_message = The TUBS/Moodle Integration Report is now available 
online.\n;
$report_message .= The URL is: .$REPORT_INFO-url.\n\n;
for ($i = 0; $i  $num_recipients; $i++) {
print pSending report to .$REPORT_INFO-recipients[$i]./p;
if (!mail($REPORT_INFO-recipients[$i],$report_subject,
$report_message,$report_headers)) {
print pReport could not be emailed/p;
}
}

The mail() call returns false, and no message is sent.  Yet Apache reveals no 
errors.  I have PHP's error reporting set to E_ALL  E_STRICT but no messages 
are generated.  The host's fully qualified domain name seems set 
appropriately.  No error messages are showing up in /var/log/mail.err.  I've 
confirmed that the email addresses in the REPORT_INFO-recipients array are 
properly set.  The command just doesn't send mail.

I've Googled until my eyes bleed but I can't figure out what might be going 
wrong here.  Anyone have any suggestions?

-- 
Richard S. Crawford (http://www.mossroot.com)
Editor In Chief at Daikaijuzine (http://www.daikaijuzine.com)
Check out the Cthulhu Wiki: http://www.mossroot.com/cthulhuwiki
AIM: Buffalo2K / GTalk: [EMAIL PROTECTED]
Skype/Gizmo: underpope
You can't trust your judgement when your imagination is out of focus.
(Mark Twain)


pgpniSBWfJoiJ.pgp
Description: PGP signature
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] PHP Mail not sending mail

2006-09-18 Thread Richard S. Crawford
On Monday 18 September 2006 11:34, Dave Margolis wrote:
 If you run php_info, what do you get back for your sendmail_path value?

 PHP depends on /usr/bin/sendmail (unless you change this val in your
 php.ini).  Postfix provides a compatible dummy sendmail, but it might
 not be where PHP is looking for it.

 ?

 php_info();

 ?

Shows /usr/sbin/sendmail.  When I execute whereis sendmail, that's the value I 
get.

I'm now getting an error in /var/log/mail.err:

localhost postfix/sendmail[21394]: fatal: Recipient addresses must be 
specified on the command line or via the -t option


-- 
Richard S. Crawford (http://www.mossroot.com)
Editor In Chief at Daikaijuzine (http://www.daikaijuzine.com)
Check out the Cthulhu Wiki: http://www.mossroot.com/cthulhuwiki
AIM: Buffalo2K / GTalk: [EMAIL PROTECTED]
Skype/Gizmo: underpope
You can't trust your judgement when your imagination is out of focus.
(Mark Twain)


pgpY51s1cQORt.pgp
Description: PGP signature
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] PHP Mail not sending mail

2006-09-18 Thread Richard S. Crawford
On Monday 18 September 2006 12:58, Dave Margolis wrote:
 Hmmm...

 Comment out your call to mail() and do an:

 echo $REPORT_INFO-recipients[$i];

 in the place of the call to mail().

 Be interesting to see if the e-mail addresses you expect to see are
 actually there.

That was one of the first things I checked.  

Seems to be working now.  I installed the PEAR Mail library, and have started 
using that.  It's proven effective.

-- 
Richard S. Crawford (http://www.mossroot.com)
Editor In Chief at Daikaijuzine (http://www.daikaijuzine.com)
Check out the Cthulhu Wiki: http://www.mossroot.com/cthulhuwiki
AIM: Buffalo2K / GTalk: [EMAIL PROTECTED]
Skype/Gizmo: underpope
You can't trust your judgement when your imagination is out of focus.
(Mark Twain)


pgpHpmgIEvBIC.pgp
Description: PGP signature
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Apache reinstallation failing

2006-09-14 Thread Richard S. Crawford
On Thursday 14 September 2006 05:30, Ken Bloom wrote:
 Apache2 is a dummy package, which exists only for the purpose of pulling
 in other dependancies, so running --reinstall on it will reinstall only
 the few documentation files that it contains, which are required by
 debian packaging policy. (--reinstall doesn't automatically reinstall a
 package's dependancies) Find the other apache packages that it pulled
 in and run apt-get --reinstall install on those. The packges that dpkg
 listed for you: apache2-mpm-prefork, apache2-utils, apache2-common are
 the ones you need to reinstall.

Thanks, Ken.  That's exactly what I needed!

-- 
Richard S. Crawford (http://www.mossroot.com)
Editor In Chief at Daikaijuzine (http://www.daikaijuzine.com)
Check out the Cthulhu Wiki: http://www.mossroot.com/cthulhuwiki
AIM: Buffalo2K / GTalk: [EMAIL PROTECTED]
Skype/Gizmo: underpope
You can't trust your judgement when your imagination is out of focus.
(Mark Twain)


pgpvbLhonKYDl.pgp
Description: PGP signature
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


[vox-tech] Apache reinstallation failing

2006-09-13 Thread Richard S. Crawford
I'm having nothing but grief trying to get Apache reinstalled on a Kubuntu 
server I've been building.  I installed Apache, then mistakenly installed 
Apache2 on top of that, then tried to uninstall both, not knowing 
that --reinstall was not an option with apt-get install.  Plenty of files 
were deleted manually, problems arose, hilarity failed to ensue.  Now when I 
try:

$ sudo apt-get --reinstall install apache2

apt tells me that Apache2 is being installed, but there are no /var/log files 
for Apache, and when I try to launch apache2 with /etc/init.d/apache2 start, 
there's no output, and Apache simply doesn't start.  When I tried recently to 
simply install Apache (not 2), I got the following:

[EMAIL PROTECTED]:/var/log
$ sudo apt-get --reinstall install apache
Reading package lists... Done
Building dependency tree... Done
Suggested packages:
  apache-doc
The following NEW packages will be installed:
  apache
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 385kB of archives.
After unpacking 827kB of additional disk space will be used.
Get:1 http://security.ubuntu.com dapper-security/universe apache 
1.3.34-2ubuntu0.1 [385kB]
Fetched 385kB in 3s (125kB/s)
Preconfiguring packages ...
Selecting previously deselected package apache.
(Reading database ...
dpkg: serious warning: files list file for package `apache2-mpm-prefork' 
missing, assuming package has no files currently installed.

dpkg: serious warning: files list file for package `apache2-utils' missing, 
assuming package has no files currently installed.

dpkg: serious warning: files list file for package `apache2-common' missing, 
assuming package has no files currently installed.

dpkg: serious warning: files list file for package `apache-common' missing, 
assuming package has no files currently installed.
71621 files and directories currently installed.)
Unpacking apache (from .../apache_1.3.34-2ubuntu0.1_i386.deb) ...
Setting up apache (1.3.34-2ubuntu0.1) ...
/var/lib/dpkg/info/apache.postinst: line 
12: /usr/share/apache/postinst.common: No such file or directory
dpkg: error processing apache (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 apache
E: Sub-process /usr/bin/dpkg returned an error code (1)



Can anyone lead me on the road to recovery here?

-- 
Richard S. Crawford (http://www.mossroot.com)
Editor In Chief at Daikaijuzine (http://www.daikaijuzine.com)
Check out the Cthulhu Wiki: http://www.mossroot.com/cthulhuwiki
AIM: Buffalo2K / GTalk: [EMAIL PROTECTED]
Skype/Gizmo: underpope
You can't trust your judgement when your imagination is out of focus.
(Mark Twain)


pgpmOBQn4wROU.pgp
Description: PGP signature
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


[vox-tech] Why change default ssh port?

2006-06-12 Thread Richard S. Crawford
Our hosting service has (without notice) changed our default ssh port from
22 to 22799.  This strikes me as an unusual decision, but I am still a
novice at this sort of thing.  Why would a host make such a switch (I
won't ask why they wouldn't announce it ahead of time; I'm used to that
level of service from them).


-- 
Richard S. Crawford
http://www.mossroot.com
That which does not kill me makes me stranger.
--Llewellyn
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Setting default directory for FTP users

2006-04-14 Thread Richard S. Crawford

Micah J. Cowan wrote:

 Of course, in your specific example, why not set his actual home
 directory to wherever you want him to go in the first place? Since he
 won't be logging in, he'll never need a separate home.

Thanks.  That's exactly what I wound up doing.  :)

Of course, I may end up disabling FTP altogether and only allowing SSH and
SCP.  That's my preference; we'll see how it goes.


-- 
Richard S. Crawford
http://www.mossroot.com
That which does not kill me makes me stranger.
--Llewellyn
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


[vox-tech] STDOUT and /dev/null

2006-02-28 Thread Richard S. Crawford
I've got some scripts which run every five minutes via cron.  The crontab
entry looks like this:

*/5 * * * * wget -q http://our.server.com/admin/cron.php  /dev/null 21

As I understand it, this should be directing any output from cron.php to
/dev/null.  It doesn't, however, and my root directory fills up very
quickly with output files from the script.

Am I missing something here?


-- 
Richard S. Crawford
http://www.mossroot.com
That which does not kill me makes me stranger.
--Llewellyn
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] php and including with absolute paths

2006-01-17 Thread Richard S. Crawford

Peter Jay Salzman wrote:
 Is it possible to ask PHP to include/require files with an absolute
 pathname
 rather than pathname relative to PHP's search path?  I'd like to do
 something along the lines of:

require_once('/www/foo/bar.php');

Do you mean from the server's root?  Should be, though it might depend on
your server's setup.  I do it all the time, particularly with config.php
files that need to be included in every file throughout a site's directory
structure.  For example:

require_once('/usr/www/users/jenipurr/mossroot/config.php');

You might also be able to use $_SERVER['DOCUMENT_ROOT'] for increased
portability, but I haven't actually done this myself (due mostly to
extreme laziness on my part).


-- 
Richard S. Crawford
http://www.mossroot.com
That which does not kill me makes me stranger.
--Llewellyn
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


[vox-tech] PHP: My object's method vanishes

2005-12-09 Thread Richard S. Crawford
This is for a wishlist program that I've been developing for my family.

I have a class called Person which looks something like this:



class Person {

  var $personFullName;
  var $recipientList;

  function Person ($personKey) {
global $CFG;
$personQuery = select * from .$CFG-db['prefix'].person where
personKey = $personKey;
if (!$person = dbquery($personQuery)) {
  return false;
}
$this = $person[0];
$this-personFullName = $this-personFirstName .   .
$this-personLastName;

  }

  function bob() {
  }

}



I can call the constructor object just fine with:



$USER = new Person($userKey);



However, when I try this:



USER-bob()



I get this error:



Fatal error: Call to undefined function: bob()



...which I don't understand at all, since I have another Class which is
called in pretty much the same way, and I have no problem calling any
methods for that other class.  I can't find any significant structural
differences between the two classes.

I tried introducing a deliberate error into the definition for the
function bob(), and sure enough the program died when the page with the
malformed function was loaded.

I'm sure I'm missing something very obvious which will embarrass me
completely once it's pointed out to me, but at the moment I have no idea
what it might be.

-- 
Richard S. Crawford
http://www.mossroot.com
That which does not kill me makes me stranger.
--Llewellyn
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


[vox-tech] PHP GD Issues

2005-11-16 Thread Richard S. Crawford
I'm starting to mess around with PHP-GD for the first time, and I'm
encountering an issue that's bugging me: the only image I get is just a
black box, even if I set the color to white.

Here's the code in question:

?php
// Set the content-type
header(Content-type: image/png);

// Create the image
$im = imagecreatetruecolor(400, 50);

// Create some colors
$white = imagecolorallocate($im, 255, 255, 255);
$grey = imagecolorallocate($im, 204, 204, 204);
$black = imagecolorallocate($im, 0, 0, 0);

// The text to draw
$text = 'Testing...';
// Replace path by your own font path
$font = '/path/to/font/arial.ttf';

// Add some shadow to the text
imagettftext($im, 20, 0, 11, 21, $grey, $font, $text);

// Add the text
imagettftext($im, 20, 0, 10, 20, $black, $font, $text);

// Using imagepng() results in clearer text compared with imagejpeg()
imagepng($im);
imagedestroy($im);
?

...and the image it creates:

http://mossroot.com/imgtest.php

Looking at phpinfo(), I see that GD is installed, TTF support is enabled,
and FreeType support is enabled as well.  And I know that GD works on the
server, since I've got a couple of applications that use it and use it
successfully.  But all I get is this black box.

Any help would be greatly appreciated.
-- 
Richard S. Crawford
http://www.mossroot.com
That which does not kill me makes me stranger.
--Llewellyn
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Urgent news: Linux may be relicensed

2005-04-01 Thread Richard S. Crawford
Not necessarily THAT awful.  Linux was never more than a bunch of hacks
thrown together over the years by a bunch of anti-American subversives. 
Buggy, insecure, prone to crash if you look at it funny.

Fortunately, in our office, we've converted all of our Solaris and Linux
servers over to Windows 2003, and replaced Apache (did you know that the
name Apache comes from A Patchy Server?) with IIS.  Now THERE's a
secure OS!


The elder gods, manifesting through Peter Jay Salzman, recently decreed:
 Urgent breaking news:

 I can hardly believe it!   CNN is reporting that Linus Torvalds is
 considering re-licensing Linux under a closed-source license.  There's a
 huge argument on the Linux Kernel Mailing List right now over the move and
 many developers have been jumping ship.

 Linus claims the move to make Linux proprietary stems from differences in
 open source philosophy between the majority of Linux kernel hackers and
 GNU's upcoming version 3 of the General Public License.

 This is AWFUL news!!!

 I guess we might all have to start installing *BSD pretty soon!   :-(

 Pete
 ___
 vox-tech mailing list
 vox-tech@lists.lugod.org
 http://lists.lugod.org/mailman/listinfo/vox-tech



-- 
Sláinte,
Richard S. Crawford (AIM: Buffalo2K)
http://www.mossroot.com   http://www.stonegoose.com/catseyeview
We live as though the world were how it should be,
to show it what it can be.
--Angel, Season 4 ep. 1
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


[vox-tech] Apache question: preventing direct access to files

2005-03-10 Thread Richard S. Crawford
We've got some .pdf documents on our website that we'd rather people not
view by directly typing the URL into the browser; we want them to get
there via a link.

My boss is convinced that we can do this using the same tricks with the
.htaccess file that can be used to prevent images from being stolen.  I'm
not entirely sure about that.

Here's the .htaccess file in question.  I've kept all my failed attempts
and commented them out.  Any help would be grand.  The first one -- using
mod_auth_cookie -- seemed to work (because users shouldn't even be in that
directory unless they have logged in) but we needed a broader solution.

#AuthName DLC Resource Only
#AuthType Basic
#AuthUserFile /web/config/users.txt
#AuthGroupFile /web/config/groups.txt
#Require group members
#AuthCookieName CFTOKEN

#FilesMatch \.pdf$
#SetEnvIf Referer http://152.79.198.7; local_referrer=1
#Order Allow, Deny
#Deny from all
#Allow from env=local_referrer
#/FilesMatch

#RewriteEngine on
#RewriteCond %{HTTP_REFERER} !=
#RewriteCond %{HTTP_REFERER}
#!=^http://152.79.198.7/cfmx/DLC/Campus/Courses/wineAnalysis/lesson_10/les_010_002.cfm;
#RewriteRule .*\.pdf$ - [F]

#SetEnvIf Referer ^http://152.79.198.7; internal

#Limit GET POST
#order deny,allow
#deny from all
#allow from env=internal
#/LIMIT


-- 
Sláinte,
Richard S. Crawford (AIM: Buffalo2K)
http://www.mossroot.com   http://www.stonegoose.com/catseyeview
We live as though the world were how it should be,
to show it what it can be.
--Angel, Season 4 ep. 1
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Apache question: preventing direct access to files

2005-03-10 Thread Richard S. Crawford

And behold, Micah Cowan flailed at a keyboard and did expound:

 Since you seem to be using ColdFusion (evidence has been snipped), you
 could probably write a short wrapper that will serve up the pdf file if
 the person deserves it; and remove the PDF files to outside of the web
 docs repository.

I tried that.  Didn't work, because in the setup, CF pages are delivered
by the JRun server, and not by the Apache server, so I can't use an Apache
redirect to get the wrapper to work.  And if I use an Apache rewrite to
make the page *not* delivered by JRun (I can do this by removing the cfmx
from the URL), then the Cold Fusion page does not work. Oy.

Yes, it is exactly the same problem as the hotlinking to image issue.  I
was thinking about it in the wrong way.  Silly me.

Here's what I finally put into httpd.conf:

RewriteCond %{HTTP_REFERER} ^$ [OR]
RewriteCond %{HTTP_REFERER} !^http://152.79.198.7/.*\cfm
RewriteRule .*\.pdf$ - [F]

I also added:

RewriteRule ^/cfmx/(.*\.pdf)$ /$1 [R,L]

though it's probably not necessary.


 BTW, don't ColdFusion suck? :-)

Yeah.  Oh, yeah.  More than you can imagine.  Fortunately, we're going to
start transitioning over to a PHP solution starting next month (the
transition will probably take over a year, but I'm really excited about
it).


-- 
Sláinte,
Richard S. Crawford (AIM: Buffalo2K)
http://www.mossroot.com   http://www.stonegoose.com/catseyeview
We live as though the world were how it should be,
to show it what it can be.
--Angel, Season 4 ep. 1
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


[vox-tech] Cygwin's Identity Crisis

2005-03-08 Thread Richard S. Crawford
I love using Cygwin; it's a great tool, since I find that manipulating
files is much easier for me from the CLI than with a GUI.

This morning I SSH'ed into a remote box, though, and executed Vi; instead
of pulling up the editor, though, I got this message:

I don't know what kind of terminal you are on - all I have is 'cygwin'.
[Using open mode]

I can run Vi through PuTTY on the same remote computer, but it feels
inelegant to have two separate tools that can do the same thing.  Is there
a way to make Cygwin deliver a different terminal type, or to get the
remote machine to understand Cygwin?


-- 
Sláinte,
Richard S. Crawford (AIM: Buffalo2K)
http://www.mossroot.com   http://www.stonegoose.com/catseyeview
We live as though the world were how it should be,
to show it what it can be.
--Angel, Season 4 ep. 1
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Cygwin's Identity Crisis

2005-03-08 Thread Richard S. Crawford

And behold, Peter Jay Salzman flailed at a keyboard and did expound:

export TERM=linux

That didn't work, but:

 export TERM=xterm

worked just fine.

-- 
Sláinte,
Richard S. Crawford (AIM: Buffalo2K)
http://www.mossroot.com   http://www.stonegoose.com/catseyeview
We live as though the world were how it should be,
to show it what it can be.
--Angel, Season 4 ep. 1
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Cygwin's Identity Crisis

2005-03-08 Thread Richard S. Crawford

And behold, Ken Bloom flailed at a keyboard and did expound:
 On Tue, 8 Mar 2005 12:13:43 -0500
 [EMAIL PROTECTED] (Peter Jay Salzman) wrote:

 On Tue 08 Mar 05,  9:08 AM, Richard S. Crawford
 [EMAIL PROTECTED] said:
 
  And behold, Peter Jay Salzman flailed at a keyboard and did expound:
 
  export TERM=linux
 
  That didn't work,

 Wierd!  I was really expecting it to.  I am HIGHLY interested in the
 exact wording vi gave you when you tried to run vi with TERM set to
 linux.  I guess that means Cygwin's terminfo doesn't support the
 linux terminal. Considering what Cygwin is, perhaps that does make
 sense.  Dunno.

 He's not editing a local file in Cygwin -- he's used Cygwin to SSH into
 some other random system, but hasn't told us what that system is.

 (It would be nice to know what that system is)

D'oh!  Sorry about that.  The remote system is Solaris 9.


-- 
Sláinte,
Richard S. Crawford (AIM: Buffalo2K)
http://www.mossroot.com   http://www.stonegoose.com/catseyeview
We live as though the world were how it should be,
to show it what it can be.
--Angel, Season 4 ep. 1
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Cygwin's Identity Crisis

2005-03-08 Thread Richard S. Crawford

And behold, Bill Kendrick flailed at a keyboard and did expound:
 On Tue, Mar 08, 2005 at 09:25:25AM -0800, Richard S. Crawford wrote:

 D'oh!  Sorry about that.  The remote system is Solaris 9.

 surly mechanic well there's yer problem, right there! /surly

Oh, I agree.  After 18 months working on Solaris, I still haven't learned
to love it.  Or even like it very much.  Or at all.  Fortunately, we'll be
transitioning to Linux over the next year.

-- 
Sláinte,
Richard S. Crawford (AIM: Buffalo2K)
http://www.mossroot.com   http://www.stonegoose.com/catseyeview
We live as though the world were how it should be,
to show it what it can be.
--Angel, Season 4 ep. 1
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Cygwin's Identity Crisis

2005-03-08 Thread Richard S. Crawford
And behold, Ken Bloom flailed at a keyboard and did expound:

 On the local cygwin, run
 $ infocmp cygwin  readable_file
 this will decompile the terminfo file from cygwin
 now copy readable_file to the solaris box
 now, on the solaris box, as root run
 # tic readable_file
 this will compile the decompiled file and put the compiled file in the
 appropriate directory.

That seemed to work perfectly, even better than export TERM=xterm (which
seemed to cause some minor problems).

-- 
Sláinte,
Richard S. Crawford (AIM: Buffalo2K)
http://www.mossroot.com   http://www.stonegoose.com/catseyeview
We live as though the world were how it should be,
to show it what it can be.
--Angel, Season 4 ep. 1
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] DE flame war.

2005-03-06 Thread Richard S. Crawford
On Sunday 06 March 2005 9:31 am, Peter Jay Salzman flailed at a keyboard and 
produced this:
 I was thinking of installing a DE on one of my computers.  Don't really know
 much about them.  Never really payed much attention.  I've always used twm
 or Enlightenment when I wanted eye-candy.
 
 I plan on installing KDE on a test basis to see how I like it unless there
 are any issues why I should install Gnome instead.
 
 Any compelling reason to use Gnome instead of KDE?
 
 I definitely don't want to run a display manager, and I'd like to keep
 Enlightenment as a wm.  I assume KDE can handle that

I used to use Gnome; I switched to KDE about two months ago and I haven't 
looked back.  On the other hand, I know people who have gone in exactly the 
opposite direction.  I suspect it's all a matter of personal taste.  I can't 
think of any compelling reason to use one or the other; I've run Gnome apps 
under KDE and vice versa, though they require sizable installations of their 
respective libraries.  I've also used Enlightenment with KDE and with Gnome, 
and I've used Fluxbox on top of KDE as well.  I didn't care for either of 
them personally, but, as I said, when it comes to a desktop environment, a 
lot of it really is just personal preference.

-- 
Slainte,
Richard S. Crawford (mailto: [EMAIL PROTECTED])
AIM: Buffalo2K / http://www.mossroot.com
You can't depend on your judgment when your imagination is out of focus.
-Mark Twain
GPG Public Key located at: http://www.mossroot.com/rscrawford.asc


pgpYOELWK2ZJy.pgp
Description: PGP signature
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


[vox-tech] PHP Question: Includes and Variables

2005-02-25 Thread Richard S. Crawford
Here's the situation.

My script, page1.php, calls a script in another directory called
config.php via require_once.  config.php declares several variables which
should be accessible in page1.php.  For example:

---
http://myphpsite.net/dir1/page1.php

?php

require_once(http://myphpsite.net/dir2/config.php;)

echo myVariable = $myVariable-daValue;

?
---
http://myphpsite.net/dir2/config.php

?php

$myVariable-daValue = Hello, World;

?
---

So when I execute page1.php, I should get:

myVariable = Hello, World

But I don't.  Instead the variable is undefined.  If I put the echo
command inside config.php, though, it displays properly.

I've confirmed that all permissions and ownerships and all that are the
same, and I can't find a configuration value in php.ini which might have
something to do with this.  It's acting as though $myVariable is only
defined within the scope of config.php, but I have no idea why that would
be.  It makes no sense to me at all.

Any suggestions besides taking a large sledgehammer to the server?


-- 
Sláinte,
Richard S. Crawford (AIM: Buffalo2K)
http://www.mossroot.com   http://www.stonegoose.com/catseyeview
We live as though the world were how it should be,
to show it what it can be.
--Angel, Season 4 ep. 1
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] PHP Question: Includes and Variables

2005-02-25 Thread Richard S. Crawford

Bill Kendrick said:
 On Fri, Feb 25, 2005 at 01:41:31PM -0800, Richard S. Crawford wrote:
 Here's the situation.

 My script, page1.php, calls a script in another directory called
 config.php via require_once.  config.php declares several variables
 which
 should be accessible in page1.php.  For example:

 Just to make sure, neither the require_once nor the echo are inside
 your own PHP functions, are they?

Nope.

But I found the problem.  Deep in the heart of some of the more obscure
documentation on php.net, I found this:

Please don't forget: values of included (or required) file variables are
NOT available in the local script if the included file resides on a remote
server.

So even though the include file was on the same server as the main script,
I was calling it via a URL, so the PHP processor was looking at it as an
HTTP request, so the variables inside the include script were not
available to my main script.  I changed the require_once call to reference
the include file by absolute path instead of by URL, and it works now.

-- 
Sláinte,
Richard S. Crawford (AIM: Buffalo2K)
http://www.mossroot.com   http://www.stonegoose.com/catseyeview
We live as though the world were how it should be,
to show it what it can be.
--Angel, Season 4 ep. 1
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Firefox question (long shot)

2005-02-23 Thread Richard S. Crawford
On Tuesday 22 February 2005 10:12 pm, Foo Lim flailed at a keyboard and 
produced this:

 Whoops..  Sorry.  I didn't read all the messages before replying..  =/

Heh.  Like I said, I found the compiled .swf file lurking in the /tmp 
directory.  I chmod'ed it to 755, chowned it, and uploaded it to my personal 
website.  So all is good.  :-D


-- 
Slainte,
Richard S. Crawford (mailto: [EMAIL PROTECTED])
AIM: Buffalo2K / http://www.mossroot.com
You can't depend on your judgment when your imagination is out of focus.
-Mark Twain
GPG Public Key located at: http://www.mossroot.com/rscrawford.asc


pgpcCG6tExZ0I.pgp
Description: PGP signature
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


[vox-tech] Firefox question (long shot)

2005-02-22 Thread Richard S. Crawford
Last night I loaded a Flash game into Firefox.  I haven't shut down the 
browser since then, so the Flash game is still loaded into my computer.  
Unfortunately, the game is no longer available at the site.

Anyone know if it's possible to extract the game from my browser's cache so 
that I can save it for future reference?

-- 
Slainte,
Richard S. Crawford (mailto: [EMAIL PROTECTED])
AIM: Buffalo2K / http://www.mossroot.com
You can't depend on your judgment when your imagination is out of focus.
-Mark Twain
GPG Public Key located at: http://www.mossroot.com/rscrawford.asc


pgp05SAQf22u1.pgp
Description: PGP signature
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Firefox question (long shot)

2005-02-22 Thread Richard S. Crawford
On Tuesday 22 February 2005 8:04 pm, Mark K. Kim flailed at a keyboard and 
produced this:
 Try, in BASH:
 
    $cd ~/.mozilla/firefox/*.default/Cache
    $for i in *; do file $i | grep -i flash; done
 
 Those are all the cached Flash files -- Back them up somewhere safe,
 append .swf extensions to them, and try loading them in the browser.
 
 It must be a really good game!

It's pretty spiffy.

Foolishly, I set my browser's cache to 0.  Never a problem until now; the 
command above returned nothing.  The game is apparently still in my 
computer's memory, though; is there a way to pull it out of there?

-- 
Slainte,
Richard S. Crawford (mailto: [EMAIL PROTECTED])
AIM: Buffalo2K / http://www.mossroot.com
You can't depend on your judgment when your imagination is out of focus.
-Mark Twain
GPG Public Key located at: http://www.mossroot.com/rscrawford.asc


pgpQuBMynl2Gv.pgp
Description: PGP signature
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Firefox question (long shot)

2005-02-22 Thread Richard S. Crawford
On Tuesday 22 February 2005 8:09 pm, Richard S. Crawford flailed at a keyboard 
and produced this:
 On Tuesday 22 February 2005 8:04 pm, Mark K. Kim flailed at a keyboard and 
 produced this:
  Try, in BASH:
  
   $cd ~/.mozilla/firefox/*.default/Cache
   $for i in *; do file $i | grep -i flash; done
  
  Those are all the cached Flash files -- Back them up somewhere safe,
  append .swf extensions to them, and try loading them in the browser.
  
  It must be a really good game!
 
 It's pretty spiffy.
 
 Foolishly, I set my browser's cache to 0.  Never a problem until now; the 
 command above returned nothing.  The game is apparently still in my 
 computer's memory, though; is there a way to pull it out of there?

Hah!  Got it!  It was lurking in the /tmp directory.  Duh.

For future reference, I've uploaded the game to my personal website:

http://mossroot.com/nanaca-crash_v104.swf

-- 
Slainte,
Richard S. Crawford (mailto: [EMAIL PROTECTED])
AIM: Buffalo2K / http://www.mossroot.com
You can't depend on your judgment when your imagination is out of focus.
-Mark Twain
GPG Public Key located at: http://www.mossroot.com/rscrawford.asc


pgpyCJyaMKQBw.pgp
Description: PGP signature
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


[vox-tech] JPGs and the GIMP

2005-02-21 Thread Richard S. Crawford
I came up against the wall of my ignorance of the GIMP this evening.  I took a 
picture of some nifty storm clouds, and loaded the pic onto my computer so 
that I could crop it and upload it to the photoblog I share with my wife.

I cropped the image, and saved it as a .jpg file.  But look at this:

http://www.stonegoose.com/catseyeview/archives/stormclouds.jpg

The colors are all messed up.  I've tried several different things, mostly 
messing with resolutions and other advanced options under save as jpeg.  I 
also tried saving the image as a .png file, but the image wouldn't even load.

I'm using Gimp 2.2 under KDE 3.3.2 on Fedora Core 3, and trying to view these 
images in Firefox 1.0.  For what it's worth, I'm also using gFTP to upload 
the images.

Anyone know what I'm doing wrong?  I've tried Googling the problem but I 
couldn't find anything that I could make sense of.
 
-- 
Slainte,
Richard S. Crawford (mailto: [EMAIL PROTECTED])
AIM: Buffalo2K / http://www.mossroot.com
You can't depend on your judgment when your imagination is out of focus.
-Mark Twain
GPG Public Key located at: http://www.mossroot.com/rscrawford.asc


pgpg03xH4BRpB.pgp
Description: PGP signature
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] JPGs and the GIMP

2005-02-21 Thread Richard S. Crawford
On Monday 21 February 2005 10:13 pm, Bill Kendrick flailed at a keyboard and 
produced this:

 Well, if saving as JPEG failed and saving as PNG failed ALSO, then perhaps
 it's because /both/ kinds of files were being uploaded wrong. ;^)
 (ASCII vs binary mode in gFTP)

If I had half a brain, I'd have figured that out.  Chalk it up to the pint of 
Hogshead beer I had in Old Sac this afternoon.

-- 
Slainte,
Richard S. Crawford (mailto: [EMAIL PROTECTED])
AIM: Buffalo2K / http://www.mossroot.com
You can't depend on your judgment when your imagination is out of focus.
-Mark Twain
GPG Public Key located at: http://www.mossroot.com/rscrawford.asc


pgp3TqI2qTXDG.pgp
Description: PGP signature
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Copyright and license

2005-01-23 Thread Richard S. Crawford
On Sunday 23 January 2005 13:02, Peter Jay Salzman flailed at a keyboard and 
produced this:
 Suppose someone writes a useful document.  They put a copyright notice onto
 the document, but no license.  They put it on the web, for free, and it
 stays there for years.  At some point I download a copy of that document.
 The *intention* (although not explicitly stated) is for people to download
 the document and play around with it (the document in question is an OpenGL
 programming tutorial).

 Now suppose they decide to make money off the document, so they set up a
 commerce site and charge for access to that document.

 Am I allowed to give my copy of the document, from when it was freely
 available off the web, to somebody?

 Am I now obligated to delete the document off my hard drive?

All I can figure is that that would be up to the creator of the document.  You 
already own a copy of the document, having downloaded it for free, so it is 
now your document, to do with as you wish.  You're not allowed to make money 
off of it or claim that it is your own (such is the nature of copyrights), 
and you probably shouldn't be distributing it either.

Personally, I'd rather that such documents were spread with Creative 
Commons-style licenses, and that the people who release documents for free 
should realize that it's probably too late to make money off of them later 
on.

Of course, I'm not a lawyer, so take my answer with the biggest grain of salt 
you can find.  As a writer, though, this is an issue which is important to me 
personally.

-- 
Slainte,
Richard S. Crawford (mailto: [EMAIL PROTECTED])
AIM: Buffalo2K / http://www.mossroot.com
You can't depend on your judgment when your imagination is out of focus.
-Mark Twain
GPG Public Key located at: http://www.mossroot.com/rscrawford.asc


pgp8OyXIzUdzj.pgp
Description: PGP signature
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


[vox-tech] Restructuring a CVS repository

2005-01-23 Thread Richard S. Crawford
For several months now, I've been using CVS to keep my writing up to date 
across four different computers ('cause I never know when I'll get a chance 
to work on something).  Now I want to complete redo the directory structure, 
but I feel like it's embedded into the CVS repository as it is, and I can't 
think of an easy way to restructure without a ton of cvs removes and cvs 
adds.  I thought about deleting the main repository as well as the replicated 
directories on all but one computer, then going through and deleting all of 
the CVS folders recursively, then restructuring everything, then exporting it 
all again, but that seems overly complex.

Is there an easy way to do this?

-- 
Slainte,
Richard S. Crawford (mailto: [EMAIL PROTECTED])
AIM: Buffalo2K / http://www.mossroot.com
You can't depend on your judgment when your imagination is out of focus.
-Mark Twain
GPG Public Key located at: http://www.mossroot.com/rscrawford.asc


pgpbzcQKdnsGE.pgp
Description: PGP signature
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Restructuring a CVS repository

2005-01-23 Thread Richard S. Crawford
On Sunday 23 January 2005 18:45, Ken Bloom flailed at a keyboard and produced 
this:
 This is one of the weaknesses of CVS, and is why Subversion was written.
 If you use cvs2svn to import the old CVS repository into Subversion,
 then you'll find that Subversion works very much like CVS, with very
 little learning curve.

Thanks.  I'll check it out.

-- 
Slainte,
Richard S. Crawford (mailto: [EMAIL PROTECTED])
AIM: Buffalo2K / http://www.mossroot.com
You can't depend on your judgment when your imagination is out of focus.
-Mark Twain
GPG Public Key located at: http://www.mossroot.com/rscrawford.asc


pgpoc5ILDzRa7.pgp
Description: PGP signature
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


[vox-tech] Sparc Linux Update

2005-01-21 Thread Richard S. Crawford
Thanks to everyone who offered suggestions and ideas.  I ended up downloading 
and burning a Gentoo Sparc LiveCD.  From that I was able to install Gentoo on 
an old SunBlade 100.  It's a dreadfully slow machine; it took over two hours 
to compile the kernel, and almost three hours to compile the X server.

But it's working now.  Huzzah!


pgpMC701wrOb7.pgp
Description: PGP signature
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Sparc-based distro?

2005-01-20 Thread Richard S. Crawford
On Wednesday 19 January 2005 22:48, Josh Parsons flailed at a keyboard and 
produced this:
 I've used Aurora on various sparc machines, and was pretty happy with
 it. I'm used to rpm-based distros and didn't particularly want to change
 to debian. I also did a lot of manual rebuilding and upgrading of
 packages.

Well, I downloaded the Sparc64 Gentoo LiveCD and I'm going to try that out 
tomorrow at work.  I've heard very good things about Gentoo so we'll see how 
it goes.

Meanwhile, I see you're at the Philosophy department.  Spiffy.  I got my BA in 
philosophy from UCD in 1992.  Is Dr. Mattey still around?

-- 
Slainte,
Richard S. Crawford (mailto: [EMAIL PROTECTED])
AIM: Buffalo2K / http://www.mossroot.com
You can't depend on your judgment when your imagination is out of focus.
-Mark Twain
GPG Public Key located at: http://www.mossroot.com/rscrawford.asc


pgpM2Ti5nmrNs.pgp
Description: PGP signature
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Sparc-based distro?

2005-01-20 Thread Richard S. Crawford
Robert G. Scofield said:
 On Thursday 20 January 2005 00:07, Richard S. Crawford wrote:
 On Wednesday 19 January 2005 22:48, Josh Parsons flailed at a keyboard and



 Meanwhile, I see you're at the Philosophy department.  Spiffy.  I got
my BA
 in philosophy from UCD in 1992.  Is Dr. Mattey still around?

 Not only is Dr. Mattey still around, but Dr. Mattey is running Linux. 
And not
 only is Dr. Matttey running Linux for himself, he installed it on a student
 machine when I was there.

I am not at all surprised to learn that Dr. Mattey is a Linux user.  He
always was a bit of a nonconformist.  He's a great professor, and served
me well as my undergraduate advisor as well.

I got my BA, as I mentioned; now I wish I'd stuck it out and gone on for
graduate work in philosophy as well.  Ah, well.



 Linux saved me when I wrote my dissertation.  My dissertation was typed
in Word Perfect 5.1 for DOS.  I was at U.C.D. for so long  that I had to
deal with both U.C.D. and the Philosophy Dept. phasing out support for
5.1.  So I
 couldn't print on campus anymore.  So I tried Word Perfect 8 for
Windows. But Word Perfect didn't have the same pages numbers on the
screen as it did
 for the hard copies it printed out.   So it was very difficult to
correct typos in a long document.  For example if you wanted to correct
something on
 p. 98 of the printed copy, it was very difficult to find it on the
screen. Word Perfect 8 for Linux, on the other hand, retained WYSIWYG
for 5.1 for DOS.  I don't know how I could have finished a 300 page
dissertation without
 Linux.

That's a cool story.  I was never able to get WP8 to work for Linux (and
finally just gave up, even after spending $130 on it), though I really
wanted to; WP was always my favorite word processor (OOo is decent, but
doesn't have the One True Feature -- reveal codes -- that made WP such a
superior product).

By the way, I tried to reply off-list to you (this seemed a bit chatty for
vox-tech), but got a user unknown error.

-- 
Sláinte,
Richard S. Crawford (AIM: Buffalo2K)
http://www.mossroot.com   http://www.stonegoose.com/catseyeview
We live as though the world were how it should be,
to show it what it can be.
--Angel, Season 4 ep. 1


___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


[vox-tech] Sparc-based distro?

2005-01-19 Thread Richard S. Crawford
For quite awhile, I've been lobbying to get a Linux desktop at my workstation 
at work.  My boss finally gave me an old Sunblade 100, which is a SPARC 
machine.

None of the distros I have in my possession -- FC1, 2, or 3; SuSE Pro 9.1; 
Debian Woody -- are meant for a SPARC based machine.  I've Googled around and 
have only found one distro, Aurora, which is based on RH 7.3.

Is anyone aware of any distributions that might work on this machine?
-- 
Slainte,
Richard S. Crawford (mailto: [EMAIL PROTECTED])
AIM: Buffalo2K / http://www.mossroot.com
You can't depend on your judgment when your imagination is out of focus.
-Mark Twain


pgp8Aa0YOthIM.pgp
Description: PGP signature
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Sparc-based distro?

2005-01-19 Thread Richard S. Crawford
On Wednesday 19 January 2005 19:23, Ken Bloom somehow made these words show up 
on my computer:
 On Wed, Jan 19, 2005 at 07:06:41PM -0800, Richard S. Crawford wrote:
  For quite awhile, I've been lobbying to get a Linux desktop at my
  workstation at work.  My boss finally gave me an old Sunblade 100, which
  is a SPARC machine.
 
  None of the distros I have in my possession -- FC1, 2, or 3; SuSE Pro
  9.1; Debian Woody -- are meant for a SPARC based machine.  I've Googled
  around and have only found one distro, Aurora, which is based on RH 7.3.
 
  Is anyone aware of any distributions that might work on this machine?

 Download the Debian SPARC port. It's one of Debian's 11 officially
 supported arches.

Looks like there's a SPARC port of Gentoo, too.  


pgpPxoQ9wrsgr.pgp
Description: PGP signature
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] [EMAIL PROTECTED]: Re: [#19464334] Searching for dotfiles]

2005-01-13 Thread Richard S. Crawford
Ken Bloom said:

 Here's google's answer:

[snip]

 That said, we know that many useful search terms do contain such
 characters. We've generated exceptions for terms like C++ and $10 and
 are studying ways to enable search terms like C/net. We'll keep your
 feedback in mind as we work to improve the quality of our search.

[snip]

I've always thought it would be really cool if we could search Google
using regular expressions.


-- 
Sláinte,
Richard S. Crawford (AIM: Buffalo2K)
http://www.mossroot.com   http://www.stonegoose.com/catseyeview
We live as though the world were how it should be,
to show it what it can be.
--Angel, Season 4 ep. 1


___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


[vox-tech] Perl programming problem

2005-01-13 Thread Richard S. Crawford
I'm trying to write a script which will live on my server at home and
which will ping our server at work every five minutes or so, and send an
e-mail message when it goes down or comes back up.

I've got everything working fine, except for the e-mail part.  Whenever it
sends an e-mail out to my work account, it bounces back with the following
message:

The original message was received at Thu, 13 Jan 2005 12:55:18 -0800
from hagrid [127.0.0.1]

   - The following addresses had permanent fatal errors -
[EMAIL PROTECTED]
(reason: 553 5.1.8 [EMAIL PROTECTED]... Domain of sender
address [EMAIL PROTECTED] does not exist)

   - Transcript of session follows -
... while talking to smtp.ucdavis.edu.:
 MAIL From:[EMAIL PROTECTED] SIZE=416
 553 5.1.8 [EMAIL PROTECTED]... Domain of sender address
[EMAIL PROTECTED] does not exist
501 5.6.0 Data format error

I'm guessing that this is probably a sendmail configuration issue, but
I've messed around with that a bit and haven't had any success (I'm
worried about messing with it too much since).

Any help would be greatly appreciated.


-- 
Sláinte,
Richard S. Crawford (AIM: Buffalo2K)
http://www.mossroot.com   http://www.stonegoose.com/catseyeview
We live as though the world were how it should be,
to show it what it can be.
--Angel, Season 4 ep. 1


___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Perl programming problem

2005-01-13 Thread Richard S. Crawford
Mark K. Kim said:
 You have to set the sender (I guess the From: line) to an e-mail address
 that is valid from the internet.  localhost.localdomain is, from
 unexmail.ucdavis.edu's point of view, is itself, and it knows richard
 doesn't exist on its mailing system.

Actually, I do.  Here is the relevant code:

my $fromAddress='[EMAIL PROTECTED]';
my $toAddress='[EMAIL PROTECTED]';
my $body=Neo is down as of $timeString\n;
my $mailer=open ({From = $fromAddress, To = toAddress, Subject=$subject});
print $mailer $body;
$mailer-close();


 Also, look into sendmail's -f option.

How would I use that in my code?


-- 
Sláinte,
Richard S. Crawford (AIM: Buffalo2K)
http://www.mossroot.com   http://www.stonegoose.com/catseyeview
We live as though the world were how it should be,
to show it what it can be.
--Angel, Season 4 ep. 1


___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Perl programming problem

2005-01-13 Thread Richard S. Crawford
Mitch Patenaude said:

 The PERL module you are using is almost certainly just passing off the
 mail to your underlying Mail Transport Agent (MTA).  It looks like your
 home machine's MTA isn't configured correctly.  You can try to send the
 mail directly from the command line with the command mail.  Type is
 'mail [EMAIL PROTECTED]' at the command line, type in a
 message, and terminate with a single period on a line by itself. (the
 way email used to be done in the old days :-)  If that works, then the
 MTA is configured correctly.

I was afraid it was probably an MTA issue.  The host machine is running
RH8, which came with Sendmail.  I'm not sure I'm heroic enough to take on
the task of configuring Sendmail, but I suppose it's either that or
install a new MTA.  Hmm.


-- 
Sláinte,
Richard S. Crawford (AIM: Buffalo2K)
http://www.mossroot.com   http://www.stonegoose.com/catseyeview
We live as though the world were how it should be,
to show it what it can be.
--Angel, Season 4 ep. 1


___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Getting new Linux box to boot

2005-01-01 Thread Richard S. Crawford
On Friday 31 December 2004 15:54, Peter Jay Salzman wrote:

 You can test this.  Write a little shell script called 'hello' on /mnt/lmx:

 ##  cut here
 #!/bin/sh

 echo Hello World

 ##  cut here

 Change its permissions:

chmod u+x ./hello

 And try to run it:

./hello

 If the partition is mounted as noexec, you'll get a really wierd message
 like bad interpreter.

It worked, so the interpreter is good.


  Also, when I tried chroot:
 
  # chroot /mnt/lmx /bin/sh
 
  I got:
 
  illegal instruction
 
  I double checked and made sure that sh is really in /mnt/lmx/bin/sh

 I Googled for this, and found that illegal instruction from chroot comes
 from two main things:

1. Varied hardware problems

2. Running something compiled for a more advanced system.  In one case,
 a person was installing Gentoo using a stage 2 disk intended for 686 on an
 old Pentium Pro.

 I'm more apt to to lean towards #2.  What kind of computer are you doing
 this on?  Have you read any lmx README files?  Maybe they have system
 requirements or something.

There is no system requirements document that came with the CD, but I think 
you're right about this.  There is a note on the CD insert which indicates 
that what I have is a straight image of the install from a working machine in 
the library where they developed this product; in fact, there is a note 
reading, ...it also means that this image is currently configured for our 
hardware and network.  The computer I'm using is an old Dell OptiPlex GT 
with a Pentium processor.  Funny; I just assumed it was at least a Pentium 
II.  It's not.

At this point, I think the best approach is to ditch LuMiX and try to build a 
kiosk computer out of Debian.  I know that there was quite a bit of 
discussion about this on these lists a few months back, so I'm going to go 
digging around in the archives for awhile.

Thanks for all the tips and suggestions, but I'm pretty sure this isn't going 
to work out.

-- 
Richard S. Crawford (mailto: [EMAIL PROTECTED])
AIM: Buffalo2K / http://www.mossroot.com
You can't depend on your judgment when your imagination is out of focus.
-Mark Twain

___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Getting new Linux box to boot

2005-01-01 Thread Richard S. Crawford
On Saturday 01 January 2005 13:03, Mark Street wrote:

 mkdir system
 mount /dev/hda1 system
 cd system
 chroot .
 vi /boot/grub/grub.conf

Thanks for the suggestion.  I've been using Tom's Root Boot, to no avail.  I 
also tried using Knoppix, but

# chroot .

gave the error message:

Illegal instruction

under both TRB and Knoppix.

-- 
Richard S. Crawford (mailto: [EMAIL PROTECTED])
AIM: Buffalo2K / http://www.mossroot.com
You can't depend on your judgment when your imagination is out of focus.
-Mark Twain

___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Getting new Linux box to boot

2004-12-31 Thread Richard S. Crawford
On Friday 31 December 2004 11:07, Peter Jay Salzman wrote:
    1a. cd into your *real* root filesystem, /mnt
    1b. Use chroot.  This makes /mnt temporarily look like /.
    1c. Run lilo and reboot.

I remounted lumix to /mnt/lmx via:

# mount /dev/hda1 /mnt/lmx -t ext2 -o exec

Then I executed mount and got this:

# mount
.
.
.
/dev/hda1 on /mnt/lmx type ext2 (rw)

which seems like the exec flag is not being set.

Also, when I tried chroot:

# chroot /mnt/lmx /bin/sh

I got:

illegal instruction

I double checked and made sure that sh is really in /mnt/lmx/bin/sh

All I can figure is that for some reason the exec flag is not really being set 
when I execute the mount command, and this is causing the chroot command to 
fail.

-- 
Richard S. Crawford (mailto: [EMAIL PROTECTED])
AIM: Buffalo2K / http://www.mossroot.com
You can't depend on your judgment when your imagination is out of focus.
-Mark Twain

___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


[vox-tech] Accessing cdrom from Tom's Root Boot

2004-12-30 Thread Richard S. Crawford
I'm trying to build a LuMiX box; the distribution comes as a big tar file on a 
CD.  I've got Tom's Root Boot on a floppy, and I've used it to hose the NT 
partition that was already on the HD, and I've already created my Linux 
partitions and my swap partition.  I now want to copy the tar file from the 
cdrom to /dev/hda1.

Unfortunately I can't seem to figure out how to get to the cdrom drive.  I 
imagine that when I booted the computer, it detected the cdrom drive somehow, 
but dmesg reveals nothing about it.  I've tried to mount /dev/hdc 
through /dev/hde to /cdrom, but I've had no luck.  The message I receive is:

# mount -a
mount: the kernel does not recognize /dev/hdc as a block device (maybe 'insmod 
driver'?)

The relevant entry in /etc/fstab looks like this:

/dev/hdc /cdrom iso9660 1 1

What am I missing?  I've never done an installation like this; these 
newfangled distributions like FC3 and even Debian make everything too easy.


-- 
Richard S. Crawford (mailto: [EMAIL PROTECTED])
AIM: Buffalo2K / http://www.mossroot.com
You can't depend on your judgment when your imagination is out of focus.
-Mark Twain

___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Accessing cdrom from Tom's Root Boot

2004-12-30 Thread Richard S. Crawford
On Thursday 30 December 2004 11:12, Henry House wrote:

 - modprobe ide-cd
 - modprobe cdrom

# modprobe ide-cd
modprobe: not found

-- 
Richard S. Crawford (mailto: [EMAIL PROTECTED])
AIM: Buffalo2K / http://www.mossroot.com
You can't depend on your judgment when your imagination is out of focus.
-Mark Twain

___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Accessing cdrom from Tom's Root Boot

2004-12-30 Thread Richard S. Crawford
On Thursday 30 December 2004 11:03, Peter Jay Salzman wrote:
 On Thu 30 Dec 04, 10:58 AM, Richard S. Crawford [EMAIL PROTECTED] 
said:
  I'm trying to build a LuMiX box; the distribution comes as a big tar file
  on a Unfortunately I can't seem to figure out how to get to the cdrom
  drive.  I imagine that when I booted the computer, it detected the cdrom
  drive somehow, but dmesg reveals nothing about it.  I've tried to mount
  /dev/hdc through /dev/hde to /cdrom, but I've had no luck.  The message I
  receive is:
 
  # mount -a
  mount: the kernel does not recognize /dev/hdc as a block device (maybe
  'insmod driver'?)
 
  The relevant entry in /etc/fstab looks like this:
 
  /dev/hdc /cdrom iso9660 1 1
 
  What am I missing?  I've never done an installation like this; these
  newfangled distributions like FC3 and even Debian make everything too
  easy.

 Hi Richard,

 Please post:

dmesg | egrep '^hd[a-z]'

# dmesg | egrep '^hd[a-z]'
hda: WDC AC23200L, ATA DISK drive
hda: WDC AC23200L, 2098MB w/256kB Cache, CHS=787/128/63
 hda: hda1 hda2 hda3

Apparently the CD-ROM drive is *not* being detected during boot, even though 
I've got the BIOS to boot from the CD-ROM drive, and it spins up during 
bootup.  The cable to the drive is firmly seated.

-- 
Richard S. Crawford (mailto: [EMAIL PROTECTED])
AIM: Buffalo2K / http://www.mossroot.com
You can't depend on your judgment when your imagination is out of focus.
-Mark Twain

___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Accessing cdrom from Tom's Root Boot

2004-12-30 Thread Richard S. Crawford
On Thursday 30 December 2004 13:17, Peter Jay Salzman wrote:

 Oh, oops.  Let me see if I have this straight.  You booted the operating
 system off the cdrom drive.  In other words, the kernel was read off a CD,
 and still, the cdrom drive isn't detected?

Sorry, I was unclear.  Nope, I'm using Tom's Root Boot on a floppy.  The 
computer's set to boot from the CD-ROM drive first, but I figured it wasn't 
since there was nothing in the CD-ROM to boot from.

Going through the BIOS, I find no option to automatically detect all IDE 
drives.  When I go to device list, though, the CD-ROM drive does not show 
up; and I don't see the CD ROM drive listed in the list of IDE devices that 
pop up at the end of the boot sequence before LILO kicks in.  So I'm guessing 
that the CD-ROM drive is not being detected by the system for some reason.

Weird.  I'm going to contact the sysadmin who maintained this computer at the 
library and see if he had disabled the CD-ROM drive for some reason.

-- 
Richard S. Crawford (mailto: [EMAIL PROTECTED])
AIM: Buffalo2K / http://www.mossroot.com
You can't depend on your judgment when your imagination is out of focus.
-Mark Twain

___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Accessing cdrom from Tom's Root Boot

2004-12-30 Thread Richard S. Crawford
On Thursday 30 December 2004 14:06, Richard S. Crawford wrote:

 Weird.  I'm going to contact the sysadmin who maintained this computer at
 the library and see if he had disabled the CD-ROM drive for some reason.

The CD-ROM drive *had* been disabled.  There was a place in the BIOS to enable 
it, but it was hidden.  I found it, enabled the hard drive, and was able to 
mount /dev/hdc to /cdrom.

Thanks for all the help and suggestions.

-- 
Richard S. Crawford (mailto: [EMAIL PROTECTED])
AIM: Buffalo2K / http://www.mossroot.com
You can't depend on your judgment when your imagination is out of focus.
-Mark Twain

___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Accessing cdrom from Tom's Root Boot

2004-12-30 Thread Richard S. Crawford
On Thursday 30 December 2004 14:17, Peter Jay Salzman wrote:

 Agreed: wierd.  IDE (at this level) is usually foolproof.  I can't think of
 any way to disable a cdrom.

I think he had disabled the auto-detect for IDE drives beyond the first 
device.  It was set to detect the hard drive, and had options to auto-detect 
another primary drive, and two secondary drives.  Those were all disabled.  I 
set the first secondary drive to auto-detect CD-ROM, and that fixed it.

This computer was originally located in a public library.  I imagine that the 
previous sysadmin had done this (and set the setup password as well) in order 
to protect the computer from being tampered with.

-- 
Richard S. Crawford (mailto: [EMAIL PROTECTED])
AIM: Buffalo2K / http://www.mossroot.com
You can't depend on your judgment when your imagination is out of focus.
-Mark Twain

___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


[vox-tech] PHP/MySQL very slow

2004-12-15 Thread Richard S. Crawford
The site I'm working on, on a RH9 box, is presenting me with a strange
problem.  It's running Apache 1.x, PHP 4.2, and MySQL 3.23.  When I hit
plain old PHP pages, the site runs just fine and response time is nice and
quick.  However, when I go to a page where PHP connects to MySQL, the
response is incredibly slow.  Apache responds fine, PHP responds fine, and
MySQL responds fine from the command line.  And everything was working
fine until yesterday.

What happened yesterday?  We changed this computer's IP address.  I've
adjusted httpd.conf appropriately, but I can't think of where else I might
have to make configuration changes in order to make this work.

Any advice would be greatly appreciated.



-- 
Sláinte,
Richard S. Crawford (AIM: Buffalo2K)
http://www.mossroot.com   http://www.stonegoose.com/catseyeview
We live as though the world were how it should be,
to show it what it can be.
--Angel, Season 4 ep. 1


___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech


[vox-tech] Problem with crond?

2004-09-29 Thread Richard S. Crawford
I'm trying to get a wget command to execute every five minutes.  crontab
-e looks like this:

*/5 * * * * wget -q -O /dev/null http://152.79.198.89/moodle/cron.php

Running the wget command from the command line performs the action
properly, but it doesn't seem to be happening every five minutes as it's
supposed to.  I've double checked my crontab command and verified that
crond is running (with ps) but it doesn't seem to be working.




___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Problem with crond?

2004-09-29 Thread Richard S. Crawford
Ken Herron said:
 --On Wednesday, September 29, 2004 12:44:24 -0700 Richard S. Crawford
 [EMAIL PROTECTED] wrote:

 I'm trying to get a wget command to execute every five minutes.
 crontab -e looks like this:

 */5 * * * * wget -q -O /dev/null http://152.79.198.89/moodle/cron.php

 Running the wget command from the command line performs the action
 properly, but it doesn't seem to be happening every five minutes as
 it's supposed to.  I've double checked my crontab command and verified
 that crond is running (with ps) but it doesn't seem to be working.

 Cron should log every command that it runs through syslog. First thing
 would be to see if cron is actually launching the command on schedule or
  not.

According to the system log, the command is indeed being run every five
minutes.  The PHP script itself is supposed to send out email; when I
browse to the page using Lynx or Wget or Firefox, the script runs properly
and I see the results in the maillog.


 In my experience, the usual reason that commands work interactively but
 not from cron is that they depend on something in your interactive
 environment. Perhaps wget isn't in the PATH that cron uses, or it
 requires some environment variable to be set?

Well, I've now included the full path to wget -- /usr/bin/wget -- but that
doesn't seem to have done it.  I can't find any documentation about
environment variables that wget might need, and no indication that it's
failing in the system logs.

Argh!


___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Problem with crond? -- RESOLVED (kinda)

2004-09-29 Thread Richard S. Crawford (ww)
It seems to be working.  The cronjob is running every five minutes, and
the e-mails are being sent.  The problem now is that they're being sent
about half an hour after they're supposed to be sent, which puzzles me.



___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Problem with crond? -- RESOLVED (kinda)

2004-09-29 Thread Richard S. Crawford
Ken Bloom said:
 On Wed, 29 Sep 2004 15:27:18 -0700 (PDT)
 Richard S. Crawford (ww) [EMAIL PROTECTED] wrote:

 It seems to be working.  The cronjob is running every five minutes,
 and the e-mails are being sent.  The problem now is that they're being
 sent about half an hour after they're supposed to be sent, which
 puzzles me.

 I'm having trouble contacting the listed URL in a timely fashion. Is
 that perhaps the problem?

No.  The server is not a public server.  Sorry, I should have made that
clear.  It lives next to my workstation at work, and is behind a firewall.


-- 
Sláinte,
Richard S. Crawford (AIM: Buffalo2K)
http://www.mossroot.com   http://www.stonegoose.com/catseyeview
We live as though the world were how it should be,
to show it what it can be.
--Angel, Season 4 ep. 1


___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech


[vox-tech] Make consistently fails in CPAN on Debian (Or, why does Debian hate me so?)

2004-03-29 Thread Richard S. Crawford
I'm trying to install some Perl modules with CPAN on my Debian computer,
but it doesn't seem to be working out.  It consistently tells me that
make test is failing, although it seems that make works elsewhere in the
process.  I've updated gcc via apt-get, and I have verified that make is
in my PATH when logged in as Root (as I normally am when running CPAN).

Google tells me nothing.

Any hints?

-- 
Slainte,
Richard S. Crawford
AIM: Buffalo2K / Y!: rscrawford
http://www.mossroot.com http://www.stonegoose.com
It is only with our heart that we can see clearly.  What is essential
is invisible to the eye.  --Antoine de Saint Exupery
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech


[vox-tech] Upgrading Perl in Debian

2004-03-01 Thread Richard S. Crawford
My Debian installation has Perl version 5.6; I'd like to upgrade to
5.8.  Is there a super-easy way to do that (apt-get doesn't seem to be
doing it)?  Or a less than thoroughly painful way, at least?

-- 
Slainte,
Richard S. Crawford
AIM: Buffalo2K / Y!: rscrawford
http://www.mossroot.com http://www.stonegoose.com
It is only with our heart that we can see clearly.  What is essential
is invisible to the eye.  --Antoine de Saint Exupery
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech


USB and serial (was Re: [vox-tech] lbncurses.so.4 issue)

2004-02-03 Thread Richard S. Crawford
Unfortunately, the box on mine proudly proclaims that my model is USB
only.  And there is indeed no serial port on the back.

When Jennifer first found it on Belkin's website, I examined it and saw
that the copy said it was compatible with Linux.  And, indeed, there is
a Linux version of the software on the CD that came with the UPS. 
However, when I looked at the product description again on Belkin's
website, I couldn't find anything saying it was Linux friendly.  I feel
like I've been had.

Assuming the software wants to talk to a serial port, and the device
only has a USB port, is there a way to make them talk to each other?


On Tue, 2004-02-03 at 00:55, Samuel N. Merritt wrote:
 On Mon, Feb 02, 2004 at 10:53:47PM -0800, Richard S. Crawford wrote:
  Thanks, Pete and Ken.  That helped a lot!
  
  Of course, there are new issues now.  Like the fact that the device
  connects to the computer via a USB connection, but the software seems to
  want to talk to a serial port.  I'll get it working somehow.
 
 I have a Regulator Pro Gold, and it has a serial port as well as a USB
 port. I could be mistaken, but I think the serial cable is just a plain
 old serial cable.
 
 I had NUT working with that UPS for a couple years using the serial
 cable with nearly zero effort. I tried once or twice to hook it up via
 USB, but I never did get the software to do anything useful. 
-- 
Slainte,
Richard S. Crawford
AIM: Buffalo2K / Y!: rscrawford / ICQ: 11640404
Howard Dean for America: http://www.deanforamerica.com
http://www.mossroot.com http://www.stonegoose.com
It is only with our heart that we can see clearly.  What is essential
is invisible to the eye.  --Antoine de Saint Exupery
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: USB and serial (was Re: [vox-tech] lbncurses.so.4 issue)

2004-02-03 Thread Richard S. Crawford
On Tue, 2004-02-03 at 11:39, Dave Margolis wrote:
 with my belkin upsd (aka bulldog), i don't remember what i did to
 recognize that anything was working, but i set the settings to shut down
 after 15 minutes.  when i pulled the power plug out, everybody logged in
 got a message via write that they had 15 minutes to log out or whatever.
 then, it did perform a clean shutdown after 15 mintues.  after that i went
 in and configured things a bit more...
 
 it looks like you're there, you just have to figure out exactly which
 devide got picked up by hid.  my guess is /dev/input/js0 (since it
 mentioned its using a joystick driver).  give that try and see what
 happens.

Tried it... didn't work.  Sob.  The status line at the bottom of the
monitor window says connection established, but it is displaying
nothing about the UPS device or about my computer.

-- 
Slainte,
Richard S. Crawford
AIM: Buffalo2K / Y!: rscrawford / ICQ: 11640404
Howard Dean for America: http://www.deanforamerica.com
http://www.mossroot.com http://www.stonegoose.com
It is only with our heart that we can see clearly.  What is essential
is invisible to the eye.  --Antoine de Saint Exupery
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech


[vox-tech] lbncurses.so.4 issue

2004-02-02 Thread Richard S. Crawford
My wife just picked up for us a Belkin UPS device: a Regulator Pro Gold
Series, which looks pretty spiffy.  I hooked it up and attached my RH8
server to it, and now I'm trying to get the ups daemon installed.

Unfortunately, whenever I try to start up the daemon, I get this error:

Error while loading shared libraries: libncurses.so.4: cannot open
shared object file: No such file or directory

...which doesn't surprise me, since the software was tested against no
later version of RH than 6.2.

My question is, is there a way to get it to talk to RH8?  I tried
opening the upsd script, but it's a binary file and I can't look at
the source code.  And while Belkin says it's compatible with Linux,
there is no documentation on their website, and the documentation on the
CD is lousy.

-- 
Slainte,
Richard S. Crawford
AIM: Buffalo2K / Y!: rscrawford / ICQ: 11640404
Howard Dean for America: http://www.deanforamerica.com
http://www.mossroot.com http://www.stonegoose.com
It is only with our heart that we can see clearly.  What is essential
is invisible to the eye.  --Antoine de Saint Exupery
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech


[vox-tech] Debian networking problem -- where do I start?

2004-01-28 Thread Richard S. Crawford
This is related to the Samba problem I reported yesterday.

Pete suggested I look at /usr/share/doc/samba/DIAGNOSIS.txt.  I did so,
and most of what I tried on the server worked just fine, and the Samba
server seems to be working properly; I can execute smbmount on my Red
Hat box and get to the shares just fine.

I tried to get to the Windows computer from the Debian computer with no
luck.  I executed

$ ping 192.168.1.165

which is the WinXP's IP address, but with no luck.  It seems that the
Debian computer can't see the Windows computer; so while I can see the
Debian computer from Windows, I can't see any of the shares on it.

I've done quite a bit of Googling and poking around on the Debian
website, and I've looked at files list /etc/hosts, /etc/hosts.allow,
executed commands such as /sbin/route -n and so on, and I confess that I
am a feeling a bit overwhelmed.

Can anyone point me at some on-line beginner's networking resources that
could help me resolve this?

-- 
Slainte,
Richard S. Crawford
AIM: Buffalo2K / Y!: rscrawford / ICQ: 11640404
Howard Dean for America: http://www.deanforamerica.com
http://www.mossroot.com http://www.stonegoose.com
It is only with our heart that we can see clearly.  What is essential
is invisible to the eye.  --Antoine de Saint Exupery
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Debian networking problem -- where do I start?

2004-01-28 Thread Richard S. Crawford
On Wed, 2004-01-28 at 15:37, Peter Jay Salzman wrote:

 what makes this a bit difficult is the fact that XP may not log as well
 as a unix OS.
 
 doesn't XP come with a firewall now?  why don't you check that first?

It's off.  First thing I checked.  :)


 ok.  so you can't ping XP from debian.

 can you ping debian from XP?

Yep.


 can you ping XP from anyone else on your local LAN?

Yep.  I can ping it from both of my Red Hat boxes.


 when you type route on debian (not route -n, i mean route) does it
hang for a long time or do you get results immediately?

I get immediate results:

[EMAIL PROTECTED]: /etc
# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric RefUse
Iface
192.168.1.0 *   255.255.255.0   U 0  00
eth0
default 192.168.1.1 0.0.0.0 UG0  00
eth0

-- 
Slainte,
Richard S. Crawford
AIM: Buffalo2K / Y!: rscrawford / ICQ: 11640404
Howard Dean for America: http://www.deanforamerica.com
http://www.mossroot.com http://www.stonegoose.com
It is only with our heart that we can see clearly.  What is essential
is invisible to the eye.  --Antoine de Saint Exupery
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Debian networking problem -- where do I start?

2004-01-28 Thread Richard S. Crawford
On Wed, 2004-01-28 at 15:32, Mark K. Kim wrote:
 Doesn't WinXP come with a firewall?  It could be just the ping that's not
 working.  Try typing `smbclient -L winxp_computer_name`
 
 -Mark (wrestling with his own winxp problems today)

I disabled the WinXP firewall (I have a firewall on my router, and I'm
using ZoneAlarm on the XP box, so I'm not worried).

I got odd results using the command:

[EMAIL PROTECTED]: ~
# smbclient -L dumbledore
added interface ip=192.168.1.164 bcast=192.168.1.255 nmask=255.255.255.0
timeout connecting to 192.168.1.165:139
Error connecting to 192.168.1.165 (Operation already in progress)
Connection to dumbledore failed

...and this seems odd because ps -aux reveals no processes involved in
connecting to Dumbledore.


When I try to ping Dumbledore, nothing happens.  Eventually I ^C just to
get it to stop.


-- 
Slainte,
Richard S. Crawford
AIM: Buffalo2K / Y!: rscrawford / ICQ: 11640404
Howard Dean for America: http://www.deanforamerica.com
http://www.mossroot.com http://www.stonegoose.com
It is only with our heart that we can see clearly.  What is essential
is invisible to the eye.  --Antoine de Saint Exupery
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Debian networking problem -- where do I start?

2004-01-28 Thread Richard S. Crawford
On Wed, 2004-01-28 at 19:34, Peter Jay Salzman wrote:

 here's what i suggest:
 
 1. on debian, ping XP.
 
 2. on some other host on your LAN, run tcpdump and look to see if the
pings are being broadcast.
 
 this will tell you if the pings are being sent correctly.  if they are,
 the problem is that XP is just not listening.

Wow, I didn't know you could do that.  I guess I still have a lot to
learn.

Here is the results of the tcpdump that look relevant to me:


[EMAIL PROTECTED]: ~
# tcpdump
tcpdump: listening on eth0
...
22:06:03.330115 LUCIEN  192.168.1.165: icmp: echo request
22:06:04.330041 LUCIEN  192.168.1.165: icmp: echo request
22:06:05.329894 LUCIEN  192.168.1.165: icmp: echo request
22:06:06.329806 LUCIEN  192.168.1.165: icmp: echo request
22:06:07.329675 LUCIEN  192.168.1.165: icmp: echo request
22:06:08.329561 LUCIEN  192.168.1.165: icmp: echo request
22:06:09.329451 LUCIEN  192.168.1.165: icmp: echo request
22:06:10.329340 LUCIEN  192.168.1.165: icmp: echo request
22:06:11.329234 LUCIEN  192.168.1.165: icmp: echo request
22:06:12.329119 LUCIEN  192.168.1.165: icmp: echo request
22:06:13.329041 LUCIEN  192.168.1.165: icmp: echo request
...

So, it looks to me like the ping is working properly.  So it's the
Windows computer that needs to be poked at.

-- 
Slainte,
Richard S. Crawford
AIM: Buffalo2K / Y!: rscrawford / ICQ: 11640404
Howard Dean for America: http://www.deanforamerica.com
http://www.mossroot.com http://www.stonegoose.com
It is only with our heart that we can see clearly.  What is essential
is invisible to the eye.  --Antoine de Saint Exupery
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Debian networking problem -- RESOLVED

2004-01-28 Thread Richard S. Crawford
Short answer:  I am a moron.

Thanks to everyone who responded and gave me suggestions and ideas. 
Thanks to Pete and Jeff Newmiller, I realized that the problem was with
the Windows computer's own firewall program; I have Zone Alarm on that
computer, and I had forgotten to add Lucien to the Trusted Zone.  I did
that, and everything is working normally now.

Thanks again to Mark, Pete, and Jeff.


On Wed, 2004-01-28 at 22:08, Richard S. Crawford wrote:
 On Wed, 2004-01-28 at 19:34, Peter Jay Salzman wrote:
 
  here's what i suggest:
  
  1. on debian, ping XP.
  
  2. on some other host on your LAN, run tcpdump and look to see if the
 pings are being broadcast.
  
  this will tell you if the pings are being sent correctly.  if they are,
  the problem is that XP is just not listening.
 
 Wow, I didn't know you could do that.  I guess I still have a lot to
 learn.
 
 Here is the results of the tcpdump that look relevant to me:
 
 
 [EMAIL PROTECTED]: ~
 # tcpdump
 tcpdump: listening on eth0
 ...
 22:06:03.330115 LUCIEN  192.168.1.165: icmp: echo request
 22:06:04.330041 LUCIEN  192.168.1.165: icmp: echo request
 22:06:05.329894 LUCIEN  192.168.1.165: icmp: echo request
 22:06:06.329806 LUCIEN  192.168.1.165: icmp: echo request
 22:06:07.329675 LUCIEN  192.168.1.165: icmp: echo request
 22:06:08.329561 LUCIEN  192.168.1.165: icmp: echo request
 22:06:09.329451 LUCIEN  192.168.1.165: icmp: echo request
 22:06:10.329340 LUCIEN  192.168.1.165: icmp: echo request
 22:06:11.329234 LUCIEN  192.168.1.165: icmp: echo request
 22:06:12.329119 LUCIEN  192.168.1.165: icmp: echo request
 22:06:13.329041 LUCIEN  192.168.1.165: icmp: echo request
 ...
 
 So, it looks to me like the ping is working properly.  So it's the
 Windows computer that needs to be poked at.
-- 
Slainte,
Richard S. Crawford
AIM: Buffalo2K / Y!: rscrawford / ICQ: 11640404
Howard Dean for America: http://www.deanforamerica.com
http://www.mossroot.com http://www.stonegoose.com
It is only with our heart that we can see clearly.  What is essential
is invisible to the eye.  --Antoine de Saint Exupery
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech


[vox-tech] More Samba Goodness

2004-01-27 Thread Richard S. Crawford
I just set up Debian on an old laptop with the intent of using it as a
server for certain files.  I'm having a debil of a time getting Samba to
work, though.

Here is smb.conf:

lucien:/etc/samba# cat smb.conf
# Samba config file created using SWAT
# from 192.168.1.163 (192.168.1.163)
# Date: 2004/01/25 23:03:06
 
# Global parameters
[global]
workgroup = MY_WORKGROUP
netbios name = LUCIEN
server string = Library Server
security = SHARE
encrypt passwords = Yes
obey pam restrictions = Yes
pam password change = Yes
passwd program = /usr/bin/passwd
passwd chat = *New*password* %n\n *Retype*new*password* %n\n
*Passwd:All*Authentication*tokens*updated*successfully*
unix password sync = Yes
log file = /var/log/samba/%m.log
max log size = 0
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = No
 
[Library]
comment = Readerware Server
path = /opt/library
force group = crawford
read only = No
create mask = 0777
force create mode = 0777
directory mask = 0777
guest ok = Yes
hide dot files = No

As you can see, I've got SWAT working just fine.  I don't have X working
on this computer, but I can access SWAT from another computer on the
network.  I can testparm just fine, with no errors.  I can execute
smbclient on Lucien with no errors.:


lucien:/etc/samba# smbclient -L lucien
added interface ip=192.168.1.164 bcast=192.168.1.255 nmask=255.255.255.0
Password:
Domain=[STONEGOOSE] OS=[Unix] Server=[Samba 2.2.3a-12.3 for Debian]
 
Sharename  Type  Comment
-    ---
LibraryDisk  Readerware Server
IPC$   IPC   IPC Service (Library Server)
ADMIN$ Disk  IPC Service (Library Server)
 
Server   Comment
----
HAGRID   File Server
LUCIEN   Library Server
 
WorkgroupMaster
----
MY_WORKGROUP HAGRID


I can ping Lucien with no problems, I can telnet to port 139 on Lucien. 
I have confirmed that both smbd and nmbd are running.  Running netstat
-a, I get...

lucien:/etc/samba# netstat -a
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address   Foreign Address
State
tcp0  0 192.168.1.164:ssh   seamus:45149   
ESTABLISHED
tcp0  0 *:netbios-ssn   *:*
LISTEN
tcp0  0 *:swat  *:*
LISTEN
tcp0  0 192.168.1.164:1036  hagrid:ssh 
ESTABLISHED
tcp0  0 *:ssh   *:*
LISTEN
tcp0  0 *:smtp  *:*
LISTEN
tcp0  0 *:time  *:*
LISTEN
tcp0  0 *:daytime   *:*
LISTEN
tcp0  0 *:discard   *:*
LISTEN
udp0  0 192.168.1.1:netbios-dgm *:*
udp0  0 192.168.1.16:netbios-ns *:*
udp0  0 *:netbios-dgm   *:*
udp0  0 *:netbios-ns*:*
udp0  0 *:bootpc*:*
udp0  0 *:discard   *:*
raw0  0 *:icmp  *:* 7
raw0  0 *:tcp   *:* 7
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags   Type   State I-Node Path
unix  6  [ ] DGRAM82 /dev/log
unix  1  [ W ]   STREAM CONNECTED 10275
unix  1  [ ] STREAM CONNECTED 10274
unix  0  [ ] DGRAM10224
unix  0  [ ] DGRAM6171
unix  0  [ ] DGRAM6159
unix  0  [ ] DGRAM4023
unix  0  [ ] DGRAM3983
unix  0  [ ] DGRAM86

...which seems right to me.

But when I try to browse to Lucien through Windows Network, I can't see
the Library share.  I should say that I have another server with Samba
running in this network (Hagrid) and I can browse there just fine... and
the smb.conf files are mostly identical on both servers (with the
appropriate differences for the servers, of course).

Anyone got any ideas?


-- 
Slainte,
Richard S. Crawford
AIM: Buffalo2K / Y!: rscrawford / ICQ: 11640404
Howard Dean for America: http://www.deanforamerica.com
http://www.mossroot.com http://www.stonegoose.com
It is only with our heart that we can see clearly.  What is essential
is invisible to the eye.  --Antoine de Saint Exupery
___
vox-tech mailing list
[EMAIL

  1   2   >