Re: make index failure

2005-06-08 Thread Charles Swiger

Hi--

On Jun 8, 2005, at 4:22 PM, Nicolas Salvo wrote:

 I have some problems with generating the index of the ports
collection, the problem is
 hardware related, and in some part of the process the host
goes down. I want to know if
 there's a way to keep the status, so when the host comes back
I can finish it.


It's quite likely that cd /usr/ports  make fetchindex is going to  
do what you want without the hardware stress that building the INDEX  
locally causes.  However, your machine should not crash or go down  
just because it is under load, either.


--
-Chuck

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


Re: Editing the boot menu

2005-06-08 Thread Alejandro Pulver
On Wed, 08 Jun 2005 14:17:37 -0500
Paul Schmehl [EMAIL PROTECTED] wrote:

 When you use FreeBSD's boot manager, you get a menu like this at
 bootup:
 
 F1 DOS
 F2 FreeBSD
 F3 Linux
 F4 ??
 F5 Drive 1
 
 Default: F2
 
 Is there a way to edit the list?  Or is that fixed when boot manager
 is  installed and not configurable?
 
 By edit, I mean, for example, change F4 ?? to F4 MyOS.
 

Hello,

You can try using GAG, a Graphical Boot Loader which does not need a
slice or partition for installing (it uses a special part of the disk,
reserved for things like that), it can be configured while booting,
self uninstalled (restoring the previous bootloader) and supports a lot
of operating systems. Of course, it is free and open-source.

http://gag.sourceforge.net/

It is the *best* bootloader (for booting more than one operating
systems) I have found (I have tried BootMagic, Lilo and Grub).

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


Re: Editing the boot menu

2005-06-08 Thread José de Paula Rodrigues
On 6/8/05, Paul Schmehl [EMAIL PROTECTED] wrote:
 --On Wednesday, June 08, 2005 16:29:22 -0300 José de Paula Rodrigues
 [EMAIL PROTECTED] wrote:
 
  On 6/8/05, Paul Schmehl [EMAIL PROTECTED] wrote:
  When you use FreeBSD's boot manager, you get a menu like this at bootup:
 
  F1 DOS
  F2 FreeBSD
  F3 Linux
  F4 ??
  F5 Drive 1
 
  Default: F2
 
  Is there a way to edit the list?  Or is that fixed when boot manager is
  installed and not configurable?
 
  By edit, I mean, for example, change F4 ?? to F4 MyOS.
 
 
  man boot0cfg
 
 I *thought* it would go without saying that I had already read man boot0cfg.
 
 Obviously, I missed the part where you edit the menu.  Wanna give me a hint?
 

I'm really sorry I underestimated you, I misunderstood your question
in the first place.

From what I gather, these labels come straight from /boot/boot0, not
from boot0cfg. Looking at the boot0 source code (found at
/usr/src/sys/boot/i386/boot0/boot0.S), you can see that the OS options
are hard-coded into the boot0 program, so there is no way to edit that
other than by changing the source code and recompiling.

Did you try using Grub instead? It now supports UFS2, and is a great
bootloader, with lots of features. You can find it in your ports tree.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Editing the boot menu

2005-06-08 Thread Paul Schmehl
--On Wednesday, June 08, 2005 17:38:36 -0300 Alejandro Pulver 
[EMAIL PROTECTED] wrote:


You can try using GAG, a Graphical Boot Loader which does not need a
slice or partition for installing (it uses a special part of the disk,
reserved for things like that), it can be configured while booting,
self uninstalled (restoring the previous bootloader) and supports a lot
of operating systems. Of course, it is free and open-source.

http://gag.sourceforge.net/

It is the *best* bootloader (for booting more than one operating
systems) I have found (I have tried BootMagic, Lilo and Grub).

I'm not interested in using GAG.  (I have used it before, but don't want to 
in this instance.)


Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu/ir/security/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


getting the HD serial numbers

2005-06-08 Thread Bruno Gallant
Hello,

is there a way to get the serial number of an hard drive while the
machine is up?  I know it can be done with the Linux /proc filesystem,
but I was wondering if I could do the same without having to stop the
server and remove the disks. [1]

I tried the smartctl command, but I don't think my drives are supported.
[2]

The individual hard drives are hidden behind a Compaq array.  2 x 36Gb
in raid 1.

ida0: Compaq Integrated Array controller port 0x2000-0x20ff mem
0xc400-0xc4
ff,0xc500-0xc5ff irq 19 at device 1.0 on pci0
ida0: [GIANT-LOCKED]
ida0: drives=1 firm_rev=1.42
idad0: Compaq Logical Drive on ida0
idad0: 34727MB (71122560 sectors), blocksize=512


I don't think I can get this info, but the only stupid question is the
one that is not asked.

Thanks all.



[1] My servers are HP DL-360s and DL-380s, so it's not _that_ hard to
do, but I don't like stopping my servers for nothing.
[2] Brand new HDs from HP


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


Re: Editing the boot menu

2005-06-08 Thread Alex Zbyslaw

Paul Schmehl wrote:


When you use FreeBSD's boot manager, you get a menu like this at bootup:

F1 DOS
F2 FreeBSD
F3 Linux
F4 ??
F5 Drive 1

Default: F2

Is there a way to edit the list?  Or is that fixed when boot manager 
is installed and not configurable?


You have to edit the source.  If you know the hex for the partition type 
then it's reasonably easy.  Below is a simple patch that adds 0x7 (my 
NTFS/Windows) and recognises it as DOS.  Done out of curiosity, more 
than anything.


(From memory...)

cd /usr/src
patch  {patchname}
cd sys/boot/i386/boot0/
make
make install
boot0cfg -B -o packet /dev/{your disk}

Be warned that the final boot0cfg has to be 512 bytes so if you add a 
string it may become longer.  I haven't tested my patch for the serial 
console boot.  The patch incorporates taking out the bell on 
non-serial-console boots as well (pinched from somewhere else, now 
forgotten) -- it was just annoying.  The patch comes with no warranties, 
but it's working for me.  (I don't promise either that including it here 
won't bu**er up the spaces/tabs).


Of course, once you applied and rebuilt you have to write it to your 
boot sector.  Man boot0cfg and don't forget -o packet if your partitions 
go past cylinder 1024.  And have a FreebSD boot CD handy so you can 
rewrite with a standard one if this doesn't work!


The final problem is that if you use cvsup it will trash all over any 
source changes you make when you next run it.  Doing anything about that 
seems more complicated than can be justified for a small number of 
patches so I just keep them in a separate dir an re-apply them whenever 
I need to.  In this case, it will be just after I reaslise that I've 
installed a beeping boot manager again :-)


--Alex

PS just spotted the -m flag to boo0cfg for the first time.  Amazing what 
you find when you read the man pages :-)




--- sys/boot/i386/boot0/boot0.S.origWed Jan 26 19:11:21 2005
+++ sys/boot/i386/boot0/boot0.S Thu May 26 00:51:34 2005
@@ -29,7 +29,7 @@
.set PRT_OFF,0x1be  # Partition table
 
.set TBL0SZ,0x3 # Table 0 size
-   .set TBL1SZ,0xb # Table 1 size
+   .set TBL1SZ,0xc # Table 1 size
 
.set MAGIC,0xaa55   # Magic: bootable
.set B0MAGIC,0xbb66 # Identification
@@ -201,9 +201,13 @@
 /*
  * Start of input loop.  Beep and take note of time
  */
+#ifdef SIO
 main.10:   movb $ASCII_BEL,%al # Signal
callw putchr#  beep!
xorb %ah,%ah# BIOS: Get
+#else
+main.10:   xorb %ah,%ah# BIOS: Get
+#endif /* SIO */
int $0x1a   #  system time
movw %dx,%di# Ticks when
addw _TICKS(%bp),%di#  timeout
@@ -409,7 +413,7 @@
 /*
  * These values indicate bootable types we know the names of.
  */
-   .byte 0x1, 0x4, 0x6, 0xb, 0xc, 0xe, 0x83
+   .byte 0x1, 0x4, 0x6, 0x7, 0xb, 0xc, 0xe, 0x83
.byte 0x9f, 0xa5, 0xa6, 0xa9
 /*
  * These are offsets that match the known names above and point to the strings
@@ -419,6 +423,7 @@
.byte os_dos-.  # DOS
.byte os_dos-.  # DOS
.byte os_dos-.  # DOS
+   .byte os_dos-.  # Windows
.byte os_dos-.  # Windows
.byte os_dos-.  # Windows
.byte os_dos-.  # Windows
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: Editing the boot menu

2005-06-08 Thread Hanspeter Roth
  On Jun 08 at 14:17, Paul Schmehl spoke:

 When you use FreeBSD's boot manager, you get a menu like this at bootup:
 
 F1 DOS
 F2 FreeBSD
 F3 Linux
 F4 ??
 F5 Drive 1
 
 Default: F2
 
 Is there a way to edit the list?  Or is that fixed when boot manager is 
 installed and not configurable?
 
 By edit, I mean, for example, change F4 ?? to F4 MyOS.

This boot selector has no configuration file. It resides within the
512 Byte MBR.
You may change Lables by editing
/usr/src/sys/boot/i386/boot0/boot0.S.
It's probably easier if you don't touch the length of the label.
After making boot0 copy it to /boot and run boot0cfg.

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


Re: Editing the boot menu

2005-06-08 Thread Paul Schmehl
--On Wednesday, June 08, 2005 17:42:44 -0300 José de Paula Rodrigues 
[EMAIL PROTECTED] wrote:



From what I gather, these labels come straight from /boot/boot0, not

from boot0cfg. Looking at the boot0 source code (found at
/usr/src/sys/boot/i386/boot0/boot0.S), you can see that the OS options
are hard-coded into the boot0 program, so there is no way to edit that
other than by changing the source code and recompiling.


I see that now.  Thanks for pointing that out.


Did you try using Grub instead? It now supports UFS2, and is a great
bootloader, with lots of features. You can find it in your ports tree.


It's not that big of an issue.  It's just my workstation, and I know what 
?? means.  I was just being anal.  I like to straighten out twisted phone 
cords too.


Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu/ir/security/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make index failure

2005-06-08 Thread Kris Kennaway
On Wed, Jun 08, 2005 at 05:22:35PM -0300, Nicolas Salvo wrote:
 Hi all
 
  I have some problems with generating the index of the ports
 collection, the problem is
  hardware related, and in some part of the process the host
 goes down. I want to know if
  there's a way to keep the status, so when the host comes back
 I can finish it.

No, but you should be asking instead why your hardware crashes instead.

Kris


pgpMKaVG9a3FJ.pgp
Description: PGP signature


Re: Editing the boot menu

2005-06-08 Thread Remington L
Just use grub, much easier and more flexible

On 6/8/05, Paul Schmehl [EMAIL PROTECTED] wrote:
 
 --On Wednesday, June 08, 2005 17:42:44 -0300 José de Paula Rodrigues
 [EMAIL PROTECTED] wrote:
 
  From what I gather, these labels come straight from /boot/boot0, not
  from boot0cfg. Looking at the boot0 source code (found at
  /usr/src/sys/boot/i386/boot0/boot0.S), you can see that the OS options
  are hard-coded into the boot0 program, so there is no way to edit that
  other than by changing the source code and recompiling.
 
 I see that now. Thanks for pointing that out.
 
  Did you try using Grub instead? It now supports UFS2, and is a great
  bootloader, with lots of features. You can find it in your ports tree.
 
 It's not that big of an issue. It's just my workstation, and I know what
 ?? means. I was just being anal. I like to straighten out twisted phone
 cords too.
 
 Paul Schmehl ([EMAIL PROTECTED])
 Adjunct Information Security Officer
 University of Texas at Dallas
 AVIEN Founding Member
 http://www.utdallas.edu/ir/security/
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]

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


Re: Need Help

2005-06-08 Thread Remington L
The iPOD does not work with USB due to a bug in the Apple programming. I 
have gotten it to work it with firewire, what does your kernel conf file 
look like?

On 6/8/05, Igor V. Ruzanov [EMAIL PROTECTED] wrote:
 
 Hello!
 I work under FreeBSD 5.3-RELEASE. Everything goes OK, i can attach any
 external devices via PCMCIA- and USB-interfaces. But there is one problem
 with plugging of Apple iPod Photo via USB-interface into my notebook (no
 FireWare-interface is installed, so i can't connect iPod via FireWare
 using sbp-driver): When i'm connecting the device to USB-port during the 
 kernel
 is loaded, my system doesn't create /dev/da0 for the attached 
 umass0-storage.
 But if i booting the system with iPod is allready connected to USB-port,
 my FreeBSD successfully creating /dev/da0 for attached umass0-storage and
 recognize that as direct access SCSI-device. Are there any possibilies of
 solving of this problem? What kernel source-files can i patch to work my
 FreeBSD with iPod properly?
 
 When i try `camcontrol rescan all' in the case of hot plugging, the
 process is just going to hang up. And when i'm dettaching iPod-device at
 all, my system is crashing because of page fault.
 
 Thank you!
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]

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


Re: Time for a new SATA raid server ...

2005-06-08 Thread Tony Shadwick

Only word of advice:

Get ahold of the vendor to make sure they support non-descructive resizing 
of an array if you intend to add more space later.  You've been warned.


I didn't find this out on mine until after I purchased the card.

On Wed, 8 Jun 2005, John Pettitt wrote:



I'm about to consign my old cobbled together file server and it's
collection of FireWire drives to that place servers go to die.

I need to build a file server with up to 2 TB of capacity - most of this
storage will be near-line storage for video and photo archives and so
will not have high performance needs.  It will need to be highly reliable.

My current thought is to go with a 3ware based SATA raid solution using
300 or 400gb sata drives (7 x 400's with 6 in a raid 5 array with a hot
spare).

Questions:  does anybody on the list have such a box running in production?

Any issues I need to watch for?

Does anybody build these pre-configured?

What other raid controllers should I consider? (must have real FreeBSD
support)

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


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


dvd+rw on freebsd 4.10

2005-06-08 Thread atk2

Do drives like the nec 3520 dvd-r,rw,... work ok under freebsd 4.x (9 or 10)
as well as  growisofs or do they require the 5.x branch?

Last but least does rw media have good (or as good as r only media) longevity
on the shelf (aka if the media is used for backups?). It seems that r and rw
media is near the same price point?

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


Re: 5.x, LDAP and caching uid/gid data

2005-06-08 Thread Tony Shadwick

On Wed, 8 Jun 2005, Charles Swiger wrote:


On Jun 8, 2005, at 1:53 PM, Ben Hockenhull wrote:

There's no user information on the local system at all, so every operation
that requires UID/GID information had to do an LDAP lookup to get UID/GID
data.  So, for example, every piece of mail delivered means an LDAP lookup.
Ick.


You really want to leave the standard system UIDs and GIDs in place, and use 
LDAP (or NIS, etc) to augment them with the additional information about 
network-wide users and groups.



Is there such a thing as nscd for FreeBSD, and if so, has anyone had
experience using it?  I found a lookupd utility that looks promising, but
I'm leery of implementing it in production as it seems like fairly untested
software.


lookupd has been around for close to fifteen years, and has been used with 
large user/group databases (50,000+ users).  More to the point, the PADL 
stuff ought to play nicely with lookupd, since PADL came from the NEXTSTEP 
and now MacOS X community where lookupd originated.


I am not sure that lookupd has been used or tested or shaken down as much 
with FreeBSD, so the integration with PAM may not be as mature as it's usage 
with the nss_ mechanism.


However, if you really want nscd, I'd imagine that you ought to be able to 
hunt that down from Sun now that the source code for Solaris 10 is openly 
available...?


--
-Chuck


What about caching, as he asked originally?  If a laptop user walks 
away from the network where the LDAP or NIS server is located, will it 
cache auth info so the user can still get in?

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


Re: 5.x, LDAP and caching uid/gid data

2005-06-08 Thread Charles Swiger

On Jun 8, 2005, at 5:42 PM, Tony Shadwick wrote:
I am not sure that lookupd has been used or tested or shaken down  
as much with FreeBSD, so the integration with PAM may not be as  
mature as it's usage with the nss_ mechanism.


However, if you really want nscd, I'd imagine that you ought to be  
able to hunt that down from Sun now that the source code for  
Solaris 10 is openly available...?


What about caching, as he asked originally?  If a laptop user  
walks away from the network where the LDAP or NIS server is  
located, will it cache auth info so the user can still get in?


For a while, and the timeouts for caching stuff are adjustable.  That  
being said, laptop users are going to do much better if their  
specific UID/GID are added to the local flatfiles.  Integrating  
laptops to work while connected and while not connected is a  
relatively hard problem.


--
-Chuck

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


Help ispell compile problems

2005-06-08 Thread Sean Murphy
Can someone please help

i am using
FreeBSD 5.4-RELEASE #0: Wed Jun  8 12:08:30 PDT 2005

I have copied the local.h.bsd to local.h
I have tried using the generic

I have tried using both in both of the previous files
#undef USG
#define USG

but i think the problem is in defhash.h

alum# make all
set +vx;  MASTERHASH=`cat config.X local.h  | sed -n -e  's/^#define[
]*LANGUAGES[][^}]*HASHFILES=\([^,}]*\).*$/\1/p'  | sed -n -e '$p'`;
 case $MASTERHASH in  american*|british*)
DEFHASH=english$HASHSUFFIX;;  *) DEFHASH=$MASTERHASH;;  esac;
DEFLANG=`expr $DEFHASH : '\(.*\)\..*$'`.aff;  echo /* This file is
generated by the Makefile.  Don't edit it! */   defhash.h;  echo '' 
defhash.h;  echo '#ifndef MASTERHASH'  defhash.h;  echo '#define
MASTERHASH '$MASTERHASH''  defhash.h;  echo '#endif'  defhash.h;
 echo '#ifndef DEFHASH'  defhash.h;  echo '#define DEFHASH
'$DEFHASH''  defhash.h;  echo '#endif'  defhash.h;  echo
'#ifndef DEFLANG'  defhash.h;  echo '#define DEFLANG '$DEFLANG''
 defhash.h;  echo '#endif'  defhash.h
*** Error code 1

Stop in /usr/local/src/ispell-3.3.01.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Setting Up Email Only / Very Restricted Accounts

2005-06-08 Thread M. Goodell
Hello,
 
What is the recommended method to setup E-Mail only accounts? I am running a 
server that will host several websites and also provide e-mail services for 
many site users. What I want to do is configure each user to only have email 
access and *no* shell access / ftp access of any kind.
 
Is it good enough to simply use /usr/sbin/nologin as the shell and leave it at 
that or is there a more secure / better way of implementing this.
 
Thank you.
 
FreeBSDUtah
 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Help ispell compile problems

2005-06-08 Thread Charles Swiger

On Jun 8, 2005, at 6:42 PM, Sean Murphy wrote:

Can someone please help

i am using
FreeBSD 5.4-RELEASE #0: Wed Jun  8 12:08:30 PDT 2005


ispell-3.2.06 is available in /usr/ports/textproc/ispell.  Judging by  
the number of patches used for that port, trying to build ispell  
yourself on FreeBSD is not entirely trivial


--
-Chuck

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


Re: Setting Up Email Only / Very Restricted Accounts

2005-06-08 Thread Tony Shadwick

That's what we do here. :)

/sbin/nologin as the shell and if you want to allow ftp use a client that 
doesn't require a valid shell.


On Wed, 8 Jun 2005, M. Goodell wrote:


Hello,

What is the recommended method to setup E-Mail only accounts? I am running a 
server that will host several websites and also provide e-mail services for 
many site users. What I want to do is configure each user to only have email 
access and *no* shell access / ftp access of any kind.

Is it good enough to simply use /usr/sbin/nologin as the shell and leave it at 
that or is there a more secure / better way of implementing this.

Thank you.

FreeBSDUtah



__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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


Re: Setting Up Email Only / Very Restricted Accounts

2005-06-08 Thread Gerry Freymann
On Wed, 8 Jun 2005 15:45:48 -0700 (PDT)
M. Goodell [EMAIL PROTECTED] wrote:

What is the recommended method to setup E-Mail only accounts? I am
running a server that will host several websites and also provide e-mail
services for many site users. What I want to do is configure each user to
only have email access and *no* shell access / ftp access of any kind.

 Why not consider something that gives you virtual email accounts with
info stored in MySQL?

 I used to use Exim + Vmail + Mailscanner + tpop3d although there are just
as nice configurations available with courier or postfix I believe.

 This way, you and your clients can manage the pop accounts for each
domain via a web interface, and the email accounts themselves exist on the
hard drive but no login accounts are created at all.

 There should be plenty of info at:

http://www.exim.org/

http://www.Courier-MTA.org/

http://www.postfix.org/

 Regards,

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Gerry Freymann - Interpool Development
-Perl, PHP  MySQL Programming
-Domain Registration, Web Hosting
-Open Source Software Solutions
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Setting Up Email Only / Very Restricted Accounts

2005-06-08 Thread John Brooks
I use a combination of postfix, courier-imap, and mysql. It
eliminates the need for shell accounts. There are several
good tutorials at http://www.postfix.org/docs.html

--
John Brooks
[EMAIL PROTECTED] 

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of M. Goodell
 Sent: Wednesday, June 08, 2005 5:46 PM
 To: FreeBSD Questions
 Subject: Setting Up Email Only / Very Restricted Accounts
 
 
 Hello,
  
 What is the recommended method to setup E-Mail only accounts? I 
 am running a server that will host several websites and also 
 provide e-mail services for many site users. What I want to do is 
 configure each user to only have email access and *no* shell 
 access / ftp access of any kind.
  
 Is it good enough to simply use /usr/sbin/nologin as the shell 
 and leave it at that or is there a more secure / better way of 
 implementing this.
  
 Thank you.
  
 FreeBSDUtah
  
 
 
 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam protection around 
 http://mail.yahoo.com 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ipf blocking pass rule

2005-06-08 Thread James Bowman Sineath, III

I have the following rule in my ipf.rules:

pass in log first quick on xl0 proto tcp from any to any port = 25 keep 
state


for some reason it will pass the first connection but block the next. A log 
is below. Any ideas on why this is happening would be much appreciated.


Jun  8 16:11:38 fenrir ipmon[202]: 16:11:34.521157 xl0 @0:6 p 
imf17aec.mail.bellsouth.net[205.152.59.65],35968 - 
10.0.10.20[65.0.232.44],smtp PR tcp len 20 48 -S 2159541450 0 25416 K-S IN
Jun  8 16:16:42 fenrir ipmon[202]: 16:16:41.852047 xl0 @0:6 b 
imf17aec.mail.bellsouth.net[205.152.59.65],35968 - 
10.0.10.20[65.0.232.44],smtp PR tcp len 20 40 -AR 2159543277 3340325284 0 
K-S IN 


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


RE: 5.4 Sendmail only listening on localhost?

2005-06-08 Thread Chris Moran
OK, now who looks silly?  That was it.  Thanks!

-Original Message-
From: Giorgos Keramidas [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, 8 June 2005 8:46 PM
To: Chris Moran
Cc: freebsd-questions@freebsd.org
Subject: Re: 5.4 Sendmail only listening on localhost?

On 2005-06-08 18:34, Chris Moran [EMAIL PROTECTED] wrote:
 OK, I have to be doing something silly here...

 I have installed a clean system with 5.4-RELEASE (on a 1.2GHz Athlon,
 512MB RAM, lots of disk, etc).

 Machine has to NICs, one for the public and one for the private
 networks here.  However, Sendmail is only listening on port 25 on
 localhost.

 I don't confess to being knowledgeable about sendmail configuration,
 and I figure it's in the mc file someplace, but where do I tell
 sendmail to listen on one (or more) of the NICs?

 So far clean installs on 3 machines show the same thing, so I guess
 this is the default, secure config?

The rc.sendmail(8) explains what each of the sendmail*_enable options
can be used for.

You obviously have sendmail_enable=NO in your rc.conf or haven't set
it at all (using the default, which is also NO).

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


Squid transparent proxy masquerading as Client IPs

2005-06-08 Thread Abu Khaled
Some ISPs use Linux with tproxy kernel patch to masquerade the
requests from clients and make them appear as if they came from the
client with no proxy connection. After digging around the squid-cache
archives and mailing lists, Henrik Nordstrom suggested using
tcp_outgoing_address and nat to achieve the same on FreeBSD and Squid
in transparent (intercepting mode).

The Idea is to assign for each Client a private IP on the Squid Server
(as aliases worked fine). In squid.conf we add

header_access Via deny all
header_access X-Forwarded-For deny all
# this removes both headers

# and for each client we need
acl clientxxx src real ip 
tcp_outgoing_address private ip clientxxx

Squid binds requests from clientxxx's real ip to the private ip
then we nat those to the real ip making the request appear as if it
came directly from the client not the proxy.

To make things easy I used two scripts.
 
1. I added the add-alias.sh script to /etc/rc.local to create the
aliases on startup

#  add-alias.sh  start
IP=110
MAXIP=150
PRIV=10.10.10
ALIASIF=Ethernet Interface
# I used lo0 to do the aliases on
# Also I tested a virtual interface (netgraph)
# Just to make sure no conflicts with transparent proxy rules (loops)
while [ $IP -le $MAXIP ]
do
if !( ifconfig $ALIASIF inet $PRIV.$IP netmask 0x alias ) then
echo Error Creating Alias $PRIV.$IP on $ALIASIF
exit
fi
IP=$(( $IP + 1 ))
done
#  add-alias.sh  end

2. The squid-ipnat.sh script deletes the old ipnat.conf file and
creates a new one with rules for the external interface. It also
creates 2 files with ACLs for squid I used it once to create the
ipnat.conf file and keep it just in case I need to change the IPs
(real/private). And the 2 files with ACLs for squid were used to copy
and paste the ACLs to squid.conf. Oh ya backup you configuration files
just in case.

#  squid-ipnat.sh  start
IP=110
MAXIP=150
PRIV=10.10.10
REAL=xxx.xxx.xxx
EXTIF=External Interface
# I used the external interface for nat 
cd path to ipnat
rm ipnat.conf  # carefull deletes old ipnat.conf file
rm squid_acl.conf
rm squid_tcp.conf
while [ $IP -le $MAXIP ]
do
 echo bimap $EXTIF from $PRIV.$IP/32 to 0.0.0.0/0 port = 80 -
$REAL.$IP/32  ipnat.conf
 echo acl Client$IP src $REAL.$IP  squid_acl.conf
 echo tcp_outgoing_address $PRIV.$IP Client$IP  squid_tcp.conf
# Client$IP is the name for the ACL expands from Client110 to Client150
# squid_acl.conf and squid_tcp.conf end in path to ipnat copy and
paste to squid.conf both
IP=$(( $IP + 1 ))
done
#  squid-ipnat.sh  end

As you can see, I used IPNAT's bimap and tested the configuration for
40+ clients.
My network is small and I wonder if someone can use this to test a
larger network. Also test PF or IPFW/DIVERT/NAT and see what performs
better or just for fun.

One last note the tcp_outgoing_address does not follow the
X-Forwarded-For patch and it caused me to lose my head since I had
Dansguardian in front of Squid. The Delay pools followed-X fine and
that caused me to think there was a problem with my configuration.
After Disabling Dansguardian the configuration worked as expected. So
do not wonder if it does not work if you use another proxy before
squid.

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


ggv errors with pdf

2005-06-08 Thread . VWV .

ggv

Hello.

Probably this one will be definitely my end question.

I have a problem with ggv whilst trying to read pdf documents, not ps 
documents [attachment]. Moreover, I would like to know what's the best 
resource available to produce pdf or ps ones. Is it mandatory to pass 
through TeX?


I'll try to stand alone in the future. Even if I am running a 
complicated installation of mixed-up releases, everything compiles and 
works. I have discovered this is a system much more modular than 
described in the manuals. It is even possible to compile strange 
kernels with mixed stuff of different releases. The problems come 
always from badly written third-party programs.

The system remains always extremely stable and fast.

Thanks as always, please CC me

VITTORI


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

Abiword, Gnumeric, and LyX printing woes

2005-06-08 Thread Anthony M. Agelastos

Hello all,

I am not able to print from Abiword or Gnumeric (now that I think about 
it, I cannot print from LyX either... but that gives me no error 
messages and, thusly, is hard to fix). I can print fine from, say 
Firefox, or with the lpr command (on a PS file which is how I print 
items in LyX... exporting them to LaTeX and then getting PS myself), or 
from other computers (I configured this as a network printer as well 
with CUPS). For Abiword, see below for a typical string of error 
messages (the Gnumeric errors are similar so I will omit them for 
brevity). Here's what I have done thus far for this problem.


1) Downloaded gnome_update.sh and let that cook for just about 24 hours 
until it finished.
2) pkg_delete abiword  cd editors/abiword  make clean  make  
make install.

3) Searched FreeBSD Handbook, FAQ, and Mailing Lists.
4) Google.

I found some related items on 4), but with no real solution or answer as 
to how to fix it. One person, for instance, just had to use portupgrade 
on wxpython (I think that is what it was) and that fixed the problem. I 
did portupgrade -arR and that did not fix the problem. In case it is 
helpful, below the error message I put a listing of all installed ports. 
Any and all info will be greatly appreciated. Thank you all again.


# WARNING/ERROR MESSAGES FROM AbiWord #
** (AbiWord-2.2:626): WARNING **: failed request with status 200

(AbiWord-2.2:626): GnomePrintCupsPlugin-WARNING **: iconv does not 
support ppd c

haracter encoding: ISOLatin1, trying CSISOLatin1

** (AbiWord-2.2:626): WARNING **: Could not find child for option 
PhysicalSize

with id Letter

** (AbiWord-2.2:626): WARNING **: rebuild_menu_cb, could not set value 
of Physic

alSize to Letter

(AbiWord-2.2:626): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(AbiWord-2.2:626): GLib-GObject-CRITICAL **: g_signal_connect_data: 
assertion `G

_TYPE_CHECK_INSTANCE (instance)' failed

** (AbiWord-2.2:626): CRITICAL **: gpa_spinbutton_load: assertion 
`gpa_spinbutto

n_is_connected (s)' failed

(AbiWord-2.2:626): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(AbiWord-2.2:626): GLib-GObject-CRITICAL **: g_signal_connect_data: 
assertion `G

_TYPE_CHECK_INSTANCE (instance)' failed

** (AbiWord-2.2:626): CRITICAL **: gpa_spinbutton_load: assertion 
`gpa_spinbutto

n_is_connected (s)' failed

# INSTALLED PACKAGES #
 pkg_info -a | grep Information | grep -v T.82 | awk '{print $3}' (I 
didn't see a better way)

Hermes-1.3.3_1:
ImageMagick-6.2.2.1:
ORBit-0.5.17_2:
ORBit2-2.12.2:
OpenSP-1.5_6:
Sablot-1.0.1:
Xaw3d-1.5_1:
Xbae-4.50.91:
XmHTML-1.1.7_2:
a2ps-a4-4.13b_3:
aalib-1.4.r5_1:
abiword-gnome-2.2.8:
amspsfnt-1.0_3:
aspell-0.60.2_1:
atk-1.9.1:
atlas-3.6.0,1:
auctex-11.55:
autoconf-2.13.000227_5:
autoconf-2.53_3:
autoconf-2.59_2:
automake-1.4.6_2:
automake-1.5_2,1:
bash-2.05b.007_4:
bison-1.75_2:
bitstream-vera-1.10_1:
bonobo-1.0.22_1:
cdrtools-2.01:
cmpsfont-1.0_4:
cmucl-19a:
compat4x-i386-5.3:
cups-1.1.23.0:
cups-base-1.1.23.0_4:
cups-lpr-1.1.23.0:
cups-pstoraster-7.07_3:
curl-7.14.0:
cvsup-without-gui-16.1h_2:
db4-4.0.14_1,1:
dbh-1.0.24:
desktop-file-utils-0.10_2:
docbook-sk-4.1.2_3:
docbook-xml-4.2_1:
docbook-xsl-1.68.1:
dri-6.2.1,2:
dvipsk-tetex-5.95a_1:
emacs-21.3_7:
enchant-1.1.5_1:
esound-0.2.36:
expat-1.95.8_2:
ezm3-1.2:
fam-2.6.9_6:
fftw-2.1.5_2:
firefox-1.0.4,1:
fontconfig-2.2.3,1:
freetype2-2.1.9:
fribidi-0.10.4_1:
g-wrap-1.3.4_7:
gaim-1.3.0_1:
gal-0.24_1:
gcc-3.2.3_3:
gconf-1.0.9_7:
gconf2-2.10.0:
gd-2.0.33_1,1:
gdbm-1.8.3_1:
gdk-pixbuf-0.22.0_3:
gettext-0.14.4_1:
gftp-2.0.18:
ghostscript-gnu-7.07_12:
gimp-2.2.6,1:
gimp-print-4.2.7_1:
glib-1.2.10_11:
glib-2.6.4:
glibwww-0.2_2:
gmake-3.80_2:
gnome-icon-theme-2.10.1_1:
gnomecanvas-0.22.0_3:
gnomedb-0.2.96_2:
gnomehier-2.0_6:
gnomekeyring-0.4.2_1:
gnomelibs-1.4.2_3:
gnomemimedata-2.4.2:
gnomeprint-0.37_1:
gnomevfs-1.0.5_6:
gnomevfs2-2.10.1:
gnucash-1.8.11:
gnucash-docs-1.8.4:
gnumeric-1.4.3_1:
gnuplot-4.0.0_3:
gnutls-1.0.24_1:
grace-5.1.18:
gsfonts-8.11_2:
gsl-1.6:
gtk-1.2.10_13:
gtk-2.6.7:
gtk-engines2-2.6.3_3:
gtk-xfce-engine-2.2.7:
gtkhtml-1.1.10_4:
gtksourceview-1.2.0_1:
gtkspell2-2.0.10_1:
guile-1.6.5:
guile-gtk-0.31_1:
guppi-0.40.3_4:
gv-3.6.1:
help2man-1.35.1:
hicolor-icon-theme-0.5:
imake-6.8.2:
imlib-1.9.15_2:
intltool-0.33:
jasper-1.701.0:
jbigkit-1.6:
jpeg-6b_3:
ksh93-20050202:
lame-3.96.1:
lapack-3.0:
lcms-1.14,1:
libIDL-0.8.5_1:
libXft-2.1.6_1:
libao-0.8.5:
libart_lgpl2-2.3.17:
libaudiofile-0.2.6:
libbonobo-2.8.1_1:
libbonoboui-2.8.1_2:
libcapplet-1.4.0.5_2:
libcroco-0.6.0_1:
libexif-0.6.12_1:
libfpx-1.2.0.12:
libgcrypt-1.2.1_1:
libgda-0.2.96_2:
libgda2-1.2.1_1:
libghttp-1.0.9:
libglade-0.17_3:
libglade2-2.5.1_2:
libgnome-2.10.0_1:
libgnomecanvas-2.10.2_1:
libgnomecups-0.2.0_1,1:
libgnomedb-1.2.1:
libgnomeprint-2.10.3_1:
libgnomeprintui-2.10.2:
libgnomeui-2.10.0_1:
libgpg-error-1.0_1:
libgsf-1.11.1:
libgsf-gnome-1.11.1:
libiconv-1.9.2_1:
libijs-0.35:
libltdl-1.5.10:
libmikmod-3.1.11:
libmng-1.0.8:

Re: Abiword, Gnumeric, and LyX printing woes

2005-06-08 Thread Anthony M. Agelastos

Oops... I forgot to mention my uname and machine information.

 uname -a
FreeBSD ast.home.iq 5.4-STABLE FreeBSD 5.4-STABLE #0: Sun May 29 
10:30:27 EDT 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/IQKERNEL  i386

(IQKERNEL = GENERIC + SSE optimized for P3)

Pentium III // 450 MHz // 320 MB RAM

Anthony M. Agelastos wrote:


Hello all,

I am not able to print from Abiword or Gnumeric (now that I think 
about it, I cannot print from LyX either... but that gives me no error 
messages and, thusly, is hard to fix). I can print fine from, say 
Firefox, or with the lpr command (on a PS file which is how I print 
items in LyX... exporting them to LaTeX and then getting PS myself), 
or from other computers (I configured this as a network printer as 
well with CUPS). For Abiword, see below for a typical string of error 
messages (the Gnumeric errors are similar so I will omit them for 
brevity). Here's what I have done thus far for this problem.


1) Downloaded gnome_update.sh and let that cook for just about 24 
hours until it finished.
2) pkg_delete abiword  cd editors/abiword  make clean  make  
make install.

3) Searched FreeBSD Handbook, FAQ, and Mailing Lists.
4) Google.

I found some related items on 4), but with no real solution or answer 
as to how to fix it. One person, for instance, just had to use 
portupgrade on wxpython (I think that is what it was) and that fixed 
the problem. I did portupgrade -arR and that did not fix the problem. 
In case it is helpful, below the error message I put a listing of all 
installed ports. Any and all info will be greatly appreciated. Thank 
you all again.


# WARNING/ERROR MESSAGES FROM AbiWord #
** (AbiWord-2.2:626): WARNING **: failed request with status 200

(AbiWord-2.2:626): GnomePrintCupsPlugin-WARNING **: iconv does not 
support ppd c

haracter encoding: ISOLatin1, trying CSISOLatin1

** (AbiWord-2.2:626): WARNING **: Could not find child for option 
PhysicalSize

with id Letter

** (AbiWord-2.2:626): WARNING **: rebuild_menu_cb, could not set value 
of Physic

alSize to Letter

(AbiWord-2.2:626): GLib-GObject-WARNING **: invalid (NULL) pointer 
instance


(AbiWord-2.2:626): GLib-GObject-CRITICAL **: g_signal_connect_data: 
assertion `G

_TYPE_CHECK_INSTANCE (instance)' failed

** (AbiWord-2.2:626): CRITICAL **: gpa_spinbutton_load: assertion 
`gpa_spinbutto

n_is_connected (s)' failed

(AbiWord-2.2:626): GLib-GObject-WARNING **: invalid (NULL) pointer 
instance


(AbiWord-2.2:626): GLib-GObject-CRITICAL **: g_signal_connect_data: 
assertion `G

_TYPE_CHECK_INSTANCE (instance)' failed

** (AbiWord-2.2:626): CRITICAL **: gpa_spinbutton_load: assertion 
`gpa_spinbutto

n_is_connected (s)' failed

# INSTALLED PACKAGES #
 pkg_info -a | grep Information | grep -v T.82 | awk '{print $3}' 
(I didn't see a better way)

Hermes-1.3.3_1:
ImageMagick-6.2.2.1:
ORBit-0.5.17_2:
ORBit2-2.12.2:
OpenSP-1.5_6:
Sablot-1.0.1:
Xaw3d-1.5_1:
Xbae-4.50.91:
XmHTML-1.1.7_2:
a2ps-a4-4.13b_3:
aalib-1.4.r5_1:
abiword-gnome-2.2.8:
amspsfnt-1.0_3:
aspell-0.60.2_1:
atk-1.9.1:
atlas-3.6.0,1:
auctex-11.55:
autoconf-2.13.000227_5:
autoconf-2.53_3:
autoconf-2.59_2:
automake-1.4.6_2:
automake-1.5_2,1:
bash-2.05b.007_4:
bison-1.75_2:
bitstream-vera-1.10_1:
bonobo-1.0.22_1:
cdrtools-2.01:
cmpsfont-1.0_4:
cmucl-19a:
compat4x-i386-5.3:
cups-1.1.23.0:
cups-base-1.1.23.0_4:
cups-lpr-1.1.23.0:
cups-pstoraster-7.07_3:
curl-7.14.0:
cvsup-without-gui-16.1h_2:
db4-4.0.14_1,1:
dbh-1.0.24:
desktop-file-utils-0.10_2:
docbook-sk-4.1.2_3:
docbook-xml-4.2_1:
docbook-xsl-1.68.1:
dri-6.2.1,2:
dvipsk-tetex-5.95a_1:
emacs-21.3_7:
enchant-1.1.5_1:
esound-0.2.36:
expat-1.95.8_2:
ezm3-1.2:
fam-2.6.9_6:
fftw-2.1.5_2:
firefox-1.0.4,1:
fontconfig-2.2.3,1:
freetype2-2.1.9:
fribidi-0.10.4_1:
g-wrap-1.3.4_7:
gaim-1.3.0_1:
gal-0.24_1:
gcc-3.2.3_3:
gconf-1.0.9_7:
gconf2-2.10.0:
gd-2.0.33_1,1:
gdbm-1.8.3_1:
gdk-pixbuf-0.22.0_3:
gettext-0.14.4_1:
gftp-2.0.18:
ghostscript-gnu-7.07_12:
gimp-2.2.6,1:
gimp-print-4.2.7_1:
glib-1.2.10_11:
glib-2.6.4:
glibwww-0.2_2:
gmake-3.80_2:
gnome-icon-theme-2.10.1_1:
gnomecanvas-0.22.0_3:
gnomedb-0.2.96_2:
gnomehier-2.0_6:
gnomekeyring-0.4.2_1:
gnomelibs-1.4.2_3:
gnomemimedata-2.4.2:
gnomeprint-0.37_1:
gnomevfs-1.0.5_6:
gnomevfs2-2.10.1:
gnucash-1.8.11:
gnucash-docs-1.8.4:
gnumeric-1.4.3_1:
gnuplot-4.0.0_3:
gnutls-1.0.24_1:
grace-5.1.18:
gsfonts-8.11_2:
gsl-1.6:
gtk-1.2.10_13:
gtk-2.6.7:
gtk-engines2-2.6.3_3:
gtk-xfce-engine-2.2.7:
gtkhtml-1.1.10_4:
gtksourceview-1.2.0_1:
gtkspell2-2.0.10_1:
guile-1.6.5:
guile-gtk-0.31_1:
guppi-0.40.3_4:
gv-3.6.1:
help2man-1.35.1:
hicolor-icon-theme-0.5:
imake-6.8.2:
imlib-1.9.15_2:
intltool-0.33:
jasper-1.701.0:
jbigkit-1.6:
jpeg-6b_3:
ksh93-20050202:
lame-3.96.1:
lapack-3.0:
lcms-1.14,1:
libIDL-0.8.5_1:
libXft-2.1.6_1:
libao-0.8.5:
libart_lgpl2-2.3.17:
libaudiofile-0.2.6:
libbonobo-2.8.1_1:
libbonoboui-2.8.1_2:
libcapplet-1.4.0.5_2:
libcroco-0.6.0_1:
libexif-0.6.12_1:
libfpx-1.2.0.12:
libgcrypt-1.2.1_1:
libgda-0.2.96_2:
libgda2-1.2.1_1:

DNS problem?

2005-06-08 Thread Alan Curtis
I am running a FreeBSD server behind a Linksys Wireless Access  
Point / Router (BEFW11S4). Its local address is 192.168.1.1. The  
Linksys is attached to a DSL modem.  In my /etc/rc.conf file I have

defaultrouter=192.168.1.1
which works most of the time. However occasionally, all network  
traffic freezes, I cannot login to the server using ssh and my  
mailing lists and websites do not function. If, at my server, I type  
host someip.com it reports 'no server can be found' or some similar  
message (I sorry, I didn't note down the exact message) - a reboot  
has fixed the problem.


I assume that the problem is that the server is unable to find a DNS  
server. Is that right?

 Do I have it right that I should point defaultrouter at the firewall?
How do I tell FreeBSD about other DNS servers to use if the firewall  
route fails?

Why does pointing defaultrouter at the filewall  fail?

Thanks

Alan



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


Re: cvs question

2005-06-08 Thread Denny White

-BEGIN PGP MESSAGE-
Version: GnuPG v1.4.1 (FreeBSD)

hQEOA13Nf9GR12D1EAP9E4M++kCyACmeSHZc8ErLk7FoC1yhHer9B5hW2jy9rAyx
fPDWCMaVYka+YgrTqVWfVqY30YFjMFkt4jkmcnfigEOEKxmFxPVcKIIiHsNdQ+6z
7+KCZZ9LxEi/Mst1hhVJZqtQe4csfZMDOst4y/+ENFkdLIaMEXjNfr3kqHd5Zj0D
/2UMUk6nm25VZ9+JF3WC8M380r+7adufppiaE8XBFOtEiBbv3Rk9qajDckHau13O
pW1yRp72jMSrLfN2ncCxDhyluHrNyAW0K23u8I83tJ80DBACuxM5d9K83e4tDKKF
7qZJUkyhY8cwX+2/mGFusSOC8NxqyXMGkOPQJv1xqBF60uoBmVAnb/mL3TOHIU0J
vHWt1hD/1YIVCXd6XKu9F2Ydxxv4+nTovr+dt/aDgkt/Zn7hcfKYAkS1IXfUw8FO
gxzubz3dcSF+VocT7Crmr9KerzJpk4OmDmcRC+Lh4ynCd70UOEHuEyA7XKoaYdYx
20CJ1lJsIU9gHt5tWz5LfaEFXSaDtd1lsT9Ih6Wx4WWyXIb2fR2rIL+JmfLVzo8y
cvWGV/ELVxTXPfmTouquiRHLNmP7SCBW3eufshsLbNYC/5e3Y7qQE13PSLXWEiFN
/AFELWgegOuy+hEwwRxig5q+gy/sGCESOUi0kOfPbrdgpciD0HCrvqHyBShfAfb3
TAMo/Z3j4EiwloloOmcqP8bGcmS30R2dKXkPr0f8+YvCcF5n6SmVy+/ch61M14fB
pmR7zhpvZr34DeTRnCZHHf2dHHT6Q67MdjmcqqX7KUb39E7JQyAR16NUwRhITs65
j9rv2sPijkhKHvC8o7lqlwP20rQV5WEeUpTivJBTqBs0p7Rlmq3yFDPSl/PGBMd+
kX9xLBYCUOC86KyJrbKktdsOblLhbbVQfhgFfQQFE2ORWEJgE4qfTGLxvOI7+38N
A4eMU60L6bOz7qV4Q9NEYU3YBxabynmh6VPWgztrtFmZ6iIrUHqWuu4A3pkb67OQ
uiOn2VKhES/gCZpgc+NeA2MHsq/9qQfqDUOd0xkhcoH0o0nkGkWXTirpwKtS1qdC
Sk0eosgzKA3RPxCS3Wh92q7KO7a7p0+X9tEPJYaOhzQANqcEbQ1LKu/omopsWGzE
mS/zoOXhOF5zEi30UDvNbuS+3l48rYGkHElJyxZIW54+pqpPTn3Y6GxLLv4eGsjG
zcWdN7DzLfwQ3PqUD+6D17EOq5zOztwFSrL3cGevhULXcNMprc0irr3VaI2cJIsO
ApP4HR+utxuYyLi2S4eNLOOx2+a4BSyUc/OsTGdmDIoZJe3eIThzha/h/aXgeVmm
MHZbEvV9LhMi/GGtqmTHQg1OdQmBDEINsH9ozkg8+tcVV+E49oVdAbUx8d1NZWzh
yQhF5SIkLVB2cRIA4vTFTNBYzZ6nRHHxyBNpUuZai6Y6ptSO7+H+nreWFMr+mABV
BXzZriScuy3NjBiVQfPvzpdvhcFjnJ9sLMJl0CcqOHv7pkadTvT/U+9FisqUueI5
jFlc+JdlfNknmQ8rrXYO8G1HCN+oMK6h7N3hs7qj8z3IbhNKT1crl59abkZq2y2W
Y62MKSvsioWjbRmU1LSPpGdDZxoEKTKx7y4z+d7OZMNUYlADIkw52/ZLfxwgiBl2
tJPFh3T1ktStEkLL+0TINT5hqQMLGN8LovVVj+qZjnxyI4NB1USqGK3XvS2oYZbo
jTou6YCFtfQzX+IHsGKxv91c/kBaNz8/+7/qcjIxyF08gqyUTBk5G3+iAsL1hYcx
7G6EweBvhSvq6U+hijj/Cecl8i6pNjhjaY5FSB6TfsWb7anD5y4AYpCuu1nQhNDg
7o6upeDaNmX2OfgdoCtIOOpZ9iRRiAcdf/KGSPTy95FhvKzRKakUjzFrb+CnjXE8
+Gfj0g4hCvnK9LZDr/PFJc9e96w2CdY2iH4nURrzZ4PAmI2ck0fRgGyVmCkAX4r0
IS1VEN5lA+aSHp521fuc//CDUjtAR8pHiZUitqs9NrGpfUZYrUMx5NemkqRMIGuY
dL6UDD86mmCywArCaLydCVky8rfmGBhDWlwKRv74VC/f/ZgYmxmwRcpQjiFbAsRr
eGXnwIS6NTS9IcSk9z6QXMu0OHln9C5EI4rlrZkvmLoshx5wSUZR04+rJak6mOye
VRioGmCQuI0fEXBI70rRa9nKN3VsHyTbf9P3SujRrUrUjvnIxGaYH9UYlHBD/5hJ
g+A+CnGybugmOT3k91iWfbaS7yWdri4N5GNmInHVXFP8WUyTJ0fZaDdu6UWnoy6a
QBBkXuG4wXRYJI95JYma3ziEGca54ey2K0pZJIEoywzi82QsKU8H5ZZLaACeiciD
2mGVomGmCIBP7OgcViDFZX19yhvOgvp2bg/z+tkg6S/sV5+xwFTAzhh8ff2QCtdX
Sdqv4JnITbhvSmX0j+I1APfU4nq0Mpy5cfVXbT2fpE+06xTj2CnwVqYGmo1rYEed
v3A0CbaOPjKJhpZ5meQt6OqYZIF1UpG/9Vvk2O9rwGFh6LJ1GhFWJNNMud7UzTJ1
7khO/vF+AHvfnZFq8fFnCKiADsMPh2gYzoFIj3+5TpApCGV0QE8/i/ikiqI2Psx8
HB74yaJYg/pned2ByuEgOJLHN220AC/5FMzAMg/Dm4Z2/esaW2yn0sDUYjmuGCEB
TF2GyORxqJyj/5bB68UwRAgkFOCunLbcIxwN2G4rEMu/sXWZAyG+dRbhwFQPlRLX
dB9w+woWpJkQwS38f9jtrHdTn4nk25YEYJo=
=IYTJ
-END PGP MESSAGE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Abiword, Gnumeric, and LyX printing woes

2005-06-08 Thread Anthony M. Agelastos
Sorry again, but I just realized I forgot to mention one other  
thing... when I tell AbiWord to print, those errors pop up, and the  
printer feeds paper through and doesn't print anything, i.e. it  
prints a blank page. I did find some others with that similar problem.


http://lists.freebsd.org/pipermail/freebsd-ports/2005-February/ 
020796.html


They did not find a solution as far as I know.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ggv errors with pdf

2005-06-08 Thread Mike Jeays
On Wed, 2005-06-08 at 20:58, .VWV. wrote:
 ggv
 
 Hello.
 
 Probably this one will be definitely my end question.
 
 I have a problem with ggv whilst trying to read pdf documents, not ps 
 documents [attachment]. Moreover, I would like to know what's the best 
 resource available to produce pdf or ps ones. Is it mandatory to pass 
 through TeX?
 
 I'll try to stand alone in the future. Even if I am running a 
 complicated installation of mixed-up releases, everything compiles and 
 works. I have discovered this is a system much more modular than 
 described in the manuals. It is even possible to compile strange 
 kernels with mixed stuff of different releases. The problems come 
 always from badly written third-party programs.
 The system remains always extremely stable and fast.
 
 Thanks as always, please CC me
 
 VITTORI
 
 __
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

Your attached file ggv appears to be an error message from Ghostscript
about a file book.pdf.

Acroread and gv can both read pdf files well, and both are available as
ports and packages.

PDFs can be created with OpenOffice.  Many programs can create
Postscript files; when you print to file, you will usually get a
Postscript file as output, and can read it with gv.

Hope this helps!

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


Re: Azureus Update Problem

2005-06-08 Thread Eric Ekong
It looks like we will have the maintainer to update the port. I tried to 
sub the new release in place of the current one and tweaked Makefile, but
it fails to compile somewhere along the lines with an java error.  If you
look at the /usr/ports/net/azureus/Makefile you can find the maintainers
email address and try and email him/her, but if my memory serves me 
correct this person is usually busy with tons of projects/ports in the
freebsd world.

Eric

* Warren [EMAIL PROTECTED] [050607 23:40]:
 On Wed, 8 Jun 2005 1:24 pm, you wrote:
  What I suspect is happening is that you're running as a user with
  decreased priveleges, but you have a global install of azureus (installed
  in /usr/local/bin).
 
  Azureus is probably presuming you have the rights needed to do the update,
  and never bothers to check or ask otherwise. :\
 
 
 I am running the latest version via the ports but also running it as a single 
 user .. i'll try running it as root and seeing what happens form there.
 
 Ran it as root and it made no diference at all, still refuses to update, atm 
 it dosent affect any torrents, so *g*
 -- 
 Yours Sincerely
 Shinjii
 http://www.shinji.nq.nu
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

-- 
==
Eric I. Ekong   [EMAIL PROTECTED]
===

Laws of Serendipity:

(1) In order to discover anything, you must be looking for
something.
(2) If you wish to make an improved product, you must already
be engaged in making an inferior one.

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


Re: 5.4 Sendmail only listening on localhost?

2005-06-08 Thread Giorgos Keramidas
Lucky guess :-)

On 2005-06-09 09:42, Chris Moran [EMAIL PROTECTED] wrote:
 That was it.  Thanks!

 -Original Message-
 From: Giorgos Keramidas [mailto:[EMAIL PROTECTED]

 You obviously have sendmail_enable=NO in your rc.conf or haven't set
 it at all (using the default, which is also NO).

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


RE: DNS problem?

2005-06-08 Thread John Brooks
 I am running a FreeBSD server behind a Linksys Wireless Access
 Point / Router (BEFW11S4). Its local address is 192.168.1.1. The
 Linksys is attached to a DSL modem.  In my /etc/rc.conf file I have
 defaultrouter=192.168.1.1
 which works most of the time. However occasionally, all network
 traffic freezes, I cannot login to the server using ssh and my
 mailing lists and websites do not function. If, at my server, I type
 host someip.com it reports 'no server can be found' or some similar
 message (I sorry, I didn't note down the exact message) - a reboot
 has fixed the problem.

 I assume that the problem is that the server is unable to find a DNS
 server. Is that right?

Probably...

 Do I have it right that I should point defaultrouter at the firewall?

Assuming that the firewall is your gateway to the outside world, then
yes.

 How do I tell FreeBSD about other DNS servers to use if the firewall
 route fails?

If your resolving dns servers as listed in /etc/resolv.conf are outside
the firewall, then they cannot be reached if the default route is down.
Likewise if your resolving dns servers are inside or on the firewall, then
their queries will never be answered. The effect is the same, you don't get
an answer. Unless they have some cached results that have not yet timed out,
but even with the cached answer you still cannot reach the destination,
so the end effect is the same - you know where to go but cannot get there.

 Why does pointing defaultrouter at the filewall fail?

Cable unplugged, switch down, nic dead, firewall down, upstream isp out,
isp router down, electricity out, hard drive on firewall crashed, dsl/cable
modem out, telco burped, and so forth for another hundred possible
reasons...

You could start troubleshooting by these steps:

1) ping 127.0.0.1
2) ping ip of local machine
3) ping localhost
4) ping hostname of local machine
5) ping another host on same lan by ip address
6) ping another host on same lan by hostname (if any exist in /etc/hosts)
7) ping interior ip of firewall (192.168.1.1)
8) ping exterior ip of firewall
9) ping default gateway of firewall
10) ping ip address of some internet host (yahoo.com = 66.94.234.13)

As you proceed down this list it will give you clues as to what is wrong,
and tell you where to look. Good luck...


 Thanks

 Alan



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


Re: Installing KDE3

2005-06-08 Thread Eric Kjeldergaard
On 6/8/05, Alvaro Rosales [EMAIL PROTECTED] wrote:
 Hello Folks, I am trying to isntall KDE3 in my BSD box from the ports
 tree , but it seems it is installing more software than I need, where
 can I tell FreeBSD to install KDE only with the options I need?.
 Thanks for your answers.

Perhaps you should look at /usr/ports/x11/kdebase3?  

-- 
If I write a signature, my emails will appear more personalised.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Setting Up Email Only / Very Restricted Accounts

2005-06-08 Thread Daniel Gerzo
Hi M.,

Thursday, June 9, 2005, 12:45:48 AM, you contributed this to our collective 
wisdom:

 Hello,
 
 What is the recommended method to setup E-Mail only accounts? I
 am running a server that will host several websites and also provide
 e-mail services for many site users. What I want to do is configure
 each user to only have email access and *no* shell access / ftp
 access of any kind.

postfix+mysql+postfixadmin.

http://high5.net/postfixadmin/

check howto at:
http://postfixwiki.org/index.php?title=Virtual_Users_and_Domains_with_Courier-IMAP_and_MySQL
 
 Is it good enough to simply use /usr/sbin/nologin as the shell
 and leave it at that or is there a more secure / better way of
 implementing this.
 
 Thank you.
 
 FreeBSDUtah

-- 
Best Regards,

 DanGer, ICQ: 261701668  | e-mail protecting at: http://www.2pu.net/
 http://danger.rulez.sk  | proxy list at:http://www.proxy-web.com/
 | FreeBSD - The Power to Serve!

[ This whole party'll be for nothing if they see us. - Han Solo ]

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


Re: ATI Cards...

2005-06-08 Thread Björn König

mojo fms wrote:

I have a machine i just switched from Wiindows to Freebsd... This is
the second Fbsd machine i have setup but the first with an ATI card..
I want to do some gaming on it and i was wondering where i could find
drivers that will work with Fbsd. I am using the ATI 9600XT AGP 128M
card.. Thanks


The only suitable driver that I know is experimental.

http://r300.sourceforge.net/

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


Re: DNS and Gateway in FreeBSD?

2005-06-08 Thread Jonathan Chen
On Wed, Jun 08, 2005 at 11:31:09AM +0800, Xu Qiang wrote:
 Lowell wrote:
  We don't either.  We do not have enough information.
  Showing us your configuration files might help.
 
 What configuration file do you need?

/etc/rc.conf, output of netstat -rn, ifconfig -a would help.
-- 
Jonathan Chen [EMAIL PROTECTED]
--
Irrationality is the square root of all evil
  - Douglas Hofstadter
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Power cut during portupgrade -NRP kde

2005-06-08 Thread Gareth Bailey
Hi all,

I believe that a kde install using packages where possible is the quickest 
route. I started the kde install using portupgrade -NRP kde, but had a 
power cut half way through :-( How might i continue where I left off?

Thanks for your help,

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


RE: DNS and Gateway in FreeBSD?

2005-06-08 Thread Xu Qiang
Jonathan Chen wrote:
 /etc/rc.conf, output of netstat -rn, ifconfig -a would help.

The output of ifconfig -a is: 
---
gso_dev_2# ifconfig -a
xl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
options=9RXCSUM,VLAN_MTU
inet 13.198.33.131 netmask 0xfc00 broadcast 13.198.35.255
inet6 fe80::2b0:d0ff:fe44:403c%xl0 prefixlen 64 scopeid 0x1 
ether 00:b0:d0:44:40:3c
media: Ethernet autoselect (10baseT/UTP)
status: active
plip0: flags=108810POINTOPOINT,SIMPLEX,MULTICAST mtu 1500
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
inet 127.0.0.1 netmask 0xff00 
inet6 ::1 prefixlen 128 
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 
---


The content of /etc/rc.conf: 
---
# -- sysinstall generated deltas -- # Tue Apr 12 23:53:44 2005
# Created: Tue Apr 12 23:53:44 2005
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
defaultrouter=13.198.32.1
hostname=gso_dev_2.workgroup
ifconfig_xl0=inet 13.198.33.131  netmask 255.255.252.0
linux_enable=YES
moused_enable=YES
usbd_enable=YES
---

I didn't remember I have added the gateway 13.198.32.1. I manually added the 
ip address (13.198.33.131) and netmask (255.255.252.0), so I wonder how the 
gateway was added into this file.

And I didn't have any DNS setting here. Yet it can ping www.yahoo.com 
successfully. Quite strange. :(

Regards,
Xu Qiang


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


Re: ircd

2005-06-08 Thread J. Martin Petersen
kalin mintchev wrote:
 
 hi all...
 
 i found this 2 lines in the netstat output on one of my machines. we are
 not running ircd and according to nmap ports 3483 and 2143 are closed...
 
 can somebody please explain??   thanks.
 
 tcp4   0  0  server.3484  zagreb.hr.eu.und.ircd 
 ESTABLISHED
 tcp4   0  0  server.2143  free.tyranz.com.ircd  
 ESTABLISHED

Try using sockstat (with -4 -p 6667 for instance) to see who has the
sockets open.

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


5.4 Sendmail only listening on localhost?

2005-06-08 Thread Chris Moran
OK, I have to be doing something silly here...
 
I have installed a clean system with 5.4-RELEASE (on a 1.2GHz Athlon, 512MB 
RAM, lots of disk, etc).
 
Machine has to NICs, one for the public and one for the private networks 
here.  However, Sendmail is only listening on port 25 on localhost.
 
I don't confess to being knowledgeable about sendmail configuration, and I 
figure it's in the mc file someplace, but where do I tell sendmail to listen on 
one (or more) of the NICs?
 
So far clean installs on 3 machines show the same thing, so I guess this is the 
default, secure config?
 
Thanks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 5.4 Sendmail only listening on localhost?

2005-06-08 Thread Giorgos Keramidas
On 2005-06-08 18:34, Chris Moran [EMAIL PROTECTED] wrote:
 OK, I have to be doing something silly here...

 I have installed a clean system with 5.4-RELEASE (on a 1.2GHz Athlon,
 512MB RAM, lots of disk, etc).

 Machine has to NICs, one for the public and one for the private
 networks here.  However, Sendmail is only listening on port 25 on
 localhost.

 I don't confess to being knowledgeable about sendmail configuration,
 and I figure it's in the mc file someplace, but where do I tell
 sendmail to listen on one (or more) of the NICs?

 So far clean installs on 3 machines show the same thing, so I guess
 this is the default, secure config?

The rc.sendmail(8) explains what each of the sendmail*_enable options
can be used for.

You obviously have sendmail_enable=NO in your rc.conf or haven't set
it at all (using the default, which is also NO).

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


Re: Can't login with /var was not properly dismounted

2005-06-08 Thread Alex Zbyslaw

Kris Kennaway wrote:


doing fsck -y /var (using signle user mode) I get

** /dev/ar0s4d
** Last Mounted on /var
** Phase 1 - Check Block and Sizes

pressing ^T right after issueing the command I get
load : 0.42  cmd: fsck_ufs 70 [physrd] 0.00u 0.00s 0% 1336k
then it hangs. It doesn't respond to further pressing of  ^T.
   



I wonder if you have hardware failure..it seems to be hung trying to
read from the disk.
 

Is your disk SMART compliant, I wonder (many are)?  Does you BIOS show 
SMART status on boot?  (Mine does, but it insists on clearing the screen 
just after it shows it, requiring deft use of Pause-other key-Pause-... 
to see it properly).  If the BIOS is no help then try booting single 
user and taking /var out of fstab, then installing smartmontools (you'd 
need to have network stuff configured so probably need to go multi-user 
before doing this).


I also notice that this looks like a RAID disk (/dev/ar* is IDE raid is 
it not?).  I'm not that familiar with RAID setups (yet), but is this 
hardware RAID and does the controller not tell you anything?  If it's 
mirrored, can you try un-raiding and then seeing if any disk alone works?


--Alex

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


Problems with Dell/Seagate tape drive

2005-06-08 Thread Jonathan Belson

Hiya

I've installed FreeBSD-Stable on a Dell PowerEdge 600SC, and I'm having 
real problems getting the tape drive to work reliably.  It's a Dell 
rebadged ATA Seagate/Certance STT2401A


As I mentioned in a previous e-mail, I get the message 'ast0: FAILURE - 
REZERO timed out' when tar-ing files to it (after the files have been 
written, but before the drive starts to rewind).


That message seems harmless enough, but I also keep getting intermittent 
kernel panics when I try to access it: 'supervisor read, page not present'.


Has anyone else used this particular model of tape drive?  If so, did 
you have any problems with it?  I've tried switching cables and using 
master/slave/cable select, but it hasn't made any difference. 
Unfortunately, I don't have a spare tape drive to try in case it's a 
hardware fault.


Cheers,

--Jon

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


RE: DNS and Gateway in FreeBSD?

2005-06-08 Thread John Brooks
what is the contents of /etc/resolv.conf

--
John Brooks
[EMAIL PROTECTED]

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Xu Qiang
 Sent: Wednesday, June 08, 2005 2:16 AM
 To: Jonathan Chen; Xu Qiang
 Cc: freebsd-questions@FreeBSD.org
 Subject: RE: DNS and Gateway in FreeBSD?


 Jonathan Chen wrote:
  /etc/rc.conf, output of netstat -rn, ifconfig -a would help.

 The output of ifconfig -a is:
 ---
 gso_dev_2# ifconfig -a
 xl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
 options=9RXCSUM,VLAN_MTU
 inet 13.198.33.131 netmask 0xfc00 broadcast 13.198.35.255
 inet6 fe80::2b0:d0ff:fe44:403c%xl0 prefixlen 64 scopeid 0x1
 ether 00:b0:d0:44:40:3c
 media: Ethernet autoselect (10baseT/UTP)
 status: active
 plip0: flags=108810POINTOPOINT,SIMPLEX,MULTICAST mtu 1500
 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
 inet 127.0.0.1 netmask 0xff00
 inet6 ::1 prefixlen 128
 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
 ---


 The content of /etc/rc.conf:
 ---
 # -- sysinstall generated deltas -- # Tue Apr 12 23:53:44 2005
 # Created: Tue Apr 12 23:53:44 2005
 # Enable network daemons for user convenience.
 # Please make all changes to this file, not to /etc/defaults/rc.conf.
 # This file now contains just the overrides from /etc/defaults/rc.conf.
 defaultrouter=13.198.32.1
 hostname=gso_dev_2.workgroup
 ifconfig_xl0=inet 13.198.33.131  netmask 255.255.252.0
 linux_enable=YES
 moused_enable=YES
 usbd_enable=YES
 ---

 I didn't remember I have added the gateway 13.198.32.1. I
 manually added the ip address (13.198.33.131) and netmask
 (255.255.252.0), so I wonder how the gateway was added into this file.

 And I didn't have any DNS setting here. Yet it can ping
www.yahoo.com successfully. Quite strange. :(

Regards,
Xu Qiang


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

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


Re: cvs question

2005-06-08 Thread Bob Bomar

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Denny White wrote:
|
|
| I appreciate the answer. I'm kind of up
| against the wall with this thing. Can't
| seem to get it. I created /usr/local/ncvs,
| setenv CVSROOT /usr/local/ncvs  tried to
| do what I thought would be simpler  a good
| trial run on something simpler than the
| whole source tree. I did a cvsup on www 
| got it okay. Then I went into /usr/local/www
|  did a make install. It started filling up
| /root with public_html  finally stopped on
| an error, saying the CVSROOT environment
| setting was invalid. What am I doing wrong?
|
|
|
| On Tue, 7 Jun 2005, Bob Bomar wrote:
|
| Denny White wrote:
| |
| |
| | I know before asking this has been
| | covered profusely, and I have read
| | a lot in the handbook, man pages,
| | fbsd web site  mailing list archives.
| | But, there are some things I just do
| | not understand. My main question is,
| | is it okay to change
| | /home/ncvs
| | to
| | /usr/ncvs
| | I ask because of the repository size
| | compared to what I have on this box
| | on /home  /usr.
| |
| | Filesystem   SizeUsed   Avail Capacity  Mounted on
| | /dev/amrd0s1e1.9G277M1.5G15%/home
| |
| | Filesystem   SizeUsed   Avail Capacity  Mounted on
| | /dev/amrd0s1g 11G2.3G7.7G23%/usr
| |
| | So you can see why I want to use /usr/ncvs
| | instead of /home/ncvs. I guess I'm a lousy
| | googler, but I just couldn't seem to phrase
| | my question to find the answer I wanted.
|
| You can change it to what ever you want.
| I have /usr/local/cvs/ and then various repositories
| for different projects.
|
| |
| | My 2nd question is, when you cvsup an individual
| | release, it says not to include ports-all and
| | doc-all, as you will wipe out what you already
| | have. But, when you don't specify an individual
| | release, just *default release=cvs and src-all,
| | if you specify ports-all  doc-all, you won't
| | wipe out what you already have. Am I understanding
| | it correctly?
| | Thanks in advance for your patience  any help
| |  explanations I receive.
| |
| |
|
| You want to cvsup ports-all with tag=. since
| the ports dont change with each relase, just the src.
|
|

I think I may be a little confused.

Are you trying to setup a cvsup mirror?  If so, then
look at net/cvsup-mirror.  That will setup a mirror
for you, and it will ask where you want to store the
data.

If you are just wanting to pull the src tree, then
you can use anon cvs and something like:

% cd /usr/local/ncvs
% setenv CVSROOT :pserver:[EMAIL PROTECTED]:/home/ncvs
% cvs login
% cvs co -rRELENG_5 src
... wait for everything to transfer ...
% cvs logout

CVSROOT is where the repository resides.  I.E. in the
example above, the repository is located at
anoncvs.FreeBSD.org in /home/ncvs.


- --
Bob Bomar
[EMAIL PROTECTED]
http://www.bomar.us/~bob
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCpt+K9Jm/aTrtdKoRAkDNAJ97NeuceQsk3ORWI8La719LuvRknQCeOpGp
YdiKr3dhdZ14SaSAKzc93SU=
=SS6u
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ircd

2005-06-08 Thread kalin mintchev

 Try using sockstat (with -4 -p 6667 for instance) to see who has the
 sockets open.


thanks - that was helpful. ran it with -4. the -p flag is not there on
4.10. the output is:
nobody   httpd 61429 tcp4   66.117.34.36:3484161.53.178.240:6667
nobody   httpd 6142   10 tcp4   66.117.34.36:2143 206.53.62.198:6667

that makes my machine a client. and it's started by apache. hmmm... can
this be some kind of chat application/applet embedded in an html page on
somebody's website?

thanks...



 -Martin



-- 
--
In a world without walls or fences, who needs Windows and Gates?

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


Need Help

2005-06-08 Thread Igor V. Ruzanov
Hello!
I work under FreeBSD 5.3-RELEASE. Everything goes OK, i can attach any
external devices via PCMCIA- and USB-interfaces. But there is one problem
with plugging of Apple iPod Photo via USB-interface into my notebook (no
FireWare-interface is installed, so i can't connect iPod via FireWare
using sbp-driver): When i'm connecting the device to USB-port during the kernel
is loaded, my system doesn't create /dev/da0 for the attached umass0-storage.
But if i booting the system with iPod is allready connected to USB-port,
my FreeBSD successfully creating /dev/da0 for attached umass0-storage and
recognize that as direct access SCSI-device. Are there any possibilies of
solving of this problem? What kernel source-files can i patch to work my
FreeBSD with iPod properly?

When i try `camcontrol rescan all' in the case of hot plugging, the
process is just going to hang up. And when i'm dettaching iPod-device at
all, my system is crashing because of page fault.

Thank you!

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


Re: re-setting root password for MYSQL win 2003

2005-06-08 Thread Remington L
On Tue, 2005-06-07 at 03:48 -0500, Nikolas Britton wrote:
 On 6/6/05, John Andrews [EMAIL PROTECTED] wrote:
  in order to access the MYSQL control centre and MYSQL administrator I
  need to be able to re-set the root userpassword, can someone please
  advise on how this is done in win2003 server
  
  admin tools/computer management/ local users and groups  does not
  disclose the MYSQL root user
 
 It's simple:
 1. Download the FreeBSD 5.4 disc1 iso image.
 2. burn the iso image to a CD.
 3. Insert the disc into the cd-rom drive.
 4. Reboot the computer.
 5. Wait for the freebsd boot loader to pop up.
 6. Hit the enter key.
 7. Select the standard installation option in sysinstall
 8. Select the drive that has windows install on it.
 9. Hit the d key and the down-arrow until it displays one entry
 that says unused.
 10. Hit the a key.
 11. Hit the q key.
 12. Select the standard mbr option.
 13. Hit the a key.
 14. Hit the q key.
 15. Select the all option.
 16. Hit the enter key.
 17. Select exit option.
 18. Hit the enter key.
 19. Hit the enter key.
 20. Hit the enter key.
 21. Wait.
 22. Hit the enter key.
 23. Hit the enter key.
 24. Select the first device on the list.
 25. Hit the enter key.
 26. Select the yes option.
 27. Hit the enter key.
 28. Enter some alpha-numerical char's in the Host box.
 29. Select the OK button
 30. Hit the enter key.
 31. Select No
 32. Hit the enter key.
 33. Hit the enter key.
 34. Hit the enter key.
 35. Hit the enter key.
 36. Hit the enter key.
 37. Hit the enter key.
 38. Select No.
 39. Hit the enter key.
 40. Hit the enter key.
 41. Select Yes.
 42. Hit the enter key.
 43. Hit the enter key.
 44. Hit the enter key.
 45. Select Exit option.
 46. Hit the enter key.
 47. Hit the enter key.
 48. Select No.
 49. Hit the enter key.
 50. Select no.
 51. Hit the enter key.
 53. Hit the enter key.
 54. Hit the enter key.
 55. Enter in a Login Id.
 56. Enter in a password
 57. add the wheel group to the member groups box.
 58. change the login shell to tcsh
 59. select ok
 60. hit the enter key.
 61. select exit.
 62. hit the enter key.
 63. hit the enter key.
 64. enter in a password.
 65. enter in the same password you just entered.
 66. hit the enter key.
 67. hit the enter key.
 68. eject and remove the CD from the cd-rom drive.
 69. hit the enter key.
 70. wait for the computer to reboot.
 71. hit the enter key at the boot loader prompt.
 72. wait for freebsd to load.
 73. login with your normal user account.
 74. type in cd /usr/ports/www/horde.
 75. hit the enter key.
 76. type in su
 77. hit the enter key.
 78. type in your root password.
 79. hit the enter key.
 80. type in make install clean.
 81. hit the enter key.
 82. wait.
 83. select the options you want.
 84. repeat steps 82 and 83 until you get a # prompt.
 85. type in cd ../../databases/mysql41-server/.
 86. hit the enter key.
 87. type in make install clean.
 88. select the options you want from the menu.
 89. hit the enter key.
 90. wait until you get a # prompt.
 91. If needed configure any config files for the packages you just installed.
 92. type in shutdown -r now.
 93. hit the enter key.
 94. wait for the computer to reboot.
 95. hit the enter key at the boot prompt.
 96. wait for freebsd to loaded.
 97. hit the scroll lock key.
 98. scroll up and down to check that everything worked ok. 
 99. hit the scroll lock key again.
 100. login to the system.
 
 THE INFO IS PROVIDED AS IS, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
 IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
 CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
 TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE INFO
 OR THE USE OR OTHER DEALINGS IN THE INFO.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]


I dont know whats worse, the fact that you remember everything that has
to be done, or the fact you ran through the procedure on of your
machines for the purpose of writing this email. Hahaha

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


FreeBSD

2005-06-08 Thread Thiago Stopa
Hello, I would like to know about the file system, process commands and 
memory management of FreeBSD, I would be so grateful if you return it. 
Thanks


My name is Thiago and my e-mail: [EMAIL PROTECTED]

_
MSN Hotmail, o maior webmail do Brasil. http://www.hotmail.com

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


Re: FreeBSD

2005-06-08 Thread Dmitry Mityugov
On 6/8/05, Thiago Stopa [EMAIL PROTECTED] wrote:
 Hello, I would like to know about the file system, process commands and
 memory management of FreeBSD, I would be so grateful if you return it.
 Thanks

Looks like the Handbook is your best friend:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html

-- 
Dmitry

We live less by imagination than despite it - Rockwell Kent, N by E
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Remote X client

2005-06-08 Thread John Oxley
 On Mon, 6 Jun 2005, Karel Miklav wrote:
 
 I ssh on remote server, set DISPLAY, then run Thunderbird, Links etc.
 remotely and everything looks and works great. Now I try Firefox and
 WTF! it read configuration from the local machine! Links and settings
 are all local and it doesn't resolve as I didn't set up route on local
 machine yet. So it's local, but how can that happen - it was run over
 ssh on remote machine?!

try running 
firefox --no-xshm

-- 
John Oxley
Systems Administrator
Yo!Africa
E-Mail:  [EMAIL PROTECTED]
Tel: +263 4 858404 ext 2017


smime.p7s
Description: S/MIME cryptographic signature


Digital Audio Workstation

2005-06-08 Thread crzdgns1
Hello,

Is anyone on this list using FreeBSD as the OS for a Digital
Audio Workstation?  If so, could you please point me to some
print or online resources for building a digital audio
workstation using FreeBSD as the OS?

Thank you,

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


Re: Remote X client

2005-06-08 Thread Tony Shadwick



On Wed, 8 Jun 2005, John Oxley wrote:


On Mon, 6 Jun 2005, Karel Miklav wrote:


I ssh on remote server, set DISPLAY, then run Thunderbird, Links etc.
remotely and everything looks and works great. Now I try Firefox and
WTF! it read configuration from the local machine! Links and settings
are all local and it doesn't resolve as I didn't set up route on local
machine yet. So it's local, but how can that happen - it was run over
ssh on remote machine?!


try running
firefox --no-xshm


Just out of curiousity, why would that matter?  I've run firefox remotely 
server times without needing an extra flag

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


Re: ircd

2005-06-08 Thread Riccardo Giuntoli
On 6/8/05, kalin mintchev [EMAIL PROTECTED] wrote:
..
 that makes my machine a client. and it's started by apache. hmmm... can
 this be some kind of chat application/applet embedded in an html page on
 somebody's website?

Or it is possible that someone break your system using a known vuln.
In the last two months many php script or perl script like awstat
suffer of remote code execution
problem. Check the scripts that yours users use.

 thanks...

Sorry for very bad english,
Best regards

-- 
Name: Riccardo Giuntoli
Email: [EMAIL PROTECTED]
Homepage: http://www.luxoro.org/
Location: Genova, Italy
6BONE Handle: RG581-6BONE
PGP Key: 0x67123739
PGP Fingerprint: CE75 16B5 D855 842F AB54 
  FB5C DDC6 4640 6712 3739
Key server: hkp://wwwkeys.eu.pgp.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


How to create a man page?

2005-06-08 Thread brian . barto
Hi all. I am writing a program with hopes to submit it for inclusion to the
ports collection. My last step is to include a man page for my program. Man
pages look to be some sort of markup language. What is the standard way to
create a man page? Is there some sort of wysiwyg or some other program that
makes them easy to create?
 
Thanks,
Brian
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Fwd: ATI Cards...

2005-06-08 Thread mojo fms
-- Forwarded message --
From: mojo fms [EMAIL PROTECTED]
Date: Jun 8, 2005 6:51 AM
Subject: Re: ATI Cards...
To: Björn König [EMAIL PROTECTED]


That is kind of scary... Any other known working drivers? I know ATI
supports one on their website for linux, but i dont think it will work
with the Fbsd Kernel...

On 6/7/05, Björn König [EMAIL PROTECTED] wrote:
 mojo fms wrote:
  I have a machine i just switched from Wiindows to Freebsd... This is
  the second Fbsd machine i have setup but the first with an ATI card..
  I want to do some gaming on it and i was wondering where i could find
  drivers that will work with Fbsd. I am using the ATI 9600XT AGP 128M
  card.. Thanks

 The only suitable driver that I know is experimental.

 http://r300.sourceforge.net/

 Björn

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


12TB GEOM stripe, newfs, then fsck: cannot alloc 768053748 bytes for blockmap

2005-06-08 Thread Frantisek Rysanek
Dear everyone, 

this is not an important issue, but I'd like to ask anyway, 
just in case the solution was obvious: 

I've bundled three 4TB RAID boxes using GEOM::stripe into a 
single 12TB volume. I didn't partition it, I just created UFS 
on it using newfs (a dangerously dedicated volume). 
This is not a production setup, I'm just testing the hardware.

I thought fsck would be a plausible benchmarking tool. 

-bash-2.05b# fsck_ufs /dev/stripe/data
** /dev/stripe/data
cannot alloc 768053748 bytes for blockmap

* FILE SYSTEM MARKED DIRTY *

After a forced mount, the 12TB volume works fine. It just 
can't be fsck'ed. 

The machine is a dual Xeon/Nocona + i7520, with 2 GB of RAM, 
running FreeBSD 5.4-RELEASE with an SMP kernel.

Any ideas are welcome :-) 

Frank Rysanek

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


Re: How to create a man page?

2005-06-08 Thread Giorgos Keramidas
On 2005-06-08 09:53, [EMAIL PROTECTED] wrote:
 Hi all. I am writing a program with hopes to submit it for inclusion
 to the ports collection. My last step is to include a man page for my
 program. Man pages look to be some sort of markup language. What is
 the standard way to create a man page?

Just typing the text in a plain ASCII file is sufficient.

 Is there some sort of wysiwyg or some other program that makes them
 easy to create?

Not really.  Most of the rules for writing a well formatted manpage
are picked up by osmosis; by reading existing manpages and looking at
the diffs committed by more experienced manpage authors.

FYI,

The reference for groff mdoc macros, which are the preferred way of
writing manpages for FreeBSD, is the groff_mdoc(7) manpage.  If you have
the text of the manpage, you can always ask the freebsd-doc people to
review the manpage text and/or formatting.

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


Re: 12TB GEOM stripe, newfs, then fsck: cannot alloc 768053748 bytes for blockmap

2005-06-08 Thread Tony Shadwick
Just curious, what happens if you run the fsck with -f?  Since it isn't 
production I won't feel bad if it clobbers something. ;)


On Wed, 8 Jun 2005, Frantisek Rysanek wrote:


Dear everyone,

this is not an important issue, but I'd like to ask anyway,
just in case the solution was obvious:

I've bundled three 4TB RAID boxes using GEOM::stripe into a
single 12TB volume. I didn't partition it, I just created UFS
on it using newfs (a dangerously dedicated volume).
This is not a production setup, I'm just testing the hardware.

I thought fsck would be a plausible benchmarking tool.

-bash-2.05b# fsck_ufs /dev/stripe/data
** /dev/stripe/data
cannot alloc 768053748 bytes for blockmap

* FILE SYSTEM MARKED DIRTY *

After a forced mount, the 12TB volume works fine. It just
can't be fsck'ed.

The machine is a dual Xeon/Nocona + i7520, with 2 GB of RAM,
running FreeBSD 5.4-RELEASE with an SMP kernel.

Any ideas are welcome :-)

Frank Rysanek

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


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


Re: link in handbook appears to be broken

2005-06-08 Thread Eric Schuele

Ted Mittelstaedt wrote:

Hi Steven

  Please don't waste time with this.  development of burncd is pretty
much
dead.  Even the CD's on the list that it supported (of which I have one)
often didn't work right.  And all of them are old, no longer in
production.
burncd is there so if you have a burner sitting around you can plug
it in and see if it works.

  These days most people use the ATAPI/CAM driver with IDE burners, see:


Is it recommended to remove the
   device atapicd   (assuming that drops the /dev/acd0)
from the kernel config file if you are using the ATAPI/CAM driver?


http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.ht
ml#ATAPICAM

Ted



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Steven
Friedrich
Sent: Friday, June 03, 2005 7:48 PM
To: freebsd-questions@freebsd.org
Subject: link in handbook appears to be broken


I'm trying to follow the link http://www.freebsd.dk/ata/ on page
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creati
ng-cds.html

Anybody know where else I might find this info?
--
i386 FreeBSD 4.11-STABLE
There are 10 types of people in this world. Ones that
understand binary and
then, the others.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]




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




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


portupgrade -NRP interrupted, now what?

2005-06-08 Thread Gareth Bailey
Hi there,

A power cut interrupted my portupgrade -NRP kde task. I ran pkgdb -Fu as 
i thought that it would fix any inconsistencies i might have. I then ran 
portupgrade -NRP kde in an attempt to continue my package install of kde. 
The install is failing with the following sample error messages:

pkg_add: can't open dependency file '/var/db/pkg/kdepim-3.4.0/+REQUIRED_BY'!
dependency registration is incomplete
pkg_add: can't open dependency file '/var/db/pkg/kdesdk-3.4.0/+REQUIRED_BY'!
dependency registration is incomplete
pkg_add: can't open dependency file '/var/db/pkg/kdeutils-3.4.0
/+REQUIRED_BY'!
dependency registration is incomplete
pkg_add: can't open dependency file '/var/db/pkg/kdeartwork-3.4.0
/+REQUIRED_BY'!
dependency registration is incomplete

Please advise on what i should do to complete the kde install.

Thanks,

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


Installing KDE3

2005-06-08 Thread Alvaro Rosales
Hello Folks, I am trying to isntall KDE3 in my BSD box from the ports
tree , but it seems it is installing more software than I need, where
can I tell FreeBSD to install KDE only with the options I need?.
Thanks for your answers.


On 6/7/05, FEY JAKARTA [EMAIL PROTECTED] wrote:
 
 
 -
 Discover Yahoo!
  Have fun online with music videos, cool games, IM  more. Check it out!
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

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


Re: Re: Re: Automake version mismatch - can't install anything via ports

2005-06-08 Thread Phil Cryer

 #
 USE_AUTOMAKE_VER=19

*ahem*

Kris

Whew, thank you!  I knew automake was being misdirected somewhere, but didn't 
think of /etc/make.conf, can't remember putting that in there, but I suppose I 
did.  Commented that line out, and things are back to normal, everything works 
again!

Thank you Kris.

P



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


graphviz with fontconfig

2005-06-08 Thread Kent.N
Hi,

I want to use graphviz with fontconfig support,
and I tried the graphics/graphviz port.
However, through the portinstall, fontconfig is not
enabled because of lack of fontconfig-conf.
So I added following lines into the Makefile of the port,
then I could get fontconfig support:

CONFIGURE_ARGS+=--with-fontconfigincludedir=${X11BASE}/include \
--with-fontconfiglibdir=${X11BASE}/lib 

The questions are:
(1) Why graphviz's fontconfig support disabled by default?
Is there any problem with that on FreeBSD?
(2) Editing Makefile directly doesn't seems smarter way.
How should I do when I want to add some configure options
using portinstall?
(3) If the above lines are suitable, I want to add them
original Makefile of the port.
How should I request/propose this change?
Is it OK to contact port maintainer directly?

Thanks,

-- 
Kent.N [EMAIL PROTECTED]

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


Re: 12TB GEOM stripe, newfs, then fsck: cannot alloc 768053748 bytes for blockmap

2005-06-08 Thread Alex Zbyslaw

Frantisek Rysanek wrote:

I thought fsck would be a plausible benchmarking tool. 


-bash-2.05b# fsck_ufs /dev/stripe/data
** /dev/stripe/data
cannot alloc 768053748 bytes for blockmap

* FILE SYSTEM MARKED DIRTY *

After a forced mount, the 12TB volume works fine. It just 
can't be fsck'ed. 
 


Do you have MAXDSIZ set in your kernel?  And what about any limits?

e.g. I have options MAXDSIZ=(1024UL*1024*1024)
and limit memoryuse unlimited

which is all my 1Gb  physical memory.  The default is a mere 512Mb.  You 
might need users to be limited to a bit less, but I don't have any of 
them :-)


--Alex

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


Re: CUPS hp deskjet driver install fails

2005-06-08 Thread Paul Schmehl
--On Tuesday, June 07, 2005 20:09:32 -0400 Mike Jeays 
[EMAIL PROTECTED] wrote:


I had a similar problem with a printer on the parallel port - the answer
was the lptcontrol command, to switch it from interrupt to polled mode.
Look at man lptcontrol.


This was the perfect solution.  Thanks.

Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu/ir/security/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ATI Cards...

2005-06-08 Thread Roland Smith
On Wed, Jun 08, 2005 at 04:29:55AM +, mojo fms wrote:
 I have a machine i just switched from Wiindows to Freebsd... This is
 the second Fbsd machine i have setup but the first with an ATI card..
 I want to do some gaming on it and i was wondering where i could find
 drivers that will work with Fbsd. I am using the ATI 9600XT AGP 128M
 card.. Thanks

According to the manual page radeon(4x), the standard radeon driver that
comes with Xorg 6.8.2 should work. But there is no 3D accelleration,
i.e. DRI is not supported.

You should have something like the following in /etc/X11/xorg.conf:

   Section Device
 Identifier devname
 Driver radeon
 ...
   EndSection

HTH, 
 Roland

-- 
R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text.
public key: http://www.xs4all.nl/~rsmith/pubkey.txt


pgpIGsOX47twj.pgp
Description: PGP signature


Re: Laptops, centralized authentication, and roaming profiles

2005-06-08 Thread Tony Shadwick

On Wed, 8 Jun 2005, Henry Miller wrote:



On 6/7/2005 at 19:09 Tony Shadwick wrote:


I have a question of theory that has been bugging me that I thought I
would throw at the list.

Presume this configuration: a typical small to medium sized company,

we'll

say 25 workstations, all running some version of *nix, for sanity

we'll

presume all FreeBSD, but I see no reason some couldn't be linux or

osx.


I could set up centralized authentication via NIS or LDAP without too

much

difficulty.  I'm aware of the differences in password schema that must

be

overcome, but I've learned to deal with this.  So now I can go

workstation

to workstation and log in, no problem.

NFS can be set up equally well.  No issues.  In the scenario with

desktop

machines, this quite simply isn't a problem so long as you are okay

with

working on everything across the network.  Something about that bugs

me

though...really.  You wind up eating up network resources constantly.

:\

Anyway, that's a tangent to the real kicker.

Laptops.

They don't stay put!  (well duh)

Okay, so the user can log in to the domain if you will when in the
office, and sure, NFS will automount, but what happens when the user
leaves the office?  I've done some quick searching on roaming

profiles

(I actually googled 'linux roaming profiles' with little success).

So how should one play this out?  I personally am on a Powerbook, and

have

intentionally set up local user auth.  I open and close my laptop to

sleep

it, leave a network, open it and next thing you know you're on a new
network.  Now, the fact that you generally only have 1 user per laptop



makes this kind of okay, but your home directory is no longer
centralized, you home directory doesn't get backed up, and now I'm

dealing

with a user that really isn't auth'ing against the domain, and having

to

alot permissions for such user, and having to manage local machine

uid's

and gid's.  Ugh!

You see the cluttered path my mind is wandering down here?

Is there already a solution to this, or is it still someone one must

hack

for themselves?


This is a hard question.

Coda and AFS (Andrew's file system) both attempt to solve the home dir
problem.   They are both known to be a headache, and not always stable.
(though some very large installations use AFS, so it must work once
you sacrifice the right breed of goat or whatever it is you have to do)
 They are worth investigating.

Consider connecting laptops via VPN, even when in the office.   Only a
fool would have a laptop these days without wireless networking, and
wireless isn't secure by default.  A VPN is just one solution, but
since it solves the out of office issue (so long as you have network
connectivity somewhere, which isn't a given) so it might be the best
way to go.   Or maybe not, like I said, consider it.

I don't know how to solve the login problem.

If your company has money (with only 25 workstations this is unlikely)
you should hire a couple developers to work on a solution.   Perhaps
you can find a project that is working on parts of this and donate
money?   I don't know of any, but if you find them.


Ooohgood call on the vpn.  Set it up to where they have a local user, 
and local home directory, vpn in.  Okay, so now I'm on the network, 
presuming the pptp server was authing against OpenLDAP or NIS.  Add a 
script to that login that mounts any NFS shares, and quite possibly does a 
quick rsync against a server to back up the home directory.  Problem is, 
if they didn't nicely disconnect, then we don't know who's copy needs to 
be updated, the local copy or the remote copy. :\


I'll look into Andrew's File System.  That's a bit of a misnomer on the 
acronym though.  AFS seems to be more commonly known as Apple File 
Sharing protocol.  Yay...

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


Re: Digital Audio Workstation

2005-06-08 Thread Roland Smith
On Wed, Jun 08, 2005 at 09:12:29AM -0400, [EMAIL PROTECTED] wrote:
 Hello,
 
 Is anyone on this list using FreeBSD as the OS for a Digital
 Audio Workstation?  If so, could you please point me to some
 print or online resources for building a digital audio
 workstation using FreeBSD as the OS?

Have you installed the ports tree? If not, do so and check out the
goodies under /usr/ports/audio and /usr/ports/multimedia.

Roland
-- 
R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text.
public key: http://www.xs4all.nl/~rsmith/pubkey.txt


pgpOxHcS0Zamh.pgp
Description: PGP signature


Re: How to create a man page?

2005-06-08 Thread Charles Swiger

On Jun 8, 2005, at 9:53 AM, [EMAIL PROTECTED] wrote:
Hi all. I am writing a program with hopes to submit it for  
inclusion to the
ports collection. My last step is to include a man page for my  
program. Man
pages look to be some sort of markup language. What is the standard  
way to
create a man page? Is there some sort of wysiwyg or some other  
program that

makes them easy to create?


If your program implements the standard --version and --help long  
options, the misc/help2man port will create an adequate manpage from  
the information your program provides.  Someone who knows NROFF can  
do a better job writing of the manpage by hand, but it's at least a  
starting point.


--
-Chuck

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


Re: Laptops, centralized authentication, and roaming profiles

2005-06-08 Thread Charles Swiger

On Jun 8, 2005, at 11:13 AM, Tony Shadwick wrote:
Ooohgood call on the vpn.  Set it up to where they have a local  
user, and local home directory, vpn in.  Okay, so now I'm on the  
network, presuming the pptp server was authing against OpenLDAP or  
NIS.  Add a script to that login that mounts any NFS shares, and  
quite possibly does a quick rsync against a server to back up the  
home directory.  Problem is, if they didn't nicely disconnect,  
then we don't know who's copy needs to be updated, the local copy  
or the remote copy. :\


If you're going to be updating two trees of stuff not always in sync,  
a version control system like CVS or SVN might be worth considering.   
Used carefully, rsync will also deal with this pretty well, but you  
would be wise to have known-good backups before trusting rsync -- 
delete to merge.


I'll look into Andrew's File System.  That's a bit of a misnomer on  
the acronym though.  AFS seems to be more commonly known as Apple  
File Sharing protocol.  Yay...


Nowadays, that's true.  However, CMU was using AFS before Apple sold  
computers which could do ethernet, and it's quite possible that  
Andrew even predates the introduction of the original 128k Macs.


It's Andrew File System, BTW, no possessive: named after Andrew  
Carnegie and Andrew Mellon, who are the C and M from where the  
system was developed.  :-)


--
-Chuck

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


Re: Laptops, centralized authentication, and roaming profiles

2005-06-08 Thread Tony Shadwick

On Wed, 8 Jun 2005, Henry Miller wrote:




On 6/8/2005 at 10:13 Tony Shadwick wrote:


On Wed, 8 Jun 2005, Henry Miller wrote:

Ooohgood call on the vpn.  Set it up to where they have a local

user,

and local home directory, vpn in.  Okay, so now I'm on the network,
presuming the pptp server was authing against OpenLDAP or NIS.  Add a
script to that login that mounts any NFS shares, and quite possibly

does a

quick rsync against a server to back up the home directory.  Problem

is,

if they didn't nicely disconnect, then we don't know who's copy

needs to

be updated, the local copy or the remote copy. :\


Can you setup subversion or some other.   As a programmer I don't
backup my home directory at work because all my important work is kept
in CVS anyway.
(or it is a work in progress from today, and wouldn't be on a backup
if there was a crash)  The CVS server is backed up, and I check in
often.

Teaching management to use it will be hard.  However if yours are among
those [few] who get it, they will love you for giving it too them.  MS
Word doesn't allow diffs against documents, but perhaps you can teach
subversion to diff OpenOffice.org (or whatever you use) files.

It is a long shot, but it solves your problems, and although more work
is also a net gain.

I suppose I should give a plug for the company I work for as well:
Our rocketVault with continuous backups (basically rsync) can backup
your laptops when they are in the office.  Since most laptop uses don't
roam between machines they don't need the shared home directory so much
as a backup.   It is a completely different solution than the one you
are thinking of, but it might solve the laptop problem good enough, and
let you worry about other issues.   (www.intradyn.com)


Thanks, I don't mind the plug either.  I'm working out and documenting 
solutions to these types of issues right now.  It is still just 
theoretical, adn not an actual customer need, but I see it going that 
direction as soon as I try to implement it in a live environment.


Do you guys have your software in the ports tree for easy installation? :)


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


Re: Laptops, centralized authentication, and roaming profiles

2005-06-08 Thread Tony Shadwick

On Wed, 8 Jun 2005, Charles Swiger wrote:


On Jun 8, 2005, at 11:13 AM, Tony Shadwick wrote:
Ooohgood call on the vpn.  Set it up to where they have a local user, 
and local home directory, vpn in.  Okay, so now I'm on the network, 
presuming the pptp server was authing against OpenLDAP or NIS.  Add a 
script to that login that mounts any NFS shares, and quite possibly does a 
quick rsync against a server to back up the home directory.  Problem is, if 
they didn't nicely disconnect, then we don't know who's copy needs to be 
updated, the local copy or the remote copy. :\


If you're going to be updating two trees of stuff not always in sync, a 
version control system like CVS or SVN might be worth considering.  Used 
carefully, rsync will also deal with this pretty well, but you would be wise 
to have known-good backups before trusting rsync --delete to merge.


I'll look into Andrew's File System.  That's a bit of a misnomer on the 
acronym though.  AFS seems to be more commonly known as Apple File 
Sharing protocol.  Yay...


Nowadays, that's true.  However, CMU was using AFS before Apple sold 
computers which could do ethernet, and it's quite possible that Andrew even 
predates the introduction of the original 128k Macs.


It's Andrew File System, BTW, no possessive: named after Andrew Carnegie 
and Andrew Mellon, who are the C and M from where the system was 
developed.  :-)


--
-Chuck


Yeah, I didn't mean Apple had first dibbs, I'm just saying waking up to 
your random tech, and regard to file storage, you say AFS, 9 times out 
of 10 they'll think you're talking about Apple File Sharing. :)


I'm seriously going to look into that.  Version control would be awesome 
if I could script it and not have the user needing to mess with too many 
command line switches and such, and I agree, they would love me for it. 
The trick is that in most companies, the laptop users are the VIP's.  The 
people that decide if you still get money from them or not. :OP  So yes, 
they would love the benefits of being able to roll back a file to an older 
version if they screwed up, but these same people are usually the ones 
that want the least hassle with using the computer.


All of the toys, but none of responsibilities or pitfalls for having said 
toys.  Gotta love it. :\

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


Bootable CD with virus checking for NTFS

2005-06-08 Thread Brent Wiese
I've been searching around for a bootable CD that can virus fix NTFS
partitions. Obviously that means it needs to be able to mount NTFS
partitions as RW.

I've found several CD's based on Linux that will check in RO mode, but none
that will (safely anyways) in RW.

Pipe dream?

Heck, doesn't even need to be free as long as the cost is reasonable.

Just so extra emails aren't generated, I've tried:

Helix
Ultimate Boot CD (this one claims NTFS RW, but when I boot, it appears to be
RO... Haven't actually tried using on an infected system yet)
Auditor
Whoppix

Thanks!
Brent



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


Re: 12TB GEOM stripe, newfs, then fsck: cannot alloc 768053748 bytes for blockmap

2005-06-08 Thread Tony Shadwick

On Wed, 8 Jun 2005, Alex Zbyslaw wrote:


Frantisek Rysanek wrote:

I thought fsck would be a plausible benchmarking tool. 
-bash-2.05b# fsck_ufs /dev/stripe/data

** /dev/stripe/data
cannot alloc 768053748 bytes for blockmap

* FILE SYSTEM MARKED DIRTY *

After a forced mount, the 12TB volume works fine. It just can't be fsck'ed. 

Do you have MAXDSIZ set in your kernel?  And what about any limits?

e.g. I have options MAXDSIZ=(1024UL*1024*1024)
and limit memoryuse unlimited

which is all my 1Gb  physical memory.  The default is a mere 512Mb.  You 
might need users to be limited to a bit less, but I don't have any of them 
:-)


--Alex


Whoa.wait a sec there.

Did I just understand you right, or did you just say that the default 
amount of RAM that FreeBSD allows in the kernel is 512MB without throwing 
that switch at compile time


Aw crap.  If you're right, you just explained one of the grander mysteries 
I'm experiencing with one of my boxes that keeps experiencing symptoms of 
running out of RAM

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


Re: portupgrade -NRP interrupted, now what?

2005-06-08 Thread Tony Shadwick
I'd try something along the lines of pkg_delete -f kdepim-3.4.0 and its 
ilk, then continue the portupgrade.


Anyone else?

On Wed, 8 Jun 2005, Gareth Bailey wrote:


Hi there,

A power cut interrupted my portupgrade -NRP kde task. I ran pkgdb -Fu as
i thought that it would fix any inconsistencies i might have. I then ran
portupgrade -NRP kde in an attempt to continue my package install of kde.
The install is failing with the following sample error messages:

pkg_add: can't open dependency file '/var/db/pkg/kdepim-3.4.0/+REQUIRED_BY'!
dependency registration is incomplete
pkg_add: can't open dependency file '/var/db/pkg/kdesdk-3.4.0/+REQUIRED_BY'!
dependency registration is incomplete
pkg_add: can't open dependency file '/var/db/pkg/kdeutils-3.4.0
/+REQUIRED_BY'!
dependency registration is incomplete
pkg_add: can't open dependency file '/var/db/pkg/kdeartwork-3.4.0
/+REQUIRED_BY'!
dependency registration is incomplete

Please advise on what i should do to complete the kde install.

Thanks,

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


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


Re: Bootable CD with virus checking for NTFS

2005-06-08 Thread Tony Shadwick

On Wed, 8 Jun 2005, Brent Wiese wrote:


I've been searching around for a bootable CD that can virus fix NTFS
partitions. Obviously that means it needs to be able to mount NTFS
partitions as RW.

I've found several CD's based on Linux that will check in RO mode, but none
that will (safely anyways) in RW.

Pipe dream?

Heck, doesn't even need to be free as long as the cost is reasonable.

Just so extra emails aren't generated, I've tried:

Helix
Ultimate Boot CD (this one claims NTFS RW, but when I boot, it appears to be
RO... Haven't actually tried using on an infected system yet)
Auditor
Whoppix


Just so you know, I'm pretty sure all of the LiveCD's go RO by default, 
even if the kernel is compiled to allow RW.  That's just a safety 
precaution against users that don't know the limits and dangers of writing 
to an NTFS volume.  You can still pop open a terminal and re-mount it RW 
by hand, although I would suggest running clam (that's what you're using, 
right?), and if you FIND a virus, mount it RW and either remove it by hand 
or run clam again again allow clam to clean up the mess then.

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


Re: Bootable CD with virus checking for NTFS

2005-06-08 Thread John Oxley
On Wed, Jun 08, 2005 at 08:44:46AM -0700, Brent Wiese wrote:
 I've been searching around for a bootable CD that can virus fix NTFS
 partitions. Obviously that means it needs to be able to mount NTFS
 partitions as RW.

http://www.nu2.nu/pebuilder/



smime.p7s
Description: S/MIME cryptographic signature


Re: 12TB GEOM stripe, newfs, then fsck: cannot alloc 768053748 bytes for blockmap

2005-06-08 Thread Dan Nelson
In the last episode (Jun 08), Tony Shadwick said:
 On Wed, 8 Jun 2005, Alex Zbyslaw wrote:
 which is all my 1Gb  physical memory.  The default is a mere 512Mb. 
 You might need users to be limited to a bit less, but I don't have
 any of them
 
 Whoa.wait a sec there.
 
 Did I just understand you right, or did you just say that the default
 amount of RAM that FreeBSD allows in the kernel is 512MB without
 throwing that switch at compile time

You can also set it in /boot/loader.conf:  kern.maxdsiz=1024M

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


Re: x

2005-06-08 Thread jose luis
hey man thank u, i tried that it happens the same, now i´m gonna use the vmware 
workstation 5 i would like to know which driver i have to use?
 
bye

Andrew L. Gould [EMAIL PROTECTED] escribió:
On Friday 03 June 2005 10:44 am, jose luis wrote:
 hi
 i need help.
 my english is little, then i hope that you understand me.
 well i use freebsd 5.3 i installed xorg and kde.
 i execute startkde and it appears this: kpersonalizer: can not
 connect Xserver i execute kdm or xdm and it appear welcome freebsd
 later i have to log the user, when i do this the screen appears
 black and it reappears (welcome freebsd) i execute startx and it
 appears the xterm later i type startkde and the desktop is up but
 there are two desktop xterm and kde and i can´t work. i hope that u
 understand and thank u very much.


Is the command 'startkde' in the .xinitrc file in your home directory? 
If not, try adding it to the file, then execute 'startx'.

This section of the online handbook may be of help:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11.html

Good luck,

Andrew Gould

__
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
Regístrate ya - http://correo.espanol.yahoo.com/ 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Network AV server

2005-06-08 Thread Joshua Lewis
Could someone point me in the right direction to create a network server
that scans networks systems for Virus and acts on the viruses accordingly.

I have a FreeBSD system that I would like to turn into a virus scanner
(among other things) but I don't know how or what scanners are available
and/or recommended.

Recommendations and links to possible how tos are welcome.


Thank you,
Joshua Lewis




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


Re: Re: Re: Automake version mismatch - can't install anything via ports

2005-06-08 Thread Kris Kennaway
On Wed, Jun 08, 2005 at 09:54:51AM -0500, Phil Cryer wrote:
 
  #
  USE_AUTOMAKE_VER=19
 
 *ahem*
 
 Kris
 
 Whew, thank you!  I knew automake was being misdirected somewhere, but didn't 
 think of /etc/make.conf, can't remember putting that in there, but I suppose 
 I did.  Commented that line out, and things are back to normal, everything 
 works again!

BTW, you've probably got a lot of bogus dependencies on automake by
now, because that directs every port you build to register a
dependency on automake 1.9.  Some surgery with pkgdb is probably
indicated.

Kris


pgpunOFxTUIV5.pgp
Description: PGP signature


Re: Network AV server

2005-06-08 Thread Philip Hallstrom

Could someone point me in the right direction to create a network server
that scans networks systems for Virus and acts on the viruses accordingly.

I have a FreeBSD system that I would like to turn into a virus scanner
(among other things) but I don't know how or what scanners are available
and/or recommended.


http://clamav.net/

 A GPL virus scanner featuring:

* command-line scanner
* fast, multi-threaded daemon
* milter interface for sendmail
* database updater with support for digital signatures
* virus scanner C library
* on-access scanning (Linux and FreeBSD)
* detection of over 35000 viruses, worms and trojans
* built-in support for RAR (2.0), Zip, Gzip, Bzip2, Tar, MS OLE2, MS 
Cabinet files, MS CHM (Compressed HTML), MS SZDD

* built-in support for mbox, Maildir and raw mail files
* built-in support for Portable Executable files compressed with UPX, 
FSG, and Petite


Clam AntiVirus is a GPL anti-virus toolkit for UNIX. The main purpose of 
this software is the integration with mail servers (attachment scanning). 
The package provides a flexible and scalable multi-threaded daemon, a 
command line scanner, and a tool for automatic updating via Internet. The 
programs are based on a shared library distributed with the Clam AntiVirus 
package, which you can use with your own software. Most importantly, the 
virus database is kept up to date .

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


Re: 12TB GEOM stripe, newfs, then fsck: cannot alloc 768053748 bytes for blockmap

2005-06-08 Thread Alex Zbyslaw

Dan Nelson wrote:


You can also set it in /boot/loader.conf:  kern.maxdsiz=1024M
 


Nice.  Did not know that.  Thanks,

--Alex


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


Re: 12TB GEOM stripe, newfs, then fsck: cannot alloc 768053748 bytes for blockmap

2005-06-08 Thread Alex Zbyslaw

Tony Shadwick wrote:

Did I just understand you right, or did you just say that the default 
amount of RAM that FreeBSD allows in the kernel is 512MB without 
throwing that switch at compile time


Aw crap.  If you're right, you just explained one of the grander 
mysteries I'm experiencing with one of my boxes that keeps 
experiencing symptoms of running out of RAM


That's what comes of reading LINT (4.X) and NOTES (5.X) smug :-)

It's the default amount of RAM that a single process is allowed to 
consume, assuming limit datasize unlimited.  It basically defines what 
unlimited means, as I understand it.  Found it when running some tricky 
conversion jobs on large data files... Looks like you can fix it without 
recompiling though.  See Dan Nelson's message...


There's also a max for stack size and for the default.

From NOTES

#
# Certain applications can grow to be larger than the 512M limit
# that FreeBSD initially imposes.  Below are some options to
# allow that limit to grow to 1GB, and can be increased further
# with changing the parameters.  MAXDSIZ is the maximum that the
# limit can be set to, and the DFLDSIZ is the default value for
# the limit.  MAXSSIZ is the maximum that the stack limit can be
# set to.  You might want to set the default lower than the max,
# and explicitly set the maximum with a shell command for processes
# that regularly exceed the limit like INND.
#
options MAXDSIZ=(1024UL*1024*1024)
options MAXSSIZ=(256UL*1024*1024)
options DFLDSIZ=(256UL*1024*1024)



--Alex

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


5.x, LDAP and caching uid/gid data

2005-06-08 Thread Ben Hockenhull
We're in the midst of implementing a couple of FreeBSD servers, each
containing about 5k users, with authentication against LDAP.  We're using
PADL's nss_ldap and pam_ldap modules, and while things work well, I'm
looking for ways to improve performance and reduce active queries against
LDAP.

There's no user information on the local system at all, so every operation
that requires UID/GID information had to do an LDAP lookup to get UID/GID
data.  So, for example, every piece of mail delivered means an LDAP lookup.
Ick.

Is there such a thing as nscd for FreeBSD, and if so, has anyone had
experience using it?  I found a lookupd utility that looks promising, but
I'm leery of implementing it in production as it seems like fairly untested
software.

Failing nscd or a similar thing, are there other ways I can cache this
infomration or otherwise improve performance?

Thanks.

Ben


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


Re: 5.x, LDAP and caching uid/gid data

2005-06-08 Thread Tony Shadwick

Hmm

Just based on my past experiences with NIS (working on learning LDAP as 
we speak), one would normally have SOME local user data.


For example, a local sendmail user, a local root user, if you're running a 
MySQL daemon locally, you'd have a local mysql user.


I think?  Someone could correct me if I'm wrong here, but I see little 
benefit from having the smmsp user being in ldap and not local to the 
machine.  Feel free to prove me wrong on this though. :)


I'd still be interested in hearing about ldap caching, as it relates to me 
earlier question about laptop users and centralized auth.


On Wed, 8 Jun 2005, Ben Hockenhull wrote:


We're in the midst of implementing a couple of FreeBSD servers, each
containing about 5k users, with authentication against LDAP.  We're using
PADL's nss_ldap and pam_ldap modules, and while things work well, I'm
looking for ways to improve performance and reduce active queries against
LDAP.

There's no user information on the local system at all, so every operation
that requires UID/GID information had to do an LDAP lookup to get UID/GID
data.  So, for example, every piece of mail delivered means an LDAP lookup.
Ick.

Is there such a thing as nscd for FreeBSD, and if so, has anyone had
experience using it?  I found a lookupd utility that looks promising, but
I'm leery of implementing it in production as it seems like fairly untested
software.

Failing nscd or a similar thing, are there other ways I can cache this
infomration or otherwise improve performance?

Thanks.

Ben


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


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


Re: 5.x, LDAP and caching uid/gid data

2005-06-08 Thread Charles Swiger

On Jun 8, 2005, at 1:53 PM, Ben Hockenhull wrote:
There's no user information on the local system at all, so every  
operation
that requires UID/GID information had to do an LDAP lookup to get  
UID/GID
data.  So, for example, every piece of mail delivered means an LDAP  
lookup.

Ick.


You really want to leave the standard system UIDs and GIDs in place,  
and use LDAP (or NIS, etc) to augment them with the additional  
information about network-wide users and groups.



Is there such a thing as nscd for FreeBSD, and if so, has anyone had
experience using it?  I found a lookupd utility that looks  
promising, but
I'm leery of implementing it in production as it seems like fairly  
untested

software.


lookupd has been around for close to fifteen years, and has been used  
with large user/group databases (50,000+ users).  More to the point,  
the PADL stuff ought to play nicely with lookupd, since PADL came  
from the NEXTSTEP and now MacOS X community where lookupd originated.


I am not sure that lookupd has been used or tested or shaken down as  
much with FreeBSD, so the integration with PAM may not be as mature  
as it's usage with the nss_ mechanism.


However, if you really want nscd, I'd imagine that you ought to be  
able to hunt that down from Sun now that the source code for Solaris  
10 is openly available...?


--
-Chuck

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


Time for a new SATA raid server ...

2005-06-08 Thread John Pettitt

I'm about to consign my old cobbled together file server and it's
collection of FireWire drives to that place servers go to die.

I need to build a file server with up to 2 TB of capacity - most of this
storage will be near-line storage for video and photo archives and so
will not have high performance needs.  It will need to be highly reliable.

My current thought is to go with a 3ware based SATA raid solution using
300 or 400gb sata drives (7 x 400's with 6 in a raid 5 array with a hot
spare).

Questions:  does anybody on the list have such a box running in production?

Any issues I need to watch for?

Does anybody build these pre-configured?

What other raid controllers should I consider? (must have real FreeBSD
support)

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


Editing the boot menu

2005-06-08 Thread Paul Schmehl

When you use FreeBSD's boot manager, you get a menu like this at bootup:

F1 DOS
F2 FreeBSD
F3 Linux
F4 ??
F5 Drive 1

Default: F2

Is there a way to edit the list?  Or is that fixed when boot manager is 
installed and not configurable?


By edit, I mean, for example, change F4 ?? to F4 MyOS.

Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu/ir/security/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Editing the boot menu

2005-06-08 Thread José de Paula Rodrigues
On 6/8/05, Paul Schmehl [EMAIL PROTECTED] wrote:
 When you use FreeBSD's boot manager, you get a menu like this at bootup:
 
 F1 DOS
 F2 FreeBSD
 F3 Linux
 F4 ??
 F5 Drive 1
 
 Default: F2
 
 Is there a way to edit the list?  Or is that fixed when boot manager is
 installed and not configurable?
 
 By edit, I mean, for example, change F4 ?? to F4 MyOS.


man boot0cfg

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


Re: 5.x, LDAP and caching uid/gid data

2005-06-08 Thread Ben Hockenhull
At 1:24 PM -0500 6/8/05, Tony Shadwick wrote:

On Wed, 8 Jun 2005, Ben Hockenhull wrote:

 We're in the midst of implementing a couple of FreeBSD servers, each
 containing about 5k users, with authentication against LDAP.  We're using
 PADL's nss_ldap and pam_ldap modules, and while things work well, I'm
 looking for ways to improve performance and reduce active queries against
 LDAP.

 There's no user information on the local system at all, so every operation
 that requires UID/GID information had to do an LDAP lookup to get UID/GID
 data.  So, for example, every piece of mail delivered means an LDAP lookup.
 Ick.

 Is there such a thing as nscd for FreeBSD, and if so, has anyone had
 experience using it?  I found a lookupd utility that looks promising, but
 I'm leery of implementing it in production as it seems like fairly untested
 software.

 Failing nscd or a similar thing, are there other ways I can cache this
 infomration or otherwise improve performance?

Hmm

Just based on my past experiences with NIS (working on learning LDAP as
we speak), one would normally have SOME local user data.

For example, a local sendmail user, a local root user, if you're running a
MySQL daemon locally, you'd have a local mysql user.

I think?  Someone could correct me if I'm wrong here, but I see little
benefit from having the smmsp user being in ldap and not local to the
machine.  Feel free to prove me wrong on this though. :)

I'd still be interested in hearing about ldap caching, as it relates to me
earlier question about laptop users and centralized auth.

I should have been a bit more explicit.  All system accounts (root, smmsp,
etc) are still local to the server, but any actual user accounts are in
LDAP, with no local passwd entries at all.

Ben


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


make index failure

2005-06-08 Thread Nicolas Salvo
Hi all

 I have some problems with generating the index of the ports
collection, the problem is
 hardware related, and in some part of the process the host
goes down. I want to know if
 there's a way to keep the status, so when the host comes back
I can finish it.

 Thanks.

-- 
Nicolas A. Salvo
Capital Federal 
Buenos Aires - Argentina
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Editing the boot menu

2005-06-08 Thread Paul Schmehl
--On Wednesday, June 08, 2005 16:29:22 -0300 José de Paula Rodrigues 
[EMAIL PROTECTED] wrote:



On 6/8/05, Paul Schmehl [EMAIL PROTECTED] wrote:

When you use FreeBSD's boot manager, you get a menu like this at bootup:

F1 DOS
F2 FreeBSD
F3 Linux
F4 ??
F5 Drive 1

Default: F2

Is there a way to edit the list?  Or is that fixed when boot manager is
installed and not configurable?

By edit, I mean, for example, change F4 ?? to F4 MyOS.



man boot0cfg


I *thought* it would go without saying that I had already read man boot0cfg.

Obviously, I missed the part where you edit the menu.  Wanna give me a hint?

uname -imr
5.4-RELEASE i386 GENERIC

boot0cfg -v /dev/ad4
#   flag start chs   type   end chs   offset size
1   0x00  0:  1: 1   0x07   1023:254:63   63204796557
2   0x80   1023:255:63   0xa5   1023:254:63204796620283482990

version=1.0  drive=0x80  mask=0xf  ticks=182
options=packet,update,nosetdrv
default_selection=F2 (Slice 2)

The options for boot0cfg are:

-B  Install the `boot0' boot manager.  This option causes MBR code 
to

be replaced, without affecting the embedded slice table.

I don't need to install it.

-b boot0
Specify which `boot0' image to use.  The default is /boot/boot0
which will use the video card as output, alternatively
/boot/boot0sio can be used for output to the COM1 port.  (Be
aware that nothing will be output to the COM1 port unless the
modem signals DSR and CTS are active.)

I don't need to specify the boot image.

-d drive
Specify the drive number used by the PC BIOS in referencing the
drive which contains the specified disk.  Typically this will 
be

0x80 for the first hard drive, 0x81 for the second hard drive,
and so on; however any integer between 0 and 0xff is acceptable
here.

I don't need to specify the drive.

-f file
Specify that a backup copy of the preexisting MBR should be 
writ-

ten to file.  This file is created if it does not exist, and
replaced if it does.

I don't need to make a backup copy.

-m mask
Specify slices to be enabled/disabled, where mask is an integer
between 0 (no slices enabled) and 0xf (all four slices 
enabled).


The correct slices are already enabled.  The system boots fine to either OS.

-o options
A comma-separated string of any of the following options may be
specified (with ``no'' prepended as necessary):

The default options are being used, and I see no reason to change them.

packet  Use the disk packet (BIOS INT 0x13 extensions) 
interface,
as opposed to the legacy (CHS) interface, when doing 
disk

I/O.  This allows booting above cylinder 1023, but
requires specific BIOS support.  The default is
`nopacket'.

setdrv  Forces the drive containing the disk to be referenced
using drive number definable by means of the -d option.
The default is `nosetdrv'.

update  Allow the MBR to be updated by the boot manager.  (The

update  Allow the MBR to be updated by the boot manager.  (The
MBR may be updated to flag slices as `active', and to
save slice selection information.)  This is the 
default;
a `noupdate' option causes the MBR to be treated as 
read-

only.

-s slice
Set the default boot selection to slice.  Values between 1 and 
4

refer to slices; a value of 5 refers to the option of booting
from a second disk.

The default slice is determined by the last boot.  I see no reason to 
change that.


-t ticks
Set the timeout value to ticks.  (There are approximately 18.2
ticks per second.)

The timeout is set to 10, and I see no reason to change that.

-v  Verbose: display information about the slices defined, etc.

Self-explanatory.

So where is the switch that I use to edit the menu?

Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu/ir/security/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]