cvsup, mirrors and data integrity

2005-10-22 Thread Andrew P.
So I have a cvsup mirror, set up with net/cvsup-mirror
port. It was ok until the server crashed (all my fault,
really) and fsck came up with all that soft-updates
related stuff and what not.

Anyway, cvsup-mirror seems to not have noticed
the crash at all, but some clients cvsupping from
this mirror report unexpected syntax errors
during buildworld. They cease to do so once
cvsupped from another mirror, but only if I remove
src completely before it. Cvsupping the broken
sources against the good ones doesn't find a
mistake at all.

My question is: what mechanisms do cvsup and
cvsupd have to deal with data corruption? I know
about the -s switch, but it doesn't help to disable
it in my situation. How do I repair broken sources
or repo, using a good cvsup repo. How do I prevent
this from happening again without disabling soft-
updates?

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


Xorg and unichrome

2005-10-22 Thread Chris
Hi all,

I just got me a VIA EPIA SP800E and I can't seem to
get X to work. I've googled around some, but I haven't
managed to find a sure answer on the FreeBSD support
for the graphics cards in these things.

Some hardware info:
- VIA CN400 North Bridge
- Integrated VIA UniChrome™Pro AGP graphics with
MPEG-2 decoder /MPEG-4 Accelerator

I've had a quick look at the unichrome project on
sourceforge, but only found questions regarding the
status of drivers for FreeBSD and no answers. Note:
I'm running 6.0-RC1 right now, but I'm willing to try
any other version if it would help me get X working

If anyone has experience with the unichrome drivers,
please let me know how things went or at least where I
can find some detailed information on how to use these
under BSD (or if you think I can get it running with
some other drivers). Last time I played with linux
drivers under FreeBSD, things went very bad, so I'm
not doing that "unsupervised" again :)

BR,
   Chris





__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Learning to write FreeBSD Device Drivers

2005-10-22 Thread Andrew P.
On 10/21/05, Peter Clutton <[EMAIL PROTECTED]> wrote:
> Hi everyone, hope this isn't too off topic. I'm a sysadmin who taught
> myself programming (and have worked as a PHP ad MYSQL developer) and
> really want to develop my FreeBSD skills, and hopefully one day be
> able to give something back to FreeBSD.
>
> I want to start writing device drivers, and would love any pointers to
> resources and tips from anyone. At the moment I'm reading a good C
> primer, along with The Design and Implementation of The FreeBSD
> Operating System ( a great book), and browsing the relevant sections
> in the Handbook and the source code. I'm wondering what else i could
> look at to help "join the ends" if you know what i mean.
>
> I know there is a comprehensive book on writing device drivers for
> Linux, would it help conceptually, or at all (i know the system calls
> are different) to read this as a beginning? Would looking at two
> drivers for the same hardware, for Linux and FreeBSD, looking at the
> difference, and maybe first try porting a new one be a good idea? Are
> there any other good resources anyone could point me to? I hope you
> don't think I'm too focused on linux resources, if I wanted to take
> the easy way, I'd be interested in it, but i much prefer FreeBSD.
>
> Any tips or pointers to resources would be much appreciated!! Thanks in 
> advance.
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>

First of all, I haven't developed any serious thing for
any OS. As a matter of fact, I haven't written anything
in C/C++ in five years. But in the absence of a better
reply - this is my response.

I think that the best way to get involved into the
FreeBSD project is to install the OS on your desktop,
use it on your servers, help others on mailing lists,
write some ports (as an active user you'll have to do
that sooner or later), preen through pr-database
trying to find solutions, submit many patches, become
a committer - and there you are: involved.

There's a lot of reading on writing good code. Drivers
are quite a narrow field, but you can't begin to write
them without understanding how almost everything
else works. Writing a driver demands a more
comprehensive understanding of OS intrinsics than
most of other aspects. You'll definitely want to
work on other parts of kernel code before going on
to drivers.

Looking at the source of drivers for other systems
actually helps very very much. It's much easier to
port a driver, say, from OpenBSD than it is from
Linux, but you don't have to port anything. I bet
that reading a driver written for Solaris, HP-UX
or any other system will provide you with some
nice ideas that can be used in FreeBSD.

You can read as many books as you like, but
nothing will do you more good than reading
and understanding thoroughly a few existing
drivers.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: cvsup, mirrors and data integrity

2005-10-22 Thread Dimitar Vasilev
Andrew,
cvsup is an application that deals with giving people files.
It is the job of fsck to check and clear the FS.
Check /etc/defaults/rc.conf and
add the following variables to your rc.conf
fsck_y_enable="YES"
background_fsck="NO"
It has been discussed zilion of times and it works.
I recommend also wiping your repository and syncing from scratch from
the master servers.
HTH
--
Димитър Василев
Dimitar Vassilev

GnuPG key ID: 0x4B8DB525
Keyserver: pgp.mit.edu
Key fingerprint: D88A 3B92 DED5 917E 341E D62F 8C51 5FC4 4B8D B525
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

QLogic QLA2310F and FreeBSD 5.4

2005-10-22 Thread herrier
Hello,

I plan to run a critical application on FreeBSD 5.3 or 5.4 using separate RAID 
system connected with Fiber Channel.

Will HBA QLA2310F of QLogic be usable with FreeBSD 5.3 or 5.4 running on x86 
server (32 bits) ?

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


Quotas not working on FreeBSD 5.4 for amd64

2005-10-22 Thread MELVIN D. NAVA
Good Afternoon, this is my first post ever to this list and I hope is the 
right place...


Recently (three weeks ago) I bought one dedicated server with FreeBSD 
5.4-release for amd64 and I haven't been able to use quotas, after I tried 
to enable quotas in fstab over the home filesystem and rebooting, the system 
just hanged so I checked if quota was enabled on the Kernel but it wasn't... 
So I asked at the Datacenter and they told me they tried initially to enable 
quotas on the Kernel but it wasn't working at all and the server wouldn't 
start.


I've been trying to find something like this already documented but I 
haven't found anything at all.


My server config:

FreeBSD 5.4-release for amd64
Cpanel/WHM
Dual Opteron 244, 2GB of ECC Ram and two SATA Drives

My questions:

1. Anyone knows about or had already this problem? is this normal?
2. Should I try to compile the kernel myself with quotas?

Thanks in advance for any help,

Melvin D. Nava 


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


Re: cvsup, mirrors and data integrity

2005-10-22 Thread Andrew P.
On 10/22/05, Dimitar Vasilev <[EMAIL PROTECTED]> wrote:
> Andrew,
> cvsup is an application that deals with giving people files.
> It is the job of fsck to check and clear the FS.
> Check /etc/defaults/rc.conf and
> add the following variables to your rc.conf
> fsck_y_enable="YES"
> background_fsck="NO"
> It has been discussed zilion of times and it works.
> I recommend also wiping your repository and syncing from scratch from
> the master servers.
> HTH
> --
> Димитър Василев
> Dimitar Vassilev
>
> GnuPG key ID: 0x4B8DB525
> Keyserver: pgp.mit.edu
> Key fingerprint: D88A 3B92 DED5 917E 341E D62F 8C51 5FC4 4B8D B525
>

Well, what if I already had those lines in my rc.conf,
what if fsck fixed everyting it found and what if it
doesn't work.

I'm quite sure that wiping and resyncing the whole
repo will help, it's that I don't want to do that every
time a partiotion was not unmounted properly.

Any ideas at all?

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

Re: Procedures

2005-10-22 Thread dgmm
On Saturday 22 October 2005 04:39, David Wilhelm wrote:
> Erik Norgaard wrote:
> > On Fri, 21 Oct 2005, Ronny Machado C. wrote:
> >> *    My sound card is a Sound Blaster Live!, I've tried to load it by
> >> means of kldload emu10k1, it worked but I can't get it to work.
> >> Honestly I haven't configured MYKERNEL since I still don't understand
> >> the process.
> >
> > No need to build a kernel, just load the right modules. I don't know
> > which is right for your card, but you can try them one by one. They are
> > all named snd_
>
> Here's a silly cheat, which worked for me, to avoid trying all snd_*
> modules one-by-one:
>
> Do a `kldload snd_driver` to load all snd_* modules, start playing an
> mp3, then `kldunload snd_driver`. All snd_* modules are unloaded except
> the one you want, since it's currently "in use".

Brilliant!

That's far better than the one I came up with to deal with a similar 
situation :-)  I loaded them all, checked it worked, then commented out half 
to see which half of the list the "working" one was in.  Rinse and repeat 
until only one is left.

It didn't take too long but your's is much better :-)

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


Linux Binary Compatibility

2005-10-22 Thread Michael Christie

Dear List,


I have been trying to install the Linux Binary Compatibility in side a 
FreeBsd jail using ports with no success. I receive the the below error, 
Can some one please ex plane how to get Linux to run in a jail.


FreeBsd ver 5.4

Thanks

Michael


===>  Vulnerability check disabled, database not found
===>  Extracting for linux_base-8-8.0_7
=> Checksum OK for rpm/i386/8.0/redhat-release-8.0-8.noarch.rpm.
=> Checksum OK for rpm/i386/8.0/glibc-common-2.3.2-4.80.8.i386.rpm.
=> Checksum OK for rpm/i386/8.0/glibc-2.3.2-4.80.8.i386.rpm.
=> Checksum OK for rpm/i386/8.0/setup-2.5.20-1.noarch.rpm.
=> Checksum OK for rpm/i386/8.0/filesystem-2.1.6-5.noarch.rpm.
=> Checksum OK for rpm/i386/8.0/basesystem-8.0-1.noarch.rpm.
=> Checksum OK for rpm/i386/8.0/libattr-2.0.8-3.i386.rpm.
=> Checksum OK for rpm/i386/8.0/libacl-2.0.11-2.i386.rpm.
=> Checksum OK for rpm/i386/8.0/libelf-0.8.2-2.i386.rpm.
=> Checksum OK for rpm/i386/8.0/bzip2-libs-1.0.2-5.i386.rpm.
=> Checksum OK for rpm/i386/8.0/termcap-11.0.1-13.noarch.rpm.
=> Checksum OK for rpm/i386/8.0/compat-db-3.3.11-2.i386.rpm.
=> Checksum OK for rpm/i386/8.0/db4-4.0.14-14.i386.rpm.
=> Checksum OK for rpm/i386/8.0/gdbm-1.8.0-18.i386.rpm.
=> Checksum OK for rpm/i386/8.0/glib-1.2.10-8.i386.rpm.
=> Checksum OK for rpm/i386/8.0/libtermcap-2.0.8-31.i386.rpm.
=> Checksum OK for rpm/i386/8.0/bash-2.05b-5.i386.rpm.
=> Checksum OK for rpm/i386/8.0/bzip2-1.0.2-5.i386.rpm.
=> Checksum OK for rpm/i386/8.0/compat-libstdc++-7.3-2.96.110.i386.rpm.
=> Checksum OK for rpm/i386/8.0/ncurses-5.2-28.i386.rpm.
=> Checksum OK for rpm/i386/8.0/info-4.2-5.i386.rpm.
=> Checksum OK for rpm/i386/8.0/grep-2.5.1-4.i386.rpm.
=> Checksum OK for rpm/i386/8.0/fileutils-4.1.9-11.i386.rpm.
=> Checksum OK for rpm/i386/8.0/popt-1.7-1.06.i386.rpm.
=> Checksum OK for rpm/i386/8.0/readline-4.3-3.i386.rpm.
=> Checksum OK for rpm/i386/8.0/setserial-2.17-9.i386.rpm.
=> Checksum OK for rpm/i386/8.0/libstdc++-3.2-7.i386.rpm.
=> Checksum OK for rpm/i386/8.0/slang-1.4.5-11.i386.rpm.
=> Checksum OK for rpm/i386/8.0/sh-utils-2.0.12-3.i386.rpm.
=> Checksum OK for rpm/i386/8.0/rpm-4.1-1.06.i386.rpm.
=> Checksum OK for rpm/i386/8.0/libgcc-3.2-7.i386.rpm.
=> Checksum OK for rpm/i386/8.0/freetype-2.1.5-0.ximian.5.1.i386.rpm.
=> Checksum OK for rpm/i386/8.0/zlib-1.1.4-8.8x.i386.rpm.
===>  Patching for linux_base-8-8.0_7
===>   linux_base-8-8.0_7 depends on executable: rpm - found
===>  Configuring for linux_base-8-8.0_7
===>  Installing for linux_base-8-8.0_7
===>   Generating temporary packing list
===>  Checking if emulators/linux_base-8 already installed
kern.fallback_elf_brand: -1
sysctl: kern.fallback_elf_brand: Operation not permitted
redhat-release-8.0-8.noarch.rpm
glibc-common-2.3.2-4.80.8.i386.rpm
ELF binary type "0" not known.
execution of glibc-common-2.3.2-4.80.8 script failed, exit status 255
*** Error code 1

Stop in /usr/ports/emulators/linux_base-8.



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


Re: Making ports in alternative areas

2005-10-22 Thread Jerry McAllister
> 
> On Fri, Oct 21, 2005 at 06:42:36PM -0400, Jerry McAllister wrote:
> > >=20
> > > I'm running low on disc space on my /usr partition and I would like to =
> =20
> > > compile a program from the ports that is rather large. I have enough sp=
> ace =20
> > > once it's compiled, it's just the work that I don't have enough space f=
> or. =20
> 
> [...]
> [...]
> 
> This is way too much work.  We have environment variable to solve the
> OP's problem.  See make.conf(5) and ports(7).

A little less permanent, but just for the build, it would be a 
reasonable solution too.

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


+pid 48635 (squid), uid 100: exited on signal 6 (core dumped)

2005-10-22 Thread eculp
I'm seeing 4 Current servers that were running squid with no problems 
now dumping core with the following error in the log file.


+pid 48635 (squid), uid 100: exited on signal 6 (core dumped)

I have no idea where to begin looking.  I went to the squid list and 
saw where it was caused by persistent connections on some platforms so 
I turned them off and there was no change.


All the machines are running up to date ports, with kernel and userland 
no more that a week old and it includes Intel and amd processors.  Two 
boxes have multiple processors so it doesn't seem to be a hardware 
problem.


Any help or suggestions are appreciated.

ed

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


Quotas not working on FreeBSD 5.4 for amd64

2005-10-22 Thread MELVIN D. NAVA
Good Afternoon, this is my first post ever to this list and I hope is the 
right place...

Recently (three weeks ago) I bought one dedicated server with FreeBSD 
5.4-release for amd64 and I haven't been able to use quotas, after I tried 
to enable quotas in fstab over the home filesystem and rebooting, the system 
just hanged so I checked if quota was enabled on the Kernel but it wasn't... 
So I asked at the Datacenter and they told me they tried initially to enable 
quotas on the Kernel but it wasn't working at all and the server wouldn't 
start.

I've been trying to find something like this already documented but I 
haven't found anything at all.

My server config:

FreeBSD 5.4-release for amd64
Cpanel/WHM
Dual Opteron 244, 2GB of ECC Ram and two SATA Drives

My questions:

1. Anyone knows about or had already this problem? is this normal?
2. Should I try to compile the kernel myself with quotas?

Thanks in advance for any help,

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


Re: bizar problem with a Dell latitude D600's onboard nic

2005-10-22 Thread Philip Keuleers



Danny Howard wrote:


Uhm.  Ditto here never having trouble with D600.

Just for sanity's sake, have you:
- Tried a different ethernet cable?
- Tried a different switched port, or whatever you are plugging in to?

I'd say the easiest solution is to sweet-talk your friend into swapping
hardware.

You might also try the wireless, which works great once you set up NDIS.

Also, please please please get off 5.2.1 ... cvsup, make world, etc, and
get up to 5.4 or 5_RELENG or whatever STABLE is called these days.

Cheers,
-danny

 


Hey Danny,

trust me I tried it on different networks (work and home) with different 
cables, docked and undocked on battery and without, with and without 
acpi, with different livecd's...


As for upgrading ... I'm thinking about it but I have to admit I'm not 
looking forward to the chore. 5.2.1 to 54 is quite the leap and I'm 
expecting a rough ride.


Thanx anyway :-)


Greetz,

Philip


Q: How many Bill Gates does it take to change a lightbulb ?
A: None, he just defines Darkness™ as the new industry standard...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


SNMP in FreeBSD server

2005-10-22 Thread Edwin D. Vinas
Hi,
 I'm running a FreeBSD server on a DSL and I wan't to monitor the link
utilization of it using MRTG and NET-SNMP. I installed net-snmp using ports
but when I tried running snmpd and querying simple snmpwalk and cfgmaker, I
got an error as shown below. I also tried installing net-snmp from source
from sourceforge but still snmp is not responding. Please help me on this.
 Thanks in advance.
-Edwin
  NOTE:
-
My snmpd.conf is in /etc/snmp/snmpd.conf
I am running snmpd as plain 'snmpd'. I also tried 'snmpd -c snmpd.conf' but
no effect.
-
 ERROR IN CFGMAKER:

--base: Get Device Info on [EMAIL PROTECTED]:
SNMP Error:
no response received
SNMPv1_Session (remote host: "192.168.1.1 "
[192.168.1.1
].161)
community: "public"
request ID: -1724402833
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/local/lib/perl5/site_perl/5.005/SNMP_util.pm line 627
SNMPWALK Problem for 1.3.6.1.2.1.1 on [EMAIL PROTECTED]::v4only
at /usr/local/bin/cfgmaker line 858
WARNING: Skipping [EMAIL PROTECTED]: as no info could be retrieved

# Created by
# /usr/local/bin/cfgmaker [EMAIL PROTECTED]


--
--
Edwin D. Viñas
http://www.geocities.com/edwin_vinas/
IN THE WORLD OF SCIENCE,
NOTHING IS IMPOSSIBLE.
--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


samba question

2005-10-22 Thread spen
Hello to all.
I have a FreeBSD 5.4 Stable machine on my network.  I
have recently installed smb,for the 2nd time from
/usr/ports/net/samba3.  I have setted up a basic
configuration which will follow. My config is located
in /usr/local/etc/smb.conf
--
#=== Global Settings
=
[global]

   workgroup = local
   server string = Samba Server
   security = share
   hosts allow = 10.1.10.1/255.255.255.0
   load printers = no
   user = nobody 
   log file = /var/log/samba/log.%m
   max log size = 50
   socket options = TCP_NODELAY
   dns proxy = no 
   force directory mode = 777 
   null passwords = yes
   encrypt passwords = yes
   public = no
   security = share

# Share Definitions
==
[homes]
   comment = Home Directories
   browseable = no
   writable = no

[public]
   comment = %h Shared Public Directory   
 
   path = /public
   public = yes
   writable = yes
   write list = nobody,@nobody
   force group = nobody   
 
   force user = nobody 
   read only = no 
 
   browsable = yes
   user = nobody,@nobody  
   socket options = TCP_NODELAY
-

I have access to my freeBSD machine via windows. BUT I
keep getting this weird mail from cron:

Message 1:
>From [EMAIL PROTECTED] Fri Oct 21 13:22:01 2005
Date: Fri, 21 Oct 2005 13:22:00 +0300 (EEST)
From: [EMAIL PROTECTED] (Cron Daemon)
To: [EMAIL PROTECTED]
Subject: Cron <[EMAIL PROTECTED]> /usr/libexec/save-entropy
X-Cron-Env: 
X-Cron-Env:

X-Cron-Env: 
X-Cron-Env: 
X-Cron-Env: 

 smbd
Abort trap
 nmbd

The story is that the first time I installed samba I
enabled it in my /etc/rc.conf writting 

"echo " smbd" && /usr/local/sbin/smbd -D
echo " nmbd" && /usr/local/sbin/nmbd -D " 

I don't know if this has sth to do with the fact I was
getting the mail I included previously, all the time. 
Also, when I dmesg, I was gotting this :

pid 70515 (smbd), uid 1003: exited on signal 6
pid 70524 (smbd), uid 1003: exited on signal 6
pid 70535 (smbd), uid 1003: exited on signal 6

So I deinstalled samba.  But I still gotted the mails
(the same as the one above).  I think that might be
because of the rc.conf.  
So now that I 've istalled it again I edited rc.conf
and have only this line concerning samba:

#enable samba
samba_enable="YES"

I do not get this often mails, but still I do. 
Does anybody have a clue about this?
regards,
Spen



__ 
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: SNMP in FreeBSD server

2005-10-22 Thread Frank Staals

Edwin D. Vinas wrote:


Hi,
I'm running a FreeBSD server on a DSL and I wan't to monitor the link
utilization of it using MRTG and NET-SNMP. I installed net-snmp using ports
but when I tried running snmpd and querying simple snmpwalk and cfgmaker, I
got an error as shown below. I also tried installing net-snmp from source
from sourceforge but still snmp is not responding. Please help me on this.
Thanks in advance.
-Edwin
 NOTE:
-
My snmpd.conf is in /etc/snmp/snmpd.conf
I am running snmpd as plain 'snmpd'. I also tried 'snmpd -c snmpd.conf' but
no effect.
-
ERROR IN CFGMAKER:

--base: Get Device Info on [EMAIL PROTECTED]:
SNMP Error:
no response received
SNMPv1_Session (remote host: "192.168.1.1 "
[192.168.1.1
].161)
community: "public"
request ID: -1724402833
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/local/lib/perl5/site_perl/5.005/SNMP_util.pm line 627
SNMPWALK Problem for 1.3.6.1.2.1.1 on [EMAIL PROTECTED]::v4only
at /usr/local/bin/cfgmaker line 858
WARNING: Skipping [EMAIL PROTECTED]: as no info could be retrieved

# Created by
# /usr/local/bin/cfgmaker [EMAIL PROTECTED]


--
--
Edwin D. Viñas
http://www.geocities.com/edwin_vinas/
IN THE WORLD OF SCIENCE,
NOTHING IS IMPOSSIBLE.
--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


 

I'm running mrtg myself, and I remember having some problem with snmpd 
when I installed it. you should have a config file in /usr/local/etc/ 
named snmpd.conf and it should look something like this: 
http://fstaals.net/junk/snmpd.conf . I can't remember anymore if I had 
to change anything else, but I think that should be it.


Good Luck

--
-Frank Staals


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


ntpd problems

2005-10-22 Thread Shelby Westman
Hello, all,

I am a relatively new freeBSD user. The problem I describe below happens on
both a 5.4 install and a 6.0 RC1 install.

Right after installing the OS, I enable ntpd in rc.conf, and setup a simple
config file in /etc/ntp.conf. When I reboot, I get this message:

Oct 22 10:40:57 alter ntpd[392]: ntpd 4.2.0-a Sun Oct 9 18:33:33 UTC 2005
(1)
Oct 22 10:40:57 alter ntpd[392]: bind() fd 6, family 28, port 123, addr
fe80:1::202:55ff:fe58:2957, in6_is_addr_multicast=0 flags=0 fails: Can't
assign requested address

Then ntpd does not synchronize the time. I set the clock manually (using
date) five minutes ahead to check and in fact it does not get adjusted.

I have tried all sorts of things. I tried assigning numeric addresses rather
than host names in the config file. I tried enabling ipv6 in sysinstall.
This machine does have a good route to the internet - I can use nslookup to
resolve host names, so I know the networking is working.

Below I have quoted the ntp.conf. The log file is empty - nothing is being
written there.

Does anyone have any ideas? I am stumped... thanks for your help.

Shelby

__

config file as it stands now...

logfile /var/log/ntpd.log

# deny-by-default policy
restrict default ignore

#server -4 ntp-2.ece.cmu.edu 
#server -4 ticker.cis.sac.accd.edu 
#server -4 lain.ziaspace.com 
#server -4 ntp1.linuxmedialabs.com 
server 17.254.0.31 

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


send-pr, how pr's are handled

2005-10-22 Thread Daniel Molina Wegener

Hello,

I have sent a PR (yesterday) with a patch through send-pr,
when I will realize if this one were accepted?

Thanks.

Regards,
-- 
 . 0 . | Daniel Molina Wegener
 . . 0 | dmw at unete dot cl
 0 0 0 | FreeBSD Power User
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


thanks

2005-10-22 Thread aciddata
this is no question, i just wanna say that free bsd rocks
and that the programmers of this operatings system and all
people that are working on it are great and also the community,
thanks!!!

blesses and best wishes
aciddata

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


Re: send-pr, how pr's are handled

2005-10-22 Thread Chuck Swiger

Daniel Molina Wegener wrote:

I have sent a PR (yesterday) with a patch through send-pr,
when I will realize if this one were accepted?


That depends on a lot of things.  Important patches often get considered in a 
day or two, ones that are big/complex/etc may take longer.  Security issues are 
also considered at a high priority.


It helps to CC: someone responsible for the thing being patched, if there is 
such a person.  In particular, patches sent to a port maintained by nobody can 
sit for weeks or even months.  :-)


If you're looking for additional insight, local conventions seem to suggest 
that one should wait a week after submitting a patch, and then ask about it 
mentioning the PR #.  This gives maintainers who are away on a business trip, 
vacation, or other aspects of RealJob/RealLife(tm) adequate time to review the PR.


If the PR sits for longer than 1 month, bring it up again as a maintainer 
timeout, if appropriate (ie, a PR about updating a port), or send a short email 
with the PR # and a description of the issue to one of the higher-level 
channels like releng, portmgr, etc.


--
-Chuck

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


Re: Quotas not working on FreeBSD 5.4 for amd64

2005-10-22 Thread Erik Norgaard

On Sat, 22 Oct 2005, MELVIN D. NAVA wrote:


Recently (three weeks ago) I bought one dedicated server with FreeBSD
5.4-release for amd64 and I haven't been able to use quotas, after I tried
to enable quotas in fstab over the home filesystem and rebooting, the system
just hanged so I checked if quota was enabled on the Kernel but it wasn't...
So I asked at the Datacenter and they told me they tried initially to enable
quotas on the Kernel but it wasn't working at all and the server wouldn't
start.


1. Make sure your kernel supports quota, the GENERIC kernel does 
not. You need to add this line to your kernel config and then 
compile and install a new kernel:


   options QUOTA   #enable disk quotas

Then reboot

2. In fstab as you know, you need to add "userquota" and/or 
"groupquota" to the options.


3. Enable or disable quota with quotaon/quotaoff

4. Edit quota for individual users or groups with edquota

I suggest that you keep quota turned off at boot so your system 
doesn't hang, then enable quotas after boot as in 3.



I've been trying to find something like this already documented but I
haven't found anything at all.


Did you check the handbook? Chp 16.14 seems to be for you. It is 
far more detailed than what I just wrote:


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

Cheers, Erik


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


computer name

2005-10-22 Thread eoghan

Hi
Im wondering if someone can point me in the correct direction. I have  
set my host name in my hosts file as

127.0.0.1 localhost localhost
192.168.1.35 home.nathaniel localhost
So I wanted to use this to get my freeBSD machine from another  
computer on my network. If it try http://home.nathaniel/ on the  
freeBSD machine it works perfect.
But if I try from my mac i get the usual cannot find server. The  
ServerName in my httpd.conf is home.nathaniel.
Id like to get it sending this name so I can also use it with samba  
like:

\\home.nathaniel\public
Instead of using the machines IP address. Thanks for any help.
Eoghan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: computer name

2005-10-22 Thread Mike Hernandez
On 10/22/05, eoghan <[EMAIL PROTECTED]> wrote:
> Id like to get it sending this name so I can also use it with samba
> like:
> \\home.nathaniel\public
> Instead of using the machines IP address. Thanks for any help.

If you don't have a local dns server that you control (i.e. that you
can add the hostname too), then you'll have to add home.nathaniel to
the hosts file of the box you are trying to get there from. Windows
has a hosts file similar to your freebsd box.

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


Re: computer name

2005-10-22 Thread Mike Hernandez
On 10/22/05, eoghan <[EMAIL PROTECTED]> wrote:
> Id like to get it sending this name so I can also use it with samba
> like:
> \\home.nathaniel\public
> Instead of using the machines IP address. Thanks for any help.

I just woke up, sorry I clicked send before I realized that you said
you mac not your windows box ;) I just saw the samba and assumed.
Either way there's a host file you can edit.

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


Re: computer name

2005-10-22 Thread Erik Norgaard

On Sat, 22 Oct 2005, eoghan wrote:

Im wondering if someone can point me in the correct direction. I have set my 
host name in my hosts file as

127.0.0.1 localhost localhost
192.168.1.35 home.nathaniel localhost
So I wanted to use this to get my freeBSD machine from another computer on my 
network. If it try http://home.nathaniel/ on the freeBSD machine it works 
perfect.
But if I try from my mac i get the usual cannot find server. The ServerName 
in my httpd.conf is home.nathaniel.

Id like to get it sending this name so I can also use it with samba like:
\\home.nathaniel\public
Instead of using the machines IP address. Thanks for any help.


I think you're on the wrong track, domain names doesn't work like 
host names for samba clients. Your BSD machine never sends its 
name. There's no way other clients can resolve the host name.


You need to tell the clients on your network about the hostnames 
of other hosts.


I don't know about Mac, but even Windows has a hosts file in which 
you can list known hosts on the network without the need to setup 
dns. This is fine if you have only a few hosts.


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


Re: computer name

2005-10-22 Thread eoghan

On 22 Oct 2005, at 18:07, Mike Hernandez wrote:


On 10/22/05, eoghan <[EMAIL PROTECTED]> wrote:


Id like to get it sending this name so I can also use it with samba
like:
\\home.nathaniel\public
Instead of using the machines IP address. Thanks for any help.



If you don't have a local dns server that you control (i.e. that you
can add the hostname too), then you'll have to add home.nathaniel to
the hosts file of the box you are trying to get there from. Windows
has a hosts file similar to your freebsd box.

Mike


I understand now. Im wondering if i can setup my own DNS server now  
from freeBSD for my network?

Hopefully this isnt an insanely stupid question :)
Ive got a windows and mac also on my network, so I can just add it to  
each of this anyway...

Thanks all
Eoghan

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


Re: computer name

2005-10-22 Thread eoghan

On 22 Oct 2005, at 18:08, Mike Hernandez wrote:


On 10/22/05, eoghan <[EMAIL PROTECTED]> wrote:


Id like to get it sending this name so I can also use it with samba
like:
\\home.nathaniel\public
Instead of using the machines IP address. Thanks for any help.



I just woke up, sorry I clicked send before I realized that you said
you mac not your windows box ;) I just saw the samba and assumed.
Either way there's a host file you can edit.

Mike


No problems. Ive just used the NetInfo manager to add it to my mac. I  
can use the hosts
file on the windows machine to do it (ive got both on the network but  
mine is the mac).

Thanks

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


Re: computer name

2005-10-22 Thread eoghan

On 22 Oct 2005, at 18:09, Erik Norgaard wrote:


On Sat, 22 Oct 2005, eoghan wrote:


Im wondering if someone can point me in the correct direction. I  
have set my host name in my hosts file as

127.0.0.1 localhost localhost
192.168.1.35 home.nathaniel localhost
So I wanted to use this to get my freeBSD machine from another  
computer on my network. If it try http://home.nathaniel/ on the  
freeBSD machine it works perfect.
But if I try from my mac i get the usual cannot find server. The  
ServerName in my httpd.conf is home.nathaniel.
Id like to get it sending this name so I can also use it with  
samba like:

\\home.nathaniel\public
Instead of using the machines IP address. Thanks for any help.



I think you're on the wrong track, domain names doesn't work like  
host names for samba clients. Your BSD machine never sends its  
name. There's no way other clients can resolve the host name.


You need to tell the clients on your network about the hostnames of  
other hosts.


I don't know about Mac, but even Windows has a hosts file in which  
you can list known hosts on the network without the need to setup  
dns. This is fine if you have only a few hosts.


Cheers, Erik


Thanks Erik
Yeah Ive got it working on my mac now and Ill make the changes to the  
windows hosts file too.

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


USB Double Bulk Pipe devices

2005-10-22 Thread Joe Altman
Please, would someone give me an example of such a device? I've looked
via google, yahoo, etcetera; and find no obvious examples.

Thank you.

-- 
.sig is .tired.

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


Re: QLogic QLA2310F and FreeBSD 5.4

2005-10-22 Thread Martin Hepworth
HI

I thinks you'll find this listed on the HCL notes..

http://www.freebsd.org/releases/5.4R/hardware-i386.html

--
Martin

On 10/22/05, herrier <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I plan to run a critical application on FreeBSD 5.3 or 5.4 using separate
> RAID system connected with Fiber Channel.
>
> Will HBA QLA2310F of QLogic be usable with FreeBSD 5.3 or 5.4 running on
> x86 server (32 bits) ?
>
> Best regards.
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> [EMAIL PROTECTED]"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


OpenAFS for FreeBSD...

2005-10-22 Thread Forrest Aldrich

I've asked the OpenAFS people about a port to FreeBSD.

They recently gained a port to OS X, which I understand has a 
similar/FreeBSD codebase.


Anyone?



 Original Message 
Subject:Re: OpenAFS for MAC, etc.
Date:   Sat, 22 Oct 2005 14:48:48 -0400
From:   Jeffrey Altman <[EMAIL PROTECTED]>
Organization:   Secure Endpoints Inc.
To: Forrest Aldrich





Neither Derrick nor Chas use FreeBSD and neither have time to play with it.

You need to get someone from the FreeBSD community to care about AFS and
port it.
If you find an FreeBSD kernel expert, we can provide the AFS assistance
to help them.

Jeffrey Altman


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


Re: OpenAFS for FreeBSD...

2005-10-22 Thread Jason C. Wells

Forrest Aldrich wrote:

I've asked the OpenAFS people about a port to FreeBSD.

They recently gained a port to OS X, which I understand has a 
similar/FreeBSD codebase.


I have been asking about this for a while.  Occasionally an interested 
party arises.  The work remains incomplete.


The last rumor I heard was that the server works.  The client doesn't 
work out of the box.  I did have the client sort of working once upon a 
time.  That is to say that it was working right up until it panicked.


OSX is a different kernel.  The kernel is where the difficulty lies.

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


Re: 6.0 release date and stability

2005-10-22 Thread dick hoogendijk
On 22 Oct Kris Kennaway wrote:
> On Sat, Oct 22, 2005 at 03:41:33PM +0200, dick hoogendijk wrote:
> > On Fri, 21 Oct 2005 15:30:52 -0400
> > Kris Kennaway <[EMAIL PROTECTED]> wrote:
> > 
> > > > But he old libraries are still on the system than, aren't they?
> > > > Or will they not be used and if not, why?
> > > 
> > > Use libchk and pkg_which..see their manpages.
> > 
> > After looking into the manual(s) this seems to be a "dangerous" or at
> > least not an easy operation. Can someone be a little more specific
> > about how to remove old 4.x / 5.x libraries from a FreeBSD system?
> 
> That's the best there is for 6.0 (so run a full backup first).  7.0
> has a 'make delete-old' target that removes known old files from your
> base system.  I don't know if netchild has plans to backport it, but
> you could ask him.

OK, thanks for this answer. I may be overreacting ;-)
Is it Ok to say that after *recompiling* each port with "portupgrade
-fa" on a 5.4 system updated to 6.0 old libraries will no be dangerous
in a way that they would be used any longer?
Should I remove the compat-options from the kernel before or after the
recompilation of all ports?

-- 
dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.11-stable ++ FreeBSD 5.4
+ Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Linux Binary Compatibility

2005-10-22 Thread Kris Kennaway
On Sat, Oct 22, 2005 at 11:33:15PM +1000, Michael Christie wrote:
> Dear List,
> 
> 
> I have been trying to install the Linux Binary Compatibility in side a 
> FreeBsd jail using ports with no success. I receive the the below error, 
> Can some one please ex plane how to get Linux to run in a jail.

Install the port from outside the jail (e.g. by using chroot instead).

Kris


pgp88mmKfJok1.pgp
Description: PGP signature


Re: 6.0 release date and stability

2005-10-22 Thread Kris Kennaway
On Sat, Oct 22, 2005 at 09:52:19PM +0200, dick hoogendijk wrote:
> On 22 Oct Kris Kennaway wrote:
> > On Sat, Oct 22, 2005 at 03:41:33PM +0200, dick hoogendijk wrote:
> > > On Fri, 21 Oct 2005 15:30:52 -0400
> > > Kris Kennaway <[EMAIL PROTECTED]> wrote:
> > > 
> > > > > But he old libraries are still on the system than, aren't they?
> > > > > Or will they not be used and if not, why?
> > > > 
> > > > Use libchk and pkg_which..see their manpages.
> > > 
> > > After looking into the manual(s) this seems to be a "dangerous" or at
> > > least not an easy operation. Can someone be a little more specific
> > > about how to remove old 4.x / 5.x libraries from a FreeBSD system?
> > 
> > That's the best there is for 6.0 (so run a full backup first).  7.0
> > has a 'make delete-old' target that removes known old files from your
> > base system.  I don't know if netchild has plans to backport it, but
> > you could ask him.
> 
> OK, thanks for this answer. I may be overreacting ;-)
> Is it Ok to say that after *recompiling* each port with "portupgrade
> -fa" on a 5.4 system updated to 6.0 old libraries will no be dangerous
> in a way that they would be used any longer?

Yes.  You can verify this with libchk.

> Should I remove the compat-options from the kernel before or after the
> recompilation of all ports?

After you're sure nothing uses them any longer, or you'll have a
partly broken system in the meantime.

Kris


pgpX8LaBImS3i.pgp
Description: PGP signature


Options for starting "*.sh" programs

2005-10-22 Thread Gerard Seibert
In the '/usr/local/etc/rc.d' directory, I have discovered that I have
several options available with the various programs listed there.

For instance, take the samba.sh program. It lists these options:

[fast|force|one](start stop restart rcvar status poll}

I understand the obvious start, stop, restart, rcvar and status. However,
what do the fast, force, one and poll options do?

I cannot seem to find anything in the manual regarding this? No doubt, I
am looking in the wrong place.

-- 
Gerard Seibert
[EMAIL PROTECTED]


College is like a woman. You work so hard to get in, and nine
months later you wish you had never come.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Editor for C & C++ language

2005-10-22 Thread vittorio
Working usually under kde I'm looking for something similar to the llc-win32 
program under ms-windows - that is a development environment where you can 
edit your c++ program, compile it, debug it step by step, and finally run it 
in a suitable window.
I tried the nice editor kate which allows to compile the file only. No 
debugging, no running.
Is  there anything of the kind of llc-win32?
Ciao
Vittorio
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Editor for C & C++ language

2005-10-22 Thread Johnny Billquist
On Sat, 22 Oct 2005, vittorio wrote:

> Working usually under kde I'm looking for something similar to the llc-win32
> program under ms-windows - that is a development environment where you can
> edit your c++ program, compile it, debug it step by step, and finally run it
> in a suitable window.
> I tried the nice editor kate which allows to compile the file only. No
> debugging, no running.
> Is  there anything of the kind of llc-win32?

emacs can do anything. Put it might not be graphical enough for your taste
if you come from Windows...

Johnny

Johnny Billquist  || "I'm on a bus
  ||  on a psychedelic trip
email: [EMAIL PROTECTED]   ||  Reading murder books
pdp is alive! ||  tryin' to stay hip" - B. Idol
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: cvsup, mirrors and data integrity

2005-10-22 Thread Andrew P.
On 10/22/05, Dimitar Vasilev <[EMAIL PROTECTED]> wrote:
> > I guess I'll have to escalate the importance of this
> > machine being shutdown correctly and stop all
> > cvsup processes before doing something risky.
>
> Yup - try putting the CVSUP under DJB daemontools or something like this.
>
> > If that doesn't help, I'll make a separate partition
> > for the repo with soft-updates turned off. With
> > 95% of reading against 5% of writing, I'm sure
> > there won't be a measurable performance impact.
>
> Are you on SCSI or IDE/SATA?
>  Regards
>
> --
> Димитър Василев
> Dimitar Vassilev
>
> GnuPG key ID: 0x4B8DB525
> Keyserver: pgp.mit.edu
> Key fingerprint: D88A 3B92 DED5 917E 341E D62F 8C51 5FC4 4B8D B525
>

I don't like the style of djb, sorry.

The box has 1 ide and 4 scsi disks. But I had to
remove scsi cables and can't find a replacement
at the moment, so it's on ide for now.

Squid is also on the server. So I guess, when
scsi disks are back online, I'll dedicate 2 to
squid, and 2 in a vinum mirroring array with
softupdates disabled for more important
things, like cvs repos, distfiles, etc.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: cvsup, mirrors and data integrity

2005-10-22 Thread Dimitar Vasilev
> I don't like the style of djb, sorry.
I know, but his tools work and are great for such things.
There have been occasions on which the bgp "blinks"/ntpd decides to go play
and after a while the box goes disfunct and I have to start/stop manually.

> The box has 1 ide and 4 scsi disks. But I had to
> remove scsi cables and can't find a replacement
> at the moment, so it's on ide for now.
>
> Squid is also on the server. So I guess, when
> scsi disks are back online, I'll dedicate 2 to
> squid, and 2 in a vinum mirroring array with
> softupdates disabled for more important
> things, like cvs repos, distfiles, etc.
>
Try setting up a md through which to buffer the read/write operations for cvsupd
For CVS there is a hint in the hubs article
/dev/da0s1b /anoncvstmp mfs
rw,-s=786432,-b=4096,-f=512,-i=560,-c=3,-m=0,nosuid,nodev 0 0

/etc/inetd.conf
cvspserver stream tcp nowait root /usr/bin/cvs cvs -f -l -R -T
/anoncvstmp --allow-root=/home/ncvs pserver

I suppose if you play a bit, you can come with a similar solution for CVSUP.

Btw, have you extended an existing stripe with growfs?

I have to extend my stripe on which ftp+rsync repo lies with 0,5TB and
would like to preserve data if possible.
All the best
--
Димитър Василев
Dimitar Vassilev

GnuPG key ID: 0x4B8DB525
Keyserver: pgp.mit.edu
Key fingerprint: D88A 3B92 DED5 917E 341E D62F 8C51 5FC4 4B8D B525
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Why is sendmail rewriting incoming adresses like this?

2005-10-22 Thread stan
I've got the in tree sendmail set up on a 4.11-RELEASE machine, and I'm
seeing somethign I do not understand.

If I send it mail with a To that looks like this:

[EMAIL PROTECTED]

It's getting rewriten to:

[EMAIL PROTECTED]

I do have a MX record for xx.yy.com, and I have it in 
/etc/mail/local-host-names 

Here's my sendmail.mc file:

divert(-1)
#
# Copyright (c) 1983 Eric P. Allman
# Copyright (c) 1988, 1993
#   The Regents of the University of California.  All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
#notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
#notice, this list of conditions and the following disclaimer in the
#documentation and/or other materials provided with the distribution.
# 3. All advertising materials mentioning features or use of this software
#must display the following acknowledgement:
#   This product includes software developed by the University of
#   California, Berkeley and its contributors.
# 4. Neither the name of the University nor the names of its contributors
#may be used to endorse or promote products derived from this software
#without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
# ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#

#
#  This is a generic configuration file for FreeBSD 4.X and later systems.
#  If you want to customize it, copy it to a name appropriate for your
#  environment and do the modifications there.
#
#  The best documentation for this .mc file is:
#  /usr/share/sendmail/cf/README or
#  /usr/src/contrib/sendmail/cf/README
#

divert(0)
VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.mc,v 1.10.2.19 2003/12/31 
17:42:16 gshapiro Exp $')
OSTYPE(freebsd4)
DOMAIN(generic)

FEATURE(access_db, `hash -o -T /etc/mail/access')
FEATURE(blacklist_recipients)
FEATURE(local_lmtp)
FEATURE(mailertable, `hash -o /etc/mail/mailertable')
FEATURE(virtusertable, `hash -o /etc/mail/virtusertable')
FEATURE(local_procmail)dnl


dnl Uncomment to allow relaying based on your MX records.
dnl NOTE: This can allow sites to use your server as a backup MX without
dnl   your permission.
dnl FEATURE(relay_based_on_MX)

dnl DNS based black hole lists
dnl 
dnl DNS based black hole lists come and go on a regular basis
dnl so this file will not serve as a database of the available servers.
dnl For that, visit
dnl http://directory.google.com/Top/Computers/Internet/Abuse/Spam/Blacklists/

dnl Uncomment to activate Realtime Blackhole List
dnl information available at http://www.mail-abuse.com/
dnl NOTE: This is a subscription service as of July 31, 2001
dnl FEATURE(dnsbl)
dnl Alternatively, you can provide your own server and rejection message:
dnl FEATURE(dnsbl, `blackholes.mail-abuse.org', `"550 Mail from " 
$&{client_addr} " rejected, see http://mail-abuse.org/cgi-bin/lookup?"; 
$&{client_addr}')

dnl Dialup users should uncomment and define this appropriately
dnl define(`SMART_HOST', `your.isp.mail.server')

dnl Uncomment the first line to change the location of the default
dnl /etc/mail/local-host-names and comment out the second line.
dnl define(`confCW_FILE', `-o /etc/mail/sendmail.cw')
define(`confCW_FILE', `-o /etc/mail/local-host-names')

dnl Enable for both IPv4 and IPv6 (optional)
DAEMON_OPTIONS(`Name=IPv4, Family=inet')
dnl DAEMON_OPTIONS(`Name=IPv6, Family=inet6, Modifiers=O')

define(`confBIND_OPTS', `WorkAroundBroken')
define(`confNO_RCPT_ACTION', `add-to-undisclosed')
define(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy')
dnl MAILER(local)
MAILER(smtp)
MAILER(procmail)
INPUT_MAIL_FILTER(`sid-filter', `S=local:/var/run/sid-filter')
INPUT_MAIL_FILTER(`spamassassin', `S=local:/var/run/spamass-milter.sock, F=, 
T=C:15m;S:4m;R:4m;E:10m')
define(`confMILTER_MACROS_CONNECT',`b, j, _, {daemon_name}, {if_name}, 
{if_addr}')dnl

dnl set SASL options
TRUST_AUTH_MECH(`GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl
define(`confAUTH_MECHANISMS', `GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl
define(`confDEF_AUTH_INFO', `/etc/mail/auth-info')dnl


Any idea what I'

Bind question

2005-10-22 Thread stan
I've got a FreeBSD machine runing Bind 9.3 that needs to zone transfers
from a Solaris 8 machine running Bind 8.3.3 

I'm getting errors about failed transfers. This is showing up in the logs
on the Solaris machine:

Oct 21 14:30:33 cor-day-dns4 named[140]: denied AXFR from
[170.85.113.8].1044 for "10.in-addr.arpa" IN (acl)
 
I suspect that there is some option I need to set to disallow something
thet the Solaris machine is not allowing.

Can anyone clarify this error message for me?

-- 
U.S. Encouraged by Vietnam Vote - Officials Cite 83% Turnout Despite Vietcong 
Terror 
- New York Times 9/3/1967
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Editor for C & C++ language

2005-10-22 Thread Kirk Strauser
On Saturday 22 October 2005 03:07 pm, vittorio wrote:
> Working usually under kde I'm looking for something similar to the
> llc-win32 program under ms-windows - that is a development environment
> where you can edit your c++ program, compile it, debug it step by step, and
> finally run it in a suitable window.

Since you're using KDE anyway, check out KDevelop.  It's similar to Visual 
Studio.

I'm with Johnny, though.  I could live in Emacs quite happily.
-- 
Kirk Strauser


pgppDhztYKnhi.pgp
Description: PGP signature


Re: cvsup, mirrors and data integrity

2005-10-22 Thread Andrew P.
On 10/23/05, Dimitar Vasilev <[EMAIL PROTECTED]> wrote:
> > I don't like the style of djb, sorry.
>
> I know, but his tools work and are great for such things.
> There have been occasions on which the bgp "blinks"/ntpd decides to go play
> and after a while the box goes disfunct and I have to start/stop manually.
>

I guess that's why we let cisco handle bgp (and ntp,
by the way).

> > The box has 1 ide and 4 scsi disks. But I had to
> > remove scsi cables and can't find a replacement
> > at the moment, so it's on ide for now.
> >
> > Squid is also on the server. So I guess, when
> > scsi disks are back online, I'll dedicate 2 to
> > squid, and 2 in a vinum mirroring array with
> > softupdates disabled for more important
> > things, like cvs repos, distfiles, etc.
> >
>
> Try setting up a md through which to buffer the read/write operations for 
> cvsupd
> For CVS there is a hint in the hubs article
> /dev/da0s1b /anoncvstmp mfs
> rw,-s=786432,-b=4096,-f=512,-i=560,-c=3,-m=0,nosuid,nodev 0 0
>
> /etc/inetd.conf
> cvspserver stream tcp nowait root /usr/bin/cvs cvs -f -l -R -T
> /anoncvstmp --allow-root=/home/ncvs pserver
>
> I suppose if you play a bit, you can come with a similar solution for CVSUP.
>
> Btw, have you extended an existing stripe with growfs?
>
> I have to extend my stripe on which ftp+rsync repo lies with 0,5TB and
> would like to preserve data if possible.
> All the best
> --
> Димитър Василев
> Dimitar Vassilev
>
> GnuPG key ID: 0x4B8DB525
> Keyserver: pgp.mit.edu
> Key fingerprint: D88A 3B92 DED5 917E 341E D62F 8C51 5FC4 4B8D B525
>

It doesn't really seem that disk performance is a
bottle-neck. CPU is saturated much more quickly.
It's a dual P3 box, 5-6 cvsup sessions with
compression turned on is as much as it is gonna
take without major slowdowns. I guess there's
no way to make a new IDE disk lag behind over
a 100Mbit link.

But I'm thinking about gigabit - and cvs instead of
cvsup. That's where your recommendations will
come into play.

No, I haven't been growing any stripes in my
garden lately :-)


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

Re: Bind question

2005-10-22 Thread Dimitar Vasilev
2005/10/22, stan <[EMAIL PROTECTED]>:
> I've got a FreeBSD machine runing Bind 9.3 that needs to zone transfers
> from a Solaris 8 machine running Bind 8.3.3
>
> I'm getting errors about failed transfers. This is showing up in the logs
> on the Solaris machine:
>
> Oct 21 14:30:33 cor-day-dns4 named[140]: denied AXFR from
> [170.85.113.8].1044 for "10.in-addr.arpa" IN (acl)
Simply allow the FreeBSD box to get the transfer - check your AXFR ACL
on the Solaris box.
Buy the latest revision of DNS&BIND if you don't have it.
Also if possible, migrate the Solaris named to 9.3 and use TSIG as a
verification for transfers.

--
Димитър Василев
Dimitar Vassilev

GnuPG key ID: 0x4B8DB525
Keyserver: pgp.mit.edu
Key fingerprint: D88A 3B92 DED5 917E 341E D62F 8C51 5FC4 4B8D B525
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re[2]: Editor for C & C++ language

2005-10-22 Thread Cezar Fistik
Hello Johnny,

>> Is  there anything of the kind of llc-win32?

I would give a try to wscite, http://www.scintilla.org/. It's a nice
graphical editor, very configurable, supports almost any language
syntax hihglighting, supports multitabbed windows and runs on unixes
and windows. You can configure it to use different compilers, for
example I configured it on windows to easily compile C# programs.
In a word you should see it.

Hope that helps.

-- 
Best regards,
 Cezarmailto:[EMAIL PROTECTED]

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


Re: Bind question

2005-10-22 Thread Andrew P.
On 10/23/05, stan <[EMAIL PROTECTED]> wrote:
> I've got a FreeBSD machine runing Bind 9.3 that needs to zone transfers
> from a Solaris 8 machine running Bind 8.3.3
>
> I'm getting errors about failed transfers. This is showing up in the logs
> on the Solaris machine:
>
> Oct 21 14:30:33 cor-day-dns4 named[140]: denied AXFR from
> [170.85.113.8].1044 for "10.in-addr.arpa" IN (acl)
>
> I suspect that there is some option I need to set to disallow something
> thet the Solaris machine is not allowing.
>
> Can anyone clarify this error message for me?
>
> --
> U.S. Encouraged by Vietnam Vote - Officials Cite 83% Turnout Despite Vietcong 
> Terror
> - New York Times 9/3/1967
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>

It has nothing to do with FreeBSD, right?

BTW, transfers between BIND8 and BIND9 are
now compromised.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Disks using DMA causing high CPU usage

2005-10-22 Thread Sna Fu

Hi,

I installed a Maxtor 250Gb ATA133 drive in my FreeBSD machine just yet,
and after doing the common stuff it came up and running just fine. Curious
as I am I decided to do some benchmarks (Bonnie++) to see if a 16Mb cache
affected performance, but much to my surprise I saw that the drive was
using up to 99% of my CPU!

Here is the Bonnie output:

File './Bonnie.7724', size: 104857600
[snip]
 ---Sequential Output ---Sequential Input--
--Random--
 -Per Char- --Block--- -Rewrite-- -Per Char- --Block---
--Seeks---
MachineMB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU  /sec
%CPU
 100 15326 50.3 14596 24.5 17190 27.8 42274 99.0 132574 99.2
13326.4 98.0
[snip]

As you can see, the CPU usage is quite high and the drive throughput is
not what I expected either, but I'm not sure if those are normal rates.
Anyway, the ouput that Bonnie gave me lead me to believe that the drive
might not be using DMA at all, so I checked this using atacontrol:

[snip]
ATA channel 1:
   Master:  ad2  ATA/ATAPI revision 7
   Slave:  acd0  ATA/ATAPI revision 0

Master = UDMA66
Slave  = UDMA33
[snip]

So much for this drive, but I found that both drives on ATA channel 0 were
having the same issue! Both are awfully CPU-intensive when under load,
however I am using a fairly old DMA cable (40 pins) so both disks are
running on UDMA33. Yet, they *are* using DMA so at least I would've
expected a lower CPU utilisation - or am I dead wrong there?

Relevant dmesg output follows:

[snip]
atapci0:  port
0xf000-0xf00f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
ata0-master: DMA limited to UDMA33, non-ATA66 cable or device
ata0-slave: DMA limited to UDMA33, non-ATA66 cable or device
ad0: 78167MB  [158816/16/63] at ata0-master UDMA33
ad1: 78167MB  [158816/16/63] at ata0-slave UDMA33
ad2: 239372MB  [486344/16/63] at ata1-master UDMA66
acd0: CDROM  at ata1-slave PIO4
[/snip]

The machine and disks (sans the 250gb one) performed fine when I was still
running Linux, albeit after some tweaking with hdparm (i.e. enabling
32-bit transfer mode).

My questions in a nutshell: Why is my transfer rate so disappointing, and
why is my CPU usage so enormously high when the disks are being put to
work? I'm out of ideas, I hope anybody can help.

Thanks in advance,

Dan(iel) Eisenhower

_
Spel spelletjes met je online vrienden via MSN Messenger 
http://messenger.msn.nl/


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


Re: Editor for C & C++ language

2005-10-22 Thread Andrew Pogrebennyk
On Sat, Sat, 22 Oct 2005 22:07:19 +0200 (GMT)
vittorio <[EMAIL PROTECTED]> wrote:

> Working usually under kde I'm looking for something similar to the
> llc-win32 program under ms-windows - that is a development
> environment where you can edit your c++ program, compile it, debug it
> step by step, and finally run it in a suitable window.
> I tried the nice editor kate which allows to compile the file only.
> No debugging, no running.
> Is  there anything of the kind of llc-win32?
> Ciao
> Vittorio

I don't know what llc-win32 is, but try using Code::Blocks Studio
(http://www.codeblocks.org/) or Dev-C++
(http://www.bloodshed.net/devcpp.html). The last is written in
Delphi and I have no idea if it could be compiled under FreeBSD.
Good luck with that.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Options for starting "*.sh" programs

2005-10-22 Thread Dan Nelson
In the last episode (Oct 22), Gerard Seibert said:
> In the '/usr/local/etc/rc.d' directory, I have discovered that I have
> several options available with the various programs listed there.
> 
> For instance, take the samba.sh program. It lists these options:
> 
> [fast|force|one](start stop restart rcvar status poll}
> 
> I understand the obvious start, stop, restart, rcvar and status.
> However, what do the fast, force, one and poll options do?

They're described in the rc.subr manpage.
 
> I cannot seem to find anything in the manual regarding this? No
> doubt, I am looking in the wrong place.

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


Re: cvsup, mirrors and data integrity

2005-10-22 Thread Andrew P.
On 10/23/05, Dimitar Vasilev <[EMAIL PROTECTED]> wrote:
> > I guess that's why we let cisco handle bgp (and ntp,
> > by the way).
> Thanks, I will have it in mind next time if I'm to setup these two services.
> The bottleneck is insufficient memory for BGP. In a week or so there
> will be another chip.
> BTW, the network admins of the institution, where the project machine
> I coadmin is collocated,  do not like T*tsco, because it is
> exploitable and breaks easily under the volume of traffic passing
> through there.I agree with them to some extend.
> As the project is fully voluntary and it is backed by the admins and
> FreeBSD users, it is normal to have such a setup. I'm now used to the
> signs of dying ntpd and can react in acceptable time.
> Happy weekend!
>
> --
> Димитър Василев
> Dimitar Vassilev
>
> GnuPG key ID: 0x4B8DB525
> Keyserver: pgp.mit.edu
> Key fingerprint: D88A 3B92 DED5 917E 341E D62F 8C51 5FC4 4B8D B525
>

Yeah, Cisco sucks - in that I totally agree with you.

Haven't tried bgp on FreeBSD, but I'm sure the ntpd
problem can be alleviated by daily something like
"/etc/rc.d/ntpd stop && /etc/rc.d/ntpdate start &&
/etc/rc.d/ntpd start", can't it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: Editor for C & C++ language

2005-10-22 Thread Marcin Waldowski

On 2005-10-22 22:07 vittorio wrote:

Working usually under kde I'm looking for something similar to the llc-win32 
program under ms-windows - that is a development environment where you can 
edit your c++ program, compile it, debug it step by step, and finally run it 
in a suitable window.
I tried the nice editor kate which allows to compile the file only. No 
debugging, no running.

Is  there anything of the kind of llc-win32?
Ciao
Vittorio


Check out Eclipse platform with CDT plugin:
http://www.eclipse.org/cdt/
which has a great debuger

With LeakTracert for checkig memory leaks you have almost everything for 
c++ developement.


Best regards,
Marcin

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


Re: Bind question

2005-10-22 Thread stan
On Sat, Oct 22, 2005 at 11:52:56PM +0300, Dimitar Vasilev wrote:
> 2005/10/22, stan <[EMAIL PROTECTED]>:
> > I've got a FreeBSD machine runing Bind 9.3 that needs to zone transfers
> > from a Solaris 8 machine running Bind 8.3.3
> >
> > I'm getting errors about failed transfers. This is showing up in the logs
> > on the Solaris machine:
> >
> > Oct 21 14:30:33 cor-day-dns4 named[140]: denied AXFR from
> > [170.85.113.8].1044 for "10.in-addr.arpa" IN (acl)
> Simply allow the FreeBSD box to get the transfer - check your AXFR ACL
> on the Solaris box.
> Buy the latest revision of DNS&BIND if you don't have it.
> Also if possible, migrate the Solaris named to 9.3 and use TSIG as a
> verification for transfers.
> 
Thanks,

Unfortunately that end is controled by corporaate, and it is _very hard_
to get anything done on thier end.

Is thee soemthing I can do on the FreeBSD end to disable this particular
request?

-- 
U.S. Encouraged by Vietnam Vote - Officials Cite 83% Turnout Despite Vietcong 
Terror 
- New York Times 9/3/1967
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


FW: Re: Bind question

2005-10-22 Thread stan

On Sat, Oct 22, 2005 at 11:52:56PM +0300, Dimitar Vasilev wrote:
> 2005/10/22, stan <[EMAIL PROTECTED]>:
> > I've got a FreeBSD machine runing Bind 9.3 that needs to zone transfers
> > from a Solaris 8 machine running Bind 8.3.3
> >
> > I'm getting errors about failed transfers. This is showing up in the logs
> > on the Solaris machine:
> >
> > Oct 21 14:30:33 cor-day-dns4 named[140]: denied AXFR from
> > [170.85.113.8].1044 for "10.in-addr.arpa" IN (acl)
> Simply allow the FreeBSD box to get the transfer - check your AXFR ACL
> on the Solaris box.
> Buy the latest revision of DNS&BIND if you don't have it.
> Also if possible, migrate the Solaris named to 9.3 and use TSIG as a
> verification for transfers.
> 
Thanks,

Unfortunately that end is controled by corporaate, and it is _very hard_
to get anything done on thier end.

Is thee soemthing I can do on the FreeBSD end to disable this particular
request?

-- 
U.S. Encouraged by Vietnam Vote - Officials Cite 83% Turnout Despite Vietcong 
Terror 
- New York Times 9/3/1967
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Why is sendmail rewriting incoming adresses like this?

2005-10-22 Thread Chuck Swiger

stan wrote:

I've got the in tree sendmail set up on a 4.11-RELEASE machine, and I'm
seeing somethign I do not understand.

If I send it mail with a To that looks like this:

[EMAIL PROTECTED]

It's getting rewriten to:

[EMAIL PROTECTED]


I'd guess your virtusertable is doing it, but remove the -o flags ("hash -o 
...") since that option prevents you from seeing errors with them.  Do 
something like this:


  echo "3,0 [EMAIL PROTECTED]" | sendmail -bt -d0

--
-Chuck

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


gxine seg fault

2005-10-22 Thread makisupa
Anybody ever get a segmentation fault (core dump) whenever going to full
screen while playing a dvd with gxine?  xine works though...that's
really wierd.  I tried to run through the dump with bug buddy but it
keeps freezing.  This happens no matter what video plugin i select and
nearly every time i go to fullscreen.  There is no error generated in a
terminal.  While googling i found a bloke who had the same problem but
no solution was found...So i'm hoping someone can point me in the right
direction.

FreeBSD newbie.  gxine installed from an up to date ports tree.  Please
helpAnd thanks.  Loving freebsd more everyday.

/mak.

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


Re: gxine seg fault

2005-10-22 Thread makisupa
Don't know if this helps (because i'm not sure how to turn the debug
flags on), but I have the output from bug buddy for the core dump.
Large block of text forthcoming.

Thanks again everybody,
mak

Backtrace was generated from '/usr/X11R6/bin/gxine'

(no debugging symbols found)...Core was generated by `gxine'.
Program terminated with signal 11, Segmentation fault.
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...#0  0x284e72b7 in
pthread_testcancel () from /usr/lib/libpthread.so.2
[New Thread 0x811d800 (sleeping)]
[New Thread 0x9449c00 (runnable)]
[New Thread 0x9377000 (sleeping)]
[New Thread 0x8ba7c00 (runnable)]
[New Thread 0x8ba7800 (LWP 100161)]
[New Thread 0x8ba7600 (LWP 100160)]
[New Thread 0x8ba7400 (LWP 100159)]
[New Thread 0x8379c00 (LWP 100158)]
[New Thread 0x822d000 (sleeping)]
[New Thread 0x8224e00 (LWP 100155)]
[New Thread 0x80d3000 (runnable)]
[New LWP 100163]
#0  0x284e72b7 in pthread_testcancel () from /usr/lib/libpthread.so.2
#1  0x284dfdac in pthread_mutexattr_init ()
from /usr/lib/libpthread.so.2
#2  0x in ?? ()

Thread 12 (LWP 100163):
#0  0x284e72b7 in pthread_testcancel () from /usr/lib/libpthread.so.2
No symbol table info available.
#1  0x284dfdac in pthread_mutexattr_init ()
from /usr/lib/libpthread.so.2
No symbol table info available.
#2  0x in ?? ()
No symbol table info available.

Thread 11 (Thread 0x80d3000 (runnable)):
#0  0x28530973 in poll () from /lib/libc.so.6
No symbol table info available.
#1  0x284d0b02 in read () from /usr/lib/libpthread.so.2
No symbol table info available.
#2  0x287524a1 in _XWaitForReadable () from /usr/X11R6/lib/libX11.so.6
No symbol table info available.
#0  0x284e7277 in pthread_testcancel () from /usr/lib/libpthread.so.2

On Sat, 2005-10-22 at 18:31 -0500, makisupa wrote:
> Anybody ever get a segmentation fault (core dump) whenever going to full
> screen while playing a dvd with gxine?  xine works though...that's
> really wierd.  I tried to run through the dump with bug buddy but it
> keeps freezing.  This happens no matter what video plugin i select and
> nearly every time i go to fullscreen.  There is no error generated in a
> terminal.  While googling i found a bloke who had the same problem but
> no solution was found...So i'm hoping someone can point me in the right
> direction.
> 
> FreeBSD newbie.  gxine installed from an up to date ports tree.  Please
> helpAnd thanks.  Loving freebsd more everyday.
> 
> /mak.
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

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


Sound driver

2005-10-22 Thread Teilhard Knight

Hello:

I have only compiled a kernel for FreeBSD for the series 4.x. I now 
installed version 5.4, and I do not have sound. I am compiling my custom 
kernel essentially to get sound. In the series 4.x the driver "pcm" worked 
fine for me. My question is whether I should stick to the same driver or I 
should use another driver in the 5.4 install. Any feedback will be 
appreciated.


Teilhard. 


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


Re: Sound driver

2005-10-22 Thread Mark Kane

Teilhard Knight wrote:

Hello:

I have only compiled a kernel for FreeBSD for the series 4.x. I now 
installed version 5.4, and I do not have sound. I am compiling my custom 
kernel essentially to get sound. In the series 4.x the driver "pcm" 
worked fine for me. My question is whether I should stick to the same 
driver or I should use another driver in the 5.4 install. Any feedback 
will be appreciated.


Teilhard.


Hi. Check out:

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

It's "device sound" in 5.x instead of "device pcm". Obviously then add 
in support for your specific sound card with the documentation provided 
there.


Hope that helps. :)

-Mark

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


Re: Editor for C & C++ language

2005-10-22 Thread Giorgos Keramidas
On 2005-10-22 22:07, vittorio <[EMAIL PROTECTED]> wrote:
> Working usually under kde I'm looking for something similar to the
> llc-win32 program under ms-windows - that is a development environment
> where you can edit your c++ program, compile it, debug it step by
> step, and finally run it in a suitable window.

> I tried the nice editor kate which allows to compile the file only. No
> debugging, no running.

> Is  there anything of the kind of llc-win32?

I'm using Emacs as my IDE for years now.  It's not exactly what someone
who is used to windowing environments would call a "GUI IDE", but it can
do the following:

- Edit the source code (with syntax highlighting if need be)
  
- Compile (with the hit of a single key, once configured)
  
- Parse compiler output and move to the file/line of an error,
  then to the next error, etc.
  
- Interactively debug C, C++, Perl, Python, or LISP programs,
  line by line -- working as a "control program" for GNU gdb

and that's only a minor subset of the features it has.

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


Is there a Data Communications Program Native to FreeBSD?

2005-10-22 Thread Bob Perry
Hello,

I'm running FreeBSD 5.4 and just installed HylaFAX.  I'm just curious if
there is a data communications program native to FreeBSD that I could
easily install and run that would facilitate configuration of my
modem?  

Thanks,
Bob 

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


Re: ntpd problems

2005-10-22 Thread Eric Schuele

Shelby Westman wrote:

Hello, all,

I am a relatively new freeBSD user. The problem I describe below happens on
both a 5.4 install and a 6.0 RC1 install.

Right after installing the OS, I enable ntpd in rc.conf, and setup a simple


Are you intending on running an NTP daemon?  Or are you just trying to 
sync your clock with an NTP source?  If the later, try adding the 
following to your rc.conf:


ntpdate_enable="YES"
ntpdate_flags=""

HTH.


config file in /etc/ntp.conf. When I reboot, I get this message:

Oct 22 10:40:57 alter ntpd[392]: ntpd 4.2.0-a Sun Oct 9 18:33:33 UTC 2005
(1)
Oct 22 10:40:57 alter ntpd[392]: bind() fd 6, family 28, port 123, addr
fe80:1::202:55ff:fe58:2957, in6_is_addr_multicast=0 flags=0 fails: Can't
assign requested address

Then ntpd does not synchronize the time. I set the clock manually (using
date) five minutes ahead to check and in fact it does not get adjusted.

I have tried all sorts of things. I tried assigning numeric addresses rather
than host names in the config file. I tried enabling ipv6 in sysinstall.
This machine does have a good route to the internet - I can use nslookup to
resolve host names, so I know the networking is working.

Below I have quoted the ntp.conf. The log file is empty - nothing is being
written there.

Does anyone have any ideas? I am stumped... thanks for your help.

Shelby

__

config file as it stands now...

logfile /var/log/ntpd.log

# deny-by-default policy
restrict default ignore

#server -4 ntp-2.ece.cmu.edu 
#server -4 ticker.cis.sac.accd.edu 
#server -4 lain.ziaspace.com 
#server -4 ntp1.linuxmedialabs.com 
server 17.254.0.31 

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




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


Re: Is there a Data Communications Program Native to FreeBSD?

2005-10-22 Thread Bill Campbell
On Sat, Oct 22, 2005, Bob Perry wrote:
>Hello,
>
>I'm running FreeBSD 5.4 and just installed HylaFAX.  I'm just curious if
>there is a data communications program native to FreeBSD that I could
>easily install and run that would facilitate configuration of my
>modem?  

ckermit, minicom perhaps?

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
UUCP:   camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

When I hear a man applauded by the mob I always feel a pang of pity
for him.  All he has to do to be hissed is to live long enough.
-- H.L. Mencken, ``Minority Report''
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Is there a Data Communications Program Native to FreeBSD?

2005-10-22 Thread Noel Jones
On 10/22/05, Bob Perry <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I'm running FreeBSD 5.4 and just installed HylaFAX.  I'm just curious if
> there is a data communications program native to FreeBSD that I could
> easily install and run that would facilitate configuration of my
> modem?
>

tip and cu are part of the base system and should work for manually
setting modem parameters.

If you want something more sophisticated, ports/comms has several. 
I've used ecu and kermit for various projects in the past.

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


Re: ntpd problems

2005-10-22 Thread Eric Schuele

Eric Schuele wrote:

Shelby Westman wrote:


Hello, all,

I am a relatively new freeBSD user. The problem I describe below 
happens on

both a 5.4 install and a 6.0 RC1 install.

Right after installing the OS, I enable ntpd in rc.conf, and setup a 
simple



Are you intending on running an NTP daemon?  Or are you just trying to 
sync your clock with an NTP source?  If the later, try adding the 
following to your rc.conf:


ntpdate_enable="YES"
ntpdate_flags=""


FWIW... after checking the man pages, I think ntpdate is being 
deprecated some time in the near future.


ntpd should be used.  So here is what I now have in my rc.conf:

ntpd_enable="YES"
ntpd_flags="-q"

/etc/ntp.conf contains exactly one line:

server north-america.pool.ntp.org

Works fine.

Also... another thought.  You might try disabling IPv6 unless you need 
it. (remove 'options INET6' from kernconf)




HTH.


config file in /etc/ntp.conf. When I reboot, I get this message:

Oct 22 10:40:57 alter ntpd[392]: ntpd 4.2.0-a Sun Oct 9 18:33:33 UTC 2005
(1)
Oct 22 10:40:57 alter ntpd[392]: bind() fd 6, family 28, port 123, addr
fe80:1::202:55ff:fe58:2957, in6_is_addr_multicast=0 flags=0 fails: Can't
assign requested address

Then ntpd does not synchronize the time. I set the clock manually (using
date) five minutes ahead to check and in fact it does not get adjusted.

I have tried all sorts of things. I tried assigning numeric addresses 
rather

than host names in the config file. I tried enabling ipv6 in sysinstall.
This machine does have a good route to the internet - I can use 
nslookup to

resolve host names, so I know the networking is working.

Below I have quoted the ntp.conf. The log file is empty - nothing is 
being

written there.

Does anyone have any ideas? I am stumped... thanks for your help.

Shelby

__

config file as it stands now...

logfile /var/log/ntpd.log

# deny-by-default policy
restrict default ignore

#server -4 ntp-2.ece.cmu.edu 
#server -4 ticker.cis.sac.accd.edu 
#server -4 lain.ziaspace.com 
#server -4 ntp1.linuxmedialabs.com 
server 17.254.0.31 

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








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


Re: Is there a Data Communications Program Native to FreeBSD?

2005-10-22 Thread stan
On Sat, Oct 22, 2005 at 08:13:33PM -0700, Bill Campbell wrote:
> On Sat, Oct 22, 2005, Bob Perry wrote:
> >Hello,
> >
> >I'm running FreeBSD 5.4 and just installed HylaFAX.  I'm just curious if
> >there is a data communications program native to FreeBSD that I could
> >easily install and run that would facilitate configuration of my
> >modem?  
> 
> ckermit, minicom perhaps?
> 

cu is in the base system.
-- 
U.S. Encouraged by Vietnam Vote - Officials Cite 83% Turnout Despite Vietcong 
Terror 
- New York Times 9/3/1967
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Linux computability

2005-10-22 Thread Michael Christie


Hi all,

Last night I was trying to work out how to get Linux programs to run 
under freebsd. I have worked out how to get Linux programs to run in 
side a jail under freebsd Linux computability.


1, install linux_base on to the host server, edit rc.conf  add 
linux_enable="YES"
2, make a jail using jail tools and or jail tools webmin.  
http://www.the-labs.com/FreeBSD/JailTools/

3, add mounts from the host to the jail

add mount,
mount_nullfs /compat/ /usr/jails/myjailname/compat/
mount_linprocfs linprocfs /usr/jails/myjailname/compat/linux/proc

To Mount at boot time  edit /etc/fstab
/compat /usr/jails/myjailname/compat nullfsrw  0  0
 linproc /usr/jails/myjailname/compat/linux/proc  linprocfs rw  0  0

4 edit rc.conf inside the jail  add  linux_enable="YES"

Now Linux programs run in side of the jail.



Thanks

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


IPFW equivalent of iptables --state ESTABLISHED, RELATED

2005-10-22 Thread John Do
Hi guys

I'm having trouble with IPFW I need to allow user
initiated traffic IN but I can't

Basically in iptables for Linux I would have used
something like
-A INPUT -p tcp -m tcp --state ESTABLISHED,RELATED -j
ACCEPT


Can someone help me discover what the equivalent
syntax in IPFW would be?

I have tried to use "allow tcp from any to any
established in" but it doesn't work 

much appreciated

thanks guys !






__ 
Find your next car at http://autos.yahoo.ca
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


default routing question ZIPB ADSL PPPoA

2005-10-22 Thread Ahnjoan Amous
 The short : I believe the problem I am having is due to routing. A DHCP
server sends me IP A.B.C.D with a default route of A.B.C.D. "dhclient" isn't
handling this well and I don't know how to fix it. Windows as well as Linux
DHCP clients do not have a problem with this and I am at my wits end trying
to figure out what combination of route commands will fix my issue.

The long : I have a CellPipe ADSL router/bridge from Lucent. This device is
provided by our ISP. I am exploring the ZIPB functionality of the device to
allow my FreeBSD host to own the public IP. The basics of the configuration
for those unfamiliar is as follows. PPPoA is established by the device and
the the (public) IP acquired through the previous process is delivered to a
host behind that CellPipe via DHCP. After DHCP the device acts as a
"bridge", allowing the internal device to use the public IP as its own. I'm
sure this description is vague but I don't know any other way to explain.

Info : After dhclient acquires its info the ethernet interface looks like
this
ifconfig ethernet interface – inet A.B.C.D netmask
255.255.255.255

When I connect a windows or Linux host they seem to treat the interface as
the default route and work as expected. With FreeBSD I have tried removing
all routes for the device after assignment, and then adding default route
based on -interface flag for route command. I have also tried opening up the
netmask on the ethernet interface and adding a default route destined for
what I know the PPPoA connections end point is.

Nothing I have tried seems to work. I don't consider myself an expert by any
means but this is clearly beyond my knowledge.

I'm happy to provide any information you need it you have an idea.

Thanks

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