Re: Problem with cups

2003-09-27 Thread Glenn Johnson
On Sun, Sep 28, 2003 at 01:29:54AM +0800, Khairil Yusof wrote:

 On Sun, 2003-09-28 at 01:01, Todd Stephens wrote:

  When you say foomatic-rip from ports, is this the foomatic-db port?
  I cannot find a port for foomatic-rip (which I thought was just a
  Perl script anyway).  I eventually gave up on foomatic with my Epson
  C82 and used the straight Epson C82 driver from the gimp-print
  collection.

 Whoops.. my bad.

 This was actually installed with patches to hpijs from this PR:
 http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/54156

I sent that PR in, a long time ago.

 I wonder why it wasn't committed since July.

Please send an e-mail to Doug Barton [EMAIL PROTECTED] about this. I
have been trying to gently prod him to commit the patches but it has
gone nowhere.

 You need to install the foomatic-db port..

I do not think that is true. The OP said he had a 930c and the ppd for 
that is installed with the _patched_ hpijs.

-- 
Glenn Johnson
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: GDM Greeter cores on FreeBSD

2003-09-07 Thread Glenn Johnson
On Sun, Sep 07, 2003 at 11:18:20PM +0200, Kees Jan Koster wrote:

 Dear All,

 I use the Gnome GDM2 greeter in graphical mode, but recent versions of
 it dump core (signal 6). This happens on both machines that I use it
 on.  One is a desktop and the other is a laptop, so I dounbt it is a
 hardware issue.

 My OS is FreeBSD-stable, cvsupped as of this week. I use portupgrade
 to keep my ports up to date.
 
 To reproduce:
 
  * install recent (this week) version of FreeBSD's gdm2 port.
  * start it using the shell script in /usr/X11R6/etc/rc.d
  * choose the configure option
  * enter root password
  * pick graphical mode
  * *churn, churn* *POW* signal 6
 
 warning: GDM greeter will not restart at all after following the above
 procedure. I removed the port and reinstalled it to fix the problem.

 Plain mode (default) works fine, so that is what I use now.

 Anyone else see this problem? How do I fix this?

Yes, I see this same behavior.  It started after a recent update but
I was not paying close enough attention to know which one.  I just
switched to the standard greeter (gdmlogin) as I have had too many other
things to worry about as of late.

-- 
Glenn Johnson
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Playing audio cd while using atapicam (4.8R)

2003-09-06 Thread Glenn Johnson
On Sat, Sep 06, 2003 at 05:47:57PM -0400, Todd Stephens wrote:

 I have an ATAPI CD writer that I have on /dev/cd0c via atapicam.  It
 works fine for regular data use, but I can't seem to play an audio
 cd with it.  I have tried both xmcd and KsCD under KDE.  In both,
 the device used is the raw device /dev/rcd0c which has the same
 permissions and ownership as the regular /dev/cd0c device.

 With xmcd, the audio cd is at least recognized as the correct artist
 and album name is displayed, but it will not play.  Under KsCD, the cd
 information is not displayed, but it will at least let me push play.
 The only problem is that the counter stays at 00:00 and no audio comes
 out.

 Is there some other procedure that I need to do first to enable the
 playing of audio cd?  I thought about maybe adding /dev/rcd0c to the
 fstab file, but I don't know if that is the way to go about it.  Thank
 you for any assistance.

Set the device in your CD playing software to the ATAPI device, most
likely, /dev/acd0.

-- 
Glenn Johnson
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Galeon2 open menu question

2003-09-01 Thread Glenn Johnson
On Mon, Sep 01, 2003 at 01:42:34PM -0400, stan wrote:

 Im trying to set up a machine using Gnome2. One of the chages
 (aparently) is that I seem to need to be running Galen2 Well, like
 a lot of the other gnome 2 stuff it seems to be sunstainly less
 featurfull than the Gnome 1.4 stuff I' acustomed to,

 So, on to a specif question. When I type CTRL O in Galeon (the
 original, I get a nice URL entry popup. In Gnome 2 I get (believe it
 ot not) a FILE open window. Last time I check this application was a
 WWW browser, not a file manager (like I need one of those ?).

 So, can I change this behavior?

You want to type CTRL-L.  This is pretty much the standard shortcut to 
enter a URL, even IE uses CTRL-L

-- 
Glenn Johnson
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: CUPS w/ gimp-print *still *prints garbage on Stylus C82 afterreinstall on 5.1-RELEASE

2003-08-11 Thread Glenn Johnson
On Mon, Aug 11, 2003 at 07:59:28PM -0400, Matthew Graybosch wrote:

 On Mon, 2003-08-11 at 00:43, David Johnson wrote:

  Did you delete the lp* binaries before or after you installed
  cups? If after, then reinstall cups.

 I reinstalled both cups and gimp-print, installing the following
 ports:

 /usr/ports/print/cups
 /usr/ports/print/cups-base
 /usr/ports/print/cups-lpr
 /usr/ports/print/cups-pstoraster
 /usr/ports/print/gimp-print

You do not say what versions of the software programs you are using.
The subject line says FreeBSD-5.1 RELEASE, so I assume you are using the
ports/packages from the CD.  If that is the case, printing was broken
with cups and gimp-print at that time due to an incompatibility between
ghostscript and cups-pstoraster.  The answer is to cvsup a fresh ports
tree and install the latest versions of the ports.  If you already have
the latest versions installed then you have some other problem.

-- 
Glenn Johnson
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: CUPS and HP LaserJet 4V printer: variable width font becomesfixed width

2003-07-30 Thread Glenn Johnson
On Wed, Jul 30, 2003 at 02:01:05PM +0900, Rob Lahaye wrote:

 Glenn,

 According to your comments (see below), the problem I addressed some
 weeks ago, was caused by the FreeBSD port at some stage during the
 upgrade to version 7.07 of ghostscript-gnu.

 Presently 7.07 has port upgrade _3. I wonder if the problem has been
 addressed and solved by now. I am asking, since I am afraid it may be
 difficult/impossible to downgrade again, after upgrading the 7.07_3.

 My current version check says:
 
 cups-pstoraster-7.05.6needs updating (port has 7.07)
 ghostscript-gnu-7.05_4needs updating (port has 7.07_3)
 
 
 Thanks for your help,
 Rob.

The problem has been resolved and the PR I had filed has been closed.
You should be okay with doing the upgrades.  You did not mention your
cups version above but that has also been updated.  Do not forget to
restart the cups scheduler after all of the upgrades have completed.

-- 
Glenn Johnson
USDA, ARS, SRRC  Phone: (504) 286-4252
New Orleans, LA 70124   e-mail: [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 3ware Support Question

2003-07-30 Thread Glenn Johnson
On Wed, Jul 30, 2003 at 12:07:15PM -0500, Robert Covell wrote:

 Peter Elsner wrote:

 Have had no problems using the 6000/7000/8000 series of cards on 4.6
 to 4.8...  Have not tried 5.0/5.1
 
 Peter Elsner
 
 
 At 11:13 AM 7/30/2003 -0500, you wrote:
 
 I am wanting to use a 3ware raid card so I can get IDE RAID1+0 for
 a new mail server.  Heard nothing but good things about them and
 FreeBSD.
 
 The card is: 7506-4LP
 
 But do not know if 4.8 supports this specific card.  The notes say:
 3ware Escalade ATA RAID controllers ( twe(4) driver) 5000 series
 6000 series 7000 series
 
 The same support is in 5.0.
 
 Is 7506-4LP a 7000 series card or is it a 7500 series card?
 
 There was a previous thread about the 7500 series card potentially
 causing corruption.  Has anybody heard additional information
 regarding this?

 So then I can assume that a 7506 IS a 7000 series?

 Just trying to make sure before I buy all the hardware.

According to the 3ware Web site, the 7506 uses a different firmware,
driver, and utility series than the 7500 models.  I would not _assume_  
that it would work. 

Although there is someone who recently started working on the FreeBSD
driver for 3ware cards (sorry, can not remember the name), 3ware does
not support FreeBSD in any way.  I have a 7500-8 card and I have had
firmware issues with it.  It turns out that I can not use the card for
RAID1+0, which is what you said you wanted, because the array can not
initialize after a drive failure in RAID1+0 mode.  I had to reconfigure
my array as RAID-5.  That was not fun but it does work well in RAID-5
mode.  That being said, I know there are other FreeBSD users who have
successfully used a 7500 card for RAID1+0.  It depends on what hardware
revision you get.

I would strongly encourage you to buy the 7506 from a vendor that will
allow you to easily return it should it not work under FreeBSD for you.

-- 
Glenn Johnson
USDA, ARS, SRRC  Phone: (504) 286-4252
New Orleans, LA 70124   e-mail: [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /etc/services and NIS

2003-07-17 Thread Glenn Johnson
On Thu, 2003-07-17 at 19:48, Callum Gibson wrote:
 Does anyone know if you need to reboot for the + in /etc/services to
 take effect? I've added a + at the end of /etc/services on my FreeBSD
 4.8-RELEASE box but getservbyname calls still fail unless I have the
 service entries explictly entered into the file. A ypcat services
 works fine so NIS is okay. Is this supposed to work?

You have remake your NIS maps.  Go to /var/yp and type make as root.

-- 
Glenn Johnson
[EMAIL PROTECTED]


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


Re: GNOME/CUPS printing.

2003-07-14 Thread Glenn Johnson
On Mon, Jul 14, 2003 at 10:13:22AM -0700, K Anderson wrote:


 lewiz wrote:

 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.

 By chance do you have cups-lpr installed? Be sure you read the
 Makefile and a couple of other files because you will needo to
 tell /etc/make.conf to forever more not make the lp* stuff (that
 information is in man make.conf) because cups has its own version of
 the lp* items.  Everytime you makeworld you'll wipe it out.

 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.

Also, that has nothing to do with the original poster's question.  He
is asking about integration of cups in GNOME.  It is possible to print
using cups without having cups-lpr installed with utilities such as that
provided with KDE (kprinter).

To the original poster: The closest thing that is in the FreeBSD ports
system is gtklp.  This is a gtk-1.2 application though so does not
really integrate into gnome2.

I saw a printer utility in GNOME either on a Red Hat or Mandrake Linux
system that I think does integrate into gnome but I do not know what the
utility was called.  I will have to look around a bit.

-- 
Glenn Johnson
USDA, ARS, SRRC  Phone: (504) 286-4252
New Orleans, LA 70124   e-mail: [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: GNOME/CUPS printing.

2003-07-14 Thread Glenn Johnson
On Mon, Jul 14, 2003 at 06:26:02PM -0400, Joe Marcus Clarke wrote:

 On Mon, 2003-07-14 at 14:50, Glenn Johnson wrote:

  I saw a printer utility in GNOME either on a Red Hat or Mandrake
  Linux system that I think does integrate into gnome but I do not
  know what the utility was called.  I will have to look around a bit.

 There is a GNOME CUPS front-end that we're playing with in my CVS
 repo, but it's not integrated into libgnomeprint yet.  It's called
 gnome-cups-manager.  I haven't done anything with it since I don't use
 CUPS.  However, if someone wants to finish the port, I can commit it.

 Joe

Joe,

I found that was the name of the port I had in mind and I started
working on porting it.  I have the port for the support library done
but have run into a snag with gnome-cups-manager proper.  Here is the
tail of the output with the error, I just got this a couple of minutes
ago and have not had a chance to really look at it but maybe you will
recognize it.  I guess it is not picking up a header from somewhere.

--- begin error output ---
Making all in gnome-cups-add
Making all in snmpkit
cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -Wunused -Wchar-subscripts 
-Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith 
-Wsign-promo -Wno-sign-compare  -DORBIT2=1 -D_THREAD_SAFE 
-I/usr/local/include/libart-2.0 -I/usr/local/include/glib-2.0 
-I/usr/local/lib/glib-2.0/include -I/usr/local/include/orbit-2.0 
-I/usr/local/include/libbonobo-2.0 -I/usr/local/include/linc-1.0 
-I/usr/local/include/bonobo-activation-2.0 -I/usr/local/include/atk-1.0 
-I/usr/local/include/libxml2 -I/usr/local/include -I/usr/X11R6/include/libgnomeui-2.0 
-I/usr/X11R6/include/libgnome-2.0 -I/usr/X11R6/include/libgnomecanvas-2.0 
-I/usr/X11R6/include/gtk-2.0 -I/usr/X11R6/include/gconf/2 
-I/usr/X11R6/include/libbonoboui-2.0 -I/usr/X11R6/include/gnome-vfs-2.0 
-I/usr/X11R6/lib/gnome-vfs-2.0/include -I/usr/X11R6/include/pango-1.0 
-I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/X11R6/lib/gtk-2.0/include 
-I/usr/X11R6/include/libglade-2.0 -I/usr/X11R6/include/libgnomecups-1  -I..  
-DPREFIX=\/usr/X11R6\  -DSYSCONFDIR=\/usr/X11R6/etc\  
-DDATADIR=\/usr/X11R6/share/gnome\  
-DGNOME_CUPS_MANAGER_DATADIR=\/usr/X11R6/share/gnome/gnome-cups-manager\  
-DLIBDIR=\/usr/X11R6/lib\  -DGNOMELOCALEDIR=\/usr/X11R6/share/locale\  
-DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED 
-DGNOME_DISABLE_DEPRECATED  -I/usr/local/include  -O -pipe -march=athlon-4 -c 
printerconf.c
printerconf.c: In function `pconf_autodetect_usb':
printerconf.c:104: `_IOC_READ' undeclared (first use in this function)
printerconf.c:104: (Each undeclared identifier is reported only once
printerconf.c:104: for each function it appears in.)
--- end error output ---

-- 
Glenn Johnson
USDA, ARS, SRRC  Phone: (504) 286-4252
New Orleans, LA 70124   e-mail: [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: CUPS and HP LaserJet 4V printer: variable width font becomesfixed width

2003-06-20 Thread Glenn Johnson
On Fri, Jun 20, 2003 at 05:59:10PM +0900, Rob Lahaye wrote:


 Hello,

 Since I have upgraded to FreeBSD 4.8 (with cups-1.1.18), printing has
 a problem with variable width fonts. Variable width fonts are printed
 out as fixed width fonts; so text looks ugly and runs over the lines.

Are you using an up-to-date version of ghostscript?  If so, that is   
the problem.  The last version of ghostscript that does not exhibit 
this problem is ghostscript-gnu-7.05_5.  I am not sure about the
version number of ghostscript-afpl but recent versions exhibit this 
problem.

See http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/52187

Try reverting your version of ghostscript to 7.05_5 and see if that
fixes the problem.

-- 
Glenn Johnson
USDA, ARS, SRRC  Phone: (504) 286-4252
New Orleans, LA 70124   e-mail: [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: nforce2 or KT400

2003-06-19 Thread Glenn Johnson
On Fri, Jun 20, 2003 at 03:01:06AM +, Lee Harr wrote:

 This is from my asus A7N8X-deluxe.

 One of the onboard nics works for sure. AGP works for regular video,
 but I have not got the 3d acceleration (DRI/DRM) working. Not sure if
 the sound actually works or not either...

I think that is the only board that enables the 3Com MAC from the MCP-T.  
It looks like sound should work as it is being detected.

 pcm0: Nvidia nForce2 AC97 controller port 
 0xd400-0xd47f,0xd000-0xd0ff mem 0xed08-0xed080fff irq 5 at device 
 6.0 on pci0
 pcm0: Realtek ALC650 ac97 codec

-- 
Glenn Johnson
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


nforce2 or KT400

2003-06-18 Thread Glenn Johnson
I posted a similar question on the hardware list but did not get a
response so I thought I would try here.

I am looking to get an AMD based motherboard.  All of the reviews I have
read indicated that the nforce2 boards are better.  Does this hold up
with regard to running FreeBSD on them?

Thanks.

-- 
Glenn Johnson
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: nforce2 or KT400

2003-06-18 Thread Glenn Johnson
On Wed, Jun 18, 2003 at 07:33:04PM -0700, Paredes Sánchez Martín A.
wrote:

 Hi Gleen:

 I am in your same situation, I am building a new PC and I've decided
 to buy an AMD processor, but I don't know witch brand to buy for the
 motherboard.

 I would like the motherboard at least has 4 USB and 2 FireWire ports,
 use DDR ram.

I think with the FireWire support the chipset is possibly an issue.
Does FreeBSD support nforce2 FireWire (via the MCP-T)?

 Can you suggest some motherboards.
 
 maps
 
   -Mensaje original-
   De: Glenn Johnson [mailto:[EMAIL PROTECTED]
   Enviado el: Miércoles, 18 de Junio de 2003 07:09 p.m.
   Para:   FreeBSD Questions
   Asunto: nforce2 or KT400
 
   I posted a similar question on the hardware list but did not get a
   response so I thought I would try here.
 
   I am looking to get an AMD based motherboard.  All of the reviews I have
   read indicated that the nforce2 boards are better.  Does this hold up
   with regard to running FreeBSD on them?
 
   Thanks.
 
   -- 
   Glenn Johnson
   [EMAIL PROTECTED]
   ___
   [EMAIL PROTECTED] mailing list
   http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail to [EMAIL PROTECTED]
 

-- 
Glenn Johnson
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


password aging

2003-06-06 Thread Glenn Johnson
Is there any way to get password aging to work properly on FreeBSD?  It
seems every time I figure out how to work around one limitation, I come
across another one.

-- 
Glenn Johnson
USDA, ARS, SRRC  Phone: (504) 286-4252
New Orleans, LA 70124   e-mail: [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: password aging

2003-06-06 Thread Glenn Johnson
On Thu, Jun 05, 2003 at 09:28:28PM +0200, Toni Schmidbauer wrote:

 On Thu, Jun 05, 2003 at 01:41:10PM -0500, Glenn Johnson wrote:

  Is there any way to get password aging to work properly on FreeBSD?
  It seems every time I figure out how to work around one limitation,
  I come across another one.

 man pw(8)

 see options -e and -p

 for example pw usermod luser -p 01072003, so the user has to change
 his pw on 01-07-2003.

 if this is not working for you, please post the error message.

I know I was vague in my message, I was beating my head against the wall
at the time.  The implementation of a password aging scheme has been
mandated by my employer.

I have used pw -p to set the age field in master.passwd.

Problems:

[1] Password aging does not work with NIS, which I use.  My
understanding is that password aging does work with nisplus, but
FreeBSD does not have that.  I figured out how to work around this
by disabling console logins on the backend nodes and just having one
machine for logins that uses local password entries.  I adjusted
nsswitch.conf accordingly.  This is a cluster so that workaround is
satisfactory for my situation.

[2] After a user changes the password, the change field in master.passwd
is set back to 0.  I want the counter to start counting another 30
days.  A cron job can handle running 'pw usermod user -p +30d' so
this is no big deal but it would be nice to have an option to repeat
the time period of expiration.

[3] Password aging does not work with xdm/gdm/kdm.  I know this is not a 
FreeBSD problem and a script in the session startup files is needed
here.

[4] This is the show-stopper.  When the password is expired, ssh logins
fail.  There is no opportunity to change the password because the
connection is closed immediately.  I get the following error:

sshd[45700]: fatal: monitor_read: unsupported request: 24

So if I need to login remotely and the password has expired, I am
out of luck.

-- 
Glenn Johnson
USDA, ARS, SRRC  Phone: (504) 286-4252
New Orleans, LA 70124   e-mail: [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


password aging

2003-06-03 Thread Glenn Johnson
I need to implement a password aging capability for my FreeBSD systems  
(5.0).  This is mandated by my employer.  I want to be able to have the 
user prompted to change the password every 30 days and disallow login   
if the password is not changed.  It would be nice to have a password
strength checker run as well before accepting the password. 

I figured out how to set the password expiry date but the password
change field is not updated in the master.passwd file after the password
is changed.  It looks like I am going to have to write some scripts to
handle this but I wanted to check with the list to see if any one could
offer any pointers, gotchas, etc.

Thanks.

-- 
Glenn Johnson
USDA, ARS, SRRC  Phone: (504) 286-4252
New Orleans, LA 70124   e-mail: [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


using ssh banner

2003-03-31 Thread Glenn Johnson
I would like to use the Banner option with openssh (OpenSSH_3.5p1, SSH
protocols 1.5/2.0, OpenSSL 0x0090701f) on a FreeBSD-5 CURRENT system.  I
enabled the Banner option in sshd_config and restarted sshd.  I am using
protocol 2 but I never see the banner message when logging in via ssh.

Is there something else I am missing?

Thanks.

-- 
Glenn Johnson
USDA, ARS, SRRC  Phone: (504) 286-4252
New Orleans, LA 70124   e-mail: [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: using ssh banner

2003-03-31 Thread Glenn Johnson
On Mon, Mar 31, 2003 at 08:20:47PM -0500, Dru wrote:


 On Mon, 31 Mar 2003, Glenn Johnson wrote:

  I would like to use the Banner option with openssh (OpenSSH_3.5p1,
  SSH protocols 1.5/2.0, OpenSSL 0x0090701f) on a FreeBSD-5 CURRENT
  system.  I enabled the Banner option in sshd_config and restarted
  sshd.  I am using protocol 2 but I never see the banner message when
  logging in via ssh.
 
  Is there something else I am missing?


 Which client are you using? Are you sure the client is using version
 2?  Version 1 doesn't support banners.

Yes, I guess I was not clear.  I am using protocol version 2 for both
the server and the client.

-- 
Glenn Johnson
USDA, ARS, SRRC  Phone: (504) 286-4252
New Orleans, LA 70124   e-mail: [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 3D with MGA on XFree86 4.3.0 / 5.0-RELEASE?

2003-03-12 Thread Glenn Johnson
On Wed, Mar 12, 2003 at 03:38:02PM -0800, J. Kanowitz wrote:

 Keeping this brief, I'm a lazy sod, and it's fairly obvious the 4.3.0
 integration is in flux.

 I've got a G200:
 drm0: Matrox G200 (AGP) mem
 0xf780-0xf7ff,0xf77fc000-0xf77f,0xf600-0xf6ff
 irq 11 at device 0.0 on pci1
 
 On:
 FreeBSD mustelid.gateway.2wire.net 5.0-RELEASE FreeBSD
 5.0-RELEASE #0: Sat Feb  8 22:13:06 EST 2003
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MUSTELID
  i386

 Under previous versions of XFree86 4, I've built
 /usr/ports/x11-servers/XFree86-4-Server with -DWITH_MATROX_GXX_DRIVER
 and all has been well.  [It was never well without the Matrox code;
 I'm honestly not sure if that's supposed to be the case.]

The need for the HAL depends on the card in question.  For the G200,
it is only needed for multi-display support.  I believe it _may_ be
needed for some functionality of the Matrox PowerDesk but I am not sure
about that because I do not use it.

 With 4.3.0, I've not seen the usual reminder about the driver, and
 blindly specifying WITH_MATROX_GXX_DRIVER (without bothering to pore
 over the build output; see previous comment on 'lazy') doesn't do the
 trick:

No, it is not an option for XFree86-4.3.  Matrox has not made an updated
version available yet.  I am not sure if the current code from Matrox
will build with XFree86-4.3 but that would leave you with an older mga
driver.  I would guess that Matrox will eventually update their driver
but unless you are running multi-displays you probably do not need it.

 (II) Loading sub module mga_hal
 (II) LoadModule: mga_hal
 (WW) Warning, couldn't open module mga_hal
 (II) UnloadModule: mga_hal
 (EE) MGA: Failed to load module mga_hal (module does
 not exist, 0)

Try the following in your XF86Config file in the Device section:

Option  NoHal true

That will prevent the server from trying to load the HAL module.

 Annoyingly, this means GL apps lock my system, or more specifically
 for those tracking such things, they manage to mung something that
 kills the keyboard to the point of inoperative num/scroll/caps LEDs,
 while leaving the USB mouse (and the rest of the system) mostly
 operative.

Not sure what is going on here but the HAL module is not necessary to
run GL apps, at least not on my G400.  It could be different on a G200
but I doubt it.  Do you have DRI enabled in XF86Config?  If so, verify
that direct rendering is on.  You can check by running glxinfo and
examining the output.  Near the top of the output is a line that will
tell you if direct rendering is on.  That would be the first step.

-- 
Glenn Johnson
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Matrox G450 AGP speed wrong in glxinfo

2003-03-12 Thread Glenn Johnson
On Wed, Mar 12, 2003 at 11:54:25PM -0500, Adam wrote:

 glxinfo reports the following on my FreeBSD box:  OpenGL renderer
 string: Mesa DRI G400 20020221 AGP 1x x86/MMX/3DNow!/SSE

 I've got a Matrox G450, which is supposed to support up to AGP 4x:
 http://www.matrox.com/mga/products/mill_g450/home.cfm

 My motherboard is an Asus A7V266-E, which is also supposed to support
 up to AGP 4x: http://usa.asus.com/mb/socketa/a7v266-e/overview.htm

 So why does glxinfo think I'm running at AGP 1x? Could this be an
 explanation for my relatively poor video performance? How can I fix
 this?

Enter the following in the Device section of your XF86Config file and 
restart X:

Option  AGPMode 4

Check glxinfo again and you should see it running at 4x.

-- 
Glenn Johnson
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: sound module on start up

2003-02-15 Thread Glenn Johnson
On Sat, Feb 15, 2003 at 08:29:59PM -0500, synrat wrote:

 I figured out how to load the module for my sound card (ac97)
 but I can't get it to load on start up. When I add the line
 snd_via8233_enable=YES to /etc/rc.conf it still doesn't load it on
 the start up. How do I do that ?

You would add the following line to /boot/loader.conf:

snd_via8233_load=yes

 How would I compile that into my kernel?

device  pcm

 I thought it would be built when I added pcm to my custom config, but
 it wasn't.  I had to build it manually in modules/sounds directory.

You want to decide whether you want sound support compiled into the 
kernel or use a kernel module.  I am not sure what happens if you try   
to load the kernel module when the kernel already provides it.  

-- 
Glenn Johnson
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: xdm across different networks

2003-02-06 Thread Glenn Johnson
On Thu, Feb 06, 2003 at 02:21:08PM -0800, Mike Thompson wrote:

 Glenn,

 I'm not 100% certain, but the X11 servers on your xxx.xxx.86.0 subnet
 my be relying upon XDMCP broadcasts to locate the FreeBSD machine
 on the same subnet.  Broadcasts cannot be routed between subnets
 and therefore your Windows XP system on your xxx.xxx.87.0 subnet
 won't be responded to by your FreeBSD machine.  Rather than using
 broadcasts, you should be able to configure the X11 server software
 on your Windows XP system to do a direct XDMCP query of the FreeBSD
 system by specifying it's hostname or IP address.  Because a specific
 IP address is used the XDMCP query will properly traverse the subnets
 to establish an X11 session.

 Mike Thompson

Thanks.  I should have specified in my e-mail that I was using direct
queries and not broadcasts.  Sorry I forgot that detail.  It turns
out that there is a problem with a router here.  The packets were
getting from the xxx.xxx.87.0 to the xxx.xxx.86.0 network just fine but
packets from xxx.xxx.86.0 were not getting to xxx.xxx.87.0.  The network
administrator moved the Windows machine over to the xxx.xxx.86.0 network
so the machine could connect via the X server.

I guess the answer to my question is that it should work, with direct
query, as long as the routers are functioning properly.

Thanks again.

 At 01:23 PM 2/6/03 -0600, Glenn Johnson wrote:

 I have a Windows XP machine at work that I am trying to get an
 X11 server to connect to a FreeBSD machine.  The FreeBSD machine
 is on the xxx.xxx.86.0 network and the Windows XP machine is on
 the xxx.xxx.87.0 network.  X11 servers on other machines on the
 xxx.xxx.86.0 network work fine with xdmcp.  Is there some restriction
 on xdmcp to being on the same network or do I have to add some kind
 of special routing entry to handle this?
 
 Thanks.

-- 
Glenn Johnson
USDA, ARS, SRRC  Phone: (504) 286-4252
New Orleans, LA 70124   e-mail: [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



xdm across different networks

2003-02-06 Thread Glenn Johnson
I have a Windows XP machine at work that I am trying to get an X11
server to connect to a FreeBSD machine.  The FreeBSD machine is on the
xxx.xxx.86.0 network and the Windows XP machine is on the xxx.xxx.87.0
network.  X11 servers on other machines on the xxx.xxx.86.0 network work
fine with xdmcp.  Is there some restriction on xdmcp to being on the
same network or do I have to add some kind of special routing entry to
handle this?

Thanks.

-- 
Glenn Johnson
USDA, ARS, SRRC  Phone: (504) 286-4252
New Orleans, LA 70124   e-mail: [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: NoBreak (upsilon) monitoring opensource software?

2002-12-11 Thread Glenn Johnson
On Wed, Dec 11, 2002 at 01:16:23PM -0200, Mario Sergio Fujikawa Ferreira
wrote:

 Hi,

   I've just acquired a UPS compatible with upsilon 2000 software
 for Windows. I would like to know if anyone knows of a unix package
 capable of speaking the upsilon2k protocol. :)

   I would really like being able to have the NoBreak issue a
 shutdown command if the batteries were running too low.
 
   Product description:SMS Manager III 1.3KVA
   Intelligent Managing Port RS232
   Windows Software Upsilon 2000
 
   The Upsilon 2000 software is developed by Megatec
 http://www.megatec.com.tw/
 
   Unfortunaly, of course, they do not tell me of any compatible
 open source solutions. hehehe They only offered me a FreeBSD 3.x old
 software binary from 1999.

I am using that software (I think mine is actually from 1998) with a
Fenton PowerPal UPS.  You need the 3.x compat libraries installed.  It
is not fancy but gets the job done.  I can not say for sure that it
would work with your UPS however.

-- 
Glenn Johnson
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



need help setting up a transparent proxy

2002-12-07 Thread Glenn Johnson
I am trying to set up a transparent squid proxy with ipfw.  I am using
FreeBSD 4.7-STABLE (current as of today), version 2.5_1 of squid.  I
have read the relevant information on the squid Web site and searched
the FreeBSD mail archive.  I am pretty sure I have everything set up
right but it just does not work.

I have the following in my kernel config:

options IPFIREWALL  #firewall
options IPFIREWALL_FORWARD  #enable transparent proxy support
options IPDIVERT#divert sockets
options IPSTEALTH   #support for stealth forwarding

I have the following in my squid.conf file:

http_port 3128
httpd_accel_port 80
httpd_accel_host virtual
httpd_accel_with_proxy on
httpd_accel_uses_host_header on

I am using the SIMPLE firewall setup I have the following in my
rc.firewall file

# Allow setup of any other TCP connection
${fwcmd} add pass tcp from any to any setup

# Try this to get a transparent proxy
${fwcmd} add fwd 127.0.0.1,3128 tcp from any to any 80

I have also tried setting the first rule above to ...any to any 80 but
that did not help.

What am I missing?

Thanks.

-- 
Glenn Johnson
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Interest in diskless booting?

2002-12-07 Thread Glenn Johnson
On Sun, Dec 08, 2002 at 12:48:35PM +1030, Greg 'groggy' Lehey wrote:

 I was at a local installfext yesterday
 (http://installfest.auug.org.au/), and a number of people were
 interested in doing diskless booting, either for reasons of economy
 or reliability.  I'm currently about to finish the manuscript of the
 fourth edition of The Complete FreeBSD, and I was wondering if there
 was enough interest in this topic for me to include it in the book.
 If *you* are interested, please let me know.  I'll make a decision
 depending on the amount of feedback I get.

I would be interested in it.

-- 
Glenn Johnson
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: need help setting up a transparent proxy

2002-12-07 Thread Glenn Johnson
On Sat, Dec 07, 2002 at 04:50:41PM -0600, Scott A. Moberly wrote:

  I am trying to set up a transparent squid proxy with ipfw.  I am
  using FreeBSD 4.7-STABLE (current as of today), version 2.5_1 of
  squid.  I have read the relevant information on the squid Web site
  and searched the FreeBSD mail archive.  I am pretty sure I have
  everything set up right but it just does not work.

...snip...

  What am I missing?

 Looks like an infinite loop to me.  If this is on a gateway machine,
 you might try:
 
 $fwcmd add fwd 127.0.0.1,3128 from INTERNAL_NETWORK to any 80

Thanks; that was it.

Is there any way to have the gateway/proxy machine also use the proxy
cache transparently?  Apparently, packets destined for outbound port 80
from the gateway/proxy machine are coming from the external interface
(cable modem) rather than the internal interface.  This makes sense as
the default route is on the external interface.  Is it possible to make
those packets appear to come from the internal interface?  Not a big
deal but I am curious.

Thanks for your help.

-- 
Glenn Johnson
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: FreeBSD software to create super computer ?

2002-11-30 Thread Glenn Johnson
On Sat, Nov 30, 2002 at 04:10:16PM -0400, Marc G. Fournier wrote:

 I'm really growing tired of reading articles talking abot so and so
 creating a super computer of 1400 CPUs running Linux ... latest one I
 read was one that HP setup ...
 
 ... is there software available for FreeBSD that can do this, or is
 this something we are being left behind in?

I am not sure what the HP setup is; can you provide a reference?

In general, FreeBSD can be set up as a Beowulf style cluster or
supercomputer just as well as Linux can.  The only advantage I can
think of that Linux has in this area, besides publicity and support from
heavy weights like IBM and HP, is there is work being done on a parallel
file system for Linux clusters.  Although, an NAS or SAN system would
also work and would be OS independent.

-- 
Glenn Johnson
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: sendmail mail temp file limit

2002-10-09 Thread Glenn Johnson

On Wed, Oct 09, 2002 at 11:19:04AM -0500, Glenn Johnson wrote:

 I run rsync nightly via periodic to mirror my home directories to
 a secondary machine.  I just did a major file cleanup so the rsync
 output would be large.  Consequently, the resulting e-mail sent was
 large.  I got the following message instead of the message with
 details of the rsync process:

 *** Mail of at least 7127040 bytes could not be accepted
 *** at node1.cluster.srrc.usda.gov due to lack of disk space for temp file.
 *** Currently, 4 kilobytes are available for mail temp files.

 I know what was in the message and am not concerned about it but am
 curious about the size limit.  I have much more space available than 4
 kilobytes so am wondering where this limit is being set.

Never mind; I see the problem now.  I was looking at the space
available where my tmp directory is but the temp file was going into
/var/spool/mqueue, where I do not have as much space and so filled up
that filesystem.

-- 
Glenn Johnson
USDA, ARS, SRRC  Phone: (504) 286-4252
New Orleans, LA 70124   e-mail: [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message