NSS ``ls''.

2003-07-20 Thread lewiz
Hi,

  I've been playing around with pam_ldap and nss_ldap on my server in an
attempt to replace NIS with something more flexible (i.e. that can have
Linux and Windows clients, distribute other data, etc.) but I keep
getting stuck.

  I can login fine (which shows that pam_ldap and nss_ldap are working),
I have passwd: ldap files, group: ldap files in my nsswitch.conf file.
However, if I do ls -ld /home the uids/gids don't get resolved to real
names:  they get left as 4001, 4002, etc.  I've read some stuff on
Google Groups about ls not being statically linked and therefore not
being able to do this.  Fine.  However, on one machines I can do ``id
lewiz'', which won't work on another (with an identical setup).  Why?
Last thing seems to be that cvsweb also doesn't recognize that I am
lewiz, it lists me as uid4001 (I notice it's a cgi-bin script, could it
be because it's using statically linked binaries to get the file
structure?)

  Thanks very much!

-lewiz.

-- 
God is not dead!  He's alive and autographing bibles at Cody's

-| msn:[EMAIL PROTECTED] | jab:[EMAIL PROTECTED] | url:http://lewiz.net |-


pgp0.pgp
Description: PGP signature


Possible Exim/FreeBSD problem: ``non-sleepablelocks held''.

2003-07-20 Thread lewiz
Hi,

  After my server died a few times (at the time I didn't write the
messages down... I wanted it back up asap) I decided to recompile the
kernel with debugging, which I have done.  It's running 5.1-RELEASE
(still devel(ish), I know) and I get the following message:

Sleeping on sw read with the following non-sleepablelocks held:
exclusive sleep mutex ifnet r = 0 (0xc03a0360) locked @ net/if.c: 1637

  I get messages related to Exim on the console (I don't know why, since
all logging for the console is disabled) and they are always followed by
these messages.  Exim seems to be running the queue.  I don't know if
this is even a problem (maybe it's normal), but I'd quite like to
understand what the messages mean.

  Thanks very much,

-lewiz.

-- 
You should never wear your best trousers when you go out to fight for
freedom and liberty.
-- Henrik Ibsen

-| msn:[EMAIL PROTECTED] | jab:[EMAIL PROTECTED] | url:http://lewiz.net |-


pgp0.pgp
Description: PGP signature


Re: Telnet?

2003-07-19 Thread lewiz
On Sat, Jul 19, 2003 at 05:46:17PM +, Axl Rose wrote:
 does anybody know what u need to telnet to a freebsd .  i have small 
 network and can ping through all but no telnet or ftp ?

As the last poster said, SSH is a better alternative but if you really
must use telnet:

  Look at /etc/inetd.conf and uncomment the telnet entries.  You must
then ensure that inetd starts at system bootup (man rc.conf).  Next
reboot (or after you manually start inetd) you will be able to telnet
in.

  Best wishes,

-lewiz.

-- 
Misery no longer loves company.  Nowadays it insists on it.
-- Russell Baker

-| msn:[EMAIL PROTECTED] | jab:[EMAIL PROTECTED] | url:http://lewiz.net |-


pgp0.pgp
Description: PGP signature


X screen.

2003-07-19 Thread lewiz
Hi,

  Just a quick question:  is it possible to ``screen'' an X application
the same way I can a console application?  I have heard people using VNC
for something similar (I think).  Any suggestions?  This would also be
really great if I could then ``resume'' it on a different X box too ;)

  Thanks very much,

-lewiz.

-- 
Baker's First Law of Federal Geometry:
A block grant is a solid mass of money surrounded on all sides
by governors.

-| msn:[EMAIL PROTECTED] | jab:[EMAIL PROTECTED] | url:http://lewiz.net |-


pgp0.pgp
Description: PGP signature


Re: /var/run/ pid files

2003-07-16 Thread lewiz
On Wed, Jul 16, 2003 at 12:40:52AM -0400, Ronny Hippler wrote:
   What controls the creation of the pid files in the /var/run/ directory? 

afaik, sometimes you have to create them yourself.  Some programmes
don't have an option to create one.  This can be done easily using a
combination of ps, grep and awk ;)  There's probably a more professional
way of doing it, but I don't know (I'd be interested to hear though ;)

  Best wishes,

-lewiz.

-- 
I didn't like the play, but I saw it under adverse conditions.  The
curtain was up.

-| msn:[EMAIL PROTECTED] | jab:[EMAIL PROTECTED] | url:http://lewiz.net |-


pgp0.pgp
Description: PGP signature


Re: BitTorrent for Freebsd??

2003-07-16 Thread lewiz
On Wed, Jul 16, 2003 at 01:30:48AM -0400, Dragoncrest wrote:
   the Ports cause if it is, I certainly haven't found it yet.  I'd like to 

cd /usr/ports
make search key=bittorrent will help you ;)

  Best wishes,

-lewiz.

-- 
An effective way to deal with predators is to taste terrible.

-| msn:[EMAIL PROTECTED] | jab:[EMAIL PROTECTED] | url:http://lewiz.net |-


pgp0.pgp
Description: PGP signature


Re: dialup + virtual users

2003-07-15 Thread lewiz
On Tue, Jul 15, 2003 at 10:43:16AM +0400, VirVit wrote:
 Hello! What way should I choose to setup dialup with virtual users? I need
 users dialuped to my server so they can see only some services (dns, http,
 ftp) and that's all. No shell, no login, no smb, etc...

Well, I'd take a look at RADIUS or LDAP.  I'm not sure how they'd work
but they both provide a way of creating ``virtual'' users (but then,
what is a virtual user anyway if they can login?)

  Hope that's some help,

-lewiz.

-- 
Celebrate Hannibal Day this year.  Take an elephant to lunch.

-| msn:[EMAIL PROTECTED] | jab:[EMAIL PROTECTED] | url:http://lewiz.net |-


pgp0.pgp
Description: PGP signature


Re: Linux Debian Base?

2003-07-15 Thread lewiz
On Tue, Jul 15, 2003 at 11:29:56AM -0400, Person, Roderick wrote:
 I see that there is a Debian Linux Base in the ports.
 
 I can't seem to find any details on the Debian base and the differences
 between the current RH7 and RH6. I was wondering what are the precieved
 benefits if any are. 

I don't know specifically but I've noticed there has been some
discussion in the Ports mailing list.  Maybe you could have a look at
Google Groups :)

  Best wishes,

-lewiz.

-- 

-| msn:[EMAIL PROTECTED] | jab:[EMAIL PROTECTED] | url:http://lewiz.net |-


pgp0.pgp
Description: PGP signature


Re: GNOME/CUPS printing.

2003-07-15 Thread lewiz
On Mon, 2003-07-14 at 19:50, Glenn Johnson wrote:
  If you do have it installed then you may want to uninstall it then
  reinstall a make world might have wiped it out.
 
 The cups-lpr port will install its binaries in /usr/local and is
 _not_ wiped out by a 'make world'.  You just have to remember to use
 /usr/local/bin/lpr rather than /usr/bin/lpr.  Setting the PATH so that
 /usr/local/bin comes before /usr/bin is first is an easy way to solve
 the problem.

Okay, sorry I'm so late replying here (I've been quite busy :) but I
think this may be the issue I'm having.  I've been reading through the
libgnomeprint files in /usr/X11R6/share/gnome/libgnomeprint but I don't
think I should be editing those.  Is there any way I can set a default
location to lpr (other than with symlinks or by changing the PATH), much
like, for instance, the /etc/mail/mailer.conf file works?  Thanks very
much,

  Best wishes,

-lewiz.

-- 

-| msn:[EMAIL PROTECTED] | jab:[EMAIL PROTECTED] | url:http://lewiz.net |-


signature.asc
Description: This is a digitally signed message part


GNOME/CUPS printing.

2003-07-14 Thread lewiz
Hi,

  I know this is slightly off-topic (I've tried asking in #GNOME on
FreeNode) but does anybody here use GNOME and CUPS for printing?  I've
got my printers setup nicely from CUPS (I can print test pages, etc.)
but when I try and print from GNOME they are not listed.  Some searching
on Google Groups shows that this integration was planned, but I've been
unable to determine if it's been done (an early post said it would
probably be around for GNOME2.2) and how to use it.

  Any help on getting GNOME to print to local CUPS printers would be
great.  Thanks very much,

-lewiz.

-- 

-| msn:[EMAIL PROTECTED] | jab:[EMAIL PROTECTED] | url:http://lewiz.net |-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Question on /etc/make.conf for upgrade to 4.8R

2003-07-13 Thread lewiz
On Sun, Jul 13, 2003 at 02:52:41AM -0700, Lin Jianfong wrote:
 I'm wondering about this group of options :
 
 # To avoid building various parts of the base system:
 #NO_CVS=  true  # do not build CVS
 #NO_BIND= true  # do not build BIND
 ...
 #NOSHARE= true  # do not go into the share subdir
 #NOUUCP=  true  # do not build uucp related programs
 
 Aren't some of the parts of the base system supposed to be upgraded along, 
 such as tcsh, bind, cvs, lpr, etc or are they not really part of the base 
 system ? I'm planning to upgrade a 4.7 box to 4.8.

Yes.  As I understand it, however, you can still not build some of them,
which would be useful if you're not using that service.  For example:
many people won't be using BIND on their box.  Some people use bash, or
korn shells and therefore csh/tcsh are redundant.

  Hope that helps,

-lewiz.

-- 
There are two ways of disliking poetry; one way is to dislike it, the
other is to read Pope.
-- Oscar Wilde

-| msn:[EMAIL PROTECTED] | jab:[EMAIL PROTECTED] | url:http://lewiz.net |-


pgp0.pgp
Description: PGP signature


Re: Hi FreeBSD forum's Champs

2003-07-13 Thread lewiz
On Sun, Jul 13, 2003 at 05:56:31PM +0530, [EMAIL PROTECTED] wrote:
 xwd -window  image.xwd
 
 I also want to convert this default format (xwd) to X window bitmap, X
 window Pixmap.

I always use The GIMP for my image needs (graphics/gimp or
graphics/gimp-devel).  However, for regular conversions you could use
ImageMagick (graphics/ImageMagick) -- you'll have to do some extensive
man page reading though, it's a bit more complicated than click-n-point.

  Best wishes,

-lewiz.

-- 
Expense Accounts, n.:
Corporate food stamps.

-| msn:[EMAIL PROTECTED] | jab:[EMAIL PROTECTED] | url:http://lewiz.net |-


pgp0.pgp
Description: PGP signature


Re: How to question: create mp3 from music video mpeg file?

2003-07-13 Thread lewiz
On Sun, Jul 13, 2003 at 10:44:41AM -0400, Michael E. Mercer wrote:
 I want to extract the audio from a few music videos (mpg,avi) I have and
 create mp3's from them. However I just can seem to find out how to do

Well, a quick look at the mplayer man page found:

-oac codec name
 Encode  with the given audio codec.  Use -ovc help to get a list of
available
 codecs.  (no default set)

 EXAMPLE:
  -oac copy   no encoding, just streamcopy
  -oac pcmencode to uncompressed PCM
  -oac mp3lameencode to MP3 (using Lame)

  That sounds like what you want.  You can find mplayer in
multimedia/mplayer in the ports.

  Best wishes,

-lewiz.

-- 
We can defeat gravity.  The problem is the paperwork involved.

-| msn:[EMAIL PROTECTED] | jab:[EMAIL PROTECTED] | url:http://lewiz.net |-


pgp0.pgp
Description: PGP signature


Re: printer

2003-07-12 Thread lewiz
On Sat, Jul 12, 2003 at 05:58:32PM +0300, ZaiD Dashti wrote:
 how to setup printer HP ?
 (Note: my printer on the another computer in my network (LAN))

I like to use apsfilter (print/apsfilter) for all my printing needs.
There are other solutions available (you might even look at CUPS
(print/cups)) but I find apsfilter suits my needs.  It can print to
both remote Windows hosts and remote JetDirect-style hosts (which would
suit your needs, I think).

  Hope that's some help,

-lewiz.

-- 
Kiss me twice.  I'm schizophrenic.

-| msn:[EMAIL PROTECTED] | jab:[EMAIL PROTECTED] | url:http://lewiz.net |-


pgp0.pgp
Description: PGP signature


Re: E-Mail Proxy?

2003-07-12 Thread lewiz
On Sat, Jul 12, 2003 at 11:49:54AM -0400, Justin P. Michel wrote:
 Is this possible/feasible?  And, which ports should I be looking at?  Even better, 
 if there is a web page with setup info from someone that has already done this, 
 please forward me the URL.

Absolutely, I do this using regular MTA/MDA software.  mail/fetchmail is
the obvious -- this retrieves mail from remote POP/IMAP (lots of
variants) servers and can do many things from there.  I have it reinject
the messages to a local SMTP server, which is considered to treat the
domains as local (this also means that somebody sending mail to a local
recipient does not have the mail travel over the Internet in order to be
received).  Exim or Postfix are good choices, although stock Sendmail
will also do the job.  One note: you must have a local account for each
and every user (I assume you already have this if you are using SAMBA).
You could also use LDAP (with Exim and Postfix, at any rate) instead.

The next issue is the POP/IMAP servers: I use Courier-IMAP (which
provides both POP and IMAP, with optional SSL) -- this is much better
than WU IMAPd -- it supports both Maildir and mbox, as well as having a
smaller footprint.  It is also more configurable (again, LDAP is
supported).

  Hope that's some help,

-lewiz.

P.S.
  A final note: if the remote MUA (e.g. Outlook) is not configured to
leave mail on server you will not have the backup of mail that you
desire.  This can be configured, but a better solution would be to use
IMAP, where all mail is left on server.

-- 
Overload -- core meltdown sequence initiated.

-| msn:[EMAIL PROTECTED] | jab:[EMAIL PROTECTED] | url:http://lewiz.net |-


pgp0.pgp
Description: PGP signature


Re: IMAP stealing mail??

2003-07-12 Thread lewiz
On Sat, Jul 12, 2003 at 03:33:40PM -0500, David Loszewski wrote:
 squirrelmail on my webserver.  Once I grab my mail using one of these
 webmail clients it's as if it's actually popping the mail from the
 mailserver instead of just imapping it so when i go to my desktop mail
 client it says I have no mail yet unless I have not used the webmail

Just a guess but are you sure by ``no mail'' it doesn't mean ``no new
mail''?  If you read new mail via WWW it would change the flags and
indicate the mail had been read.

  Best wishes,

-lewiz.

-- 
Keep grandma off the streets -- legalize bingo.

-| msn:[EMAIL PROTECTED] | jab:[EMAIL PROTECTED] | url:http://lewiz.net |-


pgp0.pgp
Description: PGP signature


Re: Spam and ad/popup blockers: Recommendations please

2003-07-10 Thread lewiz
On Thu, Jul 10, 2003 at 12:05:43PM -0400, Doug Lee wrote:
 I seek a good system (or systems) for filtering out mail spam, email
 viruses, and web pop-up ads and such at our FreeBSD Internet gateway.

For adverts I run Squid with adzap (in the ports).  I find it pretty
good, although I find the pop-up support a little less advanced.

The email situation is different (since not everybody runs the same MTA
(although /almost/ all people running proxies I know do use squid)) and
depends heavily on your MTA.  I have tried quite a few (although for
very low volume) and am now settled on Exim (althogh Postfix would suit
my needs just as well).  Whatever you do (imho) do /not/ use Courier,
because it is slightly pedantic about standards.

I run Exim with Julian Page's MailScanner (http://mailscanner.info/),
which I find suits my purposes nicely.  It supports many virus scanners
and uses SpamAssassin for spam checks (SpamAssassin also supports
Bayesian filtering).  You can use more than one virus scanner, too.

If you're using Qmail, there is the excellent Qmail-scanner, which does
a similar job.  MailScanner will also work with Qmail, though, and I
like the way it works.  Postfix and Sendmail are also supported.

Another cross-MTA scanner is amavis (incld. amavis, amavisd and
amavisd-new -- who knows which to pick?).

SpamAssassian can either add headers to ``considered spam mails'' and
you can filter them on a per-user basis with procmail (or even allow the
user to do it from the MUA -- possibly changing the Subject instead of
the header), or just delete the mail.

 mailscanner

Weee!

 Spam Assassin

Used by MailScanner.

 Vipul's Razor (the razor-agents port)

See above.

 2.  Minimal upkeep time required from admin.

Since setup I've not had to look at MailScanner (or adzap) again.

 3.  Simplicity of use by user (users can mail spam to an address I set
 up so it's flagged as spam, but I don't want users to have to know a
 lot of tech stuff like procmail just to filter spam).

You could easily do something yourself to create a procmailrc, or just
provide a stock one, and allow more advanced users to modify it, if they
wish.

 Virus protection at the gateway is a lower priority since we protect
 individual computers, but it wouldn't hurt.

For mail it's more important to do it at the gateway, I would have
thought.  Especially where Outlook is concerned... :)

  Best wishes,

-lewiz.

-- 
Don't feed the bats tonight.

-| msn:[EMAIL PROTECTED] | jab:[EMAIL PROTECTED] | url:http://lewiz.net |-


pgp0.pgp
Description: PGP signature


Re: Spam and ad/popup blockers: Recommendations please

2003-07-10 Thread lewiz
On Thu, Jul 10, 2003 at 03:16:46PM -0400, Doug Lee wrote:
 Oops, I meant to mention I use sendmail for my MTA but sometimes
 consider switching to Postfix for ease of maintenance.

Well, MailScanner works well with Sendmail.  You run two copies (one in,
one out) -- in fact, that's how Postfix runs it too.  It sounds quite a
kludge, but I really think it's quite elegant.  A design feature is that
scanning gets more efficient as the volume of messages goes up -- many
other scanners degrade in efficiency.

  Best wishes,

-lewiz.

-- 
Man invented language to satisfy his deep need to complain.
-- Lily Tomlin

-| msn:[EMAIL PROTECTED] | jab:[EMAIL PROTECTED] | url:http://lewiz.net |-


pgp0.pgp
Description: PGP signature


Re: openldap ssh problem

2003-07-10 Thread lewiz
On Thu, Jul 10, 2003 at 06:49:33PM -0400, Monah Baki wrote:
 Am I missing anything

Yes.  You need to look at nss_ldap ;)

  Be aware that for some reason the ldap.conf file resides in /etc not
/usr/local/etc.  Also, I found that my nsswitch.conf only worked if it
was:

passwd: ldap files
group: ldap files

(i.e. not files ldap).  ymmv.

  Best wishes,

-lewiz.

-- 
A citizen of America will cross the ocean to fight for democracy, but
won't cross the street to vote in a national election.
-- Bill Vaughan

-| msn:[EMAIL PROTECTED] | jab:[EMAIL PROTECTED] | url:http://lewiz.net |-


pgp0.pgp
Description: PGP signature


Re: openldap ssh problem

2003-07-10 Thread lewiz
On Thu, Jul 10, 2003 at 04:31:45PM -0700, Bill Campbell wrote:
 On Fri, Jul 11, 2003 at 12:16:30AM +0100, lewiz wrote:
 Yes.  You need to look at nss_ldap ;)
 
 I would love to -- on 4.8 STABLE.  When I last looked at nss_ldap
 on FreeBSD, I thought it only runs on 5.x.

Ah.  Sorry, I just missed that.  In which case, as I understand it,
pam_ldap is of little use to you... I've just upgraded my server to 5.1
for that very reason.

  Sorry to confuse the issue.

-lewiz.

-- 
I can't understand why a person will take a year or two to write a
novel when he can easily buy one for a few dollars.
-- Fred Allen

-| msn:[EMAIL PROTECTED] | jab:[EMAIL PROTECTED] | url:http://lewiz.net |-


pgp0.pgp
Description: PGP signature


Re: IPSec to Windows 9x, 2k and XP

2003-07-09 Thread lewiz
On Wed, Jul 09, 2003 at 02:55:34PM -0700, Kevin Glick wrote:
 Just wondering if anybody has gotten FreeBSD's IPSec working with any
 version of Windows.  I'd love to see the config's if you've got them.

Yeah, I had it a while ago, but it was just for playing with, not for
any serious use, so sorry, I don't have the configs anymore.

 I've looked for some How-To documents, but haven't come up with much.

A quick Google for ``ipsec windows freebsd'' came up with:
http://www.wiretapped.net/~fyre/ipsec/ -- this looks rather
comprehensive, it's not the guide I followed, however.

 I'm not sure what I'd need to get it to work with 9x.  Any takers?

I'm not certain, but I don't know that it's possible with anything
pre-2000.

  Best wishes,

-lewiz.

-- 
Don't get suckered in by the comments -- they can be terribly
misleading.  Debug only code.
-- Dave Storer

-| msn:[EMAIL PROTECTED] | jab:[EMAIL PROTECTED] | url:http://lewiz.net |-


pgp0.pgp
Description: PGP signature


Re: make buildworld .. 4.5 to 4.8

2003-07-09 Thread lewiz
On Wed, Jul 09, 2003 at 04:16:12PM -0400, Jeff MacDonald wrote:
 Is it safe to do the mergemaster/makebuildworld etc. operation
 on it to bring it from 4.5 to 4.8 in one step ?

I can't vouch for having done it but technically it is absolutely
possible and I doubt you would run into any serious trouble.  If you're
really worried about upgrading between more than one minor release you
could always try incrementing, which will work for sure.  It seems a
rather silly way to do it though.

  Best wishes,

-lewiz.

-- 
Alas, I am dying beyond my means.
-- Oscar Wilde, as he sipped champagne on his deathbed

-| msn:[EMAIL PROTECTED] | jab:[EMAIL PROTECTED] | url:http://lewiz.net |-


pgp0.pgp
Description: PGP signature


Re: ATI-Radeon-9000

2003-07-09 Thread lewiz
On Wed, Jul 09, 2003 at 12:03:46PM -0700, cloper wrote:
 I have a Dell Latitude D600 Laptop with the ATI Radeon 9000 video 
 chipset, with FreeBSD-4.8 w/ XFree86-4.3, yet I still can not get X to 

I've had it working with an AIW 7200 before now.  It was just a stock
setup, very straightforward.  I don't know if there's much difference
between the 9000 and the 7200.  Have you tried using an older driver?

  Best wishes,

-lewiz.

-- 
Never count your chickens before they rip your lips off

-| msn:[EMAIL PROTECTED] | jab:[EMAIL PROTECTED] | url:http://lewiz.net |-


pgp0.pgp
Description: PGP signature


Re: Lexmark

2003-07-09 Thread lewiz
On Wed, Jul 09, 2003 at 08:33:47PM +0200, Per Nilsson wrote:
 for it, with a printer and a scanner. The name on that unit is 'Lexmark 
 x75' and you can read about it at: 

I have an X85.

 Now I was wondering if FreeBSD 4.7 or higher support that Lexmark in any 
 way, and where I can get software that works on it?!

Absolutely, I've had mine working.  I always use apsfilter for printers
(it's under print/apsfilter in the ports).  If your model is also a
scanner, you should be taking a look at SANE.  A quick Google will
return lots of info.

  Best wishes,

-lewiz.

-- 
A bird in the hand is worth what it will bring.

-| msn:[EMAIL PROTECTED] | jab:[EMAIL PROTECTED] | url:http://lewiz.net |-


pgp0.pgp
Description: PGP signature


Re: Restricting logins by terminal

2003-07-09 Thread lewiz
On Wed, Jul 09, 2003 at 01:14:06PM -0400, Charley wrote:
 I would like to restrict user login based on the terminal where the login 
 request originates.  Ideally, I want Root, and ONLY Root, to be able to log 
 in at the console.  The system is already running SSHD, so I want to be able 

That's more than possible.  Take a look at /etc/login.access and
/etc/login.conf.  In login.access a simple:

-:ALL EXCEPT root # taken from the examples near the end (which actual
use groups)

should do the trick.

 to check logins via SSH.  Root should not be allowed to log in from a remote 

That's all defined in your sshd config (by default root cannot login via
sshd).  If you're really paranoid, the second example in login.access:

-:root:ALL EXCEPT LOCAL # instead of considering root, the ``wheel''
group might be better.

 terminal and SU should be disabled for any remote terminal.  Is there 

By default, only members of the wheel group can su to root.

 something in the ports collection that I've missed that will do this?  Maybe 
 I'm just blind and haven't yet seen something like this in the manual.

Well, I don't know exactly what you want to do... but ``su'' is setuid
root, so you could unset that and use the ``sudo'' command.  Take a look
at security/sudo in the ports collection.  That'd be quite contrived
though.

  Best wishes,

-lewiz.

P.S.
  Some of my examples might not work -- I didn't test them and I'm
shocking for getting things to work first time.

-- 
Why was I born with such contemporaries?
-- Oscar Wilde

-| msn:[EMAIL PROTECTED] | jab:[EMAIL PROTECTED] | url:http://lewiz.net |-


pgp0.pgp
Description: PGP signature


colorized tail.

2003-07-04 Thread lewiz
Hi,

  I've seen a few people that have tail outputs on their desktop (root
window) all nice, transparent and even colorized.  I've found roottail
which does the basics (tail -f's a log straight to the rootwindow), but
I wanted to know how I could colorize the output?  I've seen colortail,
but the only way to get this to work is using an aterm, etc.  Is there
anything like a colorroottail in existence?

  Thanks very much,

-lewiz.

-- 
[Sir Stafford Cripps] has all the virtues I dislike and none of the
vices I admire.
-- Winston Churchill

-| msn:[EMAIL PROTECTED] | jab:[EMAIL PROTECTED] | url:http://lewiz.net |-


pgp0.pgp
Description: PGP signature


Compile fails (-lexpat).

2003-07-04 Thread lewiz
Hi,

  I'm trying to compile a programme called ``Dasher'' from source, which
requires Expat (which I do have installed according to pkg_info and
ldconfig -rv).  However, it fails when I configure it:

sh configure --prefix=/usr/local --exec-prefix=/usr/local

with:

checking for XML_Parse in -lexpat... no
configure: error: Expat library not found.

the config.log shows:

configure:6789: cc -o conftest -O2 -pipe -march=pentiumpro
conftest.c -lexpat   5
/usr/bin/ld: cannot find -lexpat
configure:6792: $? = 1
configure: failed program was:
#line 6764 configure
#include confdefs.h

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern C
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.

char XML_Parse ();
#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
 extern C
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
XML_Parse ();
  ;
  return 0;
}
configure:6809: result: no
configure:6819: error: Expat library not found.

  I hope somebody might be able to help with this problem :)  Sorry if
it's something really silly (I have never fully understood ld, ldconfig
and libraries).  Thanks very much,

-lewiz.

-- 
Don't cook tonight -- starve a rat today!

-| msn:[EMAIL PROTECTED] | jab:[EMAIL PROTECTED] | url:http://lewiz.net |-


pgp0.pgp
Description: PGP signature


Eterm / imlib2 / image loaders.

2003-07-03 Thread lewiz
Hi,

  I've just tried to install Eterm so I can use Esetroot for images,
etc.  However, I was getting messages and decided to try Eterm -- at
which point I get:

Eterm:  Error:  Unable to load image file bar_horizontal_1.png -- No
loader available for that file format

I get quite a few, but they're all the same with different image names.
A bit of Googling helped me locate this to imlib2, which I rebuilt until
I discovered the image handlers were ripped out, or something.  I then
installed graphics/imlib2_loaders, which has extra image loader plugins.
I've rebuilt everything and it still doesn't work.  In
/usr/X11R6/lib/loaders/image I have plenty of .so files (I actually
don't believe that imlib2_loaders provided the ones I required (the
pkg-plist doesn't include jpeg)).

  Anybody with any ideas?  It's getting a bit frustrating now...

-lewiz.

-- 
If God had wanted you to go around nude, He would have given you bigger
hands.

-| msn:[EMAIL PROTECTED] | jab:[EMAIL PROTECTED] | url:http://lewiz.net |-


pgp0.pgp
Description: PGP signature


Variable NFS mounts / firewall rules.

2003-07-01 Thread lewiz
Hi,

  I have recently gotten around to setting up my laptop to play nicely
with dhclient (not as easy as it sounds).  I have a number of questions
I should like to ask.  I am going to provide a brief rundown of what I
would like to know, and more detail, for those interested.

1. Why does dhclient.conf ``ignore'' the media directive?
2. Can I have /different/ NFS mounts, depending on the IP address
   dhclient assigns to me?
3. Can I have /different/ firewall rules, depending on the IP address
   dhclient assigns to me?

  And now for the more through version:

Firstly, even though I specify ``media media 10base2/BNC'' in the
correct manner in the /etc/dhclient.conf file, why does dhclient fail to
switch the media to the BNC port?  I have been searching through the
dhclient-script file to no avail and the documentation is light on this
issue.  I have overcome the issue by putting ``/sbin/ifconfig ep0 media
10base2/BNC'' in /etc/start_if.ep0.

Secondly, having been playing with the ``new'' /etc/rc.d stuff in
5-RELEASE I have started to wonder how I might go about setting up a
nicely roaming laptop.
When I'm at home I am assigned a static IP by the DHCP server, which
serves as a way of determining my current location (although, if by
chance I were assigned the same address by another DHCP server, I would
run into troubles).  When at home I want to have certain NFS mounts
available to me (say, /usr/ports/distfiles and /usr/home.nfs).
When I am roaming and there is no assigned address, I have
/usr/home.ufs, which I want symlinked to /home to allow me to login.  I
synchronize /usr/home.ufs with the NFS home periodically.  I have a
local user account that I log on with whilst away from home.
Previously, I did this with a nasty hack in /etc/dhclient-exit-hooks (a
bit of grepping and gawking did the job to get the current IP, I
compared it to what I was expecting then mounted exports accordingly).
However, now that I have IPFIREWALL enabled this does not work, as the
firewall rules are loaded /after/ dhclient-exit-hooks are executed
(default to deny means there is no connectivity -- btw, how does
dhclient communicate?)  This led me to a second issue: while I am away,
I want much more stringent firewall rules (i.e. deny almost all, allow
me to establish out and allow DNS UDP requests).

My question is therefore: is it possible that I could write either a) a
new script to go in /etc/rc.d to perform different NFS mounting based on
my ``location'' (i.e. IP address -- unless anybody else can think of a
better, more robust way to do this (maybe some server checksum?)); or b)
modify an existing script (probably mountcritremote?) to include this
functionality.  Regardless of which method might be chosen: would I use
/etc/rc.conf to specify the options, or provide a custom configuration
file in /etc that the new script would use?
Furthermore, can the rc.firewall script be modified (or passed an
argument) that causes different firewall rules to be loaded depending on
my ``location'' (i.e. IP address, again)?

If anybody can provide any insight into this problem, preferably with an
idea of which files I might go modifying (please!) then I would do my
best to come up with some solution which might be of benefit to others
in a similar situation (if it exists).

  Sorry for such a bulky mail, I couldn't really find how else to cut it
down.  Many thanks!

-lewiz.

-- 
Welcome thy neighbor into thy fallout shelter.  He'll come in handy if
you run out of food.
-- Dean McLaughlin.

-| msn:[EMAIL PROTECTED] | jab:[EMAIL PROTECTED] | url:http://lewiz.net |-


pgp0.pgp
Description: PGP signature


Re: Using pw adduser to set password in a script

2003-07-01 Thread lewiz
On Tue, Jul 01, 2003 at 07:12:49AM +0100, Jez Hancock wrote:
 I'm attempting to use pw adduser to add a new user to the system and
 would like confirmation that the following is the correct way to set
 the user's password at the same time:
 
 echo password | \
 pw adduser -q -h - -u user -g group -s shell -d /home/user -c comment

I usually just add a user with pw, then use passwd to set a password.
That might be easier, not to mention looking (slightly) more elegant:

pw adduser -q -u user -g group -s shell -d /home/user -c comment
passwd user $passwd

 Can anyone also tell me the security implications of doing this, given
 that the command is executed from a within a script (actually php but
 this is more-or-less irrelevant)?

I don't know, but I'd check how PHP does logging -- you really want to
obfuscate your chosen method of setting the password, if it's gonna go
down in the log...

  Sorry I can't help more,

-lewiz.

-- 
I belong to no organized party.  I am a Democrat.
-- Will Rogers

-| msn:[EMAIL PROTECTED] | jab:[EMAIL PROTECTED] | url:http://lewiz.net |-


pgp0.pgp
Description: PGP signature


Re: Variable NFS mounts / firewall rules.

2003-07-01 Thread lewiz
On Tue, Jul 01, 2003 at 08:45:54AM -0400, Dan Pelleg wrote:
 2. Use the automounter to mount NFS volumes on-demand. This way you will
 not have to worry about mounting until you actually need to access the
 volume. See amd(8).

That's a good idea I didn't think off :)  I messed with amd(8) once
before and ran into trouble.  I can see in this case it would be ideal,
and shall have a go at getting it to play nicely.

 3. ipfw supports the me keyword, to flexibly refer to your currently
 assigned IP address.

Yes, I had looked at this.  However, I was meaning trying to have a
solution where a different set of firewall rules would be started based
on the assigned IP address.

 4. Just in case it might help you, here is my /etc/dhclient-exit-hooks:
 
 # nothing to do unless we're bound
 case ${reason} in
 BOUND | RENEW | REBIND | REBOOT )
 if [ -n ${new_domain_name_servers} ]; then
 if [ -z ${old_domain_name_servers} ] || [ x${old_ip_address} != 
 x{$new_ip_address} ]; then
 [ -x /etc/refresh-named ]  /etc/refresh-named 
 ${new_domain_name_servers}
 [ -x /etc/set-time ]  /etc/set-time
 fi
 fi
 ;;
 esac

Yeah, I think I can see that this might even be a good place to
start/stop (stop if required, I haven't read amd(8) yet) amd from.
Also, I can set my symlinks in case the reason is not one of yours
listed.

 5. You can further run ifconfig commands in /etc/start_if.INTERFACE NAME
 (for example /etc/start_if.fxp0 ).

I use start_if.ep0 to set the media for my network card.  Does this get
re sourced after dhclient has done it's magic?  I was under the
assumption that it got executed /before/ dhclient, and would therefore
be of little use to set variables based on the output of dhclient... ?

  Many thanks!  You've given me some excellent ideas.  I'll tell you how
I fare.

-lewiz.

-- 
In the long run, every program becomes rococo, and then rubble.
-- Alan Perlis

-| msn:[EMAIL PROTECTED] | jab:[EMAIL PROTECTED] | url:http://lewiz.net |-


pgp0.pgp
Description: PGP signature


Re: Variable NFS mounts / firewall rules.

2003-07-01 Thread lewiz
On Tue, Jul 01, 2003 at 08:45:54AM -0400, Dan Pelleg wrote:
 1. http://www.freebsd-support.de/misc/setnetparm/
 I've never had the chance to use it myself, but it might help.

I've checked this out briefly and it's geared more towards static
setups, but I think DHCP can be configured to pretty much do everything
this does (assuming I have control over each and every DHCP server... :)

  Again, thanks very much,

-lewiz.

-- 
If you're not very clever you should be conciliatory.
-- Benjamin Disraeli

-| msn:[EMAIL PROTECTED] | jab:[EMAIL PROTECTED] | url:http://lewiz.net |-


pgp0.pgp
Description: PGP signature


splash_bmp_load problems.

2003-01-13 Thread lewiz
Hi,

  This might seem a bit of a silly question to be asking.  It's a bit
pointless really but I can't figure out why it shouldn't work.

  I tried setting a 800x600 256 color bitmap as my splash bmp.  The same
bitmap works just fine on another machine (that isn't a laptop).
Basically, while the modules are all loaded nicely I get a squashed and
repeated image in the upper section of the screen.  It's no more than
1/5th of the screen's height and it's repeated horizontally about four
or five times.  Any idea what might cause this?

  My /boot/loader.conf reads:

bitmap_load=NO
bitmap_name=/boot/splash.pcx
splash_pcx_load=NO

  I have the VESA compiled into my kernel for the 800x600 mode (I also
had the same problem with a smaller bitmap.  PCX files result in the
same problem also).

  Many thanks,

-lewiz.

-- 
However, never daunted, I will cope with adversity in my traditional
manner ... sulking and nausea.
-- Tom K. Ryan

--|| url: http://lewiz.info/ | http://www.westwood.karoo.net/pgpkey ||--



msg15369/pgp0.pgp
Description: PGP signature


Re: CD to MP3

2003-01-12 Thread lewiz
On Sun, Jan 12, 2003 at 09:36:47AM -0800, Dave McCoy wrote:
 I have been looking for an easy way to convert music cds to mp3 files. 
 The ports collection hasn't been much help on this subject. Does anyone 
 know of a plug-in for xmms or an easy utililty to acomplish this.

Many people have replied saying you could try writing a script.  I use
``abcde'' (/usr/ports/audio/abcde) and it is an excellent script.  It
supports CDDB, numerous different rippers and many encoders (oggenc,
lame, etc.)  Of course, M3U playlists are also supported and it can do
almost everything that grip can only without the unnecessary GUI.

  Hope that's some help.

-lewiz.

-- 
Under a government which imprisons any unjustly, the true place for a
just man is also in prison.
-- Henry David Thoreau

--|| url: http://lewiz.info/ | http://www.westwood.karoo.net/pgpkey ||--



msg15232/pgp0.pgp
Description: PGP signature


Re: kazaa on bsd

2003-01-10 Thread lewiz
On Thu, Jan 09, 2003 at 09:03:29PM -0500, Adam Stroud wrote:
 The Kazaa client for Linux was discontinued.  There is however a client for 
 Linux that uses the Fast Track network.  I forget the name of it, but I am 
 usre that it can be found on sourceforge.net.  It took some configuration and 
 time, but I did have it running at one point.  It seems to me that the name 
 was gIFT Maybe?

This is correct, yes.  giFT is a client for the OpenFT network -- this
is not the same one that KaZaA uses and there are not that many people
using the OpenFT network so it's hard to find anything of any use.

  Anybody with any other information on FT clients?

-lewiz.

-- 
Love cannot be much younger than the lust for murder.
-- Sigmund Freud

--|| url: http://lewiz.info/ | http://www.westwood.karoo.net/pgpkey ||--



msg14964/pgp0.pgp
Description: PGP signature


Re: kazaa on bsd

2003-01-09 Thread lewiz
On Thu, Jan 09, 2003 at 10:05:47AM -0500, Adam Maas wrote:
 Kazaa for Linux undr Linux emulation?

This is very interesting.  I remember reading about the Linux client
some time ago but when I searched I found little.  It seemed that KaZaA
had discontinued the Linux client.  Do you have any more details (or
even a copy of the original Linux client)?

  Many thanks,

-lewiz.

-- 
Learning French is trivial: the word for horse is cheval, and
everything else follows in the same way.
-- Alan J. Perlis

--|| url: http://lewiz.info/ | http://www.westwood.karoo.net/pgpkey ||--



msg14865/pgp0.pgp
Description: PGP signature


Re: dhclient - no DHCPOFFERS received.

2003-01-07 Thread lewiz
On Mon, Jan 06, 2003 at 05:05:03PM -0600, Robin Damm wrote:
 I'm assuming the client eventually obtains a lease.

Actually, this was the odd thing.  It didn't obtain a new lease at
bootup -- it actually used a cached lease (ie, couldn't contact the DHCP
server but fell back to what it usually used).

 Does the problem persist if you manually release/renew the IP?
 
   # dhclient -r
   # dhclient ep0
 
 A cache problem perhaps? 

If I did this after it used the cached lease it actually started talking
to the DHCP server, so, yes, you were correct here.

  I've actually solved the problem now.  I can't understand quite what
I'd done wrong (because it was working earlier).  For some reason I
hadn't changed the default media for the if from 10baseT/UTP to
10base2/BNC -- although it should have done so in the startup scripts.
Instead, I've now got /sbin/ifconfig ep0 media 10base2/BNC in
/etc/dhclient-enter-hooks, which gets executed _before_ dhclient starts
searching.  It all works fine now.

  Sorry for bothering everybody, it might have been a mistake on my
part.

-lewiz.

-- 
Absent, adj.:
Exposed to the attacks of friends and acquaintances; defamed;
slandered.

--|| url: http://lewiz.info/ | http://www.westwood.karoo.net/pgpkey ||--



msg14625/pgp0.pgp
Description: PGP signature


squid offline_mode.

2003-01-07 Thread lewiz
Hi,

  This might be a bit off-topic (I know there are squid mailing lists,
but I've as of yet been unsuccessful in signing up) but I'm hoping
somebody might have an idea.

  I have been attempting to use the offline_mode (I have offline_mode
on in my squid.conf) when my PPP connection is offline (thus allowing me
to view cached webpages without causing PPP to dial).  However, this
appears to make no difference and I get the regular DNS-type error
message.  Any help on this would be much appreciated.

  I am running squid-2.5_1, compiled today from ports.

Many thanks,

-lewiz.

-- 
Your lucky number is 3552664958674928.  Watch for it everywhere.

--|| url: http://lewiz.info/ | http://www.westwood.karoo.net/pgpkey ||--



msg14633/pgp0.pgp
Description: PGP signature


dhclient - no DHCPOFFERS received.

2003-01-06 Thread lewiz
Hi,

  Just recently I've found my laptop has been taking a while to obtain a
lease.  I turned on all logging to the console and found the following
(modified a bit):

dhclient: DHCPREQUEST on ep0 to 255.255.255.255.0 port 67
dhclient: Trying media media 10base2/BNC 1
dhclient: DHCPDISCOVER on ep0 to 255.255.255.255 port 67 interval 6

  At this point a series of ``Trying media...'' and ``DHCPDISCOVERER''
are repeated (only the interval changed - 6, 12, 14, 18 then 6).

dhclient: No DHCPOFFERS received..
dhclient: Trying recorder lease 192.168.0.10

  It looks to me like the DHCP server is not responding.  Is this the
case?  I've verified that the DHCP server is working (another machine
has no problems obtaining a lease).  Any ideas?

-lewiz.

-- 
Better dead than mellow.

--|| url: http://lewiz.info/ | http://www.westwood.karoo.net/pgpkey ||--



msg14471/pgp0.pgp
Description: PGP signature


Re: Slow local logins when YP/NIS server unavailable.

2003-01-05 Thread lewiz
On Sat, Jan 04, 2003 at 07:57:03PM -0500, Bill Moran wrote:
 If you set the laptop up as a NIS backup server, you'll be able to log
 in just fine, even when not connected to the network.  It should
 circumvent the delays, as you'll have everything the login system is
 looking for.

Yeah, I'd considered this myself and was going to implement it but after
mentioning it in FreeBSD-mobile I got response saying it was a bit
overkill (which, it would have been).  Right now I've just got that code
commented out in my login.c.  The comment above the code says something
along the lines of ``PAM may allocate more groups'' - I think that means
that it provides the membership to all of the required groups.  For me
(at the moment) this is not an issue so I have now just compiled with
that code disabled.  It works perfectly but I really want to know what
it's doing exactly, and whether it _should_ be causing a hang.

  Many thanks for your response,

-lewiz.

-- 
Misery loves company, but company does not reciprocate.

--|| url: http://lewiz.info/ | http://www.westwood.karoo.net/pgpkey ||--



msg14300/pgp0.pgp
Description: PGP signature


Re: Working around problems when an NFS server dies / is unavailable.

2003-01-05 Thread lewiz
On Sat, Jan 04, 2003 at 04:52:48PM -0800, richard childers / kg6hac wrote:
 I seem to recall a 'nomount' option in fstab(5), the manual page that
 describes the contents of the /etc/fstab ('filesystem table') file.
 
 That plus amd(8) should, in theory, get you a relatively stateless NFS
 connection.

I must admit, I've never worked with amd but it may be worth a try -- it
can't be any worse than the situation I'm in at the moment.  Thanks for
bringing it to my attention ;)

 I've had some success using 'umount -f' to forcibly umount NFS filesystems,
 from the client side, in the past.

This surprised me.  I had assumed a forced umount would actually force
the umount, yet, it seems not to have done.  I am confuzed as to what is
and what isn't a bug (often I'm screwing things up myself, I'm sure).
Do you think this would count as a bug?  If other people have had
problems too, it almost suggests it might be.

 However, NFS, while stateless in intent, is really not a good
 infrastructural element for a plug-and-play network. Plugging in is easy;
 unplugging may require an explicit shutdown to properly deallocate
 resources.

Yeah, I'm starting to learn this now.  I don't really know what else to
use.  I've heard of CODA and even AFS but I don't know their suitability
to my purpose.  I think I might do a bit more research then ask again on
this list.

  Thanks for your information, I'll go read about amd ;)

-lewiz.

-- 
All true wisdom is found on T-shirts.

--|| url: http://lewiz.info/ | http://www.westwood.karoo.net/pgpkey ||--



msg14301/pgp0.pgp
Description: PGP signature


Re: Jail

2003-01-05 Thread lewiz
On Sun, Jan 05, 2003 at 09:53:02PM +1100, Talon wrote:
 My question is how do i ping out from the inside of the jail after i
 have logged in.

You cannot ping anywhere from inside a jail.  You'll get ``ping: socket:
Operation not permitted''.  Don't ask me why, I just know it's the case
;)

-lewiz.

-- 
Religion has done love a great service by making it a sin.
-- Anatole France

--|| url: http://lewiz.info/ | http://www.westwood.karoo.net/pgpkey ||--



msg14302/pgp0.pgp
Description: PGP signature


Re: Jail

2003-01-05 Thread lewiz
On Sun, Jan 05, 2003 at 10:55:14PM +1100, Talon wrote:
 I still seem to have the prob with no rl0 interface in the jail ..
 and cannot make any outbound conection from inside the jail.

Ahh, sorry.  I missed this question.  The way I have it setup is using
NAT and a gateway.  If you're using the same IP in the jail as your host
environment you don't need the NAT -- just set the host up as a gateway
and then in the jail add a default route pointing to the host.  This way
all traffic goes through the host.  If you're using different IPs though
you'll need to start using NAT to rewrite the packet headers.  All of
this stuff can be found in the handbook (although I doubt whether it
mentions it specifically about jails).

 I am running ipf with default block from the kernel
 but allow all packets in and out from rl0 lo0
 
 Is there a good doc on jail setup or troubleshooter on the www that
 anyone knows of ?

  Hope that's a bit more help,

-lewiz.

-- 
I just need enough to tide me over until I need more.
-- Bill Hoest

--|| url: http://lewiz.info/ | http://www.westwood.karoo.net/pgpkey ||--



msg14304/pgp0.pgp
Description: PGP signature


Re: Selecting a specific list of ports to update

2003-01-05 Thread lewiz
On Sun, Jan 05, 2003 at 01:57:36PM -0500, Daniel Goepp wrote:
 Yes, I have been through all that, and I do right now just do a couple
 of the specific branches, but even that is more than I really want.  I'm
 talking about being able to do something like
 
 ports-security-openssl
 ports-security-openssh
 ports-net-bind9
 ports-mail-postfix
 ports-www-apache13

The only way I know of doing this involves an ignore file.  It'd be
pretty complicated though.

-lewiz.

-- 
Of all the animals, the boy is the most unmanageable.
-- Plato

--|| url: http://lewiz.info/ | http://www.westwood.karoo.net/pgpkey ||--



msg14329/pgp0.pgp
Description: PGP signature


broken xterm.

2003-01-05 Thread lewiz
Hi,

  For some reason my xterm seems to have broken.  I'm sure it was
working perfectly well earlier on today but now I can't run xterm
without it disappearing/closing.  It doesn't even show up in a ps aux so
it appears it's just started then closed.  Only root is able to start an
xterm.  Any ideas?

-lewiz.

-- 
Love at first sight is one of the greatest labor-saving devices the
world has ever seen.

--|| url: http://lewiz.info/ | http://www.westwood.karoo.net/pgpkey ||--



msg14347/pgp0.pgp
Description: PGP signature


lock.

2003-01-04 Thread lewiz
Hi,

  Is there any utility similar to lock (that I can do the equivalent of
lock -npv) that I can set a timeout on - much like with xscreensaver?  I
don't want to manually have to run lock - instead a timeout would be
good, so that if I don't hit any keys it will lock the machine?

  Many thanks,

-lewiz.

-- 
All my friends and I are crazy.  That's the only thing that keeps us
sane.

--|| url: http://lewiz.info/ | http://www.westwood.karoo.net/pgpkey ||--



msg14234/pgp0.pgp
Description: PGP signature


Slow local logins when YP/NIS server unavailable.

2003-01-04 Thread lewiz
Hi,

  I've been having problems recently trying to login as a local user
when my YP/NIS server is unavailable.  This is essentially to me as the
machine in question is a laptop and is required to work without the
network.

  I have a local user (lewiz2) and a NIS/YP user (lewiz).  When I am
away from the network I use lewiz2, which has a homedir synchronized
with lewiz.  When I return I resynchronize.  This works perfectly.

  However, I have come to find a problem in some code in login.c
(usr.bin/login).  I have an up-to-date login.c (from 1859 today
(04/01/03)) and the code is from line 598 to line 601.  It reads:

if (setusercontext(lc, pwd, pwd-pw_uid, LOGIN_SETGROUP) != 0) {
syslog(LOG_ERR, setusercontext() failed - exiting);
exit(1);
}

  This means nothing to me but I have found that it causes local logins
(which have _nothing_ to do with NIS/YP whatsoever) to hang for a long
time.  I am wondering if there is any way I can work around this problem
(without commenting out the code) and if this could be considered a
``bug''?

  Any help on this matter would be greatly appreciated as it's been
causing me problems for ages ;)

  Many thanks,

-lewiz.

-- 
When all other means of communication fail, try words.

--|| url: http://lewiz.info/ | http://www.westwood.karoo.net/pgpkey ||--



msg14245/pgp0.pgp
Description: PGP signature


Working around problems when an NFS server dies / is unavailable.

2003-01-04 Thread lewiz
Hi,

  Anybody know about using NFS with laptops.  I want to be able to pick
up and go with my laptop -- problem is I seem unable to umount any NFS
filesystems when the NFS server is unavailable.

  The problem is -- I can't run many regular utilities like df without
it getting stuck when the NFS mount is unavailable.  I've tried the soft
option but that doesn't seem to make any difference.  Anybody with any
good ideas on how best to cope with this situation?

-lewiz.

-- 
There cannot be a crisis next week.  My schedule is already full.
-- Henry Kissinger

--|| url: http://lewiz.info/ | http://www.westwood.karoo.net/pgpkey ||--



msg14275/pgp0.pgp
Description: PGP signature


Re: YP/NIS timeout.

2003-01-03 Thread lewiz
On Wed, Jan 01, 2003 at 08:29:58PM -0600, Dan Nelson wrote:
 In the last episode (Jan 01), lewiz said:
  At the login: prompt I enter my username (lewiz), hit return and get
  nothing for a while until:
  
  yp_order: clnt_call: RPC: Timed out
 Hit ^T during the pause and find out what program is hanging.  You
 probably have a command in your shell's startup script that is trying
 to resolve an NIS username.

^T shows:
load: 1.28  cmd: login 45573 [nanslp] 0.00u 0.04s 0% 1016k

I couldn't find anything about nanslp (locate shows nothing but I
eventually tracked it down to sys/kern/kern_time.c, where it shows up:

sys/kern/kern_time.c:   error = tsleep(nanowait, PWAIT |
PCATCH, nanslp,

Hence, it has something to do with the nanosleep(2) syscall.  Other than
this, I don't know what it's doing.  Maybe you are correct that the
shell is trying to do some stuff but I could find nothing like this in
/etc/profile, /etc/csh.cshrc, /etc/csh.login or any of the user's
personal copies.

-lewiz.

-- 
If only one could get that wonderful feeling of accomplishment without
having to accomplish anything.

--|| url: http://lewiz.info/ | http://www.westwood.karoo.net/pgpkey ||--



msg14154/pgp0.pgp
Description: PGP signature


Re: YP/NIS timeout.

2003-01-01 Thread lewiz
On Sun, Dec 29, 2002 at 08:25:20PM -0600, Dan Nelson wrote:
 In the last episode (Dec 29), lewiz said:
I'm wondering if there is any way to stop my system completely
  falling over when my YP/NIS server is no longer available?  I am
  unable to login, even with my root account.  I have a local user that
  I would like to use (when the YP/NIS server is unavailable) but this
  seems impossible.  Any ideas on this matter?
 
 Make sure the local user is above the + in your passwd file and you
 should be okay.  Define unable to login.  Do you simply get login
 incorrect for all attempts, or are you able to log in but something
 else happens?

At the login: prompt I enter my username (lewiz), hit return and get
nothing for a while until:

yp_order: clnt_call: RPC: Timed out

This message gets repeated a few times but I can do pretty much nothing
with my machine.

  Even as I log in as a local user (say root) I get past entering my
password, at which point I get the same message.  I can't understand why
this happens.
  Update here: I've just sat and watched it a bit longer.  I only get
one repetition of this message with root, after which it allows me to
login as per usual.  Still, this seems odd because root has nothing to
do with the YP/NIS configuration, does it?

 You might want to consider setting up a couple NIS slave servers if
 your master is unreliable.

I agree :)  I'm trying to do this with a laptop though.  I want it so if
I disconnect from my network that I can just log in as an alternate user
(in my case I have lewiz2 setup, which is essentially a local mirror of
the YP/NIS user lewiz).  This way I can use a synchronization tool
(unison and rsync) to ensure both accounts are up-to-date when I return.

  Many thanks for your reply.  Happy New Year,

-lewiz.

-- 
As far as we know, our computer has never had an undetected error.
-- Weisert

--|| url: http://lewiz.info/ | http://www.westwood.karoo.net/pgpkey ||--



msg13918/pgp0.pgp
Description: PGP signature


Re: spamassassin

2002-12-30 Thread lewiz
On Mon, Dec 30, 2002 at 08:57:06PM +0100, dick hoogendijk wrote:
 Without the -P spamassassin writes the message back to the mailbox
 instead of writing to STDOUT :-((
 This may be different in FreeBSD, I'm warned now though :-))

Watch out!  Why not setup another mailbox and direct spam to there.
I've had a few false-positives from the default SpamAssassin settings so
it's best to be aware you may still get some.  Anyhow, I guess you've
thought of this already :)

  Best wishes,

-lewiz.

-- 
I believe in getting into hot water; it keeps you clean.
-- G. K. Chesterton

--|| url: http://lewiz.info/ | http://www.westwood.karoo.net/pgpkey ||--



msg13743/pgp0.pgp
Description: PGP signature


Re: 3c589/PCMCIA.

2002-12-29 Thread lewiz
On Sun, Dec 29, 2002 at 02:47:29AM +0100, Marcel Stangenberger wrote:
 tried them both, it found my card in both pcmcia slots (baseport 300, irq
 10) but freebsd is still not finding them in either of the pcmcia ports.

Can you supply a dmesg dump, maybe I can see what's it's doing
differently to mine.

-lewiz.

-- 
There is a green, multi-legged creature crawling on your shoulder.

--|| url: http://lewiz.info/ | http://www.westwood.karoo.net/pgpkey ||--



msg13563/pgp0.pgp
Description: PGP signature


Re: 3c589/PCMCIA.

2002-12-29 Thread lewiz
On Sun, Dec 29, 2002 at 05:12:55PM +0100, Marcel Stangenberger wrote:
 it won't dump cause i can't get freebsd to install. (no cdrom in the
 laptop so i need a network install) If i look at the install log (on the
 second console (ALT-F2)) i do see that freebsd finds a pcmcia card in the
 slot. And is trying to detect what kind of card it is. It loads a few
 networkdrivers but as far as i can see they are all pci drivers. It seems
 that the card is simply not recognized.

Is this 4.x or 5?  I couldn't get it to work with 5.

  When you start the install process does FreeBSD ask you if you wish to
install from a PCCard device?  At this prompt I select yes, then at the
next dialogue, chose default and the one afterwards I selected IRQ 10.

  If you can't get a full dump did you want to try and run dmesg and
scroll through, write down all of the entries that relate to PCCard of
networking.  I'll rerun the setup and tell you what mine says.

-lewiz.

-- 
New Year's Eve is the time of year when a man most feels his age, and
his wife most often reminds him to act it.
-- Webster's Unafraid Dictionary

--|| url: http://lewiz.info/ | http://www.westwood.karoo.net/pgpkey ||--



msg13574/pgp0.pgp
Description: PGP signature


Re: PCCARD DHCP and media.

2002-12-29 Thread lewiz
On Sat, Dec 28, 2002 at 02:33:10PM -0500, Lowell Gilbert wrote:
 lewiz [EMAIL PROTECTED] writes:
 
I've just got a 3C589 PCCARD NIC going.  However, I'm using the BNC
  (10Base2) connector so I need to specify ``media 10base2/BNC'' in
  rc.conf.  However, if I do this DHCP doesn't seem to work.  Is there any
  way that I can combine media 10base2/BNC and DHCP into pccard_ifconfig?
 
 Sure; just specify your own script, using pccard.conf. 
 Instead of the default pccard_ether, you can do a specialized script
 that sets the medium before invoking dhclient.

Thanks for this tip, it was most helpful.  After reading around a bit in
/etc/pccard_ether I found that there was an optional execution of
/etc/start_if.{if} and /etc/stop_if.{if} so I now have ifconfig ep0
media 10Base2/BNC in start_if.ep0.

  Thanks again,

-lewiz.

-- 
We can defeat gravity.  The problem is the paperwork involved.

--|| url: http://lewiz.info/ | http://www.westwood.karoo.net/pgpkey ||--



msg13579/pgp0.pgp
Description: PGP signature


Working remotely.

2002-12-29 Thread lewiz
Hi,

  This may have come up before but I've not found anything after
searching Google that quite satisfies the question.

  I run my laptop on my network during evenings but during the daytime I
attend college, where I really need to access my documents, mail, etc.
Is there any method of synchronizing the laptop with the server (I have
an NFS exported homedirectory and use NIS/YP for authentication).

  I have considered writing a script that uses rsync to synchronize the
laptop with the server, in so much as maintaining a local copy of the
homedirectory -- I can do this quite effectively using
/etc/start_if.{if}.  However, I have various problems with my Maildir
mailbox (files have letters appended to the filename depending on their
status) that could cause data loss or duplication.
  The second problem is with authentication -- is there any way to cache
usernames/passwords so that I can still log on without an NIS/YP server
being available?  If not, would the best method be to set up a local
server mirroring the NIS/YP database and authenticate against this?

  Basically, I want to be as productive away from my network as I am at
it but there seem to be various things that don't allow this to happen.
Has anybody found good solutions to them?

  I would be eager to hear what anybody has to say on this matter.
Many thanks,

-lewiz.

-- 
You may have heard that a dean is to faculty as a hydrant is to a dog.
-- Alfred Kahn

--|| url: http://lewiz.info/ | http://www.westwood.karoo.net/pgpkey ||--



msg13596/pgp0.pgp
Description: PGP signature


Re: your mail

2002-12-29 Thread lewiz
On Sun, Dec 29, 2002 at 07:10:23PM +0100, Morten olson wrote:
 Hi.. can i update from FreeBSD 4.7-STABLE to FreeBSD 5.0 when its out?

Yes, take a look at the FreeBSD Handbook.  There are details on
upgrading there.

-lewiz.

-- 
There is nothing wrong with Southern California that a rise in the
ocean level wouldn't cure.
-- Ross MacDonald

--|| url: http://lewiz.info/ | http://www.westwood.karoo.net/pgpkey ||--



msg13607/pgp0.pgp
Description: PGP signature


Re: Working remotely.

2002-12-29 Thread lewiz
On Sun, Dec 29, 2002 at 01:26:41PM -0800, Eric De Mund wrote:
 lewiz,
 
 ] This may have come up before but I've not found anything after
 ] searching Google that quite satisfies the question.
 ]
 ] I run my laptop on my network during evenings but during the daytime I
 ] attend college, where I really need to access my documents, mail, etc.
 ] Is there any method of synchronizing the laptop with the server (I
 ] have an NFS exported homedirectory and use NIS/YP for authentication).
 
 Unison might meet some of your needs:

Having read your description and some of the FAQs and a bit of the
documentation on the website I am most impressed.  This sounds like
exactly what I was looking for.  I am even happier to find it in the
ports and I'm getting it installed now.

  Many thanks for this piece of advice :)

-lewiz.

-- 
Justice always prevails ... three times out of seven!
-- Michael J. Wagner

--|| url: http://lewiz.info/ | http://www.westwood.karoo.net/pgpkey ||--



msg13620/pgp0.pgp
Description: PGP signature


Re: Working remotely.

2002-12-29 Thread lewiz
On Sun, Dec 29, 2002 at 01:19:03PM -0800, richard childers / kg6hac wrote:
 Reading your questions, I am left unclear as to whether the NFS, NIS/YP, and
 server are at home, or at work.

Sorry, I have the NFS, NIS/YP stuff at home.

 The question then becomes, which is the master and which is the slave, or
 copy? I recommend thinking of your laptop's current contents as the master,
 it makes things easier but if your server is providing megastorage for your
 MP3 collection, you're going to have to evolve your own, more complex
 algorithm for synchronizing specific elements of your home directories on
 each system with one another.

While, yes, as everybody I think these days, I have my music/video
collection, I was planning on leaving that where it was :)  However, I
already had some rsync stuff going to work around the fact that I don't
want/need all my mail for the past n years -- I have a current mail (3
months at the most) that I would be taking with me, I've accounted for
this, as suggested.

 Perhaps this is a better approach, anyway; what needs to be synchronized? If
 you're using it as a backup mechanism, maybe tar(1)'ing up your home
 directory into a timestamped tar(5) file and copying that to the server mkes
 more sense, along with a complementing script that deletes all tar(5) files
 over N days old, to keep disk usage to a minimum.

I'm not so keen on this method.  I would much prefer a synchronization
idea, not a backup.  Firstly, it's much quicker for me to pick up and go
in the morning, and to get everything in synch when I get back.  Also,
this could cause problems if I were to log on to my workstation at home
before connecting the laptop, etc.

 The other problem is the relationship between NIS/YP login information and
 your local login information. It sort of sounds like this laptop was built
 with a built-in NFS/NIS/YP dependency that assumed that you'd be using it on
 campus only. Not very well thought out, or tested, IMHO.

Hehe, my bad.  Yeah, that's how it's all done though -- I've only just
got a hold of this laptop so until now I've not had need for it ;)

 I would recommend creating a login which we will call your 'off-campus',
 'roving', or 'disconnected' login. This login has a UID and GID of N, and a
 home directory of, say, /local/home/roving.

To begin with when I read this I thought you must have been smoking
something.  I was wondering how on earth I would bridge the gap between
two different UID/GIDs, until I figured out what you meant by ``N''.
This is a truly superb idea, that I would not have thought of.  UNIX is
truly about simplicity :)  I shall get this implemented right away.  My
only consideration here is which goes first in the passwd file -- the
roving user or the NIS/YP hash thingy?  I'll play around with this and
figure it out.

  Many thanks for your response.  It's already been very useful and I've
not got around to implementing some of it yet ;)  What I think I'll be
doing is using the ``Unison'' utily suggested by Eric De Mund to
synchronize the two logins in conjunction with the secondary username
you suggested.  Thanks again, I'll follow up with how I got on.

-lewiz.

-- 
If you have a procedure with 10 parameters, you probably missed some.

--|| url: http://lewiz.info/ | http://www.westwood.karoo.net/pgpkey ||--



msg13622/pgp0.pgp
Description: PGP signature


YP/NIS timeout.

2002-12-29 Thread lewiz
Hi,

  I'm wondering if there is any way to stop my system completely falling
over when my YP/NIS server is no longer available?  I am unable to
login, even with my root account.  I have a local user that I would like
to use (when the YP/NIS server is unavailable) but this seems
impossible.  Any ideas on this matter?

-lewiz.

-- 
The reason we come up with new versions is not to fix bugs.  It's
absolutely not.
-- Bill Gates

--|| url: http://lewiz.info/ | http://www.westwood.karoo.net/pgpkey ||--



msg13625/pgp0.pgp
Description: PGP signature


Silicon Motion / XFree86.

2002-12-28 Thread lewiz
Hey,

  I've been trying to get X running on a laptop with a Silicon Motion
SM710 LynxEM.

  When I startx I get a brief flash on the screen (two vertical lines)
but these soon disappear and I am unable to do anything (even
CTRL+ALT+F1) other than SSH in and kill -9 X.

pciconf shows it as: none1@pci1:0:0.

  I have the following in my XF86Config:

Section Device
Identifier Silicon Motion Lynx family
Driver siliconmotion
ChipSet lynxem
BusID PCI:1:0:0
Option NoAccel
EndSection

  When I run startx I receive the following (last few lines here):

(II) Loading sub module int10
(II) LoadModule: int10
(II) Reloading /usr/X11R6/lib/modules/libint10.a
(II) Silicon Motion(0): initializing int10
(==) Silicon Motion(0): Write-combining range (0xa,0x2) was
already clear
(II) Silicon Motion(0): Primary V_BIOS segment is: 0xc000
(II) Silicon Motion(0): VESA BIOS function failed

Fatal server error:
Caught signal 11.  Server aborting

  I can provide the whole output, if required.  I'm fairly sure this is
FreeBSD-specific because this card has definitely been working under
Linux.  There is somebody else that has this problem, I have tried
contacting him to see if he got any further but in the meantime any
ideas would be greatly appreciated.

  Many thanks,

-lewiz.

-- 
Cocaine -- the thinking man's Dristan.

--|| url: http://lewiz.info/ | http://www.westwood.karoo.net/pgpkey ||--



msg13468/pgp0.pgp
Description: PGP signature


Re: PCCARD DHCP and media.

2002-12-28 Thread lewiz
On Sat, Dec 28, 2002 at 02:33:10PM -0500, Lowell Gilbert wrote:
 lewiz [EMAIL PROTECTED] writes:
 
I've just got a 3C589 PCCARD NIC going.  However, I'm using the BNC
  (10Base2) connector so I need to specify ``media 10base2/BNC'' in
  rc.conf.  However, if I do this DHCP doesn't seem to work.  Is there any
  way that I can combine media 10base2/BNC and DHCP into pccard_ifconfig?
 
 Sure; just specify your own script, using pccard.conf. 
 Instead of the default pccard_ether, you can do a specialized script
 that sets the medium before invoking dhclient.

That's great, I'll have a try at doing that now.  Many thanks :)

-lewiz.

-- 
The opossum is a very sophisticated animal.  It doesn't even get up
until 5 or 6 p.m.

--|| url: http://lewiz.info/ | http://www.westwood.karoo.net/pgpkey ||--



msg13518/pgp0.pgp
Description: PGP signature


Re: 3c589/PCMCIA.

2002-12-28 Thread lewiz
On Sat, Dec 28, 2002 at 10:21:55PM +0100, Marcel Stangenberger wrote:
 On Thu, 26 Dec 2002, lewiz wrote:
 
  I was playing around with some options on a 4.4-RELEASE disc1 ISO I'd
  burnt.  I have now got it working.  I'm just about to test if it'll work
  on 5.0-DP2.  A guy on eu.openprojects.net in #freebsd told me to disable
  all unrequired devices in visual config.  I did this and it actually
  didn't even detect this time, so I switched slots, rebooted and did the
  same.  After this it actually detected and DHCP worked to resolve my IP.
  I used the 10BaseT port (UTP) instead of my preferred 10Base2 (BNC).
 
 i just did that but when i then started the kernel it did detect something
 in my pcmcia slot, but it was not useable as a network interface. when i
 changed slots it didn't detect it at all.

I've now found out I didn't even need to disable all of the other stuff,
it works just as well.  It only seems to work in one of the two PCMCIA
slots... make sure you double-check both seperately.

My relevant rc.conf entires are as follows:

ifconfig_ep0=DHCP
pccard_enable=YES
pccard_ifconfig=DHCP
pccard_mem=DEFAULT
pccardd_flags= -i 10

I believe that the first line (ifconfig_ep0) is irrelevant due to the
pccard_ifconfig but I could be wrong.  It works so I'm leaving it there.
I ran the DOS-based 3Com configuation utility.  I downloaded it from the
Internet (mail me if you can't find it and I'll email it to you).  This
showed me that the NIC was using irq 10 (hence the pccardd_flags= -i
10) - this may be different for you so I suggest you try the utility.

  Hope that's some help,

-lewiz.

-- 
Moon, n.:
1. A celestial object whose phase is very important to
hackers.  See PHASE OF THE MOON.  2. Dave Moon (MOON@MC).

--|| url: http://lewiz.info/ | http://www.westwood.karoo.net/pgpkey ||--



msg13519/pgp0.pgp
Description: PGP signature


Re: 3c589/PCMCIA.

2002-12-28 Thread lewiz
On Sat, Dec 28, 2002 at 10:22:56PM +, lewiz wrote:
 pccard_ifconfig but I could be wrong.  It works so I'm leaving it there.
 I ran the DOS-based 3Com configuation utility.  I downloaded it from the
 Internet (mail me if you can't find it and I'll email it to you).  This

On second thoughts... try Google for the file:

http://www.google.com/search?q=3link-id.exe

:)

-lewiz.

-- 
Madam, there's no such thing as a tough child -- if you parboil them
first for seven hours, they always come out tender.
-- W. C. Fields

--|| url: http://lewiz.info/ | http://www.westwood.karoo.net/pgpkey ||--



msg13520/pgp0.pgp
Description: PGP signature


Re: What are the SMTP rules for sending mail to FreeBSD

2002-12-28 Thread lewiz
On Sat, Dec 28, 2002 at 08:53:15AM -0500, Harry Tabak wrote:
 Mail sent from my main server, gatehouse.quadtelecom.com (66.45.116.138) 
 gets rejected.
   _450_Client_host_rejected:_cannot_find_your_hostname,_[66.45.116.138]

I'm getting this all the time too.  It seems that after a while my mails
just get through anyway.  In fact, just now they've been getting through
first time.  I'm sure my DNS is all messed up but it seems odd it gets
through after a few retries -- is that part of the filter?  If it's
persistent, let it in?

Does anybody know when this was implemented?

-lewiz.

-- 
Seminars, n.:
From semi and arse, hence, any half-assed discussion.

--|| url: http://lewiz.info/ | http://www.westwood.karoo.net/pgpkey ||--



msg13521/pgp0.pgp
Description: PGP signature


Re: 3c589/PCMCIA.

2002-12-26 Thread lewiz
On Thu, Dec 26, 2002 at 09:46:51AM +0100, Marcel Stangenberger wrote:
 i have almost the same problem with my 3Com 3C589 card.
 The light is not suppossed to blink tho, when i boot windows the light
 simply burns to indicate link and that is al it does. When i boot freebsd
 the light goes on and it does recieve a DHCP link. But after that all
 network communication fails. If not yet found a solution to it. But i was
 thinking that it might be because the pcmcia-controller from toshiba
 (laptop is a tecra 700CT) is not supported?

Yeah, that sounds exactly the same as my problem.  I have recently
learned about the media option for ifconfig.  I tried starting a fixit
console directly after the installer started and running:

ifconfig ep0 media 10base2/BNC

This worked fine and switched the connection.  The problem is, this now
causes the machine to _HANG_ if I try and change any settings.  So I
plugged it back into a hub.  Nothing happens, no light on the hub yet a
solid LED on the 3COM connector thing.

I have a Gateway Solo and I'm fairly sure the PCMCIA card is supported
because it probes the card fine, it just fails to work.

I'll post a followup if I find out any more.

  Thanks for your info,

-lewiz.

-- 
Due to circumstances beyond your control, you are master of your fate
and captain of your soul.

--|| url: http://lewiz.info/ | http://www.westwood.karoo.net/pgpkey ||--



msg13372/pgp0.pgp
Description: PGP signature


PCCARD DHCP and media.

2002-12-26 Thread lewiz
Hi,

  I've just got a 3C589 PCCARD NIC going.  However, I'm using the BNC
(10Base2) connector so I need to specify ``media 10base2/BNC'' in
rc.conf.  However, if I do this DHCP doesn't seem to work.  Is there any
way that I can combine media 10base2/BNC and DHCP into pccard_ifconfig?

  Thanks,

-lewiz.

-- 
Pereant, inquit, qui ante nos nostra dixerunt.
Confound those who have said our remarks before us.
-- Aelius Donatus

--|| url: http://lewiz.info/ | http://www.westwood.karoo.net/pgpkey ||--



msg13377/pgp0.pgp
Description: PGP signature


Re: 3c589/PCMCIA.

2002-12-26 Thread lewiz
On Thu, Dec 26, 2002 at 09:46:51AM +0100, Marcel Stangenberger wrote:
 i have almost the same problem with my 3Com 3C589 card.
 The light is not suppossed to blink tho, when i boot windows the light
 simply burns to indicate link and that is al it does. When i boot freebsd
 the light goes on and it does recieve a DHCP link. But after that all
 network communication fails. If not yet found a solution to it. But i was
 thinking that it might be because the pcmcia-controller from toshiba
 (laptop is a tecra 700CT) is not supported?
 

w00t!

I was playing around with some options on a 4.4-RELEASE disc1 ISO I'd
burnt.  I have now got it working.  I'm just about to test if it'll work
on 5.0-DP2.  A guy on eu.openprojects.net in #freebsd told me to disable
all unrequired devices in visual config.  I did this and it actually
didn't even detect this time, so I switched slots, rebooted and did the
same.  After this it actually detected and DHCP worked to resolve my IP.
I used the 10BaseT port (UTP) instead of my preferred 10Base2 (BNC).

Maybe you could try the same.

-lewiz.

-- 
I have the world's largest collection of seashells.  I keep it
scattered around the beaches of the world ... Perhaps you've seen it.
-- Steven Wright

--|| url: http://lewiz.info/ | http://www.westwood.karoo.net/pgpkey ||--



msg13378/pgp0.pgp
Description: PGP signature


3c589/PCMCIA.

2002-12-25 Thread lewiz
Hi,

  I've just got hold of a laptop for Christmas.  It has a PCMCIA network
card - a 3COM EtherLink III 3C589.  I am way out of date and still have
Coax running around my house, so it needs to be using the 10Base2 not
10BaseT.

  My problem is, the card is detected as ep0 yet I have a feeling that
it might be better as zp0.  I am not certain about this.

  The problem is - while it gets detected, quite well, I think.  I can
see lights change on the NIC as it detects it, which suggests the
probing is working fine.  It doesn't actually communicate with the
netwrok.  When I try and resolve my address via DHCP it doesn't flash or
anything.  Maybe I'm missing something.  I can provide any information
required.

  Any help would be much appreciated,

-lewiz.

-- 
No matter how subtle the wizard, a knife in the shoulder blades will
seriously cramp his style.

--|| url: http://lewiz.info/ | http://www.westwood.karoo.net/pgpkey ||--



msg13285/pgp0.pgp
Description: PGP signature


Re: 3c589/PCMCIA.

2002-12-25 Thread lewiz
Hi,

  Just been told by somebody that PNP in the BIOS should be disabled.  I
have actually already got it disabled, so this doesn't seem to be the
issue.

-lewiz.

-- 
Hurewitz's Memory Principle:
The chance of forgetting something is directly proportional
to . to  uh ..

--|| url: http://lewiz.info/ | http://www.westwood.karoo.net/pgpkey ||--



msg13287/pgp0.pgp
Description: PGP signature


DTP under FreeBSD/UNIX.

2002-12-22 Thread lewiz
Hi,

  I'm looking for some powerful DTP software for FreeBSD / UNIX in
general (Linux would be fine, emulation is nice :).  I am familiar with
CorelDRAW (I have version 10) but so long as the software is quite
powerful I'd be willing to put the effort in to learn it.

  I want to design a yearbook for my college, I've got some nice stuff
in CorelDRAW right now.  It'd need to be fairly sturdy.  Any information
would be appreciated.  I know of the KDE/GNOME projects but haven't used
them, any feedback on these would be good.

  Thanks very much,

-lewiz.

-- 
No, `Eureka' is Greek for `This bath is too hot.'
-- Dr. Who

--|| url: http://lewiz.info/ | http://www.westwood.karoo.net/pgpkey ||--



msg12899/pgp0.pgp
Description: PGP signature


Re: DTP under FreeBSD/UNIX.

2002-12-22 Thread lewiz
On Sun, Dec 22, 2002 at 04:47:55PM -0500, David S. Jackson wrote:
 On Sun, Dec 22, 2002 at 04:07:13PM + lewiz [EMAIL PROTECTED] wrote:
  Hi,
  
I'm looking for some powerful DTP software for FreeBSD / UNIX in
  general (Linux would be fine, emulation is nice :).  
 
 Hi Lewiz.  Powerful is a funny word to use when comparing
 Windows/Earlymac software with *Nix.  TeX and groff are some of the most
 powerful typesetting/publishing software ever created, but there's a
 steep learning curve before you can be productive with it.

Hehe, yeah, I agree.  I've been playing around with TeX for a while just
recently.  I can do a bit with it - ie, write an essay, include a few
pictures but tbh, I really would _hate_ to try and do a modern
graphics-intensive DTP project in it.  It's almost too clumsy yet...
much more elegant at the same time ;)

 though I doubt they're anywhere near where FrameMaker and that type of
 software is (was?).

Hehe, still is.  I've looked at it a bit - for Windows only though.
There was a Linux BETA of FrameMaker (or maybe it was PageMaker) but I
couldn't get it to run under emulation, which was a bit disappointing.

 May I suggest that you take a larger view of the project and consider
 various ways to use the data that goes into a yearbook.  It might be
 possible to create an SGML application with an SQL database that could
 give you many ways to reuse the data, including camera ready copy for
 the printer.  But if you think of the data clearly and efficiently, you
 could also generate output for CDs for your class or school, a class
 website, specialized products for special interest groups in your class
 (sell the wrestling team or whoever all their data that didn't make it
 into the yearbook, for instance), or even print a web-based yearbook as
 well, without the restrictions that come with the printed format.

I'm toying with the idea of a website now.  For my school ICT coursework
I'm doing some PHP coding for an ex-pupils website.  Once I've finished
this I might modify it a bit and make it the perfect base for such an
idea.  Not got far with this yet, though.

  Thanks very much for your ideas, they've been very useful.

-lewiz.

-- 
A consultant is a person who borrows your watch, tells you what time it
is, pockets the watch, and sends you a bill for it.

--|| url: http://lewiz.info/ | http://www.westwood.karoo.net/pgpkey ||--



msg12949/pgp0.pgp
Description: PGP signature


Re: DTP under FreeBSD/UNIX.

2002-12-22 Thread lewiz
On Sun, Dec 22, 2002 at 12:15:55PM -0800, nate wrote:
I want to design a yearbook for my college, I've got some nice stuff
  in CorelDRAW right now.  It'd need to be fairly sturdy.  Any information
  would be appreciated.  I know of the KDE/GNOME projects but haven't used
  them, any feedback on these would be good.
 
 never used it before but it's been out for a while:
 
 http://linux.corel.com/products/draw/index.htm

Yeah, I knew about this.  Unfortunately, it's no longer available for
purchase and, what I consider to be even more important - if I've
already paid for it, I don't feel totally happy paying again for the
same thing, simply for a different platform!  grin

 also never tried but ..
 http://xibios.free.fr/english/xclamation.html

I've just had a look at the website and I've never heard of this before.
The screenshots look _very_ encouraging.  Looks like the site is a bit
dodgy -- some of the links don't work and stuff.  I'll see what I can do
with this one, and tell you how I get on.

  Thanks very much for the details.

-lewiz.

-- 
The Kennedy Constant:
Don't get mad -- get even.

--|| url: http://lewiz.info/ | http://www.westwood.karoo.net/pgpkey ||--



msg12951/pgp0.pgp
Description: PGP signature


Re: (da0:ahc0:0:0:0): Unexpected busfree in Data-in phase

2002-12-21 Thread lewiz
On Sat, Dec 21, 2002 at 12:12:22PM +0100, Joan Picanyol i Puig wrote:
 (da0:ahc0:0:0:0): Unexpected busfree in Data-in phase

Hi,

  This looks like you've got an Adaptec ahc SCSI controller, to me?  Am
I right?  I was wondering if I could awfully cheeky and ask if I could
see your kernel config for the device.  I've been trying to get an
AHA-2920 working for some time now and I have not yet got the kernel to
even probe it (after booting in verbose mode).  I'm wondering whether or
not I have my kernel config. wrong.

  Thanks very much,

-lewiz.

-- 
Sattinger's Law:
It works better if you plug it in.

--|| url: http://lewiz.info/ | http://www.westwood.karoo.net/pgpkey ||--



msg12823/pgp0.pgp
Description: PGP signature


Re: QoS and jails.

2002-12-16 Thread lewiz
On Sun, Dec 15, 2002 at 02:53:09PM +, lewiz wrote:
   I've not really much (any) knowledge of QoS.  I am wondering whether
 it would be possible to de-prioritize bandwidth from a certain ip
 address?
   Ideally I want a jail on my gateway for setting up downloads (using
 wget).  Since I am only on 56k this kills web browsing speeds for the
 other workstations -- if the jail were deprioritized it would kick in
 only if there was no other traffic.
 
   Is this possible with QoS (or anything else) and if so, how?

  I've done a bit of hunting myself and I've come to the conclusion that
this _is_ possible through using DUMMYNET and IPFW (the controller for
dummynet).  However, having read the DUMMYNET and IPFW man pages and
searched Google for tutorials I have turned up very little.

  What I am trying to do:

192.168.0.1 is a gateway w/ nat.
192.168.0.4 is a downloading machine.
192.168.0.10-20 are workstations.

  I only have a 56k modem, so if somebody is downloading something from
192.168.0.4 the Internet access effectively stops for the workstations.
  Therefore I want to deprioritize Internet access from the downloading
machine so it only utilizes ``free'' bandwidth.  I guess this is almost
like setting the nice of a process to 20.

  Any ideas?  One useful page I've found is
http://info.iet.unipi.it/~luigi/ip_dummynet/ but I still don't think it
has quite what I want to do.

-lewiz.

-- 
Life would be much simpler and things would get done much faster if it
weren't for other people
-- Blore

--|| url: http://lewiz.info/ | http://www.westwood.karoo.net/pgpkey ||--



msg12240/pgp0.pgp
Description: PGP signature


Re: Wheelmouse

2002-12-16 Thread lewiz
On Mon, Dec 16, 2002 at 04:07:46PM +0200, Wayne Swart wrote:
 i got like a generic type wheelmouse, and is running fbsd 4.7

How about this anybody.  I have a Logitech TrackMan Marble FX.  It's
actually a trackball.  It has four buttons.  Left, right and middle work
fine.  However, the Windows software provides a scroll function when a
forth button is pressed in conjunction with moving the ball.

I've used xev and I can generate events for left, middle and right
buttons but nothing happens for the fourth button.

I am actually using MouseSystems /dev/sysmouse (in conjunction with
moused) as I have two mice.

I can switch to just PS/2 but does anybody know how I might set up
similar functionality in FreeBSD as Windows.  Also, is there any way I
can make my middle button double-click (but also retain other uses, when
defined in applications)?

Many thanks.

-lewiz.

-- 
Sanity is the trademark of a weak mind.
-- Mark Harrold

--|| url: http://lewiz.info/ | http://www.westwood.karoo.net/pgpkey ||--



msg12243/pgp0.pgp
Description: PGP signature


Re: Bandwidth allocation - is this possible?

2002-12-16 Thread lewiz
Hi,

  I've been looking into something I've wanted to do (prioritizing
bandwidth based on IPs).  You could try looking at the man pages for
ipfw and dummynet (where ipfw is the controller application for a
dummynet).  I'm 99% certain you can achieve the desired result in this
way.

-lewiz.

-- 
[Nuclear war] ... may not be desirable.
-- Edwin Meese III

--|| url: http://lewiz.info/ | http://www.westwood.karoo.net/pgpkey ||--



msg12259/pgp0.pgp
Description: PGP signature


Re: unknow chars from dmesg

2002-12-15 Thread lewiz
On Sat, Dec 14, 2002 at 09:14:10PM -0800, ann kok wrote:
 mail# dmesg 
 
;1H\^[[m\^[[19;2H\^[[m\^[[20;2H\^[[m\^[[21;2H\^[[m\^[[9;1H\^[[m\^[[7m\^[[m\^[[23;1H\^[[m\^[[23;1H\^[[m\^[[1m\^[[m\^[[1m\^[[m\^[[9;1H\^[[9;1H\^[[m\^[[m\^[[23;1H\^[[m\^[[23;1H\^[[m\^[[1m\^[[m\^[[1m\^[[m\^[[9;1H\^[[m\^[[19;1H\^[[m\^[[20;1H\^[[m\^[[21;1H\^[[m\^[[19;2H\^[[m\^[[21;2H\^[[m\^[[19;27H\^[[m\^[[8;1H\^[[m\^[[7m\^[[m\^[[23;1H\^[[m\^[[23;1H\^[[m\^[[1m\^[[m\^[[1m\^[[m\^[[8;1H\^[[8;1H\^[[m\^[[m\^[[23;1H\^[[m\^[[23;1H\^[[m\^[[1m\^[[m\^[[1m\^[[m\^[[8;1H\^[[m\^[[19;1H\^[[m\^[[20;1H\^[[m\^[[21;1H\^[[m\^[[19;2H\^[[m\^[[20;2H\^[[m\^[[21;2H\^[[m\^[[9;1H\^[[m\^[[7m\^[[m\^[[23;1H\^[[m\^[[23;1H\^[[m\^[[1m\^[[m\^[[1m\^[[m\^[[9;1H\^[[m\^[[19;1H\^[[m\^[[20;1H\^[[m\^[[21;1H\^[[m\^[[19;1H\^[[m\^[[1m\^[[m\^[[1m\^[[m\^[[1m\^[[m\^[[m\^[[m\^[[H\^[[Javail

This looks suspiciously like ANSI escape sequences to me.  I'm most
likely wrong but doesn't anybody ever remember messing about with that
sort of stuff to change colors?

-lewiz.

-- 
Hindsight is an exact science.

This message is intended only for the use of the person(s) (``the
intended recipient(s)'') to whom it is addressed.  It may contain
information which is privileged and confidential within the meaning of
applicable law.  If you are not the intended recipient, please contact
the sender as soon as possible.

--|| url: http://lewiz.info/ | http://www.westwood.karoo.net/pgpkey ||--



msg12116/pgp0.pgp
Description: PGP signature


QoS and jails.

2002-12-15 Thread lewiz
Hi,

  I've not really much (any) knowledge of QoS.  I am wondering whether
it would be possible to de-prioritize bandwidth from a certain ip
address?
  Ideally I want a jail on my gateway for setting up downloads (using
wget).  Since I am only on 56k this kills web browsing speeds for the
other workstations -- if the jail were deprioritized it would kick in
only if there was no other traffic.

  Is this possible with QoS (or anything else) and if so, how?

Thanks very much,

-lewiz.

-- 
For an idea to be fashionable is ominous, since it must afterwards be
always old-fashioned.

--|| url: http://lewiz.info/ | http://www.westwood.karoo.net/pgpkey ||--



msg12118/pgp0.pgp
Description: PGP signature


cp/mv verbose options.

2002-12-02 Thread lewiz
Hi,

  This might sound like quite an odd questions but does anybody know if
there is a way to have a simple verbose cp/mv output that shows a time
elapsed/remaining counter, or the number of bytes copied?  Very much
like the copy progress bar used in wget or something similar.
  Mostly this would be pointless but it could kick in if files are over
a certain file size (ie, copying ISO files across network disks).

  Any solutions exist?

-lewiz.

-- 
When a fly lands on the ceiling, does it do a half roll or a half
loop?

--|| url: http://lewiz.info/ | http://www.westwood.karoo.net/pgpkey ||--



msg10788/pgp0.pgp
Description: PGP signature


Re: Mail to News software suggestions?

2002-11-24 Thread lewiz
On Sat, Nov 23, 2002 at 06:12:45PM -0500, Doug Lee wrote:
 
 Now, if you know of a mail reader sporting an nn/trn-style UI, I'm all
 ears! :)
 
Hi, I use mutt for reading mail.  From what I've read I'm quite sure
that with some clever use of keybindings you could set all of that up
easily.

set sort=reverse-threads

might be of use -- it groups all messages together much the same way as
most newsreaders do.  Tell me how you get on, if you decide to go down
this route, I'd be interested to see what you come up with.

  Best wishes,


-lewiz.

-- 
The older I grow the more I distrust the familiar doctrine that age
brings wisdom.
-- H. L. Mencken

--|| url: http://lewiz.info/ | http://www.westwood.karoo.net/pgpkey ||--



msg10042/pgp0.pgp
Description: PGP signature


Mutt / NNTP_patch.

2002-11-24 Thread lewiz
Hi,

  Like many of you I use mutt for email.  I recently reinstalled mutt
and included the NNTP patch allowing me to read news directly through
mutt.  However, I have the same home directory (and therefore muttrc)
shared across many machines - not all of which have the nntp patch.
Because I have nntp switches in my muttrc is there any way I can have
these ignored and not throw errors if I am running a version of mutt
without the patch?

  Thanks very much,

-lewiz.

-- 
To iterate is human, to recurse, divine.

--|| url: http://lewiz.info/ | http://www.westwood.karoo.net/pgpkey ||--



msg10045/pgp0.pgp
Description: PGP signature


Re: nVidia drivers w/ 4.7-RELEASE

2002-11-21 Thread lewiz
On Thu, Nov 21, 2002 at 08:25:39AM +0530, Gautham Ganapathy wrote:
 Will the nvidia drivers work with 4.7-RELEASE? 4.7-STABLE won't have
 ISOs, right?

You need 4.7-STABLE to get the NVidia drivers working.  I don't know
exactly what -RELEASE is missing but I'm quite sure.  There are still
problems with them (they hang my machine all the time) so be prepared
for trouble.

-lewiz.

-- 
There's no future in time travel.

--|| url: http://lewiz.info/ | http://www.westwood.karoo.net/pgpkey ||--



msg09657/pgp0.pgp
Description: PGP signature


Re: Advantages over GNU/Linux?

2002-11-21 Thread lewiz
On Sat, Nov 16, 2002 at 07:45:21PM -0500, Lee Nelson wrote:
 P.S. if you need a virus scanner on FreeBSD check out
  VirusScan from Network Associates.  They have a
  command line scanner that integrates with Amavis
  and is very simple to install and update.
  Not affliated, just impressed.

This sounds interesting - can you provide any more details?

-lewiz.

-- 
What is wanted is not the will to believe, but the will to find out,
which is the exact opposite.
-- Bertrand Russell, Skeptical_Essays, 1928

--|| url: http://lewiz.info/ | http://www.westwood.karoo.net/pgpkey ||--



msg09659/pgp0.pgp
Description: PGP signature


``root''?

2002-11-04 Thread lewiz
Hi,

  I've been wondering - what does ``root'' stand for?  I've just been
doing some calculus as part of my math. homework and I've just written
down ``there are no ``real'' roots'' - is this possibly something to do
with the meaning of ``root'' - i.e. root = answer?

  I'm probably way off but any ideas?

-lewiz.

-- 
Any philosophy that can be put in a nutshell belongs there.
-- Sydney J. Harris

This message is intended only for the use of the person(s) (``the
intended recipient(s)'') to whom it is addressed.  It may contain
information which is privileged and confidential within the meaning of
applicable law.  If you are not the intended recipient, please contact
the sender as soon as possible.

--|| url: http://lewiz.info/ | http://www.westwood.karoo.net/pgpkey ||--



msg07664/pgp0.pgp
Description: PGP signature


Re: ``root''?

2002-11-04 Thread lewiz
On Mon, Nov 04, 2002 at 04:53:26PM -0600, Kirk Strauser wrote:
 
 At 2002-11-04T22:00:37Z, lewiz [EMAIL PROTECTED] writes:
 
  I've been wondering - what does ``root'' stand for?
 
 My understanding is that 'root' is the user that owns the base of the
 filesystem (the 'root' of the tree structure) and has full access to
 everything beneath it.  Think of root in the 'tree' data structure sense.
 
  This message is intended only for the use of the person(s)...
 
 Ummm, think you could pick a different sig for use on mailing lists?

Ah, yeah, sorry - I replied from the CC: to me so the mutt folder-hook
didn't kick in.  My bad ;)

-lewiz.

-- 
Katz' Law:
Man and nations will act rationally when all other
possibilities have been exhausted.

--|| url: http://lewiz.info/ | http://www.westwood.karoo.net/pgpkey ||--



msg07671/pgp0.pgp
Description: PGP signature


Re: ``root''?

2002-11-04 Thread lewiz
On Mon, Nov 04, 2002 at 04:03:26PM -0600, Larry Rosenman wrote:
 On Mon, 2002-11-04 at 16:00, lewiz wrote:
  Hi,
  
I've been wondering - what does ``root'' stand for?  I've just been
  doing some calculus as part of my math. homework and I've just written
  down ``there are no ``real'' roots'' - is this possibly something to do
  with the meaning of ``root'' - i.e. root = answer?
 Root of the user tree.  Root of all users.  Root of the machine. 
 
 Tradition. 

Maybe I was reading into it just a bit too deep then... ;)

 
 -- 
 Larry Rosenman http://www.lerctr.org/~ler
 Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED]
 US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 


-lewiz.

-- 
Patageometry, n.:
The study of those mathematical properties that are invariant
under brain transplants.

--|| url: http://lewiz.info/ | http://www.westwood.karoo.net/pgpkey ||--



msg07717/pgp0.pgp
Description: PGP signature


Re: Upgrading a system with multiple jails

2002-10-27 Thread lewiz
On Sun, Oct 27, 2002 at 08:19:35PM +1100, BSD Freak wrote:
 Hi all,
 
 I have a system running multiple jails.Anyone know of a good (ie 
 fast, non-risky) proceedure to upgrade the host system and all the 
 jails it runs
 
 Thanks.
 
 -
 Would you like to receive faxes to your personal email address?
 You can with mBox.  Visit http://www.mbox.com.au/fax
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 

Hi,

  First off - make a backup.  There are some good articles over at
ONLamp.com about that (tar, pax, dump, restore, etc.).  After that all I
do is make buildworld in singleuser.  Then I switch to single-user
installworld and compile my kernel - this then gets installed and I just
run make installworld DESTDIR=/kernel.  This has caused no problems so
far.
  You could try disabling the jails at startup (if you have them running
by default) and just upgrade the host as per usual.  Then you could tar
the jails as a backup and make installworld after that - then just start
them back up again.

  Neither of these has caused any problems for me.

-lewiz.

-- 
... My pants just went on a wild rampage through a Long Island Bowling
Alley!!

--|| url: http://lewiz.info/ | http://www.westwood.karoo.net/pgpkey ||--



msg06717/pgp0.pgp
Description: PGP signature


Re: Alternative MTA that doesn't use /etc/passwd

2002-10-26 Thread lewiz
Hi,

  I used to use Courier, which includes Courier-IMAP (a popular
IMAP/POP3 server).  Courier supports Maildir and can use all sorts of
authentication methods.  Check out http://www.courier-mta.org/ for
details on all that it supports.
  Recently I have switched to QMail/Courier-IMAP because QMail has
better support for pre-delivery virus and spam checking.  You might want
to read the docs for QMail as to whether or not it also supports
alternative authentication methods as I am enjoying using it more than
Courier... so far.

-lewiz.

On Sat, Oct 26, 2002 at 07:59:38PM +1000, BSD Freak wrote:
 Hi all,
 
 Does anyone know of a good sendmail replacement with POP3/SMTP/IMAP 
 support and which has it's own user/password list rather than using the 
 system user/password list...
 
 Thanks in advance..
 
 -
 Faxes delivered directly to any email address, new to mBox!
 Find out more http://www.mbox.com.au/fax
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 

-- 
The more things change, the more they stay insane.

This message is intended only for the use of the person(s) (``the
intended recipient(s)'') to whom it is addressed.  It may contain
information which is privileged and confidential within the meaning of
applicable law.  If you are not the intended recipient, please contact
the sender as soon as possible.

--|| http://lewiz.info/ | http://www.westwood.karoo.net/pubring.gpg ||--



msg06423/pgp0.pgp
Description: PGP signature


Re: mailer

2002-10-26 Thread lewiz
On Sat, Oct 26, 2002 at 06:00:37PM +0200, mess-mate wrote:
 Hi,
 is there any mailer as for ex. mutt but with a 
 graphical front-end in console ? Debian Woody.
 Thanks for your help
 mess-mate
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 

  mutt has a graphical front-end.  You could try pine though, if you
don't like mutt.  I think you are posting to the wrong mailing list, try
a Debian one.

-lewiz.

-- 
Reflections on Ice-Breaking
Candy
Is dandy
But liquor
Is quicker.
-- Ogden Nash

This message is intended only for the use of the person(s) (``the
intended recipient(s)'') to whom it is addressed.  It may contain
information which is privileged and confidential within the meaning of
applicable law.  If you are not the intended recipient, please contact
the sender as soon as possible.

--|| url: http://lewiz.info/ | http://www.westwood.karoo.net/pgpkey ||--



msg06456/pgp0.pgp
Description: PGP signature


Re: mutt address book

2002-10-26 Thread lewiz
Hi,

  I've been using abook for quite some time but I didn't realize it had
any association with mutt.  Are you saying that it can be invoked from
within mutt (i.e. when I try and go to the address book - not through
the regular execution of a programme)?  Thanks,

-lewiz.

On Fri, Oct 25, 2002 at 11:07:30AM -0400, John Bleichert wrote:
 On Fri, 25 Oct 2002, Brian Henning wrote:
 
  Date: Fri, 25 Oct 2002 10:03:31 -0500
  From: Brian Henning [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Subject: mutt address book
  
  Hello,
  
  I know this is a bad question to ask but, i would like to know if mutt
  stores addess in an address book similar to how pine does it. if so what
  commands can i use to store and access these addresses.
  
  thanks,
  brian
  
 
 IIRC mutt stores its address in its rc file. However, there is an 
 addressbook for mutt in the ports tree called 'abook' which works pretty 
 well. It's not as featureful as the pine addressbook but it's pretty good.
 
 HTH - JB
 
 #  John Bleichert 
 #  http://vonbek.dhs.org/latest.jpg
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 

-- 
Our vision is to speed up time, eventually eliminating it.
-- Alex Schure

This message is intended only for the use of the person(s) (``the
intended recipient(s)'') to whom it is addressed.  It may contain
information which is privileged and confidential within the meaning of
applicable law.  If you are not the intended recipient, please contact
the sender as soon as possible.

--|| http://lewiz.info/ | http://www.westwood.karoo.net/pubring.gpg ||--



msg06686/pgp0.pgp
Description: PGP signature


Re: UDMA limited to 33 - resolution

2002-10-23 Thread lewiz
Hi,

  Afaik, UDMA100 is only supported if there is just one device on the
channel.  Feel free to shoot me if I am incorrect, which is quite
possible.  Just double-check by asking Google or something - but I have
a gut feeling this may be the case.

-lewiz.

On Wed, Oct 23, 2002 at 12:38:00PM -0700, Steve Warwick wrote:
 Hi, 
 
 Thanks to all of you that answered my call for help.
 
 Problem: dmesg / boot reported bus limited to UDMA33.
 
 Results:
 
 - CD-Rom was causing the problem. Once taken off the bus, UDMA100 was
 recognized.
 
 - Added a UDMA66 HD in place of the CD and the bus was limited to UDMA33
 
 - Swapped the placement of the UDMA100 Master and the UDMA66 Slave on the
 bus and all items were recognized correctly. Master is now last on the
 chain.
 
 
 hth
 
 
 Steve Warwick
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 

-- 
Experience is what causes a person to make new mistakes instead of old
ones.

This message is intended only for the use of the person(s) (``the
intended recipient(s)'') to whom it is addressed.  It may contain
information which is privileged and confidential within the meaning of
applicable law.  If you are not the intended recipient, please contact
the sender as soon as possible.

--|| http://lewiz.info/ | http://www.westwood.karoo.net/pubring.gpg ||--



msg05562/pgp0.pgp
Description: PGP signature