Disk geometry, 5.3b7 install

2004-10-14 Thread freebsd
Hi all,
Trying to install 5.3b7 on the second slice of a Seagate ST380013AS
SATA 80G drive.
Drive was originally partitioned from NT to have an 8G NTFS slice
at the front, with the rest left open for FBSD.
When I boot off a CD (image created from downloaded iso image),
start the install, and go to allocate the freebsd slice, it reports
  155061/16/63  ad4
and says the geometry is invalid
If I go ahead and attempt to partition, I see
Geometry ad4 9729 cylinders/255 heads/63 sectors = 156296385 sectors
   (76316MB)
  Offset   Size(St)End  Name  PType  Desc  SubType  Flags
   0 63 62   --12   unused 0
  63   16386237   16386299  ad4s1   4   NTFS/HPFS/QNX  7
16386300  139915188  156301487   --12   unused 0
F1 help suggests running tools/pfdisk, for which there appears to be
no documentation, but which appears to be a very old tool applicable
only to disks smaller than 8G and not using LBA.
Questions:
1.  Is the geometry (155061/16/63) really invalid?
Given the 1024 cyl limitation, it doesn't look to me like the
modified geometry (9729/255/63) assumed? by fdisk is any better,
since both 155061 and 9729 are  1024.
In any case, the drive uses LBA, so why is this an issue and
even being reported?
2.  Do I really want to reset it?  Is that even relevant when LBA
is being used?
3.  Is pfdisk and geometry even relevant for disks  8G?
Decided to abort the install until I had this straightened out, but
I'm guessing I should just forge ahead and disregard the geometry
complaints?
Thanks for any insights,
Gary
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Compiling 4-RELEASE on 5-STABLE

2004-10-14 Thread Subhro
On Thu, 14 Oct 2004 01:18:25 -0400 (EDT), John Gillis [EMAIL PROTECTED] wrote:
however.. there are still things that could go wrong and I
 prefer not to find out when a production server heads south or doesn't
 have the right firmware on the RAID card.. so that's why I lag.

You can very well lag but doing so you would be creating apain in your
forehead. Because everything that worked on 4.X-Release ( repeat,
notice the word release) will also work on 5.Y-Release ( notice the
word release). And also I would argue against keeping your boxes in
the 4.X tree because as new releases are made available, the source
codes of the ports are also changed to make it portable to the new
tree. Most of the times tyhey DO compile on the old tree but you would
be loosing features and performance. For example, there is a huge
difference in performance when Xorg is compiled on gcc 2.95 and on gcc
3.4.2. If you are interested then contact me off the list. I would be
happy to send you the performance monitor logs.

Also, at least one piece of hardware is near impossible to
 upgrade. An old 486/25 that's running Snort, without a cd-rom and a 200M
 hard drive.

Negative, this hardware is also upgradable. Just the catch is it is
not SELF upgradable. I mean you can expect to compile the tree on the
486 itself. But you can very well compile its tree and kernel on a
Pentium (say) and install it on the 200M harddisk. I have quite a few
routers which have a lot similar configuration to yours and they work
till date without complaining. Just the upgradng is a bit troublesome
compared to the newer systems. Refer to the CFLAGS parameter in man
make.conf

What about my question about boot strapping? Does that ensure that
 I could compile the world/kernel of 4.x on 5.3?
John
No it does not. To be precise as far as I know, there is no way you
can compile a native 4.X binary of any kind (application, kernel,
bootstrap, you name it) on a 5.X box. Although you CAN run native 4.X
binaries on a 5.X kernel using the compatibility layers. Refer to
/usr/src/sys/NOTES for further information about compiling the
compatibility layers. And yes the boot strap code has also changed
from 4.X. Refer to /usr/src/UPDATING for a brief log about what had
been changed since the 4.X tree. Also you can find detailed
information about upgrading a 4.X tree to a 5.Y tree (although not
recommended for other performance, security and a number of other
reasons).

Regards
S.

-- 
Subhro Sankha Kar
School of Information Technology
Block AQ-13/1 Sector V
ZIP 700091
India
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: old way and new way still same error

2004-10-14 Thread Subhro
Looks to me as a corrupted source tree. Try a cvsup with src-all
before compiling

Regards
S.

-- 
Subhro Sankha Kar
School of Information Technology
Block AQ-13/1 Sector V
ZIP 700091
India
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: stopping sendmail completely

2004-10-14 Thread Choy Kho Yee
On 2004/10/14, at 15:42, Mark Frasa wrote:
 Hi, I wish to stop sendmail from starting during boot up completely
 since I don't need it. And I found this on the net:
  By the way, if getting rid of Sendmail is your goal, then
  sendmail_enable=NONE, while working, is not the best solution.
  sendmail_enable, like the other sendmail_* knobs, is an rc.sendmail
  setting, and you can easily disable even loading rc.sendmail by
setting
  the mta_startup_script knob to an empty string ().
 Does this mean that I only need to add the entry:
 #--
 mta_startup_script=
 #-
 in /etc/rc.conf to stop sendmail completely?
Choy Kho Yee
From /usr/src/UPDATING:
20020411:
    New sendmail startup scripts have been installed to make it
    easier to use alternative MTAs with FreeBSD.  The rc.conf
    variable mta_start_script can be set to a script for starting
    an alternative MTA or to  to prevent any MTA from being
    started at boot.
So the answer is yes. :)
Mark.
Thanks, Mark. I didn't know that I can find answer of this kind
in UPDATING :) You enlightened me.
One more question about /etc/rc.conf, is the order in which
you list the options important?
---
Choy Kho Yee
url: http://dotkoyi.infoseek.ne.jp/
blog: http://dotkoyi.blogspot.com/
There are only 10 types of people in the world, i.e.
those who understand binary numbers and those who do not.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Disk geometry, 5.3b7 install

2004-10-14 Thread Subhro
On Thu, 14 Oct 2004 00:48:34 -0600, [EMAIL PROTECTED] 

 When I boot off a CD (image created from downloaded iso image),
 start the install, and go to allocate the freebsd slice, it reports
   155061/16/63  ad4
 and says the geometry is invalid
 

What does the sticker on top of the drive say about its geometry. I
would like to explicitly instruct fdisk to use the Geometry on the
sticker but only if fdisk or anyone else complains during the install.

 If I go ahead and attempt to partition, I see
 Geometry ad4 9729 cylinders/255 heads/63 sectors = 156296385 sectors
(76316MB)
   Offset   Size(St)End  Name  PType  Desc  SubType  Flags
0 63 62   --12   unused 0
   63   16386237   16386299  ad4s1   4   NTFS/HPFS/QNX  7
 16386300  139915188  156301487   --12   unused 0
 

This one is fine. Whats the problem? You can just make up the slice
from the unsed free space starting from offset 16386300.

 F1 help suggests running tools/pfdisk, for which there appears to be
 no documentation, but which appears to be a very old tool applicable
 only to disks smaller than 8G and not using LBA.

Nopes thats not right. It does apply to the modern drives well.

 
 Questions:
 
 1.  Is the geometry (155061/16/63) really invalid?
 Given the 1024 cyl limitation, it doesn't look to me like the
 modified geometry (9729/255/63) assumed? by fdisk is any better,
 since both 155061 and 9729 are  1024.
 In any case, the drive uses LBA, so why is this an issue and
 even being reported?

Well, I already answered the first part. Regarding the reporting,
there can be many reasons why it is reaported. One of the most common
reason is that, the BIOS does not allow LBA transparently. Also
FreeBSD had the reputation (or should I say ill reputation?) of
getting information directly from the hardware and nopt rely on BIOS
whenever it can.

 2.  Do I really want to reset it?  Is that even relevant when LBA
 is being used?

I would reset it only if someone complains during install.

 3.  Is pfdisk and geometry even relevant for disks  8G?
 
As far as I know it is.

 Thanks for any insights,

You are welcome

Regards
S.

-- 
Subhro Sankha Kar
School of Information Technology
Block AQ-13/1 Sector V
ZIP 700091
India
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Shutdown And User Intervention

2004-10-14 Thread Subhro
On Wed, 13 Oct 2004 21:39:25 -0700 (PDT), Rishi Chopra
[EMAIL PROTECTED] wrote:

 Thanks to Mick, Andreas, Geert and Dee for their
 suggestions.
 
 I tried adding the suggested line (I'm running 5.2.1)
 but the response is:
 
 config: Error: device acpica is unknown
 config: 1  errors
 
 Do I need to be running a special kernel to enable
 acpica?  Is there any other way to enable ACPI?  Will
 I have to start a daemon after compiling the kernel to
 enable ACPI?

There are two ways to do it. One of them is to add the line device
acpi to the kernel config and recompile the kernel. The second option
is to load acpi as a module.
kldload acpi.ko

Alternatively you can put acpi_enable=YES in /boot/loader.conf to
automate the process. And there is no daemon like apmd for acpi. It is
a KLM.

Regards
S.

-- 
Subhro Sankha Kar
School of Information Technology
Block AQ-13/1 Sector V
ZIP 700091
India
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: old way and new way still same error

2004-10-14 Thread Subhro
On Thu, 14 Oct 2004 00:10:55 -0700 (PDT), sonjaya [EMAIL PROTECTED] wrote:
 Dear sir

First of all, you are not applying for a job. :P We are not dear or
sirs ROFL. We are just overworked sysadmins =:-X

 
 I have change server csv from cvs.cbn.net.id to
 cvsup.sg.FreeBSD.org but some error
 do you have some solution or how i know the source
 tree is corrupted , also can i remove the src and try
 update againt from new server

yes you can remove the src completely and recvsup from the
cvsup.ag.FreeBSD.org or whichever suits you.

 
 thx

You are most welcome.

Regards
S.

-- 
Subhro Sankha Kar
School of Information Technology
Block AQ-13/1 Sector V
ZIP 700091
India
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Shutdown And User Intervention

2004-10-14 Thread Geert Hendrickx
On Thu, Oct 14, 2004 at 12:47:59PM +0530, Subhro wrote:
 On Wed, 13 Oct 2004 21:39:25 -0700 (PDT), Rishi Chopra
 [EMAIL PROTECTED] wrote:
 
  Thanks to Mick, Andreas, Geert and Dee for their
  suggestions.
  
  I tried adding the suggested line (I'm running 5.2.1)
  but the response is:
  
  config: Error: device acpica is unknown
  config: 1  errors
  
  Do I need to be running a special kernel to enable
  acpica?  Is there any other way to enable ACPI?  Will
  I have to start a daemon after compiling the kernel to
  enable ACPI?
 
 There are two ways to do it. One of them is to add the line device
 acpi to the kernel config and recompile the kernel. The second option
 is to load acpi as a module.
 kldload acpi.ko
 
 Alternatively you can put acpi_enable=YES in /boot/loader.conf to
 automate the process. And there is no daemon like apmd for acpi. It is
 a KLM.
 
 Regards
 S.


Ok, so apparantly this is a difference between 4.x and 5.x.  In 4.x,
there is no LKM for this, and the line to add is indeed device acpica.  

Sorry from a 4.x-junkie ;-)  

GH

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


Re: Compiling 4-RELEASE on 5-STABLE

2004-10-14 Thread Geert Hendrickx
On Thu, Oct 14, 2004 at 12:31:33PM +0530, Subhro wrote:
 What about my question about boot strapping? Does that ensure that
  I could compile the world/kernel of 4.x on 5.3?
 John
 No it does not. To be precise as far as I know, there is no way you
 can compile a native 4.X binary of any kind (application, kernel,
 bootstrap, you name it) on a 5.X box. Although you CAN run native 4.X
 [...] 

As a side note, with NetBSD you CAN do this.  You can even compile
NetBSD/vax on a Linux/ppc box. :-)  That's how they build releases for
their obscurer architectures all the time.  

GH

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


Network Setup

2004-10-14 Thread Walker, Michael

Hi Everyone, 

Having some issues with my home network at the moment.
Basically I used to have a FreeBSD gateway system, it ran various network
services for my network and some remote users via the internet, smtp, httpd,
ftp, pop etc etc. It was equipped with a second network card (first was
going to the cable modem), which was connected to a 4 port netgear hub.

Now I have changed the network setup, as I purchased a wireless broadband
router. This works great, it is linked to the wired machines via a Ethernet
hub, and serves 2 wireless laptops (running windows) as well. 
However the problem I am now having is, that users via the internet, cannot
access any of my network services by using the hostname of my system. 

i.e. Users cant browse to codegurus.org, but they can browse to my IP
address. The same is to be said for SMTP connections, pop, ftp etc.

I have verified that the router is forwarding the ports to the internet by
running a nmap scan on my IP address from a remote machine that I have
access to. I have also verified that the hostname still points to my IP
address.

Here is some system information: 
uname -a 
FreeBSD codeguru.org 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #4: Wed Oct 13
21:55:19 BST 2004 :/usr/obj/usr/src/sys/CODEGURUS i386 

ifconfig 
sis0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 inet
192.168.0.4 netmask 0xff00 broadcast 192.168.0.255 ether
00:09:5b:69:7e:ec media: Ethernet autoselect (10baseT/UTP) status: active 

I could understand this being a apache vhost problem, if it was simply a
apache issue. But for the life of me, I am lost as to why the ports would
appear open when scanned. But not accept connections via my hostname.

Thanks for any help, if you need me to post some configuration files, then
please just ask. 

Thanks again. 
Regards Mick 

Mick Walker 
NAAFI Finance International 





**
This email and any files transmitted with it are confidential, and may be subject to 
legal privilege, and are intended solely for the use of the individual or entity to 
whom they are addressed.  
If you have received this email in error or think you may have done so, you may not 
peruse, use, disseminate, distribute or copy this message. Please notify the sender 
immediately and delete the original e-mail from your system.

Computer viruses can be transmitted by e-mail. Recipients should check this e-mail for 
the presence of viruses. The Capita Group and its subsidiaries accept no liability for 
any damage caused by any virus transmitted by this e-mail.
***

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


commenting/uncommenting a particular line in place

2004-10-14 Thread Mark Jayson Alvarez
Good Day,
I'm looking for a command combinations (not and
editor) that would uncomment or comment a line in any
configuration file such as inetd.conf with just one
single stroke.

For example here's the line in inetd.conf that will
enable ftpd:


#ftpstream  tcp nowait root   
/usr/libexec/ftpd   ftpd -l

sure, I can extract that particular line using cat and
grep, but I'm not quit sure how am I going to edit it.

If it is commented by default, I can just say:
cat /etc/inetd.conf |grep #ftp |grep -v 6 |sed -e
's/#//'  to extract and edit that particular line and
then pipe the output to 'tee -a' to be able to append
it at the bottom of inetd.conf.

But what if it's already uncommented? I know a little
bit of perl and I'm thinking of reading the entire
inetd.conf line by line and then when I hit that
certain line, insert a # in front of it, all being
done while writing it to another file and then
replacing the original inetd.conf after everything has
been written. 

Do you have any idea how it is done without using
perl, perhaps with command combinations etc.. 

Thanks for the time.










___
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Disk geometry, 5.3b7 install

2004-10-14 Thread freebsd
Subhro wrote:
When I boot off a CD (image created from downloaded iso image),
start the install, and go to allocate the freebsd slice, it reports
 155061/16/63  ad4
and says the geometry is invalid
What does the sticker on top of the drive say about its geometry. I
would like to explicitly instruct fdisk to use the Geometry on the
sticker but only if fdisk or anyone else complains during the install.
There is nothing about geometry on the drive itself.
The official specs from Seagate say it reports a default logical
geometry of 16383/16/63, but that only covers 8G...
There is no other mention of geometry in the specs;
it simply says that using LBA the sectors are addressed 0...n-1
If I go ahead and attempt to partition, I see
Geometry ad4 9729 cylinders/255 heads/63 sectors = 156296385 sectors
  (76316MB)
 Offset   Size(St)End  Name  PType  Desc  SubType  Flags
  0 63 62   --12   unused 0
 63   16386237   16386299  ad4s1   4   NTFS/HPFS/QNX  7
16386300  139915188  156301487   --12   unused 0

This one is fine. Whats the problem? You can just make up the slice
from the unsed free space starting from offset 16386300.
The only problem is that the geometry was reported as bad by
sysinstall, and implied I needed to change it.
Yet the partition step appears to have changed it already, or is
assuming it will be changed.
I don't understand what the situation is:
  sysinstall reported geometry as 155061/16/63 and said it was bad
  then partitioning assumes it will be  9729/255/63
Do I actually have to run pfdisk to change it from 155061/16/63 to
9729/255/63?
One more question:
The installation notes say the root partition must be below cylinder
1024.  If I want a largish (8G) partition for windows, how do I
accomplish this?  Do I have to make 4 partitions, a small one for
booting windows, a small one for freebsd's root, and then a larger
one for the rest of windows and another larger one for the rest of
freebsd?
e.g.
 cylpartitionuse
1- 511  1windows boot
  512-1023  2freebsd /
 1024-1500  3windows additional stuff
 1501-9729  4freebsd filesystems other than /
Thanks,
Gary
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Set IPv6 address on the interface

2004-10-14 Thread Grigory Klyuchnikov
Hello,
I'd like to set an IPv6 address to the ethernet interface from a user 
process,
but I don't understand which system call may be used. For getting 
information
about interfaces and addresses there are some methods: ioctl (with 
SIOCGIFCONF),
sysctl (witch NET_RT_IFLIST), AF_ROUTE socket, getifaddrs(). I've tried 
ioctl()
and sysctl() for this purpose. For setting an IPv4 addreess to the 
interface there is
ioctl() with  SIOCSIFADDR. How set an IPv6 address? There is SIOCSIFADDR_IN6
for setting address, but it doesen't work as say the comment in in6.c. 
And there are two
commands  SIOCDIFADDR_IN6 and SIOCAIFADDR_IN6, delete/add address
accordingly, but I've got error: Invalid argument. Or I don't know how 
use them.

My questions:
1) How can I set an IPv6 on the ethernet interface?
2) How can I get IPv6 multicast addresses from each interface?
If anyone knows something about, please, give me an answer or reference 
to it.

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


Re: old way and new way still same error

2004-10-14 Thread Subhro
On Thu, 14 Oct 2004 00:24:51 -0700 (PDT), sonjaya [EMAIL PROTECTED] wrote:

 you mean i can remove manual : rm -rf /usr/src
 
 now  i try make univeres in /usr/src/

Instead of make universe, try make buildworld, buildkernel,
installkernel. installworld.

Refer to the handbook for step by step procedure.

 thx
You are most welcome

Regards
S.

-- 
Subhro Sankha Kar
School of Information Technology
Block AQ-13/1 Sector V
ZIP 700091
India
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Raid problem

2004-10-14 Thread Nattapoom Pumipun
i have problem can't install freebsd
my system is
cpu : intel pentium 4 2.8c
mainboard : tyan tomcat s5102
hdd : 2xseagate 40gb IDE
raid : promise fasttrax 378 onboard
i can't boot to install freebsd
it just boot from cd to line btx loader and then it will restart all time 
can't do anything

I try to install in 1 drive in primary ide it's work.
that raid can install winxp perfect and can boot to install linux normal but 
freebsd can't
how can i solve this problem

regard
Gle
_
FREE pop-up blocking with the new MSN Toolbar - get it now! 
http://toolbar.msn.com/

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


Re: Disk geometry, 5.3b7 install

2004-10-14 Thread Subhro
On Thu, 14 Oct 2004 02:03:21 -0600, [EMAIL PROTECTED] 

 The only problem is that the geometry was reported as bad by
 sysinstall, and implied I needed to change it.
 Yet the partition step appears to have changed it already, or is
 assuming it will be changed.
 I don't understand what the situation is:
   sysinstall reported geometry as 155061/16/63 and said it was bad
   then partitioning assumes it will be  9729/255/63

Ignore the warning and proceed with the install. The partitioning
utility had already guessed the correct values and will proceed it.
BTW may I have the part number of the drive? I would like to check the
hardware literature.

 Do I actually have to run pfdisk to change it from 155061/16/63 to
 9729/255/63?

No you dont need to do it.

 
 One more question:
 
 The installation notes say the root partition must be below cylinder
 1024.  

snip

This one was valid for old BIOSses which blindly believed the fact
that all kinds of bootable partitions MUST start under cylinder 1024.
This does not hold true if the onboard BIOS is not older than 3 years.

 Thanks,

You are most welcome

Regards
S.

-- 
Subhro Sankha Kar
School of Information Technology
Block AQ-13/1 Sector V
ZIP 700091
India
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: ipfw - denying all - what port for OE

2004-10-14 Thread Mark Frasa



-Original Message-
From: [EMAIL PROTECTED] on behalf of David Banning
Sent: Wed 10/13/2004 7:04
To: [EMAIL PROTECTED]; Luke Kearney; [EMAIL PROTECTED]
Subject: Re: ipfw - denying all - what port for OE
 
My server is my desktop. My ipfw rules follow. Whenever I take
out line 12000 is runs fine. When I put it back in I can't run
OE. 

01000 allow tcp from any to any 10060
01040 allow tcp from any to any 22
10100 allow tcp from any to any 80
10200 allow tcp from any to any 10080
10300 allow tcp from any to any 3128
10400 allow tcp from any to any 8180
10600 allow tcp from any to any 8025
10700 allow tcp from any to any 110
10800 allow tcp from any to any 25
10810 allow tcp from any to any 109
10820 allow tcp from any to any 106
11001 allow tcp from any to any 389
11002 allow tcp from any to any 636
11003 allow tcp from any to any 379
11004 allow tcp from any to any 390
11005 allow tcp from any to any 3268
11006 allow tcp from any to any 3269
11007 allow tcp from any to any 143
11008 allow tcp from any to any 993
11009 allow tcp from any to any 995
11010 allow tcp from any to any 119
11011 allow tcp from any to any 563
11012 allow tcp from any to any 443
11013 allow tcp from any to any 465
11015 allow tcp from any to any 625
11016 allow tcp from any to any 135
11017 allow tcp from any to any 935
12000 deny tcp from 209.188.66.29 to any

-- 


What if you try the following:

10700 allow tcp from any to any 110 keep-state

Mark.

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



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


RE: stopping sendmail completely

2004-10-14 Thread Mark Frasa
Hi, I wish to stop sendmail from starting during boot up completely
since I don't need it. And I found this on the net:

  By the way, if getting rid of Sendmail is your goal, then
  sendmail_enable=NONE, while working, is not the best solution.
  sendmail_enable, like the other sendmail_* knobs, is an rc.sendmail
  setting, and you can easily disable even loading rc.sendmail by
setting
  the mta_startup_script knob to an empty string ().

Does this mean that I only need to add the entry:
#--
mta_startup_script=
#-
in /etc/rc.conf to stop sendmail completely?

Thanks.

---
Choy Kho Yee
url: http://dotkoyi.infoseek.ne.jp/
blog: http://dotkoyi.blogspot.com/

There are only 10 types of people in the world, i.e.
those who understand binary numbers and those who do not.
---

From /usr/src/UPDATING:

20020411:
New sendmail startup scripts have been installed to make it
easier to use alternative MTAs with FreeBSD.  The rc.conf
variable mta_start_script can be set to a script for starting
an alternative MTA or to  to prevent any MTA from being
started at boot.

So the answer is yes. :)

Mark.

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

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


RE: ipfw - denying all - what port for OE

2004-10-14 Thread Mark Frasa
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David Banning
Sent: woensdag 13 oktober 2004 7:04
To: [EMAIL PROTECTED]; Luke Kearney; [EMAIL PROTECTED]
Subject: Re: ipfw - denying all - what port for OE

My server is my desktop. My ipfw rules follow. Whenever I take
out line 12000 is runs fine. When I put it back in I can't run
OE. 

01000 allow tcp from any to any 10060
01040 allow tcp from any to any 22
10100 allow tcp from any to any 80
10200 allow tcp from any to any 10080
10300 allow tcp from any to any 3128
10400 allow tcp from any to any 8180
10600 allow tcp from any to any 8025
10700 allow tcp from any to any 110
10800 allow tcp from any to any 25
10810 allow tcp from any to any 109
10820 allow tcp from any to any 106
11001 allow tcp from any to any 389
11002 allow tcp from any to any 636
11003 allow tcp from any to any 379
11004 allow tcp from any to any 390
11005 allow tcp from any to any 3268
11006 allow tcp from any to any 3269
11007 allow tcp from any to any 143
11008 allow tcp from any to any 993
11009 allow tcp from any to any 995
11010 allow tcp from any to any 119
11011 allow tcp from any to any 563
11012 allow tcp from any to any 443
11013 allow tcp from any to any 465
11015 allow tcp from any to any 625
11016 allow tcp from any to any 135
11017 allow tcp from any to any 935
12000 deny tcp from 209.188.66.29 to any

-- 

You may wanna try something like:

10700 allow tcp from any to any 110 out keep-state

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


Re: Disk geometry, 5.3b7 install

2004-10-14 Thread freebsd
Subhro wrote:
On Thu, 14 Oct 2004 02:03:21 -0600, [EMAIL PROTECTED] 


The only problem is that the geometry was reported as bad by
sysinstall, and implied I needed to change it.
Yet the partition step appears to have changed it already, or is
assuming it will be changed.
I don't understand what the situation is:
 sysinstall reported geometry as 155061/16/63 and said it was bad
 then partitioning assumes it will be  9729/255/63

Ignore the warning and proceed with the install. The partitioning
utility had already guessed the correct values and will proceed it.
BTW may I have the part number of the drive? I would like to check the
hardware literature.
Seagate ST380013AS
http://www.seagate.com/support/disc/manuals/sata/cuda7200_sata_pm.pdf
Thanks again.
Gary
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


configuring php to work with mysql

2004-10-14 Thread David Banning
I am having to reinstall my php and apache 1.3.  I installed apache13
straight from the ports with no options, and then I installed
php4_mysql from the ports also. php is running but it does not
connect to mysql. 

In looking at phpinfo() I notice the configuration options;

'./configure' '--enable-versioning' '--enable-memory-limit' '--with-layout=GNU' 
'--with-config-file-scan-dir=/usr/local/etc/php' '--disable-all' '--with-regex=php' 
'--with-apxs=/usr/local/sbin/apxs' '--prefix=/usr/local' 'i386-portbld-freebsd4.8' 

don't seem to have any reference to mysql. Stange, considering that
the port, specifically is entitled php4_mysql.

Any suggestions?

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


Re: Compiling 4-RELEASE on 5-STABLE

2004-10-14 Thread Gary Dunn
On Wed, 2004-10-13 at 18:11, John Gillis wrote:
   My apologies if this has already been asked. I'd like to upgrade
 my non-production machines to 5.3 once it is released, however I'd like
 the production servers to lag behind once I make sure everything is
 working right.
   This might mean that my production servers would be running 4.x
 for the next few months. Compiling world, the kernel, and ports is done on
 non-production machines however, with the ports being packaged and
 installed on the servers and /usr/src being NFS mounted from a
 non-production machine.
   After installing 5.3 on the non-production machines, I'd like to
 track the 4-RELEASEs into another directory, say /usr/src.4 while tracking
 5.3-RELEASE in /usr/src.
 
   My question is.. would I be able to compile anything on 5.3 that
 would still work on 4.10? Does the make build(world|kernel) bootstrap and
 then use the /usr/src.4 development environment to link/compile
 everything? Would I be at a loss with ports (not terribly important in my
 environment)?

Consider holding back one non-production machine at 4.x as the build box
for the production servers. That would eliminate any chance of the 5.x
tree affecting the production servers. Either run cvsup twice (once from
the 4.x build box and again from the 5.x build box) or set up your own
cvsup mirror.

-- 

Gary Dunn
[EMAIL PROTECTED]
Honolulu

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


Re: Compiling 4-RELEASE on 5-STABLE

2004-10-14 Thread Erik Trulsson
On Thu, Oct 14, 2004 at 12:31:33PM +0530, Subhro wrote:
 On Thu, 14 Oct 2004 01:18:25 -0400 (EDT), John Gillis [EMAIL PROTECTED] wrote:
 however.. there are still things that could go wrong and I
  prefer not to find out when a production server heads south or doesn't
  have the right firmware on the RAID card.. so that's why I lag.
 
 You can very well lag but doing so you would be creating apain in your
 forehead. Because everything that worked on 4.X-Release ( repeat,
 notice the word release) will also work on 5.Y-Release ( notice the
 word release).

If you actually believe that I have a very nice bridge here you might
be interested in.  It is certainly the goal that things which worked on
4.x will continue to work in 5.x, and it might even work out that way
in 99.99% of all cases, but *everything*? Not a bloody chance - there
are always bugs that have yet to fixed (or even discovered).


 Also, at least one piece of hardware is near impossible to
  upgrade. An old 486/25 that's running Snort, without a cd-rom and a 200M
  hard drive.
 
 Negative, this hardware is also upgradable.

Depends. It it is a 486sx it will not run 5.x  (support for FPU-less
systems has been removed.) I believe 5.x also needs a bit more memory
than 4.x, so if that box has too little RAM it might be unbearably slow
under 5.x

 
 What about my question about boot strapping? Does that ensure that
  I could compile the world/kernel of 4.x on 5.3?
 John
 No it does not. To be precise as far as I know, there is no way you
 can compile a native 4.X binary of any kind (application, kernel,
 bootstrap, you name it) on a 5.X box.

And that is bullshit. It is of course possible to compile a 4.x binary
on a 5.x box - just make sure you link against the right libraries (and
in the case of C++ programs at least, compile with a compatible
compiler.)  I don't know if it is possible to do this without jumping
through an inordinate number of hoops however.




-- 
Insert your favourite quote here.
Erik Trulsson
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Compiling 4-RELEASE on 5-STABLE

2004-10-14 Thread Erik Trulsson
On Thu, Oct 14, 2004 at 09:52:52AM +0530, Subhro wrote:
 On Thu, 14 Oct 2004 00:11:05 -0400 (EDT), John Gillis [EMAIL PROTECTED] wrote:
 My apologies if this has already been asked. I'd like to upgrade
  my non-production machines to 5.3
 
 Nice idea
 
  once it is released, however I'd like
  the production servers to lag behind once I make sure everything is
  working right.
 
 If everything is not working right, then 5.3 wouldnever be tagged
 STABLE. This is not Windows.

5.3 will have bugs even when tagged -stable. I can guarantee that once
5.3 is released and people start using it more widely there will be new
problems being reported that haven't been discovered yet.

 4.10-R uses gcc 2.95 and 5.3 uses gcc 3.4. The binaries compiled with
 the later are not backward compatble.

You do realise that you can install gcc 3.4 on a 4.x machine and run
the binaries compiled with it?
For C++ the ABI has changed a couple of times betwenn gcc 2.95 and gcc
3.4, but for C everything should work fine, as long as you link against
the right libraries.


-- 
Insert your favourite quote here.
Erik Trulsson
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: GNOME questions

2004-10-14 Thread Gary Dunn
On Wed, 2004-10-13 at 06:26, Gary Kline wrote:
 On Wed, Oct 13, 2004 at 12:00:02AM -1000, Gary Dunn wrote:
  On Wed, 2004-10-06 at 21:36, Gary Kline wrote:
   
 To the Gnome wizards out there,
   
 I've been experimenting with different window managers
 and need some tips on how making Gnome more comfortable 
 feel.  Here are some miscellaneous questions:
   
 How do I create different sized xterms and/or gnome terms
 of different sizes in different workspaces?  
  
  gnome-terminal can save settings in classes, and a class can be
  specified on the launch command line. If you want them to open when
  Gnome starts, add them in the session startup control.
  
 
   In what specific file?  Say that I want two xterms with
   a -14-- point type, one anchored at +0-0 and the other
   anchored at +0+0.  Also, let's say that I want one to
   be initialized with '-iconic' and the other to be displayed.
   Where is the session startup control?  (i have looked for
   docs on by-hand configuration; haven't found it.)


The system I am working on at home is back on good old Gnome 1.4, but
man gnome-terminal says:

The GNOME terminal allows you to have different configuration profiles
to suit different uses (different background colours, presence,
absence or position of scrollbars, and so on).  To set these up, you
invoke the preferences dialogue box from the settings menu of
gnome-terminal. Select the options you prefer (these changes will be
made to your currently-open terminal, so you can see what they look
like), and before closing the preferences box, make sure you have
put a new name in the space marked Terminal Class.

To activate a specific class at program startup you can use the
--tclass command line option

 
-- 

Gary Dunn
[EMAIL PROTECTED]
Honolulu

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


Re: configuring php to work with mysql

2004-10-14 Thread Matthew Seaman
On Thu, Oct 14, 2004 at 05:12:51AM -0400, David Banning wrote:
 I am having to reinstall my php and apache 1.3.  I installed apache13
 straight from the ports with no options, and then I installed
 php4_mysql from the ports also. php is running but it does not
 connect to mysql. 
 
 In looking at phpinfo() I notice the configuration options;
 
 './configure' '--enable-versioning' '--enable-memory-limit' '--with-layout=GNU' 
 '--with-config-file-scan-dir=/usr/local/etc/php' '--disable-all' '--with-regex=php' 
 '--with-apxs=/usr/local/sbin/apxs' '--prefix=/usr/local' 'i386-portbld-freebsd4.8' 
 
 don't seem to have any reference to mysql. Stange, considering that
 the port, specifically is entitled php4_mysql.

To get the most minor nit out of the way first: the port is called
php4-mysql.

And, no you won't see MySQL amongst the configuration options for the
base PHP executable.  That's because nowadays the MySQL support is
built completely separately as a loadable module.  You should have
read the 20040719 entry in /usr/ports/UPDATING where this is
explained.

Try running:

% php -m

which will tell you about all of the loadable modules you've got
available.  Look more closely at the phpinfo() output -- there should
be a whole section on MySQL later on.  If that isn't there, then you
need to pay some attention to your /usr/local/etc/php.ini file: if you
use the default one provided by the lang/php4 port, everything should
just work.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgpE5wf2zxeBD.pgp
Description: PGP signature


IPv4/IPv6 Multicast Streaming problem

2004-10-14 Thread Yong Chu Eu (Ñî×ÓÓÓ)
why i having such a problem, its is because network or  or because vls
0.5.6 not support multicast?   . I can
stream IPv6/IPv4 unicast stream? my vls server is freeBSD 4.10 while vlc
on redhat notebook. Any expert can help? 

IPv4 Multicast with address 239.2.12.42

[EMAIL PROTECTED] start matrix client2 local1 --loop
Provider: Manager
Error: -1

  Provider: local1
  Error: -1
  Info: Unable to start program matrix
  Info: Error: unable to start streaming of program matrix
  Error: Unable to
create thread
 Error: Unable to init streamer
   Error: Net4Output
initialisation failed
   Error: Unable to change value for option
12: Can't assign requested address

[EMAIL PROTECTED] Connection closed by foreign host.


2004-10-14 21:45:15 [ERROR/local1]  Unable to start program matrix
2004-10-14 21:45:15 [ERROR/local1]  Error: unable to start streaming of
program matrix
Error: Unable to create thread
Error: Unable to init streamer
Error: Net4Output initialisation failed
Error: Unable to change value for option 12: Can't assign requested
address
pure virtual method called
Abort (core dumped)

IPV6 Multicast with address ff6e:1:1:1::

ceynet# vls -vv
VideoLAN Server v 0.5.6 (Aug 27 2004) - (c)1999-2003 VideoLAN
2004-10-14 03:55:06 [INFO/Vls]  Module channel:file registered
2004-10-14 03:55:06 [INFO/Vls]  Module channel:network registered
2004-10-14 03:55:06 [INFO/Vls]  Module mpegreader:file registered
2004-10-14 03:55:06 [INFO/Vls]  Module mpegconverter:ts2ts registered
2004-10-14 03:55:06 [INFO/Vls]  Module mpegconverter:ps2ts registered
2004-10-14 03:55:06 [INFO/Vls]  Module input:local registered
2004-10-14 03:55:06 [INFO/Vls]  Module input:video registered
2004-10-14 03:55:06 [INFO/Vls]  Browsing modules in directory .
2004-10-14 03:55:06 [INFO/Vls]  Browsing modules in directory
/usr/local/lib/videolan/vls
2004-10-14 03:55:06 [INFO/Vls]  Module mpegreader:dvd registered
2004-10-14 03:55:06 [INFO/Vls]  Channel 'unicast' created
2004-10-14 03:55:06 [INFO/Vls]  Channel 'localhost' created
2004-10-14 03:55:06 [INFO/Vls]  Channel 'multicast' created
2004-10-14 03:55:06 [INFO/Vls]  Channel 'client1' created
2004-10-14 03:55:06 [INFO/Vls]  Starting input 'local1'
2004-10-14 03:55:06 [INFO/local1]  Added program 'matrix'
2004-10-14 03:55:06 [INFO/Vls]  Input 'local1' sucessfully initialised
2004-10-14 03:55:06 [INFO/Vls]  New admin group monitor is ok
2004-10-14 03:55:06 [INFO/Vls]  New admin group master is ok
2004-10-14 03:55:06 [INFO/Vls]  New admin user mipv6 is ok
2004-10-14 03:55:06 [INFO/Vls]  New admin user ceyong is ok
2004-10-14 03:55:06 [INFO/Vls]  Telnet server initialised
2004-10-14 04:05:17 [INFO/Vls]  Processing incoming connection from
127.0.0.1
2004-10-14 04:05:25 [INFO/Vls]  User mipv6 successfully authenticated
Synchronised with PS stream
New Pid assigned: 80
PMT Add, PID : 0x80 , Type : 0x5
Synchronised with PS stream
New Pid assigned: 81
PMT Add, PID : 0x81 , Type : 0x5
New Pid assigned: 82
PMT Add, PID : 0x82 , Type : 0x5
New Pid assigned: 83
Video: 0x83 , 131
PMT Add, PID : 0x83 , Type : 0x1
updating PCR_PID to value 131 (current pid = 0)
New Pid assigned: 84
Audio: 0x84 , 132
PMT Add, PID : 0x84 , Type : 0x3
2004-10-14 04:05:36 [ERROR/local1]  Unable to start program matrix
2004-10-14 04:05:36 [ERROR/local1]  Error: unable to start streaming of
program matrix
Error: Unable to create thread
Error: Unable to init streamer
Error: Net6Output initialisation failed
Error: Unable to change value for option 12: Can't assign requested
address
pure virtual method called
Abort (core dumped)


ceynet# telnet localhost 
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.

Videolan Server Administration System

Login: mipv6
Password:

[EMAIL PROTECTED] start matrix multicast local1 --loop
Provider: Manager
Error: -1

  Provider: local1
  Error: -1
  Info: Unable to start program matrix
  Info: Error: unable to start streaming of program matrix
  Error: Unable to
create thread
  
 Error: Unable to init streamer
  
   Error: Net6Output
initialisation failed
  Error: Unable to change value for option 12:
Can't assign requested address

[EMAIL PROTECTED] Connection closed by foreign host.


=
Ô¸ÄúÓÀÔ¶ÐÒ¸££¬¿ìÀֺͰ²Ïê Happy  Healthy Always ! ^_^ !
¸öÈËÍøÒ³ Homepage:http://planet.time.net.my/sunwaycity/ceyong
¸öÈË·ðѧÍøÒ³ Buddhist Page: http://planet.time.net.my/SunwayCity/ceyong/artikel.htm
ICQ:16994867/ Yahoo Messenger ID:ceyong /MSN Messenger:ceyong at hotmail.com



rtadvd

2004-10-14 Thread Yong Chu Eu (Ñî×ÓÓÓ)
Just want to ask that can we make rtadvd to send router advertisement with
global multicast address prefix to user? how to make change to rtadvd to
function like this?



=
Ô¸ÄúÓÀÔ¶ÐÒ¸££¬¿ìÀֺͰ²Ïê Happy  Healthy Always ! ^_^ !
¸öÈËÍøÒ³ Homepage:http://planet.time.net.my/sunwaycity/ceyong
¸öÈË·ðѧÍøÒ³ Buddhist Page: http://planet.time.net.my/SunwayCity/ceyong/artikel.htm
ICQ:16994867/ Yahoo Messenger ID:ceyong /MSN Messenger:ceyong at hotmail.com



___
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


IPv4/IPv6 Multicast Streaming problem

2004-10-14 Thread Yong Chu Eu (Ñî×ÓÓÓ)
why i having such a problem, its is because network or    . I can
stream IPv6/IPv4 unicast stream? my vls server is freeBSD 4.10 while vlc
on redhat notebook. Any expert can help? its is because vls 0.5.6 not
support multicast?

IPv4 Multicast with address 239.2.12.42

[EMAIL PROTECTED] start matrix client2 local1 --loop
Provider: Manager
Error: -1

  Provider: local1
  Error: -1
  Info: Unable to start program matrix
  Info: Error: unable to start streaming of program matrix
  Error: Unable to
create thread
 Error: Unable to init streamer
   Error: Net4Output
initialisation failed
   Error: Unable to change value for option
12: Can't assign requested address

[EMAIL PROTECTED] Connection closed by foreign host.


2004-10-14 21:45:15 [ERROR/local1]  Unable to start program matrix
2004-10-14 21:45:15 [ERROR/local1]  Error: unable to start streaming of
program matrix
Error: Unable to create thread
Error: Unable to init streamer
Error: Net4Output initialisation failed
Error: Unable to change value for option 12: Can't assign requested
address
pure virtual method called
Abort (core dumped)

IPV6 Multicast with address ff6e:1:1:1::

ceynet# vls -vv
VideoLAN Server v 0.5.6 (Aug 27 2004) - (c)1999-2003 VideoLAN
2004-10-14 03:55:06 [INFO/Vls]  Module channel:file registered
2004-10-14 03:55:06 [INFO/Vls]  Module channel:network registered
2004-10-14 03:55:06 [INFO/Vls]  Module mpegreader:file registered
2004-10-14 03:55:06 [INFO/Vls]  Module mpegconverter:ts2ts registered
2004-10-14 03:55:06 [INFO/Vls]  Module mpegconverter:ps2ts registered
2004-10-14 03:55:06 [INFO/Vls]  Module input:local registered
2004-10-14 03:55:06 [INFO/Vls]  Module input:video registered
2004-10-14 03:55:06 [INFO/Vls]  Browsing modules in directory .
2004-10-14 03:55:06 [INFO/Vls]  Browsing modules in directory
/usr/local/lib/videolan/vls
2004-10-14 03:55:06 [INFO/Vls]  Module mpegreader:dvd registered
2004-10-14 03:55:06 [INFO/Vls]  Channel 'unicast' created
2004-10-14 03:55:06 [INFO/Vls]  Channel 'localhost' created
2004-10-14 03:55:06 [INFO/Vls]  Channel 'multicast' created
2004-10-14 03:55:06 [INFO/Vls]  Channel 'client1' created
2004-10-14 03:55:06 [INFO/Vls]  Starting input 'local1'
2004-10-14 03:55:06 [INFO/local1]  Added program 'matrix'
2004-10-14 03:55:06 [INFO/Vls]  Input 'local1' sucessfully initialised
2004-10-14 03:55:06 [INFO/Vls]  New admin group monitor is ok
2004-10-14 03:55:06 [INFO/Vls]  New admin group master is ok
2004-10-14 03:55:06 [INFO/Vls]  New admin user mipv6 is ok
2004-10-14 03:55:06 [INFO/Vls]  New admin user ceyong is ok
2004-10-14 03:55:06 [INFO/Vls]  Telnet server initialised
2004-10-14 04:05:17 [INFO/Vls]  Processing incoming connection from
127.0.0.1
2004-10-14 04:05:25 [INFO/Vls]  User mipv6 successfully authenticated
Synchronised with PS stream
New Pid assigned: 80
PMT Add, PID : 0x80 , Type : 0x5
Synchronised with PS stream
New Pid assigned: 81
PMT Add, PID : 0x81 , Type : 0x5
New Pid assigned: 82
PMT Add, PID : 0x82 , Type : 0x5
New Pid assigned: 83
Video: 0x83 , 131
PMT Add, PID : 0x83 , Type : 0x1
updating PCR_PID to value 131 (current pid = 0)
New Pid assigned: 84
Audio: 0x84 , 132
PMT Add, PID : 0x84 , Type : 0x3
2004-10-14 04:05:36 [ERROR/local1]  Unable to start program matrix
2004-10-14 04:05:36 [ERROR/local1]  Error: unable to start streaming of
program matrix
Error: Unable to create thread
Error: Unable to init streamer
Error: Net6Output initialisation failed
Error: Unable to change value for option 12: Can't assign requested
address
pure virtual method called
Abort (core dumped)


ceynet# telnet localhost 
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.

Videolan Server Administration System

Login: mipv6
Password:

[EMAIL PROTECTED] start matrix multicast local1 --loop
Provider: Manager
Error: -1

  Provider: local1
  Error: -1
  Info: Unable to start program matrix
  Info: Error: unable to start streaming of program matrix
  Error: Unable to
create thread
  
 Error: Unable to init streamer
  
   Error: Net6Output
initialisation failed
  Error: Unable to change value for option 12:
Can't assign requested address

[EMAIL PROTECTED] Connection closed by foreign host.



=
Ô¸ÄúÓÀÔ¶ÐÒ¸££¬¿ìÀֺͰ²Ïê Happy  Healthy Always ! ^_^ !
¸öÈËÍøÒ³ Homepage:http://planet.time.net.my/sunwaycity/ceyong
¸öÈË·ðѧÍøÒ³ Buddhist Page: http://planet.time.net.my/SunwayCity/ceyong/artikel.htm
ICQ:16994867/ Yahoo Messenger ID:ceyong /MSN Messenger:ceyong at hotmail.com



A quick question on rtadvd

2004-10-14 Thread Yong Chu Eu (Ñî×ÓÓÓ)
can we make rtadvd advertise global multicast address to user? how to do it?

=
Ô¸ÄúÓÀÔ¶ÐÒ¸££¬¿ìÀֺͰ²Ïê Happy  Healthy Always ! ^_^ !
¸öÈËÍøÒ³ Homepage:http://planet.time.net.my/sunwaycity/ceyong
¸öÈË·ðѧÍøÒ³ Buddhist Page: http://planet.time.net.my/SunwayCity/ceyong/artikel.htm
ICQ:16994867/ Yahoo Messenger ID:ceyong /MSN Messenger:ceyong at hotmail.com



__
Do you Yahoo!?
Take Yahoo! Mail with you! Get it on your mobile phone.
http://mobile.yahoo.com/maildemo 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


where to find security updates?

2004-10-14 Thread Matthias F. Brandstetter
Hi all,

I am somewhat new to FreeBSD, and so not 100% used to this ports and 
portaudit system.

My daily sec. output says, that my installed mod_php4-4.3.8_2 has two 
vulnerabilities. So I did an cvsup /root/ports-supfile and a make 
search=mod_php4 afterwards. But I can only see mod_php4-4.3.6 now, 
which does not look like an update to mod_php4-4.3.8_2.

Now my question is: How should/can I update mod_php4, if there is no update 
available?

Greetings and TIA, Matthias

-- 
Homer: No TV and No Beer Make Homer ... something something.

Marge: Go crazy?

Homer: Don't mind if I do!

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


Re: where to find security updates?

2004-10-14 Thread Alexandr
On Thu, Oct 14, 2004 at 01:57:35PM +0200, Matthias F. Brandstetter wrote:
 Hi all,
 
 I am somewhat new to FreeBSD, and so not 100% used to this ports and 
 portaudit system.
 
 My daily sec. output says, that my installed mod_php4-4.3.8_2 has two 
 vulnerabilities. So I did an cvsup /root/ports-supfile and a make 
 search=mod_php4 afterwards. But I can only see mod_php4-4.3.6 now, 
 which does not look like an update to mod_php4-4.3.8_2.
 
cd /usr/ports
make fetchindex


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


Re: where to find security updates?

2004-10-14 Thread Alexandr
On Thu, Oct 14, 2004 at 01:57:35PM +0200, Matthias F. Brandstetter wrote:
 Now my question is: How should/can I update mod_php4, if there is no update 
 available?
portupgrade -all
wil upgrade all port installed on your system
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: where to find security updates?

2004-10-14 Thread Alexandr
On Thu, Oct 14, 2004 at 01:57:35PM +0200, Matthias F. Brandstetter wrote:
 Hi all,
 
 I am somewhat new to FreeBSD, and so not 100% used to this ports and 
 portaudit system.
 
 My daily sec. output says, that my installed mod_php4-4.3.8_2 has two 
 vulnerabilities. So I did an cvsup /root/ports-supfile and a make 
 search=mod_php4 afterwards. But I can only see mod_php4-4.3.6 now, 
 which does not look like an update to mod_php4-4.3.8_2.
 
 Now my question is: How should/can I update mod_php4, if there is no update 
 available?
 
 Greetings and TIA, Matthias
 
for portupgrade utility you may install port /usr/ports/sysutils/portupgrade

You can use this tool for upgrade one package for example:
portupgrade mod_php4-4.3.8_2

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


Re: where to find security updates?

2004-10-14 Thread Matthias F. Brandstetter
-- quoting Alexandr --
  My daily sec. output says, that my installed mod_php4-4.3.8_2 has
  two vulnerabilities. So I did an cvsup /root/ports-supfile and a
  make search=mod_php4 afterwards. But I can only see mod_php4-4.3.6
  now, which does not look like an update to mod_php4-4.3.8_2.

 cd /usr/ports
 make fetchindex

that was is, thx a log!
Greetings, Matthias

-- 
Maybe I should just cut my losses, give up on Lisa, and make a fresh
start with Maggie.

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


Re: where to find security updates?

2004-10-14 Thread Alex de Kruijff
On Thu, Oct 14, 2004 at 01:57:35PM +0200, Matthias F. Brandstetter wrote:
 Hi all,
 
 I am somewhat new to FreeBSD, and so not 100% used to this ports and 
 portaudit system.
 
 My daily sec. output says, that my installed mod_php4-4.3.8_2 has two 
 vulnerabilities. So I did an cvsup /root/ports-supfile and a make 
 search=mod_php4 afterwards. But I can only see mod_php4-4.3.6 now, 
 which does not look like an update to mod_php4-4.3.8_2.

You go wrong here. There doesn't exist a command 'make search=...' it
should be 'make search name=mod_php4'. Because of this you have compiled
(but not installed) all recursive ports. To fix this do: make clean from
/usr/ports (this takes a while)

The most recent for me is: mod_php4-4.3.4_7,1

If you run 'pkg_version | grep php' then you can see if the port is
newer than the one you installed. A  means that this is the case.

 Now my question is: How should/can I update mod_php4, if there is no update 
 available?

First install portupgrade:
# cd /usr/ports/sysutils/portupgrade/
# make install  make clean

Then do:
# rehash
# portupgrade -fR mod_php4

The R also compiles all ports that php4 uses and the f force a recompile
of ports that are of the current version. Its not allways required but
I've had some trouble with php. This solved the problem for me.

-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.
WWW: http://www.kruijff.org/alex/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


antivirus

2004-10-14 Thread metallarch
Does freebsd support any antivirus programs(server) for windows computers?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: antivirus

2004-10-14 Thread Alexandr
On Thu, Oct 14, 2004 at 04:40:05PM +0400, metallarch wrote:
 Does freebsd support any antivirus programs(server) for windows computers?
clamav - this is antivirus for unix
clamwin - this is antivirus for windows. It use databases for clamav.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: antivirus

2004-10-14 Thread Alexandr
On Thu, Oct 14, 2004 at 03:46:56PM +, Alexandr wrote:
 On Thu, Oct 14, 2004 at 04:40:05PM +0400, metallarch wrote:
  Does freebsd support any antivirus programs(server) for windows computers?
 clamav - this is antivirus for unix
 clamwin - this is antivirus for windows. It use databases for clamav.

Kaspersky Antivirus (http://avp.ru) . I known admin who use it on the freebsd. But 
didn't know why...
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: antivirus

2004-10-14 Thread Steve Bertrand
 On Thu, Oct 14, 2004 at 03:46:56PM +, Alexandr wrote:
 On Thu, Oct 14, 2004 at 04:40:05PM +0400, metallarch wrote:
  Does freebsd support any antivirus programs(server) for windows
 computers?
 clamav - this is antivirus for unix
 clamwin - this is antivirus for windows. It use databases for
 clamav.

 Kaspersky Antivirus (http://avp.ru) . I known admin who use it on the
 freebsd. But didn't know why...

Possibly because the box was a mail server, or perhaps a file server
that housed files for a network of Windows machines.

Viruses can spread through NetBIOS shares, and I'm certain the ones
that replicate this way could just as easily infect Samba shares just
as it could MS shares.

Steve

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


Re: Daily reboots...

2004-10-14 Thread Steve Bertrand
 Hello all,

 I don't know why, but my system keeps restarting at about 14:00 or
 14:30 every day.  Really starting to p!ss me off.  Any ideas what
 could
 be causing this, or how I could find it?

As someone else suggested, I had a box like this late last year, and
found that when more than a normal amount of email came into the box,
clamav and SA would burn up the CPU, and it would just reboot.

Solution: I put the drive(s) into another box, and voila, problem was
solved.

Steve


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


Re: where to find security updates?

2004-10-14 Thread h
hermm.

you might wanna read /usr/ports/UPDATING before you do that.


On Thursday 14 October 2004 17:07, Alexandr wrote:
 On Thu, Oct 14, 2004 at 01:57:35PM +0200, Matthias F. Brandstetter wrote:
  Now my question is: How should/can I update mod_php4, if there is no
  update available?

 portupgrade -all
 wil upgrade all port installed on your system
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: antivirus

2004-10-14 Thread Alexandr
all users in my company use f-prot. I known they have version for freebsd. But 
I didn't known what can this antivirus on the FreeBSD.

On Thu, Oct 14, 2004 at 08:59:10AM -0400, Steve Bertrand wrote:
  On Thu, Oct 14, 2004 at 03:46:56PM +, Alexandr wrote:
  On Thu, Oct 14, 2004 at 04:40:05PM +0400, metallarch wrote:
   Does freebsd support any antivirus programs(server) for windows
  computers?
  clamav - this is antivirus for unix
  clamwin - this is antivirus for windows. It use databases for
  clamav.
 
  Kaspersky Antivirus (http://avp.ru) . I known admin who use it on the
  freebsd. But didn't know why...
 
 Possibly because the box was a mail server, or perhaps a file server
 that housed files for a network of Windows machines.
 
 Viruses can spread through NetBIOS shares, and I'm certain the ones
 that replicate this way could just as easily infect Samba shares just
 as it could MS shares.
 
 Steve
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


how redirect packet that came from other interface ?

2004-10-14 Thread Sex Maniac
Hello I got a problem.

1.
I have a NAT router using FreeBSD 4.9.
This router has 2 interfaces :
ed0 with external IP 111.222..444
ed1 with internal IP 10.10.10.1
I am using ipnat.
I have this rule on my ipnat.conf :
rdr ed0 111.222.333.444/32 port 41112 - 10.10.10.229
port 41112 tcpudp

2.
Problem arise when packet come from ed1.
Computer with IP 10.10.10.234 (with default gateway
10.10.10.1) try to connect to 111.222.333.444 port
41112. 
It's not redirected to 10.10.10.229 :(

How to solve this problem ?
I want the packet from network 10.10.10.0/24 is
redirected to 10.10.10.229 port 41112.

-Galon Aerosmith-



___
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Compiling 4-RELEASE on 5-STABLE

2004-10-14 Thread Subhro
On Thu, 14 Oct 2004 12:01:35 +0200, Erik Trulsson
[EMAIL PROTECTED] wrote:

 If you actually believe that I have a very nice bridge here you might
 be interested in.  It is certainly the goal that things which worked on
 4.x will continue to work in 5.x, and it might even work out that way
 in 99.99% of all cases, but *everything*? Not a bloody chance - there
 are always bugs that have yet to fixed (or even discovered).

The primary phrase which a developer must believe is No software is
100% foolproof. So speaking in that line, indeed no software
including the Releases of FreeBSD are 100% bug free. What I meant was,
the RELEASE, not STABLE is expected to work correctly and fight back
all the bugs that had been discovered till date. But I never meant it
is perfect. If it was, then we would never have patches or future
releases. And BTW I would be really interested to know about some
hardware/software which used to work under 4.X and stopped working
under 5.Y even after updating to the latest versions and applying all
patches/hacks. It is entirely probable and acceptable that out of the
box, a software natively made for 4.X will not work on 5.Y

 Depends. It it is a 486sx it will not run 5.x  (support for FPU-less
 systems has been removed.) I believe 5.x also needs a bit more memory
 than 4.x, so if that box has too little RAM it might be unbearably slow
 under 5.x

Yeh, I forgot to mention about the FPU. Thanks for adding up.

 And that is bullshit. It is of course possible to compile a 4.x binary
 on a 5.x box - just make sure you link against the right libraries (and
 in the case of C++ programs at least, compile with a compatible
 compiler.)  I don't know if it is possible to do this without jumping
 through an inordinate number of hoops however.

First of all, I guess u got a bit too aggresive which I believe is
unnecessary. Secondly, Try disassembling a 4.X binary and a 5.X
binary, you will understand what I mean. I have done it myself and I
am sure about it. Things start differing even more when you start
enabling things like unrolling loops and making things architecture
dependant with mcpu, march and similar flags. And btw I guess you
missed a word in my previous mail. I added the word native. Do
clarify if that was not clear to you what I meant by Native.

Regards
S.

-- 
Subhro Sankha Kar
School of Information Technology
Block AQ-13/1 Sector V
ZIP 700091
India
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Compiling 4-RELEASE on 5-STABLE

2004-10-14 Thread Subhro
On Thu, 14 Oct 2004 12:06:19 +0200, Erik Trulsson
[EMAIL PROTECTED] wrote:

snip

 You do realise that you can install gcc 3.4 on a 4.x machine and run
 the binaries compiled with it?
 For C++ the ABI has changed a couple of times betwenn gcc 2.95 and gcc
 3.4, but for C everything should work fine, as long as you link against
 the right libraries.

What I meant was the system compiler. And I have tried to use the
compiler from the ports as the system compiler. Try it out yourself
and you will know what I mean.

Regards
S.

-- 
Subhro Sankha Kar
School of Information Technology
Block AQ-13/1 Sector V
ZIP 700091
India
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Moving from P3 to Xeon

2004-10-14 Thread Toomas Aas
Hello!

I have a server running RELENG_4_9 on IBM eServer 220 (P3 CPU). I have 
'CPUTYPE=p3' in /etc/make.conf and I've built world (and a lot of 
ports) using this CPUTYPE setting.

Now, suppose I take the RAID controller with disks from this machine 
and put it into an eServer 225 which has a Xeon CPU. Would everything 
work OK?

--
Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/
* If Windows sucked, it would be good for something.

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


RE: Compiling 4-RELEASE on 5-STABLE

2004-10-14 Thread Walker, Michael
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Subhro
Sent: Thursday, October 14, 2004 2:24 PM
To: John Gillis; FreeBSD Questions
Subject: Re: Compiling 4-RELEASE on 5-STABLE


 Depends. It it is a 486sx it will not run 5.x  (support for FPU-less
 systems has been removed.) I believe 5.x also needs a bit more memory
 than 4.x, so if that box has too little RAM it might be unbearably slow
 under 5.x

Yeh, I forgot to mention about the FPU. Thanks for adding up.

Just on a side note here, could someone explain to me what a 'FPU-less'
system actually is?

Regards

-- 
Mick Walker
NAAFI Finance International


**
This email and any files transmitted with it are confidential, and may be subject to 
legal privilege, and are intended solely for the use of the individual or entity to 
whom they are addressed.  
If you have received this email in error or think you may have done so, you may not 
peruse, use, disseminate, distribute or copy this message. Please notify the sender 
immediately and delete the original e-mail from your system.

Computer viruses can be transmitted by e-mail. Recipients should check this e-mail for 
the presence of viruses. The Capita Group and its subsidiaries accept no liability for 
any damage caused by any virus transmitted by this e-mail.
***

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


Re: Moving from P3 to Xeon

2004-10-14 Thread Jorn Argelo
On Thu, 14 Oct 2004 16:36:35 +0300, Toomas Aas wrote
 Hello!
 
 I have a server running RELENG_4_9 on IBM eServer 220 (P3 CPU). I 
 have 'CPUTYPE=p3' in /etc/make.conf and I've built world (and a lot 
 of ports) using this CPUTYPE setting.
 
 Now, suppose I take the RAID controller with disks from this machine 
 and put it into an eServer 225 which has a Xeon CPU. Would 
 everything work OK?
 

Well, that depends on the type of Xeon. There are Xeons build on the 
Coppermine core (the same as the P3), but if you are migrating to a newer type 
of Xeon (nocona, for instance) then you could run into problems. Even if your 
machine boots without problems, it will probably lead to reduced performance. 
After all, you compiled everything for a P3. Unless you don't have another 
choice, I would suggest you start over again and compile everything for your 
new Xeon.

Cheers,

Jorn

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


Laptop wireless card

2004-10-14 Thread stan
I'm going back to traveling a bit, from not traveling at all for several
years.

I find that a lot of the motels internet access is now wireless only.

I've got a FreeBSD STABLE laptop, and I was wondering what the best brand
of card to but for it would be?

-- 
They that would give up essential liberty for temporary safety deserve
neither liberty nor safety.
-- Benjamin Franklin
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


md5 giving inconsistent results

2004-10-14 Thread David J. Weller-Fahy
I just installed 5.2.1-RELEASE on a RAID1 setup (atacontrol using
Sil0680 chipset), and was in the process of transfering files from my
old server.  However, I'm having an issue with the md5 sum of a file.
Here's my uname -a:

FreeBSD tigger.weller-fahy.com 5.2.1-RELEASE-p11
FreeBSD 5.2.1-RELEASE-p11 #0: Thu Oct 14 00:17:32 CEST 2004
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386

Here's the program I'm using:

 which md5
/sbin/md5

Here's the directory listing of the file (sized match on old server,
windows box, and new server):

 ls -al
total 714570
drwxr-xr-x   4 dave  dave512 Oct 13 20:45 ./
drwxr-xr-x  16 dave  dave   1024 Oct 13 21:14 ../
-rw-r--r--   1 dave  dave  731327140 Oct 11 21:52 files.tar.gz
-rw-r--r--   1 dave  dave162 Oct 13 20:44 files.tar.gz.md5
drwxr-xr-x   2 dave  dave512 Oct 11 22:21 php/
drwxr-xr-x   3 dave  dave   1536 Oct 11 21:39 qmail/

Here's the md5 from the old server:

dave[tigger]/files md5 files.tar.gz
MD5 (files.tar.gz) = 986a79245120f645b2a546fa6567d8ab

Here's three runs of md5 from the new server:

 md5 files.tar.gz
MD5 (files.tar.gz) = c57f4d82f32d698c16f0d792761ce9d6
 md5 files.tar.gz
MD5 (files.tar.gz) = 933608fc706c652b7d3ef2f5115d3ead
 md5 files.tar.gz
MD5 (files.tar.gz) = d8cd06f700b612fee72c39d5bc39df5a

And the md5 on a windows box:

C:\Documents and Settings\dave\Desktopmd5sum files.tar.gz
986a79245120f645b2a546fa6567d8ab *files.tar.gz

Just tried the same thing using md5deep from ports on the old and new
server, and got similar results: md5 sums are inconsistent when
calculated on the new server.

So.  What's my next step in figuring this out?  I was using the
following flags for optimization, but stopped and rebuilt world with no
optimization flags (except MAKE_IDEA=yes and LEAPSECONDS=YES).

CPUTYPE?=athlon-xp
CFLAGS= -O -pipe
CXXFLAGS+= -fmemoize-lookups -fsave-memoized
MAKE_SHELL?=sh
COPTFLAGS= -O -pipe
MAKE_IDEA=YES   # IDEA (128 bit symmetric encryption)
LEAPSECONDS=YES

I'm at a bit of a loss, and am about ready to try a reinstall, any
suggestions other than that and memtest86 (which I'll be trying next)?
Oh, and any pointers towards information that I failed to provide will
be gratefully accepted.

Regards,
-- 
dave [ please don't CC me ]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Moving from P3 to Xeon

2004-10-14 Thread Toomas Aas
Hi!

 Well, that depends on the type of Xeon. There are Xeons build on the 
 Coppermine core (the same as the P3), but if you are migrating to a newer type 
 of Xeon (nocona, for instance) then you could run into problems. Even if your 
 machine boots without problems, it will probably lead to reduced performance. 
 After all, you compiled everything for a P3. Unless you don't have another 
 choice, I would suggest you start over again and compile everything for your 
 new Xeon.

The problem is, I could get this new machine without HDs, so the only 
option would be to move the RAID controller and disks over from the old 
server. And yes, this is P4 Xeon, so it's not the same core.

(Somewhat) reduced performance is not my biggest concern. If I can 
bring the server up (even with reduced performance) then I can rebuild 
stuff as time permits. 

Actually, I was thinking, does the code that GCC 2.9.5 generates even 
make difference between CPUTYPE=p3 and CPUTYPE=p4 ?
--
Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/
* One can never know for sure what a deserted area looks like.

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


Re: Compiling 4-RELEASE on 5-STABLE

2004-10-14 Thread Matthew Seaman
On Thu, Oct 14, 2004 at 02:45:38PM +0100, Walker, Michael wrote:

 [mailto:[EMAIL PROTECTED] Behalf Of Subhro

 Yeh, I forgot to mention about the FPU. Thanks for adding up.
 
 Just on a side note here, could someone explain to me what a 'FPU-less'
 system actually is?

Ancient history.  FPU means 'Floating Point Unit' -- ie. the bit of
the CPU that handles arithmetic etc. on floading point numbers.  Way
back in the mists of processor pre-history, the original 8086 was an
integer-only CPU.  The same applied to the 80186, 80286 and 80386,
although by that time it had grown a companion chip the 80n87 which
held the FPU.  By the time the 80486 came along, the FPU was
incorporated into the main CPU silicon, although there were some
cheapo 486 chips where the FPU had failed during manufacturing, sold
as integer only processors.

In order to run Unix on such systems, it was necessary to provide a
software library to emulate the FPU system.  FreeBSD actually came
with a choice of two.  All obsolete now.

All other IA32 architecture CPUs have had a built in FPU as standard,
as do all modern general purpose CPU chips.  

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgpxcIcQd3FXm.pgp
Description: PGP signature


Re: Daily reboots...

2004-10-14 Thread Charles Ulrich

Steve Bertrand said:
 Hello all,

 I don't know why, but my system keeps restarting at about 14:00 or
 14:30 every day.  Really starting to p!ss me off.  Any ideas what
 could
 be causing this, or how I could find it?

 As someone else suggested, I had a box like this late last year, and
 found that when more than a normal amount of email came into the box,
 clamav and SA would burn up the CPU, and it would just reboot.

 Solution: I put the drive(s) into another box, and voila, problem was
 solved.

 Steve

I had a similar problem on 4.10 awhile back. After checking and rechecking the
hardware and swapping out power supplies, I noticed that the reboots rougly
coincided with heavy outgoing Samba traffic. I upgraded to 5.2.1 and haven't
had a problem since.

-- 
Charles Ulrich
System Administrator
Ideal Solution, LLC - http://www.idealso.com

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


Re: Compiling 4-RELEASE on 5-STABLE

2004-10-14 Thread Ruben de Groot
On Thu, Oct 14, 2004 at 06:53:31PM +0530, Subhro typed:

[...]

 First of all, I guess u got a bit too aggresive which I believe is
 unnecessary. Secondly, Try disassembling a 4.X binary and a 5.X
 binary, you will understand what I mean. I have done it myself and I
 am sure about it. Things start differing even more when you start
 enabling things like unrolling loops and making things architecture
 dependant with mcpu, march and similar flags. And btw I guess you
 missed a word in my previous mail. I added the word native. Do
 clarify if that was not clear to you what I meant by Native.

Install 4.x in a subdirectory of your 5.x system. chroot(8) into that 
directory; then build native world and kernels all you want.

too easy.

Ruben

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


Re: RAID 1 in HP NetServer LC 2000

2004-10-14 Thread Muhammad Reza
Muhammad Reza wrote:
Greg 'groggy' Lehey wrote:
On Monday, 11 October 2004 at  5:55:24 +0700, Muhammad Reza wrote:
 

Ok.. vinum then..
but i have error when applied this vinum.conf
drive drive1 device /dev/da0s1e
drive drive2 device /dev/da1s1e
volume usr setupstate
plex org concat
  sd length 13887091s drive drive1
plex org concat
  sd length 13887091s drive drive2
volume var setupstate
plex org concat
  sd length 0 drive drive1
plex org concat
  sd length 0 drive drive2
mail# vinum
vinum - create -f /etc/vinum.conf
 2: drive drive2 device /dev/da1s1e
/*** 2 : Invalid argument*/
1 drives:
D drive1State: up   Device /dev/da0s1e  Avail:
0/16488 MB (0%)
D drive2State: referenced   Device /dev/da1s1e
Avail: 0/0 MB
2 volumes:
V usr   State: up   Plexes:   2 Size:   
6780 MB
V var   State: up   Plexes:   2 Size:   
9707 MB

4 plexes:
P usr.p0  C State: up   Subdisks: 1 Size:   
6780 MB
P usr.p1  C State: up   Subdisks: 1 Size:   
6780 MB
P var.p0  C State: up   Subdisks: 1 Size:   
9707 MB
P var.p1  C State: up   Subdisks: 1 
Size:  0  B

4 subdisks:
S usr.p0.s0 State: up   PO:0  B Size:   
6780 MB
S usr.p1.s0 State: up   PO:0  B Size:   
6780 MB
S var.p0.s0 State: up   PO:0  B Size:   
9707 MB
S var.p1.s0 State: up   PO:0  B 
Size:  0  B

which argumen is invalid ? i use 4.10 ..
please help me...
  

Take a look at the man page or
http://www.vinumvm.org/vinum/how-to-debug.html.
Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original 
recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.
 

Dear All,
After read some paper and man page of vinum, i still have some 
difficulty.
I have 2 disk identical disk that i want to mirrored 1:1 (RAID-1), 
first disk label is

/#disklabel /da0
--snip--
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
 a:  102400004.2BSD 2048 1638490   # (Cyl.0 - 
63*)
 b:  1048576  1024000  swap# (Cyl.   63*- 
129*)
 c: 358409520unused0 0 # (Cyl.0 - 
2230*)
 e: 33768376  20725764.2BSD 2048 1638489   # (Cyl.  129*- 
2230*/)

/#cat /etc/fstab
/dev/da0s1b noneswapsw  0   0
/dev/da0s1a /   ufs rw  1   1
/dev/da0s1e /usrufs rw  2   2
/dev/acd0c  /cdrom  cd9660  ro,noauto   0   0
proc/proc   procfs  rw  
0   0/

my question is ;
how to prepare second disk layout (ad1) and rename it,  so it can user 
RAID-1 and boot from the second one if ad0  fail ?
Please help me.

regards
reza



so i  prepare second disk layout like this :
/rootback with same size with / at 1st disk
/swap   with same size with swap at 1st disk
/NOFUTURE remaining size
now i have RAID-1 at my NetServer.
regards
reza
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: TV server...

2004-10-14 Thread Angelo Turetta
helloassvsgate wrote:
Hello!  I have a question . Do it have a program in ports ?
 I mean , a program , that can build a tv server .
 And clinet can connect to the server to watch TV by internet .
 Such as web TV . thanks!
-
Yahoo!
You can try http://www.freshports.org/multimedia/vlc/, read their docs 
at http://www.videolan.org/

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


Re: antivirus

2004-10-14 Thread Mike Doyle

At 13:40 14/10/2004, metallarch wrote:
Does freebsd support any antivirus programs(server) for windows computers?
At my site, we have a 100 user licence for Sophos AV,
and it supports Windows, Mac OS 8+ and OS X, and various unix
flavours including both FreeBSD 3.x and FreeBSD 4.x
In FreeBSD I use the sophos sweep on demand scanner to scan incomming
mail attachments before delivering them to user mail boxes. Desktop
users have the on-access scanner running all the time in their MS
Windows and/or Mac OSX environments.
We use Sophos on the Unix server cause I think it's the best fit for our
organisation as a whole (especially the Windows desktop  file server
which is what the majority of machines run... though not the majority
of our servers).
Hope this helps.
 === 
Michael Doyle  email: [EMAIL PROTECTED]
Network Administrator  mobile: +353 87 235 7853
Co-operation Ireland  http://www.cooperationireland.org/
Phone: +353-1-661 0588 Fax: +353-1-661 8456
***
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Laptop wireless card

2004-10-14 Thread Eric Kjeldergaard
On Thu, 14 Oct 2004 09:57:47 -0400, stan [EMAIL PROTECTED] wrote:
 I'm going back to traveling a bit, from not traveling at all for several
 years.
 
 I find that a lot of the motels internet access is now wireless only.
 
 I've got a FreeBSD STABLE laptop, and I was wondering what the best brand
 of card to but for it would be?

http://www.freebsd.org/releases/4.10R/hardware-i386.html#AEN1395
You may want to look here for a list of a few.  and if you keep up
with -STABLE (which is to say are upgrading to 5.3) you will be able
to find a similar list provided for it.  I cannot really speak for the
best brand, but I used the Netgear MA401 in my last laptop and it
worked while...while it lasted.  It's kind of a 3 - 6 month lifespan
card, but was supported and thin enough that my other pcmcia slot was
open.  I've moved to built-in recently and use one of the atheros
chipsets.  I am much more happy with this solution, personally.  I've
heard that the orinoco chipset is in some cards that are both
high-reception and sturdy.  Perhaps cards by IBM or Cisco is where to
look for higher quality cards.  But again, I went with the Netgear
because it was like 10ish dollars on ebay.  Good luck :)

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


vcd problem

2004-10-14 Thread Osmany Guirola Cruz
Hi i have a problem with a  vcd i cant mount it
i get this error 

acd0: FAILURE - READ_BIG ILLEGAL REQUEST asc=0x64 ascq=0x00 
error=1ILLEGAL_LENGTH

What is this?

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


Compiling mod_proxy WITHOUT apache2

2004-10-14 Thread Stephan A. Rickauer
Hi there,
I successfully run an apache2 server on freebsd 4.10. Now I realised 
that I've forgot to compile mod_proxy. Is there a way to only compile 
the module without compiling whole apache2 and destroying my current 
binary? Maybe a stupid question - I am rather new to bsd ..

Thanks for any hint!
--
Stephan A. Rickauer

Institut für Neuroinformatik
IT-Koordinator
Universität / ETH Zürich
Winterthurerstr. 190
CH-8057 Zürich
Tel: +41 1 635 30 50
Sek: +41 1 635 30 52
Fax: +41 1 635 30 53
http://www.ini.unizh.ch
[EMAIL PROTECTED]

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


placing syslogd logs into postgresql

2004-10-14 Thread asolomon15
Does anyone know of any scripts or programs that can place syslogd logs 
into database tables?

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


Re: automount vs Solaris

2004-10-14 Thread Lowell Gilbert
Matthew Seaman [EMAIL PROTECTED] writes:

 On the other hand, there is this:
 
 http://lists.freebsd.org/pipermail/freebsd-current/2004-September/036786.html
 
 
 http://www.freebsd.org/cgi/getmsg.cgi?fetch=1001154+0+/usr/local/www/db/text/2004/cvs-all/20040905.cvs-all
 
 so there will be autofs support in 5.3-RELEASE.

That's on 6.x, not 5.x; is there any reason to think it will get
MFC'd?  [At all; I'd be surprised if release engineering okayed
it for 5.3.]

Be well.
-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org:8088/~lowell/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Wireless card problem.

2004-10-14 Thread Hauan, David
 -Original Message-
 From: Laszlo Antal [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, October 13, 2004 11:32 AM
 To: [EMAIL PROTECTED]
 Subject: Wireless card problem.
 
 
 I have 4.10 FreeBSD installed on my laptop.
 Everything working fine exept the Wireless network card stop working 
 after about 5-10min. I disable the APM in the kernel but it still 
 stops.
 At boot up when the startup bring up my network cards the wireless
 card on the bottom is POWERSAVING OFF POWERSLEEPING 100!!
 My last idea is the POWERSLEEPING 100 is the problem but I 
 could not 
 figureout how to disable or set it to OFF.
 
 Can somebody point me in the right direction?
 
 Thank you Laszlo
 
how 'bout -powersave.
man ifconfig

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


Re: Xorg and ATI Rage-Mobility (resolved)

2004-10-14 Thread doug
A fix is in the works for this problem, look for CHANGELOG #133. Hopefully Xorg
will also pick this up.


-- Forwarded message --
Date: Thu, 14 Oct 2004 08:40:47 -0600 (MDT)
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: [XFree86] ATI Rage Mobility AGP 2x with XFree86 4.4

On Wed, 13 Oct 2004 [EMAIL PROTECTED] wrote:

 The XF86Config is attached for reference. I am using FreeBSD 5.3 and trying to
 install XFree86 4.4. I currently am running XFree86 4.3 (so I can write this
 email :)

 The attached file works and has worked with 4.0 - 4.3 of XFree86. On 4.4
 starting xdm yields a black screen with no errors logged to
 /var/log/XFree86.0.log. xdm starts and can be canceled.

 The hardware is a Dell Inspiron 7500 circa 10/99. The problem seems to track the
 ATI Rage Mobility card as another FreeBSD user with the same card on an IBM
 ThinkPad is having the same symptoms.

[cut]

 Is this a know problem? I could not find it in the active bug list. Any work
 around-s?

This should be fixed as of 4.4.99.7, specifically CHANGELOG #133.  There are no
workarounds.

[cut]

_
Douglas Denault
http://www.safeport.com
[EMAIL PROTECTED]
Voice: 301-469-8766
  Fax: 301-469-0601

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


Re: Problem regarding dhcp and FreeBSD 4.10 on a laptop

2004-10-14 Thread Scott Key
I checked the resolv.conf file, but alas, it had the proper information in 
it. The laptop still can't connect to the internet, I've even tried using a 
linksys wireless-B USB network adapter and the WAP key to try and connect, 
but no go.
- Original Message - 
From: Deceased [EMAIL PROTECTED]
To: Scott Key [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Monday, October 04, 2004 7:02 PM
Subject: Re: Problem regarding dhcp and FreeBSD 4.10 on a laptop


Scott Key wrote:
I have a Toshiba Satellite that used to run Win 98 until I got fed up and 
installed FreeBSD. This is my first FreeBSD installation, though I 
received help from a few people more knowledgable than I. The problem I 
am having is this: I have comcast broadband internet on a Linksys 
Wireless-G Gateway Modem/Router. I have two other computers that run 
windows, both of which have no problem using dhcp to obtain their IP 
addresses. For reasons that I have been unable to figure out after days 
of searching the internet, DHCP will assign a proper IP when 
pccard_ifconfig is set to use it in the rc.conf. The problem is that I am 
unable to get past the network. I can ping within the network to my 
hearts content, and if pinging my router and other computers was 
entertaining for more than five seconds, I'd be dandy. I have tried 
setting static IP's, I've tried manually adding the route's needed into 
the routing table, but NOTHING thus far has allowed be get outside the 
network. I contacte
d my cable company, who dutifully reported to me that they have no idea 
what FreeBSD is, anything other than Windows or Mac, and they are useless. 
In any event, I hope that some help can be provided in this matter. 
Everything else with FreeBSD works wonderfully, but for some reason, it 
simply will not allow me access the internet. Just to clarify, the PCcard 
is being recognized by FreeBSD, I added it in, it works fine. I have 
configured rc.conf to include a pccard_ifconfig (currently it's set to 
DHCP, which seems to be setting the appropriate ip address). Any help that 
could be offered would be most appreciated.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]


I dont know but it may by that you have blank resolv.conf . Put there your 
providers DNS server ip address.


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


Re: antivirus

2004-10-14 Thread Daniel Bye

On Thu, 14 October, 2004 1:40 pm, metallarch said:
 Does freebsd support any antivirus programs(server) for windows computers?

clamav (in the ports, naturally) can be used to scan mail (I use it with
Exim and the exiscan patch - works very well), and can be used as the av
scanner for samba-vscan (also in the ports), which provides on-access
virus scanning of samba shares.

It can also be used from the command line to do ad-hoc scanning as and
when you need it.

You will need to run a client program on the Windows machines to do
on-access scanning of local file systems.

There are many other solutions - I guess your best bet is to try a few and
see how you get on.  The appeal of clamav to me is that it is free, and
stable.

HTH,

Dan

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: 3B9D 8BBB EB03 BA83 5DB4 3B88 86FC F03A 90A1 BE8F
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \

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


RE: Making a partition smaller

2004-10-14 Thread Valerian Galeru
How to make the /usr(for example) smaller ?



___
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: automount vs Solaris

2004-10-14 Thread Alfred Perlstein
* Lowell Gilbert [EMAIL PROTECTED] [041014 08:55] wrote:
 Matthew Seaman [EMAIL PROTECTED] writes:
 
  On the other hand, there is this:
  
  http://lists.freebsd.org/pipermail/freebsd-current/2004-September/036786.html
  
  
  http://www.freebsd.org/cgi/getmsg.cgi?fetch=1001154+0+/usr/local/www/db/text/2004/cvs-all/20040905.cvs-all
  
  so there will be autofs support in 5.3-RELEASE.
 
 That's on 6.x, not 5.x; is there any reason to think it will get
 MFC'd?  [At all; I'd be surprised if release engineering okayed
 it for 5.3.]

I'll probably immediately MFC it after the release.

Since it works on 4.x I might even bring it back there.

The main issue is that no one has stepped forward to write
the glue between my autofs and amd(8).  I'm too busy right now.

You can have fun with /usr/share/examples/autofs/autodriver
if you want to expiriment or try your own.

-- 
- Alfred Perlstein
- Research Engineering Development Inc.
- email: [EMAIL PROTECTED] cell: 408-480-4684
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Two Nics Two IP's same subnet what's going wrong ?

2004-10-14 Thread Brian
Hi

When I started this I thought this would be very simple and very straight
forward

From my isp I have a scope of ip's /29

What I'm trying to setup is ISP - nic fxp0 fixed external ip
Give the second nic the next ip in the range same subnet

And connect a 2nd machine with the next ip same subnet and connect it using
a xover to the second card

All nics have external ip address's I don't want to use nat

Why I'm using the xover is a complicated story.

So the simple question is there an easy way to set this up using the current
hardware without natd.

Cheers

Brian

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.773 / Virus Database: 520 - Release Date: 05/10/2004
 

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


Re: Two Nics Two IP's same subnet what's going wrong ?

2004-10-14 Thread TM4525
If both NICs are on the same network then you should set up bridging, not 
routing. Although some system may kludge it, the entire point of routing is that 
different network segments have different addresses.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD and poor ata performance

2004-10-14 Thread fandino
Hello list,
This is an interesting issue. While I was installing  FreeBSD 5.3BETA7
I wonder about the performance that the new branch will bring to my
computer, and it was a deception how bad FreeBSD performs compared
with Linux on the same hardware (even I repeat the test on different PC
with identical results).
A simple test is create one gibabyte file and later read this file again. To
conduct an impartial test the disk (in UDMA5 mode), was formated in both
operating systems with the native filesystem just to be sure that the
physical position of the file will be the same in both tests.
for linux it took about 23 seconds write the file and 18 read it.
# time dd if=/dev/zero of=aa bs=1024k count=1024
1024+0 records in
1024+0 records out
real0m23.408s
user0m0.000s
sys0m4.470s
# time dd if=aa of=/dev/null bs=1024k
1024+0 records in
1024+0 records out
real0m18.311s
user0m0.000s
sys0m5.850s
and for FreeBSD it took 40 seconds write the file and 42 read it:
# dd if=/dev/zero of=aa bs=1024k count=1024
1024+0 records in
1024+0 records out
1073741824 bytes transferred in 40.143630 secs (26747502 bytes/sec)
# dd if=aa of=/dev/null bs=1024k
1024+0 records in
1024+0 records out
1073741824 bytes transferred in 42.711242 secs (25139560 bytes/sec)
so as you can see linux was two times faster that FreeBSD :-?
I would like to know if anyone knows  if this is normal or
is a bug?
thank you.
dmesg:
http://lists.freebsd.org/pipermail/freebsd-geom/2004-October/000350.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Make Error? What is wrong?

2004-10-14 Thread Lynette Tillner
On my Web Server, which I have a Virtual Private Server account on a machine at an ISP 
with 2 gig of disk space running on FreeBSD 4.8

I used to cvsup to add a FEW ports  security and mail most importantly so I can add 
some spam and virus filtering to Sendmail.  

Now when I cd (as su) to /usr/ports/security/clamav
and then type make install at the prompt, 
I get the following error: 

[EMAIL PROTECTED] clamav]# make install
make: don't know how to make install. Stop

I can't seem to run any make command in any directory.  What do I need to do to get 
this to work?

when I enter make with nothing else, I get:
[EMAIL PROTECTED]  clamav]# make
make: no target to make.

What do I need to do to get this working?  (I'm a newbie BTW so any actual step by 
step instructions would help!)
Thanks!
Lynette
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD and poor ata performance

2004-10-14 Thread Kenneth Culver
Quoting fandino [EMAIL PROTECTED]:
Hello list,
 This is an interesting issue. While I was installing  FreeBSD 5.3BETA7
I wonder about the performance that the new branch will bring to my
computer, and it was a deception how bad FreeBSD performs compared
with Linux on the same hardware (even I repeat the test on different PC
with identical results).
A simple test is create one gibabyte file and later read this file again. To
conduct an impartial test the disk (in UDMA5 mode), was formated in both
operating systems with the native filesystem just to be sure that the
physical position of the file will be the same in both tests.
for linux it took about 23 seconds write the file and 18 read it.
# time dd if=/dev/zero of=aa bs=1024k count=1024
1024+0 records in
1024+0 records out
real0m23.408s
user0m0.000s
sys0m4.470s
# time dd if=aa of=/dev/null bs=1024k
1024+0 records in
1024+0 records out
real0m18.311s
user0m0.000s
sys0m5.850s
and for FreeBSD it took 40 seconds write the file and 42 read it:
# dd if=/dev/zero of=aa bs=1024k count=1024
1024+0 records in
1024+0 records out
1073741824 bytes transferred in 40.143630 secs (26747502 bytes/sec)
# dd if=aa of=/dev/null bs=1024k
1024+0 records in
1024+0 records out
1073741824 bytes transferred in 42.711242 secs (25139560 bytes/sec)
so as you can see linux was two times faster that FreeBSD :-?
I would like to know if anyone knows  if this is normal or
is a bug?
thank you.
FreeBSD might be slower at using /dev/zero it might not be the ata
performance. I've never seen any problem with FreeBSD's ata performance on my
hardware.
Ken
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Etherboot: pkg-descr gives wrong instructions !

2004-10-14 Thread Frank Laszlo


Could somebody please fix this?
Regards,
Rob.
Generally we encourage people to use send-pr for things like this. And 
if you really want some brownie points, send a patch
to fix the issue!

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


HZ=100 ?? vmware

2004-10-14 Thread dick hoogendijk
Okey, I found out I need to increase the HZ=100 default in the kernel
config to a higher number. I also understand it decreases  system
response times.

So, what I need to know is the lowest setup for HZ=??? to be able to run
vmware3 in full screen. I got to get rid of the rtc: 100  kern.hz
prompt.

Google tells me to increase to HZ=1200 but is this not too high?

-- 
dick -- http://www.nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.10 ++ Debian GNU/Linux (Woody)
+ Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


IPFW NATD

2004-10-14 Thread Brian
Hi

I'm trying to setup natd to port forward to a http,ftp and vnc server behind
the natd box

But I only want a customer from their static ip address to be able to login
and block everything else

Is this possible in an natd enviroment?

Any examples?

Port forwarding works ok, I just can't figure out the rules to stop everyone
and allow this one client

Cheers

Brian

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.773 / Virus Database: 520 - Release Date: 05/10/2004
 

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


how to make use of Logitech Deluxe keyboard?

2004-10-14 Thread Geert Hendrickx
Hi there, 

I've got this shiney new Logitech Deluxe Access Keyboard (didn't
choose it myself).  It has all kinds of extra keys (e-mail, messenger,
webcam, sound volume control, play/stop/prev/next, and many, many
others).  Of course, all this extra functionality does not work in
FreeBSD.  

However, I would like to make use of these keys my own way.  Does anyone
have experience with this?  How can I assign functions to these non-
standard keys?  And maybe do you have some good ideas which functions to
assign to them?  I was thinking about (un)mounting devices, xlock, and
even some meant-to-be functions such as volume control.  

Or should I just waste these extra keys?  

GH

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


RE: Association Problem with Multiple APs

2004-10-14 Thread Hauan, David


 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, October 07, 2004 2:47 PM
 To: [EMAIL PROTECTED]
 Subject: Association Problem with Multiple APs
 
 
 
 Hello list,
 
 I am running the 4.9 release of FreeBSD on an embedded 
 net4521 box and my problem is:
 
 Recently a wireless ISP put up an antenna in our apartment 
 complex. Now for some reason, my 4521 (and my iBook with 
 regular AirPort, also BSD based??) favor the wireless ISP's 
 connection over my own LinkSys access point.  The ISP's 
 antenna runs on channel 1 and consistently has a stronger 
 signal than my own AP (channel 6).  I have tried changing my 
 own AP's channel to no avail.
 
 Each time I issue the commands to associate with my AP the 
 4521 merely connects to the ISP rather than my specified 
 SSID.  If I check wicontrol or ifconfig it reports that the 
 desired netname is my AP, but the current netname always ends 
 up to be the ISP's AP.  This is extremely irritating.
 
 I recently got a wireless card (NL-2511CD Plus EXT2 802.11b 
 PCMCIA by SENAO) w/ the prism 2.5 chipset, and the 
 aforementioned problem is only with this card.  My older card 
 (a 3com 3CRWE737A PCMCIA) works
 *relatively* well, but I wanted to upgrade so...
 
 
 Has anyone had this problem, and does anyone have a 
 suggestion to fix it? Any insight into the BSD or the OS X 
 problem would be greatly appreciated!
 
 Thanks.. Tyler
 
 -
 Below is specific info if anyone cares to peruse it:
 -
 
 --- The Senao Card Initalizes:
 
 pccard: card inserted, slot 0
 Mar 15 22:30:14 soekrismini1 pccardd[58]: Card 
 INTERSIL(HFA384x/IEEE) [Version 01.02] [] matched 
 INTERSIL (HFA384x/IEEE) [(null)] [(null)] wi0 at port 
 0x240-0x27f irq 10 slot 0 on pccard0
 wi0: 802.11 address: xx:xx:xx:xx:xx:xx
 wi0: using RF:PRISM2.5 MAC:ISL3873
 wi0: Intersil Firmware: Primary 1.01.00, Station 1.04.09
 Mar 15 22:30:19 soekrismini1 pccardd[58]: wi0: INTERSIL 
 (HFA384x/IEEE) inserted
 
 --- I try to join my desired access point:
 
 ifconfig wi0 inet ssid My Access Point media DS/11Mbps
 
 --- and the card joins the access point of the wireless ISP 
 (Which has 
 --- a
 stronger signal) instead...
 
 wi0: flags=8842BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
 ether xx:xx:xx:xx:xx:xx
 media: IEEE 802.11 Wireless Ethernet DS/11Mbps
 status: associated
 ssid StupidAssISP 1:My Access Point
 stationname FreeBSD WaveLAN/IEEE node
 channel 1 authmode OPEN powersavemode OFF powersavesleep 100
 wepmode OFF weptxkey 1
 
 --- wicontrol -L lists:
 
 NIC serial number:  [ ]
 Station name:   [ FreeBSD WaveLAN/IEEE node ]
 SSID for IBSS creation: [ My Access Point ]
 Current netname (SSID): [ StupidAssISP ]
 Desired netname (SSID): [ My Access Point ]
 Current BSSID:  [ xx:xx:xx:xx:xx:xy ]
 Channel list:   [ 2047 ]
 IBSS channel:   [ 3 ]
 Current channel:[ 1 ]
 Comms quality/signal/noise: [ 92 154 11 ]
 Promiscuous mode:   [ Off ]
 Process 802.11b Frame:  [ Off ]
 Intersil-Prism2 based card: [ 1 ]
 Port type (1=BSS, 3=ad-hoc):[ 1 ]
 MAC address:[ xx:xx:xx:xx:xx:xx ]
 TX rate (selection):[ 11 ]
 TX rate (actual speed): [ 2 ]
 RTS/CTS handshake threshold:[ 2347 ]
 Create IBSS:[ Off ]
 Access point density:   [ 1 ]
 Power Mgmt (1=on, 0=off):   [ 0 ]
 Max sleep time: [ 100 ]
 WEP encryption: [ Off ]
 TX encryption key:  [ 1 ]
 Encryption keys:[  ][  ][  ][  ]
 Available APs:
 StupidAssISP  [ xx:xx:xx:xx:xx:xy ]  [ 1  ]  [ 46 60 14 ]  100
 [ ess ]   [ 1.0 2.0 5.5 11.0 ]  * 11.0 *
 My Access Point  [ xx:xx:xx:xx:xx:xz ]  [ 6  ]  [ 31 42 
 11 ]  100  [ ess ]  [ 1.0 2.0 5.5 11.0 ]  * 1.0 *
 
 --- Incidentally, it works correctly with the above process with the 
 --- card
 below:
 
 soekrismini1 pccardd[58]: Card 3Com(3CRWE737A AirConnect 
 Wireless LAN PC
  Card) [1.00] [[none]] matched 3Com (3CRWE737A AirConnect 
 Wireless LAN  PC Card) [(null)] [(null)] wi0 at port 
 0x280-0x2c7 iomem 0xd5000-0xd53ff irq 10 slot 0 on pccard0
 wi0: 802.11 address: xx:xx:xx:xx:xx:xx
 wi0: using RF:PRISM2 MAC:HFA3841
 wi0: Symbol Firmware: Primary 2.01.02, Station 2.51.04
 Mar 15 22:41:21 soekrismini1 pccardd[58]: wi0: 3Com 
 (3CRWE737A AirConnect Wireless LAN PC Card) inserted.

Have you tried forcing the channel?

ifconfig wi0 inet ssid My Access Point media DS/11Mbps channel 6

dave

RE: IPFW NATD

2004-10-14 Thread Kevin Glick
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Brian 
Sent: Thursday, October 14, 2004 11:01 AM
To: 'FreeBSD Questions'
Subject: IPFW NATD

Hi

I'm trying to setup natd to port forward to a http,ftp and vnc server behind
the natd box

But I only want a customer from their static ip address to be able to login
and block everything else

Is this possible in an natd enviroment?

Any examples?

Port forwarding works ok, I just can't figure out the rules to stop everyone
and allow this one client

Cheers

Brian

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.773 / Virus Database: 520 - Release Date: 05/10/2004
 

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



Brian,
If you've got the portforwarding working, then a few IPFW rules will add the
security you're looking for.  If your divert rule is number 100, then add a
few rules above it, like this:

ipfw add 50 skipto 100 tcp from [static.ip.of.customer] to
[public.ip.of.nat.box] 80
ipfw add 51 skipto 100 tcp from [static.ip.of.customer] to
[public.ip.of.nat.box] 21
ipfw add 52 skipto 100 tcp from [static.ip.of.customer] to
[public.ip.of.nat.box] [VNC port]
ipfw add 53 deny tcp from any to [public.ip.of.nat.box] 80
ipfw add 54 deny tcp from any to [public.ip.of.nat.box] 21
ipfw add 55 deny tcp from any to [public.ip.of.nat.box] [VNC port]


The first three rules pass the traffic from the specified IP, to the divert
rule, to natd, and get portforwaded.  Any other traffic on those ports get
blocked, and doesn't get diverted.

Kevin Glick
ITS Manager
Sterling Business Forms
[EMAIL PROTECTED]


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


Re: how do I suppress system messages?

2004-10-14 Thread Lynette Tillner
I did this, and even did a reboot of the server but the messages haven't
stopped.  Since this is a machine managed by my ISP (I don't have a full
dedicated server, just a Virtual Private Server with 2 gig of disk space)
could something be overriding my syslog.conf file?  I looked at rc.conf but
didn't see anything that I thought was appropriate to comment out.

Also, I can't switch to another tty because my only access is remote --- I
don't have console access.

Thanks!
Lynette

- Original Message - 
From: Eric Crist [EMAIL PROTECTED]
To: Kevin Glick [EMAIL PROTECTED]
Cc: 'Lynette Tillner' [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Wednesday, October 13, 2004 12:12 PM
Subject: Re: how do I suppress system messages?

On Oct 13, 2004, at 2:08 PM, Kevin Glick wrote:

 Lynette,

 System messages print out to the console on tty0 only, by default.  If
 you
 want to use the console, switch to tty1 or above.  Do this by
 ALT+2(tty1),
 ALT+3(tty2), etc.
 When you're in Vi, and syslog prints across the screen, using CTRL+L
 will
 re-draw the screen, and remove the syslog messages.
 If you want to get rid of the messages altogether, look into disabling
 syslogd, via /etc/rc.conf.  (Man syslogd, or check
 /etc/defaults/rc.conf for
 syslogd.

 Kevin Glick
 ITS Manager
 Sterling Business Forms
 [EMAIL PROTECTED]


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Lynette Tillner
 Sent: Wednesday, October 13, 2004 11:21 AM
 To: [EMAIL PROTECTED]
 Subject: how do I suppress system messages?

 This is something that drives me crazy but I've not been able to find
 a way
 to stop it.

 When I log into my FreeBSD 4.6 Web Server as root, I get messages from
 sendmail that I can't suppress with dmesg.  They are a real pain
 because
 they even come across the screen when I'm using VI to edit files and
 then I
 can't figure out the line I was in the middle of editing, and end up
 doing a
 :q! and starting over, very frustrating because we get tons of mail
 and it
 seems like I can't do anything as root because of these messages.

 Is there a command that will suppress the messages?   I remember being
 able
 to do that when I was working on an HP-UX system but haven't figured
 it out
 under FreeBSD.

 Thanks for any help!

 Lynette


You can also disable this by editing the file /etc/syslog.conf and
commenting out the following line:

*.err;kern.debug;auth.notice;mail.crit  /dev/console

Simply put a # in front, save the file, and restart syslogd by doing
the following as root:
# killall -1 syslogd

HTH
-
Eric F Crist
Secure Computing Networks

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


Re: Upgrading Bind

2004-10-14 Thread Jonathan Chen
On Wed, Oct 13, 2004 at 08:53:54PM -0400, questions wrote:
 
 Hello list,
 
   Current O/S version = FreeBSD 4.10-RELEASE
   Current Bind version = named 8.3.7-REL
 
   Does anyone know if upgrading Bind/named 8.3.7 to 9.3 is
 recommended within 4.10-RELEASE? If so can this be accomplished using the
 portupgrade command or should a different method be used like downloading
 bind9.tar.gz file and running make install?

What I did was:

# cd /usr/ports/dns/bind9
# make install clean

and updated /etc/rc.conf with

named_program=/usr/local/sbin/named

worked fine for me. I chose not to overwrite the system's version.
-- 
Jonathan Chen [EMAIL PROTECTED]
--
With sufficient thrust, pigs fly just fine. However, this is not necessarily
a good idea. It is hard to be sure where they are going to land, and it
could be dangerous sitting under them as they fly overhead. -- RFC 1925
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Compiling 4-RELEASE on 5-STABLE

2004-10-14 Thread Kris Kennaway
On Thu, Oct 14, 2004 at 12:31:33PM +0530, Subhro wrote:

 What about my question about boot strapping? Does that ensure that
  I could compile the world/kernel of 4.x on 5.3?
 John
 No it does not. To be precise as far as I know, there is no way you
 can compile a native 4.X binary of any kind (application, kernel,
 bootstrap, you name it) on a 5.X box.

It's not so hard, you just extract a 4.x system image into a directory
and chroot to it, and build from there.  With more work you could do
it without the chroot.

However, to answer the original question: binaries built by the 5.x
system toolchain cannot be run on 4.x.  The main barrier is that 5.x
binaries usually use syscalls that are not present in the 4.x kernel,
so you'll get signal 12 errors if you try and run them.

Kris

pgpWaPYKpgiG8.pgp
Description: PGP signature


Re: md5 giving inconsistent results

2004-10-14 Thread Kris Kennaway
On Thu, Oct 14, 2004 at 06:01:37AM -0800, David J. Weller-Fahy wrote:
 I just installed 5.2.1-RELEASE on a RAID1 setup (atacontrol using
 Sil0680 chipset), and was in the process of transfering files from my
 old server.  However, I'm having an issue with the md5 sum of a file.
 Here's my uname -a:
 
 FreeBSD tigger.weller-fahy.com 5.2.1-RELEASE-p11
 FreeBSD 5.2.1-RELEASE-p11 #0: Thu Oct 14 00:17:32 CEST 2004
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386

Can you retry with 5.3?  There might have been driver problems in
5.2.1 which cause the data corruption.

Kris


pgpGCZZGLzh2w.pgp
Description: PGP signature


Re: Disk geometry, 5.3b7 install

2004-10-14 Thread Chuck Swiger
[EMAIL PROTECTED] wrote:
[ ... ]
The only problem is that the geometry was reported as bad by
sysinstall, and implied I needed to change it.
When you access a drive in LBA mode, the BIOS reports a fake geometry.  This 
is the warning you see, but you probably do not need to change anything, just 
create a new FreeBSD partition in the unused space.

Yet the partition step appears to have changed it already, or is
assuming it will be changed.
The installer is displaying the existing partition table as it is on the disk, 
which shows an NTFS filesystem (presumably Windows).  Your job is to add a new 
partition to hold FreeBSD.

I don't understand what the situation is:
  sysinstall reported geometry as 155061/16/63 and said it was bad
  then partitioning assumes it will be  9729/255/63
Do I actually have to run pfdisk to change it from 155061/16/63 to
9729/255/63?
No.
One more question:
The installation notes say the root partition must be below cylinder
1024.  If I want a largish (8G) partition for windows, how do I
accomplish this?
This limitation was a problem with older BIOSes which depended on booting 
using the pre-LBA C/H/S style geometry.  I believe even that issue could be 
solved by using a boot manager like GAG, but I doubt you'll run into this 
problem either if your BIOS understands LBA.

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


Re: Automatic Firewall software?

2004-10-14 Thread Peter Pauly
Doesn't Portsentry ignore ports that have a service bound to them like
the SSH daemon? In that case, it wouldn't help Brian's problem, since
ssh is running, portsentry would ignore any attacks to port 22, right?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Compiling mod_proxy WITHOUT apache2

2004-10-14 Thread Dick Davies
* Stephan A. Rickauer [EMAIL PROTECTED] [1041 16:41]:
 Hi there,
 
 I successfully run an apache2 server on freebsd 4.10. Now I realised 
 that I've forgot to compile mod_proxy. Is there a way to only compile 
 the module without compiling whole apache2 and destroying my current 
 binary? Maybe a stupid question - I am rather new to bsd ..

you may as well rebuild it, it shouldn't take long.
Backup your config first just in case.

WITH_PROXY_MODULES make  install

should do it.

-- 
You were doing well until everyone died - God
Rasputin :: Jack of All Trades - Master of Nuns
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: how do I suppress system messages?

2004-10-14 Thread Chuck Swiger
Lynette Tillner wrote:
[ ... ]
Also, I can't switch to another tty because my only access is remote --- I
don't have console access.
You can get to another tty by logging into the machine again from another SSH 
session.

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


Re: HZ=100 ?? vmware

2004-10-14 Thread Subhro
On Thu, 14 Oct 2004 19:57:17 +0200, dick hoogendijk [EMAIL PROTECTED] wrote:

snip
 Google tells me to increase to HZ=1200 but is this not too high?

1000 works nicely for me.

Regards
S.

-- 
Subhro Sankha Kar
School of Information Technology
Block AQ-13/1 Sector V
ZIP 700091
India
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Arla

2004-10-14 Thread Damian Sobieralski

 I hope this is the correct place to post this.  I'm a recent convert
to FreeBSD (about 2 years ago). I'll spare the details (potential flame
bait). I'll just say it is so nice to have ONE distribution of my O/S
and leave the inferences to what I was using before as an exercise to
the reader :)  Anyways, using the very well maintained ports I have
never had any troubles.  However, I am on a fact finding mission.  

  I have been digging around the 'Net looking for AFS client
information for FreeBSD.  It appears OpenAFS does not run on FreeBSD
and many point to Arla.  I visited the project's homepage and I noticed
that it stated that FreeBSD 5.2.1 is a specifically supported (my
version) system.  I tried to make the port and noticed it was listed as
broken (as well as several errors after I type make in
/usr/ports/net/arla).  So without wasting any more time on the mailing
list then need be- what is the status of Arla on FreeBSD?  Is there a
working port for 5.2.1? Or a more general question- if one has a 5.2.1
machine (i386) and wants AFS client connectivity- what options are
available to him (if any)?

 Thank you for any guidance that you can give.

- Damian


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


Re: GNOME questions

2004-10-14 Thread Gary Kline
On Thu, Oct 14, 2004 at 12:11:52AM -1000, Gary Dunn wrote:
 On Wed, 2004-10-13 at 06:26, Gary Kline wrote:
  On Wed, Oct 13, 2004 at 12:00:02AM -1000, Gary Dunn wrote:
   On Wed, 2004-10-06 at 21:36, Gary Kline wrote:

  
  In what specific file?  Say that I want two xterms with
  a -14-- point type, one anchored at +0-0 and the other
  anchored at +0+0.  Also, let's say that I want one to
  be initialized with '-iconic' and the other to be displayed.
  Where is the session startup control?  (i have looked for
  docs on by-hand configuration; haven't found it.)
 
 
 The system I am working on at home is back on good old Gnome 1.4, but
 man gnome-terminal says:
 
 The GNOME terminal allows you to have different configuration profiles
 to suit different uses (different background colours, presence,
 absence or position of scrollbars, and so on).  To set these up, you
 invoke the preferences dialogue box from the settings menu of
 gnome-terminal. Select the options you prefer (these changes will be
 made to your currently-open terminal, so you can see what they look
 like), and before closing the preferences box, make sure you have
 put a new name in the space marked Terminal Class.
 
 To activate a specific class at program startup you can use the
 --tclass command line option
 

So far I get a message that terminal setups cannot be
saved; that I will have to restart the terms the next
time I start up the manager.  I was able to use one of'
those boxes to set up 'rclock' on the first workspace.

I'll check the gnome-term menus.  Thanks for your help.

gary


  
 -- 
 
 Gary Dunn
 [EMAIL PROTECTED]
 Honolulu
 

-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


Re: HZ=100 ?? vmware

2004-10-14 Thread jason
dick hoogendijk wrote:
Okey, I found out I need to increase the HZ=100 default in the kernel
config to a higher number. I also understand it decreases  system
response times.
So, what I need to know is the lowest setup for HZ=??? to be able to run
vmware3 in full screen. I got to get rid of the rtc: 100  kern.hz
prompt.
Google tells me to increase to HZ=1200 but is this not too high?
 

In man polling a kernel config of HZ=1000 is the default if you want to 
use polling.  I am not sure, but if vmware is using the same HZ setting  
as polling does then 1200 is not too high.  If I understand it right, 
the HZ setting tells stuff how often to checkin to see if work needs 
doing.  100hz would be way too low.  Every 100hz on say a 2ghz machince 
would requirer you to spend a lot of time on something every 
sec(2billion/100 per sec if I am right).  Maybe nothing because you are 
delaying some programs that you want to execute, not pause and wait 
every 100hz.  This would most likely slow everything down, a higher 
number would make things smoother and faster, but only to a point.  Its 
kind of complicated, but when you find the right spot(somewhere in the 
middle) everything is good.  If you had a 4ghz machince you may want an 
even larger number.  If I am wrong I am sure there will be a followup 
shortly.

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


Re: Automatic Firewall software?

2004-10-14 Thread Paul Schmehl
Frankly I hadn't thought of that.  You can configure portsentry to monitor 
any port *and* to ignore certain hosts, so I would think it could monitor 
port 22 although I haven't tested it personally.

--On Thursday, October 14, 2004 02:07:24 PM -0500 Peter Pauly 
[EMAIL PROTECTED] wrote:

Doesn't Portsentry ignore ports that have a service bound to them like
the SSH daemon? In that case, it wouldn't help Brian's problem, since
ssh is running, portsentry would ignore any attacks to port 22, right?

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


Re: how do I suppress system messages?

2004-10-14 Thread epilogue
On Thu, 14 Oct 2004 15:21:05 -0400
Chuck Swiger [EMAIL PROTECTED] wrote:

 Lynette Tillner wrote:
 [ ... ]
  Also, I can't switch to another tty because my only access is remote
  --- I don't have console access.
 
 You can get to another tty by logging into the machine again from
 another SSH session.

you may find /usr/ports/misc/screen and the builtin /usr/bin/window to
be helpful utilities..

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


Re: HZ=100 ?? vmware

2004-10-14 Thread Phusion
Hi, I run VMware3 on FreeBSD 5.2.1 fine. I use HZ=1200, and that seems
to work perfect. I've tested and found that 1000, and even 1100 still
gave me rtc: 100  kern.hz messages. When I set HZ=1200 I got no
more of these messages.


On Thu, 14 Oct 2004 16:25:58 -0400, jason [EMAIL PROTECTED] wrote:
 dick hoogendijk wrote:
 
 Okey, I found out I need to increase the HZ=100 default in the kernel
 config to a higher number. I also understand it decreases  system
 response times.
 
 So, what I need to know is the lowest setup for HZ=??? to be able to run
 vmware3 in full screen. I got to get rid of the rtc: 100  kern.hz
 prompt.
 
 Google tells me to increase to HZ=1200 but is this not too high?
 
 
 
 In man polling a kernel config of HZ=1000 is the default if you want to
 use polling.  I am not sure, but if vmware is using the same HZ setting
 as polling does then 1200 is not too high.  If I understand it right,
 the HZ setting tells stuff how often to checkin to see if work needs
 doing.  100hz would be way too low.  Every 100hz on say a 2ghz machince
 would requirer you to spend a lot of time on something every
 sec(2billion/100 per sec if I am right).  Maybe nothing because you are
 delaying some programs that you want to execute, not pause and wait
 every 100hz.  This would most likely slow everything down, a higher
 number would make things smoother and faster, but only to a point.  Its
 kind of complicated, but when you find the right spot(somewhere in the
 middle) everything is good.  If you had a 4ghz machince you may want an
 even larger number.  If I am wrong I am sure there will be a followup
 shortly.
 
 Jason
 
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

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


Read-Only file system

2004-10-14 Thread steveb99
I appear to have hosed myself and having trouble finding out what I do 
and how to fix it.  It appears that many of my file-systems are now 
saying they are read-only and I can't do anything with them, even when I 
login as root. 
I'm still learning so not a production mess. Can someone point to me how 
a file system can become Read-Only, the file permissions are fine.
Also can this be repaired if so what should I be reading to learn to do 
that.

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


can't run Darfon mouse at FreeBSD 4.10

2004-10-14 Thread - -
Sorry for my bad english, i'm from Russia.
I buy BenQ Cordless Joyboard 805, install FreeBSD 4.10. Keyboard run without a 
problem, but mouse don't work.
output dmesg:
ums0: Darfon RF Combo Mouse, rev 1.10/0.10, addr 3, iclass 3/1
So, System recognize this mouse, but mouse don't work.
Can you help me?
Thanks.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Read-Only file system

2004-10-14 Thread Micheal Patterson

- Original Message - 
From: steveb99 [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, October 14, 2004 4:28 PM
Subject: Read-Only file system


 I appear to have hosed myself and having trouble finding out what I do
 and how to fix it.  It appears that many of my file-systems are now
 saying they are read-only and I can't do anything with them, even when I
 login as root.
 I'm still learning so not a production mess. Can someone point to me how
 a file system can become Read-Only, the file permissions are fine.
 Also can this be repaired if so what should I be reading to learn to do
 that.

 TIA,
 Steve B.

First thing I would look at would be to make sure that the settings in
/etc/fstab are configured to be mount your slices as read write (rw) instead
of read only (r).

Your /etc/fstab should have entries similar to the one below. This would be
a normal one.

/dev/da0s1a /   ufs rw  1   1

Where you see rw, if that is an r only, then the file system will be mounted
as read only and cause your problem.

--

Micheal Patterson
Senior Communications Systems Engineer
405-917-0600

Confidentiality Notice:  This e-mail message, including any attachments,
is for the sole use of the intended recipient(s) and may contain
confidential and privileged information. Any unauthorized review, use,
disclosure or distribution is prohibited. If you are not the intended
recipient, please contact the sender by reply e-mail and destroy all
copies of the original message.

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


firefox-1.0.1.p_2 crashing on javascript

2004-10-14 Thread Dan Finn
5.2.1-RELEASE
firefox-1.0.1.p_2

firefox built today, after a cvsup.

Whenever I click on a javascript link that would normally open up a
new window I get the following error written to stdout:
firefox-bin in free(): error: chunk is already free

and then firefox locks up and has to be killed.

Is anyone else having this problem?

I was running .8 up until today and I had no problems with that version.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: firefox-1.0.1.p_2 crashing on javascript

2004-10-14 Thread Kirill Ponomarew
Hi,

On Thu, Oct 14, 2004 at 02:52:28PM -0700, Dan Finn wrote:
 5.2.1-RELEASE
 firefox-1.0.1.p_2
 
 firefox built today, after a cvsup.
 
 Whenever I click on a javascript link that would normally open up a
 new window I get the following error written to stdout:
 firefox-bin in free(): error: chunk is already free
 
 and then firefox locks up and has to be killed.
 
 Is anyone else having this problem?

Yes, the same here.

-Kirill


pgp3xpxzyEj90.pgp
Description: PGP signature


  1   2   >