RE: smbfs - Is this still appropriate

2002-12-06 Thread Petersen
Murray Taylor said:
 root@flea(/usr/ports/net/smbfs)ttyp3 # uname -a
 FreeBSD flea.bytecraft.au.com 4.7-RC FreeBSD 4.7-RC #0: Tue Sep 24

 mount_smbfs: can't get handle to requester (no /dev/nsmb* device)

 OK so I look into the /dev/MAKEDEV scripts and there is no nsmb
 anywhere.

Yes there is (and has been since way before 4.7-RC). You probably never ran
mergemaster after an installworld.

 cd /dev   rm -f nsmb*  mknod nsmb0 c 144 0

 There are currently no nsmb devices in /dev on the new host

 THE QUESTION
 Is this command line still appropriate or has any of the mknod
 parameters changed?



Yes. Major node has not changed.

Petersen


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



Newbie - Problems with OpenOffice1.0.1

2002-12-06 Thread Ivo Schmagler
Hi,
I'm running FreeBSD 4.7 (i386) Recently, I installed OpenOffice via ports. It 
worked fine until all of a sudden it refuses to start up but instead says
/kernel: pid xxx (javaldx) exited on signal 11 (core dumped)
/kernel: pid xxx (soffice.bin) exited on signal 11 (core dumped)

Now, what's going wrong here? All I did was to compile
options EXT2FS
into the GENERIC kernel; this couldn't possibly have anything to do with this, 
could it?
Thanks for your help
Ivo

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



RE: Need help with newbie training on DNS/Bind

2002-12-06 Thread Didier Wiroth
Hey,
I would really recommand:
DNS and BIND - 4th Edition (Covers Bind 9)
ISBN 0-596-00158-4

Covers bind and name resolution in every possbile aspect! A really must
have book!

These own seems to be good (I personnaly don't have it, but it sounds
interesting) and also good addition to the previous mentionned book:
DNS and BIND Cookbook
http://www.amazon.com/exec/obidos/tg/detail/-/0596004109/qid=1039168701/
sr=1-2/ref=sr_1_2/103-3722991-0502249?v=glances=books#product-details

Hope this helps
Didier

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Grant Cooper
Sent: Friday, December 06, 2002 08:53
Cc: [EMAIL PROTECTED]
Subject: Re: Need help with newbie training on DNS/Bind


From one newbie to another, drop Bind and go with djbdns. I tried both
and
djbdns was 10* easyer to use and install. In two days I had DNS
resolution
working. Much easier tutorials to follow with clear examples. And it's
in
ports.


- Original Message -
From: Mark Fujie [EMAIL PROTECTED]
To: Dragoncrest [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, December 05, 2002 11:28 PM
Subject: Re: Need help with newbie training on DNS/Bind


 It's not really a tutorial, but I learned how to configure BIND and
do
 basic administration using O'Reilly's DNS and BIND, 4th ed..
O'Reilly
 has also recently published a Bind Cookbook (don't remember the
exact
 title), which has lots of examples of common BIND configurations.

 Most of the general Introduction to UNIX/Freebsd type books seem to
 have chapters on DNS and BIND as well.

 I have a feeling you were thinking more in terms of free docs, but for
a
 topic as fundamental as DNS, a good book can be worth the cost of
 admission.

 Mark



 On Thu, 2002-12-05 at 23:12, Dragoncrest wrote:
  Anyone know of a good tutorial I could use to teach someone how to
work
  with Bind 9.2 on Freebsd as well as DNS?  AKA adding and removing
records,
  administration, maintenance, troubleshooting, etc.  I have a newbie
who
I
  need to teach how to maintain one of our DNS servers and I'd like to
do
it
  right.  I could teach him from what I know, but that would be like
teaching
  a dog to drive a car.  :)
 
  I want something in writing, on paper that he can take home at the
end
of
  the day and soak up the info I drilled into him on that day so that
he
can
  learn faster.  Can anyone help with this?  I searched, but the
tutorials
I
  found so far suck.  Think newbie who's never touched bind.  :)
Thanks
again.
 
 
  To Unsubscribe: send mail to [EMAIL PROTECTED]
  with unsubscribe freebsd-questions in the body of the message
 


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


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



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



Re: Please update your webpage

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

 I think send-pr.html is still disabled..

and their copy of my message bounced.

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.see http://www.eyrie.org./~eagle/faqs/questions.html

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



Re: ipfw firewall help

2002-12-06 Thread BigBrother (BigB3)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


ipfw add 108 allow tcp from any to xx.250.227.0/22 20,21,25,80,110 via
bge0
snip

#Outbound from inside
ipfw add 109 check-state
ipfw add 110 allow tcp from xx.250.224.0/22 via bge0 keep-state
ipfw add 111 allow udp from xx.250.224.0/22 via bge0 keep-state
ipfw add 112 allow tcp from any to any established setup
#Machine specific ports
#Server NEWS 1
ipfw add 120 allow tcp from any to xx.250.227.2 53 via bge0
ipfw add 121 allow tcp from any to xx.250.227.3 53 via bge0
ipfw add 122 allow tcp from any to xx.250.227.4 53 via bge0
ipfw add 123 allow udp from any to xx.250.227.2 via bge0
ipfw add 124 allow udp from any to xx.250.227.3 via bge0
ipfw add 125 allow udp from any to xx.240.227.4 via bge0

snip

#Deny all after above allows - here we go
ipfw add 400 deny tcp from any to xx.250.227.0/22 via bge0
ipfw add 410 deny udp from any to xx.250.227.0/22 via bge0


Goal is if we're on any of the 227 subnetted machines and wish to do
anything on the internet that we be allowed to do so, such as ftp,
telnet,
browse the web, etc.


1)General tip when using firewalls, especially if you are having
problems..
ALWAYS log the denied packetsso in ruleset 400 you should put a log
statement.

2) When using firewall always remember that packets are usually two way
packets..which means somebody connectes to your port and your port sends a
reply.  So rule 108 should also include a 'keep state' option or it should
be immediately followed byt a

ipfw add 108 allow tcp from xx.250.227.0/22 20,21,25,80,110 to any via bge

3) Your problem is located on a missing rule. You have rules for the 224
subnet but not for the 227 for outgoing... So you should also include a
line

ipfw add 113 allow all from xx.250.227.0/22 via bge keep-state

4) Also whatever is not specifically writen with 2 rules (one incoming and
other outgoing) it should have a keep-state option. For example rule 120
it has only the incoming connection to 53. You dont allow the outgoing. So
prefereably you should
i) make two rules for it
ii) use a keep-state directive




Regards,


BigB




- ---
We are being monitored..but there is a solution...
Use PGP for signing and encrypting emails
Download my public key at http://www.us.pgp.net

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE98F9jGe/V3CxAyHoRAn+sAJ0X65d6o/+YrI1iLMq+mHvDxtCrdACffrMb
Uz0a1/8Z6fgUOuspgXeOjVk=
=Dh2k
-END PGP SIGNATURE-


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



Help!!!!

2002-12-06 Thread Alessandro Guerreschi
Ciao, ho da poco installato FreeBSD,
Ho una scheda video Matrox G450 e un monitor Philips Brillance 19 pollici.

Ho installato buona parte dei pacchetti, anche se è stato molto lungo dover 
selezionarli uno ad uno (Si possono selezionare tutti nella cartella all?)

Ho infine installato full graphics e interfacce KDE Gnome.

La risoluzione che propone è 640x480 con 256 colori.
Se durante l'installazione provo a cambiarla non si leggono più le scritte.

Ora sto usando FreeBSD con questa risoluzione e numeri di colori.
Come faccio a cambiarla da Gnome e KDE?
Non riesco a trovare nel pannello di controllo la funzione appropriata.
Dove devo andare?

Grazie mille

Alak



_
Chiacchiera con gli amici online, prova MSN Messenger! 
http://messenger.msn.it


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


Question about Apache with ssl.

2002-12-06 Thread Mark-Nathaniel Weisman
I've replaced the original httpd executable with a new improved
apachectl, and of course need the startssl to fire up my ssl installed
Web Server. When the web server fires up, you need to enter the pass
phrase for the security. How can I automate this? Which file boots the
web server? And where do I add the security phrase? Any help?

His Faithful Servant,
Mark

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



Re: maxusers and random system freezes

2002-12-06 Thread Varshavchick Alexander

On Thu, 5 Dec 2002, David Schultz wrote:

 In FreeBSD, each process has a unique 4G virtual address space
 associated with it.  Not every virtual page in every address space
 has to be associated with real memory.  Most pages can be pushed
 out to disk when there isn't enough free RAM, and unallocated
 parts of the virtual address space aren't backed by anything.
 (Referencing an unmapped page that the system doesn't know about
 generally causes the program or OS to crash.  You've probably seen
 these as ``segmentation faults'' and ``page fault in kernel mode''
 panics.)

 To simplify things, the kernel is mapped into a fixed location in
 every address space.  The KVA parameter controls how big a chunk
 the kernel gets; the remainder goes to user processes.  However,
 only the part of the KVA reservation that the kernel actually uses
 is wired to physical memory.  For example, if you have a 1 GB KVA
 reservation and the kernel allocates only 20 MB of RAM, then only
 20 MB of RAM is needed (plus some epsilon if you want to be
 picky), but in theory, the kernel could allocate and manage up to
 1 GB of data.  You don't lose extra physical memory for increasing
 KVA, but a large KVA size does constrain the virtual address space
 available to user processes.


Thank you David for such an excellent explanation. So if sysctl reports

vm.zone_kmem_pages: 5413
vm.zone_kmem_kvaspace: 218808320
vm.kvm_size: 1065353216
vm.kvm_free: 58720256

does it mean that total KVA reservation is 1065353216 bytes (1G) and
almost all of it is really mapped to physical memory because only 58720256
(56M) is free, and the server is balancing on the edge of crashing with
KVA going out?


Alexander Varshavchick, Metrocom Joint Stock Company
Phone: (812)118-3322, 118-3115(fax)



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



Re: maxusers and random system freezes

2002-12-06 Thread Varshavchick Alexander
On Thu, 5 Dec 2002, Terry Lambert wrote:

...

  Are you talking primarily about SHMMAXPGS=262144 option here? Then may be
  it'll be oevrall better to reduce it and make KVA space 2G, to leave more
  room for user address space?

 That's the one I was referring to, yes, but you didn't post your
 whole config (please do *NOT* post it; I can't spend the time on
 going over it line by line).


All other config options are pretty much like the default ones.

 Tuning is a skill; it can be plotted out as a cookbook recipe,
 but it takes a lot of work to do that, and no one has volunteered.

 Basically, to write out a cookbook, you have to know where every
 byte of memory is going in the kernel, and what tunables impact
 each other, and how they are related.

 Once you know that, you could easily write a program to kick out
 a configuration file for various usages, or even modify the code
 to auto-tune itself (everything by KVA space, which impacts the
 base address that the kernel gets linked to... unless you compile
 the entire kernel PIC, which I do not recommend).  But knowing
 the information is hard.  I know it for 4.3 and 4.4.


You're right, expecially for getting an _ideally_ tuned kernel.  However
in a real life, a specialist cannot have an absolute knowledge about _all_
server and other issues, so practical solutions are being looked for in
items which can arise. Of cause, no one is arguing that a basic knowledge
is needed and required.

...

 If you are having system freeses at random, and you want to fix
 them instead of living with them, some experimentation is going
 to be inevitable.  I don't know enough about your installation
 to be able to give you a kernel config file to use that will
 magically fix all your current issues for you, and prevent future
 issues from coming up.  That's going to have to be up to you.



Surely, I'm just trying to reduce the experimental attempts as much as
possible and to rise the chances of success for each new configuration
version.

...

  No, the swap is very slightly used on this server, and the total swap
  size is 2G.

 It doesn't matter.  The amount of swap the kernel allocates page
 tables for is based on the amount of physical RAM in the machine.
 You pay for the page tables whether you use them or not, for swap,
 for the kernel, and for any memory which you permit to be allocated
 at interrupt time, plus any allocations that occur after you are up
 and running, until you run out of physical RAM.

 This is one of those things you just have to know about how
 the kernel uses virtual memory, if you are going to be a skilled
 kernel tuner.


 As a rule, swap should be at least physical memory size + 64K on
 any system that you need to be able to get a system dump from,
 since it needs to dump physical RAM.  If you are not worried about
 the machine falling over, then you can ignore that.

 Note that man tuning suggests 2* physical RAM for swap.

 PS: I am going to be out of touch (able to download, but not
 send email) for the next couple of days... up to a week.  If you
 have more questions, and they can't wait, you will need to ask
 someone else.


Thank you for all your advices, they've already helped a bit. Have luck in
your trip or elsewhere.

-
Alex


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



4.7-stable won't boot on Asus P2B-DS board :-((

2002-12-06 Thread Rene Veerman
I have a nice one for the hardware freaks on this list;

An Asus P2B-DS board, with the latest bios (1013), 2 P-II processors, And IDE
harddisk and DVD-drive that loads a freebsd iso CD, and 512 Megs of RAM that 
count correctly won't boot 4.7-Stable. I've downloaded the latest iso just 
a few days ago.

The only weird thing that is reported is @ boot, just before the kernel
loads;
  Bios drive C: is disk2
  Bios drive C: is disk3

Whatever kind of kernel configuration I try to boot, it hangs after
detecting devices. In standard kern-conf, this is straight after plip.

Since I'd really like to run freebsd on this machine, i'm very willing to
provide you with more debug information.

I have already tried different IDE harddisks, and putting the harddisk on a
different IDE connector.

Please please, some help would be very much appreciated.

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



Re: maxusers and random system freezes

2002-12-06 Thread David Schultz
Thus spake Varshavchick Alexander [EMAIL PROTECTED]:
 Thank you David for such an excellent explanation. So if sysctl reports
 
 vm.zone_kmem_pages: 5413
 vm.zone_kmem_kvaspace: 218808320
 vm.kvm_size: 1065353216
 vm.kvm_free: 58720256
 
 does it mean that total KVA reservation is 1065353216 bytes (1G) and
 almost all of it is really mapped to physical memory because only 58720256
 (56M) is free, and the server is balancing on the edge of crashing with
 KVA going out?

Yes, 56 MB of unreserved kernel virtual memory (modulo
fragmentation) is probably pushing it for a busy server.
Try bumping KVA_PAGES.

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



Samba stability

2002-12-06 Thread Christophe Simon
Hi,

I have a problem with samba and FreeBSD 4.7. My problem comes from an 
instability of samba services. I use samba as a PDC in a microsoft domain, 
and i have some regular shutdowns of the services. When i ty to reconnect my 
host, a message says that my password is wrong (and i'm sure of it). At the 
same time, the postfix server, that runs too, doesn't reply anymore. After a 
period of time the servers respond again, ans recrash a little later.

I have a message on the tty0 that says /kernel: psmintr delay too long; 
reseting byte count, and i have nothin in my logs... I have no idea of what 
it means and of where does the problem comes from...

Could anyone help me ? thanks !

_
MSN Search, le moteur de recherche qui pense comme vous ! 
http://search.msn.fr/worldwide.asp


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


Re: maxusers and random system freezes

2002-12-06 Thread Varshavchick Alexander
On Fri, 6 Dec 2002, David Schultz wrote:

  vm.zone_kmem_pages: 5413
  vm.zone_kmem_kvaspace: 218808320
  vm.kvm_size: 1065353216
  vm.kvm_free: 58720256
 
  does it mean that total KVA reservation is 1065353216 bytes (1G) and
  almost all of it is really mapped to physical memory because only 58720256
  (56M) is free, and the server is balancing on the edge of crashing with
  KVA going out?

 Yes, 56 MB of unreserved kernel virtual memory (modulo
 fragmentation) is probably pushing it for a busy server.
 Try bumping KVA_PAGES.


Well, now I made KVA space 2G, we'll see later on if it helps to get rid
of the sudden system halts, but for some reason a side-effect has
appeared: pthread_create function returns EAGAIN error now, so I had to
recompile the software using it with linux threads to make it working.
With the old kernel these pieces worked without problems. Can it be that
somehow the enlarged KVA space messed up with the threads mechanism?


Alexander Varshavchick, Metrocom Joint Stock Company
Phone: (812)118-3322, 118-3115(fax)






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



Re: maxusers and random system freezes

2002-12-06 Thread David Schultz
Thus spake Varshavchick Alexander [EMAIL PROTECTED]:
 Well, now I made KVA space 2G, we'll see later on if it helps to get rid
 of the sudden system halts, but for some reason a side-effect has
 appeared: pthread_create function returns EAGAIN error now, so I had to
 recompile the software using it with linux threads to make it working.
 With the old kernel these pieces worked without problems. Can it be that
 somehow the enlarged KVA space messed up with the threads mechanism?

I'm not a pthreads expert, but my best guess is that your program
tried to create a thread with a stack address that was too high.
Remember that with a 2 GB KVA, user processes have only 2 GB to
play with instead of 3 GB, so attempting to mmap() a stack above
about 2 GB would cause pthread_create() to return EAGAIN.

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



Re: Question about Apache with ssl.

2002-12-06 Thread Andrew Prewett
Today Mark-Nathaniel Weisman wrote:

 I've replaced the original httpd executable with a new improved
 apachectl,

apachectl is only a wrapper script to start, stop, restart apache (httpd)...

 and of course need the startssl to fire up my ssl installed
 Web Server. When the web server fires up, you need to enter the pass
 phrase for the security. How can I automate this?

You mean, you want a decrypted key?

prompt# openssl rsa -in encrypted.key -out decrypted.key
[you get a password prompt here]

prompt# chown root:wheel decrypted.key
prompt# chmod 0400 decrypted.key

(apache|ssl).conf file:
SSLCertificateKeyFile /path/to/decrypted.key

You should read the apache-ssl FAQ.

 Which file boots the web server?

 In this case the web server executable is httpd. You can start it
directly and with a wrapper script, like apachectl or (if you have
installed apache with the ports/packages system) with
/usr/local/etc/rc.d/httpd.sh (IIRC).

 And where do I add the security phrase? Any help?

 If you use the decrypted version of the key, then you'll not be prompted
again at apache startup.

-andrew


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



Re: maxusers and random system freezes

2002-12-06 Thread Varshavchick Alexander
On Fri, 6 Dec 2002, David Schultz wrote:

 Thus spake Varshavchick Alexander [EMAIL PROTECTED]:
  Well, now I made KVA space 2G, we'll see later on if it helps to get rid
  of the sudden system halts, but for some reason a side-effect has
  appeared: pthread_create function returns EAGAIN error now, so I had to
  recompile the software using it with linux threads to make it working.
  With the old kernel these pieces worked without problems. Can it be that
  somehow the enlarged KVA space messed up with the threads mechanism?

 I'm not a pthreads expert, but my best guess is that your program
 tried to create a thread with a stack address that was too high.
 Remember that with a 2 GB KVA, user processes have only 2 GB to
 play with instead of 3 GB, so attempting to mmap() a stack above
 about 2 GB would cause pthread_create() to return EAGAIN.


Yes this makes sense, however this call to pthread_create didn't specify
any special addresses for the new thread. The pthread_create was called
with the NULL attribute which means that the system defaults were being
used. Something in the system has gone wrong...


Alexander Varshavchick, Metrocom Joint Stock Company
Phone: (812)118-3322, 118-3115(fax)






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



Re: Samba stability

2002-12-06 Thread Jens Rehsack
Christophe Simon wrote:

Hi,


Hi,


I have a problem with samba and FreeBSD 4.7. My problem comes from an 
instability of samba services. I use samba as a PDC in a microsoft 

Can you specify this?


domain, and i have some regular shutdowns of the services. When i ty to 

Which services? PDC, samba, ...?


reconnect my host, a message says that my password is wrong (and i'm 
sure of it). At the same time, the postfix server, that runs too, 
doesn't reply anymore. After a period of time the servers respond again, 
ans recrash a little later.

Which options do you use when you have compiled samba? Which Samba 
version do you have installed. What says your dmesg? Which options do 
you use when compiling your own kernel? Have you any packages/ports 
installed corresponding to samba? Do you have compiled in SSL/LDAP ... 
support into samba?

I have a message on the tty0 that says /kernel: psmintr delay too long; 
reseting byte count, and i have nothin in my logs... I have no idea of 
what it means and of where does the problem comes from...

That's another thing. Also: what does your dmesg says. What kind of 
motherboard do you have? Latest/which BIOS version?

Could anyone help me ? thanks !


Bye
Jens


_
MSN Search, le moteur de recherche qui pense comme vous ! 
http://search.msn.fr/worldwide.asp


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





--
L i  W W W  i Jens Rehsack
LW W W
L i   W   W W   W   i  nnnLiWing IT-Services
L iW W   W Wi  n  n  g   g
  i W W i  n  n  g   gFriesenstraße 2
  06112 Halle
 g
 g   g
Tel.:  +49 - 3 45 - 5 17 05 91ggg e-Mail: [EMAIL PROTECTED]
Fax:   +49 - 3 45 - 5 17 05 92http://www.liwing.de/



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



Re: ipfw firewall help

2002-12-06 Thread Steve Bertrand
Easiest way I have found to troubleshoot rule problems is to turn on 
logging for your deny rules and find out what rule is blocking the 
traffic. Just add the 'log' or 'log logamount nn' (where nn is a number 
of entries to create). Once you try to connect again, you can then read 
/var/log/security and see where the packets are being dropped.

Another good method of troubleshooting is using # tcpdump -i ifaceX 
(where ifaceX is the interface the traffic is going through first). 
After you verify traffic can get through the first interface, dump the 
other interface. You will get results verifying whether the traffic was 
able to come in to the interface, and whether it was able to go back out.

You may also want to post to freebsd-ipfw.

Hope this helps!

Steve


Please forgive me for asking this, I know it's probably been gone over
numerous times.

I have a network at a colo facility with a freebsd machine and 3 nic's.

Outside nic and the others for the internal networks.  I get routed
3 class C's, and the machine is routing and acting as a gateway perfectly.

We decided to close everything and add as needed (ports).

As far as incoming traffic/ports, etc, everything is perfect.  But if I
get on any of the internal machines and try to browse the web (windows
update) etc., nothing works.  

I'm sure it's something totally simple I'm missing, since it's a colo
facility it's not like it's an office land and people are there but I need
the ability to be on a server there and be able to browse, ftp, etc, all
of which are broken.

Could someone help me figure out what I've done wrong?

Here's the rules I have, the firewall is set to OPEN so it runs
/etc/rc.firewall and adds the 3 generic rulesets, then runs rc.joe which
I'm showing here:

#Begin Custom ipfw rules to secure network on fxp0
#We will block at the WAN   
#
#adam's IP for term svc
ipfw add 101 allow tcp from xx.xx.xx.xx to any 3389 via bge0
#sarah's IP for term svc
ipfw add 102 allow tcp from xx.xx.xx.xx to any 3389 via bge0
#
#leave the unix machines alone
#WWW
ipfw add 103 allow tcp from any to xx.250.228.0/28 via bge0
ipfw add 104 allow udp from any to xx.250.228.0/28 via bge0
#Outside WAN - Router fbsd
ipfw add 105 allow udp from any to xx.94.245.250 via bge0
ipfw add 106 allow tcp from any to xx.94.245.250 via bge0  
ipfw add 107 allow tcp from any to xx.250.227.1 ssh via bge0
#
#Begin Allows - Universal (FTP, WWW, SMTP, POP3)
ipfw add 108 allow tcp from any to xx.250.227.0/22 20,21,25,80,110 via
bge0
#
#Outbound from inside
ipfw add 109 check-state
ipfw add 110 allow tcp from xx.250.224.0/22 via bge0 keep-state
ipfw add 111 allow udp from xx.250.224.0/22 via bge0 keep-state
ipfw add 112 allow tcp from any to any established setup
#Machine specific ports
#Server NEWS 1
ipfw add 120 allow tcp from any to xx.250.227.2 53 via bge0
ipfw add 121 allow tcp from any to xx.250.227.3 53 via bge0
ipfw add 122 allow tcp from any to xx.250.227.4 53 via bge0
ipfw add 123 allow udp from any to xx.250.227.2 via bge0   
ipfw add 124 allow udp from any to xx.250.227.3 via bge0
ipfw add 125 allow udp from any to xx.240.227.4 via bge0
#
#Server WWW6
ipfw add 130 allow tcp from any to xx.250.227.208 443 via bge0
#
#Server SQL 3
ipfw add 140 allow tcp from any to xx.250.227.13 1433 via bge0 
#
#Server MARZ
ipfw add 150 allow tcp from any to xx.250.227.53 1433 via bge0
#
#Server Mai
ipfw add 160 allow tcp from any to xx.250.227.175 8384 via bge0

#Deny all after above allows - here we go
ipfw add 400 deny tcp from any to xx.250.227.0/22 via bge0
ipfw add 410 deny udp from any to xx.250.227.0/22 via bge0


Goal is if we're on any of the 227 subnetted machines and wish to do
anything on the internet that we be allowed to do so, such as ftp, telnet,
browse the web, etc.

These rules are also in effect as rc.firewall sets them:

   ${fwcmd} add 100 pass all from any to any via lo0
   ${fwcmd} add 200 deny all from any to 127.0.0.0/8
   ${fwcmd} add 300 deny ip from 127.0.0.0/8 to any

# ${fwcmd} add 65000 pass all from any to any

Any help would be greatly appreciated, I know that source packets coming
in aren't matching the rulesets anylonger or it's something like that.

The area that I've tried to make this work is the

109
110
111
112

But to no avail.

Thanks again,

Joe


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


 




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



ASUS 2400r-t availability in Canada ...

2002-12-06 Thread Marc G. Fournier

Does anyone know of a distributor/reselling in Canada that actually has
one in stock?  I need to build a rackmount server, and am drawing blanks
on a *reasonably* priced rackmount server equivalent to the 2400R-T :(



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



Re: x question

2002-12-06 Thread John Bleichert
On Thu, 5 Dec 2002, Eric Humphries wrote:

 Date: Thu, 5 Dec 2002 20:14:36 -0600
 From: Eric Humphries [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Re: x question
 
  What you need to do is run an X server on the windows machine, then
  set the DISPLAY environment variable on the freebsd box to something
  like windowsbox:0.0 (or tunnel it through ssh).  The only x server
  for windows I know of is eXcursion, but there may be others.
 
 No, there are several. One I use at work is WinaXe. But again it comes down to 
 personal preferance.
 
 efk
 

You could also use VNC. We use it extensively at work to share displays 
between win32, Linux and AIX boxes.

/usr/ports/net/vnc

#  John Bleichert 
#  http://vonbek.dhs.org/latest.jpg


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



RE: Need help with newbie training on DNS/Bind

2002-12-06 Thread Dave McCammon

--- Didier Wiroth [EMAIL PROTECTED] wrote:
 Hey,
 I would really recommand:
 DNS and BIND - 4th Edition (Covers Bind 9)
 ISBN 0-596-00158-4
 
 Covers bind and name resolution in every possbile
 aspect! A really must
 have book!
 
 These own seems to be good (I personnaly don't have
 it, but it sounds
 interesting) and also good addition to the previous
 mentionned book:
 DNS and BIND Cookbook

http://www.amazon.com/exec/obidos/tg/detail/-/0596004109/qid=1039168701/

sr=1-2/ref=sr_1_2/103-3722991-0502249?v=glances=books#product-details
 
 Hope this helps
 Didier
 
[a lotta snippin']

DNS and BIND highly recommended and don't forget
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/dns.html
Could be quite useful since the newbie would be
working on a FreeBSD server.(Assumed since you mailed
to this list).


__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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



Xntpd running on a host with jails

2002-12-06 Thread Didier Wiroth
Hey,
I'm running xntpd on a host which has jails! I saw that ntpd listens on
all ip addresses even the jails ip addresses! How can I force xntp to
listen only at a specific ip address?

Thanks a lot
Didier



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



Re: booting using NT boot loader

2002-12-06 Thread Paul Root
bootpart worked. Thanks!

Paul.

Marco Radzinschi wrote:

On Thu, 5 Dec 2002, Paul Root wrote:



Hi,
	I used to have this working then I reimaged my
Windows 2000.

	Anyway, I have Windows 2000 on the C: (first partition)
and FreeBSD on the second. VMWare is installed on Win2000. FreeBSD
is 4.7-Stable of not that long ago.

	If switch the active partion to be the FreeBSD
partition it boots fine. However, I get a failure if I
go thru the NT boot loader.

	I copied boot1 from /boot to C:\ and called it bootsect.bsd
I do a sum on FreeBSD and on Win 2000 (cygwin what a lifesaver) and
They come up the same:

proot@PTROOT /cygdrive/c
$ sum bootsect.bsd
30147 1

proot@PTROOT /cygdrive/c
$ cat boot.ini
[boot loader]
timeout=5
default=multi(0)disk(0)rdisk(0)partition(1)\WINNT
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINNT=Microsoft Windows 2000
Professional
/fastdetect
C:\bootsect.bsd=FreeBSD
C:\=Microsoft Windows


What am I doing wrong here? I tried copying the file to a peerless
drive when just booted in FreeBSD and then moving it over with Explorer,
then I copied it in FreeBSD, gzipped it, copied it over, gunziped it in
cygwin and used mv in cygwin to rename.

Sorry, I'm not currently on the list, don't have time to read. Any help
would be appreciated.

Thanks,
Paul.



--
Paul T. RootE/Mail: [EMAIL PROTECTED]
600 Stinson Blvd, Fl 1S		PAG: +1 (877) 693-7155
Minneapolis, MN  55413  WRK: +1 (612) 664-3385
NIC:PTR FAX: +1 (612) 664-4779




Just use bootpart, and run it under windows.  Tell it which partition is
your FreeBSD one, and it will create the appropriate bootsector file (and
entry).

http://www.winimage.com/bootpart.htm

Marco Radzinschi
E-Mail: [EMAIL PROTECTED]

Thu Dec  5 20:17:38 EST 2002




--
Paul T. RootE/Mail: [EMAIL PROTECTED]
600 Stinson Blvd, Fl 1S		PAG: +1 (877) 693-7155
Minneapolis, MN  55413  WRK: +1 (612) 664-3385
NIC:PTR FAX: +1 (612) 664-4779



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



Re: IPFW Snort

2002-12-06 Thread Fernando Gleiser
On Thu, 5 Dec 2002, Brian McCann wrote:

 Simple question for you all...but it evades me.  I'm trying to setup a
 box that will monitor a network, but be totally invisible to that
 network, but it needs an IP since it will be using some programs like
 BigBrother and whatnot.  So...my question is...if I use IPFW to block,
 for example, all ports and effectively totally blocking TCP/IP, will
 Snort still be able to capture TCP/IP packets?  Has anyone tried/done

Yes, it will work. sniffer work at ethernet level and ipf/ipfw work at IP
level, so the sniffer sees the packets before the firewall .

But that won't make the box invisible. If it has an IP, you can tell it's
there. If you want it to be invisible, don't assign an IP to the box and
disable ARP for the NIC. You can even cut the transmit wires on the
patchcord if you are really paranoid :)


Fer


 this?

 Thanks  Happy Holidays,
 --Brian


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



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



Re: Host not found?@#%!?

2002-12-06 Thread Janine C . Buorditez
Heya,


 I'd say the fact that you have no idea is at least *part* of the
 problem, *tee hee*.

That is exactly what caused the frustration.

 But, seriously, is it the host broadpark.no we're talking about?

`ninja.terrabionic.com'

 And, is there
 anything similar about those few for whom this network doesn't
 seem
 to exist?  Are they all in China, for (a rather silly) example?

Hahah, no. Norway/Germany.

 What is the network topology (layout) of your LAN?  Can you run nmap
 or something similar against your ADSL router?  What results do you
 get,
 if so?  Have you tested DNS on remote systems using 'dig' or
 'nslookup'?

`host', `dig' and the like works great from outside sources. But those are from
the outside sources (shells) that works.

My network:

isp---cisco-ninja--aegis
217.13.29.5110.0.0.1192.168.187.1192.168.187.2

 Good, I hope I can help, and that you'll excuse my tongue being so
 firmly planted in my cheek.

Hahaha ;-)

thanks a lot!

--janine

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



Squid and NATD with Redirect of ports

2002-12-06 Thread Joao Carlos
I'm having the following problem.

FreeBSD 4.7-STABLE (but with any version it does not work either)

I've a FreeBSD connected to a cable network, with only one IP Address.
My FreeBSD has three network cards. One is connected to my internal network,
other is connected to the cable, and the other is connected to a server that
has some serves something to the Internet.

I'm using IPFIREWALL and NATD, and without squid everything works fine. But
I have to use SQUID + SQUIDGUARD to block some content and urls.
The problem is:
When the client is using squid, it requests www.somesite.com that is hosted
at the server conected to this FreeBSD and has a non valid IP address.
External access works because NATD redirects the port 80 to the internal
address, but SQUID, that is located at the firewall, resolves the
www.somesite.com to the local ip address and tries to connect to the
localhost port 80. It does not pass the packets to the natd to redirect
because it is a local ip address. Then i get Connection Refused because
there is no web server at the firewall.

Any ideas how i can solve this problem? I really need the clients using the
squid at the IE configuration.


Thanks.
---
Joao Carlos
[EMAIL PROTECTED]



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



Re: Samba stability

2002-12-06 Thread Jens Rehsack
Christophe Simon wrote:









From: Jens Rehsack [EMAIL PROTECTED]
To: Christophe Simon [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: Re: Samba stability
Date: Fri, 06 Dec 2002 14:30:40 +0100

Christophe Simon wrote:


Hi,



Hi,


I have a problem with samba and FreeBSD 4.7. My problem comes from an 
instability of samba services. I use samba as a PDC in a microsoft


Can you specify this?


domain, and i have some regular shutdowns of the services. When i ty to



Which services? PDC, samba, ...?


reconnect my host, a message says that my password is wrong (and i'm 
sure of it). At the same time, the postfix server, that runs too, 
doesn't reply anymore. After a period of time the servers respond 
again, ans recrash a little later.


Which options do you use when you have compiled samba? Which Samba 
version do you have installed. What says your dmesg? Which options do 
you use when compiling your own kernel? Have you any packages/ports 
installed corresponding to samba? Do you have compiled in SSL/LDAP ... 
support into samba?

I have a message on the tty0 that says /kernel: psmintr delay too 
long; reseting byte count, and i have nothin in my logs... I have no 
idea of what it means and of where does the problem comes from...


That's another thing. Also: what does your dmesg says. What kind of 
motherboard do you have? Latest/which BIOS version?

Could anyone help me ? thanks !



Bye
Jens


_
MSN Search, le moteur de recherche qui pense comme vous ! 
http://search.msn.fr/worldwide.asp


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





--
L i  W W W  i Jens Rehsack
LW W W
L i   W   W W   W   i  nnnLiWing IT-Services
L iW W   W Wi  n  n  g   g
  i W W i  n  n  g   gFriesenstraße 2
  06112 Halle
 g
 g   g
Tel.:  +49 - 3 45 - 5 17 05 91ggg e-Mail: [EMAIL PROTECTED]
Fax:   +49 - 3 45 - 5 17 05 92http://www.liwing.de/



Thanks for replying so fast !

I have tried both versions of samba 2.2.6 and 3.0a21 installed by the 
ports distributions, and 2.2.7 compiled with no specific options (just 
./configure). My kernel configuration is the same as the GENERIC kernel, 
i have just disabled the drivers that i didn't need.

Ok. Would please be so kind and go to the directory /usr/ports/net/samba 
and type make build install clean and restart the samba service. I'm 
interested if it may have sth. to do with that.

The exact problem is that it works perfectly when i start my computer 
(the server), but 10 to 20 minutes later, the samba server doesn't 
reply. When i disconnect my client and that i try to reconnect it, a 
message from windows tells me that my password is wrong or the access to 
the session server has been refused. When i try to recieve my mails, it 
can't connect neither...


On the server, i have the message that i told higher, kernel: psmintr 
delay too long When i restart the network by /etc/netstart, it 
works again very well, and it falls back again later...

psmintr has to do with the PS/2 device, so I do not assume it causes 
samba to fail.

When it falls back, i have no traces in my log files...

I heard that it could come from of an isntability of the network from 
freebsd, but i'm not sure of this...

It sounds to me like a hardware failure. If the psm device causes 
problems as well as samba - may be a defect memory module?

I have an ASUS A7V333 motherboard, and what is dmesg, and psmintr ? (i'm 
Type into your console dmesg|less or man dmesg and man 4 psm


new on freebsd, only twoo weeks...)

Do you have an idea ?


Not enought information - but it come close :-)

PS: Please cc the list - other newbies may have similar problems


_
MSN Search, le moteur de recherche qui pense comme vous ! 
http://search.msn.fr/worldwide.asp






--
L i  W W W  i Jens Rehsack
LW W W
L i   W   W W   W   i  nnnLiWing IT-Services
L iW W   W Wi  n  n  g   g
  i W W i  n  n  g   gFriesenstraße 2
  06112 Halle
 g
 g   g
Tel.:  +49 - 3 45 - 5 17 05 91ggg e-Mail: [EMAIL PROTECTED]
Fax:   +49 - 3 45 - 5 17 05 92http://www.liwing.de/



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



amr AMI MegaRAID IDE card: spare drive as slave?

2002-12-06 Thread Chris Shenton
I have an AMI MegaRAID sold by Dell as a CERC ATA100; it has 4
discreet channels of IDE and can do RAID 0, 1, 5, or 10.  I've been
running it as RAID 1 for a couple months no problem, with a pair of
WD1200JB 120G disks and a pair of 20G disks -- two logical
partitions.  

The man page only talks about the amr driver for SCSI so I'm guessing
that the interface to the computer looks identical to the AMI SCSI
cards, but the disk interface is simply IDE.

chris@pectopah_34% dmesg|grep am
amr0: AMI MegaRAID mem 0xfeb0-0xfeb0 irq 5 at device 4.0 on pci0
amr0: CERC ATA100/4ch Firmware 6.61, BIOS 1.01, 16MB RAM
amrd0: MegaRAID logical drive on amr0
amrd0: 19068MB (39051264 sectors) RAID 1 (optimal)
amrd1: MegaRAID logical drive on amr0
amrd1: 114428MB (234348544 sectors) RAID 1 (optimal)
Mounting root from ufs:/dev/amrd0s1a

For performance, naturally each disk is an IDE master on its own IDE
cable.

I'd like to get another disk or two and use them as hot spares so if
one of the existing drives goes bad the amr controller can just
rebuild the data on the spare.  Can such a spare run as the IDE
channel slave without impacting performance of the master? My thinking
is that the controller should send no data to the slave unless the
master dies so it shouldn't slow the master (and hence the RAID
volume) but I don't know enough about how this hardware works.


Any info would be most helpful. Thanks.

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



Re: maxusers and random system freezes

2002-12-06 Thread David Schultz
Thus spake Varshavchick Alexander [EMAIL PROTECTED]:
 On Fri, 6 Dec 2002, David Schultz wrote:
 
  Thus spake Varshavchick Alexander [EMAIL PROTECTED]:
   Well, now I made KVA space 2G, we'll see later on if it helps to get rid
   of the sudden system halts, but for some reason a side-effect has
   appeared: pthread_create function returns EAGAIN error now, so I had to
   recompile the software using it with linux threads to make it working.
   With the old kernel these pieces worked without problems. Can it be that
   somehow the enlarged KVA space messed up with the threads mechanism?
 
  I'm not a pthreads expert, but my best guess is that your program
  tried to create a thread with a stack address that was too high.
  Remember that with a 2 GB KVA, user processes have only 2 GB to
  play with instead of 3 GB, so attempting to mmap() a stack above
  about 2 GB would cause pthread_create() to return EAGAIN.
 
 
 Yes this makes sense, however this call to pthread_create didn't specify
 any special addresses for the new thread. The pthread_create was called
 with the NULL attribute which means that the system defaults were being
 used. Something in the system has gone wrong...

I just glanced at the source in -STABLE, and it appears to be a
pthreads bug.  (Then again, maybe I'm missing something, since
nobody seems to have noticed this before.)  The default address at
which new thread stacks are created is just below the main stack.
This address is based on the lexical constant USRSTACK, but it
should be initialized in uthread_init() based on the kern.usrstack
value returned by sysctl.  (The correct value is already used to
map the main stack's red zone.)  The result is that you need to
make world and recompile any apps statically linked against
pthreads after building your new kernel in order to get things to
work.

I don't have time to fiddle with pthreads until after Christmas,
but you might see if the following patch (against -STABLE) helps
when you reduce the configured KVA size without remaking pthreads.

Index: uthread/uthread_init.c
===
RCS file: /home/ncvs/src/lib/libc_r/uthread/uthread_init.c,v
retrieving revision 1.23.2.10
diff -u -r1.23.2.10 uthread_init.c
--- uthread/uthread_init.c  2002/10/22 14:44:03 1.23.2.10
+++ uthread/uthread_init.c  2002/12/06 13:41:06
@@ -245,6 +245,8 @@
len = sizeof (int);
if (sysctl(mib, 2, _usrstack, len, NULL, 0) == -1)
_usrstack = (void *)USRSTACK;
+   _next_stack = _usrstack - PTHREAD_STACK_INITIAL -
+   PTHREAD_STACK_DEFAULT - (2 * PTHREAD_STACK_GUARD);
/*
 * Create a red zone below the main stack.  All other stacks are
 * constrained to a maximum size by the paramters passed to

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



Re: maxusers and random system freezes

2002-12-06 Thread Varshavchick Alexander
On Fri, 6 Dec 2002, David Schultz wrote:

...
  Yes this makes sense, however this call to pthread_create didn't specify
  any special addresses for the new thread. The pthread_create was called
  with the NULL attribute which means that the system defaults were being
  used. Something in the system has gone wrong...

 I just glanced at the source in -STABLE, and it appears to be a
 pthreads bug.  (Then again, maybe I'm missing something, since
 nobody seems to have noticed this before.)  The default address at
 which new thread stacks are created is just below the main stack.
 This address is based on the lexical constant USRSTACK, but it
 should be initialized in uthread_init() based on the kern.usrstack
 value returned by sysctl.  (The correct value is already used to
 map the main stack's red zone.)  The result is that you need to
 make world and recompile any apps statically linked against
 pthreads after building your new kernel in order to get things to
 work.

 I don't have time to fiddle with pthreads until after Christmas,
 but you might see if the following patch (against -STABLE) helps
 when you reduce the configured KVA size without remaking pthreads.

...

The patch which you've suggested seems to be logical enough, yet I too
cannot understand why nobody got stuck into this thing before. It means
that no one in the world ever changed KVA space and used pthreads then,
however real life can often be more rich than we think about it.

Thank you alot, now I can estimate how this issue can influence the
server, there can be nothing worse than some unknown thing which you know
is living and messing things up. Now I know which software can be victim
to it and what can be considered to be safe. I don't have much opportunity
of fiddling with this production server, but if this issue arise again
your patch will be handy.

BTW will you not be sending it as a bug report with a patch already ready?


Alexander Varshavchick, Metrocom Joint Stock Company
Phone: (812)118-3322, 118-3115(fax)




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



PHP install

2002-12-06 Thread Andrew Rench
Does anyone know where I can find some documentation on installing PHP 4.2.3 on 
FreeBSD 4.4?

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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



Re: Anyone seen a fire server?

2002-12-06 Thread Kirk Strauser

At 2002-12-06T03:06:06Z, david [EMAIL PROTECTED] writes:

 On Thursday 05 December 2002 10:38, Kirk Strauser wrote:

 Out of curiosity, why would you *want* to pull drives from the fileserver
 and put them in a different server/workstation?

 To share the files of course!

How silly of me!  :)
-- 
Kirk Strauser
In Googlis non est, ergo non est.

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



RE: PHP install

2002-12-06 Thread Barry Byrne

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Andrew Rench

 Does anyone know where I can find some documentation on
 installing PHP 4.2.3 on FreeBSD 4.4?

The INSTALL file that comes with the distribution is pretty comprehensive. I
recommend going the DSO route, rather than a static build. Alternatively, if
you like using the FreeBSD ports, CD the appropriate directory and: make
install.

 - Barry


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



clarification of man dump

2002-12-06 Thread Joan Picanyol i Puig
Hi,

I have some trouble understanding the last part of 'man dump', from An
efficient method of My understanding is that the example means:

1. Take a level 0 dump once a month
2. Take a level 1 dump once a week
3. Take a level 3 dump on mondays, a level 2 on tuesdays, a level 5 on
wednesdays and so on until a level 9 on sundays.

Am I missing something? What's so efficient from doing it this way
(why)?

tks
-- 
pica

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



Re: PHP install

2002-12-06 Thread Kevin D. Kinsey, DaleCo, S.P.
From: Barry Byrne [EMAIL PROTECTED]
To: Andrew Rench [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Friday, December 06, 2002 9:44 AM
Subject: RE: PHP install


  Does anyone know where I can find some documentation on
  installing PHP 4.2.3 on FreeBSD 4.4?

 The INSTALL file that comes with the distribution is pretty
comprehensive. I
 recommend going the DSO route, rather than a static build.
Alternatively, if
 you like using the FreeBSD ports, CD the appropriate directory and:
make
 install.

  - Barry

Second that.  If you do desire a php-binary-executable instead of
just a DSO, the instructions in the php manual at php.net were
invaluable
to me.  But I'm sold on mod_php now

$cd /usr/ports/www/mod_php4
$make install
cleansee?

Kevin Kinsey
DaleCo, S.P.


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



Gnome 2 not starting window manager after crash.

2002-12-06 Thread Nelis Lamprecht
Hi People,

I was playing around with Glimmer when it froze and basically I couldn't do 
anything in X but log in remotely and kill the process that just happened 
to be Sawfish. Strangely now when ever I start Gnome 2 it doesn't start 
with Sawfish anymore. If I run it from the command prompt in Gnome it works 
fine. How can I get Gnome 2 to start Sawfish Window Manager on startup again ?

Thanks.

Nelis


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


Re: Anyone seen a fire server?

2002-12-06 Thread Jerry McAllister
 
 On Thursday 05 December 2002 10:38, Kirk Strauser wrote:
  At 2002-12-05T04:13:45Z, Lord Raiden [EMAIL PROTECTED] writes:
 [snip]
  Out of curiosity, why would you *want* to pull drives
  from the fileserver and put them in a different server/workstation?
 
 To share the files of course!

Wouldn't something like NFS serve you better for that?

jerry


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



Re: Xntpd running on a host with jails

2002-12-06 Thread Matthew Seaman
On Fri, Dec 06, 2002 at 03:55:19PM +0100, Didier Wiroth wrote:

 I'm running xntpd on a host which has jails! I saw that ntpd listens on
 all ip addresses even the jails ip addresses! How can I force xntp to
 listen only at a specific ip address?

Errr... To the best of my knowledge, you can't.  There's no documented
capability in the ntp.conf file to tell ntpd to bind to a particular
interface, and as far as I can tell from reading the source, there's
just no way to do that.

However, think about it.  You couldn't run several copies of ntpd
simultaneously on one physical machine --- makes no sense, even if the
ntpd's are running in separate jails.  The machine's clock can only be
set to one time.  As ntpd is going to be the only serious contender to
use UDP port 123, it really doesn't matter if the ntpd on the host
system blocks port 123 on the jails.

If you're worried about security, use the built in mechanisms provided
by ntpd --- the best strategy is to use the 'restrict' mechanism to
set a default policy to ignore everything, and then open up the
minimum amount of access required to make the service work. Eg.

restrict default ignore # Everyone can go away ...
restrict 127.0.0.1  # except me ...
restrict 192.168.0.0 mask 255.255.255.0 # or the local net.

server 123.45.67.89 # A remote NTP server
restrict 123.45.67.89 nomodify  # Can send us a timestamp,
# but can't modify our
# configuration.

If you are using your machine to provide NTP service to a network of
clients or peering several machines together for resilience, create an
ntp.keys(5) file and copy it to each of your machines --- the M type
key format is probably the best, but you may need to use the A type to
support older servers.  Prefer the clients and local servers to use
the key-based auth mechanism to operate --- if you want to broadcast
or multicast a time signal to a whole network, this will be required.

Use IPFW or IPF to restrict access to the local port 123.  A useful
feature of NTP is that it uses port 123 at *both* ends of the
connection, although if your client is behind a NAT gateway it may
appear to use a random high numbered port on the client end.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
  Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK

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



Re: Gnome 2 not starting window manager after crash.

2002-12-06 Thread Joe Marcus Clarke
On Fri, 2002-12-06 at 11:05, Nelis Lamprecht wrote:
 Hi People,
 
 I was playing around with Glimmer when it froze and basically I couldn't do 
 anything in X but log in remotely and kill the process that just happened 
 to be Sawfish. Strangely now when ever I start Gnome 2 it doesn't start 
 with Sawfish anymore. If I run it from the command prompt in Gnome it works 
 fine. How can I get Gnome 2 to start Sawfish Window Manager on startup again ?

You can kill off your existing window manager, then run sawfish.  Then,
set things up just like you want them, and logout.  When logging out,
click the Save Session checkbox, and you'll be set.

Joe

 
 Thanks.
 
 Nelis
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
-- 
PGP Key : http://www.marcuscom.com/pgp.asc



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


Re: clarification of man dump

2002-12-06 Thread Matthew Seaman
On Fri, Dec 06, 2002 at 04:47:39PM +0100, Joan Picanyol i Puig wrote:
 Hi,
 
 I have some trouble understanding the last part of 'man dump', from An
 efficient method of My understanding is that the example means:
 
 1. Take a level 0 dump once a month
 2. Take a level 1 dump once a week
 3. Take a level 3 dump on mondays, a level 2 on tuesdays, a level 5 on
 wednesdays and so on until a level 9 on sundays.
 
 Am I missing something? What's so efficient from doing it this way
 (why)?

It's a compromise between minimising the number of tapes required to
restore the system to the state it was in on any particular date ---
clearly just taking a level 0 dump every day means you only have to
restore from one tape set --- and getting the most data possible onto
a limited number of backup tapes --- best economy is achieved by doing
a full level 0 backup once, and then each day just doing an
incremental backup of what changed since the previous day: however
leave too long between level 0 dumps and you're likely going to have a
real chore wading through a mountain of tapes to get back to any
particular state.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
  Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK

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



Working IPFW + REDIRECT_PORT + NATD Solution

2002-12-06 Thread G D McKee
Hi

I have posted several messages regarding getting outside nic ports
translated to internal server.  Does anyone have a working solution?

Gordon



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



APC 350AV

2002-12-06 Thread J. Seth Henry
Mark,
I saw your post on freebsd-questions, and I should point out that you can
get the RJ45 - DB9 adapter for free from APC. It took about two months
for some reason, but you might be able to speed that along if you give
them a call. You should have gotten a card with the unit, which entitles
you to a free cable (I did).

Unfortunately, I haven't used the cable yet - so I don't know how it works
with existing software. I went ahead and took the plunge and got a
SmartUPS 750XL, replacing separate UPS' for my server and network gear.
The 350 was moved to support a windows box, which uses USB.

The 350AV isn't a true dumb UPS, as it can send status information via
USB (battery capacity) - so it's possible that the serial adapter will
provide something between basic signalling and a true smart interface.
I'll have to check this out sometime - might be interesting.

Good luck,
Seth Henry


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



Re: clarification of man dump

2002-12-06 Thread Jerry McAllister
 
 Hi,
 
 I have some trouble understanding the last part of 'man dump', from An
 efficient method of My understanding is that the example means:
 
 1. Take a level 0 dump once a month
 2. Take a level 1 dump once a week
 3. Take a level 3 dump on mondays, a level 2 on tuesdays, a level 5 on
 wednesdays and so on until a level 9 on sundays.
 
 Am I missing something? What's so efficient from doing it this way
 (why)?

It really depends on your needs.   

Basically, a leval 0 dumps everything.
A level '1' dumps everything that has changed since a level '0' dump
A level '2' dumps everything that has changed since a level '1' or '0' dump.
A level '3' dumps everything that has changed since a level '2' or lower
dump, etc.   This is modified by nodump flags and maybe some other things,
but that is the general pattern.

So, if you do a level '0' once per month then you start fresh, so to
speak, every month.  Then if you do a level '1' each week you can
get everything restored from just one monthly  and one weekly dump,
except anything that has changed since the last weekly dump, etc.

Then for the rest of the days you have to juggle the remain dump levels.
It used to be systems only recognized up to level '5' so that added to
the complexity.

The complicated pattern they give which will tend to reduce the total 
number of tapes you have to write for your dumps or read back in case 
of a restore.

That was all thought up when tapes didn't hold very much and neither
did disks.  First of all, people had to keep as little as possible online 
and so they were always moving things off and on disk from some other 
storage.  So, the online data pool changed a lot every day.  Because
tapes were small, dumps could take a lot of them.Because a lot 
changed often - not only new data, but stuff that had been pushed off 
and on.

Not only full dumps, but change dumps (levels 1 thru whatever) would
take a lot of tapes.  It was not uncommon for a full dump to take
say 40 to 100 tapes and a change dump to take 20 or 60 tapes and that
would be on a fairly ordinary system.  Really big ones were awful.

When there was a failure one had to go back to the last full dump and
then through whatever series of change dumps were needed to get the
full latest stuff restored.So, if a dump set repeatedly dumped
certain files (doing a level '0' monthly and then '1' daily for example)
you could end up using a lot more tapes than necessary.   But, if you
did a higher level each day, you quickly run out of levels and may
also have a lot of tapes with only a little bit on them.  So, they
tried to come up with a pattern of tape use that was most efficient.

But, now days, people have giant disks and leave most things online
all the time.  The vast majority of it doesn't change.   Plus tapes 
are relatively huge too, so a full dump may take as little as one tape 
on a smaller system and maybe only ten or twenty on a bigger system 
(ignoring the problem of those huge huge databases for now).  Change 
dumps (level '1' or higher) generally take only one or maybe two tapes
except for some either very big or very busy systems.   So, the needs 
have changed and what efficiency means has also changed.  

Our main systems do a full dump once per week and use just one single
higher level (eg level '1') each day in between, ignoring level '2', '3',
etc.   That means a lot of files that have changed only once get redumped 
each day, but the change dump all fits on one or two tapes, so who cares.   
It is less complicated and easier than managing all those interacting levels. 

Actually, for some of my machines that are just used lightly - not so much 
change going on, I just do a weekly level 0 dump and don't even bother
with the daily change dumps.   

By now you probably have all this figured out anyway, but that is
some general perspective.   Probably others know the arithmetic of
how they decided the pattern better than me, but,...

jerry

 
 tks
 -- 
 pica
 

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



Re: ATA errors

2002-12-06 Thread Darren Pilgrim
Thomas T. Veldhouse wrote:

Can anybody explain what has happened here?  My machine seems to be
functioning normally.

ad0: READ command timeout tag=0 serv=0 - resetting
ata0: resetting devices .. ata0-slave: ATA identify retries exceeded
done


This is almost always the sign of a bad cable, but it can also be the 
logic board on the drive dying (though much rarer).  Check your cables. 
 Better yet, go to your local hardware store and buy a new ATA/100-spec 
cable, flat, not rounded, preferably with pull-loops.



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


Re: system wide config for spamassassin

2002-12-06 Thread Joe Marcus Clarke
On Thu, 2002-12-05 at 16:57, Andy Knapp wrote:
 On Tue, 3 Dec 2002 09:36:56 +
 Matthew Seaman [EMAIL PROTECTED] wrote:
 
  On Tue, Dec 03, 2002 at 01:47:57PM +0500, Ilia Chipitsine wrote:
  
   I couldn't figure out from supplied documentation what is default name
   for system wide config file of spamassassin ?
  
  Start with:
  
  /etc/mail/spamassassin/local.cf
  
  but see Mail::SpamAssassin::Conf --- just about anything matching:
  
  /usr/local/share/spamassassin/*.cf
  /etc/mail/spamassassin/*.cf
  
  will be read in by spamassassin.
  
  Cheers,
  
  Matthew
  
  -- 
  Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
Savill Way
Marlow
  Tel: +44 1628 476614  Bucks., SL7 1TH UK
  
  To Unsubscribe: send mail to [EMAIL PROTECTED]
  with unsubscribe freebsd-questions in the body of the message
 
 In my situation, I use spamd instead of spamassassin to cut down on system resources 
(we have many users using spamassassin). I found that spamd doesn't read the 
/etc/mail/spamassassin/local.cf file...but when I put the file into 
/usr/local/share/spamassassin everything gets taken from it. Seems quite odd. Anyone 
have any ideas?

Actually, I need to put mine in /usr/local/etc/mail/spamassassin for it
to be read.  This is defined near the top of the spamd script.

my $LOCAL_RULES_DIR = '/usr/local/etc/mail/spamassassin'; 

Joe

 
 -Andy
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
-- 
PGP Key : http://www.marcuscom.com/pgp.asc



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


Mail Question

2002-12-06 Thread Chris Collins
Hello

I have a very simple question that I cannot seem to find a simple 
answer for.

I would like to have all SMTP delivered mail to (Box A)relayed to a 
external mail server (Box B) for delivery then have the mail delivered 
to its destination.


User A send mail   10.0.0.10(smtp Box A)   relay to 216.X.X.X 
(external server Box B) for delivery  to destination host.

Is there any simple way to do this? I am not sure how to relay the mail 
from box A to Box B

I am running 4.7 with the default sendmail install.

Thanks
Chris


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


Re: Mail Question

2002-12-06 Thread Brian
If he wants mail for ALL domains forwarded, why not just edit the smart host
line in sendmail.cf and restart sendmail?

Bri

- Original Message -
From: Matthew Seaman [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, December 06, 2002 8:48 AM
Subject: Re: Mail Question


 On Fri, Dec 06, 2002 at 11:30:34AM -0500, Chris Collins wrote:

  I have a very simple question that I cannot seem to find a simple
  answer for.
 
  I would like to have all SMTP delivered mail to (Box A)relayed to a
  external mail server (Box B) for delivery then have the mail delivered
  to its destination.
 
 
  User A send mail   10.0.0.10(smtp Box A)   relay to 216.X.X.X
  (external server Box B) for delivery  to destination host.
 
  Is there any simple way to do this? I am not sure how to relay the mail
  from box A to Box B

 Define box B as the smart host in box A's /etc/mail/`hostname`.mc:

 define(`SMART_HOST', `boxb.your.dom.ain')

 If `hostname`.mc doesn't exist, typing 'make' in /etc/mail will
 generate a default version.  After editing that file, simply:

 cd /etc/mail
 make install restart-mta

 to generate the modified sendmail.cf and load it into the sendmail MTA
 process.

 Simple enough for you?

 Cheers,

 Matthew

 --
 Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
   Savill Way
   Marlow
 Tel: +44 1628 476614  Bucks., SL7 1TH UK

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



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



Re: Mail Question

2002-12-06 Thread Matthew Seaman
I wrote:
 Define box B as the smart host in box A's /etc/mail/`hostname`.mc:

 define(`SMART_HOST', `boxb.your.dom.ain')

On Fri, Dec 06, 2002 at 08:54:29AM -0800, Brian wrote:
 If he wants mail for ALL domains forwarded, why not just edit the smart host
 line in sendmail.cf and restart sendmail?

Same difference. Sure, he could do that, but it's usually a good idea
to have sendmail.cf correspond to what's in the `hostname`.mc file.
For instance, you could quite easily mysteriously lose your edited
sendmail.cf by over-eager mergemaster-ing...

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
  Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK

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



Re: Mail Question

2002-12-06 Thread Matthew Seaman
On Fri, Dec 06, 2002 at 11:30:34AM -0500, Chris Collins wrote:

 I have a very simple question that I cannot seem to find a simple 
 answer for.
 
 I would like to have all SMTP delivered mail to (Box A)relayed to a 
 external mail server (Box B) for delivery then have the mail delivered 
 to its destination.
 
 
 User A send mail   10.0.0.10(smtp Box A)   relay to 216.X.X.X 
 (external server Box B) for delivery  to destination host.
 
 Is there any simple way to do this? I am not sure how to relay the mail 
 from box A to Box B

Define box B as the smart host in box A's /etc/mail/`hostname`.mc:

define(`SMART_HOST', `boxb.your.dom.ain')

If `hostname`.mc doesn't exist, typing 'make' in /etc/mail will
generate a default version.  After editing that file, simply:

cd /etc/mail
make install restart-mta

to generate the modified sendmail.cf and load it into the sendmail MTA
process.

Simple enough for you?

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
  Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK

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



Re: Q: FreeBSD 4.6.* on Intel D845EBT MB (Promise PDC2067 IDE RAID)

2002-12-06 Thread Christopher Schulte
At 05:36 PM 9/14/2002 +0300, Andrew Stesin wrote:

Hello people,

Anyone tried FreeBSD 4.6.* on Intel D845EBT motherboard?

Especially interesting is how an onboard Promise PDC2067 IDE RAID
controller works with FreeBSD - or better to say, does it work at all?
What are the caveates with it, if any? How RAID configuration works?


I had the same question (on 4.7) regarding the pdc20267.  There were no
formal replies, so I asked Andrew privately.  His response is below, printed
with permission, in case others search the archives for this answer:

Thanks Andrew.

--reply start--

Hi Christopher,

I got a bunch of replies via private email (people think that it's so
obvious that doesn't worth any further public discussion).

Everyone says that yes it works perfectly.

Unfortunately, I personally wasn't able to test this, because my plans to
buy this exact board changed with an appearance of new 845 chipset (533
MHz FSB, DDR 333 etc.) and I got a modern one without RAID (now I'm a
happy user of vinum (1)).

Regards,
Andrew

--reply end--

--
Christopher Schulte
http://www.schulte.org/
Do not un-munge my @nospam.schulte.org
email address.  This address is valid. 


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


Re: ATA errors

2002-12-06 Thread Kevin Oberman
 Date: Fri, 06 Dec 2002 09:34:09 -0800
 From: Darren Pilgrim [EMAIL PROTECTED]
 Sender: [EMAIL PROTECTED]
 
 Thomas T. Veldhouse wrote:
  Can anybody explain what has happened here?  My machine seems to be
  functioning normally.
  
  ad0: READ command timeout tag=0 serv=0 - resetting
  ata0: resetting devices .. ata0-slave: ATA identify retries exceeded
  done
 
 This is almost always the sign of a bad cable, but it can also be the 
 logic board on the drive dying (though much rarer).  Check your cables. 
   Better yet, go to your local hardware store and buy a new ATA/100-spec 
 cable, flat, not rounded, preferably with pull-loops.

One other common source is a damaged CD. Hit that one twice last
weekend and I was convinced that something was broken. Then I tried
reading on a Windows system and it failed, too. :-(

R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]  Phone: +1 510 486-8634

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



Re: APC 350AV

2002-12-06 Thread Mark
- Original Message -
From: J. Seth Henry [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, December 06, 2002 5:59 PM
Subject: APC 350AV

 Mark,
 I saw your post on freebsd-questions, and I should point out that you can
 get the RJ45 - DB9 adapter for free from APC. It took about two months
 for some reason, but you might be able to speed that along if you give
 them a call. You should have gotten a card with the unit, which entitles
 you to a free cable (I did).

 Unfortunately, I haven't used the cable yet - so I don't know how it works
 with existing software. I went ahead and took the plunge and got a
 SmartUPS 750XL, replacing separate UPS' for my server and network gear.
 The 350 was moved to support a windows box, which uses USB.

 The 350AV isn't a true dumb UPS, as it can send status information via
 USB (battery capacity) - so it's possible that the serial adapter will
 provide something between basic signalling and a true smart interface.
 I'll have to check this out sometime - might be interesting.

 Good luck,
 Seth Henry


Thanks for your attentiveness. :)

I did indeed give APC a call. I explained to them that the USB cable that
came with it does me no good on FreeBSD, and they said they would send me a
free cable, no problem. :) Their help-desk is located in Ireland; so that
might have accounted for the delay in shipping, in your case; but since I am
in the Netherlands, I hope it will be a matter of days. All-in-all, I was
pretty impressed with their cooperation. Though I think it were better if
they just shipped their units off with serial cables to begin with. But in a
Windoze world, USB is to be expected.

The UPS does not really need to be smart, as far as I am concerned. All I
want is for apcupsd to invoke a regular shutdown in case of a power-outage
that takes longer than, say, a minute (my idea is: if the power is not back
on after one minute, it will likely not be on within the next ten minutes,
either).

P.S. I believe the apcupsd manual calls the 350AV a SubSmart device; which
would be what you say: it can do basic signaling, and a bit extra.

Thanks!

- Mark


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



Xwindow configuration

2002-12-06 Thread Alvaro Rosales R.
Hi fellows I've been using FreeBSD for a While now , but I have never 
used the GUI, I have never installed it , brecause I have always used 
freebsd as a server, and I have never needed the GUI , now I want to 
install FreeBSD as a workstation , to make my users replace their 
windows wks. I have a PIII computer with a SIS5595 video card, but it 
seems that FreeBSD doent have the driver , where can I get it? CAn 
you gimme some tips on installing it? .
Thanks in advance

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



Administering a large number of freebsd machines

2002-12-06 Thread BigBrother (BigB3)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1




(I sent this email to freebsd-security but it never appeared on the
list, nor it returned back-very strange for freebsd-security;does freebsd
security has any problem?)






I have a small question. When I was administering one freebsd box the
things were quite easily. I could easily read the emails that were sent to
root, the logcheck reports and the tripwire reports.

After administering one box, I was made responsible for other freebsd
boxes...The fact is that now the email reports have been
multiplied. Also making all the neccesary upgrades, monitoring and other
everyday things has been made very time consuming.


My question is...Is there any usefull guide or book of how you can
administer efficiently large number of freebsd boxes in term of security,
upgrades and software deployment? My job is not being a full day system
administrator and thus I have to be involved as low time i administering
the boxes as possible.


Thank you very much in advance for any usefull tip!


- ---
We are being monitored..but there is a solution...
Use PGP for signing and encrypting emails
Download my public key at http://www.us.pgp.net
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE98OpbGe/V3CxAyHoRAmt6AKDGIxyQqPE+R8/TzcAbYisy6VpZvACcDxpU
jwoKbT2q84uRDtc5tPyq1EU=
=rNDW
-END PGP SIGNATURE-


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



Re: ATA errors

2002-12-06 Thread Tenebrae
On Fri, 6 Dec 2002, Darren Pilgrim wrote:

 Thomas T. Veldhouse wrote:
  Can anybody explain what has happened here?  My machine seems to be
  functioning normally.
 
  ad0: READ command timeout tag=0 serv=0 - resetting
  ata0: resetting devices .. ata0-slave: ATA identify retries exceeded
  done

 This is almost always the sign of a bad cable, but it can also be the
 logic board on the drive dying (though much rarer).  Check your cables.
   Better yet, go to your local hardware store and buy a new ATA/100-spec
 cable, flat, not rounded, preferably with pull-loops.

I was getting errors like this recently:

ad1: READ command timeout tag=0 serv=0 - resetting
ata0-slave: timeout waiting to give command=ef s=d0 e=00
ad1: trying fallback to PIO mode
ata0: resetting devices .. done
ad1: READ command timeout tag=0 serv=0 - resetting
ata0: resetting devices .. done

This is from December 2nd.  I got a ton more similar messages in the logs
that day.  The hard drive died that night.
The sad thing is, the drive had been giving the last two lines as warning
messages every now and then for a very long time and I had ignored them.
I did try new cables.
The master drive which was on the same cable didn't have any problems.
BTW, the dead drive is an IBM Deskstar 75GXP (DTLA-307060).  I miss it.  I
wish there was some way to recover it.  30GB of data gone.  Maybe I'll try
putting it in the freezer and drop it into a different machine and see if
I can mount it...

Here's the freaky part about the whole ordeal.
I was trying to access something on that drive on the 2nd when I noticed
it was acting weird (i.e. hanging when I tried to do a directory listing).
That's when I noticed the system was actually locking up and spitting out
the resetting devices messages.  I decided to cut my losses and later that
night I removed the faulty drive from /etc/fstab and tried to unmount it.
I waited a bit and tried to mount it again.  That ended up with a hung
mount process.  I eventually got fed up with not being able to kill that
PID and rebooted the machine remotely.  Big mistake.  My system was down
until I got in the next morning and looked at the console.  The system
booted up, went through the BIOS drive detection, looked for bootable
media in the CD-ROM drive...and then just sat there at the point where it
SHOULD have tried to boot freeBSD.  I can only speculate that the system
was having a moment (or twenty) of silence for the lost hard drive.
Really, I have no logical explanation and would love to hear what
might have happened.
It took actually removing the steaming carcass of the dead hard drive from
the case before the system would boot again.  Now that is weird.

The end result of all this is that that particular error MAY be an
indication that the hard drive is, in fact, a flaky piece of junk that
will fail soon.
To be fair, I have had this hard drive for a year or two, so it's not like
I bought it a couple weeks ago and it's already failing.
Backups.
Do backups.
Backup solutions, no matter how expensive they may seem, are still cheaper
than data recovery companies.  :(
-Tenebrae.
---
The sending of any unsolicited email advertising messages to this domain
may result in the imposition of civil liability against you in accordance
with Cal. Bus.  Prof. Code Section 17538.45.


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



Re: Administering a large number of freebsd machines

2002-12-06 Thread Jens Rehsack
BigBrother (BigB3) wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

(I sent this email to freebsd-security but it never appeared on the
list, nor it returned back-very strange for freebsd-security;does freebsd
security has any problem?)



The question below is not security related. Maybe that's why you didn't 
get an answer.


I have a small question. When I was administering one freebsd box the
things were quite easily. I could easily read the emails that were sent to
root, the logcheck reports and the tripwire reports.


You can also easily sent the messages to a central mail account and read 
them at once.

After administering one box, I was made responsible for other freebsd
boxes...The fact is that now the email reports have been
multiplied. Also making all the neccesary upgrades, monitoring and other
everyday things has been made very time consuming.



My question is...Is there any usefull guide or book of how you can
administer efficiently large number of freebsd boxes in term of security,
upgrades and software deployment? My job is not being a full day system
administrator and thus I have to be involved as low time i administering
the boxes as possible.


Did you read the FreeBSD handbook and the book The complete FreeBSD? 
If not, it's a good start. You can find many things at 
http://www.freebsd.org/docs.html and http://www.freebsdmall.com/ - but I 
do not really understand what are you searching for, so a quick check by 
you may help you to decide :-)

Thank you very much in advance for any usefull tip!


No thanks and good luck,
Jens



- ---
We are being monitored..but there is a solution...
Use PGP for signing and encrypting emails
Download my public key at http://www.us.pgp.net
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE98OpbGe/V3CxAyHoRAmt6AKDGIxyQqPE+R8/TzcAbYisy6VpZvACcDxpU
jwoKbT2q84uRDtc5tPyq1EU=
=rNDW
-END PGP SIGNATURE-


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






--
L i  W W W  i Jens Rehsack
LW W W
L i   W   W W   W   i  nnnLiWing IT-Services
L iW W   W Wi  n  n  g   g
  i W W i  n  n  g   gFriesenstraße 2
  06112 Halle
 g
 g   g
Tel.:  +49 - 3 45 - 5 17 05 91ggg e-Mail: [EMAIL PROTECTED]
Fax:   +49 - 3 45 - 5 17 05 92http://www.liwing.de/



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



gnufpu kernel module

2002-12-06 Thread Jeff Penn
I'm messing around with my kernel, so don't want anyone to waste too
much time researching this.

Does gnufpu.ko replace kernel configuration option GPL_MATH_EMULATE?.

thanks
Jeff

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



Re: ATA errors

2002-12-06 Thread Darren Pilgrim
Tenebrae wrote:

BTW, the dead drive is an IBM Deskstar 75GXP (DTLA-307060).  I miss it.  I
wish there was some way to recover it.  30GB of data gone.  Maybe I'll try
putting it in the freezer and drop it into a different machine and see if
I can mount it...


Funny, I had *exactly* the same thing happen to me with an IBM 
DTLA-307030, also 30GB.  Awesome drive, screaming transfers, even with 
seeking involved.  Then one day it started throwing the same errors you 
mention.  Later that day it died.  Called up IBM, replaced it for the 
cost of me shipping the dead one back.  What hurts is that the 25GB of 
data on it is perfectly fine.  I just don't have any means of getting 
the data off without paying a recovery company, unless someone knows I 
trick I don't.



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


Re: Q: FreeBSD 4.6.* on Intel D845EBT MB (Promise PDC2067 IDERAID)

2002-12-06 Thread Mark
- Original Message -
From: Christopher Schulte [EMAIL PROTECTED]
To: Andrew Stesin [EMAIL PROTECTED]; [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, December 06, 2002 6:40 PM
Subject: Re: Q: FreeBSD 4.6.* on Intel D845EBT MB (Promise PDC2067 IDERAID)

  Especially interesting is how an onboard Promise PDC2067 IDE RAID
  controller works with FreeBSD - or better to say, does it work at all?
  What are the caveates with it, if any? How RAID configuration works?

 I had the same question (on 4.7) regarding the pdc20267. There were no
 formal replies, so I asked Andrew privately. His response is below,
 printed with permission, in case others search the archives for this
 answer:


Mine is not a formal reply either, of course. :) But I can personally vouch
for the proper functionality of the PDC2067 RAID (on 4.7R). It is on my ASUS
A7V333 board, and FreeBSD gave no problems whatsoever. I installed a RAID 1,
and I could readily install and boot from it, and everything has been
running smoothly ever since.

The only problem I have, is that I have not been able yet to figure out a
way to query the status of each individual, physical drive. But that is, of
course, not a controller problem, but a software one. For Windoze they come
with all kinds of cute utilities, but those are sadly absent for UNIX
systems. I am still looking for a proper snmp agent; but, like I said, that
has nothing to do with the functionality of the PDC2067.

Having done a wee research before I bought the board, I saw that Linux had
quite a bit of trouble with it. But FreeBSD handles everything perfectly.

- Mark


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



RE: IPFW Snort

2002-12-06 Thread Brian McCann
That would work for my home setup great, but I don't/can't run NAT on
the box that this must be done on...it's in a Security Lab for RIT,
where students in a class will be hacking into machines other students
set up...and all this machine will be doing is watching everything that
goes on.

Thanks!
--Brian

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of nate
Sent: Friday, December 06, 2002 1:35 AM
To: [EMAIL PROTECTED]
Subject: Re: IPFW  Snort


Brian McCann said:
 Simple question for you all...but it evades me.  I'm trying to setup a

 box that will monitor a network, but be totally invisible to that 
 network, but it needs an IP since it will be using some programs like 
 BigBrother and whatnot.  So...my question is...if I use IPFW to block,

 for example, all ports and effectively totally blocking TCP/IP, will 
 Snort still be able to capture TCP/IP packets?  Has anyone tried/done 
 this?

I reccomend just using 3 NIC interfaces. run 2 of em in bridged mode,
e.g. my home network is protected by a freebsd box running 4 NICs, 1
management(inside internal firewall), NICs 2 and 3 are bridging, NIC 2
is the firewall, NIC 3 is snort, NIC 4 is not being used. this way since
all traffic goes accross 2 interfaces I can run snort on the internal
one so it has no chance of detecting what is dropped on the external
one. then behind that machine I have another machine doing the NAT.

works great.

nate




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


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



RE: Q: FreeBSD 4.6.* on Intel D845EBT MB (Promise PDC2067 IDE RAID)

2002-12-06 Thread Mike Jakubik
I have several FreeBSD machines with onboard Promise and HighPoint ATA RAID
controllers, and they all work perfectly. You should be OK with the Intel
MB.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Christopher
Schulte
Sent: Friday, December 06, 2002 12:41 PM
To: Andrew Stesin; [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: Q: FreeBSD 4.6.* on Intel D845EBT MB (Promise PDC2067 IDE
RAID)


At 05:36 PM 9/14/2002 +0300, Andrew Stesin wrote:
Hello people,

Anyone tried FreeBSD 4.6.* on Intel D845EBT motherboard?

Especially interesting is how an onboard Promise PDC2067 IDE RAID
controller works with FreeBSD - or better to say, does it work at all?
What are the caveates with it, if any? How RAID configuration works?

I had the same question (on 4.7) regarding the pdc20267.  There were no
formal replies, so I asked Andrew privately.  His response is below, printed
with permission, in case others search the archives for this answer:

Thanks Andrew.

--reply start--
Hi Christopher,

I got a bunch of replies via private email (people think that it's so
obvious that doesn't worth any further public discussion).

Everyone says that yes it works perfectly.

Unfortunately, I personally wasn't able to test this, because my plans to
buy this exact board changed with an appearance of new 845 chipset (533
MHz FSB, DDR 333 etc.) and I got a modern one without RAID (now I'm a
happy user of vinum (1)).

Regards,
Andrew
--reply end--

--
Christopher Schulte
http://www.schulte.org/
Do not un-munge my @nospam.schulte.org
email address.  This address is valid.


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


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



Re: Mail Question

2002-12-06 Thread Chris Collins
 define(`SMART_HOST', `boxb.your.dom.ain')   WORKED great..

Thanks to everybody that responded.

Chris
On Friday, December 6, 2002, at 11:48  AM, Matthew Seaman wrote:


 define(`SMART_HOST', `boxb.your.dom.ain')



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



help

2002-12-06 Thread Karshi
I having a difficulty to install Matlab6.x on FreeBSD.
Is there any docs/help on this issue?
Thanks

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



Re: help

2002-12-06 Thread Brian
In previous versions, it required linux compatibility to be installed to
work, got that setup?

Brian


On Fri, 6 Dec 2002, Karshi wrote:

 I having a difficulty to install Matlab6.x on FreeBSD.
 Is there any docs/help on this issue?
 Thanks

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


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



Re: help

2002-12-06 Thread Brian
a little more research shows no OFFICIAL FreeBSD support, as expected.
Assuming you are in an academic environment up there, there must be
someone that knows.

Bri


On Fri, 6 Dec 2002, Brian wrote:

 In previous versions, it required linux compatibility to be installed to
 work, got that setup?

   Brian


 On Fri, 6 Dec 2002, Karshi wrote:

  I having a difficulty to install Matlab6.x on FreeBSD.
  Is there any docs/help on this issue?
  Thanks
 
  To Unsubscribe: send mail to [EMAIL PROTECTED]
  with unsubscribe freebsd-questions in the body of the message
 

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


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



can't open /dev/ad7s1e: Device not configured

2002-12-06 Thread Bill McMilleon

I am not a FreeBSD expert by any means, but I amd getting this
unfortunate error with a Maxtor 160g ATA/133 drive I have hooked
up to a Promise Ultra 133 controller.  The system was fine and
ran on FreeBSD 4.6.2 RELEASE, and I tried moving the controller and
drive over to another box after installing 4.7 RELEASE on it.

I did nothing to the drive through software.

I could not see the drive on the 4.7 system.

I moved it back to the 4.6.2 box and this is the error I'm getting
and I'm dumped into the single-user shell.

Can anyone help me recover?  This is a full drive with some very
precious contents.

Thanks,
Bill McMilleon
[EMAIL PROTECTED]


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



Re: help

2002-12-06 Thread Brian
a port named scilab claims to have a lot of its functionality, you may
want to scope that as well.

Bri


On Fri, 6 Dec 2002, Brian wrote:

 a little more research shows no OFFICIAL FreeBSD support, as expected.
 Assuming you are in an academic environment up there, there must be
 someone that knows.

   Bri


 On Fri, 6 Dec 2002, Brian wrote:

  In previous versions, it required linux compatibility to be installed to
  work, got that setup?
 
  Brian
 
 
  On Fri, 6 Dec 2002, Karshi wrote:
 
   I having a difficulty to install Matlab6.x on FreeBSD.
   Is there any docs/help on this issue?
   Thanks
  
   To Unsubscribe: send mail to [EMAIL PROTECTED]
   with unsubscribe freebsd-questions in the body of the message
  
 
  To Unsubscribe: send mail to [EMAIL PROTECTED]
  with unsubscribe freebsd-questions in the body of the message
 

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


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



Re: help

2002-12-06 Thread Andrew Brampton
I know its possible, the university I go to has it installed on their
machines, they upgraded last summer I think from Matlab 5.

Other than that I have no idea how to make it work

Andrew
- Original Message -
From: Karshi [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, December 06, 2002 4:36 PM
Subject: help


 I having a difficulty to install Matlab6.x on FreeBSD.
 Is there any docs/help on this issue?
 Thanks

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



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



Xwindow configuration

2002-12-06 Thread Alvaro Rosales R.
Hi fellows I've installed Xfree withouth problems , my mouse deamon works fine ,
 but when the system loads Gnome my mouse goes crazy, I cant control it,
 but in text mode my mouse works fine.Any Ideas?

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



Re: Xwindow configuration

2002-12-06 Thread Kliment Andreev


 Hi fellows I've installed Xfree withouth problems , my mouse deamon works
fine ,
  but when the system loads Gnome my mouse goes crazy, I cant control it,
  but in text mode my mouse works fine.Any Ideas?

Put Auto instead of PS/2 in XFree86Config.



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



buildworld fail

2002-12-06 Thread Steve Bertrand
Hi all,

I have spent a couple weeks in groups, google, handbook and lists for self-help on 
this.  I am trying to buildworld on a 4.6.2 machine to RELENG_4.  The cvsup is 
updating all src and ports and finished successfully.  I reboot to 
kern.securelevel=-1, #rm -rvf /usr/obj and #cd /usr/src  make buildworld.  It fails 
miserably everytime here:

cc -fpic -DPIC -O -pipe  -I. -I/usr/src/lib/libncurses 
-I/usr/src/lib/libncurses/../../contrib/ncurses/ncurses 
-I/usr/src/lib/libncurses/../../contrib/ncurses/include -Wall -DFREEBSD_NATIVE 
-DNDEBUG -DHAVE_CONFIG_H -DTERMIOS  -c 
/usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/alloc_entry.c -o 
alloc_entry.So
cc: Internal compiler error: program cc1 got fatal signal 11
*** Error code 1

Stop in /usr/src/lib/libncurses.
*** Error code 1




There is no real reason for the upgrade, I simply want the experience.  This is my 
first attempt of upgrading an FBSD box, and is strictly a development machine.  I also 
have other production machines that are at 4.5, but can't upgrade them until this one 
is successful.

Tks!

Steve Bertrand

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



Re: buildworld fail

2002-12-06 Thread Kent Stewart
On Friday 06 December 2002 01:02 pm, Steve Bertrand wrote:
 Hi all,

 I have spent a couple weeks in groups, google, handbook and lists
 for self-help on this.  I am trying to buildworld on a 4.6.2
 machine to RELENG_4.  The cvsup is updating all src and ports and
 finished successfully.  I reboot to kern.securelevel=-1, #rm -rvf
 /usr/obj and #cd /usr/src  make buildworld.  It fails miserably
 everytime here:

 cc -fpic -DPIC -O -pipe  -I. -I/usr/src/lib/libncurses
 -I/usr/src/lib/libncurses/../../contrib/ncurses/ncurses
 -I/usr/src/lib/libncurses/../../contrib/ncurses/include -Wall
 -DFREEBSD_NATIVE -DNDEBUG -DHAVE_CONFIG_H -DTERMIOS  -c
 /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/alloc_e
ntry.c -o alloc_entry.So cc: Internal compiler error: program cc1
 got fatal signal 11 *** Error code 1

You have some strange CFLAGS compared to what I always use. For 
example, this has worked for some time now.

cc -O -pipe  -I. -I/usr/src/lib/libncurses 
-I/usr/src/lib/libncurses/../../contrib/ncurses/ncurses -I/u
sr/src/lib/libncurses/../../contrib/ncurses/include -Wall 
-DFREEBSD_NATIVE -DNDEBUG -DHAVE_CONFIG_H -DT
ERMIOS  -c 
/usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/alloc_entry.c 
-o alloc_entry.o


-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html


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



Re: buildworld fail

2002-12-06 Thread Steve Bertrand
Kent:

I see the differences between the compiler commands, but have no idea 
how to change them.  I would like to try your idea.  I have given no 
special flags to make.  What flags would I give to make when making world?

Tks,

Kent Stewart wrote:

On Friday 06 December 2002 01:02 pm, Steve Bertrand wrote:
 

Hi all,

I have spent a couple weeks in groups, google, handbook and lists
for self-help on this.  I am trying to buildworld on a 4.6.2
machine to RELENG_4.  The cvsup is updating all src and ports and
finished successfully.  I reboot to kern.securelevel=-1, #rm -rvf
/usr/obj and #cd /usr/src  make buildworld.  It fails miserably
everytime here:

cc -fpic -DPIC -O -pipe  -I. -I/usr/src/lib/libncurses
-I/usr/src/lib/libncurses/../../contrib/ncurses/ncurses
-I/usr/src/lib/libncurses/../../contrib/ncurses/include -Wall
-DFREEBSD_NATIVE -DNDEBUG -DHAVE_CONFIG_H -DTERMIOS  -c
/usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/alloc_e
ntry.c -o alloc_entry.So cc: Internal compiler error: program cc1
got fatal signal 11 *** Error code 1
   


You have some strange CFLAGS compared to what I always use. For 
example, this has worked for some time now.

cc -O -pipe  -I. -I/usr/src/lib/libncurses 
-I/usr/src/lib/libncurses/../../contrib/ncurses/ncurses -I/u
sr/src/lib/libncurses/../../contrib/ncurses/include -Wall 
-DFREEBSD_NATIVE -DNDEBUG -DHAVE_CONFIG_H -DT
ERMIOS  -c 
/usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/alloc_entry.c 
-o alloc_entry.o


 




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



Re: Does FreeBSD work on Walmart's $199 Microtel box?

2002-12-06 Thread Dirk-Willem van Gulik

On Thu, 5 Dec 2002, Rich Morin wrote:

 A quick web search didn't bring up any answer to this.
 Does anyone here have the definitive word?

The most recent machinine I saw was running what seemed a fairly stock
Debian. So I'd expect you'd have little trouble up to console use; X 
may be compounded by the use of some highly integrated chipset.

Dw


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



Message from syslogd

2002-12-06 Thread Stephen Bader
Anyone know what causes messages like the following?

Message from syslogd@machine at Fri Dec  6 15:40:40 2002 ...
mercury Dec  6 15:40:40httpd: /etc/pwd.db

These are sent to all users loggd into the server. I googled, and found
someone asking the same question, but no one ever responded. Anyone else
seen this before?

-Steve

-
Stephen Bader  JORSM Internet, Regional Internet Services
Systems Administrator  7 Area Codes in Chicagoland and NW Indiana
[EMAIL PROTECTED]   100Mbps+ Connectivity, 56K-DS3, V.90, ISDN
(219) 322-2180 Quality Service, Affordable Prices
http://www.jorsm.com   Serving Gov, Biz, Indivds Since 1995
-




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



Re: buildworld fail

2002-12-06 Thread Kent Stewart
On Friday 06 December 2002 01:38 pm, Steve Bertrand wrote:
 Kent:

 I see the differences between the compiler commands, but have no
 idea how to change them.  I would like to try your idea.  I have
 given no special flags to make.  What flags would I give to make
 when making world?

#CFLAGS= -O -pipe 
#COPTFLAGS= -O -pipe

These are the defaults and so I just commented them out in 
/etc/make.conf.

I would assume you have something defining a cpu or a CFLAGS. I don't 
use either. I have a mix of cpus and have had to NFS mount /usr/src 
and /usr/obj to recover a system before. I don't use cpu or compiler 
options.

Kent

 Tks,

 Kent Stewart wrote:
 On Friday 06 December 2002 01:02 pm, Steve Bertrand wrote:
 Hi all,
 
 I have spent a couple weeks in groups, google, handbook and lists
 for self-help on this.  I am trying to buildworld on a 4.6.2
 machine to RELENG_4.  The cvsup is updating all src and ports and
 finished successfully.  I reboot to kern.securelevel=-1, #rm -rvf
 /usr/obj and #cd /usr/src  make buildworld.  It fails miserably
 everytime here:
 
 cc -fpic -DPIC -O -pipe  -I. -I/usr/src/lib/libncurses
 -I/usr/src/lib/libncurses/../../contrib/ncurses/ncurses
 -I/usr/src/lib/libncurses/../../contrib/ncurses/include -Wall
 -DFREEBSD_NATIVE -DNDEBUG -DHAVE_CONFIG_H -DTERMIOS  -c
 /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/alloc
 _e ntry.c -o alloc_entry.So cc: Internal compiler error: program
  cc1 got fatal signal 11 *** Error code 1
 
 You have some strange CFLAGS compared to what I always use. For
 example, this has worked for some time now.
 
 cc -O -pipe  -I. -I/usr/src/lib/libncurses
 -I/usr/src/lib/libncurses/../../contrib/ncurses/ncurses -I/u
 sr/src/lib/libncurses/../../contrib/ncurses/include -Wall
 -DFREEBSD_NATIVE -DNDEBUG -DHAVE_CONFIG_H -DT
 ERMIOS  -c
 /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/alloc_
 entry.c -o alloc_entry.o

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

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html


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



Re: buildworld fail

2002-12-06 Thread John Mills
Steve -

On Fri, 6 Dec 2002, Steve Bertrand wrote:

 I have spent a couple weeks in groups, google, handbook and lists for
 self-help on this.  I am trying to buildworld on a 4.6.2 machine to
 RELENG_4.  The cvsup is updating all src and ports and finished
 successfully.  I reboot to kern.securelevel=-1, #rm -rvf /usr/obj and
 #cd /usr/src  make buildworld.  It fails miserably everytime here:

 cc -fpic -DPIC -O -pipe -I. -I/usr/src/lib/libncurses
 -I/usr/src/lib/libncurses/../../contrib/ncurses/ncurses
 -I/usr/src/lib/libncurses/../../contrib/ncurses/include -Wall
 -DFREEBSD_NATIVE -DNDEBUG -DHAVE_CONFIG_H -DTERMIOS -c
 /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/alloc_entry.c
 -o alloc_entry.So cc: Internal compiler error: program cc1 got fatal
 signal 11 *** Error code 1
 
 Stop in /usr/src/lib/libncurses.
 *** Error code 1

Welcome to the club. Several folks have hit this self-same error,
including me in trying to upgrade from RELENG_4_5 to _4_6. I didn't find
any reported solutions, either. I am giving up and will make a more recent
set of CDs and do a fresh installation. (I haven't really put any work on
the machine yet, but it is a bit frustrating.)

[I tried going from _4_5 to _4_7, too, but hit some problems in that which
clearly reflected my hardware (amount of memory) and size of my swap
space. If I'm going to use it, I prefer to get the underlying
configuration right first.]

My motiviation is similar to yours, though I have the pretext of wanting a
mail server that I was going to set up with the FreeBSD box.

 - John Mills


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



Re: buildworld fail

2002-12-06 Thread John Mills
Kent -

On Fri, 6 Dec 2002, Kent Stewart wrote:

 On Friday 06 December 2002 01:38 pm, Steve Bertrand wrote:
  Kent:
 
  I see the differences between the compiler commands, but have no
  idea how to change them.  I would like to try your idea.  I have
  given no special flags to make.  What flags would I give to make
  when making world?
 
 #CFLAGS= -O -pipe 
 #COPTFLAGS= -O -pipe
 
 These are the defaults and so I just commented them out in 
 /etc/make.conf.
 
 I would assume you have something defining a cpu or a CFLAGS. I don't 
 use either. I have a mix of cpus and have had to NFS mount /usr/src 
 and /usr/obj to recover a system before. I don't use cpu or compiler 
 options.

Maybe that will get me through the build, too. I'll certainly give it a
shot.

Thanks.

 - John Mills


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



Re: buildworld fail

2002-12-06 Thread Kenzo
This is what I refer to when making world and it never failed.

http://www.techgodz.com/freebsd/docs/


- Original Message -
From: John Mills [EMAIL PROTECTED]
To: Kent Stewart [EMAIL PROTECTED]
Cc: freebsd-questions [EMAIL PROTECTED]
Sent: Friday, December 06, 2002 4:03 PM
Subject: Re: buildworld fail


 Kent -

 On Fri, 6 Dec 2002, Kent Stewart wrote:

  On Friday 06 December 2002 01:38 pm, Steve Bertrand wrote:
   Kent:
  
   I see the differences between the compiler commands, but have no
   idea how to change them.  I would like to try your idea.  I have
   given no special flags to make.  What flags would I give to make
   when making world?
 
  #CFLAGS= -O -pipe
  #COPTFLAGS= -O -pipe
 
  These are the defaults and so I just commented them out in
  /etc/make.conf.
 
  I would assume you have something defining a cpu or a CFLAGS. I don't
  use either. I have a mix of cpus and have had to NFS mount /usr/src
  and /usr/obj to recover a system before. I don't use cpu or compiler
  options.

 Maybe that will get me through the build, too. I'll certainly give it a
 shot.

 Thanks.

  - John Mills


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



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



Re: buildworld fail

2002-12-06 Thread Kent Stewart
On Friday 06 December 2002 02:03 pm, John Mills wrote:
 Kent -

 On Fri, 6 Dec 2002, Kent Stewart wrote:
  On Friday 06 December 2002 01:38 pm, Steve Bertrand wrote:
   Kent:
  
   I see the differences between the compiler commands, but have
   no idea how to change them.  I would like to try your idea.  I
   have given no special flags to make.  What flags would I give
   to make when making world?
 
  #CFLAGS= -O -pipe
  #COPTFLAGS= -O -pipe
 
  These are the defaults and so I just commented them out in
  /etc/make.conf.
 
  I would assume you have something defining a cpu or a CFLAGS. I
  don't use either. I have a mix of cpus and have had to NFS mount
  /usr/src and /usr/obj to recover a system before. I don't use cpu
  or compiler options.

 Maybe that will get me through the build, too. I'll certainly give
 it a shot.

Just remember that a signal 11 in a compile is usually your hardware 
telling you something is wrong. If it dies at the same spot, it can 
be options or whatever. If you use strange options, you have to try 
them first but still remember a signal 11is normally related to 
memory or heating problems.

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html


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



DNS zones to NIS hosts file

2002-12-06 Thread Mike Hogsett

Any suggestions for a DNS zone to NIS hosts file conversion utility?  I
have several domain and several in-addr.arpa zones I would like to
generate a NIS hosts file from.

Thanks

 - Michael Hogsett
 

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



Re: gnufpu kernel module

2002-12-06 Thread Kris Kennaway
On Fri, Dec 06, 2002 at 07:27:14PM +, Jeff Penn wrote:
 I'm messing around with my kernel, so don't want anyone to waste too
 much time researching this.
 
 Does gnufpu.ko replace kernel configuration option GPL_MATH_EMULATE?.

I believe so.

Kris



msg11318/pgp0.pgp
Description: PGP signature


Perl SIGSEGV

2002-12-06 Thread Romain Kang
I'm not into perl internals, but perhaps someone here can point me
in the right direction...

I'm getting a SIGSEGV in the perl that comes with stock 4.6, three
times in the past 10 days.  Looking at the stack trace, it looks
like Perl_safefree is not safe enough.  It looks like I could hack
perl so that the mutex macro around free() and other places could
block signals.  I'm curious what perl gurus have to say about this.
Perhaps this hole is fixed in the latest ports version?

The program that cored perl is a manager for persistent daemons,
so stability is much more important than execution speed.
Architecturally, it's something that started simple but has grown.
At the moment, the main loop is a call to pause(), with various
signals driving its actions.  At some point, this might become a
select() to handle additional requests.  Had I known what I do
today, I might have coded it in C, but it's not worth the pain
yet...

Thanks,
Romain Kang
[EMAIL PROTECTED]


collector% gdb -c perl.93845.core /usr/bin/perl
GNU gdb 4.18 (FreeBSD)
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty for details.
This GDB was configured as i386-unknown-freebsd...(no debugging symbols found)...
Core was generated by `perl'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libperl.so.3...(no debugging symbols found)...done.
Reading symbols from /usr/lib/libm.so.2...(no debugging symbols found)...done.
Reading symbols from /usr/lib/libcrypt.so.2...(no debugging symbols found)...done.
Reading symbols from /usr/lib/libmd.so.2...(no debugging symbols found)...done.
Reading symbols from /usr/lib/libc.so.4...(no debugging symbols found)...done.
Reading symbols from /usr/lib/libutil.so.3...(no debugging symbols found)...done.
Reading symbols from /usr/libdata/perl/5.00503/mach/auto/POSIX/POSIX.so...(no 
debugging symbols found)
...done.
Reading symbols from /usr/libdata/perl/5.00503/mach/auto/Socket/Socket.so...(no 
debugging symbols foun
d)...done.
Reading symbols from /usr/libexec/ld-elf.so.1...(no debugging symbols found)...done.
#0  0x281b2359 in bcopy () from /usr/lib/libc.so.4
(gdb) bt
#0  0x281b2359 in bcopy () from /usr/lib/libc.so.4
#1  0x1c in ?? ()
#2  0x281b2d47 in bcopy () from /usr/lib/libc.so.4
#3  0x281b3d9f in __dtoa () from /usr/lib/libc.so.4
#4  0x281b1b8f in vfprintf () from /usr/lib/libc.so.4
#5  0x281afb30 in vfprintf () from /usr/lib/libc.so.4
#6  0x281a12b6 in sprintf () from /usr/lib/libc.so.4
#7  0x280ab499 in Perl_sv_2pv () from /usr/lib/libperl.so.3
#8  0x280b8af0 in Perl_hv_fetch_ent () from /usr/lib/libperl.so.3
#9  0x280b41ea in Perl_pp_helem () from /usr/lib/libperl.so.3
#10 0x2807f11d in Perl_runops_standard () from /usr/lib/libperl.so.3
#11 0x280e96ad in perl_call_sv () from /usr/lib/libperl.so.3
#12 0x280bea01 in Perl_sighandler () from /usr/lib/libperl.so.3
#13 0xbfbfffac in ?? ()
#14 0x281b67a5 in free () from /usr/lib/libc.so.4
#15 0x280bec2b in Perl_safefree () from /usr/lib/libperl.so.3
#16 0x281ea02c in XS_POSIX__SigSet_DESTROY () from 
/usr/libdata/perl/5.00503/mach/auto/POSIX/POSIX.so
#17 0x280b5ff6 in Perl_pp_entersub () from /usr/lib/libperl.so.3
#18 0x280e9696 in perl_call_sv () from /usr/lib/libperl.so.3
#19 0x280ad9e0 in Perl_sv_clear () from /usr/lib/libperl.so.3
#20 0x280adeb1 in Perl_sv_free () from /usr/lib/libperl.so.3
#21 0x2809ab5b in Perl_free_tmps () from /usr/lib/libperl.so.3
#22 0x280e97dd in perl_call_sv () from /usr/lib/libperl.so.3
#23 0x280bea01 in Perl_sighandler () from /usr/lib/libperl.so.3
#24 0xbfbfffac in ?? ()
#25 0x2816e26a in pause () from /usr/lib/libc.so.4
#26 0x281f8e81 in XS_POSIX_pause () from 
/usr/libdata/perl/5.00503/mach/auto/POSIX/POSIX.so
#27 0x280b5ff6 in Perl_pp_entersub () from /usr/lib/libperl.so.3
#28 0x2807f11d in Perl_runops_standard () from /usr/lib/libperl.so.3
#29 0x280e8ef0 in perl_run () from /usr/lib/libperl.so.3
#30 0x8048e75 in main ()
#31 0x8048d61 in _start ()

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



How to get best results from FreeBSD-questions

2002-12-06 Thread Greg Lehey
How to get the best results from FreeBSD questions.
===

Last update 3 September 1999

This is a regular posting to the FreeBSD questions mailing list.  If
you got it in answer to a message you sent, it means that the sender
thinks that at least one of the following things was wrong with your
message:

- You left out a subject line, or the subject line was not appropriate.
- You formatted it in such a way that it was difficult to read.
- You asked more than one unrelated question in one message.
- You sent out a message with an incorrect date, time or time zone.
- You sent out the same message more than once.
- You sent an 'unsubscribe' message to FreeBSD-questions.

If you have done any of these things, there is a good chance that you
will get more than one copy of this message from different people.
Read on, and your next message will be more successful.

This document is also available on the web at
http://www.lemis.com/questions.html.

=

Contents:

I:Introduction
II:   How to unsubscribe from FreeBSD-questions
III:  Should I ask -questions or -hackers?
IV:   How to submit a question to FreeBSD-questions
V:How to answer a question to FreeBSD-questions

I: Introduction
===

This is a regular posting aimed to help both those seeking advice from
FreeBSD-questions (the newcomers), and also those who answer the
questions (the hackers).

   Note that the term hacker has nothing to do with breaking
   into other people's computers.  The correct term for the latter
   activity is cracker, but the popular press hasn't found out
   yet.  The FreeBSD hackers disapprove strongly of cracking
   security, and have nothing to do with it.

In the past, there has been some friction which stems from the
different viewpoints of the two groups.  The newcomers accused the
hackers of being arrogant, stuck-up, and unhelpful, while the hackers
accused the newcomers of being stupid, unable to read plain English,
and expecting everything to be handed to them on a silver platter.  Of
course, there's an element of truth in both these claims, but for the
most part these viewpoints come from a sense of frustration.

In this document, I'd like to do something to relieve this frustration
and help everybody get better results from FreeBSD-questions.  In the
following section, I recommend how to submit a question; after that,
we'll look at how to answer one.

II:  How to unsubscribe from FreeBSD-questions
==

When you subscribed to FreeBSD-questions, you got a welcome message
from [EMAIL PROTECTED]  In this message, amongst other things, it
told you how to unsubscribe.  Here's a typical message:

  Welcome to the freebsd-questions mailing list!

  If you ever want to remove yourself from this mailing list,
  you can send mail to [EMAIL PROTECTED] with the following command
  in the body of your email message:

  unsubscribe freebsd-questions Greg Lehey [EMAIL PROTECTED]

  Here's the general information for the list you've
  subscribed to, in case you don't already have it:

  FREEBSD-QUESTIONS   User questions
  This is the mailing list for questions about FreeBSD.  You should not
  send how to questions to the technical lists unless you consider the
  question to be pretty technical.

Normally, unsubscribing is even simpler than the message suggests: you
don't need to specify your mail ID unless it is different from the one
which you specified when you subscribed.

If Majordomo replies and tells you (incorrectly) that you're not on
the list, this may mean one of two things:

  1.  You have changed your mail ID since you subscribed.  That's where
  keeping the original message from majordomo comes in handy.  For
  example, the sample message above shows my mail ID as
  [EMAIL PROTECTED]  Since then, I have changed it to
  [EMAIL PROTECTED]  If I were to try to remove [EMAIL PROTECTED] from
  the list, it would fail: I would have to specify the name with
  which I joined.

  2.  You're subscribed to a mailing list which is subscribed to
  FreeBSD-questions.  If that's the case, you'll have to figure out
  which one it is and get your name taken off that one.  If you're
  not sure which one it might be, check the headers of the
  messages you receive from freebsd-questions: maybe there's a
  clue there.

If you've done all this, and you still can't figure out what's going
on, send a message to [EMAIL PROTECTED], and he will sort things
out for you.  Don't send a message to FreeBSD-questions: they can't
help you.

III: Should I ask -questions, -newbies or -hackers?
===

Two mailing lists handle general questions about FreeBSD,
FreeBSD-questions and FreeBSD-hackers.  In addition, the
FreeBSD-newbies list caters specifically for people 

The Complete FreeBSD, second edition: errata and addenda

2002-12-06 Thread Greg Lehey








  Errata and addenda for the Complete FreeBSD, second edition




  Last revision: 21 June 1999

The trouble with books is that you can't update them the way you can a web page
or any other online documentation.   The  result  is  that  most  leading  edge
computer  books are out of date almost before they are printed.  Unfortunately,
``The Complete FreeBSD'', published by Walnut  Creek,  is  no  exception.   In-
evitably, a number of bugs and changes have surfaced.

The  following  is  a list of modifications which go beyond simple typos.  They
relate to the second edition, formatted on 16 December 1997.  If you have  this
book,  please  check this list.  If you have the first edition of 19 July 1996,
please check ftp://ftp.lemis.com/pub/cfbsd/errata-1. This  same  file  is  also
available via the web link http://www.lemis.com/.

This list is available in four forms:

o A PostScript version, suitable for printingout,at
  ftp://ftp.lemis.com/pub/cfbsd/errata-2.ps. See page 222 of the book  to  find
  out  how  to  print  out  PostScript.   If  at all possible, please take this
  document: it's closest to the original text.

  Be careful selecting this file with a web browser: it is often impossible  to
  reload the document, and you may see a previously cached version.

o An enhanced ASCII version at ftp://ftp.lemis.com/pub/cfbsd/errata-2.txt. When
  viewed with more or less,  this  version  will  show  some  highlighting  and
  underlining.  It's not suitable for direct viewing.

o An  ASCII-only  version at ftp://ftp.lemis.com/pub/cfbsd/errata-2.ascii. This
  version is posted every week to the  FreeBSD-questions  mailing  list.   Only
  take  this version if you have real problems with PostScript: I can't be sure
  that the lack of different fonts won't confuse the meaning.

o A web version at http://www.lemis.com/errata-2.html.

All these modifications have been applied to the ongoing  source  text  of  the
book, so if you buy a later edition, they will be in it as well.  If you find a

 Page 1






The Complete FreeBSD


bug or a suspected bug in the book, please contact me at [EMAIL PROTECTED]

General changes
___


o In a number of places, I suggest the use of the  following  command  to  find
  process information:

  $ ps aux | grep foo

  Unfortunately,  ps  is sensitive to the column width of the terminal emulator
  upon which it is working.  This command usually works fine  on  a  relatively
  wide  xterm,  but if you're running on an 80-column terminal, it may truncate
  exactly the information you're looking for, so you end  up  with  no  output.
  You can fix that with the w option:

  $ ps waux | grep foo

  Thanks to Sue Blake [EMAIL PROTECTED] for this information


Location of the sample files


On  the  2.2.5 CD-ROM only, the location of the sample files does not match the
specifications in the book (/book on the first CD-ROM).  The 2.2.5 CD-ROM  came
out before the book, and it contains the files on the third (repository) CD-ROM
as a single gzipped tar file  /xperimnt/cfbsd/cfbsd.tar.gz.   It  contains  the
following files:

drwxr-xr-x jkh/jkh   0 Oct 17 13:01 1997 cfbsd/
drwxr-xr-x jkh/jkh   0 Oct 17 13:01 1997 cfbsd/mutt/
-rw-r--r-- jkh/jkh 352 Oct 15 15:21 1997 cfbsd/mutt/.mail_aliases
-rw-r--r-- jkh/jkh9394 Oct 15 15:22 1997 cfbsd/mutt/.muttrc
drwxr-xr-x jkh/jkh   0 Oct 17 14:02 1997 cfbsd/scripts/
-rw-r--r-- jkh/jkh   18281 Oct 16 16:52 1997 cfbsd/scripts/.fvwm2rc
-rwxr-xr-x jkh/jkh1392 Oct 17 12:54 1997 cfbsd/scripts/install-desktop
-rw-r--r-- jkh/jkh 296 Oct 17 12:35 1997 cfbsd/scripts/.xinitrc
-rwxr-xr-x jkh/jkh 622 Oct 17 13:51 1997 cfbsd/scripts/install-rcfiles
-rw-r--r-- jkh/jkh1133 Oct 17 13:00 1997 cfbsd/scripts/Uutry
-rw-r--r-- jkh/jkh1028 Oct 17 14:02 1997 cfbsd/scripts/README
drwxr-xr-x jkh/jkh   0 Oct 18 19:32 1997 cfbsd/docs/
-rw-r--r-- jkh/jkh  199111 Oct 16 14:29 1997 cfbsd/docs/packages.txt

Page 2






Errata and addenda for the Complete FreeBSD, second edition


-rw-r--r-- jkh/jkh  189333 Oct 16 14:28 1997 cfbsd/docs/packages-by-category.txt
-rw-r--r-- jkh/jkh  188108 Oct 16 14:29 1997 cfbsd/docs/packages.ps
-rw-r--r-- jkh/jkh  226439 Oct 16 14:27 1997 cfbsd/docs/packages-by-category.ps
-rw-r--r-- jkh/jkh 788 Oct 16 15:01 1997 cfbsd/README
-rw-r--r-- jkh/jkh 248 Oct 17 11:52 1997 cfbsd/errata

To  extract  one  of these files, say cfbsd/docs/packages.txt, and assuming you
have the CD-ROM mounted as /cdrom, enter:

# cd /usr/share/doc
# tar xvzf /cdrom/xperimnt/cfbsd/cfbsd.tar.gz cfbsd/docs/packages.txt

See page 209 for more information on using tar.

These files are an early version of what is described in the book.  I'll put up
some updated 

The Complete FreeBSD, third edition: errata and addenda

2002-12-06 Thread Greg Lehey








  Errata and addenda for the Complete FreeBSD, third edition




 Last revision: 2 August 1999

The trouble with books is that you can't update them the way you can a web page
or any other online documentation.   The  result  is  that  most  leading  edge
computer  books are out of date almost before they are printed.  Unfortunately,
``The Complete FreeBSD'', published by Walnut  Creek,  is  no  exception.   In-
evitably, a number of bugs and changes have surfaced.

The  following  is  a list of modifications which go beyond simple typos.  They
relate to the third edition, formatted  on  17  May  1999.   You'll  find  this
information  on  page  iv  (the  page  before  the  beginning  of  the Table of
Contents).  See the end of this document for instructions on how  to  find  the
errata for an older version.

You can get the current document in four forms:

o A PostScript version, suitable for printingout,at
  ftp://ftp.lemis.com/pub/cfbsd/errata-3.ps. See page 302 of the third  edition
  to  find  out  how  to print out PostScript.  If at all possible, please take
  this document: it's closest to the original text.

  Be careful selecting this file with a web browser: it is often impossible  to
  reload the document, and you may see a previously cached version.

o An enhanced ASCII version at ftp://ftp.lemis.com/pub/cfbsd/errata-3.txt. When
  viewed with more or less,  this  version  will  show  some  highlighting  and
  underlining.  It's not suitable for direct viewing.

o An  ASCII-only  version at ftp://ftp.lemis.com/pub/cfbsd/errata-3.ascii. This
  version is posted every week to the  FreeBSD-questions  mailing  list.   Only
  take  this version if you have real problems with PostScript: I can't be sure
  that the lack of different fonts won't confuse the meaning.

o A web version at http://www.lemis.com/errata-3.html.

All these modifications have been applied to the ongoing  source  text  of  the
book, so if you buy a later edition, they will be in it as well.  If you find a

 Page 1






The Complete FreeBSD


bug or a suspected bug in the book, please contact me at [EMAIL PROTECTED]

Page ii
___

The instructions on page ii (opposite the title  page)  tell  you  to  look  at
ftp://ftp.lemis.com/pub/cfbsd/errata-2  for  the  errata  list.   That's wrong.
Look at this list.

Pages 190 and 191
_

The description is not very clear about which text appears  when  booting  from
floppy  for  initial  install,  and  which  appears when booting normally.  The
procedure is very similar, but there are some differences.  Add  the  following
text after the heading Boot messages:

You'll  boot  your system in at least two different ways: initially you'll boot
from floppy or CD-ROM in order to install the system.  Later, after the  system
is  installed,  you'll boot from hard disk.  The procedure is almost identical,
so we'll look at both versions in the following examples.

Replace the text from the middle of page 191 with:

If you're booting from 1.44 MB floppies, you will then see:

Please insert MFS root floppy and press enter:

When you insert the MFS root floppy and press  Enter,  you  see  more  twirling
batons, then the UserConfig screen appears.

UserConfig: Modifying the boot configuration


After  the  kernel has been loaded, the following screen will appear if you are
installing the system, or if you have requested it with the -c  option  to  the
boot loader:

Page 206


The  bottom  two lines on this page should be in bold constant font, indicating
that this is input for your /etc/rc.config file


Page 2






 Errata and addenda for the Complete FreeBSD, third edition


nfs_client_enable=YES   # This host is an NFS client (or NO).
nfs_server_enable=YES   # This host is an NFS server (or NO).


Page 265


The example on the second half of the page refers to the old SCSI driver.   The
scsi  program  is  no  longer  available  in  FreeBSD  3.x.   Instead,  use the
camcontrol program.  Replace the text with:.

Modern disks make provisions for recovering from such errors by  allocating  an
alternate sector for the data.  IDE drives do this automatically, but with SCSI
drives you have the option of enabling or disabling reallocation.   Usually  it
is  turned on when you buy them, but occasionally it is not.  When installing a
new disk, you should check that the parameters  ARRE  (Auto  Read  Reallocation
Enable)  and AWRE (Auto Write Reallocation Enable) are turned on.  For example,
to check and set the values for disk da1, you would enter:

# camcontrol modepage da1 -m 1 -e -P 3
# scsi -f /dev/rda1c -m 1 -e -P 3

This command will start up your favourite editor (either the one  specified  in
the EDITOR environment variable, or vi by default) with the 

blender, libGL.so.14 and libGLU.so.14

2002-12-06 Thread Geury Peralta
I installed blender. all the dependency are installed aswell, yet I am still missing 
libGL.so.14 and libGLU.so.14.  Can any one help?  Running Freeb4.7.

__
Everything you need to do business on the Web...with XO Web Site Hosting.
http://www.xo.com/hosting3

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



Re: Xwindow configuration

2002-12-06 Thread Marco Radzinschi
On Fri, 6 Dec 2002, Alvaro Rosales R. wrote:

 Hi fellows I've installed Xfree withouth problems , my mouse deamon works fine ,
  but when the system loads Gnome my mouse goes crazy, I cant control it,
  but in text mode my mouse works fine.Any Ideas?

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


Use Auto mouse type and MouseMan when you run xf86config.

Marco Radzinschi
E-Mail: [EMAIL PROTECTED]

Fri Dec  6 20:20:27 EST 2002


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



FreeBSD Installation on HP Pavilion ZT1130

2002-12-06 Thread Eduardo Maestri Righes
Hi,

I'm trying to install the FreeBSD 4.7-RELEASE on my HP Pavilion ZT1130
notebook, but there is some problems.

Note: my notebook doesn't have floppy drive.

When a try to boot from my CD drive (actually a Toshiba DVD-ROM SD-R2102
drive), I got the following message:

BTX loader 1.00 BTX version is 1.01
Console: internal video/keyboard
BIOS drive C: is disk0
BIOS 639kB/244672kB available memory

FreeBSD/i386 bootstrap loader, Version 0.8
...
Can't work out which disk we are booting from.
Guessed BIOS device 0x0 not found by probes, defaulting to disk0:
...
Can't load 'kernel'
Can't load 'kernel.old'

I search for any information through search engines on the Internet,
but I can't find anything.

Below, there is some information about my machine.

Thanks in advance and sorry about the long message.

[]'s Eduardo

---//---

HP Pavilion ZT1130 PCI devices (the following info is an output form
lspci -vv from my Slackware Linux installation):

00:00.0 Host bridge: VIA Technologies, Inc. VT8605 [ProSavage PM133]
	Subsystem: Hewlett-Packard Company: Unknown device 0020
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B-
	Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium TAbort- 
TAbort- MAbort+ SERR- PERR-
	Latency: 0
	Region 0: Memory at a000 (32-bit, prefetchable) [size=64M]
	Capabilities: [a0] AGP version 2.0
		Status: RQ=31 SBA+ 64bit- FW- Rate=x1,x2,x4
		Command: RQ=0 SBA- AGP+ 64bit- FW- Rate=x4
	Capabilities: [c0] Power Management version 2
		Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:01.0 PCI bridge: VIA Technologies, Inc. VT8605 [PM133 AGP] (prog-if 
00 [Normal decode])
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B-
	Status: Cap+ 66Mhz+ UDF- FastB2B- ParErr- DEVSEL=medium TAbort- 
TAbort- MAbort+ SERR- PERR-
	Latency: 0
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
	I/O behind bridge: c000-dfff
	Memory behind bridge: e000-efff
	Prefetchable memory behind bridge: 9000-9fff
	BridgeCtl: Parity- SERR- NoISA- VGA+ MAbort- Reset- FastB2B-
	Capabilities: [80] Power Management version 2
		Flags: PMEClk- DSI+ D1+ D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:04.0 CardBus bridge: ENE Technology Inc: Unknown device 1410
	Subsystem: Hewlett-Packard Company: Unknown device 0020
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B-
	Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium TAbort- 
TAbort- MAbort- SERR- PERR-
	Latency: 32
	Interrupt: pin A routed to IRQ 11
	Region 0: Memory at 1000 (32-bit, non-prefetchable) [size=4K]
	Bus: primary=00, secondary=02, subordinate=05, sec-latency=64
	I/O window 0: -0003
	I/O window 1: -0003
	BridgeCtl: Parity- SERR- ISA- VGA- MAbort- Reset+ 16bInt+ PostWrite-
	16-bit legacy interface ports at 0001

00:0d.0 Ethernet controller: Realtek Semiconductor Co., Ltd. 
RTL-8139/8139C (rev 10)
	Subsystem: Hewlett-Packard Company: Unknown device 0020
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B-
	Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium TAbort- 
TAbort- MAbort- SERR- PERR-
	Latency: 64 (8000ns min, 16000ns max)
	Interrupt: pin A routed to IRQ 10
	Region 0: I/O ports at e200 [size=256]
	Region 1: Memory at f000 (32-bit, non-prefetchable) [size=256]
	Capabilities: [50] Power Management version 2
		Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA 
PME(D0-,D1+,D2+,D3hot+,D3cold+)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:10.0 Communication controller: ESS Technology ES2838/2839 SuperLink 
Modem (rev 01)
	Subsystem: Hewlett-Packard Company: Unknown device 0020
	Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B-
	Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=fast TAbort- TAbort- 
MAbort- SERR- PERR-
	Interrupt: pin A routed to IRQ 10
	Region 0: I/O ports at e300 [size=16]
	Capabilities: [c0] Power Management version 2
		Flags: PMEClk- DSI- D1- D2+ AuxCurrent=55mA 
PME(D0+,D1-,D2+,D3hot+,D3cold+)
		Status: D0 PME-Enable+ DSel=0 DScale=0 PME-

00:11.0 ISA bridge: VIA Technologies, Inc. VT8231 [PCI-to-ISA Bridge] 
(rev 10)
	Subsystem: Hewlett-Packard Company: Unknown device 0020
	Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- 
Stepping+ SERR- FastB2B-
	Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium TAbort- 
TAbort- MAbort- SERR- PERR-
	Latency: 0
	Capabilities: [c0] Power Management version 2
		Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:11.1 IDE interface: VIA Technologies, Inc. Bus Master IDE (rev 06) 
(prog-if 8a [Master SecP PriP])
	Subsystem: Hewlett-Packard Company: Unknown device 0020
	Control: I/O+ Mem+ BusMaster+ 

Re: Does FreeBSD work on Walmart's $199 Microtel box?

2002-12-06 Thread Rick Hamell

  A quick web search didn't bring up any answer to this.
  Does anyone here have the definitive word?
 
 The most recent machinine I saw was running what seemed a fairly stock
 Debian. So I'd expect you'd have little trouble up to console use; X 
 may be compounded by the use of some highly integrated chipset.

I recall seeing an article where Walmart was loading Lindows on
their machines... is that still happening? 

Rick


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



ÅÊÅ©¿¡ Á×Àº ¿ì¸® µþ¿¡°Ô

2002-12-06 Thread Me
»ç¶ûÇÏ´Â ¿ì¸® µÎµþÀÌ ¾îÀ̾ø°Ô Á×¾ú´Ù. 
±×ºÎ¸ðÀÇ ¸¶À½À» ´©°¡ ¾Ë·ª. ½Ã°£ÀÌ Áö³ª¸é ¶Ç ¿ì¸® ±â¾ï¿¡¼­ »ç¶óÁú°ÍÀÌ°í. 
¹«Á˶õ´Ù, ÀÌÁ¦ ÇǾî¿À¸£´ø Ç츼Àº ¿ì¸® µÎ ¾ÆÀ̵éÀÌ ÅÊÅ© ¹Ø¿¡¼­.. 
Á˾ø¾ú´ø ±× µÎ ¹Ì±¹ ÀþÀº À̵éÀº ¿Ö ³²ÀÇ ³ª¶ó±îÁö ¿Í¼­ ÀÌ·±ÀÏÀ» ¸¸µé¾ú´Â°¡. 
Á¼°í À§Çè ±æ·Î ¸ÅÀÏ Çб³´Â °¡¾ß¸¸ Çß´ø Á×Àº ¿ì¸® ¾ÆÀ̵鿡°Ô ¾î¸¥µéÀº ¹«¾î¶ó°í 
¾ê±âÇϰڴ°¡. 
Á¤³ç µµ·Î¿¡ Àεµ³ª Çб³¹ö½º°¡ ÀÖ¾úÀ¸¸é, ±æÀÌ¶óµµ Á» ³Ð¾úÀ¸¸é. 
²À ÅÊÅ©°¡ ±×±æÀ» Çлýµé°ú °°ÀÌ ¸ÅÀÏ ´Ù³à¾ß¸¸ Çߴ°¡. 
´©°¡ ¸¸µé¾ú´Â°¡. 
ÀÌÁ¦ ¿ì¸® µÎµþ¿¡°Ô ¹¹¶ó°í ¸»ÇÒ±î. 
¿ì¸®´Â Ã¥ÀÓÀÌ ¾ø´Ù°í.. 

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



NFS - what troubles to expect ?

2002-12-06 Thread Josh Brooks

Helol,

I have used NFS on sun/solaris systems for many years, and the one big
headache that comes to mind is how, if the server is down, and the client
has an automount on boot, the client will hang forever (basically forever)
trying to mount from the down NFS server.

Does this behavior exist in the FreeBSD world ?  What other related
behavior can I expect if I have about 10 servers that are all _clients_
for an 11th NFS server, and that NFS server goes down ?  Will the
performance on the clients go down when the NFS server disappears ?

Will they too, like solaris systems, hang forever on boot when the nfs
server they automount is not present ?

thanks!


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



Quota help

2002-12-06 Thread Andrew Knapp
Does anyone out there know how to change the grace period on file-system
quotas? I know the default is 7 days, but if I wanted to change it,
where would I look? The man pages don't seem to be of any help on this,
and I didn't find anything in the archive.

Thanks,
Andy


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



Re: Quota help

2002-12-06 Thread David Schultz
Thus spake Andrew Knapp [EMAIL PROTECTED]:
 Does anyone out there know how to change the grace period on file-system
 quotas? I know the default is 7 days, but if I wanted to change it,
 where would I look? The man pages don't seem to be of any help on this,
 and I didn't find anything in the archive.

See edquota(8).

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



[no subject]

2002-12-06 Thread Partha Debnath


sir,
please send me all category's some free megazine's,catalogs,
Brochures, CD'c, book's and ect., also send some free products.
For Men's
my Jeans - 32
my shirt size haff- 40
my shirt size full- XXL

my mailimg address is
Partha Debnath,
C/O.Sankar Dey,
Northbanamali pur, Near Citty Office.
Agartala,Tripura,INDIA.
PIN - 799001.

thank you
partha



_
MSN 8 with e-mail virus protection service: 2 months FREE* 
http://join.msn.com/?page=features/virus


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


RE: Does FreeBSD work on Walmart's $199 Microtel box?

2002-12-06 Thread Mark-Nathaniel Weisman
Yes Rick, Wal-Mart uses a modified version of Lindows for their internal
operations, but does not offer it for sale to their customers. It was
supposed to go public with sales Q4 of 2002, however as of yet no go.

His Faithful Servant,
Mark


-Original Message-
From: Rick Hamell [mailto:[EMAIL PROTECTED]] 
Sent: Friday, December 06, 2002 7:14 PM
Cc: FreeBSD-questions
Subject: Re: Does FreeBSD work on Walmart's $199 Microtel box?



  A quick web search didn't bring up any answer to this.
  Does anyone here have the definitive word?
 
 The most recent machinine I saw was running what seemed a fairly stock

 Debian. So I'd expect you'd have little trouble up to console use; X 
 may be compounded by the use of some highly integrated chipset.

I recall seeing an article where Walmart was loading Lindows on
their machines... is that still happening? 

Rick


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

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



Re: ATA errors

2002-12-06 Thread Vladislav V. Zhuk
On Fri, Dec 06, 2002 at 09:34:09AM -0800, Darren Pilgrim wrote:
 Thomas T. Veldhouse wrote:
 Can anybody explain what has happened here?  My machine seems to be
 functioning normally.
 
 ad0: READ command timeout tag=0 serv=0 - resetting
 ata0: resetting devices .. ata0-slave: ATA identify retries exceeded
 done

 This is almost always the sign of a bad cable, but it can also be the
 logic board on the drive dying (though much rarer).  Check your cables.
  Better yet, go to your local hardware store and buy a new ATA/100-spec
 cable, flat, not rounded, preferably with pull-loops.

I don't think like you.
I check my hardware and I consider that problem in new ATA driver.
Under FreeBSD 4.1.1 my hardware work excellent.
After 4.5 release I get more troubles with IDE devices.
Some bugs was fixed and now (under 4.7s) I have no problem
with IDE HDD (even softupdates work).

After reboot my system work excellent 2-5 days, than I get
read timeout problem with my CDROM and all system hang.

I wrote about that troubles with ATA, but not get answer...

Who have problem with ATA driver - write here about this
and show /var/run/dmesg. Maybe we discover some dependences
where trouble appeared

--
Vladislav V. Zhuk (06267)3-60-03  [EMAIL PROTECTED]  2:[EMAIL PROTECTED]

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