Installation Problem with SCSI Adapter and 4.9

2004-05-21 Thread Matt Smith
I got an old machine from a garage sale a couple months ago and have been 
unable to install any operating system on it. Mainly with errors like 
isolinux: spec packet failed to locate cd rom device. And with FreeBSD 5.1 i 
got:

Building the boot loader arguments:
Read Error: 0x01
Could not find Primary Volume Descriptor
Someone on IRC pointed me to a release not for 5.1 about how older SCSI 
CD-Rom Drives will not work anymore with 5.1 on installs. He also told me 
that 4.9 might work then. So I downloaded 4.9 and put it in. It booted to 
the installer unlike pretty much every operating system i've tried. During 
the installation once i got the the partitioning and anything related to the 
hard drive i would get an error saying there was no disk detected. The Hard 
Drive and CD-Rom Drive are both detected on the POST, however. I've been 
able to pull out a lot of information on whats going on.

Its an Adaptec AHA 2940 W Ultra/Ultra Bios 1.23 SCSI Controller with a 
Seagate hard drive and a Plextor CD-Rom Drive. The machine is a pentium pro 
200mhz with a 3com nic and a Matrox vga card. It only has 1 IDE interface on 
the motherboard which is missing pins so i have no floppy drive on it.

Hard Drive(Lun:0) - - - SCSI Controller(Lun-7 - - - Plextor CD-Rom 
Drive(Lun:3).
They are both on different cables. I've verified that both cables work. The 
Controller does talk to the hard drive also. You can manually format it in 
the SCSI Controllers bios. So Far i've tried changing the termination from 
automatic to every option. Turned off bios translation. Turned off Lun 
Support. Modified the kernel config file to make sure the settings were 
accurate. Also in tty2 at the end there were a few interesting messages.

(da0:ahc): MEDIUM ERROR asc:31,0
DEBUG: Add mapping for /dev/cuaa0 to sl10
DEBUG: Add mapping for /dev/cuaa1 to sl10
DEBUG: Unable to open disk cd0
DEBUG: Unable to open disk da0
So i launched a emegency shell in tty4 and did camcontrol devlist. It showed 
the CD-Rom Drive and the Hard Drive. No SCSI Controller though if one was 
suppost to be present. It was after this we turned off DOS Translation and 
Lun Support. Still no go. If someone can help please do. I've spent so much 
time on this and i can't think of anything else that might work.

- Matt Smith
_
Express yourself with the new version of MSN Messenger! Download today - 
it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

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


IMAP SQL/ODBC

2003-04-01 Thread Matt Smith
All-
  I am looking for an IMAP server that can store mail in a database,
preferably via ODBC.  I am most interested in using either MySQL or
PostgreSQL, but would also like to try storing in a remote Oracle
database via ODBC.  Any good recommendations?
Thanks,
-Matt
-- 
Matt Smith [EMAIL PROTECTED]

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


Kerberos Flavors

2003-03-13 Thread Matt Smith
Can anyone tell me the differences between MIT KrbV and Heimdal
Kerberos?  Strengths and Weaknesses?  Are there any other flavors of
Kerberos I should consider for an Enterprise Kerberos Environment?
Thanks all,
-Matt
-- 
Matt Smith [EMAIL PROTECTED]


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


xlockmore not compiling from ports

2003-03-10 Thread Matt Smith
 to `decode_EncTGSRepPart'
/usr/lib/libkrb5.so: undefined reference to `decode_EncAPRepPart'
/usr/lib/libkrb5.so: undefined reference to `encode_EncAPRepPart'
/usr/lib/libkrb5.so: undefined reference to `encode_AuthorizationData'
/usr/lib/libkrb5.so: undefined reference to `free_Checksum'
/usr/lib/libkrb5.so: undefined reference to `encode_ETYPE_INFO'
/usr/lib/libkrb5.so: undefined reference to `decode_KRB_CRED'
/usr/lib/libkrb5.so: undefined reference to `rk_dns_free_data'
/usr/lib/libkrb5.so: undefined reference to `free_EncTGSRepPart'
/usr/lib/libkrb5.so: undefined reference to `encode_EncTicketPart'
/usr/lib/libkrb5.so: undefined reference to `free_Ticket'
/usr/lib/libkrb5.so: undefined reference to `bswap32'
/usr/lib/libkrb5.so: undefined reference to `free_KDC_REP'
/usr/lib/libkrb5.so: undefined reference to `base64_encode'
/usr/lib/libkrb5.so: undefined reference to `length_Authenticator'
/usr/lib/libkrb5.so: undefined reference to `decode_KRB_PRIV'
/usr/lib/libkrb5.so: undefined reference to `free_EncTicketPart'
/usr/lib/libkrb5.so: undefined reference to `rk_dns_lookup'
/usr/lib/libkrb5.so: undefined reference to `encode_EncTGSRepPart'
/usr/lib/libkrb5.so: undefined reference to `free_AP_REQ'
/usr/lib/libkrb5.so: undefined reference to `free_EncKrbPrivPart'
/usr/lib/libkrb5.so: undefined reference to `encode_KRB_PRIV'
/usr/lib/libkrb5.so: undefined reference to `net_read'
/usr/lib/libkrb5.so: undefined reference to `encode_KRB_SAFE'
/usr/lib/libkrb5.so: undefined reference to `encode_Authenticator'
/usr/lib/libkrb5.so: undefined reference to `strsep_copy'
/usr/lib/libkrb5.so: undefined reference to `decode_Ticket'
/usr/lib/libkrb5.so: undefined reference to `encode_AS_REQ'
/usr/lib/libkrb5.so: undefined reference to `issuid'
/usr/lib/libkrb5.so: undefined reference to `free_HostAddress'
/usr/lib/libkrb5.so: undefined reference to `encode_AP_REP'
/usr/lib/libkrb5.so: undefined reference to `free_TGS_REQ'
/usr/lib/libkrb5.so: undefined reference to `encode_KRB_CRED'
/usr/lib/libkrb5.so: undefined reference to `free_EncAPRepPart'
/usr/lib/libkrb5.so: undefined reference to `decode_EncASRepPart'
/usr/lib/libkrb5.so: undefined reference to `free_METHOD_DATA'
/usr/lib/libkrb5.so: undefined reference to `encode_KRB_ERROR'
/usr/lib/libkrb5.so: undefined reference to `length_AP_REP'
/usr/lib/libkrb5.so: undefined reference to `decode_AP_REP'
/usr/lib/libkrb5.so: undefined reference to `encode_Ticket'
/usr/lib/libkrb5.so: undefined reference to `roken_gethostbyname'
/usr/lib/libkrb5.so: undefined reference to `int2KDCOptions'
/usr/lib/libkrb5.so: undefined reference to `encode_EncryptedData'
/usr/lib/libkrb5.so: undefined reference to `length_KRB_CRED'
/usr/lib/libkrb5.so: undefined reference to `free_Authenticator'
/usr/lib/libkrb5.so: undefined reference to `decode_METHOD_DATA'
/usr/lib/libkrb5.so: undefined reference to `encode_EncKrbCredPart'
/usr/lib/libkrb5.so: undefined reference to `copy_HostAddresses'
/usr/lib/libkrb5.so: undefined reference to `free_KRB_CRED'
/usr/lib/libkrb5.so: undefined reference to `decode_EncKrbPrivPart'
/usr/lib/libkrb5.so: undefined reference to `free_AS_REQ'
/usr/lib/libkrb5.so: undefined reference to `length_EncAPRepPart'
/usr/lib/libkrb5.so: undefined reference to `decode_AS_REP'
/usr/lib/libkrb5.so: undefined reference to `copy_AuthorizationData'
/usr/lib/libkrb5.so: undefined reference to `free_AuthorizationData'
/usr/lib/libkrb5.so: undefined reference to `copy_Authenticator'
/usr/lib/libkrb5.so: undefined reference to `getarg'
/usr/lib/libkrb5.so: undefined reference to `copy_Ticket'
/usr/lib/libkrb5.so: undefined reference to `decode_KRB_SAFE'
/usr/lib/libkrb5.so: undefined reference to `free_KRB_ERROR'
/usr/lib/libkrb5.so: undefined reference to `strupr'
/usr/lib/libkrb5.so: undefined reference to `free_EncKrbCredPart'
/usr/lib/libkrb5.so: undefined reference to `free_AP_REP'
/usr/lib/libkrb5.so: undefined reference to `encode_KDC_REQ_BODY'
/usr/lib/libkrb5.so: undefined reference to `copy_EncryptedData'
/usr/lib/libkrb5.so: undefined reference to `decode_ETYPE_INFO'
/usr/lib/libkrb5.so: undefined reference to `parse_time'
/usr/lib/libkrb5.so: undefined reference to `length_AP_REQ'
/usr/lib/libkrb5.so: undefined reference to `length_KRB_PRIV'
/usr/lib/libkrb5.so: undefined reference to `free_EncryptedData'
/usr/lib/libkrb5.so: undefined reference to `rk_dns_srv_order'
/usr/lib/libkrb5.so: undefined reference to `decode_EncTicketPart'
*** Error code 1

Stop in /apps/ports/x11/xlockmore/work/xlockmore-5.06/modes.
*** Error code 1

Stop in /apps/ports/x11/xlockmore/work/xlockmore-5.06.
*** Error code 1

Stop in /apps/ports/x11/xlockmore.

-- 
Matt Smith [EMAIL PROTECTED]


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


Re: xterm + colors just wont splice...

2003-03-03 Thread Matt Smith
On Wed, 2003-02-26 at 05:13, Thanos Tsouanas wrote:
 Hello everyone!
 
 Ive never managed to see colored output on an Xterm on FreeBSD..
 i mean, the -bg, -fg color switches work fine...
 but i cant see the colors of vim, nor when i ls -G etc etc.
 
 Any ideas?
 
 Thanks!
 
 __
 Do you Yahoo!?
 Yahoo! Tax Center - forms, calculators, tips, more
 http://taxes.yahoo.com/
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message

Try changing your TERM to xterm-color.
-Matt
-- 
Matt Smith [EMAIL PROTECTED]


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


Re: Displaying Slideshow on Remote Computer

2003-02-21 Thread Matt Smith
I would recommend running VNC, but opposite to what you seem to be
thinking.  Run the VNC client on the BSD box, and the server on the
Windows Box.  The PPT slide show could be delivered and controlled by
PowerPoint on the Windows box, and the VNC client would display the
Windows Desktop on the Kiosk.
-Matt

On Thu, 2003-02-20 at 18:43, Rik Scarborough wrote:
 I'll explain what I want to do, then what I planned and ask my 
 question.  That way if any of you have a better way to accomplish this, 
 you can let me know.
 
 I need to display a Power Point slide on a FreeBSD computer running 
 more or less like a Kiosk.  The FreeBSD machine will be running in a 
 foyer displaying the Slide show and playing mp3's.  It will not have a 
 keyboard attached and needs to be controlled (i.e. slides changed) from 
 a Windows box in the office.  Both machines will be on the network.
 
 Our plan is to use Open Office to show the slide show.  I had planned 
 to put XWindows on the Windows machine (using Cygwin) and export the 
 display from the FreeBSD box, but then it dawned on me that I will not 
 get the same display that is running the slide show.  i.e. Open Office 
 will be running on localhost:0.0, but the user will be looking at 
 remotebox:0.0.  As a side benefit, this will be a chance to put a BSD 
 desktop in front of the users who overwhelming feel that they have to 
 have Windows to do their job.
 
 Someone suggested VNC, but that does not appear to control the :0.0 
 display.  I'm not sure how that is different from rlogin to the BSD box 
 and exporting the display.
 
 Is there a way to either control Open Office from the command line, or 
 grab Open Office, at least Impress, from localhost:0.0 long enough to 
 open a new file and start the slide show, and then push it back?
 
 ~Rik
 
 -- 
 It is by caffeine alone I set my mind in motion.  It is by the beans of 
 Java that the thoughts acquire speed, the hands acquire shakes, the 
 shakes become  a warning.  It is by caffeine  alone I set my  mind  in 
 motion.
-- 
Matt Smith [EMAIL PROTECTED]


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



Re: Linux binary compiled by Intel compiler

2003-02-20 Thread Matt Smith
Check out:
man brandelf

the example in this man page should give you what you need,
-Matt

On Wed, 2003-02-19 at 19:35, Bo Xiao wrote:
 Hi,
  
 I am trying to run some linux binary compiled with Intel compiler. It
 gives me the following error. Is this a known problem? I can run 
 other linux binaries like netscape.
  
 foo/prp% ./prp
 ELF binary type 0 not known.
 Abort
 foo/prp% uname -a
 FreeBSD xxx.xxx.xxx.xxx 4.7-STABLE FreeBSD 4.7-STABLE #0: Fri Jan 31
 00:31:09 PST 2003 root at
 xxx.xxx.xxx.xxx:/usr/src/sys/compile/HAORIZI4  i386
 foo/prp% 
  
 Thanks.
 Bo Xiao
  
 
 __
 Help STOP SPAM with the new MSN 8  and get 2 months FREE* To
 Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe
 freebsd-questions in the body of the message
-- 
Matt Smith [EMAIL PROTECTED]


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



spaces in fstab

2003-02-18 Thread Matt Smith
Could anyone tell me how to put spaces in fstab for mount points or
device names?

I am trying to use mount_smbfs to mount an SMB share with spaces in the
name.  However, I am sure this same difficulty would apply if my mount
point contained spaces, such as /home/me/My\ Documents.  I have tried
various combinations of \040, escaping, and quoting, with no luck so
far.  

Any thoughts?
-Matt

-- 
Matt Smith [EMAIL PROTECTED]


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



RE: problem with install

2003-02-14 Thread Matt Smith
I believe some types of RAM need a terminator card in some slots on some
mobos ... IIRC, RDRAM often ran into this, particularly when the mobo
could use multiple types of RAM.
-Matt
On Fri, 2003-02-14 at 12:07, JoeB wrote:
 Since you have tried FBSD 4.3, 4.4, 4.7,  5.0 I would say that the problem is not 
an FBSD problem but a problem with the hard ware of the box you are installing FBSD 
onto.  From your description of what you have done to fix the problem, I can see that 
you started to use the process of elimination method to debug the problem.  You 
need to continue using this method. 
 
 First of all I have never heard of ever needing dummy cards to terminate unused 
memory slots. Remove them.
 Also strip down your PC to bare bones. Remove SCSI control card from PC PCI bus and 
unplug power supplies from all SCSI devices. Only have IDE hard drive and IDE CDROM 
drive and install FBSD to see if it works. If that works then you know you have 
problem with SCSI control card.  If SCSI control is old style ISA card you may have 
bio's irq assignment problem. 
  
 
 -Original Message-
 From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED]]On Behalf Of joseph grundy
 Sent: Friday, February 14, 2003 12:56 AM
 To: [EMAIL PROTECTED]
 Subject: problem with install
 
 I am having problems trying to install FreeBSD.
 I have installed in before on different machines, but now this is the only one I 
have. I would like to have FreeBSD as my main OS on the machine.
 
 When I put in the bootable cd and restart the computer, I get to the boot section 
where it says
 Hit enter or wait 9 seconds to boot
 
 I hit enter and get the follow
 /boot/kernel/acpi.ko test=0x3985c data=0x1978+0xb2k sysms=[0x4+0x6010+0x4+0x7994 ]
 then the line below it is spinning and stops and freezes.
 
 I have tried 4.2, 4.4, 4.7. and 5.0 releases all lock in the same place. I have 
windows 2000 server on first 40 gigs of a 60 gig HD.
 Inside the machine are
 Intel 850 MV motherboard
 2 256 sticks of rambus and 2 dummy cards to terminate unused memory slots
 geforce 3
 Audigy Plat
 Intel 10/100 pro NIC
 adaptec 2940 scsi card
 dvd player ( used for install )
 cdrw scsi
 cd rom scsi
 secondary 60 gig HD
 
 Now I have tried with 3com nic instead, I have taken all cards out and only had 
graphics, primary HD and cd rom.
 I also updated the BIOS of the Motherboard and I still get the same freeze in the 
same spot.
 I don't know what might be the problem I have looked all over and tried many things, 
I have been working on this install for 2 days now.
 
 Any idea's or help, I would be grateful
 
 Joseph
 **PRIVILEGED AND CONFIDENTIAL INFORMATION**
 The information contained in this document is intended solely for use by the persons 
or entities identified above.  This electronically transmitted document contains 
privileged and confidential information including information which may be protected 
by the attorney-client and/or work product privileges.  If you are not the intended 
recipient, be aware that any disclosure, copying, distribution or other use of the 
contents of this transmission is prohibited.   If you received this transmission in 
error, please delete this message without making a copy.
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message 
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
-- 
Matt Smith [EMAIL PROTECTED]


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



Re: Authenticating a FreeBSD users to Win2K Kerberos

2003-02-13 Thread Matt Smith
The AD DCs work just as an MIT KrbV KDC works.  A couple things to watch
for:
*For Kerberos authentication, your realm will be the same as your FQDN
Active Directory domain, in UPPERCASE.

The KDC will be automatically found if you are running W2k DNS (or the
proper SRV+TXT records in your DNS) If you add the following to your
krb5.conf file:
[libdefaults]
...
dns_lookup_kdc = true
dns_lookup_realm = true
...

This lets you simply type kinit [EMAIL PROTECTED]

To use the AD as your default realm, use this:
[libdefaults]
...
default_realm = MYAD.MYDOMAIN.TLD
...

The above will let you use pam_krb5 to authenticate your login ID as
your Krb princ.

Good luck!
-Matt

On Thu, 2003-02-13 at 06:10, BSD Freak wrote:
 Hi everyone,
 
 Anyone know a good HOWTO guide for authenticating FreeBSD logons to
 Win2K/Acitive Directory Kerberos server. I really need some guidance
 here as I havn't the first idea where to start
 
 
 -Thanks in advance
 
 -
 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
-- 
Matt Smith [EMAIL PROTECTED]


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



Re: fc-cache problem

2003-02-13 Thread Matt Smith
On Thu, 2003-02-13 at 12:14, Joe Marcus Clarke wrote:
 On Thu, 2003-02-13 at 08:59, stan wrote:
  After a long trail of tears, during which I received significant help from
  various kind members of this list. I have discovered the underlying cause
  (I'm fairly certain) of my inoperan;e Galeon/Mozilla binaries.
  
  It turns out that something called fc-cache is apparently getting into a
  infinite loop. 
  
  The bad news is that I can't find any man page, or other documentation on
  what this program does, and how to use it. I'm looking for something like a
  -v option, so I can try to diagnose where it's looping. It's provide any
  the fontconfig port, which is a dependency for both Mozilla, and Galeon,
  among others, so I can't just delete this port.
 
 It has a -v option:
 
 # fc-cache -v
 
 Joe
 
  
  Pointers to docs appreciated.
fc-cache -?
usage: fc-cache [-fvV?] [--force] [--verbose] [--version] [--help]
[dirs]
Build font information caches in [dirs]
(all directories in font configuration by default).

  -f, --force  scan directories with apparently valid caches
  -v, --verbosedisplay status information while busy
  -V, --versiondisplay font config version and exit
  -?, --help   display this help and exit

-- 
Matt Smith [EMAIL PROTECTED]


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



OpenLDAP + Kerberos

2003-02-13 Thread Matt Smith
I have MIT Krb5 installed from ports, as well as the base system
(Heimdall?) kerberos.  I am trying to compile the openldap2 port with
Kerberos support.  Specifically, I am looking to have Kerberos enabled
clients: ldapsearch, ldapmodify, etc.  Unfortunately, I am having no
success, using the port.  Are there some special flags I have to set? 
Does anyone have this configuration working?
Thanks all,
-Matt

-- 
Matt Smith [EMAIL PROTECTED]


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



US Robotics WinModem

2003-02-11 Thread Matt Smith
I recently ordered a modem, but the wrong one was delivered.  The one I
ordered claimed to support Windows + Linux, but the one I received is a
US Robotics 56K V92 PCI FAX Modem for Windows.  Before I send this back
and go through the hassle of getting the right one, does anyone know if
I can get this to work in FreeBSD?  I know it's a winmodem, but it may
be less painful to try and make it work, than to return it.

Thanks all,
-Matt
-- 
Matt Smith [EMAIL PROTECTED]


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



Re: US Robotics WinModem

2003-02-11 Thread Matt Smith
Thanks for the reply, but it is an internal PCI modem.  I haven't put in
the machine yet either; I know it will be easier to return un-opened, if
I need to.  Anyone ever try one of these modems?
-Matt
On Tue, 2003-02-11 at 11:43, Olivier SMEDTS wrote:
 if the modem is connected to a COM port, it should work without any 
 specific driver (almost all modems support standard Hayes commands). and 
 i think that for Windows means drivers and support for windows, but 
 the hardware part should be compatible with FreeBSD. try to send 
 commands through the com port...
 
 but I don't know for a USB version.
 
 Matt Smith wrote:
  I recently ordered a modem, but the wrong one was delivered.  The one I
  ordered claimed to support Windows + Linux, but the one I received is a
  US Robotics 56K V92 PCI FAX Modem for Windows.  Before I send this back
  and go through the hassle of getting the right one, does anyone know if
  I can get this to work in FreeBSD?  I know it's a winmodem, but it may
  be less painful to try and make it work, than to return it.
  
  Thanks all,
  -Matt
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
-- 
Matt Smith [EMAIL PROTECTED]


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



OpenLDAP + Kerberos

2003-02-11 Thread Matt Smith
I have MIT Krb5 installed from ports, as well as the base system
(Heimdall?) kerberos.  I am trying to compile the openldap2 port with
Kerberos support.  Specifically, I am looking to have Kerberos enabled
clients: ldapsearch, ldapmodify, etc.  Unfortunately, I am having no
success, using the port.  Are there some special flags I have to set? 
Does anyone have this configuration working?
Thanks all,
-Matt

-- 
Matt Smith [EMAIL PROTECTED]


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



OpenOffice build failure

2003-02-07 Thread Matt Smith
/MDatabaseMetaDataHelper.cxx:668:
 template
   argument 1 is invalid
/apps/ports/editors/openoffice/work/oo_1.0.2_src/connectivity/source/drivers/mozab/mozillasrc/MDatabaseMetaDataHelper.cxx:669:
 cannot
   convert `const nsCreateInstanceByContractID' to `int' in assignment
/apps/ports/editors/openoffice/work/oo_1.0.2_src/connectivity/source/drivers/mozab/mozillasrc/MDatabaseMetaDataHelper.cxx:674:
 template
   argument 1 is invalid
/apps/ports/editors/openoffice/work/oo_1.0.2_src/connectivity/source/drivers/mozab/mozillasrc/MDatabaseMetaDataHelper.cxx:675:
 `
   _messageListener' undeclared (first use this function)
/apps/ports/editors/openoffice/work/oo_1.0.2_src/connectivity/source/drivers/mozab/mozillasrc/MDatabaseMetaDataHelper.cxx:676:
 parse
   error before `(' token
/apps/ports/editors/openoffice/work/oo_1.0.2_src/connectivity/source/drivers/mozab/mozillasrc/MDatabaseMetaDataHelper.cxx:684:
 base
   operand of `-' is not a pointer
dmake:  Error code 1, while making
'../../../../unxfbsd.pro/slo/MDatabaseMetaDataHelper.obj'
---* TG_SLO.MK *---

ERROR: Error 65280 occurred while making
/apps/ports/editors/openoffice/work/oo_1.0.2_src/connectivity/source/drivers/mozab/mozillasrc
dmake:  Error code 1, while making 'build_all'
---* TG_SLO.MK *---
*** Error code 255

Stop in /apps/ports/editors/openoffice.

-- 
Matt Smith [EMAIL PROTECTED]


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



Re: vnc at start-up

2003-01-30 Thread Matt Smith
Try this:
http://www.dei.isep.ipp.pt/~andre/extern/ixvnc.htm

The newest versions of XVnc have the patch built in.  Effectively, this
allows a XVnc session to be launced via inetd, and upon initial
connection you are presented with a [XKG]DM login screen.  You can even
configure the web component to do the same.  And, with some clever SSH
tunnels created on bootup, you can encrypt your VNC session.

-Matt

On Wed, 2003-01-29 at 21:27, Roger Merritt wrote:
 I've installed vnc from the ports and it works fine, but it's annoying to 
 have to log on to my server and start the vncserver every time I want to 
 connect from my desktop PC. One problem is my server has been randomly 
 rebooting (I suspect hardware problems but ...), so I can't just leave the 
 server running.
 
 I tried putting a start-up script in /usr/local/etc/rc.d and it works, but 
 in the vncserver script itself there is a loop which checks for the 
 availability of commands, including xauth. Apparently during boot-up the 
 PATH doesn't include /usr/X11R6/bin, so on boot-up one of the messages I 
 get is 'vncserver: couldn't find xauth on your path' and the server isn't 
 started.
 
 Can anyone suggest what I should do to make this work?
-- 
Matt Smith [EMAIL PROTECTED]


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



VHDL / Verilog

2003-01-20 Thread Matt Smith
Does anyone out there do any VLSI design on FreeBSD, using VHDL or
Verilog, or some other tools?  At the moment, I own a Xilinx chip + XESS
protoboard, and am looking for a complete solution to design and
implementation.  The Windows tools provided by Xilinx are great, except
that they only run on Windows.
Any suggestions are greatly appreciated!
Thanks,
-Matt
-- 
Matt Smith [EMAIL PROTECTED]


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



trouble building xpp

2003-01-14 Thread Matt Smith
I sent this off the -ports with no luck, I'm hoping someone here can
help.

 I am having trouble building xpp.  See the results of a make, below.  As
 well, pkg_add -r xpp fails; seems there is no package available.  I know
 that there was one sometime over the past two days.
 
 Any help is appreciated!
-Matt


 d80h149:/usr/ports/print/xpp#make
===  Building for xpp-1.1
c++ -DPACKAGE=\xpp\ -DVERSION=\1.1\ -DHAVE_LIBX11=1 -DHAVE_LIBXEXT=1
-DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DHAVE_LIBM=1 -DSTDC_HEADERS=1
-DHAVE_CUPS_CUPS_H=1 -DHAVE_FL_FL_H=1 -DHAVE_LIBCUPS=1  -I. -I.   
-I/usr/local/include  -I/usr/X11R6/include  -O -pipe -march=pentiumpro
-c mainwindow.cxx
mainwindow.cxx: In method `class Fl_Window *
xppMainWindow::xppOptionDialog()':
mainwindow.cxx:1021: no matching function for call to
`Input_Slider::color (int)'
inputslider.h:88: candidates are: void Input_Slider::color(Fl_Color)
mainwindow.cxx:1022: no matching function for call to
`Input_Slider::selection_color (int)'
inputslider.h:95: candidates are: void
Input_Slider::selection_color(Fl_Color)
mainwindow.cxx:1038: no matching function for call to
`Input_Slider::color (int)'
inputslider.h:88: candidates are: void Input_Slider::color(Fl_Color)
mainwindow.cxx:1039: no matching function for call to
`Input_Slider::selection_color (int)'
inputslider.h:95: candidates are: void
Input_Slider::selection_color(Fl_Color)
mainwindow.cxx:1056: no matching function for call to
`Input_Slider::color (int)'
inputslider.h:88: candidates are: void Input_Slider::color(Fl_Color)
mainwindow.cxx:1057: no matching function for call to
`Input_Slider::selection_color (int)'
inputslider.h:95: candidates are: void
Input_Slider::selection_color(Fl_Color)
mainwindow.cxx:1073: no matching function for call to
`Input_Slider::color (int)'
inputslider.h:88: candidates are: void Input_Slider::color(Fl_Color)
mainwindow.cxx:1074: no matching function for call to
`Input_Slider::selection_color (int)'
inputslider.h:95: candidates are: void
Input_Slider::selection_color(Fl_Color)
mainwindow.cxx:1109: no matching function for call to
`Input_Slider::color (int)'
inputslider.h:88: candidates are: void Input_Slider::color(Fl_Color)
mainwindow.cxx:1110: no matching function for call to
`Input_Slider::selection_color (int)'
inputslider.h:95: candidates are: void
Input_Slider::selection_color(Fl_Color)
mainwindow.cxx:1127: no matching function for call to
`Input_Slider::color (int)'
inputslider.h:88: candidates are: void Input_Slider::color(Fl_Color)
mainwindow.cxx:1128: no matching function for call to
`Input_Slider::selection_color (int)'
inputslider.h:95: candidates are: void
Input_Slider::selection_color(Fl_Color)
mainwindow.cxx:1165: no matching function for call to
`Input_Slider::color (int)'
inputslider.h:88: candidates are: void Input_Slider::color(Fl_Color)
mainwindow.cxx:1166: no matching function for call to
`Input_Slider::selection_color (int)'
inputslider.h:95: candidates are: void
Input_Slider::selection_color(Fl_Color)
mainwindow.cxx:1184: no matching function for call to
`Input_Slider::color (int)'
inputslider.h:88: candidates are: void Input_Slider::color(Fl_Color)
mainwindow.cxx:1185: no matching function for call to
`Input_Slider::selection_color (int)'
inputslider.h:95: candidates are: void
Input_Slider::selection_color(Fl_Color)
mainwindow.cxx:1202: no matching function for call to
`Input_Slider::color (int)'
inputslider.h:88: candidates are: void Input_Slider::color(Fl_Color)
mainwindow.cxx:1203: no matching function for call to
`Input_Slider::selection_color (int)'
inputslider.h:95: candidates are: void
Input_Slider::selection_color(Fl_Color)
mainwindow.cxx:1236: no matching function for call to
`Input_Slider::color (int)'
inputslider.h:88: candidates are: void Input_Slider::color(Fl_Color)
mainwindow.cxx:1237: no matching function for call to
`Input_Slider::selection_color (int)'
inputslider.h:95: candidates are: void
Input_Slider::selection_color(Fl_Color)
gmake: *** [mainwindow.o] Error 1
*** Error code 2

Stop in /apps/ports/print/xpp.
-- 
Matt Smith [EMAIL PROTECTED]


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



trouble building xpp

2003-01-14 Thread Matt Smith
I sent this off the -ports with no luck, I'm hoping someone here can
help.

 I am having trouble building xpp.  See the results of a make, below.  As
 well, pkg_add -r xpp fails; seems there is no package available.  I know
 that there was one sometime over the past two days.
 
 Any help is appreciated!
-Matt


 d80h149:/usr/ports/print/xpp#make
===  Building for xpp-1.1
c++ -DPACKAGE=\xpp\ -DVERSION=\1.1\ -DHAVE_LIBX11=1 -DHAVE_LIBXEXT=1
-DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DHAVE_LIBM=1 -DSTDC_HEADERS=1
-DHAVE_CUPS_CUPS_H=1 -DHAVE_FL_FL_H=1 -DHAVE_LIBCUPS=1  -I. -I.   
-I/usr/local/include  -I/usr/X11R6/include  -O -pipe -march=pentiumpro
-c mainwindow.cxx
mainwindow.cxx: In method `class Fl_Window *
xppMainWindow::xppOptionDialog()':
mainwindow.cxx:1021: no matching function for call to
`Input_Slider::color (int)'
inputslider.h:88: candidates are: void Input_Slider::color(Fl_Color)
mainwindow.cxx:1022: no matching function for call to
`Input_Slider::selection_color (int)'
inputslider.h:95: candidates are: void
Input_Slider::selection_color(Fl_Color)
mainwindow.cxx:1038: no matching function for call to
`Input_Slider::color (int)'
inputslider.h:88: candidates are: void Input_Slider::color(Fl_Color)
mainwindow.cxx:1039: no matching function for call to
`Input_Slider::selection_color (int)'
inputslider.h:95: candidates are: void
Input_Slider::selection_color(Fl_Color)
mainwindow.cxx:1056: no matching function for call to
`Input_Slider::color (int)'
inputslider.h:88: candidates are: void Input_Slider::color(Fl_Color)
mainwindow.cxx:1057: no matching function for call to
`Input_Slider::selection_color (int)'
inputslider.h:95: candidates are: void
Input_Slider::selection_color(Fl_Color)
mainwindow.cxx:1073: no matching function for call to
`Input_Slider::color (int)'
inputslider.h:88: candidates are: void Input_Slider::color(Fl_Color)
mainwindow.cxx:1074: no matching function for call to
`Input_Slider::selection_color (int)'
inputslider.h:95: candidates are: void
Input_Slider::selection_color(Fl_Color)
mainwindow.cxx:1109: no matching function for call to
`Input_Slider::color (int)'
inputslider.h:88: candidates are: void Input_Slider::color(Fl_Color)
mainwindow.cxx:1110: no matching function for call to
`Input_Slider::selection_color (int)'
inputslider.h:95: candidates are: void
Input_Slider::selection_color(Fl_Color)
mainwindow.cxx:1127: no matching function for call to
`Input_Slider::color (int)'
inputslider.h:88: candidates are: void Input_Slider::color(Fl_Color)
mainwindow.cxx:1128: no matching function for call to
`Input_Slider::selection_color (int)'
inputslider.h:95: candidates are: void
Input_Slider::selection_color(Fl_Color)
mainwindow.cxx:1165: no matching function for call to
`Input_Slider::color (int)'
inputslider.h:88: candidates are: void Input_Slider::color(Fl_Color)
mainwindow.cxx:1166: no matching function for call to
`Input_Slider::selection_color (int)'
inputslider.h:95: candidates are: void
Input_Slider::selection_color(Fl_Color)
mainwindow.cxx:1184: no matching function for call to
`Input_Slider::color (int)'
inputslider.h:88: candidates are: void Input_Slider::color(Fl_Color)
mainwindow.cxx:1185: no matching function for call to
`Input_Slider::selection_color (int)'
inputslider.h:95: candidates are: void
Input_Slider::selection_color(Fl_Color)
mainwindow.cxx:1202: no matching function for call to
`Input_Slider::color (int)'
inputslider.h:88: candidates are: void Input_Slider::color(Fl_Color)
mainwindow.cxx:1203: no matching function for call to
`Input_Slider::selection_color (int)'
inputslider.h:95: candidates are: void
Input_Slider::selection_color(Fl_Color)
mainwindow.cxx:1236: no matching function for call to
`Input_Slider::color (int)'
inputslider.h:88: candidates are: void Input_Slider::color(Fl_Color)
mainwindow.cxx:1237: no matching function for call to
`Input_Slider::selection_color (int)'
inputslider.h:95: candidates are: void
Input_Slider::selection_color(Fl_Color)
gmake: *** [mainwindow.o] Error 1
*** Error code 2

Stop in /apps/ports/print/xpp.
-- 
Matt Smith [EMAIL PROTECTED]


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



S3Virge DX causes X and Text screen corruption

2003-01-09 Thread Matt Smith
I am trying to configure an S3Virge DX for XFree86.  When X loads, the
screen looks fine initially, except for the mouse, which has some odd
corruption around it.  As I move the mouse around, start programs, or do
anything that changes the screen, the areas of the screen that change do
not seem to refresh properly.

In addition, just after I start X, and an instant before the X interface
actually begins, I see my text console get corrupted.  It almost looks
like the monitor is shifting everything roughly 3 inches to the right,
and wrapping lines around the screen.  Text near the bottom of the
screen gets corrupted.

I have tried using the following options, with no success:
noaccel True
Xvideo False
SWCursor True

But I don't know enough about the other options to guess which I should
try.

Below is my XF86Config file.  Any help would be appreciated.
Thanks!
-Matt

Section ServerLayout
Identifier XFree86 Configured
Screen  0  Screen0
InputDeviceMouse0 CorePointer
InputDeviceKeyboard0 CoreKeyboard
EndSection

Section Files
RgbPath  /usr/X11R6/lib/X11/rgb
ModulePath   /usr/X11R6/lib/modules
FontPath /usr/X11R6/lib/X11/fonts/misc/
FontPath /usr/X11R6/lib/X11/fonts/Speedo/
FontPath /usr/X11R6/lib/X11/fonts/Type1/
FontPath /usr/X11R6/lib/X11/fonts/75dpi/
FontPath /usr/X11R6/lib/X11/fonts/100dpi/
EndSection

Section Module
Load  extmod
Load  xie
Load  pex5
Load  glx
Load  dri
Load  dbe
Load  record
Load  xtrap
Load  speedo
Load  type1
EndSection

Section InputDevice
Identifier  Keyboard0
Driver  keyboard
EndSection

Section InputDevice
Identifier  Mouse0
Driver  mouse
Option  Protocol MouseSystems
Option  Device /dev/sysmouse
EndSection

Section Monitor
#DisplaySize  330   240 # mm
Identifier   Monitor0
VendorName   DELL
ModelNameDELL D1025TM
#Option DPMS
HorizSync 30.0 - 85.0
VertRefresh 50.0 - 120.0
EndSection

Section Device
### Available Driver options are:-
### Values: i: integer, f: float, bool: True/False,
### string: String, freq: f Hz/kHz/MHz
### [arg]: arg optional
#Option slow_edodram  # [bool]
#Option slow_dram # [bool]
#Option fast_dram # [bool]
#Option fpm_vram  # [bool]
#Option pci_burst # [bool]
#Option fifo_conservative # [bool]
#Option fifo_moderate # [bool]
#Option fifo_aggressive   # [bool]
#Option pci_retry # [bool]
#Option NoAccel   # [bool]
#Option early_ras_precharge   # [bool]
#Option late_ras_precharge# [bool]
#Option lcd_center# [bool]
#Option set_lcdclk# i
#Option set_mclk  # freq
#Option set_refclk# freq
#Option show_cache# [bool]
#Option HWCursor  # [bool]
#Option SWCursor  # [bool]
#Option ShadowFB  # [bool]
#Option Rotate# [str]
#Option UseFB # [bool]
#Option mxcr3afix # [bool]
#Option XVideo# [bool]
Identifier  Card0
Driver  s3virge
VendorName  S3
BoardName   ViRGE/DX or /GX
BusID   PCI:2:10:0
EndSection

Section Screen
Identifier Screen0
Device Card0
MonitorMonitor0
DefaultDepth16
SubSection Display
Depth 1
EndSubSection
SubSection Display
Depth 4
EndSubSection
SubSection Display
Depth 8
EndSubSection
SubSection Display
Depth 15
EndSubSection
SubSection Display
Depth 16
Modes   800x600
EndSubSection
SubSection Display
Depth 24
Modes   1280x1024 1024x768
EndSubSection
EndSection


-- 
Matt Smith [EMAIL PROTECTED]


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



Re: entering smbfs shares with spaces in name in fstab

2003-01-08 Thread Matt Smith
On Wed, 2003-01-08 at 11:15, Thomas Spreng wrote:
  
 On Wed, Jan 08, 2003 at 09:43:22AM -0500, Matt Smith wrote:
  I am looking to make an entry in my fstab for an smb file share that has
  a space in  the name.
  
  snip one line from fstab
  
  //Account@NBName/MY SHARE  /mntpointsmbfs
  rw,noauto,-W=AccountDomain,-I=RealName.My.Domain.Edu 0 0
  
  /end snip
  
  I have tried many variations on the share name using double-quotes,
  single-quotes, \ , with no success.
  
  mount /mntpoint
  fstab: /etc/fstab:17: Inappropriate file type or format
  fstab: /etc/fstab:17: Inappropriate file type or format
  mount: /mntpoint: unknown special file or file system
  
  mount is parsing the fstab and using the space in the share name as a
  delimiter.
  
  Any ideas how I can make this entry in my fstab?  Unfortunately,
  renaming my share is NOT an option.
  
  Thanks all,
  -Matt
  
  
  -- 
  Matt Smith [EMAIL PROTECTED]
  
  
  To Unsubscribe: send mail to [EMAIL PROTECTED]
  with unsubscribe freebsd-questions in the body of the message
  
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
Hi,
 
 you might try writing your space character as an ascii escape sequence (\040).
 
 bye,
   Tom
 
 
 
Tom -- thanks for the reply.  I found the same info on google, but it was from Linux 
sites.  Ufn, no luck -- now I get:
smbfs: unable to open connection: syserr = No such file or directory

To use the ascii escape sequence, do I need anything more than:
Account@NBName/MY\040SHARE  /mntpointsmbfs 
rw,noauto,-W=AccountDomain,-I=RealName.My.Domain.Edu 0 0


Even the following fails from a command line:
#mount -tsmbfs -o -I=RealName.My.Domain.Edu,-W=AccountDomain 
//Account@NBName/MY\040SHARE mntpoint/

This show a little more info (note the -d -v):
#mount -tsmbfs -d -v -o -I=RealName.My.Domain.Edu,-W=AccountDomain
//Account@NBName/MY\040SHARE mntpoint/

Which returns:
exec: mount -tsmbfs -d -v -o -I=RealName.My.Domain.Edu,-W=AccountDomain
//Account@NBName/MY040SHARE mntpoint/

Which seems to mean that \040 resolves to simply 040.


The following works (using \ ) from a command line:
#mount -tsmbfs -o -I=RealName.My.Domain.Edu,-W=AccountDomain
//Account@NBName/MY\ SHARE mntpoint/

But \  does NOT work in the fstab file.

Any other ideas, anyone?
-Matt

-- 
Matt Smith [EMAIL PROTECTED]


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



Re: Viewing Network Traffic

2003-01-07 Thread Matt Smith
tcpdump + tcpshow  -- text mode sniffer + viewer
ethereal -- X11 sniffer
etherape -- shows nice graphical analysis of network traffic.

On Tue, 2003-01-07 at 10:49, Justin P. Michel wrote:
 Greetings,
 
 I need to be able to view packets that are being sent out, and recieved by a
 machine on my network, running FreeBSD 4.7-Release-p2.  I was wondering what
 utilities are recommended by those in the know.  Any site links where I can
 read up on said utilities are also needed.
 
 Thanks in advance,
 
 Justin P. Michel
 
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
-- 
Matt Smith [EMAIL PROTECTED]


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



Re: File Descriptors

2003-01-02 Thread Matt Smith
man fstat

On Thu, 2003-01-02 at 14:12, Walker Pendleton wrote:
 Is there any way to see how many entries are being used in the file
 descriptor table?
 
 In other words, I want to know how many files are open on my system.
-- 
Matt Smith [EMAIL PROTECTED]


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



Re: Another GUI for browsing Windoze?

2002-12-27 Thread Matt Smith
On Fri, 2002-12-27 at 03:46, Mark-Nathaniel Weisman wrote:
 I've tried to install LinNeighborhood a dozen times now with different
 versions, and it just won't install. However, I need to be able to
 browse windoze boxes like I could in LinNeighborhood. Anyone have a port
 of that, or know where to get something like it. 
 
 It keeps giving me an error about my gtk-config file, saying it can't
 find an exit. I've got gtk-1.2.10_8 installed, and the config file is
 where it should be. All looks OK. Don't understand, but I need to see my
 network, any help?
 
 His Faithful Servant,
 Mark
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
Try  /usr/ports/net/xsmbrowser
It uses smbclient, works pretty well.

--
Matt Smith [EMAIL PROTECTED]


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



Re: Problem with my startup script?

2002-12-19 Thread Matt Smith

On Thu, 2002-12-19 at 11:59, Adam Lofstedt wrote:
 Hello wise ones,
 
 I am trying to mount a windows share at boot with mount_smbfs.  Since I
 have to use the noauto option in fstab (filesystems in fstab are mounted
 before the network is initialized), I have created a startup script
 (smbfsstartup.sh) and placed it in /usr/local/etc/rc.d:
 
 case $1 in
 start)
 /sbin/mount /myshare
   ;;
 stop)
   #Maybe do something here...
   ;;
 *)
 ;;
 esac
 
 This exact same script worked just fine on another machine.  When I
 moved it to a different machine I get this message when my system boots
 up:
 
 Local Package Initialization : (skipping smbfsstartup.sh, not
 executable).
 
 I have modified my nsmb.conf files appropriately in both /etc and
 /usr/local/etc.  Using mount at the command prompt works just fine.  I
 am not sure why my startup script is not working on this machine, the
 syntax looks fine to me.
 
 As a clue, when I mount from the command line, I get the following
 message:
 
 netsmb_dev: loaded
 
 Is this some kernel module that isn't getting loaded at boot time, and
 causing the script to fail?  Any thoughts?
 
 Thanks,
 Adam Lofstedt
 
 
 
 
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message


Is your script executable?
chmod 755 /usr/local/etc/rc.d/smbfsstartup.sh


-matt

-- 
Matt Smith [EMAIL PROTECTED]


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



RE: VNC

2002-12-16 Thread Matt Smith
The inetd.conf entry must be all in one line.
/etc/inetd.conf:
Xvncstream  tcp nowait  nobody  /usr/local/bin/Xvnc Xvnc -inetd
-query localhost  -once -geometry 800x600 -depth 24

As well, you must have a services entry
/etc/services:
Xvnc5900/tcp  #VNC Server

Also, inetd must be running:
/etc/rc.conf:
inetd_enable=YES

Proper host access must be configured:
/etc/hosts.allow:
Xvnc : xxx.xxx.xxx.0/255.255.255.0 : allow

Lastly, XDM (or GDM, KDM, etc) must be running, and configured to accept
requests, DIRECT or INDIRECT .  The above inetd.conf entry will allow
for DIRECT queries, INDIRECT can be used by replacing -query localhost
with -broadcast.

I use -query localhost to make Xvnc grab XDM only from my local box,
but this param can be configured to grab the XDM login from another box.

I would suggest reading about iXVNC from the VNC page -- the inetd
functionality originally came from this patch, but is now a native part
of the XVNC daemon:
http://www.dei.isep.ipp.pt/~andre/extern/ixvnc.htm

!!!Warning:  As configured, simply connecting to Xvnc service passes
everything plaintext!!!  I STRONGLY recommend tunneling VNC traffic over
SSH (or other secure tunnel).

Good luck!
-Matt

On Sun, 2002-12-15 at 08:37, Daniel HARTMANN wrote:
 Thanks for your suggestion.
 
 I tried, but it is not working.
 Should this command be in one ore two lines ??
 
 Thanks
 
 -Message d'origine-
 De : Matt Smith [mailto:[EMAIL PROTECTED]]
 Envoyé : vendredi 13 décembre 2002 18:17
 À : Ruben de Groot
 Cc : Brian T. Schellenberger; Brian; Daniel HARTMANN; Questions FREEBSD
 Objet : Re: VNC
 
 
 How about running XVNC under inetd?
 From inetd.conf:
 Xvncstream  tcp nowait  nobody  /usr/local/bin/Xvnc Xvnc -inetd
 -query localhost  -once -geometry 800x600 -depth 24
 
 XDM should be running also.
 
 Of course, since I can't read the original message, I'm not *exactly*
 sure what the original problem is...
 -Matt
 
 On Fri, 2002-12-13 at 01:56, Ruben de Groot wrote:
  On Thu, Dec 12, 2002 at 10:07:46PM -0500, Brian T. Schellenberger typed:
  
  
  
   On Thursday 12 December 2002 03:45 pm, Brian wrote:
   | getting vnc to start at boot is tricky, since you want it to start as
   | some user, rather than as root.  A solution I've been thinking of is
   | looking at the output os ps auxw, grepping for Xvnc owned by the
   | desired user, if its there exit, if not run vncserver as the user in
   | question.  Putting it in cron with a /8 to check every 8 minutes
   | seems a good idea.
 
  You can put it in the desired user's crontab like this:
 
  @reboot /path/to/startup-command
 
  
  
   My *guess* is that you would always want the server to start as the
   *same* user, if you want it to start at boot.
  
   In that case, it's quite simple, at least in theory (meaning, I haven't
   done this).
  
   If that is the only user who will *ever* want to own the server, then
   just make that user the owner of vnc and set the suid bit.
  
   If you want to keep the default vnc server with the usual owner
   (root?), then just create a hardlink used for the startup command and
   suid *that* as above.
 
  The suid bit is stored in the inode, not in the directory-entry of a
  hardlink. If you suid the hardlink you also suid the original.
  The same goes for ownership.
 
  
   |
   | Bri
   |
   | On Thu, 12 Dec 2002, Daniel HARTMANN wrote:
   |  Bonjour,
   | 
   |  J'utilise vnc vers ma machine Freebsd.
   | 
   |  Mais comment d?marrer vncserver automatiquement au boot sans
   |  taper la commande ??
   | 
   |  Merci
   | 
   | 
   | 
   | 
   | 
   |  Dany_H  ;-)
   |
   | To Unsubscribe: send mail to [EMAIL PROTECTED]
   | with unsubscribe freebsd-questions in the body of the message
  
   --
   Brian, the man from Babble-On . . . .   [EMAIL PROTECTED] (personal)
  
   To Unsubscribe: send mail to [EMAIL PROTECTED]
   with unsubscribe freebsd-questions in the body of the message
 
  To Unsubscribe: send mail to [EMAIL PROTECTED]
  with unsubscribe freebsd-questions in the body of the message
 --
 Matt Smith [EMAIL PROTECTED]
 
-- 
Matt Smith [EMAIL PROTECTED]


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



Re: VNC

2002-12-13 Thread Matt Smith
How about running XVNC under inetd?
From inetd.conf:
Xvncstream  tcp nowait  nobody  /usr/local/bin/Xvnc Xvnc -inetd
-query localhost  -once -geometry 800x600 -depth 24

XDM should be running also.

Of course, since I can't read the original message, I'm not *exactly*
sure what the original problem is...
-Matt

On Fri, 2002-12-13 at 01:56, Ruben de Groot wrote:
 On Thu, Dec 12, 2002 at 10:07:46PM -0500, Brian T. Schellenberger typed:
  
  
  
  On Thursday 12 December 2002 03:45 pm, Brian wrote:
  | getting vnc to start at boot is tricky, since you want it to start as
  | some user, rather than as root.  A solution I've been thinking of is
  | looking at the output os ps auxw, grepping for Xvnc owned by the
  | desired user, if its there exit, if not run vncserver as the user in
  | question.  Putting it in cron with a /8 to check every 8 minutes
  | seems a good idea.
 
 You can put it in the desired user's crontab like this:
 
 @reboot   /path/to/startup-command
 
  
  
  My *guess* is that you would always want the server to start as the 
  *same* user, if you want it to start at boot.
  
  In that case, it's quite simple, at least in theory (meaning, I haven't 
  done this).
  
  If that is the only user who will *ever* want to own the server, then 
  just make that user the owner of vnc and set the suid bit.
  
  If you want to keep the default vnc server with the usual owner 
  (root?), then just create a hardlink used for the startup command and 
  suid *that* as above.
 
 The suid bit is stored in the inode, not in the directory-entry of a 
 hardlink. If you suid the hardlink you also suid the original.
 The same goes for ownership.
 
  
  |
  |   Bri
  |
  | On Thu, 12 Dec 2002, Daniel HARTMANN wrote:
  |  Bonjour,
  | 
  |  J'utilise vnc vers ma machine Freebsd.
  | 
  |  Mais comment d?marrer vncserver automatiquement au boot sans
  |  taper la commande ??
  | 
  |  Merci
  | 
  | 
  | 
  | 
  | 
  |  Dany_H  ;-)
  |
  | To Unsubscribe: send mail to [EMAIL PROTECTED]
  | with unsubscribe freebsd-questions in the body of the message
  
  -- 
  Brian, the man from Babble-On . . . .   [EMAIL PROTECTED] (personal)
  
  To Unsubscribe: send mail to [EMAIL PROTECTED]
  with unsubscribe freebsd-questions in the body of the message
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
-- 
Matt Smith [EMAIL PROTECTED]


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



Re: Please update your webpage

2002-12-05 Thread Matt Smith
I think send-pr.html is still disabled..

On Thu, 2002-12-05 at 05:52, Roman Neuhauser wrote:
 # [EMAIL PROTECTED] / 2002-12-04 14:39:37 -0500:
  Salem State College has changed its domain name to salemstate.edu.
  The old domain salem.mass.edu is being eliminated.
  We have determined that the following pages on your site contain
  links to salem.mass.edu;
  
  http://btcips73x1.cip.uni-bayreuth.de/ru/ports/ruby.html
  
  Please update those pages to reflect this change.
  
  If you have any questions please feel free to contact us directly at
  [EMAIL PROTECTED]
 
 Thanks for the update. To ensure that your request is handled
 properly, please file a PR at http://www.freebsd.org/send-pr.html.
 The affected port is devel/ruby-locale.
-- 
Matt Smith [EMAIL PROTECTED]


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



How do I block spam locally? (WAS: Re: Reacting to spam targettedto freebsd.org [was: Re: PLS GET BACK TO ME.])

2002-11-21 Thread Matt Smith
I agree, but how do I run spam filtering locally?  
As an average desktop user, I simply use a client to POP mail from a
server -- are there client plugins that filter for spam?  I currently
use Evolution, but am willing to change if there a spam filter plugins
for other clients.

As a slightly-more-than-average desktop user, I just figured out
fetchmail to fetch a POP3 account to my local sendmail (base system,
default install, set for local deliver only).  Is SpamAssassin the
best way to go?  Is it a plugin for Sendmail?  If I'm going to start
messin' with my local MTA, should I try something besides Sendmail?  The
config options of Sendmail are somewhat daunting -- it seems like an
SMTP handler should be simpler.

Thoughts?

Thanks all,

-Matt
On Thu, 2002-11-21 at 09:47, Kirk Strauser wrote:
 At 2002-11-21T14:00:56Z, Yann Golanski [EMAIL PROTECTED] writes:
 
  Would it be possible for the owners of the lsit to install something
  like SpamAssassin so that those messages actually don't get to us? 
 
 Erm, I'm roughly 99.999% against that idea.  What if someone's writing to
 ask how to secure their FreeBSD box that's currently being used as a spam
 relay (and is on many blackhole lists)?
 
 For what it's worth, I run SpamAssassin locally, and use it to *mark*
 possible spams, but never drop them.  Then I configured my client to filter
 based on the `X-Spam-Status' header into a spam folder that I periodically
 check.  Once a month or so, I find a piece of mail that *should* have passed
 but was marked, so I have to adjust my rules and/or whitelist accordingly.
-- 
Matt Smith [EMAIL PROTECTED]


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



NSS anyone?

2002-11-21 Thread Matt Smith
Hi all-  
  My searches on freebsd.org of both the site and the mailing lists have
returned some confusing (to me) answers, so here is the question:
Does FreeBSD-Current support NSS, particularly for use against LDAP or
*SQL?
Thanks,
-Matt

-- 
Matt Smith [EMAIL PROTECTED]


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



Re: Is there such a thing like a TCP proxy|relay?

2002-11-21 Thread Matt Smith
I think you want NAT:
man ipnat
man natd

-Matt
On Thu, 2002-11-21 at 15:30, Carlos Carnero wrote:
 Hi,
 
 ok, this is another wacky question. I have connected
 two subnetworks to my FreeBSD router to the internet.
 By design they shouln't be able to communicate between
 them--which I have done with IP Filter.
 
 What I'd like to do now is to make a TCP proxy/relay
 on my firewall/router. For instance, opening port 3389
 on the firewall (from the inside, machine A) would
 open port 3389 of machine B that sits on the other
 network.
 
 Is there a port that can handle that?
 
 I don't need encryption, so (I think) that SSH tunnels
 are way too much for me.
 
 Best regards,
 Carlos.
 
 __
 Do you Yahoo!?
 Yahoo! Mail Plus  Powerful. Affordable. Sign up now.
 http://mailplus.yahoo.com
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
-- 
Matt Smith [EMAIL PROTECTED]


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



Re: disabling root logins

2002-11-15 Thread Matt Smith
For console:
edit /etc/ttys
change secure to insecure for each tty that you wish to keep root out
of.

On Fri, 2002-11-15 at 01:54, Ian Barnes wrote:
 Hi,
 
 I would like to disable root logins, both at console and through ssh ...
 
 where should I start ?
 
 thanks for the help
 
 Ian
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
-- 
Matt Smith [EMAIL PROTECTED]


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



gdm2 + gdmchooser

2002-11-11 Thread Matt Smith
Is anyone successfully running gdm2 with gdmchooser?  I have enabled
XDCMP options using the gdm configuration program, and have verified the
changes in gdm.conf.  I am expecting to see gdmchooser pop-up at login,
displaying computers broadcasting and making direct queries, but I don't
see anything.  Am I missing some configuration, or am I confused as to
what gdmchooser will do?

thanks all!


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



Netbeans

2002-10-25 Thread Matt Smith
Anyone using NetBeans for Java development on FreeBSD?  Good, bad, ugly?

Also, are there any good multi-language GUI IDEs for FreeBSD?  At the
moment I use SciTE for my coding (lots of languages supported for syntax
highlighting), then Makefiles for project management, which is pretty
good.

I would like something similar to the NetBeans interface, but with
support for other language plugins (providing project management,
syntax highlighting, compiler configurations, GUI interface to existing
debugging tools, etc), AND an existing archive of plugins for numerous
languages, since I am too lazy to write my own.  ;)

I am not interested in using vi or emacs, or any such spin-offs.  I am
primarily looking for language support for C, C++, Java, PERL, PHP,
Python, and LISP.

I would prefer something free and in the ports collection, but I am open
to commercial offerings as well, as long as it runs on FreeBSD (because
I am not willing to switch to Linux).

Thanks all!
-Matt


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



Re: xfree question not answered on the xfree lists, maybe here?

2002-10-24 Thread Matt Smith
On Thu, 2002-10-24 at 10:06, [EMAIL PROTECTED] wrote:
 At 06:41 AM 10/24/2002 -0700, you wrote:
 Hi Chip,
 I had a very similar problem on a rather simplistic mother board that had a 
 buil-in video card; I was trying to use a card in a pci slot and the 
 problem was in the configuration. I suspect that what you have to do is 
 just try diffrent configurations for the Screen section:
 For instance, try a different depth, like 8 with 1024x768 and 800x600 . 
 My card is supposed to go to 1600x1200 at 24bits but just does not do it - 
 I think it has to do with the memory you have for the video.  Oddly, mine 
 started working when I configured Depth 8 and Depth 16 to Modes 1280x1024 
  1024x768
 HTH,
 PJ
 
 I put this on chat becuase it's a bit off topic, and it has yet to be
 answered on the xfree lists. I just installed fbsd 4.7 on a new box, at
 the prompt to configure the x server said no, and finished the install.
 I then ran XFree86 -configure and copied the XFree86Config to /etc/X11/.
 When I start X it starts okay except it will only run in 4 bit mode.
 Even when I try to force it to 16 bit at the startx prompt, it will
 default to 4. I tried to comment out the 4bit subsection the XFree will
 only complain that it's not there and fail to load. I know the video
 card and monitor will do 16 bit and 1024x768, it was on the previous
 install, and the box dual-boots win2000, which is using that config. I
 noticed there are no lines for modes in the screens subsections, so I
 added one to the 16bit subsection, it only breaks X again. I've included
 the XFree86Config at the bottom of this message.
 Hopefully someone will be able to help me here. :)
 Regards,
 Chip W
 
 --
 XFree86Config
 --
 
 Section ServerLayout
  Identifier XFree86 Configured
  Screen  0  Screen0 0 0
  InputDeviceMouse0 CorePointer
  InputDeviceKeyboard0 CoreKeyboard
 EndSection
 
 Section Files
  RgbPath  /usr/X11R6/lib/X11/rgb
  ModulePath   /usr/X11R6/lib/modules
  FontPath /usr/X11R6/lib/X11/fonts/misc/
  FontPath /usr/X11R6/lib/X11/fonts/Speedo/
  FontPath /usr/X11R6/lib/X11/fonts/Type1/
  FontPath /usr/X11R6/lib/X11/fonts/75dpi/
  FontPath /usr/X11R6/lib/X11/fonts/100dpi/
 EndSection
 
 Section Module
  Load  dbe
  Load  dri
  Load  extmod
  Load  glx
  Load  pex5
  Load  record
  Load  xie
  Load  xtrap
  Load  speedo
  Load  type1
 EndSection
 
 Section InputDevice
  Identifier  Keyboard0
  Driver  keyboard
 EndSection
 
 Section InputDevice
  Identifier  Mouse0
  Driver  mouse
  Option  Protocol MouseSystems
  Option  Device /dev/sysmouse
 EndSection
 
 Section Monitor
  Identifier   Monitor0
  VendorName   Monitor Vendor
  ModelNameMonitor Model
 EndSection
 
 Section Device
  ### Available Driver options are:-
  ### Values: i: integer, f: float, bool: True/False,
  ### string: String, freq: f Hz/kHz/MHz
  ### [arg]: arg optional
  #Option ShadowFB  # [bool]
  #Option VGAClocks # [bool]
  Identifier  Card0
  Driver  vga
  VendorName  SiS
  BoardName   630
  BusID   PCI:1:0:0
 EndSection
 
 Section Screen
  Identifier Screen0
  Device Card0
  MonitorMonitor0
  SubSection Display
  Depth 1
  EndSubSection
  SubSection Display
  Depth 4
  EndSubSection
  SubSection Display
  Depth 8
  EndSubSection
  SubSection Display
  Depth 15
  EndSubSection
  SubSection Display
  Depth 16
  EndSubSection
  SubSection Display
  Depth 24
  EndSubSection
 EndSection
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 

Also -- try specifying a DefaultMode in your Screen section.


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



Re: Best practice when building a -STABLE branch kernel

2002-10-18 Thread Matt Smith
List, please correct me if I am wrong:

The business-as-usual practice would be to not run -Stable, but rather
run a -Release.  -Stable, although more stable than -Current, should not
be run in business-production, although my hunch is that many small
environments do.

If you are running -Stable, then chances are you have some technical
knowledge, and could contribute back to the project, in which case
including debugging options could be helpful.

Any other thoughts?
-Matt

On Fri, 2002-10-18 at 12:10, joe wrote:
 Is it a best practice to include debuging options in a -STABLE tree 
 kernel? 
 
 I have read the following article which suggests that a business-as- 
 usual practice should be to include debugging options.
 
 http://www.onlamp.com/pub/a/bsd/2002/03/21/Big_Scary_Daemons.html?page=1
 
 The kernel developer's handbook 
 
(http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html)
 
 does not offer an opinion
 
 Is there some alternative thinking?
 
 ---
 Joe Sotham
 ---
 Christianity got over the difficulty of furious opposites by keeping 
 them both and keeping them furious.
   - G.K. Chesterton
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 



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



Re: directory structuer for a web server

2002-10-08 Thread Matt Smith

I have always like the DNS style layout:
/www   -- dedicated file system
/www/com/
/www/com/mycomdomain  -- website for mycomdomain.com
/www/org/
/www/org/myorgdomain  -- website for myorgdomain.org
...
etc
...

this filesystem matches DNS, and LDAP (for authentication and other
info), which makes for some neat scripting possibilities

-Matt


On Tue, 2002-10-08 at 00:00, Kirk Bailey wrote:
 I can indeed imagine the aspirin bill. With my approach, it is systematic, each
 domain has it's own cgi-bin directly  under it's web dir, and the server will
 not permit access to anything other than the root directory for that domain, and
 it's cgi-bin.
 
 However, now I am writing a application for other people's web servers, it
 behooves me to learn of the fetishes of other people.
 
 oh- the item in question:
   http://www.tinylist.org/
 
 Jerry McAllister wrote:
  
  
   where should one properly place the directory for the web pages in a web
   server,
   and is there a standard name for it? I have a box with several domains
   in it, so
   I created /www off of root, ant /www/www.foo.foo for each domain
   under /www but
   I suspect this is not a standard solution. Any advice?
  
  Not bad.   Really, the only thing that matters is keeping them
  in a way that makes sense and makes it easy to keep them apart
  and easy to address.
  
  Mayn of our servers host several domains and almost al of these have
  a virtual host web page.  We create an account for most of our virtual
  hosts (because there is a different person working on the web page
  for each) and then the home page for each virtual host then gets put
  in the directory 'web' in each of those home directories.
  
  eg   ~accoutn_homedir/web/index.html  or whatever
  
  For the servers themselves we follow a convention of installing
  Apache in'/usr/local/web/...'
  Everything, from binaries to config files to logs all fall under that.
  The only thing outside of that is the apache.sh in /usr/local/rc.d
  The servers own web pages start in  /usr/local/web/documents
  
  I have seen some really convoluted setups with bits an pieces
  strung out in /usr/sbin/... and /etc/... and other places.
  I can only imagine the annoyance of managing those.
  
  jerry
  
  
   --
  
   end
  
   Respectfully,
Kirk D Bailey
  
  
   +-Thou Art Free. -Eris---+
   | http://www.howlermonkey.net  mailto:[EMAIL PROTECTED] |
   | KILL spam dead!  http://www.scambusters.org/stopspam/#Pledge |
   | http://www.tinylist.org  ++   mailto:[EMAIL PROTECTED] |
   +--Thinking| NORMAL |Thinking--+
  ++
   ---
   Introducing NetZero Long Distance
   Unlimited Long Distance only $29.95/ month!
   Sign Up Today! www.netzerolongdistance.com
  
   To Unsubscribe: send mail to [EMAIL PROTECTED]
   with unsubscribe freebsd-questions in the body of the message
  
 
 -- 
 
 end
 
 Respectfully,
  Kirk D Bailey
 
 
 +-Thou Art Free. -Eris---+
 | http://www.howlermonkey.net  mailto:[EMAIL PROTECTED] |
 | KILL spam dead!  http://www.scambusters.org/stopspam/#Pledge |
 | http://www.tinylist.org  ++   mailto:[EMAIL PROTECTED] |
 +--Thinking| NORMAL |Thinking--+
++
 ---
 Introducing NetZero Long Distance
 Unlimited Long Distance only $29.95/ month!
 Sign Up Today! www.netzerolongdistance.com
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 



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



Re: need help with x server and mouse

2002-09-23 Thread Matt Smith

Try:

Section InputDevice
Identifier  Mouse0
Driver  mouse
Option  Protocol auto
Option  Device /dev/sysmouse
Option  ZAxisMapping 4 5 
EndSection

If you have a wheel mouse, you don't need the Emulate3Buttons -- push
the wheel for button 3.
Also, try the auto protocol -- it usually works out.

Good luck!
-Matt

On Mon, 2002-09-23 at 02:16, taproot420 wrote:
 Hello TapRoot420,
 
 Monday, September 23, 2002, 12:55:15 AM, you wrote:
 
 T I just installed FreeBSD 4.6.2 the current release. Everything is working fine 
except my mouse. It works without X running in the plain console i get when i boot 
up, but as soon as #startx the
 T mouse pointer goes dirrectly into the upper left cornner of my monitor when i 
move it for the first time after starting the X server and stays there...the pointer 
will flicker if i move the mouse,
 T like its trying to move but it just stays stuck in the corner.
 
 T The mouse is a logitech scroll wheel model# M-S48a
 
 T Also x is running fine but i wondering if there is a way to get the dvi port on 
my card to work instead of the analog one i am currently using as i have a planar 
digital flat screen that has a dvi
 T input.
 
 T the video card is a Geforce 4 with dvi out.
 
 
 T Here is my XF86Config file:
 
 
 T # File generated by xf86config.
 
 T #
 T # Copyright (c) 1999 by The XFree86 Project, Inc.
 T #
 T # Permission is hereby granted, free of charge, to any person obtaining a
 T # copy of this software and associated documentation files (the Software),
 T # to deal in the Software without restriction, including without limitation
 T # the rights to use, copy, modify, merge, publish, distribute, sublicense,
 T # and/or sell copies of the Software, and to permit persons to whom the
 T # Software is furnished to do so, subject to the following conditions:
 T # 
 T # The above copyright notice and this permission notice shall be included in
 T # all copies or substantial portions of the Software.
 T # 
 T # THE SOFTWARE IS PROVIDED AS IS, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 T # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 T # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
 T # THE XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
 T # WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
 T # OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 T # SOFTWARE.
 T # 
 T # Except as contained in this notice, the name of the XFree86 Project shall
 T # not be used in advertising or otherwise to promote the sale, use or other
 T # dealings in this Software without prior written authorization from the
 T # XFree86 Project.
 T #
 
 T # **
 T # Refer to the XF86Config(4/5) man page for details about the format of 
 T # this file.
 T # **
 
 T # **
 T # Module section -- this  section  is used to specify
 T # which dynamically loadable modules to load.
 T # **
 T #
 T Section Module
 
 T # This loads the DBE extension module.
 
 T Loaddbe   # Double buffer extension
 
 T # This loads the miscellaneous extensions module, and disables
 T # initialisation of the XFree86-DGA extension within that module.
 T SubSection  extmod
 T   Optionomit xfree86-dga   # don't initialise the DGA extension
 T EndSubSection
 
 T # This loads the Type1 and FreeType font modules
 T Loadtype1
 T Loadfreetype
 
 T # This loads the GLX module
 T #Load   glx
 
 T EndSection
 
 T # **
 T # Files section.  This allows default font and rgb paths to be set
 T # **
 
 T Section Files
 
 T # The location of the RGB database.  Note, this is the name of the
 T # file minus the extension (like .txt or .db).  There is normally
 T # no need to change the default.
 
 T RgbPath /usr/X11R6/lib/X11/rgb
 
 T # Multiple FontPath entries are allowed (which are concatenated together),
 T # as well as specifying multiple comma-separated entries in one FontPath
 T # command (or a combination of both methods)
 T # 
 T # If you don't have a floating point coprocessor and emacs, Mosaic or other
 T # programs take long to start up, try moving the Type1 and Speedo directory
 T # to the end of this list (or comment them out).
 T # 
 
 T FontPath   /usr/X11R6/lib/X11/fonts/local/
 T FontPath   /usr/X11R6/lib/X11/fonts/misc/
 T FontPath   /usr/X11R6/lib/X11/fonts/75dpi/:unscaled
 T FontPath   /usr/X11R6/lib/X11/fonts/100dpi/:unscaled
 T FontPath   

port: pilot-link compile error

2002-09-23 Thread Matt Smith

CVSup from this morning, been having this problem for a couple of days. 
pilot-link won't compile, using  2.95.4 20020320, although I have
gcc-3.1.1_20020909 port also installed.

snippet

cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include
-I/usr/local/include -O -pipe -march=pentiumpro -I/usr/local/include
-I/usr/local/include/tcl8.3 -c palmpix.c  -fPIC -DPIC -o
.libs/palmpix.lo
In file included from /usr/include/sys/types.h:48,
 from /usr/local/include/stdint.h:9,
 from /usr/local/include/inttypes.h:3,
 from palmpix.c:34:
/usr/include/sys/inttypes.h:16: redefinition of `uint8_t'
/usr/local/include/stdint.h:5: `uint8_t' previously declared here
/usr/include/sys/inttypes.h:17: redefinition of `uint16_t'
/usr/local/include/stdint.h:6: `uint16_t' previously declared here
/usr/include/sys/inttypes.h:18: redefinition of `uint32_t'
/usr/local/include/stdint.h:7: `uint32_t' previously declared here
/usr/include/sys/inttypes.h:19: redefinition of `uint64_t'
/usr/local/include/stdint.h:8: `uint64_t' previously declared here
*** Error code 1

Stop in /apps/ports/palm/pilot-link/work/pilot-link-0.11.4/libpisock.
*** Error code 1

Stop in /apps/ports/palm/pilot-link/work/pilot-link-0.11.4.
*** Error code 1

Stop in /apps/ports/palm/pilot-link/work/pilot-link-0.11.4.
*** Error code 1

Stop in /apps/ports/palm/pilot-link.


/snippet

any thoughts?
-Matt


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



Re: Using MFS for the first time

2002-09-21 Thread Matt Smith

What is the /dev/null component in the MFS line below?  I have seen the 
swap slice used, but never /dev/null.  For that matter, I don't even 
really know what that component does -- why do I need to list a device 
for a RAM disk?  Could someone fill in my knowledge gap?
Thanks
-Matt
Oliver Fromme wrote:
 Joseph [EMAIL PROTECTED] wrote:
   Okay, so I've been using Windows, so what?! Sure it crashes alot, and
   has a serious number of fatal errors, but it compatible with an easy to
   configure Ram-disk program. In a matter of seconds, i had a virtual
   drive running off of my 512 mb of spare ram.
 
 That's right, the old RAM-Disk driver even existen in the
 old DOS days, 15 years ago, and that's where it belongs.
 It is static and non-swappable.  Not even perfect for a
 single-tasking system like DOS.  ;-)
 
   Okay, so maybe i exaggerate a little. I'm not too fond of Windows.
   Freebsd is the best choice i've made by far. However, i am quite new to
   MFS usages, and Kernel compilations. I'm hoping that an expert in this
   field can point out the pro's and con's, usages of, maintenance of MFS.
   Btw, this is just a standalone system, a personal computer, u might say.
 
 I'm not an expert, but I'm using MFS myself.  It's pretty
 easy to set up:  Add a line like this to your /etc/fstab
 file:
 
 /dev/null  /tmp  mfs  rw,nosuid,nodev,-s=204800,-m=0,-T=minimum  0  0
 
 The number behind -s= specifies the maximum size in disk
 blocks, where one block is 512 bytes.  In the above example,
 the MFS filesystem would be 100 Mbytes.  It is mounted on
 /tmp, which is the typical usage for an MFS.
 
 Pros:  Well, it's faster than a physical disk, as long as
 there is enough RAM to back up the data.  If you run out
 of RAM, the contents of the MFS are (partially) paged to
 the swap area on your harddisk, just like a normal process
 (and unlike the DOS RAMdisk driver).
 
 Cons:  If you're really low on RAM, and MFS won't do you
 any good -- quite the opposite:  It takes up valuable RAM
 which ends up being paged to disk anyway if there's not
 enough RAM left.
 
 Another disadvantage is that the contents of the MFS are
 lost when the machine reboote (obviously).  On the other
 hand it could be seen as an advantage, as the contents of
 /tmp don't have to be cleaned after a reboot.
 
 Be careful not to mount an MFS on /var/tmp, because this
 directory is expected by several tools to survive a reboot
 (for example to save vi editor sessions)!
 
 Regards
Oliver
 



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



Re: IRQ problems

2002-09-20 Thread Matt Smith

/Most/ of this config was autocreated for me by XFree86 -configure,
but I had to add the ZAxisMapping by hand.  The following InputDevice
section can be added directly to your /etc/X11/XF86Config file. 

However, I see a number of other responses with alternate InputDevice
sections.  You might want to try them all, based on your specific
config. 

Section InputDevice 
Identifier  Mouse0 
Driver  mouse 
Option Protocol auto 
Option Device /dev/sysmouse 
Option  ZAxisMapping 4 5 
EndSection 

Hope that helps, 
-Matt 

On Thu, 2002-09-19 at 16:18, [EMAIL PROTECTED] wrote: 
 What is the best way to configure this?  Through the visual XF86Config 
 tool, script based, or just go into the file and change the options?  I 
 beleive that these are the settings I currently have.  I will check in the 
 morning (machine at home, I am at work).
 Thanks,
 Stephen
 Quoting Matt Smith [EMAIL PROTECTED]:
 
  How is your mouse configured in /etc/X11/XF86Config?
  Try the sysmouse device, with Protocol set to auto -- I had the same
  problem, and these setting fixed it.  I am using a Wheel Mouse with no
  problems now. the wheel will work once you add the ZAxisMapping
  configs..
  -Matt
  
  On Thu, 2002-09-19 at 15:05, [EMAIL PROTECTED] wrote:
   I'm getting there.  It has taken me two weeks to get to this point.  I
  will 
   never give up! :-)
   
   I still can not install freeBSD with the graphical interface KDE.  I
  get 
   through the installation process ok and then when I restart, login as
  root 
   (or any other acct) and invoke startx this is what happens:  
   
   The KDE desktop initializes and displays fine, but the mouse jitters
  and 
   jerks and stays in the upper left hand corner of the screen.  It
  responds 
   to input, (when I move the mouse it jerks out of the corner then back
  in, 
   and I cannot control it.  For now I wouldn't mind not using the mouse,
  but 
   I don't know how to make the pointer move without it in KDE (is there
  
   virtual mouse utility like in X?).
   
   Let me tell something about my hardware and settings, maybe this will
  
   reveal something obvious and blaring to you, but hidden to me.
   
   IRQ Problems:
   I am running WindowsXP on an ASUS P2B motherboard.  It is a dual
  processor 
   board, but I only have one P2 (450mhz) processor (I am running
  hal.dll).  
   When I run Winmsd.exe (in safe mode).  I show the display adapter
  (Matrox 
   G400 Max) at IRQ 16.
   
   In the BIOS I have the PnP OS variable set to OFF.  When I power up the
  
   machine and I see the display of most of the system devices, their
  address, 
   names and IRQ values.  Here, the display adapter resides at IRQ 12.
   
   During the installation probe of freeBSD there is no option to set the
  
   display adapter IRQ.  The mouse comes up as IRQ 12 and will not let me
  edit 
   it.  So I think I have an IRQ conflict, but I don't know how to resolve
  it 
   on the pc end or the freeBSD end.  I even tried fooling the BIOS into
  
   thinking that the display adapter had a different IRQ so that it would
  not 
   occupy IRQ 12.  Alas, to no avail.
   
   I would love to send the startup log, but I haven't figured out how to
  do 
   that.  The machine assumptions are different every which way I look
  at 
   them.  In windows safe mode I see what looks to be a complete
  accounting of 
   config values.  In normal mode, running Winmsd.exe I get a different
  set of 
   values.  Looking at the device manager reveals some different twists. 
  The 
   machine level/BIOS assumptions have subtle but important differences,
  and 
   finally the freeBSD probe reveals different values all together.  For
  me it 
   is a little like hitting a moving target that is on a moving target
  (while 
   I am moving).
   
   Here is where I could use some help.
   1.  I need a tool or procedure that I could use to DEFINATIVELY capture
  
   IRQ, I/O and memory addresses (all I care about is wow they will work
  in 
   freeBSD).
   
   2.  A way to view and edit IRQ information on the freeBSD side other
  than 
   the initial installation.  It takes a LONG time to re-install the
  system, 
   when you just want to change one value and test it (something like the
  
   system probe).  I have re-installed the system, probably 30 times now
  (I'm 
   a little stubborn).  
   
   I am a newbie to be sure, but I really want to learn.  I have a
  definite 
   goal in mind for setting this up.  I want to set up an FTP and mail
  server, 
   and I have consistently heard that the BSD platform is THE way to go (I
  
   also love this sort of challenge).  
   
   I will not be deterred or discouraged.
   
   Many thanks for any help.
   
   Stephen
   
   
   
   Stephen Randall
   [EMAIL PROTECTED]
   
   To Unsubscribe: send mail to [EMAIL PROTECTED]
   with unsubscribe freebsd-questions in the body of the message

Re: Can't mount my fat32 partition

2002-09-20 Thread Matt Smith

Are you running Windows 2000?  It looks like you have an NTFS partition
on ads02, which would probably be your C: drive in Windows.  Is that
what you are trying to mount?  If so, you really need:
mount -tntfs /dev/ad0s2 /mnt
which will mount that drive read-only (NTFS is not writable yet, AFAIK)

OR did you create a different FAT32 partition?  If you created your own
separate FAT32 partition, did you create a logical partition, IN the
extended partition?  if so, try:

cd /dev
sh MAKEDEV ad0s5
mount_msdos /dev/ad0s5 /mnt

Hope that helps,
-Matt


On Fri, 2002-09-20 at 13:57, twig les wrote:
 Hey all, for some reason I'm having a lot of trouble
 mounting a fat 32 partition, even though the book I
 have and the web site I found both said that it's a
 snap.  The man page didn't help and a google search
 didn't either so here goes.
 
 I keep getting an invalid argument response when I try
 to mount my windoze partition (as root):
 
 L# mount_msdos /dev/ad0s3 /mnt
 mount_msdos: /dev/ad0s3: Invalid argument
 
 Here is my hard drive according to fdisk:
 
 Disk name:  ad0   
 FDISK Partition Editor
 DISK Geometry:  1467 cyls/255 heads/63 sectors =
 23567355 sectors (11507MB)
 
 Offset   Size(MB)End Name  PType  
 Desc  SubtypeFlags
 
  0  0 62-  6
 unused0
 63   29966136829ad0s1  1
 NTFS/HPFS/QNX7
6136830   5498   17398394ad0s2  3   
 freebsd  165C
   17398395   3012   23567354ad0s3  4  
 extended   15
   23567355  5   23579135-  6
 unused0
 
 
 And here is my OS:
 
 L# uname -a
 FreeBSD L.liza.com 4.6.2-RELEASE-p2 FreeBSD
 4.6.2-RELEASE-p2 #0: Mon Sep 16 13:41:26 PDT 2002
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/FW.safe  i386
 
 
 As you can see, fdisk (and partition magic 5.0) thinks
 that the fat32 partition is extended, but it is
 numbered as 3, when extended partitions are supposed
 to start at 5 (so I've read).  Well ad0s5 doesn't
 exist and ad0s3 is clearly the 3gig fat32 I just
 formatted.  Please help a poor confused soul.
 
 =
 ---
 Heavy metal made me do it.
 ---
 
 __
 Do you Yahoo!?
 New DSL Internet Access from SBC  Yahoo!
 http://sbc.yahoo.com
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 



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



Re: OT sed help

2002-09-19 Thread Matt Smith

Try these
Use this if part numbers are numeric only.
  cat my_flat_file | sed /^[0-9]\{8\}[^0-9].*$/d

Use this if part numbres are alpha-numeric, and columns are seperated by
whitespace
  cat my_flat_file | sed /^[0-9a-zA-Z]\{8\}.*$/d

These will both simply delete(from view, not from the file) compliant
entries, displaying only non-compliant entries.


On Thu, 2002-09-19 at 10:38, Matthew Bettinger wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Hello,
 
 I know this is off topic however I hope someone can help.
 
 I have a flat file that I need to import into a database.  The first field of 
 the file is a part number which cannot exceed more than 8 characters.
 
 Does anyone know how I can use  sed to count the characters in the first field 
 and if there are more than 8 print out a list?
 
 Thank you.
 
 Matt 
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.0.7 (FreeBSD)
 
 iD8DBQE9ieFpXG7+MmNwciURAqRxAJsES932AbaFG0w4+1oGU+K6reogEwCgoEdx
 ZEf/Vi3j8vq8HbO4t7gSAqY=
 =taxV
 -END PGP SIGNATURE-
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 



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