Re: SPAM Trap

2005-12-23 Thread Louis LeBlanc
On 12/23/05 12:12 PM, Gerard Seibert sat at the `puter and typed:
> I have been reading about SPAM Traps. Exactly what is a SPAM Trap? I 
> noticed that it seems to be used in conjunction with blacklisting 
> organizations.
> 
> How would one go about setting up one?

Ahh, spam.  A subject near and dear to my heart.  Well, ok, not really,
but certainly one I've spent a lot of time trying to minimize.

I use a honeypot setup to pipe obvious spam through the spamassassin
bayes learner.  Of course, I have broad access to aliases, and I can
have mail delivered to any folder I like using the
[EMAIL PROTECTED] extension.  So, I alias some bogus address,
like [EMAIL PROTECTED] to my folder (like [EMAIL PROTECTED]),
then have procmail intercept it and pipe it directly through
spamassassin to be learned and reported as spam.  Then procmail
ditches it to /dev/null.  I never see the trap, and only those
harvesting addresses on newsgroups are going to send to the address.

Mind you, I am very careful about posting with these.  I have a
specific sig file that describes in detail what will happen to any
message sent to the address.  Since I use mutt to do this, all return
paths lead to the honeypot.  These addresses are only seeded in
postings to newsgroups, but that is more than effective enough.  Pick
any newsgroup, but for best results, focus on those you would never
want your children to frequent.  Make sure your posting does NOT have
any real address at all.  Mutt is best, since you can use the
'set from="[EMAIL PROTECTED]"' config, which will ensure all return
path headers use it, and you can explicitly set the From and Reply-To
headers.  That way, the only address harvested is the one you want
harvested.

In my procmail rc file, I catch anything going to the trap folder, log
a '.' to a ~/.honeypot_hits file so I can tell how many hits have
resulted (1163 in the last 3 months, with the last one coming at 8:10
this morning - might be worth reseeding soon).  It's also boosted my
SA bayes accuracy to near perfection - I don't get so much spam at my
"real" address, but what I do get is sorted perfectly over the last 2
years - meaning not one single false positive or false negative in at
least 6 months.

The only real magic, once you've got the aliases down is the procmail
recipe:

##
:0
* FOLDER ?? ^^trap^^
{
  VERBOSE=off
  # let's count this message:
  LOGFILE=$HOME/.honeypot_hits
  LOG="."
  LOGFILE=$HOME/.procmail_log
  # uncomment the next line if you log verbose messages
  # VERBOSE=on

  # Report spam.
  # The lock prevents windfalls from knocking the system over
  :0c:honeypot.lock
  | nice -n 20 /usr/local/bin/spamassassin -r

  # Now, teach the bayes db what spam is
  :0:salearn.lock
  | nice -n 20 /usr/local/bin/sa-learn --spam --no-rebuild

  # Now, file it appropriately
  :0
  /dev/null
}
##

You may, of course, have to find another way to do this of you don't
have aliasing capabilities, or if you don't have the "plussed folder"
extension available.  In the latter case, you can scan the routing
headers to see what address the message is for - not quite as easy,
but it can be done.

I also have procmail separate spam based on whether it goes over the
autolearn threshold.  If it's autolearned, it goes into the
spam_autolearn folder, and I never bother to look at it.  It is
already automagically trained into the bayes db.  Anything tagged as
spam, but not over that threshold, is put into the spam folder, and
requires a verification.  I simply use mutt or squirrelmail to mark it
as read - if it really is spam, or move it back to the right folder.

Every night, mail in the spam folder that is marked as read is piped
through the learner to teach bayes to count it as spam, and then
backed up into a spam archive folder - named based on the month (like
spam-01-05) - and saved there for 12 months.  After 12 months, this
folder will be removed altogether.  I figure that's long enough to be
sure nobody has sent me anything important.  I do check these from
time to time though, when I'm bored.  So far, 100.00% perfection.

I started using the honeypot way back when I was using Cyrus imapd (3
years ago?), and my false negatives went from about 30/day (out of
around 200 spams) to about 1 every week or so within a month.

About a year ago, I wrote the perl script that manages, archives, and
deletes old spam.  Since then, spam tends to take a *lot* less of my
own time.  So I count all the up front effort as time very well spent.
Currently, I'm only getting around 400 spams/month (not counting
honeypot hits) which is back up from under 100, back when I turned off
one of my domains that had been getting around 2000/month.  That
script has been untouched since February and working well.

I've posted the script on the list I t

openldap setup question

2005-12-22 Thread Louis LeBlanc
I know this is OT, but I'm trying to set up an LDAP server
(openldap-2.2.29 client and server from ports) for user address books.

I'm not interested in setting up LDAP authentication for the whole
system.  I'd prefer the ldap server use the regular login passwords,
like the imap server does - the interface to change these is just
easier to deal with for me.

At this point, I have the server set up, and I've installed the java
based ldapbrowser package (from ports, of course) and it seems to be
able to add users.  Unfortunately, the users added don't seem to be
able to add or modify their own address books, and I have to have
their password to add them - which I don't like.

I don't want a network wide address book, like a company would use, I
want my 3 users to be able to import their address books and have them
available to themselves only - no anonymous connection, no access to
any users book by other users.

Ideally, I'd like to see bookmarks saved this way too, but I don't
think most browsers can read them over LDAP.  Oh well.

So, can anyone tell me if this is a realistic application of the LDAP
tools?  If so, any pointers to the docs that actually describe these
two features/uses?  There are dozens of howtos and quick start guides
out there, but I have yet to find one that addresses PAM
authentication and user writeable address books.

I know LDAP is a good tool for authentication, but I like having a
single access route - namely the system login.  This makes it much
easier to be sure all users can change *all* their passwords in one
go.  Having separate login dbs for samba, sasl, shell, and ldap would
make that quite a pain.

TIA
Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

diplomacy, n:
  Lying in state.


pgparUxaxDSvQ.pgp
Description: PGP signature


Re: courier-authlib-0.58 dumps core at login

2005-12-11 Thread Louis LeBlanc
On 12/11/05 09:44 PM, Louis LeBlanc sat at the `puter and typed:
> Hey folks.
> 
> Is it me, or is the courier-authlib port the absolute worst thing to
> upgrade?  It seems like *every* single time I try to upgrade this
> port, I wind up with nobody being able to log into my courier
> installation.  Usually, it's a simple matter of a simple manual
> restart of the daemon (it shuts down fine at deinstallation, but won't
> start back up when portupgrade is used), sometimes it's a minor config
> tweak.
> 
> The thing is I keep forgetting this little issue for some stupid
> reason, and this time, I've got the darn thing dumping core every time
> someone tries to log in.
> 
> The ports/security/courier-authlib-base/ port installs without any
> problems, but it only builds and installs the libauthpam.so module.
> This is fine, I guess, since I've removed all the other modules from
> the authmodulelist config - that's the only one it ever used before
> anyway.
> 
> So, now I've gone through the whole fiasco of re-installing my entire
> courier-* setup, verifying ALL the configs for authdaemonrc, imapd,
> and imapd-ssl.  Still, authdaemond dumps core anytime someone tries to
> log in.
> 
> Anyone else see anything wierd with courier-authlib-base-0.58?
> 
> I have googled for it, and all I get are links to the various copies
> of the ports/UPDATING file.  Of course, it contains all the keywords I
> can come up with, but none are relevant to the recent issue - and the
> current UPDATING file has nothing about the latest courier-authlib
> update.
> 
> BTW, I'm the only one on the system that can get mail, because I'm
> using mutt.  My Thunderbird and Squirrelmail users cannot log into
> either imap service (imapd with squirrelmail, imapd-ssl remotely).
> So, this is a little annoying, and probably a bit urgent.
> 
> I have the entire port configuration output if it's of any help.  It
> looks like the config process cycles through 12 times.

Quick followup:

I ran a couple tests with this as follows:  Using authtest, I was able
to see what the encrypted password was on my user account.  I then set
DEBUG=2 in the authdaemonrc file, and restarted the authdaemon.  This
routs encrypted passwords to the debug file when a login is attempted.

These passwords do match, but the debug log shows a rejection.

Here's the output to the debug log:
Dec 11 22:08:07 keyslapper imapd: Connection, ip=[::1]
Dec 11 22:08:07 keyslapper authdaemond: received auth request, service=imap, 
authtype=login
Dec 11 22:08:07 keyslapper authdaemond: authpam: trying this module
Dec 11 22:08:07 keyslapper authdaemond: authpam: sysusername=leblanc, 
sysuserid=, sysgroupid=1001, homedir=/home/leblanc, address=leblanc, 
fullname=Louis LeBlanc, maildir=, quota=, options=
Dec 11 22:08:07 keyslapper authdaemond: authpam: clearpasswd=, 
passwd=$1$zXwYvUtS$W1234567890ABCdefGHIj/
Dec 11 22:08:07 keyslapper authdaemond: pam_service=imap,
pam_username=leblanc
Dec 11 22:08:07 keyslapper authdaemond: authpam: REJECT - try next
module
Dec 11 22:08:07 keyslapper authdaemond: FAIL, all modules rejected


and the authtest output:
# authtest leblanc
Authentication succeeded.

 Authenticated: leblanc  (system username: leblanc)
Home Directory: /home/leblanc
   Maildir: (none)
 Quota: (none)
Encrypted Password: $1$zXwYvUtS$W1234567890ABCdefGHIj/
Cleartext Password: (none)
   Options: wbnodsn=1


Naturally, I changed the encrypted password here, but rest assured I
did check them character by character.

BTW, authdaemond did dump core again.

Thanks again.
Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

God doesn't play dice.
-- Albert Einstein


pgpZRHWzgbTjF.pgp
Description: PGP signature


courier-authlib-0.58 dumps core at login

2005-12-11 Thread Louis LeBlanc
Hey folks.

Is it me, or is the courier-authlib port the absolute worst thing to
upgrade?  It seems like *every* single time I try to upgrade this
port, I wind up with nobody being able to log into my courier
installation.  Usually, it's a simple matter of a simple manual
restart of the daemon (it shuts down fine at deinstallation, but won't
start back up when portupgrade is used), sometimes it's a minor config
tweak.

The thing is I keep forgetting this little issue for some stupid
reason, and this time, I've got the darn thing dumping core every time
someone tries to log in.

The ports/security/courier-authlib-base/ port installs without any
problems, but it only builds and installs the libauthpam.so module.
This is fine, I guess, since I've removed all the other modules from
the authmodulelist config - that's the only one it ever used before
anyway.

So, now I've gone through the whole fiasco of re-installing my entire
courier-* setup, verifying ALL the configs for authdaemonrc, imapd,
and imapd-ssl.  Still, authdaemond dumps core anytime someone tries to
log in.

Anyone else see anything wierd with courier-authlib-base-0.58?

I have googled for it, and all I get are links to the various copies
of the ports/UPDATING file.  Of course, it contains all the keywords I
can come up with, but none are relevant to the recent issue - and the
current UPDATING file has nothing about the latest courier-authlib
update.

BTW, I'm the only one on the system that can get mail, because I'm
using mutt.  My Thunderbird and Squirrelmail users cannot log into
either imap service (imapd with squirrelmail, imapd-ssl remotely).
So, this is a little annoying, and probably a bit urgent.

I have the entire port configuration output if it's of any help.  It
looks like the config process cycles through 12 times.

Any help would be appreciated.

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

First law of debate:
  Never argue with a fool.  People might not know the difference.


pgpCLo4twcJfC.pgp
Description: PGP signature


Re: nvidia-driver weirdness

2005-11-28 Thread Louis LeBlanc
On 11/27/05 10:37 PM, Remington sat at the `puter and typed:
> FreeBSD  6.0-RELEASE FreeBSD 6.0-RELEASE #1: Sat Nov 26 23:19:14 PST
> 2005 root@:/usr/obj/usr/src/sys/MACHINE  i386
> 
> nvidia-driver-1.0.7676_1
> All ports current as of a few hours ago. No special make flags.
> 
> Im sure this is a repeat post or I'm missing something stupid. Xorg
> keeps randlonly locking and hard rebooting my machine when the nvidia
> xorg driver is loaded. It can keep running for a few minutes, or take a
> few hours before the lockup can occur.
> 
> I have commented out device agp out of my kernel config, and likewise
> kept it in there, both with no luck. I've also tried NvAGP set to both
> 1, and 2 with no luck
> 
> Driver  "nvidia"
> VendorName  "NVIDIA"
> BoardName   "Geforce 6800 GT"
> Option  "NvAGP" "2"
> BusID   "PCI:1:0:0"
> 
> Any assitance would be great, after an extensive google search I got
> nothing.

Is this an upgrade, or a new install of 6.0?  Many of the threads I've
read regarding the Nvidia driver with 6.0 suggested that the Nvidia
driver be rebuilt after the 6.0 upgrade.  In fact, I believe rebuilding
all ports was recommended, which is why I've decided to invest in a
second hard drive to do a new install.

I don't know if it will help, but my own config is pretty much the
same - with a couple extras to omit the logo splash, accelerate
rendering, etc.  Of course, I'm still running 5.4.

Try rebuilding the driver from ports - that's probably your best bet.

HTH
Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Nusbaum's Rule:
  The more pretentious the corporate name, the smaller the organization.
  (For instance, the Murphy Center for the Codification of Human and
  Organizational Law, contrasted to IBM, GM, and AT&T.)


pgppNOXjMJxD7.pgp
Description: PGP signature


Re: are there some function in C to notify about the OS used?

2005-11-27 Thread Louis LeBlanc
On 11/27/05 07:22 PM, Roland Smith sat at the `puter and typed:
> On Sun, Nov 27, 2005 at 07:16:21PM +0100, Javier Matos wrote:
> 
> > I was programming an application to work with system process that can
> > be found in /proc path and now I must to migrate my application to a
> > linux OS but the structure of status file is different. I made two
> > procedures to take information about status files, one for FreeBSD and
> > another for Linux... , now I need some function in C to notify about
> > the OS used to run the application to select between two
> > procedures... but I can?t find it, can anyone help me?
> 
> FILE *f = popen("uname", "r");
> 
> Read the name from the pipe f, and then pclose(f);

There's also the direct API: UNAME(3) (man 3 uname).

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Two wrights don't make a rong, they make an airplane.  Or bicycles.


pgpHjW1WoIK0p.pgp
Description: PGP signature


Unresolved symbol in libdri.a (X.org)

2005-11-24 Thread Louis LeBlanc
Ok, I've done a good load of googling on this, and I've seen hundreds
of reports of this problem with X.org, but not a single solution.  I'm
at a loss.

First my config:
OS: 5.4-RELEASE-p8
X.org version: xorg-6.8.2 (built from ports)
video driver: nvidia-driver-1.0.7676_1 (built from ports)


My xorg.conf (only including what I suspect is relevant:

Section "Module"
Load "dbe"
Load "extmod"
Load "dri"
Load "glx"
Load "record"
Load "xtrap"
Load "freetype"
Load "type1"
EndSection

# Not compatible with glx, which nvidia wants, so no composite in KDE
# Section "Extensions"
#   Option  "Composite" "Enable"
# EndSection

...

Section "Device"
Identifier "NV AGP TwinView"
VendorName  "nVidia Corporation"
Driver "nvidia"
# update this with the PCI id of your card.  Consult the output
# of the 'lspci' command. The  BusID is usually optional when
# only using one graphics card.
BusID   "PCI:1:0:0"
BoardName   "NV34 [GeForce FX 5200]"

# These are extras that may need removal
Option "NoLogo" "True"
Option "RenderAccel" "True"
Option "NvAGP" "1" # Use NVIDIAs agp
Option "HWCursor" "True"
# Option "CursorShadow" "True"
# Option "EnableAGPFW" "1"  # Use Fast Writes

# twinview setup
Option "TwinView"
Option "SecondMonitorHorizSync" "31-80"
Option "SecondMonitorVertRefresh"   "56-75"
Option "TwinViewOrientation""RightOf"
Option "MetaModes"  "1280x1024,1280x1024; 1024x768,1024x768"
Option "ConnectedMonitor"   "crt,crt"
EndSection


Now, the problem I'm seeing is in Xorg.0.log.  It appears there is
some kind of problem resolving a symbol somewhere, but I can't figure
out exactly where the problem is.

Here's an excerpt from Xorg.0.log:
...
(**) NVIDIA(0): DPMS enabled
(II) Loading extension NV-CONTROL
(II) Loading extension XINERAMA
(==) RandR enabled
Symbol __glXgetActiveScreen from module 
/usr/X11R6/lib/modules/extensions/libdri.a is unresolved!
Symbol __glXgetActiveScreen from module 
/usr/X11R6/lib/modules/extensions/libdri.a is unresolved!
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
...

There are a couple other "inappropriate ioctl" warnings related to the
mouse and thumbball, though they are probably not related to this
problem.

Any ideas what the cause of this resolution problem is?

TIA
Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Beauty, n.:
  The power by which a woman charms a lover and terrifies a husband.
-- Ambrose Bierce


pgpR3sW3zud31.pgp
Description: PGP signature


Re: How the heck do you burn a VCD?

2005-11-23 Thread Louis LeBlanc
On 11/24/05 12:56 AM, Louis LeBlanc sat at the `puter and typed:
> On 11/23/05 09:35 PM, Michael C. Shultz sat at the `puter and typed:
> > On Wednesday 23 November 2005 21:20, Louis LeBlanc wrote:
> > > Hey folks.  This may be slightly OT, but I just downloaded the
> > > StarWreck spoof (http://www.starwreck.com), and I'd like to get it
> > > burned to a VCD.  It's in xvid/avi format, and I'm not sure what's the
> > > best way to burn this.  with the following:
> > >
> > > burncd -f /dev/acd1 -d vcd star_wreck_in_the_pirkinning_subtitled_xvid.avi
> > >
> > > but it doesn't seem to play anywhere - not even my FreeBSD box - which
> > > is the only machine I can get the avi file to play in the first place
> > > (MacOs X & Windoze won't play it).  How's that for FreeBSD being a
> > > better multimedia box?
> > >
> > > I have checked the disk, and it *does* appear to have been burned - so
> > > this is a coaster now.  I'm guessing I just didn't understand the
> > > burncd manpage in regards to vcd burning.  I also couldn't find
> > > anything but 'doze and MacOs X commercial software ads on google, even
> > > though I required either "FreeBSD" or "Linux" in my search.
> > >
> > > Anyway, I'm really a newbie with this vcd stuff, so a little leg up
> > > would be appreciated.
> > >
> > > TIA
> > > Lou
> > 
> > Look in the handbook under opticle drives on how to make ISO's
> 
> What, really?  I haven't been able to find any indication that the VCD
> format was nothing more than an xvid AVI file in an iso filesystem.
> 
> Figures it would be so painfully simple - that'll play on my DVD
> player?
> 
> Thanks for the pointer.

BTW, am I supposed to burn this as a vcd or data track?

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

The best diplomat I know is a fully activated phaser bank.
-- Scotty


pgpT7TwG9R4KS.pgp
Description: PGP signature


Re: How the heck do you burn a VCD?

2005-11-23 Thread Louis LeBlanc
On 11/23/05 09:35 PM, Michael C. Shultz sat at the `puter and typed:
> On Wednesday 23 November 2005 21:20, Louis LeBlanc wrote:
> > Hey folks.  This may be slightly OT, but I just downloaded the
> > StarWreck spoof (http://www.starwreck.com), and I'd like to get it
> > burned to a VCD.  It's in xvid/avi format, and I'm not sure what's the
> > best way to burn this.  with the following:
> >
> > burncd -f /dev/acd1 -d vcd star_wreck_in_the_pirkinning_subtitled_xvid.avi
> >
> > but it doesn't seem to play anywhere - not even my FreeBSD box - which
> > is the only machine I can get the avi file to play in the first place
> > (MacOs X & Windoze won't play it).  How's that for FreeBSD being a
> > better multimedia box?
> >
> > I have checked the disk, and it *does* appear to have been burned - so
> > this is a coaster now.  I'm guessing I just didn't understand the
> > burncd manpage in regards to vcd burning.  I also couldn't find
> > anything but 'doze and MacOs X commercial software ads on google, even
> > though I required either "FreeBSD" or "Linux" in my search.
> >
> > Anyway, I'm really a newbie with this vcd stuff, so a little leg up
> > would be appreciated.
> >
> > TIA
> > Lou
> 
> Look in the handbook under opticle drives on how to make ISO's

What, really?  I haven't been able to find any indication that the VCD
format was nothing more than an xvid AVI file in an iso filesystem.

Figures it would be so painfully simple - that'll play on my DVD
player?

Thanks for the pointer.

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

The lovely woman-child Kaa was mercilessly chained to the cruel post of
the warrior-chief Beast, with his barbarian tribe now stacking wood at
her nubile feet, when the strong clear voice of the poetic and heroic
Handsomas roared, 'Flick your Bic, crisp that chick, and you'll feel my
steel through your last meal!'
-- Winning sentence, 1984 Bulwer-Lytton bad fiction contest.


pgpJ3n0vGkEd3.pgp
Description: PGP signature


How the heck do you burn a VCD?

2005-11-23 Thread Louis LeBlanc
Hey folks.  This may be slightly OT, but I just downloaded the
StarWreck spoof (http://www.starwreck.com), and I'd like to get it
burned to a VCD.  It's in xvid/avi format, and I'm not sure what's the
best way to burn this.  with the following:

burncd -f /dev/acd1 -d vcd star_wreck_in_the_pirkinning_subtitled_xvid.avi

but it doesn't seem to play anywhere - not even my FreeBSD box - which
is the only machine I can get the avi file to play in the first place
(MacOs X & Windoze won't play it).  How's that for FreeBSD being a
better multimedia box?

I have checked the disk, and it *does* appear to have been burned - so
this is a coaster now.  I'm guessing I just didn't understand the
burncd manpage in regards to vcd burning.  I also couldn't find
anything but 'doze and MacOs X commercial software ads on google, even
though I required either "FreeBSD" or "Linux" in my search.

Anyway, I'm really a newbie with this vcd stuff, so a little leg up
would be appreciated.

TIA
Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

QOTD:
  On a scale of 1 to 10 I'd say...  oh, somewhere in there.


pgpYZKmRg6wGp.pgp
Description: PGP signature


Re: Trouble installing fvwm2

2005-11-23 Thread Louis LeBlanc
On 11/23/05 10:36 AM, Mike Jeays sat at the `puter and typed:
> On Wed, 2005-11-23 at 16:03 +0100, [EMAIL PROTECTED] wrote:
> > Hi,
> > 
> > I just compiled/installed fvwm2 from ports on my 6.0. But I don't know how 
> > to
> > run it.
> > 
> > I have gdm launching gnome 2.12 by default and fvwm2 does not appear in the 
> > list
> > in gdm.
> > 
> > I am such a newbie, that I can't imagine you don't know what's wrong :)
> > 
> > Thanks by advance.
> > 
> > Regards, Ivan.
> > ___
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 
> FVWM2 is a different window manager, and can't, to the best of my
> knowledge, be run from GDM, or from KDM for that matter.
> 
> The easy way to try it is to kill gdm, or stop it from starting up at
> boot time, and then create a file called '.xinitrc' in your home
> directory.  It should contain one line 'exec /usr/X11R6/bin/fvwm2'.
> Then run "startx" from your home directory.

No Mike, this isn't true.  I just switched to kdm so I could play with
KDE, but I still have the option (and am currently using it) of using
my old Fvwm2 config.  You CAN also run Fvwm from gdm.

It should be noted that gdm is NOT a window manager, but a display
manager, as is kdm and xdm.  They launch window managers for you.  Kdm
and gdm are just designed to cater to their respective session
managers (which is also different than the window managers).  Gdm
gives you the option of using several window managers (like IceWM,
enlightenment, etc) on top of the session manager.  Fvwm CAN run with
the gnome session manager (and at one time could easily be built with
the gnome session manager support build it IIRC).

It's been a long time since I even had gdm installed, much less run
Fvwm off it, but I know for a fact it can be done.  You just have to
read the docs to see how to specify your window manager.  It may even
be possible to swith to Fvwm on the fly through the default WM menus.

Ivan, I do know that with kdm, I had to link my ~/.fvwm/fvwm2rc file
to ~/.fvwm2rc in order to have it recognized when starting from kdm.
Starting it from xdm didn't seem to require that, but for whatever
reason, kdm did.  Perhaps this might be useful when setting up the
~/.xsession as suggested by Mike?  Fvwm2 has a -f parameter that lets
you specify the config file explicitly, but remember that any files
you read from there should include fully resolvable paths.

Good luck, and sorry I couldn't provide more detailed help on this.

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

To live is always desirable.
-- Eleen the Capellan, "Friday's Child", stardate 3498.9


pgpHjrXbqerJv.pgp
Description: PGP signature


Re: Project Management Software

2005-11-22 Thread Louis LeBlanc
On 11/22/05 05:16 PM, Wojciech Puchar sat at the `puter and typed:
> > Could you please tell me if there is any Project Management software that i 
> > can use with FreeBSD?
> > Something similar to MS Project..?
> 
> i don't know M$ Project but cvs works fine, and is really good as it's 
> used by FreeBSD developer for many years !

I don't think that's not the question, actually.  As I understand it,
he's asking for project planning software, you know, dates,
deliverables, etc.  M$ Project is the one thing I haven't seen
suitably reproduced or bested in the open source world.

CVS on the other hand, is version control, which can be completely
unrelated and independed of project management, particularly if the
project has nothing to do with code.  I know, this is a strange
concept for many on this list. :)

Nonetheless, even construction and urban development contractors use
project planning software.

If anyone knows of a project that actually does what M$ Project does,
I'd be interested as well.

L
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Novinson's Revolutionary Discovery:
  When comes the revolution, things will be different --
  not better, just different.


pgpYGNIQ1emh0.pgp
Description: PGP signature


FVWM menu and keyboard config transposition to KDE?

2005-11-20 Thread Louis LeBlanc
I know this is a strange question, but I'm a long time FVWM2 user (7+
years) and I've got a pretty extensive set of keyboard shortcuts and
menu setups.  Now, I'm starting to play with KDE (just for yuks,
really) and I've gotta wonder if there's a quick and dirty way to
transpose all my FVWM2 menus to the menu popping up on the Home icon
when I hit the menu key.

Anyone else ever made this move?  I think I like some of what I'm
seeing, but I'm not sure I want to relearn my whole UI just yet.  I'd
probably be more likely to just update the backgrounds and look for
some new window candy for FVWM before I learn a new UI.

BTW, If I go back to FVWM, is there anything saying I can't use
Konqueror?  And I wonder if there are extensions for it like those
available for Firefox?

Thanks in advance.

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

It is much easier to suggest solutions when you know nothing about the problem.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Starting kdm

2005-09-20 Thread Louis LeBlanc
On 09/19/05 09:21 PM, Eric Schuele sat at the `puter and typed:
> stan wrote:
> > I'm trying to figure out the current way (on a 4.11 STABLE machine)
> > of having kdm startup on boot. Surpisingly neither the handbook,
> > nor a Google search really led me anywhere on this, and I don't
> > see a script for this in /usr/local/etc/rc.d
> > 
> > Do I put it in /etc/tys? If so what's teh proper invocation?
> > 
> 
> Handbook reads (I assume it applies to 4.11 as well):
> 
> 5.7.3.1 The KDE Display Manager
> ...
> 
> ...
> Now, make sure kdm is listed in /etc/ttys to be started at the next 
> bootup. To do this, simply follow the instructions from the previous 
> section on XDM and replace references to the /usr/X11R6/bin/xdm program 
> with /usr/local/bin/kdm.
> 
> "Previous Section" reads:
> 5.6.2 Using XDM
> 
> The XDM daemon program is located in /usr/X11R6/bin/xdm. This program 
> can be run at any time as root and it will start managing the X display 
> on the local machine. If XDM is to be run every time the machine boots 
> up, a convenient way to do this is by adding an entry to /etc/ttys. For 
> more information about the format and usage of this file, see Section 
> 21.3.2.1. There is a line in the default /etc/ttys file for running the 
> XDM daemon on a virtual terminal:
> 
> ttyv8   "/usr/X11R6/bin/xdm -nodaemon"  xterm   off secure
> 
> By default this entry is disabled; in order to enable it change field 5 
> from off to on and restart init(8) using the directions in Section 
> 21.3.2.2. The first field, the name of the terminal this program will 
> manage, is ttyv8. This means that XDM will start running on the 9th 
> virtual terminal.

Does anyone know if adding 
ttyv9   "/usr/local/bin/kdm -nodaemon"  xterm   off secure

but leaving
ttyv8   "/usr/X11R6/bin/xdm -nodaemon"  xterm   off secure
intact would cause any conflict?  This would be a lot for most
systems, I'm sure, and probably not realistic for a typical system,
but I'm curious whether the display managers would conflict.

TIA

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Mitchell's Law of Committees:
  Any simple problem can be made insoluble if enough meetings are
  held to discuss it.


pgpufvwM2cGDb.pgp
Description: PGP signature


Re: Firefox and Flash ...

2005-09-19 Thread Louis LeBlanc
On 09/19/05 09:57 PM, Kiffin Gish sat at the `puter and typed:
> I know I am not the first nor more than likely the last, but I cannot 
> for the life of me get Flash to work in Firefox 1.0.6 on FreeBSD 5.4.
> 
> I've tried everything according to the FreeBSD handbook, mailing lists, 
> etc, but still when there is a page with Flash, poor Firefox chokes and 
> dies.
> 
> One thing interesting I noticed though, which might be a hint, is that 
> if I exit Xfce, logout, login this time as root, fire up Xfce again and 
> then run Firefox, everything works without a hitch, e.g. even 
> flash-based pages don't crash Firefox. Weird.
> 
> What gives?

I assume you have the plugger port installed?  Better yet, install the
plugger-plugins-hubbe port.  It's a meta-port that gets not only the
plugger port, but all those needed for the various media types, like
xanim and mplayer.

The plugin management isn't exactly solid as a rock yet.  Here's a few
places to look:

ls -lCF ~/.plugger:
-r-xr-xr-x  1 leblanc  leblanc  13516 Sep 16 15:50 plugger-5.1.3*
-r-xr-xr-x  1 leblanc  leblanc   9068 Sep 16 15:50 plugger-controller*
-r-xr-xr-x  1 leblanc  leblanc   2905 Sep 16 15:50 plugger-oohelper*
-r--r--r--  1 leblanc  leblanc  18310 Sep 16 19:08 pluggerrc-5.1.3

If you have anything different, make sure your /usr/ports/www/plugger/
port is up to date, clean out ~/.plugger, and as your userid - with the
port built - type 'make local-install'.  This will repopulate
~/.plugger.

Then there's this:
ls -lCF /usr/X11/lib/browser-plugins/
lrwxr-xr-x  1 root  wheel 62 Sep 19 08:34 libjavaplugin_oji.so@ -> 
/usr/local/jdk1.4.2/jre/plugin/i386/ns610/libjavaplugin_oji.so
-r-xr-xr-x  1 root  wheel  23952 Sep 16 15:48 npplugger.so*

I know it seems a little sparse, but it does the trick for me.
nplugger.so is the plugger interface, and libjavaplugin_oji.so is, of
course, the java plugin.  You'll want the JDK 1.4.2 port installed
before worrying about this one.

One big hangup I ran into at this point, was not having mplayer
configured right.  Check out `man mplayer` to check out the proper
configuration - pay particular attention to the -vo switch.  Use the
/usr/local/share/mplayer/example.conf file, and modify the various flags
that appear troublesome.  You can figure this out by getting a .wmv or
.mpeg URL and passing it to mplayer from the command line.

If it helps, this is my vo setting:
vo = sdl,x11,xv,gl,gl2

I should probably put gl2 at the beginning though . . .

HTH
Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Finagle's Fourth Law:
  Once a job is fouled up, anything done to improve it only makes
  it worse.


pgpybXVmPO1Iq.pgp
Description: PGP signature


Konfabulator widget knockoffs?

2005-09-18 Thread Louis LeBlanc
Crazy question here maybe, but I'm pretty fascinated by the
Konfabulator and MacOS X widgets that are becoming more and more
popular.  Very cool little clients.  The "what to do" widget is just
great, and there's tons of other excellent widgets, like the weather
and search utilities.

I've looked at the ports directory, and can't find anything that looks
like these little gadgets.  Does anyone have any idea if such a thing
is available for FreeBSD/Linux?

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

There are certain things men must do to remain men.
-- Kirk, "The Ultimate Computer", stardate 4929.4


pgpyjwnrWjlmK.pgp
Description: PGP signature


Laptop questions

2005-09-11 Thread Louis LeBlanc
Hey all.

I'm on the verge of getting myself a laptop.  As this is my first
laptop, and I'm rewarding myself for a recent accomplishment, I
figured I'd go all out and get the top of the line Dell.  I know, IBM
has some great notebooks, as does Gateway and particularly Apple.  I'd
like to get an Apple, but that would be out of line with the reason
I'm rewarding myself.

Bottom line, I'll need to keep Windows on the system - relevant to the
event for which I'm rewarding myself.  Still, I'd really, REALLY like
to get FreeBSD (or some other *BSD) and/or *maybe* a Linux distro on
there as well.  The hard drive is going to be a 100G, so I could
probably squeeze at least 2 OSes on without much trouble.

So the question:  Has anyone successfully installed and run FreeBSD
(or any other *BSD or Linux distro) on a Dell Inspirion XPS Gen 2? I'm
planning to max out the RAM, include wireless networking, and sticking
with the 2GHz CPU.  Other than that, it's pretty standard fare.  Any
success stories would be most welcome.  If anyone has found that
FreeBSD is not suited for this system (yet), or a specific Linux
distro is ideally suited for this system, that would be a most welcome
piece of info as well.

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Shannon's Observation:
  Nothing is so frustrating as a bad situation that is beginning to improve.


pgpek9Y4Zw8sw.pgp
Description: PGP signature


Re: FreeBSD vs. window managers

2005-09-02 Thread Louis LeBlanc
On 09/02/05 11:19 AM, hal sat at the `puter and typed:
> For FreeBSD 5.4 what is the:
>  default window manager?
>  developer recommended window manager?
>  easiest to install?
> 
> I am not trying to start a religious war here.
> I am currently installing KDE from source and it
> is taking forever.
> 
> #cd /usr/ports/x11/KDE3
> # make
> 
> Some of the packages needed cannot be found by the
> make file.  Google is great but some of the packages are
> really hard to find.

None of the window managers are difficult to install on FreeBSD, but
some may be tricky to configure.  Maybe most.

If you want a window manager, not a desktop, you don't want KDE.
That's a desktop/WM.  My personal favorite for more than 6 years now
is FVWM2.  Flexible, fast, supports all kinds of cool things, like
fancy key and mouse bindings, Xinerama, etc.

Still, lot's of people like KDE, enlightenment(?), IceWM, the Gnome
Desktop, etc.

My advice is try a few different ones before deciding.  See how
intiutive or simple you find configuration (I like FVWM2 because it's
simple text file configuration, and manpages are quite thorough).
Just remember, you will probably get a basic configuration set up the
way you want and not really touch it for a long time.  Then one day,
you'll look at it to tweak some behavior.  My config has only changed
a little over the last 6 years, and only one or two small tweaks at a
time.  Lots of times, I have to go back to reread documentation or
commentary in the config to figure out what it's doing.

So, two things that are important: ease of configuration and
flexibility.  You want those small tweaks to be painless, but you also
want the WM to be able to do what you want it to.  So far, I've not
found anything I wanted that FVWM2 couldn't do.  Documentation (man
pages) are well written enough that tweaks are pretty easy to manage
now too.

BTW, I'm fairly mouse averse, so I have my config set up to allow me
to keep my hands on the keys until I go into a browser, unless I
decide to exercise the mouse for some reason.  This includes switching
pages on the desktop, switching desktops, switching apps, etc..  If I
go to the mouse, it all works pretty much the same.  Key bindings
allow me to use the fancy buttons on my fancy keyboard to control
audio and video playback, volume - including mute, and window layering
(move to top, bottom, etc.) among many other things.

Good luck.
Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

VMS, n.:
  The world's foremost multi-user adventure game.


pgpd7BcyMM4TK.pgp
Description: PGP signature


Re: Logo Contest Update?

2005-08-31 Thread Louis LeBlanc
On 08/31/05 09:41 PM, Dmitry Mityugov sat at the `puter and typed:
> On 8/31/05, Louis LeBlanc <[EMAIL PROTECTED]> wrote:
> ...
> > LOL.  You guys are brutal.  I'm glad I decided to stay out of this
> > thread.  Sorta. :)
> 
> Me too. Especially after I found out who's actually inside the OpenBSD
> fish/logo: http://www.openbsd.org/27.html
> 
> :-)))

Love it.  Nice and obscure, but he's there. :)

-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Jones' Second Law:
  The man who smiles when things go wrong has thought of someone
  to blame it on.


pgphXYx60CxPc.pgp
Description: PGP signature


Re: Logo Contest Update?

2005-08-31 Thread Louis LeBlanc
On 08/31/05 12:59 PM, Kris Kennaway sat at the `puter and typed:
> On Wed, Aug 31, 2005 at 04:57:31AM -0700, Ted Mittelstaedt wrote:
> > 
> > 
> > >-Original Message-
> > >From: [EMAIL PROTECTED]
> > >[mailto:[EMAIL PROTECTED] Behalf Of Kris Kennaway
> > >Sent: Wednesday, August 31, 2005 1:54 AM
> > >To: Josh Ockert
> > >Cc: Pratt, Benjamin E.; FreeBSD-Questions; Ted Mittelstaedt
> > >Subject: Re: Logo Contest Update?
> > >
> > >
> > >On Tue, Aug 30, 2005 at 10:06:27AM -0400, Josh Ockert wrote:
> > >> Please refrain from misinformation.
> > >
> > >But that's so hard for Ted!
> > >
> > 
> > Hey, I don't even have to try on this one - the lack of updates to the
> > contest website says it all.
> > 
> > When a contest can't meet it's own promises it does a far, far better
> > job of discrediting itself than anything I could do.
> 
> Couldn't possibly be anything else, like, say, the person in charge
> being away, huh?  Gotta keep those black helicopters circling!


LOL.  You guys are brutal.  I'm glad I decided to stay out of this
thread.  Sorta. :)

Cheers
Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Hoare's Law of Large Problems:
  Inside every large problem is a small problem struggling to get out.


pgpzTGtDqfcih.pgp
Description: PGP signature


Re: REQUEST !!!

2005-08-29 Thread Louis LeBlanc
On 08/29/05 10:18 AM, Edward Kourian sat at the `puter and typed:
> Hello, 
> 
> I've sent a few emails to unsubscribe  from the mailing list, but NO result.
> I tried to unsubscribe from the web site as well.
> Please, do smth.
> 
> 10x
> 
> EddiE
> 
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

How 'bout checking this little line right here ^

Sending unsubscribe requests to the list aren't going to work.  If
sending to the address above doesn't work, check the URL above it for
more details, like the address of the list owner.  The list
participants have no more control than you do.

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

All power corrupts, but we need electricity.


pgpCVivecabmS.pgp
Description: PGP signature


Re: OT: Re: WinXP administration guide for unix guru

2005-08-22 Thread Louis LeBlanc
On 08/22/05 05:03 PM, Joshua Weaver sat at the `puter and typed:
> What are the symptoms that you need administrator privileges? The default
> security scheme, even with the SP2 behemoth installed, require an
> administrator or power user to install the printer, but a user can print to
> it.  Is this just a postfix or pdl printer installed with a local tcp/ip
> port or are you connecting to a shared network printer off a samba machine?
> Is the sky really blue and will I get flamed for replying to a windows
> question? Only time will tell

I think you mean PostScript or pdf, not postfix or pdl, but the
symptoms were a simple failure to print.  It would simply pop up a
message saying it could not print to the printer.  It's been a long
time, and I gave up trying to solve it a long time ago, but basically,
I spent 8 hours on the phone with Dell support in New Dehli or where
ever it was, and spoke to 4 different people until I found someone
whose accent wasn't too thick to understand and finally gave up.  No,
I wasn't too thrilled about it, but I figured that's windows.

So, every time I see something about Windows administration, security
or otherwise, I flip through or ask about this old headache.

Sorry to have eaten so much time on this list.  Thanks to those who
have offered up pointers.  To be honest, I don't care enough to waste
much time with it.  I don't use that machine much anyway.

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Rudin's Law:
  If there is a wrong way to do something, most people will do it every time.


pgpQXKsJVAAda.pgp
Description: PGP signature


Re: OT: Re: WinXP administration guide for unix guru

2005-08-22 Thread Louis LeBlanc
On 08/22/05 04:56 PM, Gerard Seibert sat at the `puter and typed:
> On Mon, 22 Aug 2005 15:28:38 +0400 Igor Robul <[EMAIL PROTECTED]> wrote:
> > 
> > Louis LeBlanc wrote:
> > >
> > >Does it tell you why XP requires any user wishing to print to a
> > >network printer must have administrator privileges?
> > >
> > It doesnt
> 
> 
> ** Reply Separator **
> Monday, August 22, 2005 4:50:11 PM
> 
> That is a simple fix. If this is a domain environment, open up the
> security properties of the printer and add Authenticated Users and give
> them the print privilege.
> 
> This is similar to having to change permissions, etc. in order to allow
> non-root users the ability to mount floppy drives, etc. in FreeBSD.

Thanks for the tip, but this isn't a domain environment.  There is NO
security property available for this printer.  This is the only
machine I'm tolerating a M$ OS on, so I don't really need the hassle
of a domain.  The printer in question has its own ethernet port, and
runs its own printserver, and security is intended to be open to any
system within my network.

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

bureaucrat, n:
  A politician who has tenure.


pgpT0enWeWqGs.pgp
Description: PGP signature


Re: Important question cant figure it out...

2005-08-22 Thread Louis LeBlanc
On 08/22/05 03:43 PM, Mario Hoerich sat at the `puter and typed:
> # Louis LeBlanc:
> 
> [ libm.so.3 not available on 6.0 ]
> > It might be that FreeBSD 6.0, or just the installation you have
> > doesn't have that particular file present.  Check on the
> > freebsd-current mailing list to see if this is normal.
> 
> It is normal, just a version bump from libm.so.3 to libm.so.4.
> 
> 
> > You might have to update your source and rebuild world.  You will want
> > to check before doing anything, because it could be that this lib is
> > simply part of a compatibility package.
> 
> In this particular case, adding 
> 
> libm.so.3   libm.so.4
> 
> to /etc/libmap.conf should suffice.  The math library is expected
> to conform to the ISO-C standard, so this mapping most likely won't
> create any fallout.  In fact, I'm using it right now and I've used
> a similiar line for the libm.so.2->libm.so.3 transition in the past.
> I'm not aware of any trouble this caused.

Then I wasn't too far off.  I don't doubt the suggestion above will
work just fine, however, if a compat-5.x package were to be made
available in the 6.x branch, it would still be better to use that just
in case.

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

The nation that controls magnetism controls the universe.
-- Chester Gould/Dick Tracy


pgplfr4QLtNkf.pgp
Description: PGP signature


Re: Important question cant figure it out...

2005-08-22 Thread Louis LeBlanc
On 08/21/05 10:44 PM, Eric Murphy sat at the `puter and typed:
> Okie dokie...
> 
> 
> First off the install went flawlessly so i dont think it was a bad install or 
> anything...
> 
> eed:$ ldd /usr/X11R6/bin/glxgears 
> /usr/X11R6/bin/glxgears:
> libGL.so.1 => /usr/X11R6/lib/libGL.so.1 (0x2807a000)
> libXp.so.6 => /usr/X11R6/lib/libXp.so.6 (0x28104000)
> libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x2810c000)
> libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x28119000)
> libm.so.4 => /lib/libm.so.4 (0x281da000)
> libpthread.so.2 => /usr/lib/libpthread.so.2 (0x281f)
> libc.so.6 => /lib/libc.so.6 (0x28215000)
> libGLcore.so.1 => /usr/X11R6/lib/libGLcore.so.1 (0x282ec000)
> libnvidia-tls.so.1 => /usr/X11R6/lib/libnvidia-tls.so.1 (0x289fe000)
> libm.so.3 => not found (0x0)
> 
> So it seems libm.so.3 is in fact not found.. locate does not find it --- so 
> how can i install it without installing over the Xorg files with LibGL ?

It might be that FreeBSD 6.0, or just the installation you have
doesn't have that particular file present.  Check on the
freebsd-current mailing list to see if this is normal.

You might have to update your source and rebuild world.  You will want
to check before doing anything, because it could be that this lib is
simply part of a compatibility package.  The port
compat-4.x-i386-5.3_2 installs libm.so.2, so there may be a port in
the works that installs libm.so.3.  Are you sure you don't have any
libm.so.* library at all?

If so, did you install the port from a prebuilt package, or did you
build the code from the ports? Maybe you just need to build and
install the port yourself?

Good luck.
Lou

> -Original Message-
> From: Louis LeBlanc <[EMAIL PROTECTED]>
> Sent: Aug 21, 2005 10:15 PM
> To: freebsd-questions@freebsd.org
> Subject: Re: Important question cant figure it out...
> 
> On 08/21/05 09:45 PM, Eric Murphy sat at the `puter and typed:
> > When I run either glxgears or mplayer I get this error.
> > 
> > However when i try to install libGL from ports i get an error saying that 
> > is shares the same place as the xorg libs and doesnt want to over write 
> > them..
> > 
> > Im useing BSD 6.0 
> > 
> > how can I fix this?
> > 
> > 
> > 
> > 
> > 
> > greed# mplayer 
> > /libexec/ld-elf.so.1: Shared object "libm.so.3" not found, required by 
> > "libGL.so.1"
> > greed# glxgears 
> > /libexec/ld-elf.so.1: Shared object "libm.so.3" not found, required by 
> > "libGL.so.1"
> 
> Try the following:
> ldd /usr/X11R6/bin/glxgears
> 
> And provide the output.
> 
> Mine gives the following:
> /usr/X11R6/bin/glxgears:
> libGL.so.1 => /usr/X11R6/lib/libGL.so.1 (0x28085000)
> libXp.so.6 => /usr/X11R6/lib/libXp.so.6 (0x2810f000)
> libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x28116000)
> libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x28123000)
> libm.so.3 => /lib/libm.so.3 (0x281e2000)
> libpthread.so.1 => /usr/lib/libpthread.so.1 (0x281fd000)
> libc.so.5 => /lib/libc.so.5 (0x28221000)
> libGLcore.so.1 => /usr/X11R6/lib/libGLcore.so.1 (0x282fb000)
> libnvidia-tls.so.1 => /usr/X11R6/lib/libnvidia-tls.so.1 (0x28a0d000)
> 
> 
> Note that it's looking for libm.so.3 in /lib/.
> 
> Next, you might want to find out where (and if) you actually *have*
> libm.so.3 in your system - if your location db is up to date, `locate
> libm.so.3` will tell you.  If that gives no output, try `locate
> libm.so`.
> 
> Also, since you're using (Free)BSD(?) 6.0, you might want to make sure
> the OS installation went right, and that you've got the latest and
> greatest of the 6.0 branch.
> 
> Of course, you might also want to search the -current mail list for
> similar issues as well.
> 
> HTH
> Lou
> -- 
> Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
> Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
> Please send off-list email to: leblanc at keyslapper d.t net
> Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2
> 
> Barbara's Rules of Bitter Experience:
>   (1) When you empty a drawer for his clothes
>   and a shelf for his toiletries, the relationship ends.
>   (2) When you finally buy pretty stationary
>   to continue the correspondence, he stops writing.
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinf

Re: Important question cant figure it out...

2005-08-21 Thread Louis LeBlanc
On 08/21/05 09:45 PM, Eric Murphy sat at the `puter and typed:
> When I run either glxgears or mplayer I get this error.
> 
> However when i try to install libGL from ports i get an error saying that is 
> shares the same place as the xorg libs and doesnt want to over write them..
> 
> Im useing BSD 6.0 
> 
> how can I fix this?
> 
> 
> 
> 
> 
> greed# mplayer 
> /libexec/ld-elf.so.1: Shared object "libm.so.3" not found, required by 
> "libGL.so.1"
> greed# glxgears 
> /libexec/ld-elf.so.1: Shared object "libm.so.3" not found, required by 
> "libGL.so.1"

Try the following:
ldd /usr/X11R6/bin/glxgears

And provide the output.

Mine gives the following:
/usr/X11R6/bin/glxgears:
libGL.so.1 => /usr/X11R6/lib/libGL.so.1 (0x28085000)
libXp.so.6 => /usr/X11R6/lib/libXp.so.6 (0x2810f000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x28116000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x28123000)
libm.so.3 => /lib/libm.so.3 (0x281e2000)
libpthread.so.1 => /usr/lib/libpthread.so.1 (0x281fd000)
libc.so.5 => /lib/libc.so.5 (0x28221000)
libGLcore.so.1 => /usr/X11R6/lib/libGLcore.so.1 (0x282fb000)
libnvidia-tls.so.1 => /usr/X11R6/lib/libnvidia-tls.so.1 (0x28a0d000)


Note that it's looking for libm.so.3 in /lib/.

Next, you might want to find out where (and if) you actually *have*
libm.so.3 in your system - if your location db is up to date, `locate
libm.so.3` will tell you.  If that gives no output, try `locate
libm.so`.

Also, since you're using (Free)BSD(?) 6.0, you might want to make sure
the OS installation went right, and that you've got the latest and
greatest of the 6.0 branch.

Of course, you might also want to search the -current mail list for
similar issues as well.

HTH
Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Barbara's Rules of Bitter Experience:
  (1) When you empty a drawer for his clothes
  and a shelf for his toiletries, the relationship ends.
  (2) When you finally buy pretty stationary
  to continue the correspondence, he stops writing.


pgpwvEwBm8y1Y.pgp
Description: PGP signature


Re: OT: Re: WinXP administration guide for unix guru

2005-08-21 Thread Louis LeBlanc
On 08/20/05 11:23 PM, Andrew L. Gould sat at the `puter and typed:
> On Sun, 21 Aug 2005 07:09:52 +0300
> Ovidiu Ene <[EMAIL PROTECTED]> wrote:
> 
> > is this a joke?
> > 
> > Kent Hauser wrote:
> > 
> > >Hi,
> > >
> > >I've been a Unix sysadmin  (SunOS 3.x, 4.x, Solaris, FreeBSD) for 15
> > >years, but am now being forced to learn how to run a collection of
> > >XP boxes.
> > >
> > >Can anyone recommend a book which explains this confusing beast? I'm
> > >talking about a book which explains where things are put (equiv of /
> > >var/mail, /etc/passwd, /etc/rc.conf), where application data is
> > >stored, how printers, disks, etc are shared, how to book in "fixit
> > >disk" mode, how to backup/restore, how to configure swap space. And
> > >also questions like why XP is "professional", etc.
> > >
> > >I know it's a bit off topic, but I'm having a hard time figuring the
> > >system to what's what in XP.
> > >
> > >Thanks, Kent
> 
> There are lots of WinXP administration books in the bookstores.
> Although there are several books for Windows users moving to Unix,
> I've not seen one for the other direction.
> 
> There is an O'Reilly book called "Windows XP Annoyances for Geeks".  It
> may not help; but at least it has a cool title.  ;-)

Does it tell you why XP requires any user wishing to print to a
network printer must have administrator privileges?

Stupid XP.

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

enhance, v.:
  To tamper with an image, usually to its detriment.


pgpgZBJxn2H3U.pgp
Description: PGP signature


Re: IMAP Server suggestions

2005-08-20 Thread Louis LeBlanc
On 08/20/05 06:51 PM, Glyn Tebbutt sat at the `puter and typed:
> Louis LeBlanc wrote:
> 
> That's great thanks very much
> Very extensive :)

I hope you find it useful.  That rc has taken me years to tweak out -
it used to deliver mail to Cyrus mailboxes until I moved to Courier 2
or 3 years ago.

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

design, v.:
  What you regret not doing later on.


pgprAZ07dEMYA.pgp
Description: PGP signature


Re: IMAP Server suggestions

2005-08-20 Thread Louis LeBlanc
On 08/20/05 04:17 PM, Glyn Tebbutt sat at the `puter and typed:
> Louis LeBlanc wrote:
> > On 08/20/05 08:00 AM, David Kelly sat at the `puter and typed:
> > 
> >>On Aug 20, 2005, at 6:15 AM, Pat Maddox wrote:
> >>
> >>
> >>>I run courier-imap, works really well for me.
> >>
> >>I'm reading this thread because courier-imap works but I'm less than  
> >>happy with maillog being flooded with:
> >>
> >>Aug 20 07:41:12 Grumpy imapd: Failed to create cache file:  
> >>maildirwatch (dkelly)
> >>Aug 20 07:41:12 Grumpy imapd: Error: Input/output error
> >>Aug 20 07:41:12 Grumpy imapd: Check for proper operation and  
> >>configuration
> >>Aug 20 07:41:12 Grumpy imapd: of the File Access Monitor daemon (famd).
> >>
> >>Also MacOS X Mail.app often has connection problems. Suspect that  
> >>problem has something to do with mutt modifying my Maildir between  
> >>Mail.app connections as once Mail.app has a good connection it stays  
> >>good. OTOH procmail delivers to my Maildir INBOX which isn't much  
> >>different than what I do with mutt.
> > 
> > 
> > 
> > Never seen these problems.  IIRC, there was a thread about error
> > messages coming from famd several months ago.  As I understand the
> > message, it's just a famd config issue, but I don't know for sure.
> > 
> > I use procmail to pipe through SpamAssassin (spamd) and do some other
> > sorting before delivering to maildirs, but I never have connection
> > problems (unless I forget to recheck configs after upgrading the
> > courier auth package).  Of course, I haven't talked my wife into
> > letting me buy that PowerBook yet . . .
> > 
> > Courier-imap has been running flawlessly for me for around 3 years.  I
> > understand it can handle several hundreds (or thousands) of times more
> > load than I can give it.  It's not idiot proof, but running a mail
> > server really shouldn't be, don't you think?
> > 
> > Lou
> I also use courier-imap which just sit's back and does it's job nicely.
> Can I ask to take a look at your .procmailrc as I've had some issue's
> with procmail not filtering my mail into the inbox's properly (all over
> folder's were find thou)
> Cheers

No problem.  You'll find it attached.  Hopefully the commentary is
clear enough what my intention is.

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

QOTD:
  "Don't let your mind wander -- it's too little to be let out alone."
FOLDER = $1

PATH="$HOME/bin:/usr/local/cyrus/bin:/usr/bin:/bin:/usr/local/bin:/usr/include:/usr/local/sbin:/bin:/sbin:/usr/sbin:."
SHELL=/bin/sh
MAILDIR=$HOME/.Maildir
LOGFILE=$HOME/.procmail_log
DEFAULT=$HOME/.Maildir
# VERBOSE=on
VERBOSE=off
LOGABSTRACT=all
NL="
"
TIMEOUT=1200

VIRDIR=$MAILDIR/.virus
NIGDIR=$MAILDIR/.spam
PORNDIR=$MAILDIR/.spam

# Need to remove the bogus 'From ' header if it's there.
:0hfw
| formail -I "From "

#
##NEVER CHANGE ANYTHING ABOVE THIS LINE ON YOUR OWN##
#

# Place any antispam or other filtering recipes here.
# Don't write to files or pipe to programs unless you
# are ABSOLUTELY SURE you know what you are doing!

:0
* $ ^To:.*add2list
{
  # whitelist - subject with add2white <[EMAIL PROTECTED]> will add the email
  # address to my SA whiltelist. Make sure the whitelistpasswd is in the body.
  :0
  * ^Subject:.*add2white[]*\/[^  ].+
  {
ADDR=$MATCH
:0Bi:whitelist.lck
* ^whitelistpasswd
|nice -n 20 spamassassin --add-addr-to-whitelist=$ADDR

:0
/dev/null
  }

  # blacklist - subject with add2black <[EMAIL PROTECTED]> will add the email
  # address to my SA blacklist. Make sure the whitelistpasswd is in the body.
  :0
  * ^Subject:.*add2black[]*\/[^  ].+
  {
ADDR=$MATCH
:0Bi:blacklist.lck
* ^whitelistpasswd
|nice -n 20 spamassassin --add-addr-to-blacklist=$ADDR

:0
/dev/null
  }
}

# I have many "honeypot" addresses which I seeed into newsgroups when I'm
# bored.  They are all aliased to [EMAIL PROTECTED]  This catches
# them and automagically teaches them to the bayes db.  Make sure any posting
# is presented with a very clear warning that the address is a honeypot and
# what is done with messages recieved.
:0
* FOLDER ?? ^^tra

Re: IMAP Server suggestions

2005-08-20 Thread Louis LeBlanc
On 08/20/05 08:00 AM, David Kelly sat at the `puter and typed:
> 
> On Aug 20, 2005, at 6:15 AM, Pat Maddox wrote:
> 
> > I run courier-imap, works really well for me.
> 
> I'm reading this thread because courier-imap works but I'm less than  
> happy with maillog being flooded with:
> 
> Aug 20 07:41:12 Grumpy imapd: Failed to create cache file:  
> maildirwatch (dkelly)
> Aug 20 07:41:12 Grumpy imapd: Error: Input/output error
> Aug 20 07:41:12 Grumpy imapd: Check for proper operation and  
> configuration
> Aug 20 07:41:12 Grumpy imapd: of the File Access Monitor daemon (famd).
> 
> Also MacOS X Mail.app often has connection problems. Suspect that  
> problem has something to do with mutt modifying my Maildir between  
> Mail.app connections as once Mail.app has a good connection it stays  
> good. OTOH procmail delivers to my Maildir INBOX which isn't much  
> different than what I do with mutt.


Never seen these problems.  IIRC, there was a thread about error
messages coming from famd several months ago.  As I understand the
message, it's just a famd config issue, but I don't know for sure.

I use procmail to pipe through SpamAssassin (spamd) and do some other
sorting before delivering to maildirs, but I never have connection
problems (unless I forget to recheck configs after upgrading the
courier auth package).  Of course, I haven't talked my wife into
letting me buy that PowerBook yet . . .

Courier-imap has been running flawlessly for me for around 3 years.  I
understand it can handle several hundreds (or thousands) of times more
load than I can give it.  It's not idiot proof, but running a mail
server really shouldn't be, don't you think?

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

It is undignified for a woman to play servant to a man who is not hers.
-- Spock, "Amok Time", stardate 3372.7


pgprVUvGRhSv1.pgp
Description: PGP signature


Re: Apache problems

2005-08-04 Thread Louis LeBlanc
On 08/04/05 10:26 AM, Bryan Maynard sat at the `puter and typed:
> I know this isn't directly freebsd related, but this list has been good 
> to me before.

I know exactly what you mean . . .

> I am running 5-STABLE. I installed Apache 2.1.4 using make install clean 
> after updating my ports collection. Everything seemed to go fine. I 
> then installed mod_php5 via make install clean. I added 192.168.1.102 
> thereallm.org to my /etc/hosts file (I am testing this box before I 
> send it out for co-located hosting). When I run apachectl start I get 
> no errors - even with -e, but there's no pid for apache or httpd in top 
> (via "top | grep httpd" or "top | grep apache").

Try
ps -ax | grep httpd
to see if it's running.

If not, you should be able to start it with this:
/usr/local/etc/rc.d/apache2.sh start

BTW, none of my business, but you might want to consider sticking with
a RELEASE version of FreeBSD for production environments.  For the
most part, I'm sure STABLE is fine, but it can still have some minor
glitches that would be a pain to deal with in a remote system.

HTH
Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Serocki's Stricture:
  Marriage is always a bachelor's last option.


pgpasr9jWjQ8A.pgp
Description: PGP signature


Re: Update 5.3 Release to 5.4

2005-07-25 Thread Louis LeBlanc
On 07/25/05 11:53 AM, Aguiar Magalhaes sat at the `puter and typed:
> Hi list,
> 
> IĀ“m using FreeBSD 5.3 - Release in servers (Postfix,
> Apache, pf, squid, etc)
> 
> IĀ“d like to update for 5.4, but I donĀ“t know how to
> do. Is it safe ?

Worked for me.  It should be "safe".

So long as you follow the directions here:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
including the backup.

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

knowledge, n.:
  Things you believe.


pgpVSN3tVfXvp.pgp
Description: PGP signature


Re: undelete in FreeBSD?

2005-07-24 Thread Louis LeBlanc
On 07/24/05 07:16 AM, Mario Hoerich sat at the `puter and typed:
> # Aaron Siegel:
> 
> 
> [ there is no un-rm ]
> >
> > One option I have seen for creating your own restore is to create a script 
> > that will move files you want to delete to a temporary directory, a "Trash 
> > Bin". Then use your shells aliases to alias the script to the rm command. 
> 
> Don't *ever* create aliases for rm(1).  rm's sole purpose in
> life is to destroy files.  If you tame it, you'll eventually
> adapt and rm with less caution.  There are lots of people who
> eventually got bitten by that when working on a machine other
> than their own.  
> 
> A better way is to use a name like "[tT]rash" or "tt" (=[move]
> to trash).  That way, when working on a machine without your
> script, you'll get a nice and friendly "command not found"
> reminding you there's no safety catch.
> 
> I'm personally none too fond of this, though.  Unixoid systems
> have quite a lot of ways to destroy files.  Trashes won't really
> protect you from that.  Instead, they just give you a false
> feeling of security, which merely encourages sloppiness.  
> 
> My own solution is actually quite simple:
> I treat dangerous commands the same way I'd carry a deadly and
> pretty annoyed snake: with my thoughts on the task at hand.
> I read the command *before* I hit enter.  Not the one I 
> *think* I've written, but the one I'm about to execute.
> I also tend to tab-expand globs to see which files are
> actually affected.
> 
> YMMV, though.

I have to second this - every bit of it.  Deleting files is not an
area you want to get sloppy in.  I've been bitten even knowing rm
would get rid of these files for good.  I once fatfingered a space
between a '*' and '.txt' and lost a weeks worth of code work in one
fell swoop.  Trust me, it's a mistake you make once and kick yourself
for indefinitely.

Trust me, I tend to use rm very carefully now, re-reading the command
each time I use it.

And no, I don't believe I'm making the case for a "trash" function.  I
think that would increase the chances of sloppiness.  After the
incident mentioned above, I considered the trash function, and eventually
came to the same conclusions Mario mentioned above.

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

First study the enemy.  Seek weakness.
-- Romulan Commander, "Balance of Terror", stardate 1709.2


pgpCxQsePzsRk.pgp
Description: PGP signature


Re: [OT Re: SPAM Problem]

2005-07-24 Thread Louis LeBlanc
On 07/23/05 05:11 PM, Greg Maruszeczka sat at the `puter and typed:
> Aaron Siegel wrote:
> > Hello
> > 
> > This message is off topic but I was not sure were else I can go to get help 
> > with my problem.  For the past week I have been receiving messages from 
> > various mail servers which have bounced messages I have not sent but have 
> > my 
> > email address as the originator of the bounced message. I believe there are 
> > some SPAMers using my email address on their SPAM. I would really like to 
> > avoid changing my domain name.  Has anyone experienced this problem? Is 
> > there 
> > something I can do?  
> > 
> 
> It's probably "blowback" resulting from the activities of worm-infected
> windows hosts. Someone you correspond with got infected and the worm
> subsequently propagated itself by picking your name from their address
> book and inserting it into the from: header of the message carrying the
> worm. Then, badly configured MTAs send "helpful" NDRs to the "sender"
> informing them that they're messages couldn't be delivered
> 
> Pretty routine, really.

Sorry I missed the OP, but this is something pretty much everyone sees
at one time or another.  I got to the point where I was receiving
around 200/day before I started seeing myself in Joe-Jobs.  Basically,
they want a shot at getting through those servers that simply require
a valid email address in the From: header.

I find it ridiculous that these mail servers simply bounce it to that
address rather than simply interpreting the headers and sending it
back to abuse/postman/admin at the originating relay.  This would certainly
bring it to the attention of the very few people with the ability to
stop the email coming.

In the meantime, I'm afraid there's not much you can do unless you
want to track that relay down yourself.  Even if you find it, most
times it's out of your reach (different country, etc).  And if you do
find it and it's coming from the next town over, it's not like the
authories will want to convict anyone of identity theft - they still
tend to go for the low hanging fruit, so best case scenario is you can
get the ISP to shut them down until they find another provider.  Maybe
(big maybe) the ISP will sue them, but you don't get anything for your
effort but the satisfaction that they got burned.

I eventually shut down the domain I was getting so much spam at.  I
recently turned it back on after 6 months of downtime and immediately
started getting over 40/day.  Looks like some spammers never pare down
the lists they sell.  The only thing you can really do is install spam
filters (like ports/mail/p5-Mail-SpamAssassin) so you don't have to
look at it.  Just make sure your address isn't whitelisted.

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

I do desire we may be better strangers.
-- William Shakespeare, "As You Like It"


pgpYYeMGakZes.pgp
Description: PGP signature


upgrading from 5.4-RELEASE-p4 to 5.4-RELEASE-p5

2005-07-22 Thread Louis LeBlanc
There was a new security announcement a couple days ago regarding the
devfs subsystem in FreeBSD.  The announcement is here:
ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-05:17.devfs.asc

My question is regarding the upgrade and patch description.  I am
running 5.4_RELEASE-p4.  The alert suggests either patching and
rebuilding the kernel or upgrading to 5.4-RELEASE-p5.  If I decide to
upgrade my source, would it be sufficient (and safe) to just rebuild
the kernel, or do I still need to rebuild world?

The only files changed between my last build and this one are
 src/UPDATING
 src/sys/conf/newvers.sh
 src/sys/fs/devfs/devfs_vnops.c

And for such a small change (I checked the patch, it's literally a 2
line change - sanity check of parameters for the defvs_mknod() call -
plus commentary), would it really be necessary to go through the
mergemaster process?  (from my POV, this is the most tedious and error
prone part of the whole process).

TIA
Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Tact, n.:
  The unsaid part of what you're thinking.


pgpurcbQSBgP6.pgp
Description: PGP signature


Top output isn't quite right

2005-07-16 Thread Louis LeBlanc
I'm confused about the output from top in 5.4-RELEASE-p4.  The gkrellm
CPU monitor is telling me I'm running at 95% load while updating the
portsdb, but top tells me everything is taking 0.0% of the CPU.

It may have something to do with the CPU HT being enabled, but I don't
know.  The system has one physical CPU, but with HT, some processes
run on CPU 0 while others run on CPU 1.

Any idea how to get top to get the actual (or virtual) CPU loads?

Here is the output I'm seeing:

last pid: 82084;  load averages:  2.10,  1.88,  1.17 up 9+17:06:23  13:47:44
131 processes: 3 running, 128 sleeping
CPU states: 73.3% user,  0.0% nice, 23.5% system,  0.0% interrupt, 3.1% idle
Mem: 296M Active, 477M Inact, 148M Wired, 27M Cache, 111M Buf, 44M Free
Swap: 2048M Total, 70M Used, 1978M Free, 3% Inuse

  PID USERNAME  PRI NICE   SIZERES STATE  C   TIME   WCPUCPU COMMAND
81981 root80  1524K  1368K wait   1   0:00  3.00%  0.15% make
 1024 root   960   181M   167M select 0  86:36  0.10%  0.10% Xorg
81993 root80   816K   652K wait   0   0:00  1.00%  0.05% make
 1067 userid 200 15016K  8040K kserel 0 241:36  0.00%  0.00% gkrellm
  628 www200   233M 11852K kserel 0  12:00  0.00%  0.00% java
  250 root   960  3428K  1208K select 0   6:29  0.00%  0.00% ppp
  804 mysql  200 56568K  1728K kserel 0   3:43  0.00%  0.00% mysqld
  401 _pflogd   -580  1592K   580K bpf0   1:42  0.00%  0.00% pflogd
76688 bind   200  7004K  3648K kserel 0   1:10  0.00%  0.00% named
12360 root40 36548K 34824K accept 1   0:55  0.00%  0.00% perl
12358 root40 37232K 35204K accept 1   0:55  0.00%  0.00% perl
12361 root40 43136K 40080K accept 1   0:54  0.00%  0.00% perl
41249 userid 960  3452K  1648K select 0   0:37  0.00%  0.00% 
xscreensaver
 1050 userid 960  3384K  1740K select 0   0:34  0.00%  0.00% fvwm2
  893 root   960  5448K   640K select 0   0:29  0.00%  0.00% nmbd
14699 root40  3628K   392K select 0   0:23  0.00%  0.00% master
  651 root   960 21852K  2192K select 0   0:20  0.00%  0.00% httpd
  310 root   960  1360K   280K select 0   0:17  0.00%  0.00% syslogd
64422 root   960  2436K  1544K select 0   0:13  0.00%  0.00% fam
  339 root   960  1508K   584K select 0   0:12  0.00%  0.00% rpcbind

-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Corollary:
  If you are given a take-home exam, you will forget where you live.


pgp8BaaEez7CP.pgp
Description: PGP signature


Re: Unstable NFS mount from shared Solaris filesystem?

2005-07-13 Thread Louis LeBlanc
On 07/13/05 02:34 PM, Lowell Gilbert sat at the `puter and typed:
> Louis LeBlanc <[EMAIL PROTECTED]> writes:
> 
> > On 07/13/05 12:34 PM, Kelly D. Grills sat at the `puter and typed:
> 
> > > See FAQ 12.12 and section 23.3.5 of the handbook.
> > > The -r=1024 parameter solved my problems.
> > 
> > The FAQ.  Darnit, I knew I was forgetting something.
> > 
> > That seems to have fixed it so far, but what does it mean?  I can't
> > find it in the manpages.
> 
> >From TFM (mount_nfs(8)):
>  -r  Set the read data size to the specified value.  It should nor-
>  mally be a power of 2 greater than or equal to 1024.  This should
>  be used for UDP mounts when the ``fragments dropped due to
>  timeout'' value is getting large while actively using a mount
>  point.  (Use netstat(1) with the -s option to see what the
>  ``fragments dropped due to timeout'' value is.)  See the -w
>  option as well.

Ah.  I was reading the wrong manpage.

Thanks for clarifying.  I don't suppose you know the default - is it
8K?  It's not specified in the mount_nfs(8) manpage.

And is there a way to make NFS mounts use 1024 by default?

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

  A man was reading The Canterbury Tales one Saturday morning, when his
wife asked "What have you got there?"  Replied he, "Just my cup and Chaucer."


pgpiPqLfdZCNo.pgp
Description: PGP signature


Re: Unstable NFS mount from shared Solaris filesystem?

2005-07-13 Thread Louis LeBlanc
On 07/13/05 12:34 PM, Kelly D. Grills sat at the `puter and typed:
> On Wed, Jul 13, 2005 at 10:33:15AM -0400, Louis LeBlanc wrote:
> > 
> > I know this has been asked before, but I can't find the answer through
> > searches.  I don't remember if this was a FreeBSD or a Solaris related
> > issue, either, so I'm sorry of I'm getting too far OT.
> > 
> > I'm trying to mount an NFS share from a Solaris 10 (x86) system to a
> > FreeBSD (5.3-RELEASE-p4) system.  For some reason, working in the NFS
> > filesystem on the FreeBSD system meets with annoyingly frequent
> > lockups of the terminal, particularly when editing files or executing
> > df or du.
> > 
> > If there's a configuration somewhere that fixes this, I can't find it.
> > 
> > My /etc/fstab entry on the FreeBSD box is:
> > sol:/export/home  /sol/home  nfs  rw,noauto,bg,soft 0 0
> > 
> > /etc/dfs/dfstab on the Solaris box contains:
> > share  -F nfs  -o rw  -d "home dirs"  /export/home
> > 
> > and /etc/dfs/sharetab contains:
> > /export/home-   nfs rw  home dirs
> > 
> > I don't think I'm missing anything, but I'm sure NFS isn't supposed to
> > be this unstable either.
> > 
> > Any suggestions would be welcome.
> 
> See FAQ 12.12 and section 23.3.5 of the handbook.
> The -r=1024 parameter solved my problems.

The FAQ.  Darnit, I knew I was forgetting something.

That seems to have fixed it so far, but what does it mean?  I can't
find it in the manpages.

Thanks!

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Friends, n.:
  People who know you well, but like you anyway.


pgpV89doloEXV.pgp
Description: PGP signature


Re: Using Multiple Internet Connections with FreeBSD

2005-07-13 Thread Louis LeBlanc
On 07/13/05 11:28 AM, John Barbieri sat at the `puter and typed:
> Howdy,
> 
> 
> To start off, I have a FreeBSD router running Nat and dhcp, it is
> currently the router for my LAN.
> 
> I was wondering if there was a way to aggregate more then one internet
> connection using FreeBSD?
> 
> 
> That is, have 2 or 3 internet connections coming in on seperate NICs,
> and being able to have the box route and nat the packets accordingly to
> the lan, thus giving the experience of more bandwidth. Is it even possible?
> 
> 
> Has someone done it before? and if you have, do you have a webpage that
> you followed instructions from?
> 
> Ive been searching around, but I have not been able to find a straight
> answer. I was hoping you guys could help

I'm afraid I can't help much, but for starters, you probably need to
be clear on external services as well.  You also want to mention the
version of FreeBSD you are/intend to use, as it will affect the up
front work needed and/or the available utilities.

If external services are part of your bandwidth concerns, you should
be able to isolate internal NAT functionality away from one connection
to restrict it to external services.

If you have multiple internal LANs, you should be able to isolate them
to dedicated external connections as well.  This would be easiest if
you had a separate internal NIC for each external NIC, but that might
be overkill, and probably isn't necessary if you simply use a simple
100Mb router with full duplex capabilities.

If you're looking for load balancing NAT, meaning any outbound traffic
from an internal LAN automagically picks the least saturated
connection, then you probably want to use an advanced firewall utility
and get on the users list for that tool.  I *think* pf can do this,
but I'm not sure.  I'm certainly not qualified to tell you HOW to do
it with any firewall utility, but I've found pf to be easier for
simple firewalls at least.

Try this link:
http://www.openbsd.org/faq/pf/index.html
It is probably worth your time to get on the mailing list.  The folks
there should be most qualified to help you with this.

Keep in mind, depending on your solution, it may also be necessary to
set up various routes through /etc/rc.conf (this is the one thing that
always confused me enough to keep me out of network admin work).

This exact scenario had occurred to me in the past, but I never had
the time to investigate it more thoroughly, or the connections to play
with.  Sorry I couldn't be more helpful, but I hope this gets you
closer to the mark.

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

ink, n.:
  A villainous compound of tannogallate of iron, gum-arabic, and water,
  chiefly used to facilitate the infection of idiocy and promote
  intellectual crime.
-- H.L. Mencken


pgpuaNBr1wIGk.pgp
Description: PGP signature


Unstable NFS mount from shared Solaris filesystem?

2005-07-13 Thread Louis LeBlanc
I know this has been asked before, but I can't find the answer through
searches.  I don't remember if this was a FreeBSD or a Solaris related
issue, either, so I'm sorry of I'm getting too far OT.

I'm trying to mount an NFS share from a Solaris 10 (x86) system to a
FreeBSD (5.3-RELEASE-p4) system.  For some reason, working in the NFS
filesystem on the FreeBSD system meets with annoyingly frequent
lockups of the terminal, particularly when editing files or executing
df or du.

If there's a configuration somewhere that fixes this, I can't find it.

My /etc/fstab entry on the FreeBSD box is:
sol:/export/home  /sol/home  nfs  rw,noauto,bg,soft 0 0

/etc/dfs/dfstab on the Solaris box contains:
share  -F nfs  -o rw  -d "home dirs"  /export/home

and /etc/dfs/sharetab contains:
/export/home-   nfs rw  home dirs

I don't think I'm missing anything, but I'm sure NFS isn't supposed to
be this unstable either.

Any suggestions would be welcome.

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

job Placement, n.:
  Telling your boss what he can do with your job.


pgpGQKDXVl4gB.pgp
Description: PGP signature


Re: m4p conversion to mp4?

2005-07-13 Thread Louis LeBlanc
On 07/12/05 08:13 PM, Ted Mittelstaedt sat at the `puter and typed:
> 
> 
> >-Original Message-
> >From: [EMAIL PROTECTED]
> >[mailto:[EMAIL PROTECTED] Behalf Of Louis LeBlanc
> >Sent: Sunday, July 10, 2005 5:57 PM
> >To: FreeBSD Questions
> >Subject: m4p conversion to mp4?
> >
> >
> >This is probably painfully obvious, but I can't find it in the ports
> >with a search or through google.
> >
> >I recently acquired an iPod Shuffle, and am enjoying it thoroughly.
> >Unfortunately, I also acquired a gift card for the iTunes store, so I
> >thought it would be better to get a copy of "Bohemian Rhapsody"
> >through the store rather than go buy the CO.  I'm not a big enough fan
> >to listen to "Radio GaGa" if I don't have to.
> >
> >Anyway, I learned something disturbing.  They give you the music you
> >buy in m4p format, which is an mp4 format protected by an MD5
> >derivative.  I think.
> >
> 
> Even more disturbing - the mp formats are compressed so you really
> aren't getting a CD-quality track.

Yeah, I know, but my hearing isn't nearly good enough to tell the
difference anyway . . .
:|
Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

"When the going gets tough, the tough get empirical."
-- Jon Carroll


pgpMweky1zVKS.pgp
Description: PGP signature


Re: m4p conversion to mp4?

2005-07-12 Thread Louis LeBlanc
On 07/11/05 12:25 PM, Garrett Cooper sat at the `puter and typed:
> Louis LeBlanc wrote:
> 
> >On 07/10/05 08:57 PM, Louis LeBlanc sat at the `puter and typed:
> >  
> > 
> >
> >TIA
> >Lou
> >  
> >
> There's always faad2.

Actually, faad2 won't do the job.  The m4p format uses a variant of
the md5 hash algorithm to make it difficult to play this music on
anyone else's system.  It will play on my iPod and my iTunes
installation, but if I give the file to someone else, it won't play.

There's probably a key somewhere in the iTunes DB and installed on the
iPod that helps decode the hash.

I think I'll try jHymn, as suggested by anothe poster.

Thanks.
Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Pollyanna's Educational Constant:
  The hyperactive child is never absent.


pgpHWrRavqljq.pgp
Description: PGP signature


Re: m4p conversion to mp4?

2005-07-10 Thread Louis LeBlanc
On 07/10/05 08:57 PM, Louis LeBlanc sat at the `puter and typed:
> This is probably painfully obvious, but I can't find it in the ports
> with a search or through google.
> 
> I recently acquired an iPod Shuffle, and am enjoying it thoroughly.
> Unfortunately, I also acquired a gift card for the iTunes store, so I
> thought it would be better to get a copy of "Bohemian Rhapsody"
> through the store rather than go buy the CO.  I'm not a big enough fan
> to listen to "Radio GaGa" if I don't have to.
> 
> Anyway, I learned something disturbing.  They give you the music you
> buy in m4p format, which is an mp4 format protected by an MD5
> derivative.  I think.
> 
> Normally I wouldn't really care, except I can't play this (and other
> iTunes downloads) on my FreeBSD (5.4 RELEASE-p4) box.  Just the
> Windoze box and the Shuffle.  Rhythmbox won't play it, and xmms won't
> even play mp4 (it complains about an undefined reference or
> something).
> 
> A quick search on Google provided enough to assure me that converting
> this file to mp4 is possible, but nothing definitive has turned up.
> 
> Is there a port that can convert this file format to mp4?  If so, are
> there any special build parameters required?

Sorry for the error above.  What I meant was I want to convert from
m4p to m4a format.

I've found the alac decoder, but that puts out either raw pcm or wav
format.

TIA
Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Sturgeon's Law:
  90% of everything is crud.


pgpYJ8pqD5YJs.pgp
Description: PGP signature


m4p conversion to mp4?

2005-07-10 Thread Louis LeBlanc
This is probably painfully obvious, but I can't find it in the ports
with a search or through google.

I recently acquired an iPod Shuffle, and am enjoying it thoroughly.
Unfortunately, I also acquired a gift card for the iTunes store, so I
thought it would be better to get a copy of "Bohemian Rhapsody"
through the store rather than go buy the CO.  I'm not a big enough fan
to listen to "Radio GaGa" if I don't have to.

Anyway, I learned something disturbing.  They give you the music you
buy in m4p format, which is an mp4 format protected by an MD5
derivative.  I think.

Normally I wouldn't really care, except I can't play this (and other
iTunes downloads) on my FreeBSD (5.4 RELEASE-p4) box.  Just the
Windoze box and the Shuffle.  Rhythmbox won't play it, and xmms won't
even play mp4 (it complains about an undefined reference or
something).

A quick search on Google provided enough to assure me that converting
this file to mp4 is possible, but nothing definitive has turned up.

Is there a port that can convert this file format to mp4?  If so, are
there any special build parameters required?

TIA
Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

prairies, n.:
  Vast plains covered by treeless forests.


pgprkai8IRAxZ.pgp
Description: PGP signature


Re: a sort ?

2005-07-08 Thread Louis LeBlanc
On 07/08/05 09:51 AM, Daniel Malaby sat at the `puter and typed:
> Hi All,
> 
> I am trying to sort a tab delimited file with sort. The problem I am
> having is with the -t option. I can not get it to accept a tab.
> 
> Things I have tried:
> 
> sort -t \t
> sort -t '\t'
> sort -t "\t"
> sort -t 0x09
> sort -t '0x09'
> sort -t "0x09"
> sort -t ^I
> sort -t '^I'
> sort -t "^I"
> 
> Any suggestions would be much appreciated.

Did you try sorting without the -t parameter?  IIRC, it uses
whitespace to delimit fields by default, which includes the tab.
Unless you're trying to sort by a field other than the first, you
really don't need it anyway.

Then again, you could also just hit the tab key: -t '   '.

HTH
Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Genius doesn't work on an assembly line basis.  You can't simply say,
"Today I will be brilliant."
-- Kirk, "The Ultimate Computer", stardate 4731.3


pgpGecrNVVEmp.pgp
Description: PGP signature


Re: Libz

2005-07-07 Thread Louis LeBlanc
On 07/07/05 11:37 PM, Kvesdn Gbor sat at the `puter and typed:
> Frank de Bot wrote:
> 
> > Recently a bug was discoverd which affected various unix platforms 
> > including FreeBSD. ( 
> > ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-05:16.zlib.asc 
> > )
> >
> > But it say it only affects the 5.x releases and not the 4. Is it true 
> > only the 5.x releases are affected? (I think it rather odd, because 
> > libz is pretty 'universal'
> >
> Hi,
> 
> Yes, it's true. Only 5.3 and 5.4 are affected. Colin Percival has 
> confirmed this on the freebsd-security list.

Keep in mind, this is already fixed in both versions:
Corrected:  2005-07-06 14:01:11 UTC (RELENG_5, 5.4-STABLE)
2005-07-06 14:01:30 UTC (RELENG_5_4, 5.4-RELEASE-p4)
2005-07-06 14:01:52 UTC (RELENG_5_3, 5.3-RELEASE-p18)

5.4-RELEASE-p4 was tagged yesterday.

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Gilbert's Discovery:
  Any attempt to use the new super glues results in the two pieces
  sticking to your thumb and index finger rather than to each other.


pgpOQ8B5k1yMg.pgp
Description: PGP signature


Re: SA rules_dujour

2005-07-07 Thread Louis LeBlanc
On 07/07/05 02:04 PM, Jean-Paul Natola sat at the `puter and typed:
> Hi everyone, 
> 
> I have installed Spamassassin and rules_dujour
> 
> I have NOT changed any settings , it is a vanilla install no config files or
> anything has been modified, yet  spam is coming right through
> 
> Here's the header of one; I feel I'm missing something , I mean just by the
> subject I would think it would detect it--
> 
> 
> X-Spam-Score: 0.2 (/)
> X-Spam-Report: Spam detection software, running on the system "mfilter", has
>   identified this incoming email as possible spam.  The original message
>   has been attached to this so you can view it (if it isn't spam) or label
>   similar future email.  If you have any questions, see
>   the administrator of that system for details.
>   Content preview:  Tuesday/Wednesday Sale! Fares from $49*. Tuesdays and
>   Wednesdays just became your favorite days of the week! Take advantage
>   of these great low fares and book your vacation today! Book on
>   spiritair.com by 11:59PM EST on 7/6/05 for travel on Tuesdays and
>   Wednesdays only from 7/12/05-9/28/05 unless otherwise noted. [...] 
>   Content analysis details:   (0.2 points, 5.0 required)
>   pts rule name  description
> 

Note the score and the required score.  0.2 is a good long way from 5.0.
You may wish to take any saved spam and use it to teach SA what spam is,
because the Bayes learner is actually quite good at swaying this the
right way.  Also, if you're like me, you'll want to bump the required
score down.

When I was getting 200+ spams a day (some days over 300), SA was letting
through 2 or 3 a week.  Now I get 3 or 4 a week (I shut off the problem
domain for 6 months) and SA lets 1 or 2 a week.  It's a numbers game.
The more educated Bayes is, the smaller the percentage of FNs are.

The problem is that Bayes won't kick in until you teach it with enough
spam - I don't remember the kick-in point offhand.  I've seen a message
get pushed through several different installations of SA (all the same
version and config) and come out with drastically different scores, all
because of Bayes.  The better systems are ALWAYS educated on a regular
basis.

Also, since you're starting off, you'll get a lot of mileage out of the
SA list.

I use Maildir mailboxes on my system and when I learned how important
teaching Bayes is, I actually wrote a little perl script to check for
spam messages marked as read (Maildir/.spam/cur/*) and pipe them
automagically through the Bayes learner before moving them off to the
spam backup directory.  I also separate out the autolearned spam and
just push that off to the backup regardless of the read/unread status.
I think I've gotten about 2 FPs in 3 years of using SA.  Those FPs
really weren't spam, but they were all messages I didn't want to get
anyway, like chain letters or some other rubbish.  :)

HTH
Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Linus' Law:
  There is no heavier burden than a great potential.


pgpND9n0VCxmn.pgp
Description: PGP signature


Re: ports: www/jakarata-tomcat*

2005-07-07 Thread Louis LeBlanc
On 07/07/05 04:06 PM, Chris Knipe sat at the `puter and typed:
> Lo all,
> 
> [EMAIL PROTECTED]:/usr/ports/www/jakarta-tomcat41# make WITHOUT_X11=yes 
> install 
> clean
> jakarta-tomcat-4.1.31_1: Environment error: "JAVA_PORT" should not be 
> defined.
> *** Error code 1
> 
> 
> I did tripple check, at the time of running make, the variable is NOT 
> defined.  I can't install any of the tomcat versions Help???

Are you sure that didn't say "JAVA_HOME"?  That gets me every time I try
to upgrade Tomcat.

Just `unset JAVA_HOME` then try again.

Good luck.

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Allen's Axiom:
  When all else fails, read the instructions.


pgpexi6vJykYL.pgp
Description: PGP signature


USB drive errors (USB 2.0 and memory drive)

2005-07-06 Thread Louis LeBlanc
Well, I've been in a config debug mood lately, so I'm going to go
after one more issue.  Rather, I'm gonna ask for help here, since I
can't find the solution online.

This has been happening since I managed to get ehci working without
causing the kernel to freak out.  I'm running 5.4 RELEASE p1
(upgrading to p4 later on tonight).  The problem happens when I plug
in either of my USB key devices (one being a PNY USB Disk, the other a
little iPod Shuffle).

I am using both ehci and ohci drivers, and AFAICT, the problem only
happens with USB2.0 devices.

The problem shows up in /var/log/messages as follows:

Jul  6 19:41:31 keyslapper kernel: umass0: PNY USB DISK 20X, rev 2.00/1.00, 
addr 2
Jul  6 19:41:32 keyslapper kernel: da0 at umass-sim0 bus 0 target 0 lun 0
Jul  6 19:41:32 keyslapper kernel: da0: < USB DISK 20X PMAP> Removable Direct 
Access SCSI-0 device 
Jul  6 19:41:32 keyslapper kernel: da0: 40.000MB/s transfers
Jul  6 19:41:32 keyslapper kernel: da0: 962MB (1970176 512 byte sectors: 64H 
32S/T 962C)
Jul  6 19:41:32 keyslapper kernel: umass0: Phase Error, residue = 0
Jul  6 19:41:32 keyslapper kernel: (da0:umass-sim0:0:0:0): Synchronize cache 
failed, status == 0x4, scsi status == 0x0

The last two lines repeat 16 or 17 times.

When I try to mount these, I have no problems.  No errors, and
everything appears to work fine.  I can move files, edit directly on
the disk, whatever.

So, these messages are an indication of something wierd somewhere, I
just don't know if it's purely cosmetic, or if there's really
something wrong and my resume is going to get eaten one of these days.

I've googled for these messages, and found a lot of reports of the
same problem (with few variations), but no solutions or suggestions.

I tracked this error message to /usr/src/sys/cam/scsi/scsi_da.c, but
I'm not sure exactly where this happens in the device initialization
yet (just a quick skim through the code and no understanding of the
underlying architecture or USB specs yet).

Anyone have any idea?

TIA
Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

BASIC, n.:
  A programming language.  Related to certain social diseases in
  that those who have it will not admit it in polite company.


pgpEqxtYt2oPD.pgp
Description: PGP signature


Re: devfs permissions wierdness

2005-07-06 Thread Louis LeBlanc
On 07/07/05 01:11 AM, Roland Smith sat at the `puter and typed:
> On Wed, Jul 06, 2005 at 04:11:41PM -0400, Louis LeBlanc wrote:
> > I have my devfs config set up to allow certain devices to be mounted
> > by users in the cdusers group as follows:
> > 
> > own da1 root:cdusers
> > permda1 0660
> > own da1aroot:cdusers
> > permda1a0660
> > own da1croot:cdusers
> > permda1c0660
> > own da1s1   root:cdusers
> > permda1s1   0660
> > 
> > Problem is it doesn't work unless I go in as root and manually restart
> > the devfs facility with `/etc/rc.d/devfs restart`
> 
> Configuration for devices present at boot goes into devfs.conf. For
> hotpluggable devices, the rules (with slightly different format) should
> go in devfs.rules.
> 
> The manual pages I wrote for devfs.conf and devfs.rules were committed
> to CURRENT a couple of weeks ago. I don't know if and when they will
> appear in 5-STABLE. But you can find them on my FreeBSD webpage:
> http://www.xs4all.nl/~rsmith/freebsd/ This page has some more info about
> setting this up.
> 
> HTH

Excellent.  This is exactly what I was looking for.

My pluggable USB devices are all falling in line now.

Thank you!

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

What the scientists have in their briefcases is terrifying.
-- Nikita Khruschev


pgpmAQxfFjQHr.pgp
Description: PGP signature


Re: devfs permissions wierdness

2005-07-06 Thread Louis LeBlanc
On 07/06/05 04:11 PM, Louis LeBlanc sat at the `puter and typed:
> I have my devfs config set up to allow certain devices to be mounted
> by users in the cdusers group as follows:
> 
> own da1 root:cdusers
> permda1 0660
> own da1aroot:cdusers
> permda1a0660
> own da1croot:cdusers
> permda1c0660
> own da1s1   root:cdusers
> permda1s1   0660
> 
> Problem is it doesn't work unless I go in as root and manually restart
> the devfs facility with `/etc/rc.d/devfs restart`
> 
> Here's what I see:
> 
> # ls -l /dev/da1*  
> crw-r-  1 root  operator4,  27 Jun 26 23:02 /dev/da1
> crw-r-  1 root  operator4,  29 Jun 26 23:02 /dev/da1a
> crw-r-  1 root  operator4,  30 Jun 26 23:02 /dev/da1c
> crw-r-  1 root  operator4,  31 Jun 26 23:02 /dev/da1cs1
> crw-r-  1 root  operator4,  28 Jun 26 23:02 /dev/da1s1
> # /etc/rc.d/devfs restart
> # ls -l /dev/da1*
> crw-rw  1 root  cdusers 4,  27 Jun 26 23:02 /dev/da1
> crw-rw  1 root  cdusers 4,  29 Jun 26 23:02 /dev/da1a
> crw-rw  1 root  cdusers 4,  30 Jun 26 23:02 /dev/da1c
> crw-r-  1 root  operator4,  31 Jun 26 23:02 /dev/da1cs1
> crw-rw  1 root  cdusers 4,  28 Jun 26 23:02 /dev/da1s1
> # 
> 
> Seems like this resets itself every now and again to the
> root:operator/640 permissions too, and not just on reboot.
> 
> Anyone know what I'm missing?

Well, I've uncovered a little more of this.  The devices are created
and destroyed each time the device is connected or disconnected.  When
they are created, the default permissions are used, not those I've
configured.  If I want my devfs permissions to be available, I have to
restart devfs each time I connect a USB device.

I tried setting a rule to fix this in /etc/devd.conf, but I don't
think it works right.  I added the following:

attach 100 {
device-name "da[0-9]*";
action "/etc/rc.d/devfs restart";
};

I was hoping this would simply restart devfs each time I connected a
/dev/da* device, but this didn't work.  I then tried changing the
action to an explicit devfs rule command, as follows:

action "devfs rule add path da* mode 660 group cdusers";

but this didn't do any better.  Executing this action from the
commandline didn't do what I wanted either, so I obviously have the
syntax wrong.  Since the first attempt didn't work, I suspect there
are other errors in the config block that cause the whole thing to be
skipped.

Any pointers would be appreciated.

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Cheops' Law:
  Nothing ever gets built on schedule or within budget.


pgpBPqFtUdM0S.pgp
Description: PGP signature


devfs permissions wierdness

2005-07-06 Thread Louis LeBlanc
I have my devfs config set up to allow certain devices to be mounted
by users in the cdusers group as follows:

own da1 root:cdusers
permda1 0660
own da1aroot:cdusers
permda1a0660
own da1croot:cdusers
permda1c0660
own da1s1   root:cdusers
permda1s1   0660

Problem is it doesn't work unless I go in as root and manually restart
the devfs facility with `/etc/rc.d/devfs restart`

Here's what I see:

# ls -l /dev/da1*  
crw-r-  1 root  operator4,  27 Jun 26 23:02 /dev/da1
crw-r-  1 root  operator4,  29 Jun 26 23:02 /dev/da1a
crw-r-  1 root  operator4,  30 Jun 26 23:02 /dev/da1c
crw-r-  1 root  operator4,  31 Jun 26 23:02 /dev/da1cs1
crw-r-  1 root  operator4,  28 Jun 26 23:02 /dev/da1s1
# /etc/rc.d/devfs restart
# ls -l /dev/da1*
crw-rw  1 root  cdusers 4,  27 Jun 26 23:02 /dev/da1
crw-rw  1 root  cdusers 4,  29 Jun 26 23:02 /dev/da1a
crw-rw  1 root  cdusers 4,  30 Jun 26 23:02 /dev/da1c
crw-r-  1 root  operator4,  31 Jun 26 23:02 /dev/da1cs1
crw-rw  1 root  cdusers 4,  28 Jun 26 23:02 /dev/da1s1
# 

Seems like this resets itself every now and again to the
root:operator/640 permissions too, and not just on reboot.

Anyone know what I'm missing?

TIA
Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

A horse!  A horse!  My kingdom for a horse!
-- Wm. Shakespeare, "Henry VI"


pgpIX4hZ5ZAVa.pgp
Description: PGP signature


Re: Simple question

2005-07-06 Thread Louis LeBlanc
On 07/06/05 03:45 PM, Efren Bravo sat at the `puter and typed:
> Hi again, 
>  
> I'm reading a Pdf book downloaded from freeBSD.org called FreeBSD 
> Handbook and there I always find this references: 
>  
> sendmail(8) 
> sshd(8) 
> /etc/inetd.conf(5)  <-Which is the meaning of those numbers 

This refers to the manpage section that would describe the utilitiy in
question.  For instance, the sendmail(8) manpage can be accessed with
the following:
man 8 sendmail

If you omit the '8' you will get the sendmail manpage from section 1
of the manpages, which describes (if you have postfix installed,
anyway) the postfix to sendmail compatibility interface.

To see what each section focuses on, see:
man  intro

Also, you might find the following of interest:
man man
man apropos

HTH
Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

modesty, n.:
  Being comfortable that others will discover your greatness.


pgpMed3wBpbKE.pgp
Description: PGP signature


Re: Weird "nice" behavior

2005-07-06 Thread Louis LeBlanc
On 07/06/05 02:55 PM, Kris Kennaway sat at the `puter and typed:
> On Wed, Jul 06, 2005 at 02:26:22PM -0400, Lowell Gilbert wrote:
> > "Scott I. Remick" <[EMAIL PROTECTED]> writes:
> > 
> > > I'm seeing something strange/annoying tonight... maybe someone could help
> > > explain why it's happening.
> > > 
> > > FreeBSD 5.4-RELEASE
> > > 
> > 
> > Sounds like you're blocked on I/O, not CPU.  
> > SCSI drives with tagged queueing would probably perform better.
> 
> Also look for Jeff Roberson's patch that addresses this performance
> problem, which was sent (and committed) to -current a month or so ago,
> and which I think I forwarded to -stable.

I haven't noticed this problem myself (and I'm using 5.4 RELEASE),
probably because I'm not using SCSI, but I am curious about the patch
committal.  If I understand right, this patch is not currently
committed to the RELENG_5_4 branch, that not being the same as STABLE
or CURRENT.

Since this is a performance issue that many (like the OP) would
consider serious, is there any chance this patch would make it to
RELENG_5_4?

I ask this purely out of curiosity, not to see whether I (or anyone
else) agrees or disagrees with it. :)

Thanks!
Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Did you hear that two rabbits escaped from the zoo and so far they have
only recaptured 116 of them?


pgp5nnRz7tkMn.pgp
Description: PGP signature


Re: toggle volume with scroll wheel in X on freeBSD ?

2005-07-06 Thread Louis LeBlanc
On 07/05/05 10:06 PM, Joe Schmoe sat at the `puter and typed:
> Hello,
> 
> WHen I used to use windows, a very favorite app I used
> was:
> 
> http://www.toggle.com/products/volume/
> 
> Very simple - if you held down control, then the mouse
> scroll wheel caused master volume to go up and down. 
> It was terrific.
> 
> Is there a way to do this in X on FreeBSD ?  I would
> really like this functionality again...any thoughts ?

That would be pretty easy to do with any window manager that allows
you to set key/mouse macros.  I use Fvwm2, I'm sure others on the list
will tell you they prefer others - it's a matter of taste, so you
probably want to check out a few if you're new away from windoze.

For Fvwm2, I would simply set a macro for the "buttons" associated
with the scroller (usually 4 and 5) with the Ctrl modifier.  Something
like this (untested):

Mouse 4 A  C Exec /usr/sbin/mixer pcm -1:-1
Mouse 5 A  C Exec /usr/sbin/mixer pcm +1:+1

These macros start with the button to be configured (in XFree86 and
Xorg, the scroll up and down are classified as button pushes).  Next
is the context.  For Fvwm, 'A' means anwhere.  'R' means root window,
so you could use that to make it only work if your mouse is over the
root window, as opposed to an application window.  Next is the
modifier.  There are several of these, but 'C' means Ctrl.  Exec is
the action, and the rest is the parameter to Exec, which basically
tells Fvwm what to run when you hit that combination of buttons.  I'm
sure most WMs allow some kind of key bindings to be configured, so
look into the config docs for your WM.

Personally, I use a wireless keyboard from a great little hardware
company called Microsoft (I know, they think they're a software
company).  It's got some fancy buttons along the top for all kinds of
stuff.  I've used the above method to tie those buttons to things like
volume control as described above.  I even wrote a quick little script
to mute the volume and save the old volume for resetting, then tied
the script to my mute button.

Before you use the commands above for your WM config, check them at
the command line (without the "Exec") to make sure they work.  You
might boost the mod value to get more immediate results - the 1
translates to 1% of the total volume range.

HTH
Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Harrisberger's Fourth Law of the Lab:
  Experience is directly proportional to the amount of equipment ruined.


pgpGbAQzhHBFq.pgp
Description: PGP signature


Re: Upgraded Perl; and lo, errors cause exim to fail

2005-06-28 Thread Louis LeBlanc
On 06/28/05 01:24 PM, Joe Altman sat at the `puter and typed:
> On Tue, Jun 28, 2005 at 01:08:58PM -0400, Louis LeBlanc wrote:
> > 
> > Did you remember to update the ports that have Perl as a dependency with
> > the perl-after-upgrade script?  You can find it in lang/perl5.8/work/
> > after the build (it is kept in lang/perl/files/).  Make sure you read
> > the script documentation (embedded) and double check for anything that
> > might have been forgotten.
> 
> /smacks self on forehead. Really, really hard.
> 
> Ahh...all better now.

Been there, done that.

Glad to have been useful.
Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Renning's Maxim:
  Man is the highest animal.  Man does the classifying.


pgpuOZHHzvH5n.pgp
Description: PGP signature


Re: Upgraded Perl; and lo, errors cause exim to fail

2005-06-28 Thread Louis LeBlanc
On 06/28/05 12:10 PM, Joe Altman sat at the `puter and typed:
> Is anyone else seeing errorors like this:
> 
> /libexec/ld-elf.so.1: Shared object "libperl.so" not found, required by "exim"
> 
> after upgrading Perl when prompted by portversion?
> 
> I notice that ld-elf.so.1 has two versions:
> 
> 55 -r-xr-xr-x   1 root  wheel  153244 Jun  3 14:05 ld-elf.so.1
> 54 -r-xr-xr-x   1 root  wheel  153244 Apr  5 14:58 ld-elf.so.1.old
> 
> yet, of course, they do differ.
> 
> Exim uses (IIRC) pcre; but that doesn't seem to be implicated. Anyone
> have any suggestions for fixing this, other than de- and then re-
> installing Exim and/or Perl?
> 
> Now that I think of it a bit more, perhaps the answer is in this
> direction:
> 
> use.perl system or use.perl port
> 
> uname -a
> FreeBSD vox.chthonixia.net 5.4-STABLE FreeBSD 5.4-STABLE #0: Mon Jun
> 27 14:40:02 EDT 2005
> [EMAIL PROTECTED]:/usr/obj/usr/src/sys/VOX  i386


Did you remember to update the ports that have Perl as a dependency with
the perl-after-upgrade script?  You can find it in lang/perl5.8/work/
after the build (it is kept in lang/perl/files/).  Make sure you read
the script documentation (embedded) and double check for anything that
might have been forgotten.

Good luck.
Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Atlanta:
  An entire city surrounded by an airport.


pgpXy6XukRKOV.pgp
Description: PGP signature


Re: media player for mpeg-4? xmms can't load faad plugin

2005-06-26 Thread Louis LeBlanc
On 06/26/05 02:47 PM, Louis LeBlanc sat at the `puter and typed:
> Anyone have any luck getting xmms to play m4a (mpeg-4) files?
> 
> I've installed the xmms-faad port, but the libmp4.so plugin doesn't
> seem to want to work:
> 
> /usr/X11R6/lib/xmms/Input/libmp4.so: Undefined symbol "MP4GetTrackAudioType"
> 
> I wonder if this could be one port stepping on another, or even just a
> simple path problem, like LD_LIBRARY_PATH?
> 
> I have gotten gmplayer to play these files, but it doesn't do playlist
> shuffling and the gain is so low through gmplayer that I have to crank
> the gain and volume to the max just to hear it at a decent level.
> Then every darn time I get email, ringin.wav plays over it at max
> volume.  I almost did myself a mischief the first time that happened.
> Sure it's hilarious in hindsight, but it really scares the dirt outa
> you when it happens.
> 
> I also tried xine.  It's pretty cool looking and all, like xmms, and
> it has a very cool splash, but it dumps core when I try to play m4a
> files.
> 
> BTW, these m4a files were ripped by iTunes on my wife's windoze box,
> and I am trying to play them on FreeBSD 5.4-RELEASE-p1.
> 
> Any pointers would be appreciated.

Here's the pointer for the next *BSD user looking to make better use
of his/her iTunes than keeping them on a 'doze box.

Install audio/rhythmbox.  I suggest using the gstreamer backend (xine
dumped core on me when I tried to play m4as).

Rhythmbox rocks.  The gui isn't as fancy as xmms or xine, or even
iTunes itself, but under the hood I like it as much as iTunes.  You
get the same 'net radio, shuffle play, playlists and you have a very
straightforward windowed filter by artist, album, etc.  It's just as
easy to rate a tune, too.  And unlike iTunes, it gave me a startoff
rating right down the middle of the road for all tunes.

The only thing I've noticed that isn't there is the date filtering in
automatic playlists.

And I didn't have to do a thing to get it to trap the fancy msoft
multimedia keys (play, pause, stop, next, prev).  It all just worked.

I haven't tried it yet, but it claims to be able to load my iPod too.
Maybe I _can_ put off buying a powerbook until the Intel based systems
come out.

Very, very cool.
Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Don't go around saying the world owes you a living.  The world owes
you nothing.  It was here first.
-- Mark Twain


pgpGEtSI8Mj0D.pgp
Description: PGP signature


Re: Perl 5.8.6 to 5.8.7 upgrade fails IPC tests

2005-06-26 Thread Louis LeBlanc
On 06/26/05 04:50 PM, Mikko Tyljrvi sat at the `puter and typed:
> > 
> > This certainly does make sense, but I'm not sure I'm actually running
> > short here.  I have SYSVSEM in my kernel (as well as SYSVSHM and
> > SYSVMSG), and the relevant sysctls are:
> >
> > kern.ipc.semmap: 30
> > kern.ipc.semmni: 10
> > kern.ipc.semmns: 60
> > kern.ipc.semmnu: 30
> > kern.ipc.semmsl: 60
> > kern.ipc.semopm: 100
> > kern.ipc.semume: 10
> > kern.ipc.semusz: 92
> > kern.ipc.semvmx: 32767
> > kern.ipc.semaem: 16384
> 
> Ok, looks like the default settings, which are often too low for
> anything that makes heavy use of SYSV IPCs...
> 
> >
> > # ipcs -S
> > seminfo:
> >semmap: 30  (# of entries in semaphore map)
> >semmni: 10  (# of semaphore identifiers)
> >semmns: 60  (# of semaphores in system)
> >semmnu: 30  (# of undo structures in system)
> >semmsl: 60  (max # of semaphores per id)
> >semopm:100  (max # of operations per semop call)
> >semume: 10  (max # of undo entries per process)
> >semusz: 92  (size in bytes of undo structure)
> >semvmx:  32767  (semaphore maximum value)
> >semaem:  16384  (adjust on exit max value)
> >
> > # ipcs -s
> > Semaphores:
> > T ID KEYMODE   OWNERGROUP
> > s  655365432001 --rw---pgsqlpgsql
> > s  655375432002 --rw---pgsqlpgsql
> > s  655385432003 --rw---pgsqlpgsql
> 
> ... such as databases :-)
> 
> Have a look at /usr/ports/databases/postgresql80-server/pkg-message-server
> for some sample settings.
> 
> > Near as I can tell, this tells me I have at least 60 semaphores
> > systemwide, 60 per id, 3 in use, none of which are being used by root
> > (which is who I am running the test as).  Shouldn't that leave 57 for
> > the perl tests?
> 
> Not necessarily.  The SYSV IPCs is a particularly vicious piece of
> poor engineering.
> 
> Semaphores come in sets containing one or more semaphore.  With your
> settings you can have at most 10 sets, and a total of at most 60
> semaphores, and at most 60 per set, and at most 30... something else.
> Also, at most 30 locks can be released in case a process unexpectedly
> exits.
> 
> Easy, right?
> 
> Looks like you'll have to use "ipcs -sa" to see the "NSEMS" column,
> which should tell you how many semaphores are in use.
> 
> > How many does it need to open?
> 
> No idea.  Read the code or just raise the retarded limits by a lot.
> Or try stopping postgres while running the tests.
> 
>$.02,
And then some.

You called this one right on the nose.

ipcs -sa showed each of the 3 pgsql processes were using 17 semaphores
(NSEMS column) wich really did cut things down.  The
pkg-message-server file shed some light too.

I first shut down postgres, then ran the test, and everything worked
fine.  Then I added the 3 lines below to /boot/loader.conf, then
rebooted and ran the tests again with postgres still running, and
everything worked fine again.

kern.ipc.semmns=240
kern.ipc.semume=40
kern.ipc.semmnu=120

So, I suspect I have enough semaphores for awhile now:
$ ipcs -S
seminfo:
semmap: 30  (# of entries in semaphore map)
semmni: 10  (# of semaphore identifiers)
semmns:240  (# of semaphores in system)
semmnu:120  (# of undo structures in system)
    semmsl: 60  (max # of semaphores per id)
semopm:100  (max # of operations per semop call)
semume: 40  (max # of undo entries per process)
semusz: 92  (size in bytes of undo structure)
semvmx:  32767  (semaphore maximum value)
semaem:  16384  (adjust on exit max value)


Thanks again.

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Logg's Rebuttal to Gray's Law:
  `n+1' trivial tasks take twice as long as `n' trivial tasks.


pgpdPtgGyu8yx.pgp
Description: PGP signature


Re: Perl 5.8.6 to 5.8.7 upgrade fails IPC tests

2005-06-26 Thread Louis LeBlanc
On 06/26/05 02:32 PM, Mikko Tyljrvi sat at the `puter and typed:
> On Sun, 26 Jun 2005, Louis LeBlanc wrote:
> 
> > On 06/26/05 10:39 PM, [EMAIL PROTECTED] sat at the `puter and typed:
> >> On Sun, 26 Jun 2005 15:17:06 -0400
> >> Louis LeBlanc <[EMAIL PROTECTED]> wrote:
> >>
> >>> I'm having a little trouble with my perl upgrade from 5.8.6 to 5.8.7.
> >> -- cut --
> >>> ok 5
> >>> ok 6
> >>> semget: No space left on device
> >>
> >> you need to make disc-space, one idea is to run portsclean -C or to make
> >> some more space in /usr/home
> >
> > That would be the obvious cause, but not so:
> 
> [...]
> 
> Indeed. Disk space most likely has nothing to do with it.
> 
> The semget(2) call returns ENOSPC when unable to allocate semaphores,
> due to hitting one of the many SYSV IPC limitations. Some things to
> look for:
> 
>   - You need to have SYSVSEM in your kernel, or "sysvsem.ko" loaded.
> 
>   - Check semaphore limits with "ipcs -S"
> 
>   - Check current semaphore usage with "ipcs -s"
> 
>   - Figure out what limit is being hit and do something about it :-)
> 
> Some of the values can be tweaked at run-time, with
> "sysctl kern.ipc.semxxx=value", others have to be set at boot
> time (in /boot/loader.conf), or compiled into the kernel.

This certainly does make sense, but I'm not sure I'm actually running
short here.  I have SYSVSEM in my kernel (as well as SYSVSHM and
SYSVMSG), and the relevant sysctls are:

kern.ipc.semmap: 30
kern.ipc.semmni: 10
kern.ipc.semmns: 60
kern.ipc.semmnu: 30
kern.ipc.semmsl: 60
kern.ipc.semopm: 100
kern.ipc.semume: 10
kern.ipc.semusz: 92
kern.ipc.semvmx: 32767
kern.ipc.semaem: 16384

# ipcs -S
seminfo:
semmap: 30  (# of entries in semaphore map)
semmni: 10  (# of semaphore identifiers)
semmns: 60  (# of semaphores in system)
semmnu: 30  (# of undo structures in system)
semmsl: 60  (max # of semaphores per id)
semopm:100  (max # of operations per semop call)
semume: 10  (max # of undo entries per process)
semusz: 92  (size in bytes of undo structure)
semvmx:  32767  (semaphore maximum value)
semaem:  16384  (adjust on exit max value)

# ipcs -s
Semaphores:
T ID KEYMODE   OWNERGROUP
s  655365432001 --rw---pgsqlpgsql
s  655375432002 --rw---pgsqlpgsql
s  655385432003 --rw---pgsqlpgsql


Near as I can tell, this tells me I have at least 60 semaphores
systemwide, 60 per id, 3 in use, none of which are being used by root
(which is who I am running the test as).  Shouldn't that leave 57 for
the perl tests? How many does it need to open?

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Coronation, n.:
  The ceremony of investing a sovereign with the outward and visible
  signs of his divine right to be blown skyhigh with a dynamite bomb.
-- Ambrose Bierce, "The Devil's Dictionary"


pgpH4gP048MAs.pgp
Description: PGP signature


Re: Perl 5.8.6 to 5.8.7 upgrade fails IPC tests

2005-06-26 Thread Louis LeBlanc
On 06/26/05 10:39 PM, [EMAIL PROTECTED] sat at the `puter and typed:
> On Sun, 26 Jun 2005 15:17:06 -0400
> Louis LeBlanc <[EMAIL PROTECTED]> wrote:
> 
> > I'm having a little trouble with my perl upgrade from 5.8.6 to 5.8.7.
> -- cut --
> > ok 5
> > ok 6
> > semget: No space left on device
> 
> you need to make disc-space, one idea is to run portsclean -C or to make
> some more space in /usr/home

That would be the obvious cause, but not so:

$ df -k
Filesystem  1K-blocks UsedAvail Capacity  Mounted on
/dev/ad4s1a25367857338   17604625%/
devfs   110   100%/dev
procfs  440   100%/proc
/dev/ad4s1g  60931274  7479698 4857707613%/home
/dev/ad4s1h  55608264 11092412 4006719222%/opt
/dev/ad4s1e   1012974  144   931794 0%/tmp
/dev/ad4s1d  30462636  7680094 2034553227%/usr
/dev/ad4s1f   1012974   137608   79433015%/var
devfs   110   100%/var/named/dev


I have plenty of space except on the virtual filesystems.  Shoulda
mentioned this in my OP.

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Rule of Feline Frustration:
  When your cat has fallen asleep on your lap and looks utterly content
  and adorable, you will suddenly have to go to the bathroom.


pgpysQblOoNwT.pgp
Description: PGP signature


Perl 5.8.6 to 5.8.7 upgrade fails IPC tests

2005-06-26 Thread Louis LeBlanc
I'm having a little trouble with my perl upgrade from 5.8.6 to 5.8.7.

The build goes ok, but when I run 'make test' I get two failures.

Both appear to be in the IPC code.  When running the failed tests by
hand, I get the following:

# ./perl ../ext/IPC/SysV/t/sem.t 
1..10
semget: 28 No space left on device
not ok 10
# ./perl ../ext/IPC/SysV/t/ipcsysv.t 
1..16
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
semget: No space left on device

I don't understand the error message.

Running all tests in the harness results as follows:

Failed Test Stat Wstat Total Fail  Failed  List of Failed
---
../ext/IPC/SysV/t/ipcsysv.t  255 6528016   20 125.00%  7-16
../ext/IPC/SysV/t/sem.t   28  716810   10 100.00%  1-10
 (1 subtest UNEXPECTEDLY SUCCEEDED), 53 tests and 212 subtests skipped.
Failed 2/944 test scripts, 99.79% okay. 20/100430 subtests failed, 99.98% okay.

I have read through the 'make test' section in the INSTALL file, and I
have set the LC_ALL environment variable, but as I expected that
doesn't affect these particular tests.

Any ideas?

TIA
Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

share, n.:
  To give in, endure humiliation.


pgpkwPRnMqqOa.pgp
Description: PGP signature


media player for mpeg-4? xmms can't load faad plugin

2005-06-26 Thread Louis LeBlanc
Anyone have any luck getting xmms to play m4a (mpeg-4) files?

I've installed the xmms-faad port, but the libmp4.so plugin doesn't
seem to want to work:

/usr/X11R6/lib/xmms/Input/libmp4.so: Undefined symbol "MP4GetTrackAudioType"

I wonder if this could be one port stepping on another, or even just a
simple path problem, like LD_LIBRARY_PATH?

I have gotten gmplayer to play these files, but it doesn't do playlist
shuffling and the gain is so low through gmplayer that I have to crank
the gain and volume to the max just to hear it at a decent level.
Then every darn time I get email, ringin.wav plays over it at max
volume.  I almost did myself a mischief the first time that happened.
Sure it's hilarious in hindsight, but it really scares the dirt outa
you when it happens.

I also tried xine.  It's pretty cool looking and all, like xmms, and
it has a very cool splash, but it dumps core when I try to play m4a
files.

BTW, these m4a files were ripped by iTunes on my wife's windoze box,
and I am trying to play them on FreeBSD 5.4-RELEASE-p1.

Any pointers would be appreciated.

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

cerebral darwinism, n:
  The theory that the effects of cerebral atrophy can be reversed
through the purging action of heavy alcohol consumption.  Large
amounts of alcohol cause many brain cells to perish due to oxygen
deprivation.  Through the process of natural selection, the weak and
sick brain cells will die first, leaving only the healthy cells.  This
wonderful process leaves the imbiber with a healthier, more vibrant
brain, and increases mental capacity.  Thus, the devastating effects
of cerebral atrophy are reversed, and academic performance actually
increases beyond previous levels.


pgpuARsaS1Tme.pgp
Description: PGP signature


commandline audio volume?

2005-06-25 Thread Louis LeBlanc
Silly question, I know, but I can't seem to find the commandline audio
volume adjustment command.

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Van Roy's Law:
  Honesty is the best policy - there's less competition.


pgpBp652dz7ct.pgp
Description: PGP signature


Re: Help, I killed my machine.

2005-06-23 Thread Louis LeBlanc
On 06/23/05 10:02 PM, Bjƶrn Kƶnig sat at the `puter and typed:
> Ben Timby wrote:
> 
> > [...] I built the world and kernel as follows:
> 
> So I guess you didn't followed the step-by-step instructions in the 
> migration guide?
> 
> http://www.freebsd.org/releases/5.4R/migration-guide.html
> 
> > cd /usr/src
> > make buildworld && make buildkernel
> > 
> > [...]
> >
> > I did mergemaster -p.
> 
> The -p stands for "pre-buildworld mode", i.e. you should run it before 
> buildworld. ;-)
> 
> I would do a fresh clean installation in your case now.


Uh, careful.  My copy of the FreeBSD handbook
(http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html)
says to do it this way:

# make buildworld
# make buildkernel
# make installkernel
# reboot

Note: There are a few rare cases when an extra run of mergemaster -p
is needed before the buildworld step. These are described in UPDATING.
In general, though, you can safely omit this step if you are not
updating across one or more major FreeBSD versions.

After installkernel finishes successfully, you should boot in single
user mode (i.e. using boot -s from the loader prompt). Then run:

# mergemaster -p
# make installworld
# mergemaster
# reboot


Every time I have to do an upgrade, one of my crucial steps prior to
reboot is to print out that page and tape it to my right monitor.  I
always forget the right order.  Always.

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Modesty:
  The gentle art of enhancing your charm by pretending not to be
  aware of it.
-- Oliver Herford


pgpCgL5G0cNIn.pgp
Description: PGP signature


clamav build link error (reference to gethostbyname_r)

2005-06-22 Thread Louis LeBlanc
I just updated my ports and found that clamav was due for upgrade.
Problem is it won't build because of a gethostbyname_r reference.

During the configuration stage, it seems to find a gethostbyname_r:
checking for gethostbyname_r... yes, and it takes 5 arguments

I can't find any reference to gethostbyname_r in the manpages, except
for the LWRES_GETHOSTENT(3) manpage.  I don't think this is what it
refers to, since lwres_gethostbyname_r() takes 4 arguments, not 5.

Regardless, the build fails here:
cc -O -pipe -pthread -o .libs/clamav-milter cfgparser.o getopt.o memory.o 
misc.o clamav-milter.o -pthread  -L/usr/local/lib 
../libclamav/.libs/libclamav.so -lldap -lbz2 -lgmp -lcurl -lidn -lssl -lcrypto 
-lz -lmilter -pthread -lwrap -Wl,--rpath -Wl,/usr/local/lib
clamav-milter.o(.text+0x5708): In function `clamfi_gethostbyname':
: undefined reference to `gethostbyname_r'
*** Error code 1

Anyone have any idea why the configuration is finding gethostbyname_r()
when it's not there?

BTW, I'm running on 5.4 RELEASE-p1

TIA
Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Crenna's Law of Political Accountability:
  If you are the first to know about something bad, you are going to be
  held responsible for acting on it, regardless of your formal duties.


pgpHDeNODyXQo.pgp
Description: PGP signature


iPod Shuffle and FreeBSD?

2005-06-20 Thread Louis LeBlanc
Hey folks.  I just got a new toy for Father's Day, an iPod Shuffle.
Not a bad little gadget (though I'd think they could get more than
512M in there by now), but I don't own a Mac (yet?), and I hate
windoze.  So I'd like to know which of the port apps people are using
with the iPod, particularly the Shuffle.

I looked in the ports, and all I found so far was the gnupod, gtkpod
and gopod ports.

If there are any I've missed, I'd like to know what they are and what
you think about them.

BTW, I'm using FreeBSD 5.4 RELEASE on my home system and 4.11 RELEASE
at work.  USB 2.0 works great at home, but I'm not sure it works at
all at work.

TIA
Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

All laws are simulations of reality.
-- John C. Lilly


pgpWzpfIMUeMt.pgp
Description: PGP signature


warnings and errors in /var/log/messages with 5.4

2005-06-06 Thread Louis LeBlanc
I've recently upgraded to 5.4 RELEASE, and now I have my various USB
devices working with the ehci driver.  Problem is I'm getting some
errors and warnings in /var/log/messages that I never saw with 5.3.

The umass related error is always as follows:
Jun  6 10:30:25 keyslapper kernel: umass0: Phase Error, residue = 0
Jun  6 10:30:25 keyslapper kernel: (da0:umass-sim0:0:0:0): Synchronize cache 
failed, status == 0x4, scsi status == 0x0

The device currently on da0 is a USB 2.0 memory key (1G Attache).

I'm not sure what this error means.  Is there any more detail to be
had?


The warning, I'm not so sure about:
Jun  2 17:50:40 keyslapper kernel: Warning: pid 41908 used static ldt 
allocation.
Jun  2 17:50:40 keyslapper kernel: See the i386_set_ldt man page for more info

It looks like the kernel is logging a warning any time a process uses
the i386_set_ldt system call, and the manpage explicitly states that
you can really hose your process by using that call.

Is there any more detail to be had on the LDT issue?

Thanks.
Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

No problem is insoluble.
-- Dr. Janet Wallace, "The Deadly Years", stardate 3479.4


pgpLskajPxlag.pgp
Description: PGP signature


Re: FreeBSD 5.4 & Xwindows

2005-06-05 Thread Louis LeBlanc
On 06/05/05 10:40 AM, Robert Slade sat at the `puter and typed:
> On Sun, 2005-06-05 at 03:04, Louis LeBlanc wrote:
> > On 06/04/05 10:01 PM, Louis LeBlanc sat at the `puter and typed:
> > > On 06/04/05 07:06 PM, Robert Slade sat at the `puter and typed:
> > > > Hiya,
> > > > 
> > > > I've been trying to figure this out. I've tried googling for an answer
> > > > but only got confused.
> > > > 
> > > > I have a P4 machine with an ATI Radeon 9200 with 128Mbyte of memory 
> > > > built into the motherboard. I have not been able to get Xwindows to run
> > > > at any greater resolution than basic VGA. All I seam to get is no driver
> > > > or no screen defined.
> > > > 
> > > > 
> > > > Goggle troughs up some info but for linux. Can anybody help please.
> > > 
> > > You might find some useful info in /usr/X11R6/lib/X11/doc/README.ati
> > > 
> > > One notable paragraph from this doc:
> > > 
> > > The newer Rage 128 and Radeon chips are not yet supported by this
> > > driver.  Rage 128's and Radeon's are, however, supported by separate
> > > drivers, and owners of such adapters should consult the documentation
> > > provided with these drivers.  This driver will also invoke the
> > > appropriate driver if it finds Rage 128 and/or Radeon adapter(s) in
> > > the system.
> > > 
> > > Good luck
> > 
> > BTW, as mentioned by another poster, you probably need the RADEON
> > driver.  Check the manpage (RADEON(4x)) - it does mention several 9200
> > models.
> > 
> > Lou
> 
> Lou,
> 
> Thanks,
> 
> Please see my previous post. I suspect that the card is one of the later
> non supported chip sets. It looks like it uses 2 busids one for the main
> card and the 2nd for the some of the memory - probably a fudge to get
> the memory up to 128Meg. I this that this is confusing the RADEON
> driver.
> 
> I can't afford the time to mess about with it any further time for a new
> card I think.

Maybe you could give the exact model?  Is it an IGP, Pro, SE, M9?
What about the config you used for the card?  What do you get in the
Xorg.log? (any warnings, errors?).  And what is the Screen config in
your xorg.conf?

Don't forget to check the following config details:
   VideoRam - in kilobytes
   MemBase  - physical address of the linear framebuffer
   IOBase   - physical address of the MMIO registers
   ChipID   - PCI DEVICE ID

Remember, that says the VideoRam spec is in kilobytes, not meg and not
bytes.  If you have a specified VideoRam value, try commenting it out.
If not, try 131072.

You might also find reference to the card in /var/log/messages,
typically it will give a memory range in hex, but it should give you
the model you need to configure it as.


If you are set on a new card, the ATI cards are usually excellent
(I've used them in the past), but if you want to stick to something
you can get native drivers for, I highly recommend the NVidia cards.
Check the /usr/ports/x11/nvidia-driver port to make sure the driver
there covers the cards you're looking at.  I'm using an FX 5200 right
now, and I'm sure they come with up to 256M of VideoRam.

Once again, good luck.

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Heavier than air flying machines are impossible.
-- Lord Kelvin, President, Royal Society, c. 1895


pgpI7F3g3Cgm2.pgp
Description: PGP signature


Re: FreeBSD 5.4 & Xwindows

2005-06-04 Thread Louis LeBlanc
On 06/04/05 10:01 PM, Louis LeBlanc sat at the `puter and typed:
> On 06/04/05 07:06 PM, Robert Slade sat at the `puter and typed:
> > Hiya,
> > 
> > I've been trying to figure this out. I've tried googling for an answer
> > but only got confused.
> > 
> > I have a P4 machine with an ATI Radeon 9200 with 128Mbyte of memory 
> > built into the motherboard. I have not been able to get Xwindows to run
> > at any greater resolution than basic VGA. All I seam to get is no driver
> > or no screen defined.
> > 
> > 
> > Goggle troughs up some info but for linux. Can anybody help please.
> 
> You might find some useful info in /usr/X11R6/lib/X11/doc/README.ati
> 
> One notable paragraph from this doc:
> 
> The newer Rage 128 and Radeon chips are not yet supported by this
> driver.  Rage 128's and Radeon's are, however, supported by separate
> drivers, and owners of such adapters should consult the documentation
> provided with these drivers.  This driver will also invoke the
> appropriate driver if it finds Rage 128 and/or Radeon adapter(s) in
> the system.
> 
> Good luck

BTW, as mentioned by another poster, you probably need the RADEON
driver.  Check the manpage (RADEON(4x)) - it does mention several 9200
models.

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

optimist:
  A man who refuses to see the wolf until he seizes the seat of
  his pants.


pgpy8duzTvCav.pgp
Description: PGP signature


Re: FreeBSD 5.4 & Xwindows

2005-06-04 Thread Louis LeBlanc
On 06/04/05 07:06 PM, Robert Slade sat at the `puter and typed:
> Hiya,
> 
> I've been trying to figure this out. I've tried googling for an answer
> but only got confused.
> 
> I have a P4 machine with an ATI Radeon 9200 with 128Mbyte of memory 
> built into the motherboard. I have not been able to get Xwindows to run
> at any greater resolution than basic VGA. All I seam to get is no driver
> or no screen defined.
> 
> 
> Goggle troughs up some info but for linux. Can anybody help please.

You might find some useful info in /usr/X11R6/lib/X11/doc/README.ati

One notable paragraph from this doc:

The newer Rage 128 and Radeon chips are not yet supported by this
driver.  Rage 128's and Radeon's are, however, supported by separate
drivers, and owners of such adapters should consult the documentation
provided with these drivers.  This driver will also invoke the
appropriate driver if it finds Rage 128 and/or Radeon adapter(s) in
the system.

Good luck

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

mophobia, n.:
  Fear of being verbally abused by a Mississippian.


pgpDX2w32N91y.pgp
Description: PGP signature


Re: Problem with HT support in 5.4

2005-05-28 Thread Louis LeBlanc
On 05/27/05 09:28 PM, Mike Tancsa sat at the `puter and typed:
> On Fri, 27 May 2005 09:30:46 -0500, in sentex.lists.freebsd.questions
> you wrote:
> >> 
> >> Oh, wait, it is probably just the last HT security patch,
> >> ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-05:09.htt.asc.
> >
> >hmm... So basically, SMP can be enabled, but it won't use HT even if it
> >sees a capable processor? 
> 
> Unless you use the ULE scheduler (which is broken and buggy on
> RELENG_5) there is no benefit to using HT. In fact, it will make some
> things worse.

Are you sure about that?  I'm using the BSD scheduler on 5.3
(upgrading to 5.4 later today), with HT enabled, and I don't have
problems.  In fact, I can do a make buildworld AND play neverwinter
nights at the same time without seeing any problems.

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

I do desire we may be better strangers.
-- William Shakespeare, "As You Like It"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


5.3->5.4 upgrade method

2005-05-26 Thread Louis LeBlanc
Ok, I've settled on upgrading to 5.4 (from 5.4 RELEASE) but I can't
find an explicit statement that performing such an upgrade with
cvsup/buildworld/buildkernel, etc. would be ok.  No kernel config
gotchas mentioned either.  Of course it seems implied that this would
be a perfectly fine way to do the upgrade.

Has anyone else used this upgrade method going from 5.3 to 5.4?
Any caveats on the kernel config?

Thanks
Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

It's not hard to admit errors that are [only] cosmetically wrong.
-- J.K. Galbraith
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: USB 2.0 (ehci) and Intel ICH5 in 5.4?

2005-05-25 Thread Louis LeBlanc
On 05/25/05 07:48 PM, Mike Tancsa sat at the `puter and typed:
> On Wed, 25 May 2005 12:24:20 -0400, in sentex.lists.freebsd.questions
> you wrote:
> 
> >I have some questions about 5.4 RELEASE.  Particularly USB 2.0 support.
> >
> >I'm currently running 5.3 RELEASE-p3 on a newer Dell system (Dimension
> >8300) with an "Intel 82801EB (ICH5) USB controller USB-B" running on
> >uhci0 - uhci3.  USB 1.0 support works fine, but I would like to kick it
> >up a notch.  When I tried the ehci driver on this system, I got a kernel
> >panic.
> >
> >Anyone using this particular USB controller with FreeBSD and getting the
> >ehci driver to work?
> 
> Upgrade to RELENG_5. There have been a lot of bug fixes to the USB
> subsystem and USB 2.0 works far better.

I'm not sure I'm ready to put RELENG_5 on this machine.  I prefer to
have a specific release and make upgrades a little more carefully.

I'll be looking through the RELENG_5_4 release notes over the next few
days and probably upgrading this weekend.  Right now, I'm running
RELENG_5_3 (RELEASE-p3).  This was built back in January, and I've had
kernel panicks when trying the ehci driver.  If it's fixed in 5.4, and
there are no 5.3 -> 5.4 upgrade gotchas, that's probably good enough
for me.  If I find any gotchas in the notes, I'll see if a newer 5.3
code base fixes it.

Thanks.
Lou

> % grep -i usb /var/run/dmesg.boot 
> uhci0:  port 0xc000-0xc01f
> irq 16 at device 29.0 on pci0
> usb0:  on uhci0
> usb0: USB revision 1.0
> uhci1:  port 0xc400-0xc41f
> irq 19 at device 29.1 on pci0
> usb1:  on uhci1
> usb1: USB revision 1.0
> uhci2:  port 0xc800-0xc81f
> irq 18 at device 29.2 on pci0
> usb2:  on uhci2
> usb2: USB revision 1.0
> uhci3:  port 0xcc00-0xcc1f
> irq 16 at device 29.3 on pci0
> usb3:  on uhci3
> usb3: USB revision 1.0
> ehci0:  mem 0xfa08-0xfa0803ff
> irq 23 at device 29.7 on pci0
> usb4: EHCI version 1.0
> usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3
> usb4:  on ehci0
> usb4: USB revision 2.0
> ucom0: 3Com Inc. U.S.Robotics 56000 Voice USB Modem, rev 1.00/0.90,
> addr 2, iclass 2/2
> ----
> Mike Tancsa, Sentex communications http://www.sentex.net
> Providing Internet Access since 1994
> [EMAIL PROTECTED], (http://www.tancsa.com)
> 

-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Nouvelle cuisine, n.:
  French for "not enough food".
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: USB 2.0 (ehci) and Intel ICH5 in 5.4?

2005-05-25 Thread Louis LeBlanc
On 05/25/05 02:47 PM, Joe Altman sat at the `puter and typed:
> 
> ehci0:  mem 0xfc00-0xfc0003ff
> irq 3 at device 29.7 on pci0
> usb4: EHCI version 1.0
> usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3
> usb4:  on ehci0
> usb4: USB revision 2.0
> uhub4: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
> uhub4: single transaction translator
> uhub4: 8 ports with 8 removable, self powered
> 
> As to what I had to do, not much; just compile a kernel with the
> lastest sources and lo, it just works.
> 
> Now, there was an issue a little while back with some USB code that
> Julian had to adjust; once his fix went into the source tree, the
> issue vanished.
> 
> IIRC, that was shortly before 5.4 was released. The machine is
> currently running 5.4, with fresh (about one week old) sources.

Excellent!  Thank you very much.  I guess I know what I'm going to be
doing this weekend . . .

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Ingrate, n.:
  A man who bites the hand that feeds him, and then complains of
  indigestion.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


USB 2.0 (ehci) and Intel ICH5 in 5.4?

2005-05-25 Thread Louis LeBlanc
I have some questions about 5.4 RELEASE.  Particularly USB 2.0 support.

I'm currently running 5.3 RELEASE-p3 on a newer Dell system (Dimension
8300) with an "Intel 82801EB (ICH5) USB controller USB-B" running on
uhci0 - uhci3.  USB 1.0 support works fine, but I would like to kick it
up a notch.  When I tried the ehci driver on this system, I got a kernel
panic.

Anyone using this particular USB controller with FreeBSD and getting the
ehci driver to work?

If so, what version of FreeBSD, and what, if anything did you have to do
to get it working?

TIA
Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Alden's Laws:
  (1)  Giving away baby clothes and furniture is the major cause of pregnancy.
  (2)  Always be backlit.
  (3)  Sit down whenever possible.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: tracking down network load?

2005-05-24 Thread Louis LeBlanc
On 05/24/05 12:28 PM, Ion-Mihai Tetcu sat at the `puter and typed:
> On Mon, 23 May 2005 14:35:25 -0500
> Dan Nelson <[EMAIL PROTECTED]> wrote:
> 
> > In the last episode (May 23), Louis LeBlanc said:
> > > I have a strange question.  Well, maybe not so strange.
> > > 
> > > I am working on my 5.3 RELEASE system, and I notice my network
> > > monitor on gkrellm is showing unexplained loads (15/23Kbps sustained)
> > > in traffic on the external interface.
> > > 
> > > I'm not too concerned that this is a security breach, but I do notice
> > > at least one ESTABLISHED connection that I can't explain (it goes
> > > back to AOL, which naturally sows a little mistrust).
> > > 
> > > Anyway, how to I find the actual process (server or otherwise) on my
> > > end that is handling a given connection, and what kind of load it is
> > > handling?
> > 
> > sockstat or "lsof -i" will tell you which sockets belong to which
> > processes, and tcpdump or any of a dozen or so programs in ports will
> > give you detailed network usage.  Start with trafshow and iftop.
> 
> Nice thing iftop; unfortunately iftop is not maintained and on my
> 5-STABLE after a few seconds:

Ah.  Love those neat little utilities you install when you need them
then forget once the unexplained behavior subsides or is explained.  I
installed mine some time ago, and apparently upgraded the port back in
February.  Of course I forgot I had such a tool long before.

Ah well.  Thanks for the pointer.  I'll keep your message around and
hopefully I'll find it if this odd behavior should crop back up.

BTW, I don't seem to have any problems with it - so far.  If you were
to keep the code around in the port, you might be able to figure out
the problem.

> Unregistered ;) FreeBSD "user"

I love it!  I might have to borrow that (it's not copyrighted, is it?) :D

Thanks again.

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

today, n.:
  A nice place to visit, but you can't stay here for long.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: tracking down network load?

2005-05-23 Thread Louis LeBlanc
Heh :)  Duh.  The AOL connection in question was gaims connection back
to the AIM server.  Silly me.  I still don't know which of the
established connections was responsible for the sustained load though.

My system also suddenly went offline, and couldn't seem to hold its
connection afterward.  After kicking the ppp daemon a couple times, I
just rebooted the system.  The only log I can find that might have
been relevant is this one:

May 23 15:38:47 keyslapper ppp[47819]: Warning: ff02:5::/32: Change
route failed: errno: Network is unreachable

This sounds like some kind of upstream change in network routing, but
I don't know anything else about it.  Could such a change have caused
the network to do double time trying to get routes?

Lou

On 05/23/05 02:55 PM, Louis LeBlanc sat at the `puter and typed:
> I have a strange question.  Well, maybe not so strange.
> 
> I am working on my 5.3 RELEASE system, and I notice my network monitor
> on gkrellm is showing unexplained loads (15/23Kbps sustained) in
> traffic on the external interface.
> 
> I'm not too concerned that this is a security breach, but I do notice
> at least one ESTABLISHED connection that I can't explain (it goes back
> to AOL, which naturally sows a little mistrust).
> 
> Anyway, how to I find the actual process (server or otherwise) on my
> end that is handling a given connection, and what kind of load it is
> handling?
> 
> TIA
> Lou
> -- 
> Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
> Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
> Please send off-list email to: leblanc at keyslapper d.t net
> Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2
> 
> Egotism, n:
>   Doing the New York Times crossword puzzle with a pen.
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 

-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Taxes, n.:
  Of life's two certainties, the only one for which you can get an extension.


pgpgyjTPV2Z5l.pgp
Description: PGP signature


tracking down network load?

2005-05-23 Thread Louis LeBlanc
I have a strange question.  Well, maybe not so strange.

I am working on my 5.3 RELEASE system, and I notice my network monitor
on gkrellm is showing unexplained loads (15/23Kbps sustained) in
traffic on the external interface.

I'm not too concerned that this is a security breach, but I do notice
at least one ESTABLISHED connection that I can't explain (it goes back
to AOL, which naturally sows a little mistrust).

Anyway, how to I find the actual process (server or otherwise) on my
end that is handling a given connection, and what kind of load it is
handling?

TIA
Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Egotism, n:
  Doing the New York Times crossword puzzle with a pen.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Looking for a KATE replacement

2005-04-30 Thread Louis LeBlanc
On 04/30/05 10:35 AM, Frank Staals sat at the `puter and typed:
> Hey everyone,
> 
> When I started using FreeBSD for desktop usage ( about a year ago ) I 
> used KDE as desktop manager, but now I am using XFCE4.2.1 for that 
> purpose. But when writing html pages, scripts, programs etc I still use 
> KATE ( KDE Advanced Text Editor ), the thing is that it starts up realy 
> slow ( probably because it has to load a lot of basic kde stuff ).
> 
> So the question was does anyone know a good graphical replacement for 
> Kate, I esspecially like the bar on the left which lets you easily 
> switch between multiple files, and the build in terminalclient on the 
> bottom. I tried looking in the ports/editors section but there are that 
> many editors I realy don't know what to use. I am looking for a 
> graphical editor, not commandline ( therefor I allready use joe ).
> 
> So anyone ideas ?

I'm not terribly fond of the gui editors myself - I'm pretty fanatical
about vim.  Still, you might find that gvim gives you what you want.
It's installed with the vim port, so you'll have a quick commandline
editor to boot - should you ever get sick of that mouse.

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Whistler's Law:
  You never know who is right, but you always know who is in charge.


pgpwuzMaI8qNb.pgp
Description: PGP signature


Re: How to get rid of games ?

2005-04-28 Thread Louis LeBlanc
On 04/27/05 08:29 PM, Rob sat at the `puter and typed:
> 
> Hi,
> 
> I'm running a server with 4-Stable.
> 
> As it is a server, things like games should not be
> there. However, it has already been installed (did
> that come by default? don't know).

I believe there's an option to install or not install games in the
initial install UI (/stand/sysinstall).

> Anyway, I'd like to get rid of all the games stuff.
> I'll add "NOGAMES=true" in /etc/make.conf, which will
> prevent compiling & installing games for a new build
> + install world.
> 
> However, what was already there, remains there after
> a new install world; and I'd like to remove those
> games files & directories.
> 
> I don't like to roam around the system as root and
> type "rm -rf" here and there, without being very
> sure it can go.

Very wise.  This I say from experience.  And always be careful with
wildcard deletes.  Fatfingering a space between your pattern and a '*'
can be disastrous, even as a regular joe user. :(

> Can I safely do
>  rm -rf /usr/games /usr/share/games /var/games
> for that matter?
>
> Can I also safely do the same on a 5-Stable server?

I find it highly improbable that the kernel would suddenly bonk if it
can't amuse itself with a game or two while you're not looking, but
these aren't really the kind of games that will keep people wasting
time.  On top of that, they take up less than 4M of disk space, which
might be considered less than negligible.

Finally, keep in mind that fortune is used for some logins to present
FreeBSD tips and hints.  And even after some 5 years using FreeBSD, I
find these tips helpful from time to time.

So you're probably perfectly safe to plonk them, but it's probably not
worth the hassle.

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

I've already got a female to worry about.  Her name is the Enterprise.
-- Kirk, "The Corbomite Maneuver", stardate 1514.0


pgpcHAx0ouNku.pgp
Description: PGP signature


Re: It keeps CRrrASHING!!

2005-04-25 Thread Louis LeBlanc
On 04/25/05 09:13 AM, Greg Donald sat at the `puter and typed:
> On 4/25/05, Louis LeBlanc <[EMAIL PROTECTED]> wrote:
> > You might also want to double check the hardware list - Pentium 120 is a
> > pretty old system, isn't it?  I have 2 PIII systems I'm trying to get
> > rid of myself (400 & 440 Mhz).  I don't have time to waste waiting for
> > them anymore.
> 
> Need a mailing address?

Sure, can I send it postage due?  :)

Actually, if anyone can pick them up in Waltham, MA (just outside
Boston, right where the Mass Pike hits Rte 128) they're welcome to them.
That would save the trouble of mailing them (The Dell is quite heavy)
and I won't have to put them in the hazardous waste collection next
weekend.

Both systems work fine, but they are quite old - one is a frankenstein
(built almost 7 years ago from auction site parts) the other is an old
Dell, obtained in a company clutter giveaway some 3 years ago.  Both
have at least a 6 G drive, and I think 64 and 128M of ram.  Neither has
a keyboard or Monitor.  Both will need an OS installed.

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Once, adv.:
  Enough.
-- Ambrose Bierce, "The Devil's Dictionary"


pgpOmIgxTG2a0.pgp
Description: PGP signature


Re: It keeps CRrrASHING!!

2005-04-25 Thread Louis LeBlanc
ort: | memory-cap : 1048576 bytes
> Apr 25 14:45:28 ninja snort: 
> +---[thresholding-global]--
> Apr 25 14:45:28 ninja snort: | none
> Apr 25 14:45:28 ninja snort: 
> +---[thresholding-local]---
> Apr 25 14:45:28 ninja snort: | gen-id=1  sig-id=3152   type=Threshold 
> tracking=src count=5   seconds=2
> Apr 25 14:45:28 ninja snort: | gen-id=1  sig-id=2923   type=Threshold 
> tracking=dst count=10  seconds=60
> Apr 25 14:45:28 ninja snort: | gen-id=1  sig-id=2924   type=Threshold 
> tracking=dst count=10  seconds=60
> Apr 25 14:45:28 ninja snort: | gen-id=1  sig-id=2495   type=Both  
> tracking=dst count=20  seconds=60
> Apr 25 14:45:28 ninja snort: | gen-id=1  sig-id=3273   type=Threshold 
> tracking=src count=5   seconds=2
> Apr 25 14:45:28 ninja snort: | gen-id=1  sig-id=2523   type=Both  
> tracking=dst count=10  seconds=10
> Apr 25 14:45:28 ninja snort: | gen-id=1  sig-id=2496   type=Both  
> tracking=dst count=20  seconds=60
> Apr 25 14:45:28 ninja snort: | gen-id=1  sig-id=2494   type=Both  
> tracking=dst count=20  seconds=60
> Apr 25 14:45:28 ninja snort: | gen-id=1  sig-id=2275   type=Threshold 
> tracking=dst count=5   seconds=60
> Apr 25 14:45:28 ninja snort: 
> +---[suppression]--
> Apr 25 14:45:28 ninja snort: | none
> Apr 25 14:45:28 ninja snort: 
> +--
> Apr 25 14:45:28 ninja snort: Rule application order: 
> ->activation->dynamic->alert->pass->log
> Apr 25 14:45:28 ninja snort: Log directory = /var/log/snort
> Apr 25 14:45:36 ninja snort: Snort initialization completed successfully 
> (pid=598)
> Apr 25 14:46:19 ninja fsck: /dev/ad0s1e: 9 files, 6 used, 506481 free (41 
> frags, 63305 blocks, 0.0% fragmentation)
> 
> I hope someone can tell me what's wrong!
> Thanks!
> 
> -- 
> ___
> Sign-up for Ads Free at Mail.com
> http://promo.mail.com/adsfreejump.htm
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 

-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

"Irrationality is the square root of all evil"
-- Douglas Hofstadter


pgpDx56CvoFrj.pgp
Description: PGP signature


OT: HTTP response handling - date correction in the client?

2005-04-23 Thread Louis LeBlanc
This is OT, I know, but there's gotta be someone on this list that
knows the various HTTP specs better than I do.  I do know them better
than your average bear, at least, but apparently not as well as I
thought.

I seem to remember reading in a spec, some time ago, details of date
correction performed on responses received from a server with a skewed
system clock or to account for extended network latency.

Well, now I can't find the details of this date correction.  RFC 1945
and 2616 don't mention much detail, but I know it was discussed
somewhere.  I just can't remember where.  Unfortunately, my
predecessor didn't mention the spec he used in the commentary.  In
fact, he didn't put any commentary on the subject at all.

Any pointers would be appreciated.  I have googled, and searched W3C,
but the results weren't very helpful.

TIA
Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Revolution, n.:
  In politics, an abrupt change in the form of misgovernment.
-- Ambrose Bierce


pgpvVzJ5WOSSH.pgp
Description: PGP signature


Re: hosed the jdk15 port in the pkg db

2005-04-18 Thread Louis LeBlanc
On 04/18/05 11:47 AM, Louis LeBlanc sat at the `puter and typed:
> Hey fellow FreeBSD users.
> 
> I've just returned from a week off, and must have left my brain in
> Orlando, because I can't for the life of me figure out how to fix this
> problem.
> 
> Upon my return, I upgraded my ports tree, and noticed that portaudit
> had several new packages listed with security issues.  Including
> jdk1.5 and portupgrade.
> 
> Well, as usual, I unset JAVA_HOME and ran the portupgrade on jdk and
> several other packages listed.  As always, I used the -RN flags to
> make sure any dependencies were upgraded as well.  I saved the
> majority of packages to upgrade a little at a time.
> 
> They all went off without a hitch, except for the jdk15 port.  The
> portupgrade port upgraded first, but I don't imagine the new tool is
> the one used in the subsequent upgrades.  Normally, I upgrade
> portupgrade first on its own, but this time I didn't.
> 
> Now, I have several stale dependencies for the jdk15 port.  The jdk
> itself is there, but it's not registered.  I tried to force the
> upgrade (portupgrade -fN) but it fails saying that
> /usr/local/jdk1.5.0/bin/java is already registered - but not the
> package.  I then tried pkg_info -W /usr/local/jdk1.5.0/bin/java, but
> it comes back with no output.  pkg_which simply returns a '?'.
> 
> pkgdb -u doesn't seem to do anything.
> 
> So I've somehow bonked something quite thoroughly.  Any suggestions on
> how best to fix this - preferably without deleting all or most of the
> packages I have installed?


It turns out this wasn't a problem in the pkgdb at all.  There was
some kind of problem unregistering the java vm during the uninstall of
the old jdk15 package.  I finally realized that the output from the
install was referring to a java vm registration, not a package
registration:

registervm: error: JavaVM "/usr/local/jdk1.5.0/bin/java" is already registered

When I realized this, I ran
# unregistervm /usr/local/jdk1.5.0/bin/java
then `make install` from /usr/ports/java/jdk15/ and everything worked.

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Outside of a dog, a book is a man's best friend.  Inside a dog it's too
dark to read.
-- Groucho Marx


pgph6N0FAGsYt.pgp
Description: PGP signature


hosed the jdk15 port in the pkg db

2005-04-18 Thread Louis LeBlanc
Hey fellow FreeBSD users.

I've just returned from a week off, and must have left my brain in
Orlando, because I can't for the life of me figure out how to fix this
problem.

Upon my return, I upgraded my ports tree, and noticed that portaudit
had several new packages listed with security issues.  Including
jdk1.5 and portupgrade.

Well, as usual, I unset JAVA_HOME and ran the portupgrade on jdk and
several other packages listed.  As always, I used the -RN flags to
make sure any dependencies were upgraded as well.  I saved the
majority of packages to upgrade a little at a time.

They all went off without a hitch, except for the jdk15 port.  The
portupgrade port upgraded first, but I don't imagine the new tool is
the one used in the subsequent upgrades.  Normally, I upgrade
portupgrade first on its own, but this time I didn't.

Now, I have several stale dependencies for the jdk15 port.  The jdk
itself is there, but it's not registered.  I tried to force the
upgrade (portupgrade -fN) but it fails saying that
/usr/local/jdk1.5.0/bin/java is already registered - but not the
package.  I then tried pkg_info -W /usr/local/jdk1.5.0/bin/java, but
it comes back with no output.  pkg_which simply returns a '?'.

pkgdb -u doesn't seem to do anything.

So I've somehow bonked something quite thoroughly.  Any suggestions on
how best to fix this - preferably without deleting all or most of the
packages I have installed?

TIA

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Bunker's Admonition:
  You cannot buy beer; you can only rent it.


pgpTpLy1YCZsJ.pgp
Description: PGP signature


xmodmap and juggling secondary pointer buttons

2005-03-28 Thread Louis LeBlanc
I'm confused.

xmodmap does not seem to be able to rearrange secondary pointer device
buttons in any way.

I have two pointer devices (as implied above) that work fine, so long
as I keep the secondary configured to use only the basic 3 buttons and
wheel.

Both devices have two additional buttons, but they (all) behave
strangely unless I use the following line in .xsession:

xmodmap -e "pointer = 1 2 3 6 7 4 5"

This changes the button reporting in xev for the core pointer device,
but not the secondary pointer.

Without that, the wheel acts as a forward/back history click in my
browser, and the extra buttons act like the scroll up/down should.
This makes the extra buttons behave as a history forward/back, and the
wheel behave as it's expected to.

I've tried changing the ZAxisMapping settings, but this doesn't seem
to make a difference.

I've also tried a number of different configs and ZAxisMapping
settings, and I've narrowed it down to the CorePointer/SendCoreEvents
options.

My pointer buttons report as follows:
$ xmodmap -pp
There are 7 pointer buttons defined.

PhysicalButton
 Button  Code
1  1
2  2
3  3
4  6
5  7
6  4
7  5

This is accurate for the primary pointer, but not the secondary.

If I configure the secondary to use ZAxisMapping of "4 5" the wheel
works as expected and the extra buttons don't report at all.  If I use
"6 7", the extra buttons work like the wheel scrolling is expected,
and the wheel scroll works like the extra buttons are expected (and do
in the primary pointer.

It's minor at this point, but I'm still curious; does anyone know why
this happens, and if there's a workaround to get the secondary pointer
buttons rearranged?

TIA

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Statistics means never having to say you're certain.


pgpeTQBaozXPv.pgp
Description: PGP signature


Re: Wireless Keyboard/Mouse setup

2005-03-25 Thread Louis LeBlanc
Ok, I'm responding to my own message - and thanks go out to Robert
Huff for his suggestions after my original post.  They set me in the
right direction, but weren't quite as helpful as I'd hoped.

I've gotten this problem solved well within my threshold, mostly
through a little digging and just plain stubbornness.

The goal was to get my  M$ Wireless Optical Desktop Pro working in
conjunction with my M$ Optical Trackball.  I know, that's a lot of M$
for a FreeBSD dude.  To that I say, their software may suck, but their
hardware is really good.

Anyway, here's what I've discovered while trying to get it set up on
FreeBSD 5.3 RELEASE-p3:

You MUST use the PS/2 adaptor that comes with it, and plug both in.
The PS/2 plug goes into the keyboard port, the USB plug goes into the
adaptor, which then goes into the PS/2 Mouse port.  You can get the
keyboard working with just the USB port plugged, but not the mouse,
and you won't get any of the "special" keys - audio in my case.

My mouse has the regular buttons, with the wheel, plus a couple tiny
thumb buttons, and the left/right "sway" controls on the wheel.  I
would have liked to get these working, but I really wanted at least the
three buttons and the wheel scroller working (5 buttons with Z dir).

Now, my trackball has 5 buttons (including the wheel button) plus the
scrolling, so that was set up as a 7 button mouse.  I had to play a
couple games with the order of the buttons to get it working right
though, because the wheel scrolling is ALWAYS the last two buttons, so
that would mean the scrolling was set up as buttons 6 and 7 on the
trackball, and 4 and 5 on the mouse.  Needless to say this will cause
trouble.  The following line in my .xsession file fixed that though:

xmodmap -e "pointer = 1 2 3 6 7 4 5"

Now that I think of it, this may be part of the problem getting the
little thumb buttons working, so I figured I'd try removing that.
More to say I covered all the bases than anything else.

No good.  I don't know why.  I suddenly get reads for buttons 1
through 7, and they did match between the trackball and the mouse.
Still, it didn't work, even with the same ZAxisMapping configs.
Go figure.

Anyway, the xmodmap line stays.  And here's my pointer configs:

Section "InputDevice"
Identifier  "ThumbBall"
Driver  "mouse"
Option  "Protocol"  "Auto"
Option  "Device""/dev/ums0"
Option  "Resolution""1000"
Option  "Buttons"   "7"
Option  "ZAxisMapping"  "6 7"
EndSection

Section "InputDevice"
Identifier  "Mouse0"
Driver  "mouse"
Option  "Device""/dev/psm0"
Option  "Protocol"  "auto"
Option  "ZAxisMapping"  "4 5"
Option  "Buttons"   "7"
# Option "ZAxisMapping"  "6 7" # Not sure why this won't work
Option  "Protocol"  "Auto"
EndSection

When I tried the ZAxisMapping setting of "6 7" for Mouse0, it quit
working right.  I don't know why.

You can tell which is which.

Now I have my trackball working with it's little side buttons acting
the Forward and Back quickies in Firefox.  That's the only place I've
gotten them doing anything useful anyway, so I don't care that much.

My mouse has full functionality of its wheel and 3 buttons, and my
keyboard does what I want it to.  I haven't configured all the buttons
yet, but I got my quick desktop changers, screen lock, mail (mutt),
browser (Firefox) and messenger (Gaim) hotkeys working fine.


Here's my keyboard config:

Section "InputDevice"
Identifier  "Keyboard0"
Driver  "keyboard"
Option "AutoRepeat" "500 30"
Option "XkbOptions" "ctrl:nocaps"
Option "XkbRules"   "xorg"
Option "XkbModel"   "microsoftmult"
    Option "XkbLayout"  "us"
EndSection


And to get the pointers playing nicely, I have the following in my
ServerLayout section:
InputDevice "ThumbBall" "CorePointer"
InputDevice "Mouse0" "SendCoreEvents"

Now, remember that this mouse has a tilt wheel as well.  I figure
that's two more button signals.  If I ever decide I don't use the
trackball enough, I might try just removing it and hunt down the full
functionality for that mouse.  For now though, this is Good Enough for
me.

Hope this helps someone.

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

question = ( to ) ? be : ! be;
-- Wm. Shakespeare


pgpEmf11rAgrO.pgp
Description: PGP signature


Re: USB 2.0 wireless mouse

2005-03-24 Thread Louis LeBlanc
On 03/24/05 12:36 PM, Bomgardner,Jon  sat at the `puter and typed:
> 
> > -Original Message-
> > From: Louis LeBlanc [mailto:[EMAIL PROTECTED] 
> > Sent: Thursday, March 24, 2005 12:31 PM
> > To: freebsd-questions@freebsd.org
> > Subject: Re: USB 2.0 wireless mouse
> > 
> > 
> > What is the mouse you're using?  Was this part of a wireless desktop
> > (keyboard and mouse)?
> > 
> 
> It's a Targus model PAWM004 optical wireless mouse and it is not part of
> a desktop set. I should also mention that I've recompiled the kernel to
> add USB 2.0 support (ehci driver) and am relatively new to FreeBSD. I've
> managed to get most glitches out except this one and my sound card (I'm
> using a laptop and things are kinda sketchy).
> 
> Thanks,
> Jon Bomgardner

Well, I'm jealous that you've got USB 2.0 compiled without getting a
kernel panic (mine went awol when I added ehci).

Unfortunately I don't know if I can be much help.  At least not
directly.  Perhaps these URLs will get you closer to the mark:

https://www.redhat.com/archives/fedora-list/2005-February/msg05000.html
http://www.linuxcompatible.org/thread401-1.html

Good luck.

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

It usually takes more than three weeks to prepare a good impromptu speech.
-- Mark Twain
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: USB 2.0 wireless mouse

2005-03-24 Thread Louis LeBlanc
What is the mouse you're using?  Was this part of a wireless desktop
(keyboard and mouse)?

Lou
On 03/24/05 12:21 PM, Bomgardner,Jon  sat at the `puter and typed:
> Hello all!
> 
> Can anyone shed some light on why FreeBSD 5.3-release would identify my
> USB 2.0 wireless mouse as a wireless keyboard and how I might begin to
> solve this problem? When I plug it in I get:
> 
> Ukbd0: wireless inc tw wireless usb device, rev 1.10/10.01, addr 2,
> iclass 3/1
> Kbd1 at ukbd0
> Uhid0: wireless inc tw product 0x3801, rev. 1.10/10.01, addr 2, iclass
> 3/1
> 
> When I plug this in it completely disables my keyboard and I am unable
> to type.
> 
> Thought? Suggestions?
> 
> Jon Bomgardner
> 
> 
> 
> ==
> This communication, together with any attachments hereto or links contained 
> herein, is for the sole use of the intended recipient(s) and may contain 
> information that is confidential or legally protected. If you are not the 
> intended recipient, you are hereby notified that any review, disclosure, 
> copying, dissemination, distribution or use of this communication is STRICTLY 
> PROHIBITED.  If you have received this communication in error, please notify 
> the sender immediately by return e-mail message and delete the original and 
> all copies of the communication, along with any attachments hereto or links 
> herein, from your system.
> 
> ==
> The St. Paul Travelers e-mail system made this annotation on 03/24/05, 
> 13:23:24.
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 

-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Federal grants are offered for... research into the recreation
potential of interplanetary space travel for the culturally disadvantaged.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Wireless Keyboard/Mouse setup

2005-03-23 Thread Louis LeBlanc
Hey folks.

I'm back with an Xorg config question - but in this case, it does
apply specifically to FreeBSD.

I have one of those new wireless keyboards - you all know that little
hardware company in Redmond that thinks it can write software too?

Well, this is the "Microsoft Wireless Optical Desktop" (Pro).  And the
keyboard works great (mostly), but I can't seem to get the mouse
working.  I am running FreeBSD 5.3 RELEASE-p3 and Xorg 6.8.2.

I have tried all the configs recommended by
/usr/X11R6/lib/X11/doc/README.mouse, which mentions this mouse
specifically (the IntelliMouse Explorer).

What that doc says, is:
To use this mouse as the PS/2 device and the OS supports PS/2 mouse
initialization:

  Option"Protocol" "ExplorerPS/2"

But that doesn't work, so I assume PS/2 initialization is not supported . . .

It also says:
To use this mouse as the USB device and the OS supports the generic
HID protocol:

  Option"Protocol" "usb"

To use this mouse as the USB device and the OS supports automatic
mouse detection:

  Option"Protocol" "Auto"

Now, I am pretty sure - but I could be wrong - that FreeBSD DOES
support automatic mouse detection, but I don't know if it supports the
HID protocol.  Either way, neither option works.

The mouse in question is pretty reliably routed to /dev/ums1 and is
detected correctly in /var/log/messages:
Mar 23 19:24:48 keyslapper kernel: ums1: Microsoft Microsoft Wireless Optical 
DesktopĀ® 1.00, rev 2.00/73.73, addr 3, iclass 3/1
Mar 23 19:24:48 keyslapper kernel: ums1: 5 buttons

I have turned off the automatic moused spawn by usbd, because I also
have a trackball that is used from /dev/usm0 - and it works perfectly.

This is the current mouse config from /etc/X11R6/xorg.conf:
Section "InputDevice"
Identifier  "Mouse"
Driver  "mouse"
# Option  "Protocol" "Auto"
Option  "Protocol" "usb"
Option  "Device" "/dev/ums1"
Option  "Buttons"  "7"
Option  "ZAxisMapping" "6 7"
EndSection

I have tried Auto and usb as the protocol, neither work.  This is the
mouse with the wheel that is also supposed to shift left or right for
whatever reason and the two extra small thumb buttons on the left, but
I'll be happy with getting just the regular 3 buttons working.

Google has turned up no detail on this keyboard/mouse combo and Xorg
configuration.

Anyone have any idea?

If you have this working, I'd be grateful for a mouse config section,
and if you are able to get all the "special" keys working, I'd be
interested in what you did to get them recognized - xev doesn't seem
to get signals from them.

TIA
Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Writing is turning one's worst moments into money.
-- J.P. Donleavy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: USB Mouse issues

2005-02-28 Thread Louis LeBlanc
On 02/28/05 11:02 PM, Colin Alston sat at the `puter and typed:
> Louis LeBlanc wrote:
> 
> >What really confused me was that I did not have moused enabled.  It
> >took quite a while to even realize that it was running.
> >
> >  
> >
> Hmmm, possibly then when I disabled moused in rc.conf it fixed it? I was 
> in too much of a tiss trying random things all at once.

Don't think you're the first one to do that :)

The fact I had never even enabled moused is exactly the reason I had
such a hard time finding it.  It just never occurred to me that usbd
was starting moused up behind my back.  Eventually, I realized this
was happening, killed moused and it worked.  Problem is the next time
I plugged back in, usbd would start moused again.  I had to comment
the mouse section out of /etc/usbd.conf and restart usbd
(/etc/rc.d/usbd restart) to get it to leave the pointers alone.

What I kept forgetting is that usbd would be restarting moused.  You
have to reconfigure usbd and restart it.  Then make sure moused isn't
running.  Then your mouse should be there at /def/ums0.  Your
xorg.conf mouse section will have to be configured to that device.

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Gray's Law of Programming:
  `n+1' trivial tasks are expected to be accomplished in the same
  time as `n' tasks.


pgpx88wI5GGAo.pgp
Description: PGP signature


Re: USB Mouse issues

2005-02-28 Thread Louis LeBlanc
On 02/28/05 10:24 PM, Colin Alston sat at the `puter and typed:
> Hi
> 
> I recently had some fun today on FreeBSD 5.3
> 
> Feb 28 19:57:24 jupiter kernel: device_attach: ums0 attach returned 6
> Feb 28 19:57:24 jupiter kernel: ums0: at uhub0 port 1 (addr 2) disconnected
> Feb 28 19:57:25 jupiter kernel: uhid0: Microsoft product 0x0040, rev 
> 1.10/3.00,
> addr 2, iclass 3/1
> Feb 28 19:57:25 jupiter kernel: uhid0: no report descriptor
> Feb 28 19:57:25 jupiter kernel: device_attach: uhid0 attach returned 6
> Feb 28 19:57:25 jupiter kernel: uhid0: at uhub0 port 1 (addr 2) disconnected
> Feb 28 19:57:26 jupiter kernel: uhid0: Microsoft product 0x0040, rev 
> 1.10/3.00,
> 
> What its supposed to look like is - achived after some rebooting, 
> swearing and praying to the USB gods.
> Feb 28 19:58:44 jupiter kernel: ums0: Microsoft Microsoft 3-Button Mouse 
> with IntelliEye(TM), rev 1.10/3.00, addr 2, iclass 3/1
> 
> Not really sure whats going on, very likely my dodgey VIA USB chipset as 
> this happend on Debian as well.

I've had some interesting stuff happen with usb pointer devices
recently too.  I found that when I plug them in at runtime, they seem
to get swept up by moused via the usb daemon, and wisked away to
/dev/sysmouse.

What really confused me was that I did not have moused enabled.  It
took quite a while to even realize that it was running.

Naturally, when you want to hook up a mouse and a trackball (the
trackball doesn't hurt my hand - I only use the mouse for fine pointer
work, like playing NWN), this gets tricky to have them both pulled out
from under you to a place you can't really get them without rebooting
X.  When I rebooted, I got pretty much the same thing you did -
everything worked.

What I finally did was find the device "Mouse" section in
/etc/usbd.conf and comment it all out.  This way, the pointers stay
accessible at the ums* device, even when plugged in at runtime - the
usb daemon leaves them alone for apps (like X) to access there.

HTH

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Kinkler's Second Law:
  All the easy problems have been solved.


pgppH80TU0EWg.pgp
Description: PGP signature


Re: Portupgrading - portauditing

2005-02-26 Thread Louis LeBlanc
On 02/26/05 03:25 PM, epilogue sat at the `puter and typed:
> 
> > I finally gave up and deleted the db at
> > /var/db/portaudit/auditfile.tbz and then did the upgrade.
> > 
> > It still flags firefox as a vulnerability, even though the problem it
> > references is supposed to be explicitly fixed in the version I have
> > installed (window injection vulnerability).
> > 
> > Of course, you can the method described by another poster to get that
> > list, but I haven't been able to get portaudit to actually let me
> > upgrade.  Even the portupgrade -f flag won't work and simply building
> > the port manually is also disabled for flagged ports.
> > 
> > Portaudit seems more a hard lockdown than a warning system.  I think
> > either I am not understanding how to manage it yet, or it has a couple
> > issues that have not been hammered out yet.  Manpages don't have much
> > detail about this issue.  I haven't had a chance to check on the
> > existence of a bug report yet, because I want to hunt down all the
> > docs I can first.
> 
> no need to fiddle with portaudit, as these can be fed directly to make
> or to portupgrade (with the -m flag).
> 
> building ports despite vulnerabilities:
> -DDISABLE_VULNERABILITIES
> 
> building ports despite ignore:
> -DNO_IGNORE
> 
> to my knowledge, these are not yet documented anywhere but here in the
> mailing lists.  i believe that the doc project is already looking to
> integrate this info into the ports manpage (or somewhere else equally
> sensible).
> 
> on the off chance that they lost sight of this target, i'm adding them
> to cc.   (:  thank you docs team  :)
> 
> hth.


Definitely.  Thanks for the primer.

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Too much is just enough.
-- Mark Twain, on whiskey


pgpWtqxNYuGcO.pgp
Description: PGP signature


Re: Portupgrading - portauditing

2005-02-26 Thread Louis LeBlanc
I wouldn't bother trying it like straight out if you're trying to get
the Firefox update.  It still lists firefox as a vulnerability for
some reason.  I had 1.7.5_1,2, which is the version it listed, but it
wouldn't let me upgrade to 1.0.1,1.  I even tried listing the
vulnerability listed in portaudit.conf, but no change.

I finally gave up and deleted the db at
/var/db/portaudit/auditfile.tbz and then did the upgrade.

It still flags firefox as a vulnerability, even though the problem it
references is supposed to be explicitly fixed in the version I have
installed (window injection vulnerability).

Of course, you can the method described by another poster to get that
list, but I haven't been able to get portaudit to actually let me
upgrade.  Even the portupgrade -f flag won't work and simply building
the port manually is also disabled for flagged ports.

Portaudit seems more a hard lockdown than a warning system.  I think
either I am not understanding how to manage it yet, or it has a couple
issues that have not been hammered out yet.  Manpages don't have much
detail about this issue.  I haven't had a chance to check on the
existence of a bug report yet, because I want to hunt down all the
docs I can first.

Not that I don't think it's a great security tool! :)

Lou

On 02/26/05 04:42 PM, George Katsanos sat at the `puter and typed:
> 
> 
> Hello,
> 
> Your team is ALWAYS very helpful . It's the best support i've ever dealt with.
> 
> Question : How do i portupgrade , just the pkgs/ports that portaudit -a sais 
> have vulnerabilities,and not the whole thing?
> 
> Thank you
> 
> 
> G.K.
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 

-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Too much is just enough.
-- Mark Twain, on whiskey


pgpmvRVKWeFuc.pgp
Description: PGP signature


Re: filtering html tags from email

2005-02-22 Thread Louis LeBlanc
On 02/22/05 11:16 PM, Mike Hauber sat at the `puter and typed:
> Without going through the hassle of setting up proxy servers, 
> isn't there a way that one can filter out html tags from a 
> message (say, pipe the email through the filter from kmail for 
> instance?)
> 
> Perhaps I'm looking too hard for it, but I didn't see anything in 
> the ports tree except for /mail/nohtml.  I tried to pipe a html 
> message through nohtml.py from kmail, but doesn't seem to work 
> (although I'm getting no errors from kmail's filter log).
> 
> Any ideas?  Thx.

Mutt saves to a temp file then calls the following command:
lynx -localhost -dump %s
where '%s' is the temporary file you saved it to.

You could also just pipe it to the following:
lynx -localhost -dump -stdin

the -localhost argument prevents lynx from simply following links
external to your machine - helpful to avoid generating hits for
unscrupulous spammers that get paid for hits on a URL.

Just make sure lynx is installed.

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Habit is habit, and not to be flung out of the window by any man, but
coaxed down-stairs a step at a time.
-- Mark Twain, "Pudd'nhead Wilson's Calendar


pgpwHmOTn9WRn.pgp
Description: PGP signature


Re: USB key mount problem with 4.11

2005-02-22 Thread Louis LeBlanc
On 02/22/05 08:19 PM, Wouter van Rooij sat at the `puter and typed:
> What mount command do you use? run an fdisk /dev/(usb device) to see
> if it is some kind of slice   that you have to mount (ex. /dev/usb1s4)
> and if it is a msdosfs or soething else.
> Wouter van Rooij

This same key mounts fine on 5.3 with:
mount_msdos /dev/da0s1 /mnt

The error comes in trying to attach the device to /dev/da0, not when
mounting it.

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

The devil can cite Scripture for his purpose.
-- William Shakespeare, "The Merchant of Venice"


pgp39zXcjZ227.pgp
Description: PGP signature


USB key mount problem with 4.11

2005-02-22 Thread Louis LeBlanc
Strange thing.  I can't seem to mount this USB key on FreeBSD 4.11
(RELENG_4_11).

I have the scbus, da, pass, uhci, ohci, usb, and umass devices in the
kernel.  I have the same stuff on my 5.3 machine and it mounts fine
there.

Connecting the key causes the following in /var/log/messages:
  /kernel: umass0: at uhub0 port 1 (addr 2) disconnected
  /kernel: umass0: detached
  /kernel: umass0: PNY USB DISK 20X, rev 2.00/1.00, addr 2
  /kernel: (da0:umass-sim0:0:0:0): got CAM status 0x4
  /kernel: (da0:umass-sim0:0:0:0): fatal error, failed to attach to device
  /kernel: (da0:umass-sim0:0:0:0): lost device
  /kernel: (da0:umass-sim0:0:0:0): removing device entry

I know the ehci driver is supposed to provide USB 2.0 support, but I've
never gotten it to work because of kernel panics.

The hardware on this particular machine is:
  /kernel: usb0:  on uhci0
  /kernel: usb0: USB revision 1.0
  /kernel: uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
  /kernel: uhub0: 2 ports with 2 removable, self powered


Any ideas?  I don't know where to dig up the meaning of CAM status 0x4.

TIA
Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

A sine curve goes off to infinity, or at least the end of the blackboard.
-- Prof. Steiner


pgpwald78Cd4R.pgp
Description: PGP signature


Re: Need IMAP Server Selection Advice

2005-02-20 Thread Louis LeBlanc
On 02/20/05 08:07 PM, Jeff Hinrichs sat at the `puter and typed:
> > Shouldn't be much difference - except that it might actually be
> > easier.  I came from Linux (way back in the RH6.0 days) running Cyrus
> > Imapd to FreeBSD running the same.  I recently moved over to Courier
> > Imapd, which I think I like better.  Cyrus required a lot of up front
> > work and detailed tweaking, but Courier was surprisingly easy.  The
> > distribution config was pretty self explanatory with good descriptions
> > of what was needed, and the only thing I needed to do by hand is make
> > sure all the maildirs were created - which courier provides a utility
> > for.
> > 
> > 
> > I've always found that it's far easier to get software working when I
> > use the ports.  Nowadays, I never - and I mean NEVER - install
> > software any other way if there is a port I can use.  When I want a
> > package to solve a particular problem, the ports are the first second,
> > and last place I search.
> > 
> > 
>   > You might want to check your disk layout before deciding.  Cyrus will
> > store all mail in a single location, typically somewhere in /var,
> > while Courier puts it right in maildir folders in the home directory -
> > although you can tweak this if you don't want to create shell accounts
> > for every mail account.  Personally, I like Courier better.  I know
> > where my mail is, and I have a lot more flexibility in my filtration
> > and delivery.
> > 
> > Read the other responses coming.  There are other IMAP capable servers
> > in the ports, and most of them will get a nod from the list folk.
> I'd have to agree with the poster.  For a small installation Courier is 
> faster to get up and running the Cyrus.  But once you start having to 
> use it with 20-30 users, Cyrus is hands down a better deal.  Yes, it 
> does take a more grokking to get Cyrus running correctly but not having 
> shell accounts on your mailserver is a blessing.

Exactly.  I didn't make this exact point as well as I had intended.
Although, be it known that Courier *does* support mail accounts
without shell accounts.  This, of course, drifts back away from the
simplicity that makes Courier so desireable in the first place.

> As long as you have a small installation, most of the decisions are 
> fairly meaningless, i.e. mbox or maildir, which smtp server, etc.

Sorta.  My understanding is that Courier is strictly maildir, with
some MySQL options I've not really bothered looking at.  With a small
installation, this is completely unimportant though.

> I had been admin' a moderatly sized (cyrus/exim/spamassasin/clam-av) 
> setup until recently when we switched to the darkside. (Don't ask, it's 
> still to painful to think about.)(If you're still curious it had nothing 
> to do with email capabilities but with scheduling capabilities and the 
> darkside client)

I'm sorry to hear that.  I've not had any problem with the few
darkside clients connecting to my server (only 4 accounts, so not a
big deal).  Naturally, I forbid the old mickeymouse lookout trojan to
be run on any system under my purvey, so there's just Mom.  Up to
recently, she's taken my advice and left it completely alone.  Not
entirely sure what she's using it for now - an ISP mail account, I
think.  First thing I did when I found out was recommend a
subscription to Symantec's Norton AV.

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Xerox never comes up with anything original.


pgpOlRBrEvNnV.pgp
Description: PGP signature


USB drive - crypto filesystem options?

2005-02-20 Thread Louis LeBlanc
Hey folks.

I have just become the proud owner of a fancy new 1GB USB 2.0 drive;
one of those cool new gadgets no bigger than my pinky that holds 1
Billion bytes of data.  Naturally, I can't wait to play with it :)

Well, I know that USB 2.0 support is kinda sketchy, and I've already
decided it's not stable on the ICH5 USB controller that comes with the
Dell Dimension 8300.  Regardless, I have confirmed that I can get the
little gadget mounted (comes pre-formatted with an MSDos filesystem)
without the slightest hangup.  Yay me.

So, now what I want to do is see what kind of filesystem options I
have with this little gem.  Ideally, I would like to get an encrypted
filesystem that requires a password to mount it.  Of course, I've
checked the ports, but I don't know much about this area, and I don't
know if I'm even using the right search keys.  A little googling
revealed a great article at "The FreeBSD Diary"
(http://www.freebsddiary.org/encrypted-fs.php) that discusses cfs.
Sounds cool, move to the top of the list - ok, it's the only thing on
the list right now.

That's where you folks come in.  Has anyone had any experience
actually using a crypto filesystem on a USB drive?  What utilities are
available for this?  And more importantly, what have your experiences
been?

TIA
Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Ninety-Ninety Rule of Project Schedules:
  The first ninety percent of the task takes ninety percent of
  the time, and the last ten percent takes the other ninety percent.


pgp1xvUOtil6d.pgp
Description: PGP signature


  1   2   3   4   5   >