portsentry question.

2005-11-30 Thread Marwan Sultan

Hello Everyone,

   I have up and running freebsd 4.8-R
   recently i installed portsentry from my updated ports,

  I configured portsentry.conf to add the blocked IPs to ipfw.

 also I added all my allowed IPs to portsentry.ignore

when I ssh to the box It works fine, but when I surf the web from any other 
machine

outside local network to www.mydomain.com
it add me to the blocked list (ipfw) as an ip trying to scan port 80.

also when i try to localy surf the web from the box it self - lynx 
mydomain.com
the box add it self to the blocked list ipfw deny localhost ip, then 
ofcourse all the machine
hangs..although i added the C class machine xxx.xxx.xxx.0/24 ips to the 
portsentry.ignore file.


any ideas what to do?
to make people looking at the webpages normally, using the webemail client 
normally,

in the same time to block any scan attempts?

any better package to do so?

take a note its a commercial server use, running apache, email clients, no 
anonymous.


Thank you sso much in advance.

Marwan

_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


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


pvm connection problems

2005-11-30 Thread Vittorio
At office I'm trying to solve a heavy statistical problem by means of 
parallel computation with R and pvm.
The problem is with setting up the 
cluster of computers which - to begin with - is made of two pentium 4 
with freebsd 5.4 (host uffbsd) and 6.0 (host NbBSD). 

They see each 
other. From NbBSD:

# ping uffbsd
PING uffbsd.grtn.prv 
(10.155.194.115): 56 data bytes
64 bytes from 10.155.194.115: 
icmp_seq=0 ttl=64 time=0.221 ms
64 bytes from 10.155.194.115: 
icmp_seq=1 ttl=64 time=0.193 ms

But trying to setup the virtual 
machine 

pvm> add NbBSD
add NbBSD
0 successful

HOST DTID
   NbBSD Duplicate host
pvm> conf
conf
1 
host, 1 data format
HOST DTID ARCH   
SPEED   DSIG
  NbBSD.myd.prv4  FREEBSD1000 
0x00408841
pvm> add uffbsd
add uffbsd
0 successful

HOST DTID
  uffbsd Can't start pvmd

Auto-
Diagnosing Failed Hosts...
uffbsd...
Verifying Local Path to "rsh"...
Rsh found in /usr/bin/rsh - O.K.
Testing Rsh/Rhosts Access to Host 
"uffbsd"...

Rsh/Rhosts Access FAILED - "uffbsd.myd.prv: Connection 
refused"
Make sure host uffbsd is up and connected to
a network and 
check its DNS / IP address.
Also verify that NbBSD.myd.prv is allowed
rsh access on uffbsd
Add this line to the $HOME/.rhosts on uffbsd:
NbBSD.myd.prv victor
...

Of 
course, in /home/victor/.rhost on uffbsd there's the required line.
The 
same reciprocal situation happens from host uffbsd.

Perhaps I'm 
missing something.
Could you please help me?
Vittorio



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


Re: Problem with burning CD-DAs

2005-11-30 Thread Stevan Tiefert

Fabian Keil schrieb:


Stevan Tiefert <[EMAIL PROTECTED]> wrote:



Fabian Keil schrieb:


Stevan Tiefert <[EMAIL PROTECTED]> wrote:




I can rip without problems a CD-DA to a wav-file (cdda2wav). I
played this file in a wav-player without problems. When I burn these
wav-files with cdrecord to a CD-R and then play this CD-R on a
CD-Player I hear the songs but with a disturbing rushing! No klicks!
I hear the song with a rush like a storm! All Audio-Tracks, the
whole CD, rushing!




Did you check with readcd -c2scan if the burned disc is c2 error
free?

If you rip the burned disc with cdda2wav -paranoia, do you get any
suspicious error messages? Do the ripped wavs still have the
problems you described?




When I run:
readcd dev=3,0,0 -c2scan
it finish his work without hard read errors.



It should finish without any errors.
If it doesn't look like this:

Total of 0 hard read errors.
C2 errors total: 0 bytes in 0 sectors on disk
C2 errors rate: 0.00% 
C2 errors on worst sector: 0, sectors with 100+ C2 errors: 0


there is something wrong.
 


With:
cdda2wav -v255 -D3,0,0 -B -Owav -paranoia
I got 60 % korrekt read *.wav-files the others have minor problems, 
rereads and so on...



That is bad as well.


When I cdrecord the ONLY GOOD *.wav-files I got the same effect like 
before! I hear together with my songs a storm!!! It seems to be only

the write process is not correct working!



Please post the output of cdrecord dev=3,0,0 -atip,
and the last four lines of the c2scan.

Please also cc [EMAIL PROTECTED]

Fabian

Hello again,

first sorry for only responding to you Fabian, it was my mistake... 
pressed the false answer-button... :-(


Second, the output of "cdrecord -atip dev=1,0,0":

Cdrecord-Clone 2.01 (i386-unknown-freebsd5.4) Copyright (C) 1995-2004 
Jörg Schilling

scsidev: ´1,0,0´
scsibus: 1 target: 0 lun: 0
Using libscg version ´schily-0.8´.
Device type: Removable CD-ROM
Version: 0
Response Format: 1
Vendor_info: ´LG  ´
Identifikation: ´CD-RW CED-8080B ´
Revision: ´1.06´
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags: MMC SWABAUDIO
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
ATIP info from disk:
  Indicated writing power: 5
  Is not unrestricted
  Is not erasable
  Disk sub type: Medium Type A, high Beta category (A+) (3)
  ATIP start of lead in: -11634 (97:26/66)
  ATIP start of lead out: 359846 (79:59/71)
Disk type: Short strategy type (Phthalocyanine or similar)
Manuf. index: 3
Manufacturer: CMC Magnetics Corporation

Third, the output of "readcd dev=1,0,0 -c2scan":

Read speed: 5645 kB/s (CD 32x, DVD 4x).
Write speed: 1411 kB/s (CD 8x, DVD 1x).
Capacity: 198010 Blocks = 396020 kBytes = 386 MBytes = 405 prMB
Sectorsize: 2048 Bytes
Copy from SCSI (1,0,0) disk to file ´/dev/null´
end: 198010
addr: 198010 cnt: 10
Time total: 225.993sec
Read 511654.75 kB at 2264.0 kB/sec.
Total of 0 hard read errors.
C2 errors total: 0 bytes in 0 sectors on disk
C2 errors rate: 0.00%
C2 errors on worst sector: 0, sectors with 100+ C2 errors: 0

And last, I have also changed my AT-Power-Supply, but the problem still 
exists...


With regards
Stevan

--
Why my wife is happy when I do a "make buildkernel" and a "make 
installkernel"? I have then a lot of time to do my housework :-(



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


R: pvm connection problems

2005-11-30 Thread Vittorio
Sorry, the correct ping is:
# ping uffbsd
PING uffbsd.myd.prv 
(10.155.194.115): 56 data bytes
64 bytes from 10.155.194.115: 
icmp_seq=0 ttl=64 time=0.221 ms
64 bytes from 10.155.194.115: 
icmp_seq=1 ttl=64 time=0.193 ms
...

That is the domain is myd.
prv

>Messaggio originale
>Da: [EMAIL PROTECTED]
>Data: 30-nov-
2005 9.07 AM
>A: 
>Cc: 
>Ogg: pvm connection problems
>
>At office I'm 
trying to solve a heavy statistical problem by means of 
>parallel 
computation with R and pvm.
>The problem is with setting up the 
>cluster of computers which - to begin with - is made of two pentium 4 
>with freebsd 5.4 (host uffbsd) and 6.0 (host NbBSD). 
>
>They see 
each 
>other. From NbBSD:
>
># ping uffbsd
>PING uffbsd.grtn.prv 


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


doubts

2005-11-30 Thread Anirban Adhikary

Hi guys this is Anirban.I have a doubt on the following

write a Shell script that will take a tar backup of a user on a daily basis.
Server details -
192.168.1.19
login - beta
password - bta321
working directory to use anirban
Hope i will receive my answer soon.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: doubts

2005-11-30 Thread Subhro

Anirban Adhikary sat at his 'puter and typed on 11/30/2005 14:38:

Hi guys this is Anirban.I have a doubt on the following

write a Shell script that will take a tar backup of a user on a daily basis.
Server details -
192.168.1.19
login - beta
password - bta321
working directory to use anirban
Hope i will receive my answer soon.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

  

Hello Anirban,
What exactly do you want? You want a shell script to take tar backups of 
all the user directories or that of a particular user? I also do not 
understand why you are providing login information to your system. 
Thirdly that IP is a non routable IP address and is not accessible from 
outside. So that is of no use.


Thanks
S.

--
---
\   / | Subhro Sankha Kar 
 \./  |   GSM: +919831010002  --  Fax: +919831832913  
(0Y0) |MSN: [EMAIL PROTECTED] --  Yahoo!: subhro82
-ooO--(_)--Ooo-


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


disk problem

2005-11-30 Thread Yavuz Maslak
Hello 

I wanted to install freeBSD6.0 on my machine. formerly windows2000 was running 
on it. But I could not install freebsd. Because it gave an error about harddisk.

My harddisk is Western Digital WD400  40Gbyte capacity.

I got the error message on the screen as below 

ATA0_MASTER : FAILURE - ATA_IDENTIFY TIME OUT

What shall I do ?




smime.p7s
Description: S/MIME cryptographic signature


Re: doubts

2005-11-30 Thread Stevan Tiefert

Anirban Adhikary schrieb:


Hi guys this is Anirban.I have a doubt on the following

write a Shell script that will take a tar backup of a user on a daily basis.
Server details -
192.168.1.19
login - beta
password - bta321
working directory to use anirban
Hope i will receive my answer soon.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"



What do you want? Should we write you a script? Or should we only help
you to finish an existing script?

With regards
Stevan

--
Why my wife is happy when I do a "make buildkernel" and a "make
installkernel"? I have then a lot of time to do my housework :-(




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


Re: FreeBSD 6.0 in VMware

2005-11-30 Thread Benjamin Thelen

David Miao schrieb:

On 11/29/05, 赵铭 <[EMAIL PROTECTED]> wrote:



the reason of the error ,i think it's the vmware and you real machine check
the  processor *MHZ is not the same number.
i start my vmware ,the vmware can tall me the message.


On 11/29/05, Konrad Heuer <[EMAIL PROTECTED]> wrote:



On Tue, 29 Nov 2005, David Miao wrote:



I installed a freebsd 6.0 in vmware 5.5, why I get a mass of error
message of "calcu runtime error"?


I installed PC-BSD 1.0rc1 which is in turn based on 6.0 within a VMware
GSX server and encountered no problems.

Regards

Konrad Heuer
GWDG, Am Fassberg, 37077 Goettingen, Germany, [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list



http://lists.freebsd.org/mailman/listinfo/freebsd-questions


To unsubscribe, send any mail to


"[EMAIL PROTECTED]"



--
==
姓 名:赵铭
电 话:13001067593
[EMAIL PROTECTED]
==



赵铭,

谢谢,我禁用了ACPI,现在似乎好了。




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


Hi,

I have 6.0 running even on VMWARE 3.2.1. No Problems. Ah, no, I can't 
install the VMWARE-Tools, but that happend to be under FreeBSD 5.4, too.


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


Re: disk problem

2005-11-30 Thread Glenn Dawson

At 01:28 AM 11/30/2005, Yavuz Maslak wrote:

Hello

I wanted to install freeBSD6.0 on my machine. formerly windows2000 
was running on it. But I could not install freebsd. Because it gave 
an error about harddisk.


My harddisk is Western Digital WD400  40Gbyte capacity.

I got the error message on the screen as below

ATA0_MASTER : FAILURE - ATA_IDENTIFY TIME OUT

What shall I do ?


Is your drive jumpered correctly?  You will get that error if you 
have a drive jumpered as "slave" when there is no "master".


-Glenn






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


ports questions

2005-11-30 Thread buttmanizer
hello people. i always get this error when compiling from the ports. note that 
my ports tree is always up-to-date with cvsup.
 thanks a lot. i hope you can help me.
 
 ps. i included my system specs:
 FreeBSD buttstation 5.4-RELEASE FreeBSD 5.4-RELEASE #6: Sun May 15 11:44:48 
PHT 2005 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/BUTTSTATION  i386
 
 
 ===>  Building for gconf2-2.12.1
 gmake  all-recursive
 gmake[1]: Entering directory `/usr/ports/devel/gconf2/work/GConf-2.12.1'
 Making all in gconf
 gmake[2]: Entering directory `/usr/ports/devel/gconf2/work/GConf-2.12.1/gconf'
 /usr/local/bin/orbit-idl-2 ./GConfX.idl
 /libexec/ld-elf.so.1: Shared object "libglib-2.0.so.600" not found, required 
by "orbit-idl-2"
 gmake[2]: *** [GConfX-common.c] Error 1
 gmake[2]: Leaving directory `/usr/ports/devel/gconf2/work/GConf-2.12.1/gconf'
 gmake[1]: *** [all-recursive] Error 1
 gmake[1]: Leaving directory `/usr/ports/devel/gconf2/work/GConf-2.12.1'
 gmake: *** [all] Error 2
 *** Error code 2
 
 Stop in /usr/ports/devel/gconf2.
 *** Error code 1
 
 Stop in /usr/ports/www/firefox.
 36.069u 13.541s 49:40.48 1.6%   199+3040k 4614+545io 467pf+0w
 


Your extreme buttness,
buttmanizer
Send instant messages to your online friends http://uk.messenger.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: ports questions

2005-11-30 Thread Kris Kennaway
On Wed, Nov 30, 2005 at 10:00:47AM +, buttmanizer wrote:
> hello people. i always get this error when compiling from the ports. note 
> that my ports tree is always up-to-date with cvsup.
>  thanks a lot. i hope you can help me.
>  
>  ps. i included my system specs:
>  FreeBSD buttstation 5.4-RELEASE FreeBSD 5.4-RELEASE #6: Sun May 15 11:44:48 
> PHT 2005 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/BUTTSTATION  i386
>  
>  
>  ===>  Building for gconf2-2.12.1
>  gmake  all-recursive
>  gmake[1]: Entering directory `/usr/ports/devel/gconf2/work/GConf-2.12.1'
>  Making all in gconf
>  gmake[2]: Entering directory 
> `/usr/ports/devel/gconf2/work/GConf-2.12.1/gconf'
>  /usr/local/bin/orbit-idl-2 ./GConfX.idl
>  /libexec/ld-elf.so.1: Shared object "libglib-2.0.so.600" not found, required 
> by "orbit-idl-2"

This indicates that you need to update your installed ports
consistently.  Look into using portupgrade.

Kris


pgpfzaQE7nhee.pgp
Description: PGP signature


Re: ports questions

2005-11-30 Thread buttmanizer
yeah i always do. after cvsup, i execute:
 pkgdb -F
 portupgrade -Ufu
 
 i encountered this libglib problem eversince i wantonly deinstall gnome2. but 
now i can't put it back together again because i always encounter this missing 
libglib problem. any ideas on how to fix this?  

Kris Kennaway <[EMAIL PROTECTED]> wrote:This indicates that you need to update 
your installed ports
consistently.  Look into using portupgrade.

Kris




Your extreme buttness,
buttmanizer
Send instant messages to your online friends http://uk.messenger.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


doubts

2005-11-30 Thread Anirban Adhikary
Hi this is Anirban. I have to write a shell script that will take the tar 
back-up of a directory (named anirban)on a dialy basis 
Hope i will receive the ans soon.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ports questions

2005-11-30 Thread Kris Kennaway
On Wed, Nov 30, 2005 at 10:15:49AM +, buttmanizer wrote:
> yeah i always do. after cvsup, i execute:
>  pkgdb -F
>  portupgrade -Ufu
>  
>  i encountered this libglib problem eversince i wantonly deinstall gnome2. 
> but now i can't put it back together again because i always encounter this 
> missing libglib problem. any ideas on how to fix this?  

Reinstall the port(s) that provide the missing librar(ies)..it may
take several attempts to locate and fix all the damage.

Kris


pgpYkZKsuWqN4.pgp
Description: PGP signature


Re: ports questions

2005-11-30 Thread buttmanizer
the clue is: 
 /libexec/ld-elf.so.1: Shared object "libglib-2.0.so.600" not found, required 
by "orbit-idl-2"
 
 what port does libglib-2.0.so.600 belong?  i only found this one: 
/usr/local/lib/libglib-2.0.so.0. i tried to symlink it to 
/usr/local/lib/libglib-2.0.so.600 but the compilation fails.

Kris Kennaway <[EMAIL PROTECTED]> wrote:Reinstall the port(s) that provide the 
missing librar(ies)..it may
take several attempts to locate and fix all the damage.

Kris




Your extreme buttness,
buttmanizer
Send instant messages to your online friends http://uk.messenger.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: ports questions

2005-11-30 Thread Mehmet Fatih AKBULUT
hi buttmanizer.
i had that problem 2 or 3 weeks ago.
i know thats too annoying :p and it really made me sick for days :)
but eventually fixed it.
all u have to do is just upgrade dependencies before installing any port.
to upgrade dependencies u have to first install portupgrade which is in
/usr/ports/sysutils/portupgrade ... (dont forget to select BD.)
if u do this, then upgrade dependencies for the package u wanna install
using the command below:
let's say u wanna install gconf2.
then first :
# portinstall -FR gconf2
if u done with this then move to the second command which is :
# portinstall -N gconf2
(before doing this go to the gconf folder under ports and do # make
deinstall clean first.)
this is what you need friend :p
tell us what u get when u run the commands above.
Regards.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD 6.0 in VMware

2005-11-30 Thread David Miao
On 11/30/05, Benjamin Thelen <[EMAIL PROTECTED]> wrote:
> David Miao schrieb:
> > On 11/29/05, 赵铭 <[EMAIL PROTECTED]> wrote:
> >
> >>
> >>the reason of the error ,i think it's the vmware and you real machine check
> >>the  processor *MHZ is not the same number.
> >>i start my vmware ,the vmware can tall me the message.
> >>
> >>
> >>On 11/29/05, Konrad Heuer <[EMAIL PROTECTED]> wrote:
> >>
> >>>
> >>>On Tue, 29 Nov 2005, David Miao wrote:
> >>>
> >>>
> I installed a freebsd 6.0 in vmware 5.5, why I get a mass of error
> message of "calcu runtime error"?
> >>>
> >>>I installed PC-BSD 1.0rc1 which is in turn based on 6.0 within a VMware
> >>>GSX server and encountered no problems.
> >>>
> >>>Regards
> >>>
> >>>Konrad Heuer
> >>>GWDG, Am Fassberg, 37077 Goettingen, Germany, [EMAIL PROTECTED]
> >>>___
> >>>freebsd-questions@freebsd.org mailing list
> >>>
> >>
> >>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> >>
> >>>To unsubscribe, send any mail to
> >>
> >>"[EMAIL PROTECTED]"
> >>
> >>
> >>
> >>--
> >>==
> >>姓 名:赵铭
> >>电 话:13001067593
> >>[EMAIL PROTECTED]
> >>==
> >
> >
> > 赵铭,
> >
> > 谢谢,我禁用了ACPI,现在似乎好了。
> >
> >
> > 
> >
> > ___
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>
> Hi,
>
> I have 6.0 running even on VMWARE 3.2.1. No Problems. Ah, no, I can't
> install the VMWARE-Tools, but that happend to be under FreeBSD 5.4, too.
>
> Regards,
> Ben
>

Benjamin,

This is the vmware tools installation guide on official website.
According to this guide, I installed vmware-tools in vm5.5 with a
guest os freebsd 6.0, encounter no problems. Hope this helps.

http://www.vmware.com/support/ws4/doc/new_guest_tools_ws.html#1008244

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

Variables on boot

2005-11-30 Thread Albert Shih
Hello

I try to install (with floppy) FreeBSD 5.4 on Proliant with Fiber Channel
card. 

How can I pass some variable (normaly on loader.conf) in install ? I need
to pass ispfw_load="YES" (that's what I put on my old serveur with same
card in loader.conf).

Regards.


--
Albert SHIH
Universite de Paris 7 (Denis DIDEROT)
U.F.R. de Mathematiques.
7 ième étage, plateau D, bureau 10
Heure local/Local time:
Wed Nov 30 12:25:27 CET 2005
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: KDE and PAM

2005-11-30 Thread Andrea Venturoli

Jason Williams wrote:


Andrea,

The freebsd website has a excellent section on the pam module that  
REALLY helped me out. I believe you will find the answer in there.  Here 
is a link:


http://www.freebsd.org/doc/en_US.ISO8859-1/articles/pam/index.html

I would suggest that you probably need something like the following  for 
the auth section in /etc/pam.conf (FreeBSD 5.4) or in /etc/pam.d/ system 
(FreeBSD 6):


# auth
authrequiredpam_nologin.so  no_warn
#auth   sufficient  pam_krb5.so no_warn  
try_first_pass
#auth   sufficient  pam_ssh.so  no_warn  
try_first_pass
authsufficient  pam_unix.so no_warn  
try_first_pass

authrequired  /usr/local/lib/pam_smb_auth.so

The "required" for pam_smb_auth.so will stop login from  authenticating 
without a password.


Yes, thank you very much, that solved!!!
I guess I really never got to understand PAM fully... maybe it's time to 
read that document carefully :)


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


Re: doubts

2005-11-30 Thread Stevan Tiefert

Anirban Adhikary schrieb:

Hi this is Anirban. I have to write a shell script that will take the tar back-up of a directory (named anirban)on a dialy basis 
Hope i will receive the ans soon.

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



Use this script:

#!/bin/sh
echo "Do it yourself!"

--
Why my wife is happy when I do a "make buildkernel" and a "make 
installkernel"? I have then a lot of time to do my housework :-(



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


Re: bad instability on FreeBSD/amd64 6.0

2005-11-30 Thread Johan
On 11/28/05, Ian Lord <[EMAIL PROTECTED]> wrote:
>
> I've been running amd64 version since version 6 been out without any
> crashes.
>
> I am running on dell's 1850 and 2850 servers.



Dell is using AMD now?? I couldn't find them on their website...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Variables on boot

2005-11-30 Thread Stevan Tiefert

Albert Shih schrieb:


Hello

I try to install (with floppy) FreeBSD 5.4 on Proliant with Fiber Channel
card. 


How can I pass some variable (normaly on loader.conf) in install ? I need
to pass ispfw_load="YES" (that's what I put on my old serveur with same
card in loader.conf).

Regards.


--
Albert SHIH
Universite de Paris 7 (Denis DIDEROT)
U.F.R. de Mathematiques.
7 ième étage, plateau D, bureau 10
Heure local/Local time:
Wed Nov 30 12:25:27 CET 2005
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


You put the boot.flp, kern1.flp, kern2.flp and then again the boot.flp. 
After you put boot.flp you must see the beastie-loader-screen. And there 
is a menu point (I think 6 Go to Loader prompt) you have to select. 
There you can do a "set [anything]" and a finally "boot". Note that your 
changes are only temporary for this one boot! You have to config 
/boot/loader.conf finally again.


With regards
Stevan


--
Why my wife is happy when I do a "make buildkernel" and a "make 
installkernel"? I have then a lot of time to do my housework :-(


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


cpufreq and changing driver

2005-11-30 Thread Marco Calviani
Hi,
  having seen on the cpufreq(4) man page that there is more than one
driver that is currently supported. In particular having a centrino
processor, i would like to use the est driver. Currently, by default,
the running driver is the one that comes with acpi (AFAIU), and i'm
using powerd to control the cpu frequency in adaptive mode.

In particular doing comparison with the linux case in which i have
cpufreq with speedstep-centrino driver and the ondemand governor, in
this case the system is much more responsive and also the fans runs
much more quieter (although i cannot rely on proven data since i don't
know any benchmark program). In particular i understood that the
ondemand governor responds to the system much faster that powerd is
able to do.

Is there someone who can share some impression or thoughts?

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


How to perform a system-only re-install i386->amd64

2005-11-30 Thread Ashley Moran
I'm sure someone has done this before but I wanted to run my plan past 
everyone to see if I've thought of everything.

Yesterday one of our development servers (running FreeBSD 6-release) croaked.  
It was an old old old machine and we ended up replacing the board and CPU 
with an MSI Neo2 Platinum (nForce 3 chipset) and Athlon 64 setup.  We just 
swapped the board and re-connected the old array.  It works fine but 
obviously it's running in i386 mode.  I don't need to run i386 compatability 
on this machine because I don't need to run any Linux binaries.

I've googled and read through the amd64 list and the consensus seems to be 
that (a) amd64 is stable enough for production use and (b) very fast.  I've 
heard that it's easiest to reinstall from scratch rather than do a source 
upgrade in place.  So I've downloaded the amd64 ISOs.

I tried to prepare for this situation when I first installed the machine.  I 
have each of these in separate partitions:

/
/usr/local
/usr/ports
/var
/home
/tmp

Here is my plan:

* # pkg_deinstall -ato get rid of all my i386 software

* backup /etc to /var/i386etc

* Reboot from FreeBSD 6 amd64 disc 1

* Choose Standard installation

* On the partitioning screen, reformat the / partition and set the others
  up to match the current layout (I've never done this but I hope it's
  intuitive)

* Install exactly how I did before (they will both be 6-RELEASE so
  shouldn't be a problem)

* Reboot into the amd64 system

* Copy /var/i386etc over /etc
  Here I'm assuming that the configuration is architecture-independent-
  is this correct?  I have a tarball I made of the i386 6-REL /etc files
  so I can diff them before I install mine anyway

* Recompile the kernel with i386 compatability (or can this be added during
  installation?)

* # cd /var/db/portsnap/* && rm -R INDEX files serverlist tINDEX tag && \
portsnap fetch && portsnap extract
  to get me the amd64 ports tree

* Copy the i386 package I made on my desktop for the BSD jdk14 to the server
  and install from the package

* Compile a native jdk15

* Deinstall jdk14

* Re-compile the kernel without x86 compatability, install and reboot

* Reinstall all ports by hand- they should assume their previous roles as 
  all the configs and data should be in /usr/local and

I appreciate that this is quite a long question and probably has been answered 
before in pieces but I'd be grateful if anyone can pick holes in it before I 
start so I don't waste all Sunday afternoon!

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


Re: sk0: watchdog timeout

2005-11-30 Thread Ferdinand Haselbacher (jr.)
On Tue, Nov 29, 2005 at 07:22:17PM -0500, Nicolas Blais wrote:
> >
> > That's great. But as I said, there's nothing I can configure on my
> > switch's side.
> 
> Anyway, you and I aren't the only ones with the same problem, under the same 
> circonstances.  My forcing of the TX/RX mode does speed up recovery, but 
> doesn't fix the actual issue.
> 
> The driver has a bug somewhere.  Although I'm not talented enough in driver 
> programming, but someone with skills could probably fix this.
> 
Maybe the driver has a bug somewhere, but i also think that this marvell
chips have some design flaws, iam using one on my A8V and it 's giving me
problems in WinXp (although i didn't use it for a while), Linux (seems to
work better now in 2.6.14-mm1, but still connection losses) and freebsd too.

> Nicolas.
> -- 
> FreeBSD 7.0-CURRENT #2: Sat Nov 26 10:55:30 EST 2005 
> [EMAIL PROTECTED]:/usr/obj/usr/src/sys/CLK01A 
> PGP? (updated 16 Nov 05) : http://www.clkroot.net/security/nb_root.asc


so far
-- 


pgppzPHlpubmC.pgp
Description: PGP signature


rsh fails: [WAS] pvm connection problems

2005-11-30 Thread Vittorio De Martino
Context: 2 pentium 4 boxes; freebsd 5.4 & 6.0

I detected that remote login via "rsh" doesn't work in my boxes:
e.g.
# rsh uffbsd
uffbsd.myd.prv: Connection refused

even though I've defined the trusted hosts on each box both in $HOME/.rhosts 
and in /etc/hosts.equiv. 
I've also uncommented the shell lines in /etc/inetd.conf to no avail.

What should I do to enable the (mistrusted) rsh connection?

Vittorio

Alle 08:07, mercoledì 30 novembre 2005, Vittorio ha scritto:
> At office I'm trying to solve a heavy statistical problem by means of
> parallel computation with R and pvm.
> The problem is with setting up the
> cluster of computers which - to begin with - is made of two pentium 4
> with freebsd 5.4 (host uffbsd) and 6.0 (host NbBSD).
>
> They see each
> other. From NbBSD:
>
> # ping uffbsd
> PING uffbsd.myd.prv
> (10.155.194.115): 56 data bytes
> 64 bytes from 10.155.194.115:
> icmp_seq=0 ttl=64 time=0.221 ms
> 64 bytes from 10.155.194.115:
> icmp_seq=1 ttl=64 time=0.193 ms
>
> But trying to setup the virtual
> machine
>
> pvm> add NbBSD
> add NbBSD
> 0 successful
>
> HOST DTID
>NbBSD Duplicate host
> pvm> conf
> conf
> 1
> host, 1 data format
> HOST DTID ARCH
> SPEED   DSIG
>   NbBSD.myd.prv4  FREEBSD1000
> 0x00408841
> pvm> add uffbsd
> add uffbsd
> 0 successful
>
> HOST DTID
>   uffbsd Can't start pvmd
>
> Auto-
> Diagnosing Failed Hosts...
> uffbsd...
> Verifying Local Path to "rsh"...
> Rsh found in /usr/bin/rsh - O.K.
> Testing Rsh/Rhosts Access to Host
> "uffbsd"...
>
> Rsh/Rhosts Access FAILED - "uffbsd.myd.prv: Connection
> refused"
> Make sure host uffbsd is up and connected to
> a network and
> check its DNS / IP address.
> Also verify that NbBSD.myd.prv is allowed
> rsh access on uffbsd
> Add this line to the $HOME/.rhosts on uffbsd:
> NbBSD.myd.prv victor
> ...
>
> Of
> course, in /home/victor/.rhost on uffbsd there's the required line.
> The
> same reciprocal situation happens from host uffbsd.
>
> Perhaps I'm
> missing something.
> Could you please help me?
> Vittorio
>
>
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: pf blocking nfs

2005-11-30 Thread Will Maier
On Tue, Nov 29, 2005 at 09:56:59PM -0600, Aaron P. Martinez wrote:
> > Aaron P. Martinez wrote:
[...]
> I realize i could just accept all udp packets from the NFS server or even
> just ports 2049, but the underlying question is, why isn't my "keep state"
> rule handling this.

I don't use pf (or NFS), but UDP is a stateless protocol. I wouldn't
be surprised if pf couldn't keep track of its state...

-- 

o--{ Will Maier }--o
| jabber:[EMAIL PROTECTED] | email:[EMAIL PROTECTED] |
| [EMAIL PROTECTED] | [EMAIL PROTECTED] |
*--[ BSD Unix: Live Free or Die ]--*
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Questions about make arguments for ports

2005-11-30 Thread Ashley Moran
Hello,

When upgrading a machine from FreeBSD 5.4 to 6.0 I came across the problem of 
how to re-compile all the ports to use FreeBSD 6 libraries so I can ditch the 
compat5x port.

man portupgrade I should # portupgrade -aRf to force a re-compile but that 
then brought up the issue of how to configure each build.  I found the 
section in pkgtools.conf that lets you specify arguments to pass to make but 
how do I deal with ports that have a config make target?

I mean I could add MAKE_ARGS = { 'java/jdk115' => 'WITHOUT_WEB=1' } to 
pkgtools.conf, but is there a way to specify these arguments in this file, or 
is there no choice but to configure manually first time?

The reason I ask is because I would like to schedule software updates to run 
nightly but I don't want them to either rebuild with the wrong options or 
find out it hung on a config screen.

Also I have another question that I can't suss out from either the man pages 
or the Mk files: what happens to the configs if you use portupgrade -P?  
Seeing as there is only package file per port I assume it gets compiled with 
a default set of options and you lost any config options.

I am thinking that perhaps the best strategy is to decide which software I can 
use from packages and which I need to compile, configure pkgtools.conf to 
download the source or binary versions as appropriate, set MAKE_ARGS for 
ports with no config options and pre-configure the rest.  The more I look the 
more amazed I am at the flexibility of the ports system but the more I wish 
it was completely documented!!!


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


FreeBSD telnetd and Microsoft Internet Explorer

2005-11-30 Thread Stevan Tiefert

Hello list,

on my machine there runs a telnetd started via inetd. It is not an 
anonymous ftpd. When I access the directories of an user with Internet 
Explorer I got strange outputs on my screen. The described szene is not 
happening if I use the telnet on cmd.exe.


Internet Explorer is showing the filenames and time (of the ftpd) 
together as one filename?!? That means on ftpd:


$ ls -al .login
-rw-r--r-- 1 user user 248 29 Nov 14:39 .login

and in IE I see the icon with filename "14:39 .login"!!!

Is there a workaround for that? Why is ftpd making such funny things? I 
can not read "14:39 .login" because IE says only file not found...


With regards
Stevan

--
Why my wife is happy when I do a "make buildkernel" and a "make 
installkernel"? I have then a lot of time to do my housework :-(



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


Re: FreeBSD telnetd and Microsoft Internet Explorer

2005-11-30 Thread Giorgos Keramidas
On 2005-11-30 14:05, Stevan Tiefert <[EMAIL PROTECTED]> wrote:
> Hello list,
>
> on my machine there runs a telnetd started via inetd. It is not an
> anonymous ftpd. When I access the directories of an user with Internet
> Explorer I got strange outputs on my screen. The described szene is not
> happening if I use the telnet on cmd.exe.
>
> Internet Explorer is showing the filenames and time (of the ftpd)
> together as one filename?!? That means on ftpd:
>
> $ ls -al .login
> -rw-r--r-- 1 user user 248 29 Nov 14:39 .login
>
> and in IE I see the icon with filename "14:39 .login"!!!

Too bad for IE's broken FTP client :P

> Is there a workaround for that?

Yes.  Use a *REAL* ftp client and not that braindead Redmond crap :)

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


Re: cpufreq and changing driver

2005-11-30 Thread Bruno Ducrot
On Wed, Nov 30, 2005 at 12:37:43PM +0100, Marco Calviani wrote:
> Hi,
>   having seen on the cpufreq(4) man page that there is more than one
> driver that is currently supported. In particular having a centrino
> processor, i would like to use the est driver. Currently, by default,
> the running driver is the one that comes with acpi (AFAIU), and i'm
> using powerd to control the cpu frequency in adaptive mode.

You have to load the cpufreq.ko module at boot.
Adding that line:
cpufreq_load = "YES"
to /boot/loader.conf
should be OK.

> In particular doing comparison with the linux case in which i have
> cpufreq with speedstep-centrino driver and the ondemand governor, in
> this case the system is much more responsive and also the fans runs
> much more quieter (although i cannot rely on proven data since i don't
> know any benchmark program). In particular i understood that the
> ondemand governor responds to the system much faster that powerd is
> able to do.
> 
> Is there someone who can share some impression or thoughts?

powerd need some rework in order to get it working properly.  There
is one FreeBSD project on that subject if you are interrested.

-- 
Bruno Ducrot

--  Which is worse:  ignorance or apathy?
--  Don't know.  Don't care.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: rsh fails: [WAS] pvm connection problems

2005-11-30 Thread John Baldwin
On Wednesday 30 November 2005 08:30 am, Vittorio De Martino wrote:
> Context: 2 pentium 4 boxes; freebsd 5.4 & 6.0
>
> I detected that remote login via "rsh" doesn't work in my boxes:
> e.g.
> # rsh uffbsd
> uffbsd.myd.prv: Connection refused
>
> even though I've defined the trusted hosts on each box both in
> $HOME/.rhosts and in /etc/hosts.equiv.
> I've also uncommented the shell lines in /etc/inetd.conf to no avail.
>
> What should I do to enable the (mistrusted) rsh connection?
>
> Vittorio

Do you have inetd enabled (inetd_enable="YES" in /etc/rc.conf) and is it 
running?

-- 
John Baldwin <[EMAIL PROTECTED]>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Thunderbird and sound

2005-11-30 Thread Andrea Venturoli

Any hint on getting a wav file played when new mail arrives?
I go to preference, click Preview and hear nothing.

My /dev/dsp0 is free and artsd is managing /dev/dsp1; the latter is 
where I'd like to hear that sound through.


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


Re: cpufreq and changing driver

2005-11-30 Thread Marco Calviani
Hi,

2005/11/30, Bruno Ducrot <[EMAIL PROTECTED]>:
> You have to load the cpufreq.ko module at boot.
> Adding that line:
> cpufreq_load = "YES"
> to /boot/loader.conf
> should be OK.

I have that line in that position, and it seems working. The point is
that i would like to change the driver and use (AFAIU) a better driver
for my system (est).
In particular i have:

dev.cpu.0.%desc: ACPI CPU
dev.cpu.0.%driver: cpu
dev.cpu.0.%location: handle=\_PR_.CPU0
dev.cpu.0.%pnpinfo: _HID=none _UID=0
dev.cpu.0.%parent: acpi0

Maybe i didn't understood well: but what i have to do to use the Intel
Enhanced SpeedStep driver?


> powerd need some rework in order to get it working properly.  There
> is one FreeBSD project on that subject if you are interrested.

Well, thanks i'm very interested, although i'm not at all experienced
in kernel programming

I'm not inside this issue, but it would not be possible to "emulate"
the behaviour of the ondemand governor? (sorry if this question makes
no sense)

> Bruno Ducrot

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


Re: After upgrading Perl, cannot reinstall modules - Cwd.so: Undefined symbol "perl_get_sv

2005-11-30 Thread David Landgren

Mark Kane wrote:

Hi everyone. I finally did a big portupgrade on a 4.9-RELEASE system
today and I'm having some problems with Perl.

I got it updated to 5.8.7 (was 5.6.x before), ran "use.perl port", and
ran the perl-after-upgrade script which were all said in UPDATING. Now
it's time to force upgrade/recompile the Perl modules for the new version.

Unfortunately this is where I get stuck:

xeon1# portupgrade -f p5-\*

[snip]

===>   p5-HTML-Tagset-3.10 depends on file: /usr/local/bin/perl5.8.7 - found
===>   p5-HTML-Tagset-3.10 depends on file: /usr/local/bin/perl5.8.7 - found
===>  Configuring for p5-HTML-Tagset-3.10
/usr/libexec/ld-elf.so.1:
/usr/local/lib/perl5/5.8.7/mach/auto/Cwd/Cwd.so: Undefined symbol
"perl_get_sv"
*** Error code 1



On the odd chance that you haven't resolved this problem...

Cwd is part of the PathTools perl package.

Try forcing the reinstallation of ports/devel/p5-PathTools first and see 
if that gets things back in sync.


David
--
"It's overkill of course, but you can never have too much overkill."

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


Re: firefox-1.0.6_5,1 upgrade fails

2005-11-30 Thread Lowell Gilbert
[EMAIL PROTECTED] writes:

> At 12:09 PM 11/29/2005, you wrote:
> >[EMAIL PROTECTED] writes:
> >
> > > /usr/include/gssapi.h:108: error: conflicts with previous declaration
> > > `typedef struct gss_buffer_desc_struct*gss_buffer_t'
> > > /usr/local/include/gssapi/gssapi.h:127: error: declaration of `typedef
> > > int*gss_buffer_t'
> >
> >Ouch!
> >You are somehow including gssapi.h from both ports and the base
> >system.  The ports one may have come from a kerberos port, but it
> >shouldn't be getting  included from there.
> 
> OK... Should I just deinstall/reinstall?

I'm not sure.  
Do you have an include path (e.g., C_INCLUDE_PATH) set in your environment?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: enabling audio cd sound in emu10kx driver

2005-11-30 Thread Lowell Gilbert
Marco Beishuizen <[EMAIL PROTECTED]> writes:

> On stardate Mon, 28 Nov 2005, the wise Lowell Gilbert entered:
> 
> > Unfortunately, there is more than one chipset in different cards that
> > are called by that name.
> 
> My dmesg says:
> 
> pcm0:  port 0xee80-0xeebf irq 21 at device 4.0 
> on pci6
> pcm0: 
> 
> Does this mean it has a "SigmaTel" chip? The user manual only speaks of an 
> audigy2 chip.

The key part is the "EMU10K2" bit.  Other "Audigy 2" cards have an
EMU10K3 chipset.

> > And "kldload snd_emu10k1" doesn't work?
> 
> This driver is loaded in my /boot/loader.conf and gives the boot messages 
> in my dmesg like mentioned above.

I don't understand.  Those messages certainly seem to be *recognizing*
the device.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Holiday Season >>> AS IS Tier 1 Monitors and off-lease corporate pulls in stock available and ready for ship

2005-11-30 Thread Outlet Season LLC
Dear 

Please check our current stock offer:


   We can supply large quantities of as-is untested and tested bad
monitors in North Carolina warehouse. The list are as follows:

900 As-is untested 17"CRT monitors @ $12/each
600 As-is Untested 17"CRT monitors @ $13/each
3600 As-Is untested 17"CRT monitors @ $13/each

We also have huge lots of untested and tested bad that they will sell as
well in 14" 15", 17", 19" and 21".

Example of this lot is as follows:

3328 Pcs Tier 1 monitors

400   14"
818   15"
1200  17"
410   19"
500   21"

Lot price of $53,250.00

19"-21"
===

4000 pcs of 19-21" offlease
  corporate environment 15% flat or black as-is monitors,
  all tier 1 priced at $12/each
   Those have been pulled from their offices and are in good working
condition.

   Regards,
   
   Rick Fitzgerald
   Outlet Season LLC
   http://www.theoutletseason.com
   1-800-718-3011
   360-226-6754
   f:1-514-510-1198
   skype:outletseason
   [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


915GM Xorg with dualhead problems

2005-11-30 Thread David Rogal
Hello All,

I'm having a similar problem specified in: 
http://www.freebsd.org/cgi/getmsg.cgi?fetch=2261293+2264703+/usr/local/www/db/text/2005/freebsd-questions/20051009.freebsd-questions
http://www.freebsd.org/cgi/search.cgi?words=agpgart&max=25&sort=score&index=recent&source=freebsd-questions

X works just fine on a single monitor. When I start messing around with the
xorg.conf and try to go dualhead, I get either only one head working with a
single desktop or one head working with two desktops splitting the screen or X
just bombs. To further elaborate on the 'split screen' result; imagine the
screen's real estate split into 4 equal parts (a 2x2 square), with only the top
2 in use both as clones of each other. That's what I've seen, on both monitors
(however, only one at a time - meaning that occassionaly I have video only on
the CRT while the laptop's LCD turns off).



Each and every time I go for dualhead, I get the /dev/agpgart warning/error and
VideoRAM errors.

Compaq nc6120 laptop
6.0-STABLE #0: Tue Nov 29 13:39:18 GMT 2005
Intel Corporation Mobile 915GM Express Graphics Controller on PCI:0:2:0 (and
apparently also at PCI:0:2:1, though this can cause weirdness)
xorg-server-6.8.99.902 (ports/x11-servers/xorg-server-snap cvsup'ed and
compiled a few hours ago)

# cat /boot/loader.conf
agp_load="YES"
# grep agp /usr/src/sys/i386/conf/GENERIC
deviceagp# support several AGP chipsets
# kldstat
Id Refs Address Size Name
1 3 0xc040 63590c kernel
2 1 0xc0a36000 58558 acpi.ko


I've attached the xorg.conf and /var/log/Xorg.0.log for each of the following
tests:
Test 1 - Both BusID's the same. X failed to start. - AddScreen/ScreenInit
failed
Test 2 - BusID's different. complete loss of video on the laptop. no response
ever with CRT.
Test 3 - Xorg -configure output.


I've worked so long on this, changing settings and getting weird results.
Please help. This is a work box and if I can get dual head on it, I will be so
much better off.

Anything more you need, please let me know. I suspect the problem is related
to:
# ls -l /dev/agpgart
ls: /dev/agpgart: No such file or directory



___ 
To help you stay safe and secure online, we've developed the all new Yahoo! 
Security Centre. http://uk.security.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: Thunderbird and sound

2005-11-30 Thread Micah

Andrea Venturoli wrote:

Any hint on getting a wav file played when new mail arrives?
I go to preference, click Preview and hear nothing.

My /dev/dsp0 is free and artsd is managing /dev/dsp1; the latter is 
where I'd like to hear that sound through.


 bye & Thanks
av.


Is your thunderbird up to date?  I had the same problem for a long time. 
 Then one day after updating thunderbird (fairly recently), play sound 
sudenly started working.


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


R: Re: rsh fails: [WAS] pvm connection problems

2005-11-30 Thread Vittorio


>Messaggio originale
>Da: [EMAIL PROTECTED]
>Data: 30-nov-2005 
2.15 PM
>A: 
>Cc: "Vittorio De Martino"
<[EMAIL PROTECTED]>, 
>Ogg: Re: rsh 
fails: [WAS] pvm connection problems
>
>On Wednesday 30 November 2005 
08:30 am, Vittorio De Martino wrote:
>> Context: 2 pentium 4 boxes; 
freebsd 5.4 & 6.0
>>
>> I detected that remote login via "rsh" doesn't 
work in my boxes:
>> e.g.
>> # rsh uffbsd
>> uffbsd.myd.prv: Connection 
refused
>>
>> even though I've defined the trusted hosts on each box 
both in
>> $HOME/.rhosts and in /etc/hosts.equiv.
>> I've also 
uncommented the shell lines in /etc/inetd.conf to no avail.
>>
>> What 
should I do to enable the (mistrusted) rsh connection?
>>
>> Vittorio
>
>Do you have inetd enabled (inetd_enable="YES" in /etc/rc.conf) and is 
it 
>running?
>

Actually no, but...

>From the standpoint of my first 
box, NbBSD (freebsd 6.0) I did the following steps

1) added 
inetd_enable="YES" at the end of /etc/rc.conf 
2) modified /etc/inetd.
conf uncommenting the line
shell   stream  tcp nowait  root
/usr/libexec/rshd   rshd
(I don't know if it helps, anyway!)
3) 
/etc/rc.d/inetd start
4) I've checked the presence of inetd via top. It 
existed!!
5) Under user victor there's a .rhosts file containing:
uffbsd.myd.prv  victor

(user victor exists on the box uffbsd and 
uffbsd.myd.prv is also present in the box NbBSD in /etc/hosts: I can 
ping it!)

6) I reciprocate the same  configuring steps on the other 
machine uffbsd.

Well in the end:
# rsh uffbsd
uffbsd.myd.prv: 
Connection refused

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


RE: eBay is recomending MS-IE-6 for better service UNDERFreeBSD-5.4 ?????

2005-11-30 Thread Libby Charles-CCL044
That would be netstat /all

Windows does not like the - options

Charles

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kris Anderson
Sent: Tuesday, November 29, 2005 4:07 PM
To: Hanno Krusken
Cc: freebsd-questions@freebsd.org
Subject: Re: eBay is recomending MS-IE-6 for better service
UNDERFreeBSD-5.4 ?




--- Hanno Krusken <[EMAIL PROTECTED]> wrote:

> Hi eBay,
> 
> Now, I think you don't understand.
> 
> Internet explorer 6 is by far older than the
> advanced
> FirFox 1.0.7 !
> I use the same FireFox 1.0.7 under XP with out
> problems, but I'm working under FreeBSD-UNIX the
> MS-intenet explorer dose not work under Unix any
> way.
> 
> I only need to know which port needed to be open in
> my
> firewall to do image uploads.
> 
> Hanno
> 


Hiya,

If you have a Windows computer running around you can
open a command prompt, go through the steps to start
uploading an image then go back to the command prompt
and type netstat -a. It will list local and foreign connections, find
the one(s) for eBay and see what ports are reflect connectivity your
computer is using.

Hope that helps.



__ 
Start your day with Yahoo! - Make it your home page! 
http://www.yahoo.com/r/hs
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"[EMAIL PROTECTED]"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: R: Re: rsh fails: [WAS] pvm connection problems

2005-11-30 Thread Matthew D. Fuller
On Wed, Nov 30, 2005 at 04:01:06PM +0100 I heard the voice of
Vittorio, and lo! it spake thus:
> 
> 6) I reciprocate the same  configuring steps on the other 
> machine uffbsd.
> 
> Well in the end:
> # rsh uffbsd
> uffbsd.myd.prv: 
> Connection refused

rsh with no arguments uses rlogind, not the rshd.


-- 
Matthew Fuller (MF4839)   |  [EMAIL PROTECTED]
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/
   On the Internet, nobody can hear you scream.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


is child PID always minor to parent PID?

2005-11-30 Thread Javier Matos
Hi, I need to know if the PID of a child process is always higher to parent PID 
because I made an algorithm to search a child and I want to know if I can start 
searching for a process that have a higher number than parent PID.

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


Pear compile issue

2005-11-30 Thread John Pineau
Im getting the following issue installing a number of pear-dependent
ports, (in this instance, Horde).
 
My memory setting in my php.ini is set to 20M, yet this does not seem to
care about that.
 
This all started right around the time the PHP 4.4.1 mod_rewrite
nonsense happened. (Currently running 4.4.1_2)
 
I am currently running 6-STABLE on amd64.
 
===> Installing tests in /usr/local/share/pear/tests/File_Passwd.
pear/File_Passwd can optionally use package "pear/Crypt_CHAP" (version
>= 1.0.0)
 
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
allocate 92160 bytes) in
/usr/local/share/pear/PEAR/PackageFile/Generator/v1.php on line 605
*** Error code 255
 
Stop in /usr/ports/security/pear-File_Passwd.
*** Error code 1
 
Stop in /usr/ports/security/pear-File_Passwd.
*** Error code 1
 
Stop in /usr/ports/security/pear-Auth.
*** Error code 1
 
Stop in /usr/ports/security/pear-Auth_SASL.
*** Error code 1
 
Stop in /usr/ports/net/pear-Net_SMTP.
*** Error code 1
 
Stop in /usr/ports/mail/pear-Mail.
*** Error code 1
 
Stop in /usr/ports/www/horde.

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


Re: bad instability on FreeBSD/amd64 6.0

2005-11-30 Thread Ian Lord
No it's intel based xeon processors, but since they use emt64 
extensions, we can use the amd64 version of freebsd.



At 06:32 2005-11-30, Johan wrote:
On 11/28/05, Ian Lord 
<[EMAIL PROTECTED]> wrote:

I've been running amd64 version since version 6 been out without any crashes.

I am running on dell's 1850 and 2850 servers.



Dell is using AMD now?? I couldn't find them on their website...

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


Re: Proposed license for IETF Contributions

2005-11-30 Thread Simon Josefsson
"Ted Mittelstaedt" <[EMAIL PROTECTED]> writes:

>>Please provide me with a reference for this.
>>
>
>
> http://www.copyright.gov/circs/circ1.html#wnp
>
> Under the subheading:
>
> WHAT IS NOT PROTECTED BY COPYRIGHT?
>
> "Works consisting entirely of information that is common property and
> containing no original authorship"

It continues:

   (for example: standard calendars, height and weight charts, tape
   measures and rulers, and lists or tables taken from public
   documents or other common sources)

IETF documents are more technical than that, and they are usually the
first instance in history where that precise technical invention is
described.  That material does not qualify as common property.

> In short, all you have to do is have the author of whatever IETF standard
> simply declare
> his ENTIRE standard description as common property, and instantly it's
> not copyrightable,
> thus you now have no issue.

Except that I believe some IETF authors would not agree to putting
their work into the public domain.  I'm trying to create a license
that I believe would be acceptable to IETF contributors, and make it
aligned with BSD/GPL licenses.

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


Re: is child PID always minor to parent PID?

2005-11-30 Thread Chuck Swiger
Javier Matos wrote:
> Hi, I need to know if the PID of a child process is always higher to
> parent PID because I made an algorithm to search a child and I want to
> know if I can start searching for a process that have a higher number
> than parent PID.

No, the PID of a child could be less than the parent if randomize PIDs
sysctl is set, or if the PID counter wraps.

The fork() call returns the child's pid.  Pay attention to that...

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


Re: FreeBSD 6 Apache Port

2005-11-30 Thread Grant Peel

Aaron,

Thanks for the advice. I tool it and the install went flawlessly.

Two quick questions though:

For testing, I want to use the snake oil cert, so am I limited to using open 
ssl now to comple the cert, as oppsed to the old apache

make
make certificate
make install   ?


And, the php (cli version) went fine, but it did come up with a few gui 
questions, but non about --with-gd -enable-mysql etc etc. How to do I deal 
with that? I was thinking, after make, do I go to the work directory and add 
them to the configure line? then make again, and install again? OR can you 
add them directly to the make line?


The above is the part about ports that has always confused me. And to be 
honest, I have never gotten a straight answer.


Thanks again,

-Grant

- Original Message - 
From: "Aaron Martinez" <[EMAIL PROTECTED]>

To: ; "Grant Peel" <[EMAIL PROTECTED]>
Sent: Tuesday, November 29, 2005 11:46 PM
Subject: Re: FreeBSD 6 Apache Port



On Tuesday 29 November 2005 20:15, Grant Peel wrote:

Hi all,

I am quite proficient at installing Apache, mod_ssl, mysql php (as a 
static

module) on FreeBSD < 5.0. I always do this from source as I do not
understand how to use the ports system ... as far as linking all the mods
together.

I have recently installed a new server using FreeBSD 6.0.

Does anyone know a good tutorial or guide on how to compile Apache 2.x
mod_ssl and php to gether from the ports collection? I know how to cd
/usr/ports/port_name_here , make , [make test] , make install, but have
never understood how to tie the mods together to procuce a complete 
setup.


Also, what is the prefered method for adding ./configure args to a port?

FYI, all I am looking to do is to compile Apache 2.x mod_ssl and php
together so as to have a ports build of the apache webserver.

Any help will be appreciated.

-Grant

Depending on which version of Apache you're trying to build depends on the
different modules you'll need to add in.

Apache 2 has native ssl included so no mod needed.  If you want php 
support in

your apache, then simply install the /usr/ports/www/mod_php(4_5) port.
DONE.. here is an excerpt from a google search:

"I recommend lang/php4

When you install it should come up with a menu allowing you to choose your
options (GD support, CLI, etc).  After it is done, it will tell you what 
to

add to your httpd.conf file to get .php files working (apache restart
required).  To test, make a file like:

 "


"Just a quick note.

/usr/ports/lang/php4 also includes command line interface beside the
apache module. if you only need mod_php, you can cd to
/usr/ports/www/mod_php4 instead/"

Aaron Martinez





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


Re: R: Re: rsh fails: [WAS] pvm connection problems

2005-11-30 Thread vittorio
Alle 15:19, mercoledì 30 novembre 2005, Matthew D. Fuller ha scritto:
> On Wed, Nov 30, 2005 at 04:01:06PM +0100 I heard the voice of
>
> Vittorio, and lo! it spake thus:
> > 6) I reciprocate the same  configuring steps on the other
> > machine uffbsd.
> >
> > Well in the end:
> > # rsh uffbsd
> > uffbsd.myd.prv:
> > Connection refused
>
> rsh with no arguments uses rlogind, not the rshd.

Thanks to the suggestions in this mailing-list, after enabling rlogind in 
inetd.conf and restarting the service now rsh works!

$ rsh uffbsd
Password:
Last login: Wed Nov 30 16:02:31 on ttyp0
Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.

FreeBSD 5.4-RELEASE (SERVER3) #0: Mon Nov  7 18:07:20 CET 2005

Welcome in FreeBSD!

uffbsd victor# exit

rlogin: connection closed

BUT..
 pvm goes on complaining as at the very beginning of this thread that:

victor$ pvm

pvm> add NbBSD
add NbBSD
0 successful
HOST DTID
   NbBSD Duplicate host
pvm> add uffbsd
add uffbsd
0 successful
HOST DTID
  uffbsd Can't start pvmd

Auto-Diagnosing Failed Hosts...
uffbsd...
Verifying Local Path to "rsh"...
Rsh found in /usr/bin/rsh - O.K.
Testing Rsh/Rhosts Access to Host "uffbsd"...

Rsh/Rhosts Access FAILED - "rshd: Login incorrect."
Make sure host uffbsd is up and connected to
a network and check its DNS / IP address.
Also verify that NbBSD.myd.prv is allowed
rsh access on uffbsd
Add this line to the $HOME/.rhosts on uffbsd:
NbBSD.myd.prv victor
...
.


Now user victor on the uffbsd box had been defined via adduser as a normal 
user with password.Thinking the the problem was the password, I deleted it 
and recreated this user as passwordless but rsh fails asking for a password
all the same and pvm fails with identical diagnostic. 

Please help again

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


Re: firefox-1.0.6_5,1 upgrade fails

2005-11-30 Thread web

At 09:30 AM 11/30/2005, you wrote:

[EMAIL PROTECTED] writes:

> At 12:09 PM 11/29/2005, you wrote:
> >[EMAIL PROTECTED] writes:
> >
> > > /usr/include/gssapi.h:108: error: conflicts with previous declaration
> > > `typedef struct gss_buffer_desc_struct*gss_buffer_t'
> > > /usr/local/include/gssapi/gssapi.h:127: error: declaration of `typedef
> > > int*gss_buffer_t'
> >
> >Ouch!
> >You are somehow including gssapi.h from both ports and the base
> >system.  The ports one may have come from a kerberos port, but it
> >shouldn't be getting  included from there.
>
> OK... Should I just deinstall/reinstall?

I'm not sure.
Do you have an include path (e.g., C_INCLUDE_PATH) set in your environment?


How do I set that? This is the environment I have when portupgrading with sudo:

KDE_MULTIHEAD=false
TERM=xterm
SHELL=/usr/local/bin/bash
GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/home/janos/.gtkrc-2.0:/usr/home/janos/.kde/share/config/gtkrc-2.0
GS_LIB=/home/janos/.fonts
GTK_RC_FILES=/etc/gtk/gtkrc:/home/janos/.gtkrc:/usr/home/janos/.kde/share/config/gtkrc
WINDOWID=29360133
KDE_FULL_SESSION=true
USER=root
SUDO_USER=janos
SUDO_UID=1001
SESSION_MANAGER=local/leporello.3dresearch.com:/tmp/.ICE-unix/716
FTP_PASSIVE_MODE=YES
KONSOLE_DCOP=DCOPRef(konsole-83529,konsole)
MAIL=/var/mail/janos
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/home/janos/bin
BLOCKSIZE=K
PWD=/home/janos
KONSOLE_DCOP_SESSION=DCOPRef(konsole-83529,session-1)
EDITOR=vim
SUDO_COMMAND=/usr/local/bin/bash
SHLVL=3
HOME=/home/janos
XCURSOR_THEME=default
LOGNAME=root
SUDO_GID=1001
DISPLAY=:0.0
XAUTHORITY=/home/janos/.Xauthority
COLORTERM=
_=/usr/bin/env

Thanx for your patience...

Janos Dohanics


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


Re: is child PID always minor to parent PID?

2005-11-30 Thread Dan Nelson
In the last episode (Nov 30), Javier Matos said:
> Hi, I need to know if the PID of a child process is always higher to
> parent PID because I made an algorithm to search a child and I want
> to know if I can start searching for a process that have a higher
> number than parent PID.

No; if the parent PID is near PID_MAX (sys/proc.h), then it's likely
that a child will have a low PID.

-- 
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: pf blocking nfs

2005-11-30 Thread Roland Smith
On Wed, Nov 30, 2005 at 06:52:25AM -0600, Will Maier wrote:
> On Tue, Nov 29, 2005 at 09:56:59PM -0600, Aaron P. Martinez wrote:
> > > Aaron P. Martinez wrote:
> [...]
> > I realize i could just accept all udp packets from the NFS server or even
> > just ports 2049, but the underlying question is, why isn't my "keep state"
> > rule handling this.
> 
> I don't use pf (or NFS), but UDP is a stateless protocol. I wouldn't
> be surprised if pf couldn't keep track of its state...

It is supposed to work, except for FTP.

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


pgpqrdTn87PMP.pgp
Description: PGP signature


Re: pf blocking nfs

2005-11-30 Thread Lowell Gilbert
Will Maier <[EMAIL PROTECTED]> writes:

> On Tue, Nov 29, 2005 at 09:56:59PM -0600, Aaron P. Martinez wrote:
> > > Aaron P. Martinez wrote:
> [...]
> > I realize i could just accept all udp packets from the NFS server or even
> > just ports 2049, but the underlying question is, why isn't my "keep state"
> > rule handling this.
> 
> I don't use pf (or NFS), but UDP is a stateless protocol. I wouldn't
> be surprised if pf couldn't keep track of its state...

No, that's a big part of *why* you want pf to keep track of its state.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD 6 Apache Port

2005-11-30 Thread Aaron Nichols
On 11/30/05, Grant Peel <[EMAIL PROTECTED]> wrote:
> And, the php (cli version) went fine, but it did come up with a few gui
> questions, but non about --with-gd -enable-mysql etc etc. How to do I deal
> with that? I was thinking, after make, do I go to the work directory and add
> them to the configure line? then make again, and install again? OR can you
> add them directly to the make line?

These are both available as php4 modules and plugin to php just like
apache modules do:

databases/php4-mysql
graphics/php4-gd

A nice way to get these is to just run a 'make install' on
lang/php4-extensions which will give you a menu to select which
extensions you would like installed in one shot, with common defaults
already selected.

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

Re: enabling audio cd sound in emu10kx driver

2005-11-30 Thread Marco Beishuizen
On stardate Wed, 30 Nov 2005, the wise Lowell Gilbert entered:

> > This driver is loaded in my /boot/loader.conf and gives the boot messages 
> > in my dmesg like mentioned above.
> 
> I don't understand.  Those messages certainly seem to be *recognizing*
> the device.

But I don't have a problem weather the card is recognized or not. Sound 
from mp3's or mpg's works fine. The only problem is sound from audio cd's. 

There is a spdif cable connection between the dvd player and the soundcard, 
and it has worked before because I was able (by the emuctrl program) to set 
the volume from "in1". With this newer driver from the ports I cannot set 
in1.

Marco
-- 
Frankfort, Kentucky, makes it against the law to shoot off a
policeman's tie.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Am I Right about Stable VS Point

2005-11-30 Thread Sean Murphy

I have read the FreeBSD Handbook Chapter 20

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

I understand what FreeBSD-Current is.

FreeBSD-Stable is a little fogy for me.  Here is what I found and I 
think.

quote "FreeBSD-STABLE is our development branch from which major 
releases are made.  Changes go into this branch at a different pace, and 
with the general assumption that they have first gone into 
FreeBSD-CURRENT for testing.  This is still a development branch, 
however, and this means that at any given time, the sources for 
FreeBSD-STABLE may or may not be suitable for any particular purpose. It 
is simply another engineering development track, not a resource for 
end-users."


	So "Stable" is not really "Stable" it is still a branch for development 
and security fixes that go into "Point Releases".  Which means "Point 
Releases" are the real true "Stable" area. Right?


So when I need a security update I should CVSup the tag line should be

RELENG_6_0 for the real stable version, also includes bug and security 
fixes.


RELENG_6 for the "Stable" but development line. (which i should not use)

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


Re: cpufreq and changing driver

2005-11-30 Thread Nate Lawson

Marco Calviani wrote:

Hi,

2005/11/30, Bruno Ducrot <[EMAIL PROTECTED]>:


You have to load the cpufreq.ko module at boot.
Adding that line:
cpufreq_load = "YES"
to /boot/loader.conf
should be OK.



I have that line in that position, and it seems working. The point is
that i would like to change the driver and use (AFAIU) a better driver
for my system (est).
In particular i have:

dev.cpu.0.%desc: ACPI CPU
dev.cpu.0.%driver: cpu
dev.cpu.0.%location: handle=\_PR_.CPU0
dev.cpu.0.%pnpinfo: _HID=none _UID=0
dev.cpu.0.%parent: acpi0

Maybe i didn't understood well: but what i have to do to use the Intel
Enhanced SpeedStep driver?


You should send the full output of "sysctl dev.cpu".  There is no 
cpufreq driver (est, acpi_perf, or other) driver running.  Perhaps look 
at your dmesg to see if one is probing/attaching.


If you are using acpi and load cpufreq.ko, you've got all the cpufreq 
drivers in one package.  The right one for your platform will 
automatically probe/attach.



powerd need some rework in order to get it working properly.  There
is one FreeBSD project on that subject if you are interrested.


Well, thanks i'm very interested, although i'm not at all experienced
in kernel programming

I'm not inside this issue, but it would not be possible to "emulate"
the behaviour of the ondemand governor? (sorry if this question makes
no sense)


I have no idea what you mean by "on-demand governor".  The only 
automated control of cpu speed is either by the BIOS (which we can't 
control) or the TM/TM2 (and that one is heat-based, not load-based).


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


syslogd writing logs to wrong file

2005-11-30 Thread Efren Bravo
Hi,

I've a freeBSD6.0-i386 with IPFv4.1.8 and these
lines in /etc/syslog.conf

*.notice;authpriv.none;kern.debug;lpr.info;mail.crit;news.err
  /var/log/message
security.*   
/var/log/security
...

Why syslogd is writing into /var/log/messages
instead of /var/log/security.

What parameter do I must set so syslogd doesn't
write in /var/log/message any more? 

I want that it write to /var/log/message or to
/var/log/ipmon.log (adding !ipmon *.*
/var/log/ipmon.log at the end of
/etc/syslog.conf)

Thanks...






Efren Bravo.





__ 
Renovamos el Correo Yahoo! 
Nuevos servicios, más seguridad 
http://correo.yahoo.es
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Servers seem slow in home network ...

2005-11-30 Thread Kiffin Gish
I recently installed two FreeBSD servers (webserver and fileserver) on a
home network which includes a number of Windows machines. These run
behind my ADSL router which has port 80 opened for the webserver
allowing access to a couple personal web sites.

They also run Apache and MySWL, but it seems that they are performing
more slowly than expected.

Is there a standard way to pinpoint where the performance bottlenecks
are coming from on my setup? Perhaps I need to fine-tune Apache and/or
MySQL?

Any ideas would be greatly appreciated. Thanks alot in advance.

-- 
Kiffin Gish <[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: enabling audio cd sound in emu10kx driver

2005-11-30 Thread Lowell Gilbert
Marco Beishuizen <[EMAIL PROTECTED]> writes:

> On stardate Wed, 30 Nov 2005, the wise Lowell Gilbert entered:
> 
> > > This driver is loaded in my /boot/loader.conf and gives the boot messages 
> > > in my dmesg like mentioned above.
> > 
> > I don't understand.  Those messages certainly seem to be *recognizing*
> > the device.
> 
> But I don't have a problem weather the card is recognized or not. Sound 
> from mp3's or mpg's works fine. The only problem is sound from audio cd's. 
> 
> There is a spdif cable connection between the dvd player and the soundcard, 
> and it has worked before because I was able (by the emuctrl program) to set 
> the volume from "in1". With this newer driver from the ports I cannot set 
> in1.

Okay, but I was asking about the emu10k1 driver from the base system,
not the emu10kx driver from ports.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: syslogd writing logs to wrong file

2005-11-30 Thread Dan Nelson
In the last episode (Nov 30), Efren Bravo said:
> I've a freeBSD6.0-i386 with IPFv4.1.8 and these
> lines in /etc/syslog.conf
> 
> *.notice;authpriv.none;kern.debug;lpr.info;mail.crit;news.err   
> /var/log/message
> security.*/var/log/security
> ...
> 
> Why syslogd is writing into /var/log/messages
> instead of /var/log/security.

It should be writing to both.  If you don't want security entries in
/var/log/messages, put a "security.none" selector in.

-- 
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: Am I Right about Stable VS Point

2005-11-30 Thread Greg Barniskis

Sean Murphy wrote:

I have read the FreeBSD Handbook Chapter 20

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

I understand what FreeBSD-Current is.

FreeBSD-Stable is a little fogy for me.  Here is what I found and I 
think.


quote "FreeBSD-STABLE is our development branch from which major 
releases are made.  Changes go into this branch at a different pace, and 
with the general assumption that they have first gone into 
FreeBSD-CURRENT for testing.  This is still a development branch, 
however, and this means that at any given time, the sources for 
FreeBSD-STABLE may or may not be suitable for any particular purpose. It 
is simply another engineering development track, not a resource for 
end-users."


So "Stable" is not really "Stable" it is still a branch for 
development and security fixes that go into "Point Releases".  Which 
means "Point Releases" are the real true "Stable" area. Right?


More or less, yes. -STABLE really is pretty stable in my experience, 
since the development code that gets checked in is ostensibly good, 
running code that has already been tested. But... sometimes it isn't 
good code, or sometimes one change conflicts with other recent 
changes that got checked in.


Also, features in -CURRENT may diverge from the last release point 
by a rather wide margin, so it isn't really the best testing 
environment for evaluating how a change will affect users when it is 
grafted onto the last release point -- that is more the job for 
-STABLE. Finally, some bugs just don't manifest until a wider range 
of users have tried out the new code.


Release points represent a junction where -STABLE really does prove 
to be very stable for a wide range of uses and platforms. A release 
might still have some bugs that didn't manifest yet, but that is 
much less likely than if you run -STABLE.




So when I need a security update I should CVSup the tag line should be

RELENG_6_0 for the real stable version, also includes bug and security 
fixes.


This will include the release point code plus /critical/ bug fixes. 
As I understand it, this is not all available bug fixes, just the 
fixes for clear operational threats such as security-related bugs or 
things that might lead to data loss. Minor bugs might not get fixed 
until the next major release point.


Yes, "RELENG_X_Y" is the recommended CVS setting for production 
servers and any non-expert use, and RELENG_6_0 is ostensibly the 
most stable and secure branch to be following today.



--
Greg Barniskis, Computer Systems Integrator
South Central Library System (SCLS)
Library Interchange Network (LINK)
, (608) 266-6348
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Problem with aclocal when trying to install phppgadmin from port

2005-11-30 Thread Chris McCormick
Hello all,
  I am still somewhat of a newbie with FreeBSD, so feel free to direct me to
any better resources, or a better place to ask this question.

  I had to to a pkg_delete on phppgadmin, as I was re-installing mysql.
After that, I pulled down a newer version of phppgadmin and tried to install
it. I got the follwoing output:

-

www# pwd
/usr/ports/databases/phppgadmin
www# make install
===>  Installing for phppgadmin-4.0
===>   phppgadmin-4.0 depends on file: /usr/local/include/php/main/php.h -
found
===>   phppgadmin-4.0 depends on file: /usr/local/lib/php/20020429/pgsql.so
- not found
===>Verifying install for /usr/local/lib/php/20020429/pgsql.so in
/usr/ports/databases/php4-pgsql
===>   php4-pgsql-4.4.1_2 depends on executable: phpize - found
===>   php4-pgsql-4.4.1_2 depends on file: /usr/local/bin/autoconf259 -
found
===>   php4-pgsql-4.4.1_2 depends on shared library: pq.3 - found
===>  PHPizing for php4-pgsql-4.4.1_2
aclocal: not found
*** Error code 1

Stop in /usr/ports/databases/php4-pgsql.
*** Error code 1

Stop in /usr/ports/databases/phppgadmin.
www#

-


Looking for aclocal produces the following output:


-

www# find / -name "acloca*"
/usr/local/share/aclocal
/usr/local/share/libtool13/libltdl/aclocal.m4
/usr/local/share/libtool15/libltdl/aclocal.m4
/usr/local/share/libtool14/libltdl/aclocal.m4
/usr/src/contrib/awk/aclocal.m4
/usr/src/contrib/bc/aclocal.m4
/usr/src/contrib/binutils/bfd/aclocal.m4
/usr/src/contrib/binutils/binutils/aclocal.m4
/usr/src/contrib/binutils/gas/aclocal.m4
/usr/src/contrib/binutils/ld/aclocal.m4
/usr/src/contrib/binutils/libiberty/aclocal.m4
/usr/src/contrib/binutils/opcodes/aclocal.m4
/usr/src/contrib/cvs/aclocal.m4
/usr/src/contrib/file/aclocal.m4
/usr/src/contrib/gcc/aclocal.m4
/usr/src/contrib/gdb/gdb/aclocal.m4
/usr/src/contrib/gperf/aclocal.m4
/usr/src/contrib/groff/aclocal.m4
/usr/src/contrib/libf2c/libU77/aclocal.m4
/usr/src/contrib/libreadline/aclocal.m4
/usr/src/contrib/lukemftpd/aclocal.m4
/usr/src/contrib/ncurses/aclocal.m4
/usr/src/contrib/ntp/aclocal.m4
/usr/src/contrib/nvi/build/aclocal.m4
/usr/src/sys/contrib/dev/acpica/aclocal.h
/usr/src/crypto/heimdal/aclocal.m4
/usr/src/crypto/kerberosIV/aclocal.m4
/usr/src/crypto/openssh/aclocal.m4
/usr/src/postgresql-7.4.2/aclocal.m4
/usr/ports/databases/mysql40-server/work/mysql-4.0.20/bdb/dist/aclocal
/usr/ports/databases/mysql40-server/work/mysql-4.0.20/innobase/aclocal.m4
/usr/ports/databases/mysql40-server/work/mysql-4.0.20/aclocal.m4
/usr/ports/databases/postgresql7/work/postgresql-7.4.2/aclocal.m4
/usr/ports/databases/postgresql72/work/postgresql-7.2.4/aclocal.m4
/usr/ports/databases/freetds-msdblib/work/freetds-0.62.3/aclocal.m4.orig
/usr/ports/databases/freetds-msdblib/work/freetds-0.62.3/aclocal.m4
/usr/ports/databases/mysql50-client/work/mysql-5.0.16/bdb/dist/aclocal_java
/usr/ports/databases/mysql50-client/work/mysql-5.0.16/bdb/dist/aclocal
/usr/ports/databases/mysql50-client/work/mysql-5.0.16/aclocal.m4
/usr/ports/databases/mysql50-client/work/mysql-5.0.16/innobase/aclocal.m4
/usr/ports/databases/mysql50-server/work/mysql-5.0.16/bdb/dist/aclocal_java
/usr/ports/databases/mysql50-server/work/mysql-5.0.16/bdb/dist/aclocal
/usr/ports/databases/mysql50-server/work/mysql-5.0.16/aclocal.m4
/usr/ports/databases/mysql50-server/work/mysql-5.0.16/innobase/aclocal.m4
/usr/ports/databases/php4-mysql/work/php-4.4.1
/ext/bcmath/libbcmath/aclocal.m4
/usr/ports/databases/php4-mysql/work/php-4.4.1/aclocal.m4
/usr/ports/databases/php4-pgsql/work/php-4.4.1
/ext/bcmath/libbcmath/aclocal.m4
/usr/ports/databases/php4-pgsql/work/php-4.4.1/aclocal.m4
/usr/ports/devel/autoconf259/work/autoconf-2.59/aclocal.m4
/usr/ports/devel/autoconf257/work/autoconf-2.57/aclocal.m4
/usr/ports/devel/libtool14/work/libtool-1.4.3/libltdl/aclocal.m4
/usr/ports/devel/libtool14/work/libtool-1.4.3/cdemo/aclocal.m4
/usr/ports/devel/libtool14/work/libtool-1.4.3/demo/aclocal.m4
/usr/ports/devel/libtool14/work/libtool-1.4.3/depdemo/aclocal.m4
/usr/ports/devel/libtool14/work/libtool-1.4.3/mdemo/aclocal.m4
/usr/ports/devel/libtool14/work/libtool-1.4.3/aclocal.m4
/usr/ports/devel/mm/work/mm-1.3.0/aclocal.m4
/usr/ports/devel/readline/work/readline-5.0/aclocal.m4
/usr/ports/graphics/gd/work/gd-2.0.25/aclocal.m4
/usr/ports/lang/ezm3/work/ezm3-1.1
/language/modula3/m3compiler/m3cc/gcc/gcc/aclocal.m4
/usr/ports/lang/ezm3/work/ezm3-1.1
/language/modula3/m3compiler/m3cc/gcc/libiberty/aclocal.m4
/usr/ports/misc/help2man/work/help2man-1.33.1/aclocal.m4
/usr/ports/www/lynx/work/lynx2-8-5/aclocal.m4
/usr/ports/www/mod_php4/work/php-4.4.1/ext/bcmath/libbcmath/acloc

gmirror Cannot access provider da0

2005-11-30 Thread jd

I'm trying to set up gmirror for the first time using instructions in
the Handbook. I get this error:

grenvil# gmirror insert gm0 /dev/da0
Cannot access provider da0.

>From dmesg:

da0 at ahc0 bus 0 target 0 lun 0
da0:  Fixed Direct Access SCSI-3 device
da0: 80.000MB/s transfers (40.000MHz, offset 31, 16bit), Tagged Queueing
Enabled
da0: 8683MB (17783301 512 byte sectors: 255H 63S/T 1106C)
da1 at ahc0 bus 0 target 1 lun 0
da1:  Fixed Direct Access SCSI-3 device
da1: 80.000MB/s transfers (40.000MHz, offset 31, 16bit), Tagged Queueing
Enabled
da1: 8683MB (17783301 512 byte sectors: 255H 63S/T 1106C)
GEOM_MIRROR: Device gm0 created (id=2172298823).
GEOM_MIRROR: Device gm0: provider da1 detected.
GEOM_MIRROR: Device gm0: provider da1 activated.
GEOM_MIRROR: Device gm0: provider mirror/gm0 launched.

How can I fix this problem?

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


Re: cpufreq and changing driver

2005-11-30 Thread Marco Calviani
Hi Nate,

2005/11/30, Nate Lawson <[EMAIL PROTECTED]>:

>
> You should send the full output of "sysctl dev.cpu".  There is no
> cpufreq driver (est, acpi_perf, or other) driver running.  Perhaps look
> at your dmesg to see if one is probing/attaching.
>

> sysctl dev.cpu
dev.cpu.0.%desc: ACPI CPU
dev.cpu.0.%driver: cpu
dev.cpu.0.%location: handle=\_PR_.CPU0
dev.cpu.0.%pnpinfo: _HID=none _UID=0
dev.cpu.0.%parent: acpi0
dev.cpu.0.freq: 1000
dev.cpu.0.freq_levels: 1800/24000 1600/2 1400/18000 1225/15750
1050/13500 1000/16000 875/14000 750/12000 625/1 600/12000
525/10500 450/9000 375/7500 300/6000 225/4500 150/3000 75/1500


and if useful,

> dmesg | grep -i acpi
  
Features=0xafe9f9bf
acpi0:  on motherboard
acpi0: Power Button (fixed)
pci_link0:  irq 6 on acpi0
pci_link1:  irq 10 on acpi0
pci_link2:  irq 6 on acpi0
pci_link3:  irq 6 on acpi0
pci_link4:  irq 10 on acpi0
pci_link5:  irq 0 on acpi0
pci_link6:  irq 0 on acpi0
pci_link7:  irq 10 on acpi0
acpi_ec0:  port 0x62,0x66 on acpi0
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
cpu0:  on acpi0
acpi_perf0:  on cpu0
pcib0:  port 0xcf8-0xcff on acpi0
pci0:  on pcib0
pcib1:  at device 1.0 on pci0
pci1:  on pcib1
pcib2:  at device 30.0 on pci0
pci2:  on pcib2
acpi_lid0:  on acpi0
acpi_acad0:  on acpi0
battery0:  on acpi0
battery1:  on acpi0
acpi_button0:  on acpi0
acpi_tz0:  on acpi0
atkbdc0:  port 0x60,0x64 irq 1 on acpi0
ppc0:  port 0x378-0x37f,0x778-0x77f irq 7
drq 3 on acpi0
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio1 port 0x2f8-0x2ff irq 3 drq 1 on acpi0


> If you are using acpi and load cpufreq.ko, you've got all the cpufreq
> drivers in one package.  The right one for your platform will
> automatically probe/attach.


It seems that my system has recognized acpi_perf as the appropriate
driver. But since my CPU is a dothan type centrino i would like to
understand why is not possible to use the est driver.


> I have no idea what you mean by "on-demand governor".  The only
> automated control of cpu speed is either by the BIOS (which we can't
> control) or the TM/TM2 (and that one is heat-based, not load-based).
>

I was referring to this
http://www.intel.com/cd/ids/developer/asmo-na/eng/195910.htm?prn=Y and
http://lwn.net/Articles/55589/ introduced in linux kernel 2.6.9  .
Just to remind: sorry if this is not applicable to the freeBSD kernel.

In the linux case the system is much more responsive to actual user
actions in respect to what i'm experiencing with powerd. If i can help
in some way in testing i would like to contribute.

> --
> Nate
>

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


Re: Problem with aclocal when trying to install phppgadmin from port

2005-11-30 Thread Matthew Seaman
Chris McCormick wrote:
> Hello all,
>   I am still somewhat of a newbie with FreeBSD, so feel free to direct me to
> any better resources, or a better place to ask this question.
> 
>   I had to to a pkg_delete on phppgadmin, as I was re-installing mysql.
> After that, I pulled down a newer version of phppgadmin and tried to install
> it. I got the follwoing output:

Errr... Perhaps you might find phpMyAdmin works better with mysql.  Or 
conversely that postgresql works better with phpPgAdmin.

> -
> 
> www# pwd
> /usr/ports/databases/phppgadmin
> www# make install
> ===>  Installing for phppgadmin-4.0
> ===>   phppgadmin-4.0 depends on file: /usr/local/include/php/main/php.h -
> found
> ===>   phppgadmin-4.0 depends on file: /usr/local/lib/php/20020429/pgsql.so
> - not found
> ===>Verifying install for /usr/local/lib/php/20020429/pgsql.so in
> /usr/ports/databases/php4-pgsql
> ===>   php4-pgsql-4.4.1_2 depends on executable: phpize - found
> ===>   php4-pgsql-4.4.1_2 depends on file: /usr/local/bin/autoconf259 -
> found
> ===>   php4-pgsql-4.4.1_2 depends on shared library: pq.3 - found
> ===>  PHPizing for php4-pgsql-4.4.1_2
> aclocal: not found
> *** Error code 1
> 
> Stop in /usr/ports/databases/php4-pgsql.
> *** Error code 1
> 
> Stop in /usr/ports/databases/phppgadmin.
> www#

aclocal is part of the automake port -- or rather, it's part of /one/ of the
automake ports.  There are at least three versions of automake in ports, and
they've been modified so that the different versions can all be installed
simultaneously.  Similarly for autoconf.  Thats because there are incompatible
changes between different versions of the Gnu autotools, and software using the
Gnu configure system can't be upgraded to use a more recent version of them
without quite a lot of work.  So those upgrades tend not to happen.

Anyhow, for the ports to work using autotools, you need to install automake, etc
from the ports.  Usually that will happen automatically, but if you've 
installed,
say, automake directly from the Gnu tarball without reference to ports, it can
cause problems.  The program names will be tagged with the version numbers.

Also, as aclocal and automake are perl scripts, and as they have formerly been
infamous for causing mayhem by including the perl version number into 
themselves,
you may have needed to re-install the automake ports after upgrading perl.  That
bug was squashed relatively recently, so this might still apply to your system.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   Flat 3
  7 Priory Courtyard
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW, UK


signature.asc
Description: OpenPGP digital signature


Setting up VLAN interfaces with Cisco gear... getting traffic on broadcast only...

2005-11-30 Thread Brian J. McGovern
All,
I've got three Catalyst 6500s configured in a switching domain via
fiber, with one "hub" 6500 connecting two remotes. Their port 
configurations are basically (the actual port number varies based on the
device).

interface Gigabit Ethernet 9/2
no ip address
switchport
switchport trunk encapsulation dot1q
switchport mode trunk


The switches have been working as-is for over a year now, so I know
that part of the configuration is good. 

I've been asked to provide some Sun jumpstart services, and want to 
use an IBM x335 with a bge interface to act as a bootparams/tftp/rarp server,
and figured that trunking it in to the main switch and bringing up vlans for
the individual subnets that would be served would be the right way to go, so
I configured up one of the gig-E interfaces, as above, with the only change 
selecting the UTP media.

On the FreeBSD (6.0) side, I then ran:

ifconfig bge0 up media 1000baseTX mediaopt full-duplex
ifconfig vlan0 create vlan 1 vlandev bge0
ifconfig vlan0 10.86.154.221 netmask 255.255.255.240

The other devices on the subnet are 10.86.154.209 ("Hub 6500"), 
10.86.154.210 ("Remote 6500 1"), 10.86.154.211 ("Remote 6500 2"), and 
10.86.154.222 ("Another x335 server running Linux").

However, I don't seem to be able to get normal traffic through the
link. If I ping 10.86.154.223 (the subnet broadcast), I see responses from all
of the above devices - the first looking normal, and the remainder showing
(DUP!), which I would expect.

Pinging a device directly causes packets to get lost. They show up in
the outbound stats, and the 6500(s) appear(s) to see and respond to it, but
it never comes back in via the vlan0 interface.

Any suggestions to try before I bang my head against the wall?

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


Re: cpufreq and changing driver

2005-11-30 Thread Bruno Ducrot
On Wed, Nov 30, 2005 at 10:05:04AM -0800, Nate Lawson wrote:
> Marco Calviani wrote:
> >Hi,
> >
> >2005/11/30, Bruno Ducrot <[EMAIL PROTECTED]>:
> >
> >>You have to load the cpufreq.ko module at boot.
> >>Adding that line:
> >>cpufreq_load = "YES"
> >>to /boot/loader.conf
> >>should be OK.
> >
> >
> >I have that line in that position, and it seems working. The point is
> >that i would like to change the driver and use (AFAIU) a better driver
> >for my system (est).
> >In particular i have:
> >
> >dev.cpu.0.%desc: ACPI CPU
> >dev.cpu.0.%driver: cpu
> >dev.cpu.0.%location: handle=\_PR_.CPU0
> >dev.cpu.0.%pnpinfo: _HID=none _UID=0
> >dev.cpu.0.%parent: acpi0
> >
> >Maybe i didn't understood well: but what i have to do to use the Intel
> >Enhanced SpeedStep driver?
> 
> You should send the full output of "sysctl dev.cpu".  There is no 
> cpufreq driver (est, acpi_perf, or other) driver running.  Perhaps look 
> at your dmesg to see if one is probing/attaching.
> 
> If you are using acpi and load cpufreq.ko, you've got all the cpufreq 
> drivers in one package.  The right one for your platform will 
> automatically probe/attach.
> 
> >>powerd need some rework in order to get it working properly.  There
> >>is one FreeBSD project on that subject if you are interrested.
> >
> >Well, thanks i'm very interested, although i'm not at all experienced
> >in kernel programming
> >
> >I'm not inside this issue, but it would not be possible to "emulate"
> >the behaviour of the ondemand governor? (sorry if this question makes
> >no sense)
> 
> I have no idea what you mean by "on-demand governor".  The only 
> automated control of cpu speed is either by the BIOS (which we can't 
> control) or the TM/TM2 (and that one is heat-based, not load-based).
> 

The ondemand governor is basically an implemation of the following
algorithm:

There is a counter, say count.

at each given fixed intervall:
if (idle less than a watermark) {
frequency full
reinitialise count to 10
} else if (idle more than another watermark) {
decrement count
if count is 0 {
down one step the frequency
}
else reinitilize count to 10

  
Note that in the latter case, the down step is performed only
after 10 such comparison.  In other word, intervall is ten times
larger for the down side than the full frequency one.

This work well when you can perform, say, 20 to 50 transitions per
second.  Otherwise, it is pretty bad.

-- 
Bruno Ducrot

--  Which is worse:  ignorance or apathy?
--  Don't know.  Don't care.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Problem with aclocal when trying to install phppgadmin from port

2005-11-30 Thread Chris McCormick
Matthew,
   Thank you for your explanation. I'll look into the ideas you put out
there, which will probably lead to more questions.

   And just so I don't seem like a complete idiot, let me say that I am
aware that I am re-installing phppgadmin (which administers PostgreSQL dbs)
after an install of MySQL.  I can't explain why this is so, but when I went
to pkg_delete the MySQL client 4.0 package, it told me that it could not
because (of all things) phppgadmin depended upon it.  Why that is, I
couldn't tell you, but when I uninstalled phppgadmin, I was able to
uninstall (and then upgrade) the MySQL client successfully.

  The irony of all of this is that I am a heavy user of postgres, but I only
recently decided to upgrade MySQL to use it with a blog.  Previously, I
hadn't really used it.  Now, as a result, I have to manage my postgres
install through the command line until I get this fixed.

Thanks again for your help,
Chris


On 11/30/05, Matthew Seaman <[EMAIL PROTECTED]> wrote:
>
> Chris McCormick wrote:
> > Hello all,
> >   I am still somewhat of a newbie with FreeBSD, so feel free to direct
> me to
> > any better resources, or a better place to ask this question.
> >
> >   I had to to a pkg_delete on phppgadmin, as I was re-installing mysql.
> > After that, I pulled down a newer version of phppgadmin and tried to
> install
> > it. I got the follwoing output:
>
> Errr... Perhaps you might find phpMyAdmin works better with mysql.  Or
> conversely that postgresql works better with phpPgAdmin.
>
> >
> -
> >
> > www# pwd
> > /usr/ports/databases/phppgadmin
> > www# make install
> > ===>  Installing for phppgadmin-4.0
> > ===>   phppgadmin-4.0 depends on file: /usr/local/include/php/main/php.h
> -
> > found
> > ===>   phppgadmin-4.0 depends on file:
> /usr/local/lib/php/20020429/pgsql.so
> > - not found
> > ===>Verifying install for /usr/local/lib/php/20020429/pgsql.so in
> > /usr/ports/databases/php4-pgsql
> > ===>   php4-pgsql-4.4.1_2 depends on executable: phpize - found
> > ===>   php4-pgsql-4.4.1_2 depends on file: /usr/local/bin/autoconf259 -
> > found
> > ===>   php4-pgsql-4.4.1_2 depends on shared library: pq.3 - found
> > ===>  PHPizing for php4-pgsql-4.4.1_2
> > aclocal: not found
> > *** Error code 1
> >
> > Stop in /usr/ports/databases/php4-pgsql.
> > *** Error code 1
> >
> > Stop in /usr/ports/databases/phppgadmin.
> > www#
>
> aclocal is part of the automake port -- or rather, it's part of /one/ of
> the
> automake ports.  There are at least three versions of automake in ports,
> and
> they've been modified so that the different versions can all be installed
> simultaneously.  Similarly for autoconf.  Thats because there are
> incompatible
> changes between different versions of the Gnu autotools, and software
> using the
> Gnu configure system can't be upgraded to use a more recent version of
> them
> without quite a lot of work.  So those upgrades tend not to happen.
>
> Anyhow, for the ports to work using autotools, you need to install
> automake, etc
> from the ports.  Usually that will happen automatically, but if you've
> installed,
> say, automake directly from the Gnu tarball without reference to ports, it
> can
> cause problems.  The program names will be tagged with the version
> numbers.
>
> Also, as aclocal and automake are perl scripts, and as they have formerly
> been
> infamous for causing mayhem by including the perl version number into
> themselves,
> you may have needed to re-install the automake ports after upgrading
> perl.  That
> bug was squashed relatively recently, so this might still apply to your
> system.
>
> Cheers,
>
> Matthew
>
> --
> Dr Matthew J Seaman MA, D.Phil.   Flat 3
>   7 Priory Courtyard
> PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
>   Kent, CT11 9PW, UK
>
>
>


--

-
Chris McCormick, webmaster
The Athenaeum - Interactive Humanities Online
http://www.the-athenaeum.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: cpufreq and changing driver

2005-11-30 Thread Nate Lawson

Bruno Ducrot wrote:

On Wed, Nov 30, 2005 at 10:05:04AM -0800, Nate Lawson wrote:


Marco Calviani wrote:


Hi,

2005/11/30, Bruno Ducrot <[EMAIL PROTECTED]>:



You have to load the cpufreq.ko module at boot.
Adding that line:
cpufreq_load = "YES"
to /boot/loader.conf
should be OK.



I have that line in that position, and it seems working. The point is
that i would like to change the driver and use (AFAIU) a better driver
for my system (est).
In particular i have:

dev.cpu.0.%desc: ACPI CPU
dev.cpu.0.%driver: cpu
dev.cpu.0.%location: handle=\_PR_.CPU0
dev.cpu.0.%pnpinfo: _HID=none _UID=0
dev.cpu.0.%parent: acpi0

Maybe i didn't understood well: but what i have to do to use the Intel
Enhanced SpeedStep driver?


You should send the full output of "sysctl dev.cpu".  There is no 
cpufreq driver (est, acpi_perf, or other) driver running.  Perhaps look 
at your dmesg to see if one is probing/attaching.


If you are using acpi and load cpufreq.ko, you've got all the cpufreq 
drivers in one package.  The right one for your platform will 
automatically probe/attach.




powerd need some rework in order to get it working properly.  There
is one FreeBSD project on that subject if you are interrested.


Well, thanks i'm very interested, although i'm not at all experienced
in kernel programming

I'm not inside this issue, but it would not be possible to "emulate"
the behaviour of the ondemand governor? (sorry if this question makes
no sense)


I have no idea what you mean by "on-demand governor".  The only 
automated control of cpu speed is either by the BIOS (which we can't 
control) or the TM/TM2 (and that one is heat-based, not load-based).





The ondemand governor is basically an implemation of the following
algorithm:

There is a counter, say count.

at each given fixed intervall:
if (idle less than a watermark) {
frequency full
reinitialise count to 10
} else if (idle more than another watermark) {
decrement count
if count is 0 {
down one step the frequency
}
else reinitilize count to 10

  
Note that in the latter case, the down step is performed only

after 10 such comparison.  In other word, intervall is ten times
larger for the down side than the full frequency one.

This work well when you can perform, say, 20 to 50 transitions per
second.  Otherwise, it is pretty bad.



Send me a URL to the datasheet that says Intel implemented this.

That algorithm is basically what powerd does.  So just run powerd.

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


Re: cpufreq and changing driver

2005-11-30 Thread Marco Calviani
Hi Bruno,

> The ondemand governor is basically an implemation of the following
> algorithm:
>
> There is a counter, say count.
>
> at each given fixed intervall:
> if (idle less than a watermark) {
> frequency full
> reinitialise count to 10
> } else if (idle more than another watermark) {
> decrement count
> if count is 0 {
> down one step the frequency
> }
> else reinitilize count to 10
>
>
> Note that in the latter case, the down step is performed only
> after 10 such comparison.  In other word, intervall is ten times
> larger for the down side than the full frequency one.
>
> This work well when you can perform, say, 20 to 50 transitions per
> second.  Otherwise, it is pretty bad.
>

Thanks very much!
 But i'm not understanding if this high number of transitions are a
problem from the hardware point of view or from the software
implementation in freeBSD?

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


Re: cpufreq and changing driver

2005-11-30 Thread Bruno Ducrot
On Wed, Nov 30, 2005 at 12:23:52PM -0800, Nate Lawson wrote:
> Bruno Ducrot wrote:
> >On Wed, Nov 30, 2005 at 10:05:04AM -0800, Nate Lawson wrote:
> >
> >>Marco Calviani wrote:
> >>
> >>>Hi,
> >>>
> >>>2005/11/30, Bruno Ducrot <[EMAIL PROTECTED]>:
> >>>
> >>>
> You have to load the cpufreq.ko module at boot.
> Adding that line:
> cpufreq_load = "YES"
> to /boot/loader.conf
> should be OK.
> >>>
> >>>
> >>>I have that line in that position, and it seems working. The point is
> >>>that i would like to change the driver and use (AFAIU) a better driver
> >>>for my system (est).
> >>>In particular i have:
> >>>
> >>>dev.cpu.0.%desc: ACPI CPU
> >>>dev.cpu.0.%driver: cpu
> >>>dev.cpu.0.%location: handle=\_PR_.CPU0
> >>>dev.cpu.0.%pnpinfo: _HID=none _UID=0
> >>>dev.cpu.0.%parent: acpi0
> >>>
> >>>Maybe i didn't understood well: but what i have to do to use the Intel
> >>>Enhanced SpeedStep driver?
> >>
> >>You should send the full output of "sysctl dev.cpu".  There is no 
> >>cpufreq driver (est, acpi_perf, or other) driver running.  Perhaps look 
> >>at your dmesg to see if one is probing/attaching.
> >>
> >>If you are using acpi and load cpufreq.ko, you've got all the cpufreq 
> >>drivers in one package.  The right one for your platform will 
> >>automatically probe/attach.
> >>
> >>
> powerd need some rework in order to get it working properly.  There
> is one FreeBSD project on that subject if you are interrested.
> >>>
> >>>Well, thanks i'm very interested, although i'm not at all experienced
> >>>in kernel programming
> >>>
> >>>I'm not inside this issue, but it would not be possible to "emulate"
> >>>the behaviour of the ondemand governor? (sorry if this question makes
> >>>no sense)
> >>
> >>I have no idea what you mean by "on-demand governor".  The only 
> >>automated control of cpu speed is either by the BIOS (which we can't 
> >>control) or the TM/TM2 (and that one is heat-based, not load-based).
> >>
> >
> >
> >The ondemand governor is basically an implemation of the following
> >algorithm:
> >
> >There is a counter, say count.
> >
> >at each given fixed intervall:
> >if (idle less than a watermark) {
> >frequency full
> >reinitialise count to 10
> >} else if (idle more than another watermark) {
> >decrement count
> >if count is 0 {
> >down one step the frequency
> >}
> >else reinitilize count to 10
> >
> >  
> >Note that in the latter case, the down step is performed only
> >after 10 such comparison.  In other word, intervall is ten times
> >larger for the down side than the full frequency one.
> >
> >This work well when you can perform, say, 20 to 50 transitions per
> >second.  Otherwise, it is pretty bad.
> >
> 
> Send me a URL to the datasheet that says Intel implemented this.

http://www.intel.com/cd/ids/developer/asmo-na/eng/195910.htm?prn=Y

> That algorithm is basically what powerd does.  So just run powerd.

Indeed.

-- 
Bruno Ducrot

--  Which is worse:  ignorance or apathy?
--  Don't know.  Don't care.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Update: Setting up VLAN interfaces with Cisco gear... getting traffic on broadcast only...

2005-11-30 Thread Brian J. McGovern
I hate to add to my own issue.

I did some more playing and VLANs != 1 seem to work ok (typically in the 
100-150 range). However, operating on VLAN 1 still seems to be an issue.

-B

 > All,
 >  I've got three Catalyst 6500s configured in a switching domain via
 > fiber, with one "hub" 6500 connecting two remotes. Their port 
 > configurations are basically (the actual port number varies based on the
 > device).
 > 
 > interface Gigabit Ethernet 9/2
 >  no ip address
 >  switchport
 >  switchport trunk encapsulation dot1q
 >  switchport mode trunk
 > 
 > 
 >  The switches have been working as-is for over a year now, so I know
 > that part of the configuration is good. 
 > 
 >  I've been asked to provide some Sun jumpstart services, and want to 
 > use an IBM x335 with a bge interface to act as a bootparams/tftp/rarp server
,
 > and figured that trunking it in to the main switch and bringing up vlans for
 > the individual subnets that would be served would be the right way to go, so
 > I configured up one of the gig-E interfaces, as above, with the only change 
 > selecting the UTP media.
 > 
 >  On the FreeBSD (6.0) side, I then ran:
 > 
 > ifconfig bge0 up media 1000baseTX mediaopt full-duplex
 > ifconfig vlan0 create vlan 1 vlandev bge0
 > ifconfig vlan0 10.86.154.221 netmask 255.255.255.240
 > 
 >  The other devices on the subnet are 10.86.154.209 ("Hub 6500"), 
 > 10.86.154.210 ("Remote 6500 1"), 10.86.154.211 ("Remote 6500 2"), and 
 > 10.86.154.222 ("Another x335 server running Linux").
 > 
 >  However, I don't seem to be able to get normal traffic through the
 > link. If I ping 10.86.154.223 (the subnet broadcast), I see responses from a
ll
 > of the above devices - the first looking normal, and the remainder showing
 > (DUP!), which I would expect.
 > 
 >  Pinging a device directly causes packets to get lost. They show up in
 > the outbound stats, and the 6500(s) appear(s) to see and respond to it, but
 > it never comes back in via the vlan0 interface.
 > 
 >  Any suggestions to try before I bang my head against the wall?
 > 
 >  -Brian
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: cpufreq and changing driver

2005-11-30 Thread Bruno Ducrot
On Wed, Nov 30, 2005 at 08:05:59PM +, Marco Calviani wrote:
> Hi Nate,
> 
> 2005/11/30, Nate Lawson <[EMAIL PROTECTED]>:
> 
> >
> > You should send the full output of "sysctl dev.cpu".  There is no
> > cpufreq driver (est, acpi_perf, or other) driver running.  Perhaps look
> > at your dmesg to see if one is probing/attaching.
> >
> 
> > sysctl dev.cpu
> dev.cpu.0.%desc: ACPI CPU
> dev.cpu.0.%driver: cpu
> dev.cpu.0.%location: handle=\_PR_.CPU0
> dev.cpu.0.%pnpinfo: _HID=none _UID=0
> dev.cpu.0.%parent: acpi0
> dev.cpu.0.freq: 1000
> dev.cpu.0.freq_levels: 1800/24000 1600/2 1400/18000 1225/15750
> 1050/13500 1000/16000 875/14000 750/12000 625/1 600/12000
> 525/10500 450/9000 375/7500 300/6000 225/4500 150/3000 75/1500
> 
> 
> > If you are using acpi and load cpufreq.ko, you've got all the cpufreq
> > drivers in one package.  The right one for your platform will
> > automatically probe/attach.
> 
> 
> It seems that my system has recognized acpi_perf as the appropriate
> driver. But since my CPU is a dothan type centrino i would like to
> understand why is not possible to use the est driver.

Did you load the cpufreq driver at boot time which include the est
driver as said before?  It will replace the acpi_perf if appropriate.

-- 
Bruno Ducrot

--  Which is worse:  ignorance or apathy?
--  Don't know.  Don't care.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: cpufreq and changing driver

2005-11-30 Thread Marco Calviani
Hi Bruno,

2005/11/30, Bruno Ducrot <[EMAIL PROTECTED]>:

> Did you load the cpufreq driver at boot time which include the est
> driver as said before?  It will replace the acpi_perf if appropriate.
>
> --
> Bruno Ducrot

Yes cpufreq is loaded at boot time in /boot/loader.conf .However i
don't know how to tell him that i want to load est instead of
acpi_perf.

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


Re: gmirror Cannot access provider da0

2005-11-30 Thread Elliot Finley
- Original Message - 
From: "jd" <[EMAIL PROTECTED]>
To: 
Sent: Wednesday, November 30, 2005 1:01 PM
Subject: gmirror Cannot access provider da0



I'm trying to set up gmirror for the first time using instructions in
the Handbook. I get this error:

grenvil# gmirror insert gm0 /dev/da0
Cannot access provider da0.

try: gmirror insert gm0 da0

I just got through setting up a bunch of gmirrors as well... there are still
a few gotchas, but if you know where they are, it's easy enough to avoid
them.

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


Re: Problem with aclocal when trying to install phppgadmin from port

2005-11-30 Thread Kaspars Bankovskis
btw, what has phppgadmin has to do with mysql? phppgadmin is for 
postgresql, phpmyadmin for mysql.


Chris McCormick wrote:

Hello all,
  I am still somewhat of a newbie with FreeBSD, so feel free to direct me to
any better resources, or a better place to ask this question.

  I had to to a pkg_delete on phppgadmin, as I was re-installing mysql.
After that, I pulled down a newer version of phppgadmin and tried to install
it. I got the follwoing output:

-

www# pwd
/usr/ports/databases/phppgadmin
www# make install
===>  Installing for phppgadmin-4.0
===>   phppgadmin-4.0 depends on file: /usr/local/include/php/main/php.h -
found
===>   phppgadmin-4.0 depends on file: /usr/local/lib/php/20020429/pgsql.so
- not found
===>Verifying install for /usr/local/lib/php/20020429/pgsql.so in
/usr/ports/databases/php4-pgsql
===>   php4-pgsql-4.4.1_2 depends on executable: phpize - found
===>   php4-pgsql-4.4.1_2 depends on file: /usr/local/bin/autoconf259 -
found
===>   php4-pgsql-4.4.1_2 depends on shared library: pq.3 - found
===>  PHPizing for php4-pgsql-4.4.1_2
aclocal: not found
*** Error code 1

Stop in /usr/ports/databases/php4-pgsql.
*** Error code 1

Stop in /usr/ports/databases/phppgadmin.
www#

-


Looking for aclocal produces the following output:


-

www# find / -name "acloca*"
/usr/local/share/aclocal
/usr/local/share/libtool13/libltdl/aclocal.m4
/usr/local/share/libtool15/libltdl/aclocal.m4
/usr/local/share/libtool14/libltdl/aclocal.m4
/usr/src/contrib/awk/aclocal.m4
/usr/src/contrib/bc/aclocal.m4
/usr/src/contrib/binutils/bfd/aclocal.m4
/usr/src/contrib/binutils/binutils/aclocal.m4
/usr/src/contrib/binutils/gas/aclocal.m4
/usr/src/contrib/binutils/ld/aclocal.m4
/usr/src/contrib/binutils/libiberty/aclocal.m4
/usr/src/contrib/binutils/opcodes/aclocal.m4
/usr/src/contrib/cvs/aclocal.m4
/usr/src/contrib/file/aclocal.m4
/usr/src/contrib/gcc/aclocal.m4
/usr/src/contrib/gdb/gdb/aclocal.m4
/usr/src/contrib/gperf/aclocal.m4
/usr/src/contrib/groff/aclocal.m4
/usr/src/contrib/libf2c/libU77/aclocal.m4
/usr/src/contrib/libreadline/aclocal.m4
/usr/src/contrib/lukemftpd/aclocal.m4
/usr/src/contrib/ncurses/aclocal.m4
/usr/src/contrib/ntp/aclocal.m4
/usr/src/contrib/nvi/build/aclocal.m4
/usr/src/sys/contrib/dev/acpica/aclocal.h
/usr/src/crypto/heimdal/aclocal.m4
/usr/src/crypto/kerberosIV/aclocal.m4
/usr/src/crypto/openssh/aclocal.m4
/usr/src/postgresql-7.4.2/aclocal.m4
/usr/ports/databases/mysql40-server/work/mysql-4.0.20/bdb/dist/aclocal
/usr/ports/databases/mysql40-server/work/mysql-4.0.20/innobase/aclocal.m4
/usr/ports/databases/mysql40-server/work/mysql-4.0.20/aclocal.m4
/usr/ports/databases/postgresql7/work/postgresql-7.4.2/aclocal.m4
/usr/ports/databases/postgresql72/work/postgresql-7.2.4/aclocal.m4
/usr/ports/databases/freetds-msdblib/work/freetds-0.62.3/aclocal.m4.orig
/usr/ports/databases/freetds-msdblib/work/freetds-0.62.3/aclocal.m4
/usr/ports/databases/mysql50-client/work/mysql-5.0.16/bdb/dist/aclocal_java
/usr/ports/databases/mysql50-client/work/mysql-5.0.16/bdb/dist/aclocal
/usr/ports/databases/mysql50-client/work/mysql-5.0.16/aclocal.m4
/usr/ports/databases/mysql50-client/work/mysql-5.0.16/innobase/aclocal.m4
/usr/ports/databases/mysql50-server/work/mysql-5.0.16/bdb/dist/aclocal_java
/usr/ports/databases/mysql50-server/work/mysql-5.0.16/bdb/dist/aclocal
/usr/ports/databases/mysql50-server/work/mysql-5.0.16/aclocal.m4
/usr/ports/databases/mysql50-server/work/mysql-5.0.16/innobase/aclocal.m4
/usr/ports/databases/php4-mysql/work/php-4.4.1
/ext/bcmath/libbcmath/aclocal.m4
/usr/ports/databases/php4-mysql/work/php-4.4.1/aclocal.m4
/usr/ports/databases/php4-pgsql/work/php-4.4.1
/ext/bcmath/libbcmath/aclocal.m4
/usr/ports/databases/php4-pgsql/work/php-4.4.1/aclocal.m4
/usr/ports/devel/autoconf259/work/autoconf-2.59/aclocal.m4
/usr/ports/devel/autoconf257/work/autoconf-2.57/aclocal.m4
/usr/ports/devel/libtool14/work/libtool-1.4.3/libltdl/aclocal.m4
/usr/ports/devel/libtool14/work/libtool-1.4.3/cdemo/aclocal.m4
/usr/ports/devel/libtool14/work/libtool-1.4.3/demo/aclocal.m4
/usr/ports/devel/libtool14/work/libtool-1.4.3/depdemo/aclocal.m4
/usr/ports/devel/libtool14/work/libtool-1.4.3/mdemo/aclocal.m4
/usr/ports/devel/libtool14/work/libtool-1.4.3/aclocal.m4
/usr/ports/devel/mm/work/mm-1.3.0/aclocal.m4
/usr/ports/devel/readline/work/readline-5.0/aclocal.m4
/usr/ports/graphics/gd/work/gd-2.0.25/aclocal.m4
/usr/ports/lang/ezm3/work/ezm3-1.1
/language/modula3/m3compiler/m3cc/gcc/gcc/aclocal.m4
/usr/ports/lang/ezm3/work/ezm3-1.1
/language/modula3/m3compiler/m3cc/gcc/libiberty/aclocal.m4
/usr/ports/misc/help2man/work/help2man-1.3

Automating a 5.4 install

2005-11-30 Thread Raistlin Majere
I'm trying to use netboot to automate the install of FreeBSD 5.4.  I can
get new servers to boot, mount the NFS partition which has all the data
from the CD on it (taken from an iso) but I've run into two problems:

1) FreeBSD complains about my disk geometry, even though what it
suggests matches what's in the BIOS it's coming up with some wierd
numbers and halting my automated install so I can tell it "use the more
likely geometry"

2) after the OS install it complains that it can't find packages.  It
finds the packages directory, parses the index file, but then it can't
find them.  The error on screen is "Please remove disc #0 from your
drive, and add disc #1" and on tty2 the debug messages are: "DEBUG:
package check for xxx returns failure."

Any thoughts?

-=Alexander

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


Re: gmirror Cannot access provider da0

2005-11-30 Thread web

At 04:23 PM 11/30/2005, you wrote:

- Original Message -
From: "jd" <[EMAIL PROTECTED]>
To: 
Sent: Wednesday, November 30, 2005 1:01 PM
Subject: gmirror Cannot access provider da0



I'm trying to set up gmirror for the first time using instructions in
the Handbook. I get this error:

grenvil# gmirror insert gm0 /dev/da0
Cannot access provider da0.

try: gmirror insert gm0 da0

I just got through setting up a bunch of gmirrors as well... there are still
a few gotchas, but if you know where they are, it's easy enough to avoid
them.


Thanx... didn't work, same error message :(



Janos Dohanics 


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


Re: cpufreq and changing driver

2005-11-30 Thread Nate Lawson

Marco Calviani wrote:

Hi Bruno,

2005/11/30, Bruno Ducrot <[EMAIL PROTECTED]>:



Did you load the cpufreq driver at boot time which include the est
driver as said before?  It will replace the acpi_perf if appropriate.

--
Bruno Ducrot



Yes cpufreq is loaded at boot time in /boot/loader.conf .However i
don't know how to tell him that i want to load est instead of
acpi_perf.


est is preferred if supported.  But probably est doesn't have a table 
for his processor so acpi_perf is used.  There's nothing wrong with 
using acpi_perf -- it just gives a BIOS interface to est anyway.


You can test this with:
hint.acpi_perf.0.disabled="1"

This will cause acpi_perf to let est attach.  But I suspect est won't.

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


Re: gmirror Cannot access provider da0

2005-11-30 Thread Kirk Strauser
On Wednesday 30 November 2005 14:01, jd wrote:

> grenvil# gmirror insert gm0 /dev/da0
> Cannot access provider da0.

Is da0 in use by anything else?
-- 
Kirk Strauser
The Day Companies
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: cpufreq and changing driver

2005-11-30 Thread Bruno Ducrot
On Wed, Nov 30, 2005 at 01:57:42PM -0800, Nate Lawson wrote:
> Marco Calviani wrote:
> >Hi Bruno,
> >
> >Yes cpufreq is loaded at boot time in /boot/loader.conf .However i
> >don't know how to tell him that i want to load est instead of
> >acpi_perf.
> 
> est is preferred if supported.  But probably est doesn't have a table 
> for his processor so acpi_perf is used.

That's the case for any Dothan IIRC.

> There's nothing wrong with 
> using acpi_perf -- it just gives a BIOS interface to est anyway.

indeed.

> 
> You can test this with:
> hint.acpi_perf.0.disabled="1"
> 
> This will cause acpi_perf to let est attach.  But I suspect est won't.

est need acpi_perf if a dothan or above is in use...

On the other hand, the linux driver work for the OP, and that's not
acceptable we can't do the same :)

Maybe a link to a 'acpidmp -d -t' may help to see a little deeper?

Marco, could you send to me privately or better provide a link to
this output?

Cheers,

-- 
Bruno Ducrot

--  Which is worse:  ignorance or apathy?
--  Don't know.  Don't care.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


make problem after time change and upgrading

2005-11-30 Thread Aaron Sloan

I am having some problems after I rebuilt 5.4 from cvsup.
After I mergemastered I have a "make" problem.

This is the error I get when using make in /usr/src

slick# make
LC_ALL=C: Command not found.
"Makefile", line 155: warning: "LC_ALL=C date" returned non-zero status
MAKEFLAGS=: Command not found.
"Makefile.inc1", line 116: warning: "MAKEFLAGS= CPUTYPE=pentium4 make  
-f /dev/null -m /usr/src/share/mk -V CPUTYPE" returned non-zero status

"Makefile.inc1", line 118: CPUTYPE global should be set with ?=.
*** Error code 1

slick.adtu.org 5.4-STABLE FreeBSD 5.4-STABLE #0: Wed Nov 23 22:26:28 UTC 
2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386



I have done reading on this but I'm not getting anywhere with positive 
results.


Someone has some direction for me to search?

Thanks,
Aaron


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


Re: Bash scripting -- Usage of arrays

2005-11-30 Thread Jayesh Jayan
Hi Marco,

Yes you are correct. It is as you have given :)

Thank you.


On 11/30/05, Marco Gigante <[EMAIL PROTECTED]> wrote:
>
> On Wed, Nov 30, 2005 at 02:39:15AM +0530, Jayesh Jayan wrote:
> > Hi,
> >
> > Today I was trying to script using arrays in FreeBSD 5.4 but it doesn't
> > work.
> >
> > Below is a sample script which I used.
> >
> > **
> >
> > #!/bin/bash
> >
> > array=( zero one two three four);
> > echo "Elements in array0:  [EMAIL PROTECTED]"
> >
> > **
> >
> > It works fine on RedHat server.
> >
> > Below is the output.
> >
> > # sh array.sh
> > Elements in array0:  zero one two three four
> >
> > Below is the out put from the FreeBSD server using the same code.
> >
> > -bash-2.05b# sh aa.sh
> > aa.sh: 3: Syntax error: word unexpected (expecting ")")
>
> You should use: bash array.sh
> On FreeBSD sh != bash
>
> $ ls -l `which sh`
> -r-xr-xr-x  1 root  wheel  763316 Sep  3 08:37 /bin/sh
> $ ls -l `which bash`
> -rwxr-xr-x  2 root  wheel  471136 Jun 12 01:13 /usr/local/bin/bash
>
> Cheers
>
> --
> Marco Gigante
>



--
Jayesh Jayan

"The box said "Requires Windows 95, NT, or better", so I installed Linux."

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


Re: nvidia-driver weirdness

2005-11-30 Thread Remington L
Spoke to soon, it still crashing...

On 11/29/05, Remington <[EMAIL PROTECTED]> wrote:
> NvAGP 0 is running solid, dont know what it is... has to be the nvidia
> driver
>
> On Tue, 2005-11-29 at 08:26 +0100, Christopher Illies wrote:
> > On Mon, Nov 28, 2005 at 02:01:02PM -0800, Remington L wrote:
> > > This is a fresh install as of three days ago. I can try NvAGP 0 but
> > > what point would that do if it disables AGP?
> >
> > Well, in my case it did solve the problem of xorg locking up. It is
> > something you can try out, maybe it works, maybe it doesn't. The card
> > still works with AGP disabled, only a bit slower, but ... it works and
> > does not lock up anymore.
> >
> > I don't know much about hardware, but I guess there some problem with
> > Nvidia working together with certain AGP chipsets on FreeBSD/Linux,
> > but not on  Windows. Strange 
> >
> > Anyway, your problem might be the same, might be diffenrent, disabling
> > AGP might help, or it might not, just try it out. I would be
> > interested to hear whether it worked, though.
> >
> > Christopher
> >
> > >
> > > On 11/28/05, Louis LeBlanc <[EMAIL PROTECTED]> wrote:
> > > > On 11/27/05 10:37 PM, Remington sat at the `puter and typed:
> > > > > FreeBSD  6.0-RELEASE FreeBSD 6.0-RELEASE #1: Sat Nov 26 23:19:14 PST
> > > > > 2005 root@:/usr/obj/usr/src/sys/MACHINE  i386
> > > > >
> > > > > nvidia-driver-1.0.7676_1
> > > > > All ports current as of a few hours ago. No special make flags.
> > > > >
> > > > > Im sure this is a repeat post or I'm missing something stupid. Xorg
> > > > > keeps randlonly locking and hard rebooting my machine when the nvidia
> > > > > xorg driver is loaded. It can keep running for a few minutes, or take 
> > > > > a
> > > > > few hours before the lockup can occur.
> > > > >
> > > > > I have commented out device agp out of my kernel config, and likewise
> > > > > kept it in there, both with no luck. I've also tried NvAGP set to both
> > > > > 1, and 2 with no luck
> > > > >
> > > > > Driver  "nvidia"
> > > > > VendorName  "NVIDIA"
> > > > > BoardName   "Geforce 6800 GT"
> > > > > Option  "NvAGP" "2"
> > > > > BusID   "PCI:1:0:0"
> > > > >
> > > > > Any assitance would be great, after an extensive google search I got
> > > > > nothing.
> > > >
> > > > Is this an upgrade, or a new install of 6.0?  Many of the threads I've
> > > > read regarding the Nvidia driver with 6.0 suggested that the Nvidia
> > > > driver be rebuilt after the 6.0 upgrade.  In fact, I believe rebuilding
> > > > all ports was recommended, which is why I've decided to invest in a
> > > > second hard drive to do a new install.
> > > >
> > > > I don't know if it will help, but my own config is pretty much the
> > > > same - with a couple extras to omit the logo splash, accelerate
> > > > rendering, etc.  Of course, I'm still running 5.4.
> > > >
> > > > Try rebuilding the driver from ports - that's probably your best bet.
> > > >
> > > > HTH
> > > > Lou
> > > > --
> > > > Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
> > > > Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
> > > > Please send off-list email to: leblanc at keyslapper d.t net
> > > > Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2
> > > >
> > > > Nusbaum's Rule:
> > > >   The more pretentious the corporate name, the smaller the organization.
> > > >   (For instance, the Murphy Center for the Codification of Human and
> > > >   Organizational Law, contrasted to IBM, GM, and AT&T.)
> > > >
> > > >
> > > >
> > >
> > >
> > > --
> >
>
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: make problem after time change and upgrading

2005-11-30 Thread Giorgos Keramidas
Aaron Sloan <[EMAIL PROTECTED]> writes:
> I am having some problems after I rebuilt 5.4 from cvsup.
> After I mergemastered I have a "make" problem.
>
> This is the error I get when using make in /usr/src
>
> slick# make
> LC_ALL=C: Command not found.
> "Makefile", line 155: warning: "LC_ALL=C date" returned non-zero status
> MAKEFLAGS=: Command not found.
> "Makefile.inc1", line 116: warning: "MAKEFLAGS= CPUTYPE=pentium4 make
> -f /dev/null -m /usr/src/share/mk -V CPUTYPE" returned non-zero status
> "Makefile.inc1", line 118: CPUTYPE global should be set with ?=.
> *** Error code 1
>
> slick.adtu.org 5.4-STABLE FreeBSD 5.4-STABLE #0: Wed Nov 23 22:26:28 UTC
> 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386
>
> I have done reading on this but I'm not getting anywhere with positive
> results.
>
> Someone has some direction for me to search?

The problem doesn't seem to be date-related but an error message that is
included in what you pasted:

CPUTYPE global should be set with ?=.

Does your /etc/make.conf file set CPUTYPE unconditionally with something
like this:

CPUTYPE=pentium4

?

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


Re: pf blocking nfs

2005-11-30 Thread Aaron Martinez
On Wednesday 30 November 2005 11:02, Roland Smith wrote:
> On Tue, Nov 29, 2005 at 08:58:48PM -0600, Aaron P. Martinez wrote:
> > I am running FreeBSD 6.0-release and setting up a very basic firewall
> > using pf on my workstation.  The ruleset is as follows:
> >
> > block in log all
> > pass quick on lo0 all
> > #pass  in  on $ext_if proto tcp from any to $ext_if port 22 keep state
> > pass  out on fxp0 proto { tcp, udp, icmp } all keep state
>
> 
>
> > I can't tell why this isn't working.  I know that udp is stateless, but i
> > was inclined to believe that you could still use state tracking with pf.
> > I'd really like to have the firewall in place when this machine is
> > connected to the internet...
>
> Reading the pf manuals, it is supposed to work.
>
> Have you tried explicitly letting the required traffic through?
>
> pass out on fxp0 proto { tcp, udp } to $nfsserver port { sunrpc,
> nfsd-status, nfsd, lockd } keep state
>
> Where $nfsserver is the server's IP address.
>
> If that still doesn't work, try:
>
> pass out on fxp0 proto { tcp, udp } from  any to $nfsserver port { sunrpc,
> nfsd-status, nfsd, lockd } pass in on fxp0 proto { tcp, udp } from
> $nfsserver to any port { sunrpc, nfsd-status, nfsd, lockd }
>
>
> Roland

I thought for sure the last example here would solve the issue, but i'm still 
stumped.  My current ruleset is as follows:

block in log all
pass quick on lo0 all
#pass  in  on $ext_if proto tcp from any to $ext_if port 22 keep state
pass  out on fxp0 proto { tcp, udp, icmp } all keep state
pass  out on fxp0 proto { tcp, udp } to 192.168.3.94 port { sunrpc, nfsd, 
nfsd-status, lockd } keep state
pass  in on fxp0 proto { tcp, udp } from 192.168.3.94 port { sunrpc, nfsd, 
nfsd-status, lockd } keep state

That didn't work so i tried:

block in log all
pass quick on lo0 all
#pass  in  on $ext_if proto tcp from any to $ext_if port 22 keep state
pass  out on fxp0 proto { tcp, udp, icmp } all keep state
pass  out on fxp0 proto { tcp, udp } to 192.168.3.94 port { sunrpc, nfsd, 
nfsd-status, lockd }
pass  in on fxp0 proto { tcp, udp } from 192.168.3.94 port { sunrpc, nfsd, 
nfsd-status, lockd }

which was even worse, with this setup i couldn't even switch to the /home 
directory.

Still no go.  I'm not sure if i have to reboot after changing the pf.conf 
ruleset, i have just been stopping pf with pfctl -d, flushing the rules with 
pfctl -F rules, loading the modified rules from /etc/pf.con with, pfctl 
-f /etc/pf.conf and then re-enabling pf with, pfctl -e.  Hope someone can 
shed some light on this.  Part of my whole reason for switcing to the BSDs 
was my interest in pf, but this not keeping state is really letting me down.

I've said this before but i feel like it's worth mentioning again, even with 
the single line:
pass  out on fxp0 proto { tcp, udp, icmp } all keep state

i can switch to the /usr/home directory and even go into any directory that 
doesn't have a lot of files/folders in it.  I only seem to have problem with 
one home directory that is really loaded up.

Thanks again,

Aaron martinez

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


driver for Realtek 8201CL and SATA

2005-11-30 Thread Wojciech Puchar

i've just got new machine, everything is detected except the network.

it's Athlon 64 machine with ULi M1689 and Realtek 8201CL 10/100Mbps LAN, 
which is listed without name and as "no driver attached".


is it no driver at all, none compiled in kernel, or only in -current?

or i have to plug PCI network adapter ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


reporter at computerworld

2005-11-30 Thread Patrick_Thibodeau
Hi -- is there anyone in the FreeBSD community who can help me with some 
questions about corporate adoption of FreeBSD and improvements to system 
stemming from OpenSolaris .. either tonight or tomorrow?
Regards, 


Patrick Thibodeau
Senior Editor
Computerworld
Washington DC
o: 202 333 2448
c: 202 361 2011

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


Re: pf blocking nfs

2005-11-30 Thread Roland Smith
On Wed, Nov 30, 2005 at 05:42:30PM -0600, Aaron Martinez wrote:
> On Wednesday 30 November 2005 11:02, Roland Smith wrote:
> > On Tue, Nov 29, 2005 at 08:58:48PM -0600, Aaron P. Martinez wrote:
> > > I am running FreeBSD 6.0-release and setting up a very basic firewall
> > > using pf on my workstation.  The ruleset is as follows:
> > >
> > > block in log all
> > > pass quick on lo0 all
> > > #pass  in  on $ext_if proto tcp from any to $ext_if port 22 keep state
> > > pass  out on fxp0 proto { tcp, udp, icmp } all keep state
> >
> > 
> >
> > > I can't tell why this isn't working.  I know that udp is stateless, but i
> > > was inclined to believe that you could still use state tracking with pf.
> > > I'd really like to have the firewall in place when this machine is
> > > connected to the internet...
> >
> > Reading the pf manuals, it is supposed to work.
> >
> > Have you tried explicitly letting the required traffic through?
> >
> > pass out on fxp0 proto { tcp, udp } to $nfsserver port { sunrpc,
> > nfsd-status, nfsd, lockd } keep state
> >
> > Where $nfsserver is the server's IP address.
> >
> > If that still doesn't work, try:
> >
> > pass out on fxp0 proto { tcp, udp } from  any to $nfsserver port { sunrpc,
> > nfsd-status, nfsd, lockd } pass in on fxp0 proto { tcp, udp } from
> > $nfsserver to any port { sunrpc, nfsd-status, nfsd, lockd }
> >
> >
> > Roland
> 
> I thought for sure the last example here would solve the issue, but i'm still 
> stumped.  My current ruleset is as follows:
> 
> block in log all
> pass quick on lo0 all
> #pass  in  on $ext_if proto tcp from any to $ext_if port 22 keep state
> pass  out on fxp0 proto { tcp, udp, icmp } all keep state
> pass  out on fxp0 proto { tcp, udp } to 192.168.3.94 port { sunrpc, nfsd, 
> nfsd-status, lockd } keep state
> pass  in on fxp0 proto { tcp, udp } from 192.168.3.94 port { sunrpc, nfsd, 
> nfsd-status, lockd } keep state
> 
> That didn't work so i tried:
> 
> block in log all
> pass quick on lo0 all
> #pass  in  on $ext_if proto tcp from any to $ext_if port 22 keep state
> pass  out on fxp0 proto { tcp, udp, icmp } all keep state
> pass  out on fxp0 proto { tcp, udp } to 192.168.3.94 port { sunrpc, nfsd, 
> nfsd-status, lockd }
> pass  in on fxp0 proto { tcp, udp } from 192.168.3.94 port { sunrpc, nfsd, 
> nfsd-status, lockd }

I think this should be

pass  in on fxp0 proto { tcp, udp } from 192.168.3.94 to any port { sunrpc, 
nfsd, nfsd-status, lockd }
 
You could also try:

pass in on fxp0 proto { tcp, udp } from 192.168.3.94 to $workstation
pass out on fxp0 proto { tcp, udp } from $workstation to 192.168.3.94

If that doesn't work, I don't know what will.

> which was even worse, with this setup i couldn't even switch to the /home 
> directory.
> 
> Still no go.  I'm not sure if i have to reboot after changing the pf.conf 
> ruleset, i have just been stopping pf with pfctl -d, flushing the rules with 
> pfctl -F rules, loading the modified rules from /etc/pf.con with, pfctl 
> -f /etc/pf.conf and then re-enabling pf with, pfctl -e.  Hope someone can 
> shed some light on this.  Part of my whole reason for switcing to the BSDs 
> was my interest in pf, but this not keeping state is really letting me down.

I think the best way is to use '/etc/rc.d/pf reload'.
 
> I've said this before but i feel like it's worth mentioning again, even with 
> the single line:
> pass  out on fxp0 proto { tcp, udp, icmp } all keep state
> 
> i can switch to the /usr/home directory and even go into any directory that 
> doesn't have a lot of files/folders in it.  I only seem to have problem with 
> one home directory that is really loaded up.

In your original post, there was something about a short packet. I'm
guessing this might screw things up. You might try adding 'scrub in all'
before the filtering rules.

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


pgpJqFztPKXSJ.pgp
Description: PGP signature


how to enable NCQ?

2005-11-30 Thread Wojciech Puchar

my drive does have this, i selected it while buying.

at least it's supposed to have? is something that must be done to enable 
NCQ, or this is not NCQ-capable drive? (i was cheated)


Protocol  Serial ATA v1.0
Serial ATA II
device model  WDC WD1600JS-60MHB1
serial number WD-WCANM1342924
firmware revision 10.02E02
cylinders 16383
heads 16
sectors/track 63
lba supported 268435455 sectors
lba48 supported   312581808 sectors
dma supported
overlap not supported

Feature  Support  EnableValue   Vendor
write cacheyes  yes
read ahead yes  yes
Native Command Queuing (NCQ)   no-  0/0x00
Tagged Command Queuing (TCQ)   no   no  0/0x00
SMART  yes  yes
microcode download yes  yes
security   no   no
power management   yes  yes
advanced power management  no   no  0/0x00
automatic acoustic management  no   no  0/0x00  0/0x00
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Fax App Recommendations

2005-11-30 Thread Robert H. Perry

Daniel wrote:

On 11/30/05, Robert H. Perry <[EMAIL PROTECTED]> wrote:


Robert H. Perry wrote:


Robert H. Perry wrote:



Currently running FreeBSD RELEASE 5.4 and a MultiTech Voice/Data/Fax
modem for dialup internet service on a server-type machine.  I also
run another machine with 3 operating systems (FreeBSD 5.4, Suse 9.2,
and Windows XP).

My original objective was to install Hylafax on the server and share
it with the other 3 systems.

I ran into a couple of errors early on and seeked some help from the
mailing list.  Got one response suggesting I reinstall the app from
source.



I was preparing to respond to a reply when Thunderbird sent the original
to never-never-land.  Sorry.  Here's the problem I encountered.

I was running the sendfax command to test my installation and received
an unexpected error message.  I used the command taken from the
sendfax man page as follows:

"sendfax -n -d (destination fax#) /etc/passwd
"sendfax: no files to send
"usage:..."

I reran it using the -x  option and the message indicated:



What version of hylafax was installed?

hylafax-4.2.1_3


Make sure you install gawk.

gawk-3.1.1_1 installed


The native awk binary in FBSD is nawk (not gawk) which caused me some
greif with hylafax scripts.

So, update ports. Remove hylafax. Install gawk. Reinstall hylafax.
Hope you noticed the second note sent last night.  This one was sent 
unfinished.  Also note that I have mgetty-1.1.33 installed.


Bob


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


Re: pf blocking nfs

2005-11-30 Thread J65nko BSD
[snip]
> In your original post, there was something about a short packet. I'm
> guessing this might screw things up. You might try adding 'scrub in all'
> before the filtering rules.
>
[smip]

Be careful with scrub and NFS. From http://openbsd.bay13.net/faq/pf/scrub.html

"One reason not to scrub on an interface is if one is passing NFS
through PF. Some non-OpenBSD platforms send (and expect) strange
packets -- fragmented packets with the "do not fragment" bit set,
which are (properly) rejected by scrub."
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Update: Setting up VLAN interfaces with Cisco gear... getting traffic on broadcast only...

2005-11-30 Thread Mike Tancsa
On Wed, 30 Nov 2005 15:44:18 -0500, in sentex.lists.freebsd.questions
you wrote:

>I hate to add to my own issue.
>
>I did some more playing and VLANs != 1 seem to work ok (typically in the 
>100-150 range). However, operating on VLAN 1 still seems to be an issue.
>
>   -B
>
> > All,
> > I've got three Catalyst 6500s configured in a switching domain via
> > fiber, with one "hub" 6500 connecting two remotes. Their port 
> > configurations are basically (the actual port number varies based on the
> > device).
> > 
> > interface Gigabit Ethernet 9/2
> > no ip address
> > switchport
> > switchport trunk encapsulation dot1q
> > switchport mode trunk

If the nic is in 9/2 as shown above

> > 
> > ifconfig bge0 up media 1000baseTX mediaopt full-duplex
> > ifconfig vlan0 create vlan 1 vlandev bge0
> > ifconfig vlan0 10.86.154.221 netmask 255.255.255.240

leave bge0 media autoneg no ?

Also just assign 10.86.154.221/28 to bge0, not vlan0 as I am guessing
thats your native VLAN no ?  

One other thing I have found is that make the interface name
consistent with the dot1q tag. It makes for less confusion when
looking at interfaces.

e.g. for vlan 532
ifconfig vlan532 create
ifconfig vlan532 172.16.2.2/24 vlan 532 vlandev bge0

> > 
> > Any suggestions to try before I bang my head against the wall?


What does 
ifconfig bge0
show ?

also, for debugging,
tcpdump -ei bge0
can help as it will show you encaps info.

---Mike

Mike Tancsa, Sentex communications http://www.sentex.net
Providing Internet Access since 1994
[EMAIL PROTECTED], (http://www.tancsa.com)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Help deriving a corrupted disklabel

2005-11-30 Thread Doug H
One of my disks has 3 active partitions: FreeBSD 5.4-RC3, NTFS
(not-bootable), and FreeBSD 6.0-RELEASE.

I developed problems while installing FreeBSD 6.0.  Installation went as
well as can be expected using sysinstall (no difficulty other than pulling
packages from the CD), but when I rebooted, nothing was bootable on that
disk.  I verified that the boot record (using boot0) seems okay: slice table
is fine (40G, 80G, 40G, and 40G unused on 200G drive).

Using bsdlabel, I confirmed that slice 3 (FreeBSD 6) is fine, but for some
reason I'm not concerned with now, is unbootable.

PROBLEM: bsdlabel showed me that slice 1 (FreeBSD 5.4) is damaged and only
partition c existed and was incorrect.  I do not have / cannot find a
written copy of my disklabel for that disk (a good suggestion to *strongly
emphasize* in the installation manual for newbies!).  I did recall that
ad1s1a ('/') was 512M, so I was able to write a label and mount that
partition from a "Fixit" shell.

QUESTIONS: How can I rederive the remaining disklabel for that disk?  Could
a copy possibly be stored somewhere on root if I didn't do it myself when
building the system?

I have not tried to boot from that root partition.  Trying several possible
labels has resulted in "incorrect super block" errors for the partitions
after 'a'.  Random guessing will be very tedious.

My research has indicated that I could binary grep the raw ad1s1c partition
to locate the magic numbers for the super blocks and derive the partitions
from that information.  I even found a little 'c' language program Peter
Dufault posted 11 years ago on this list to locate magic numbers.

My hope is that in 11 years of development, FreeBSD would have created a
clever tool to aid this process!  I've found enough entries in these lists
to think that the effort would be justified and much appreciated.  If there
is no tool, can someone tell me the value of FS_UFS2_MAGIC?  I presume
that's what I should search for - it's a UFS2 filesystem.  Having only a
"Fixit" shell is somewhat limiting.

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


Re: Fax App Recommendations

2005-11-30 Thread Daniel
On 12/1/05, Robert H. Perry <[EMAIL PROTECTED]> wrote:
> Daniel wrote:
> > On 11/30/05, Robert H. Perry <[EMAIL PROTECTED]> wrote:
> >
> >>Robert H. Perry wrote:
> >>
> >>>Robert H. Perry wrote:
> >>>
> >>>
> Currently running FreeBSD RELEASE 5.4 and a MultiTech Voice/Data/Fax
> modem for dialup internet service on a server-type machine.  I also
> run another machine with 3 operating systems (FreeBSD 5.4, Suse 9.2,
> and Windows XP).
> 
> My original objective was to install Hylafax on the server and share
> it with the other 3 systems.
> 
> I ran into a couple of errors early on and seeked some help from the
> mailing list.  Got one response suggesting I reinstall the app from
> source.
> 
> >>
> >>I was preparing to respond to a reply when Thunderbird sent the original
> >>to never-never-land.  Sorry.  Here's the problem I encountered.
> >>
> >>I was running the sendfax command to test my installation and received
> >>an unexpected error message.  I used the command taken from the
> >>sendfax man page as follows:
> >>
> >>"sendfax -n -d (destination fax#) /etc/passwd
> >>"sendfax: no files to send
> >>"usage:..."
> >>
> >>I reran it using the -x  option and the message indicated:
> >
> >
> > What version of hylafax was installed?
> hylafax-4.2.1_3
> >
> > Make sure you install gawk.
> gawk-3.1.1_1 installed
> >
> > The native awk binary in FBSD is nawk (not gawk) which caused me some
> > greif with hylafax scripts.
> >
> > So, update ports. Remove hylafax. Install gawk. Reinstall hylafax.
> Hope you noticed the second note sent last night.  This one was sent
> unfinished.  Also note that I have mgetty-1.1.33 installed.

I don't have mgetty installed, but I do have hylafax 4.2.1_1
installed, gawk 3.1.1_1, and some mime ports (mime-support and
metamail) to allow for sending electronic faxes via e-mail to people
in our company.

I issued the exact same sendfax command:
# sendfax -n -d 5551212 /etc/passwd

Of course changing 5551212 for one of my faxes and it sent fine.

When I started this course of action in setting up hylafax I had no
idea about faxes either.
I basically followed the instructions on
http://www.hylafax.org/howto/install.html#ss2.2

I skipped section 2.2.3 because hylafax was installed. I didn't
install mgetty either.

I added the line:
cuaa0   "/usr/local/sbin/faxgetty"  dialup  on  secure
Into /etc/ttys under serial consoles (location probably don't matter)
and then ran:
init q
to rescan the /etc/ttys file.

You also want to copy /usr/local/etc/rc.d/hylafax.sh.sample to
/usr/local/etc/rc.d/hylafax.sh. This doesn't use rcng so you can just
run /usr/local/etc/rc.d/hylafax.sh start which will/should fire up the
hylafax daemon.

You don't need to worry about the cronjobs (they're there for cleaning
up and can be delt with later).

So at this point, make sure you do init q and run the rc.d/hylafax.sh
start or just reboot.

Provided that you completed 2.2.4 (adding modems and configuring setup
in general) without any dramas at all from the howto you should be
able to run the sendfax command.

Are you also certain your modem is operating correctly? You could run
the bash shell and then type echo atdt089231414141414 > /dev/cuaa0 and
the modem should dial whatever number after atdt and you should either
hear it through the modem speaker, see it with the lites on the modem
or the phone should ring (if you put your phone number or mobile
number in).

You should also try using the basic default settings for adding new modems.

If you havn't removed hylafax and reinstalled (making sure that the
deinstall deleted everything) I'd do that now.

To make sure all files it creates are gone you could run:
pkg_info -L hylafax\* > hylafax-files

Then deinstall hylafax

Then: cat hylafax-files and see if any of the files listed still exist.

I hope this helps a bit more.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: _dhcp user problems

2005-11-30 Thread Anthony M. Agelastos


On Nov 29, 2005, at 8:46 AM, Lowell Gilbert wrote:


"Anthony M. Agelastos" <[EMAIL PROTECTED]> writes:


Hello and thank you for your reply. I tried the following and here is
where it got me:

ast# pwd_mkdb -u _dhcp /etc/master.passwd
ast# pwd_mkdb -u _dhcp /etc/passwd
pwd_mkdb: corrupted entry
pwd_mkdb: at line #3
pwd_mkdb: /etc/passwd: Inappropriate file type or format
ast# pwd_mkdb -u -p _dhcp /etc/passwd
usage: pwd_mkdb [-BCiLNp] [-d directory] [-s cachesize] [-u username]
file
ast# pwd_mkdb -p -u _dhcp /etc/passwd
pwd_mkdb: corrupted entry
pwd_mkdb: at line #3
pwd_mkdb: /etc/passwd: Inappropriate file type or format
ast# pw userdel _dhcp
pw: no such user `_dhcp'
ast# pw useradd _dhcp -u 65 -c "dhcp programs" -d /var/empty -s /usr/
sbin/nologin
pw: user '_dhcp' already exists

Should I be doing something else? How can I wipe the slate clean with
users, groups, and accounts? I tried going through sysinstall and
when I try to add _dhcp as a user, it gives me an error code (The
`pw' command exited with unexpected status 74) after it mentions that
the requested shell "/usr/sbin/nologin" is not a valid user shell.
Any help would be greatly appreciated.


Just the normal "pwd_mkdb /etc/master.passwd" and see if _dhcp is in
/etc/passwd afterwards.
That worked. Thank you. Out of curiosity, to make sure nothing else  
is non-optimal, what other user accounts were added from 5.4 to 6.0?  
I cannot recall, did not save anything from 5.4, and never saw  
anything related to this on any of the documentation on the website.  
I only knew to do this for DHCP because I strictly followed the  
Handbook in updating and diff'd the master.passwd files and figured  
things out for myself. Thank you so much.

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


Re: how to enable NCQ?

2005-11-30 Thread Glenn Dawson

At 05:32 PM 11/30/2005, Wojciech Puchar wrote:

my drive does have this, i selected it while buying.

at least it's supposed to have? is something that must be done to 
enable NCQ, or this is not NCQ-capable drive? (i was cheated)


According to the western digital web site, the model you have does 
not support NCQ.


-Glenn



Protocol  Serial ATA v1.0
Serial ATA II
device model  WDC WD1600JS-60MHB1
serial number WD-WCANM1342924
firmware revision 10.02E02
cylinders 16383
heads 16
sectors/track 63
lba supported 268435455 sectors
lba48 supported   312581808 sectors
dma supported
overlap not supported

Feature  Support  EnableValue   Vendor
write cacheyes  yes
read ahead yes  yes
Native Command Queuing (NCQ)   no   -   0/0x00
Tagged Command Queuing (TCQ)   no   no  0/0x00
SMART  yes  yes
microcode download yes  yes
security   no   no
power management   yes  yes
advanced power management  no   no  0/0x00
automatic acoustic management  no   no  0/0x00  0/0x00
___
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]"


  1   2   >