Re: Tripwire Policy File and 5.4

2005-08-10 Thread Joel Hatton
Hi,

> I'm not so convinced of that - after a cvsup of ports overnight, this
> remains:
> 
> # ll /usr/ports/security/tripwire/files/twpol.txt 
> -rw-r--r--  1 root  wheel  20651 Mar  5  2002 /usr/ports/security/tripwire/fi
> les/twpol.txt

Well, just to prove me wrong I updated ports again and:

# ll /usr/ports/security/tripwire/files/twpol.txt
-rw-r--r--  1 root  wheel  20891 Aug 10 17:46 
/usr/ports/security/tripwire/files/twpol.txt

I've updated, but unfortunately my two main complaints - that of not being
about to package it, and no interactive updates - remain.

cheers,
-- Joel Hatton --
Security Analyst| Hotline: +61 7 3365 4417
AusCERT - Australia's national CERT | Fax: +61 7 3365 7031
The University of Queensland| WWW: www.auscert.org.au
Qld 4072 Australia  | Email:   [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: Power Off with ATX board wont work...

2005-08-10 Thread Ted Mittelstaedt
I have several boxes with the same problem

you can try to see if there's a bios update, or try to play
around with bios settings, but some motherboards just
aren't compatible with this feature.

Ted

>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] Behalf Of
>Christian Tischler
>Sent: Wednesday, August 10, 2005 10:31 PM
>To: freebsd-questions@freebsd.org
>Subject: Power Off with ATX board wont work...
>
>
>Hi,
>my FreeBSD 4.9 box (old, but rock solid, and as there are no security
>concerns I do not intend to update it) has to be shut down every night
>to reduce energy costs. But after shutdown is complete I get the "hit
>any button to reboot" or so screen, but the atx power supply does not
>turn off. This is rather anoying. I have compiled in all the relevant
>stuff into the kernel but somehow I have missed something and google was
>not very helpfull, too.
>
>My question would be what I could have missed, and if this could be a
>hardeware problem? It is an old 1.xGhz amd box, so nothing fancy here.
>
>thanks in advance
>
>Christian Tischler
>___
>freebsd-questions@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to
>"[EMAIL PROTECTED]"
>
>--
>No virus found in this incoming message.
>Checked by AVG Anti-Virus.
>Version: 7.0.338 / Virus Database: 267.10.5/68 - Release Date: 8/10/2005
>
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.5/68 - Release Date: 8/10/2005

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


Re: ad10: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=11441599

2005-08-10 Thread Igor Robul

Joel Rees wrote:

I have two which reliably fail if you put TWO disks on them in a  
gmirror

config within minutes of starting a "make buildworld".



Pardon the interruption, but is this two drives on one channel?


Two drives can not be on one channel on SATA controller.
Also try "Sii3112 Windows trouble" on any search site  and you'll find 
many links to problem reports.
SII3112 IS NOT Server (even small-server) chipset. It does not work well 
with semi-heavy load.
Of course, you can install and use FreeBSD, Linux, Windows on it, just 
dont put load on it with 2 disks.

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


Power Off with ATX board wont work...

2005-08-10 Thread Christian Tischler
Hi,
my FreeBSD 4.9 box (old, but rock solid, and as there are no security
concerns I do not intend to update it) has to be shut down every night
to reduce energy costs. But after shutdown is complete I get the "hit
any button to reboot" or so screen, but the atx power supply does not
turn off. This is rather anoying. I have compiled in all the relevant
stuff into the kernel but somehow I have missed something and google was
not very helpfull, too.

My question would be what I could have missed, and if this could be a
hardeware problem? It is an old 1.xGhz amd box, so nothing fancy here.

thanks in advance

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


Re: fsck says "UNEXPECTED SOFT UPDATE INCONSISTENCY"

2005-08-10 Thread Chad Leigh -- Shire.Net LLC


On Aug 10, 2005, at 11:05 PM, Jerahmy Pocott wrote:


THE FOLLOWING DISK SECTORS COULD NOT BE READ: 66322510,



Sounds like a HW issue to me.
---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
[EMAIL PROTECTED]


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


fsck says "UNEXPECTED SOFT UPDATE INCONSISTENCY"

2005-08-10 Thread Jerahmy Pocott

Hello everyone,

After a server lost power unexpectedly (read: someone pulled the plug  
out), on reboot

the automatic fsck failed with "UNEXPECTED SOFT UPDATE INCONSISTENCY" as
the message. Running fsck interactively doesn't seem to be able to  
fix it..


Every time in phase one it says:

CANNOT READ: BLK 66322496
UNEXPECTED SOFT UPDATE INCONSISTENCY

CONTINUE? [yn]  

THE FOLLOWING DISK SECTORS COULD NOT BE READ: 66322510,

and the file system is marked as dirty still.. It isn't the root  
partition or anything,
so I can boot the system and mount it read only but I can't repair  
the damage..


Any ideas on what I could try to fix this?

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


RE: Anyone successfully running FreeBSD on a HP Proliant DL385?

2005-08-10 Thread Ted Mittelstaedt
Did you send them e-mail about that model?  They track all those
presales queries, it is what they use to determine new models to
add into testdrive.

The problem is there's more models of the DL385 and the DL360
than you can shake a stick at.  While someone here may be running a
DL385 it's a crapshoot if it is the same model of DL385 as you
want.

I doubt your going to get FreeBSD
to run on a SATA-equipped DL385.  But, the scsi controller in the
DL360 and the DL385 are supported by the same FreeBSD device driver.

The big thing is the FreeBSD driver for the RAID array doesen't
support any kind of notification if a drive fails.  You have to
depend on the blinky lights on the front of the server.

This, by the way, is what VARs are for.  Instead of trying to
save a miserable hundred bucks by buying the server off the
website, find a local Compaq/HP reseller and go through them,
and get them to guarentee FreeBSD will run on the thing to get
the sale.

Ted

>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] Behalf Of lars
>Sent: Wednesday, August 10, 2005 3:03 PM
>Cc: freebsd-questions@freebsd.org
>Subject: Re: Anyone successfully running FreeBSD on a HP Proliant DL385?
>
>
>Ted Mittelstaedt wrote:
>> See
>>
>> http://www.testdrive.hp.com/
>
>Unfortunately only these machines are setup for FreeBSD:
>
>Integrity rx1620   2 Itanium II, 1.6 GHz   spe150.testdrive.hp.com
>AlphaStation XP10001 EV67, 667 MHz spe149.testdrive.hp.com
>ProLiant DL360 G2  2 Pentium III, 1.4 GHz  spe152.testdrive.hp.com
>
>And I can't really test much on them.
>
>So I'm still interested what experience people have had on a
>Proliant DL385.
>
>Kind regards,
>Lars.
>
>___
>freebsd-questions@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to
>"[EMAIL PROTECTED]"
>
>--
>No virus found in this incoming message.
>Checked by AVG Anti-Virus.
>Version: 7.0.338 / Virus Database: 267.10.5/68 - Release Date: 8/10/2005
>
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.5/68 - Release Date: 8/10/2005

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


Re: cannot connect to Internet...http proxy?

2005-08-10 Thread perikillo
On 02 Aug 2005 09:35:31 -0400, Lowell Gilbert
<[EMAIL PROTECTED]> wrote:
> perikillo <[EMAIL PROTECTED]> writes:
> 
> >   In my work, we connect to the internet over one http proxy
> > (squid) running on fedora, with windows(98/2k/xp) we dont have any
> > problem to acces to the outside. I have my user and password, the
> > proxy have the IP: 192.168.1.2 Port 3128
> >
> >   I need to access to the internet to update my system because i
> > only download the mini-iso, and i need to update ports and kernel, i
> > need to install some packages, but went the /stand/sysinstall ask me
> > how i want to connect to the internet i chose HTTP Proxy, them he ask:
> >
> > Please enter the address of the http proxy in this format:
> > hostname: port (the ':port' is optional, default is 3128 )
> >
> >I give the IP of my proxy: 192.168.1.2, but he dont ask my user and
> > password, and say:
> >
> > "No Such directory: ftp://ftp4.freebsd.org/pub/FreeBSD
> > /snapshots/i386/5.3-RELEASE please check URL and try again"
> >
> >   We use one DHCP server with windows that give the IP, i receive the
> > IP, but still cannot connect my freebsd box to the internet, some docs
> > say that if we receive our IP address from some DHCP we dont need to
> > worry about the DNS. I dont have nothing on /etc/resolv.conf
> >
> >   Our subnet is W.X.2.Z  --> my IP is 192.168.2.22
> >
> >   I forget something?, i need to ask something more to the person is
> > in charge of the Internet access?
> >
> >   I really need to setup freebsd, because we need to test some
> > software before next friday. Hope you could help me, thanks.
> 
> Set the HTTP_PROXY environment variable.
> See "man 3 fetch".
> 

   Ok, i still have problems connecting my freebsd 5.3 to the outside,
i read man 3 fetch and have this examples:

 man 3 fetch
EXAMPLES
 To access a proxy server on proxy.example.com port 8080, set the
 HTTP_PROXY environment variable in a manner similar to this:

   HTTP_PROXY=http://proxy.example.com:8080

 If the proxy server requires authentication, there are two options avail-
 able for passing the authentication data.  The first method is by using
 the proxy URL:

   HTTP_PROXY=http://:@proxy.example.com:8080

 The second method is by using the HTTP_PROXY_AUTH environment variable:

   HTTP_PROXY=http://proxy.example.com:8080
   HTTP_PROXY_AUTH=basic:*::
*** end man 3 fetch*

  Them i add this to my /root/.cshrc

  setenv HTTP_PROXY http://myusername:[EMAIL PROTECTED]:3128
  setenv http_proxy http://myusername:[EMAIL PROTECTED]:3128

   Where 192.168.1.2 is my internal proxy(squid), that let goes out
side, that proxy is begin the firewall, all running on fedora on the
same box, is my setup correct or i didnt understand well?

I dont get it, it looks very easy, any tip there? 

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


Kernel Panic - where do I start from?

2005-08-10 Thread Norberto Meijome

Hi all,
I have a box that panics as soon as the kernel starts loading (right 
before the copyright info is displayed).


this happens on 4.10, 5.4 and 6.

Where do I start from to try to see what the problem is? Which is the 
first source file that I should be looking in?


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


Re: threading - good, bad, ugly?

2005-08-10 Thread Kris Kennaway
On Wed, Aug 10, 2005 at 10:12:36PM -0400, Aaron Peterson wrote:
> On 8/10/05, Kris Kennaway <[EMAIL PROTECTED]> wrote:
> > On Wed, Aug 10, 2005 at 09:22:10PM -0400, Aaron Peterson wrote:
> > > It used to be that lots of people told me threaded applications didn't
> > > run efficiently on FreeBSD because the native threading libraries were
> > > not very efficient.  I remember some work being done on them for the
> > > 5.x series though, and am wondering if this is still any issue to be
> > > concerned about at all?  MySQL performance was the thing people harped
> > > on the most IIRC...  Anyway, I was just curious about the status of
> > > this.  Perhaps there was never any issue and it was all talk.  I
> > > wouldn't know :-)
> > 
> > Most of this discussion is only applicable to 4.x and older and does
> > not consider the fundamentally different thread library in 5.x, which
> > was rewritten to avoid the problems of the older version.
> > 
> > Kris
> 
> Sounds like I shouldn't have any problems then since I'm all upgraded
> to 5.3 and 5.4 for the servers I manage.  Do you know of any
> performance comparisons for MySQL performance between FreeBSD 5.x and
> other operating systems one might run MySQL on?

Not off-hand, if any exist they would have been discussed on the
mailing lists, so you should search for them.

Kris



pgpLcdVH5j1RQ.pgp
Description: PGP signature


compiling other options into sshd

2005-08-10 Thread Joel Hatton
Hi,

I'd like to compile support for FreeBSD OPIE into sshd. Presently I have
to use PAM to achieve one-time password support. On a 4.x system I have
in /etc/ssh/sshd_config

ChallengeResponseAuthentication yes

and in /etc/pam.conf

sshdauthsufficient  pam_opie.so no_fake_prompts

Rather than do this on a 5.x system now, I'd prefer to just enable OPIE
in the sshd binary, but I'm not sure if this is possible with a commandline
option to make. I would like to rebuild it in the usual way:

# cd /usr/src/secure/usr.sbin/sshd
# make obj && make depend && make all install

but somehow define OPIE or, I think, include the configure option
--with-skey=PATH, or both.

Can this be achieved within the regular system build process, or must I
roll my own?

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


Re: threading - good, bad, ugly?

2005-08-10 Thread Aaron Peterson
On 8/10/05, Kris Kennaway <[EMAIL PROTECTED]> wrote:
> On Wed, Aug 10, 2005 at 09:22:10PM -0400, Aaron Peterson wrote:
> > It used to be that lots of people told me threaded applications didn't
> > run efficiently on FreeBSD because the native threading libraries were
> > not very efficient.  I remember some work being done on them for the
> > 5.x series though, and am wondering if this is still any issue to be
> > concerned about at all?  MySQL performance was the thing people harped
> > on the most IIRC...  Anyway, I was just curious about the status of
> > this.  Perhaps there was never any issue and it was all talk.  I
> > wouldn't know :-)
> 
> Most of this discussion is only applicable to 4.x and older and does
> not consider the fundamentally different thread library in 5.x, which
> was rewritten to avoid the problems of the older version.
> 
> Kris

Sounds like I shouldn't have any problems then since I'm all upgraded
to 5.3 and 5.4 for the servers I manage.  Do you know of any
performance comparisons for MySQL performance between FreeBSD 5.x and
other operating systems one might run MySQL on?

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


Re: threading - good, bad, ugly?

2005-08-10 Thread Kris Kennaway
On Wed, Aug 10, 2005 at 09:22:10PM -0400, Aaron Peterson wrote:
> It used to be that lots of people told me threaded applications didn't
> run efficiently on FreeBSD because the native threading libraries were
> not very efficient.  I remember some work being done on them for the
> 5.x series though, and am wondering if this is still any issue to be
> concerned about at all?  MySQL performance was the thing people harped
> on the most IIRC...  Anyway, I was just curious about the status of
> this.  Perhaps there was never any issue and it was all talk.  I
> wouldn't know :-)

Most of this discussion is only applicable to 4.x and older and does
not consider the fundamentally different thread library in 5.x, which
was rewritten to avoid the problems of the older version.

Kris

pgpoh2740bhyE.pgp
Description: PGP signature


threading - good, bad, ugly?

2005-08-10 Thread Aaron Peterson
It used to be that lots of people told me threaded applications didn't
run efficiently on FreeBSD because the native threading libraries were
not very efficient.  I remember some work being done on them for the
5.x series though, and am wondering if this is still any issue to be
concerned about at all?  MySQL performance was the thing people harped
on the most IIRC...  Anyway, I was just curious about the status of
this.  Perhaps there was never any issue and it was all talk.  I
wouldn't know :-)

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


Re: two dc cards on 5.4

2005-08-10 Thread Sean Murphy

Sean Murphy wrote:

dave wrote:


Hi,
Thanks for your reply. I'll give that a shot. My problem is the 
dc0 card

gets it's ip via dhcp, can i still use media and mediaopt with dhcp?
Thanks.
Dave.

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




try this in your rc.conf

ifconfig_dc0="DHCP"
ifconfig_dc0="100baseTX mediaopt full-duplex"

ifconfig_dc1="DHCP"
ifconfig_dc1="100baseTX mediaopt full-duplex"




*Correction*

ifconfig_dc0="DHCP"
ifconfig_dc0="media 100baseTX mediaopt full-duplex"

ifconfig_dc1="DHCP"
ifconfig_dc1="media 100baseTX mediaopt full-duplex"

--
Sean Murphy
Senior Network Technician
California Institute of the Arts
661-253-7732
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Your message to enum awaits moderator approval

2005-08-10 Thread enum-bounces
Your mail to 'enum' with the subject

Delivery reports about your e-mail

Is being held until the list moderator can review it for approval.

The reason it is being held:

Post by non-member to a members-only list

Either the message will get posted to the list, or you will receive
notification of the moderator's decision.  If you would like to cancel
this posting, please visit the following URL:


https://www1.ietf.org/mailman/confirm/enum/4ab9046738e1068f1ca077d51bf21dcc66040996

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


Re: two dc cards on 5.4

2005-08-10 Thread Sean Murphy

dave wrote:

Hi,
Thanks for your reply. I'll give that a shot. My problem is the dc0 card
gets it's ip via dhcp, can i still use media and mediaopt with dhcp?
Thanks.
Dave.

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



try this in your rc.conf

ifconfig_dc0="DHCP"
ifconfig_dc0="100baseTX mediaopt full-duplex"

ifconfig_dc1="DHCP"
ifconfig_dc1="100baseTX mediaopt full-duplex"


--
Sean Murphy
Senior Network Technician
California Institute of the Arts
661-253-7732
[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: two dc cards on 5.4

2005-08-10 Thread Dave+Seddon
google = "freebsd media rc.conf" -> 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/config-network-set 
up.html

Section shows:
ifconfig_dc0="inet 192.168.1.3 netmask 255.255.255.0"
ifconfig_dc1="inet 10.0.0.1 netmask 255.255.255.0 media 10baseT/UTP" 


So you want:
ifconfig_dc0="100baseTX mediaopt full-duplex"
ifconfig_dc1="100baseTX mediaopt full-duplex" 


Regards,
Dave Seddon 





dave writes: 


Hello,
I'm trying to get a pair of netgear cards to work on a 5.4-RELEASE-p6
box. My rc.conf looks as follows: 


ifconfig_dc0="DHCP"
ifconfig_dc1="inet 192.168.0.200 netmask 255.255.255.255" 


When i only have one dc card in the box dc0 everything works, the box gets a
dhcp ip. Put the second one in regardless whether or not the ifconfig dc1
line is uncommented and two things happen, first i get continuous watchdog
timeouts from dc0, second dc0 does not get an IP. As i said the second card
doesn't have to be configured, just in the box and it happens, i've checked
i/o and irq's neither conflict between the two cards. One thing, with a
single dc card the media is set to ethernet autoselect <100base-TX
full-duplex and it's listed as active. Put the second card in and dc0 shows
media ethernet autoselect but for media type i have none and status is
listed as no carrier, i believe this is the reason for the lack of a dhcp
ip, my question is i don't understand why. I've tried:
ifconfig_dc0_mediaopt="100base-TX, full-duplex"
but the system didn't like that. I'd like to tell fbsd specifically what
mode these cards are to be probed to in, but nothing seems to work, and this
only occurs when the second card is in the box. I've tried three separate
cards, all give the same behavior.
Some urgency! Any help greatly appreciated.
Dave. 


___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
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]"


Building ndis into kernel

2005-08-10 Thread Beecher Rintoul
I have successfully gotten ndis to work with my D-Link DWL-AG530 wireless card.
When I kldload A3AB_sys.ko it loads 3 modules. That one, ndis.ko and if_ndis.ko.
My question is how to build those into my kernel. I added device ndis
to my conf, but it doesn't start everything. Can someone point me in
the right direction?

The machine is running -current from Aug. 1.

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


Re: two dc cards on 5.4

2005-08-10 Thread dave
Hi,
Thanks for your reply. I'll give that a shot. My problem is the dc0 card
gets it's ip via dhcp, can i still use media and mediaopt with dhcp?
Thanks.
Dave.

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


Re: mDNS inside of a jail or not

2005-08-10 Thread Chad Leigh -- Shire.Net LLC


On Aug 10, 2005, at 3:48 PM, Chad Leigh -- Shire.Net LLC wrote:


On an i386 machine with 5.4-R p1 and p6

I want to run some mDNS services inside a jail.  I am using testing  
programs from Apple from 


ok, I noticed that there is a port of this so I installed the port  
inside and outside of the jail





Inside the jail the various apps that build when you build the  
Apple project run but they don't seem to talk to each other.


I run them outside of the jail and they die with "unknown  
error" (actually with code -65537 but that is unknown_error  
according to the source).


inside the jail the client  app seems to broadcast but it does not  
seem to get an answer.  Inside the jail responder seems to do its  
thing.  The net monitor does not do anything


outside the jail the apps seem to run ok and the netmonitor seems to  
be ok




Has anyone gotten any mDNS type services running on FreeBSD inside  
or outside of a jail?




question still holds for inside a jail

Chad


Thanks
Chad

---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
[EMAIL PROTECTED]


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




---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
[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: two dc cards on 5.4

2005-08-10 Thread Sean Murphy

dave wrote:

Hello,
I'm trying to get a pair of netgear cards to work on a 5.4-RELEASE-p6
box. My rc.conf looks as follows:

ifconfig_dc0="DHCP"
ifconfig_dc1="inet 192.168.0.200 netmask 255.255.255.255"

When i only have one dc card in the box dc0 everything works, the box gets a
dhcp ip. Put the second one in regardless whether or not the ifconfig dc1
line is uncommented and two things happen, first i get continuous watchdog
timeouts from dc0, second dc0 does not get an IP. As i said the second card
doesn't have to be configured, just in the box and it happens, i've checked
i/o and irq's neither conflict between the two cards. One thing, with a
single dc card the media is set to ethernet autoselect <100base-TX
full-duplex and it's listed as active. Put the second card in and dc0 shows
media ethernet autoselect but for media type i have none and status is
listed as no carrier, i believe this is the reason for the lack of a dhcp
ip, my question is i don't understand why. I've tried:
ifconfig_dc0_mediaopt="100base-TX, full-duplex"
but the system didn't like that. I'd like to tell fbsd specifically what
mode these cards are to be probed to in, but nothing seems to work, and this
only occurs when the second card is in the box. I've tried three separate
cards, all give the same behavior.
Some urgency! Any help greatly appreciated.
Dave.

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


try a static address and fixed 100/full
put this in your rc.conf and reboot

*note* this is one line replace with an ip that works for your network

ifconfig_dc0="inet x.x.x.x  netmask 255.255.255.0 media 100baseTX 
mediaopt full-duplex"


*note* this is one line replace with an ip that works for your network

ifconfig_dc1="inet x.x.x.x  netmask 255.255.255.0 media 100baseTX 
mediaopt full-duplex"



--
Sean Murphy
Senior Network Technician
California Institute of the Arts
661-253-7732
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


two dc cards on 5.4

2005-08-10 Thread dave
Hello,
I'm trying to get a pair of netgear cards to work on a 5.4-RELEASE-p6
box. My rc.conf looks as follows:

ifconfig_dc0="DHCP"
ifconfig_dc1="inet 192.168.0.200 netmask 255.255.255.255"

When i only have one dc card in the box dc0 everything works, the box gets a
dhcp ip. Put the second one in regardless whether or not the ifconfig dc1
line is uncommented and two things happen, first i get continuous watchdog
timeouts from dc0, second dc0 does not get an IP. As i said the second card
doesn't have to be configured, just in the box and it happens, i've checked
i/o and irq's neither conflict between the two cards. One thing, with a
single dc card the media is set to ethernet autoselect <100base-TX
full-duplex and it's listed as active. Put the second card in and dc0 shows
media ethernet autoselect but for media type i have none and status is
listed as no carrier, i believe this is the reason for the lack of a dhcp
ip, my question is i don't understand why. I've tried:
ifconfig_dc0_mediaopt="100base-TX, full-duplex"
but the system didn't like that. I'd like to tell fbsd specifically what
mode these cards are to be probed to in, but nothing seems to work, and this
only occurs when the second card is in the box. I've tried three separate
cards, all give the same behavior.
Some urgency! Any help greatly appreciated.
Dave.

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


Re: Panic

2005-08-10 Thread Kris Kennaway
On Wed, Aug 10, 2005 at 05:12:57AM -0700, Michael Louie Loria wrote:
> What's this message that I'm receiving
> 
> panic: lockmgr: locking against myself
> Uptime: 1m31s
> Cannot dump: No dump device defined
> Automatic reboot in 15 seconds
> ~ - press a key on the consol to abort
> 
> 
> I was just installing KDE when this message appeared. And everytime
> I boot into FreeBSD 5.4 using root account, I received that message.

1) No need to tell us 3 times, we heard you the first time.

2) Follow the directions in the developers' handbook chapter on kernel
debugging for how to configure and obtain necessary debugging
information.

Kris


pgpAjcbpPrtGS.pgp
Description: PGP signature


Re: RealTek ALC650

2005-08-10 Thread albi
On Wed, Aug 10, 2005 at 03:41:08PM -0700, stephen honea wrote:

> Trying to install an unsuported sound card.
> Motherboard Abit ic7 max3
> Audiocard Realtek alc650
-- cut --
> driver unxiped path
> /usr/home/stephen/sound/alsa-driver-1.0.9rc4a/
-- cut --
> I am not sure what to do now  Id like to have sound
> but have no clue how to install the driver.. any
> sugestions would be greatly appreciated.

afaik ALSA is/was not ported to FreeBSD, so you better :
- get yourself another (supported) soundcard
- or find someone to write you a FreeBSD-driver for this card

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


Re: RealTek ALC650

2005-08-10 Thread Dan Nelson
In the last episode (Aug 10), stephen honea said:
> Trying to install an unsuported sound card.
> Motherboard Abit ic7 max3
> Audiocard Realtek alc650
> Driver
> http://www.realtek.com.tw/downloads/dlac97-2.aspx?lineid=5&famid=12&series=8&Software=True

That's a linux driver; it won't work on FreeBSD.  I thought all AC97
cards were supported by one driver, but maybe not.  There is ac97 code
in FreeBSD; you may be able to get it to work by adding your card's PCI
ID into the right driver's table.  I don't know which table that would
be though.

-- 
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]"


RealTek ALC650

2005-08-10 Thread stephen honea
Trying to install an unsuported sound card.
Motherboard Abit ic7 max3
Audiocard Realtek alc650
Driver
http://www.realtek.com.tw/downloads/dlac97-2.aspx?lineid=5&famid=12&series=8&Software=True

kernel config path
/usr/src/sys/i386/configure/max-kern

driver unxiped path
/usr/home/stephen/sound/alsa-driver-1.0.9rc4a/

./configure returns:
nox# ./configure
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler...
yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none
needed
checking for ranlib... ranlib
checking for a BSD-compatible install...
/usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether time.h and sys/time.h may both be
included... yes
checking whether gcc needs -traditional... no
checking for current directory...
/usr/home/stephen/sound/alsa-driver-1.0.9rc4a
checking cross compile...
checking for directory with kernel source...
/usr/src/linux
checking for directory with kernel build...
checking for kernel version... The file
/usr/src/linux/include/linux/version.h does not exist.
Please, install the package with full kernel sources
for your distribution
or use --with-kernel=dir option to specify another
directory with kernel
sources (default is /usr/src/linux).
nox#

i replaced /usr/src/linux with:
/usr/src/sys/i386/
/usr/src/sys/i386/configure/
/usr/src/sys/i386/configure/nox-kern/

i even used ./configure --with-kernel="the above
paths"
it seems to be looking for version.h (a linux file)
but i can't seem to find souch a file

I am not sure what to do now  Id like to have sound
but have no clue how to install the driver.. any
sugestions would be greatly appreciated.

I have googled and searched the archives using key
words, and geting tired of reading NIC threads :)
Thanks in advance.




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]"


Problem w/ PAM…

2005-08-10 Thread Sean P. Malone



…and the problem is evidently me!

Okay.  I was messing around with pam_radius in and attempt to 
authenticate POP requests off of our existing Active Directory. 
Although I was able to get SSH to authenticate off of AD, I never could 
get POP.  Today I finally realized that our checkpasswd program can ONLY 
valid off of the local user DB – we use qmail.  That made sense so I 
decided to ditch pam_radius.


In my eagerness to get rid of it and move on, I believe that I’ve delete 
a file(s) from /user/lib.  Namely, pam_radius.s0 and pam_radius.s02 
(from memory).  If it is true that the absence of these original files 
is causing my problem, I really need to somehow restore PAM.  It seems 
that I have a “fail open” situation here.  I can ssh to the host and get 
a shell without entering a password.  Luckily, one cannot ssh in as 
root, but one can first ssh in as them self (w/o being asked a password) 
and then su right into root – yes, w/o a password!


I’m novice enough to blame myself right off the bat for moving to fast. 
 Thus, I’ve pulled the system off the network and am hoping that I can 
somehow restore PAM w/o a reinstall.  The system is still non-production 
so, sigh, there is no backup. :(


Does anyone know if I can fix PAM?  FreeBSD v5.3

Thanks!

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


Re: xorg crashing with kde

2005-08-10 Thread Ian Moore
On Wednesday 10 August 2005 22:25, RW wrote:
> Since the kde update went into ports about a week ago, I've been having a
> problem with xorg crashing.
>
> The problem occurs when a kde session is left in the "background" by a
> switch to either another x-server or to a virtual terminal, and it's left
> there long enough for the monitor standby timer to expire. The crash
> actually happens on switching back to the kde session.
>
> According to the system console the crash follows a stray irq13, and the
> xorg log indicates it died with signal 8. I cant find any other relevent
> logging. I installed xscreensaver  to see if it could be reproduced under
> xfce, and it couldn't. I can work around the problem  by turning off
> display power management in kde.

This is a bit of a stab in the dark, but perhaps re-building your xorg-server 
port might fix it. When I update my xserver, I have to rebuild my nvidia 
driver or x will crash when any opengl app runs.
So in your case, it may be some part of X causeing the crash.
I'm running kde & haven't had that problem though.
-- 
Ian
gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


pgpSxw37AcQj4.pgp
Description: PGP signature


Re: Anyone successfully running FreeBSD on a HP Proliant DL385?

2005-08-10 Thread lars
Ted Mittelstaedt wrote:
> See
> 
> http://www.testdrive.hp.com/

Unfortunately only these machines are setup for FreeBSD:

Integrity rx16202 Itanium II, 1.6 GHz   spe150.testdrive.hp.com 
AlphaStation XP1000 1 EV67, 667 MHz spe149.testdrive.hp.com 
ProLiant DL360 G2   2 Pentium III, 1.4 GHz  spe152.testdrive.hp.com

And I can't really test much on them.

So I'm still interested what experience people have had on a Proliant DL385.

Kind regards,
Lars.

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


problems with uscanner and HP ScanJet 4300C

2005-08-10 Thread P.U.Kruppa

Hi,

I am trying to set up my HP ScanJet 4300C on FreeBSD 6.0-BETA2
as described in
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/scanners.html

When I attach the scanner to an USB port, dmesg shows this

---
uscanner1: vendor 0x03f0 product 0x0305, rev 1.00/0.00, addr 2
uscanner1: setting config no failed
device_attach: uscanner1 attach returned 6
uhub0: port 1, set config at addr 2 failed
uhub0: device problem (STALLED), disabling port 1
uscanner2: vendor 0x03f0 product 0x0305, rev 1.00/0.00, addr 2
uscanner2: setting config no failed
device_attach: uscanner2 attach returned 6
uhub0: port 1, set config at addr 2 failed
uhub0: device problem (STALLED), disabling port 1
-

Of course
  # sane-find-scanner
now won't find anything.

Can anybody help me with this?

Thanks,

Uli.


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


mDNS inside of a jail or not

2005-08-10 Thread Chad Leigh -- Shire.Net LLC

On an i386 machine with 5.4-R p1 and p6

I want to run some mDNS services inside a jail.  I am using testing  
programs from Apple from 


Inside the jail the various apps that build when you build the Apple  
project run but they don't seem to talk to each other.


I run them outside of the jail and they die with "unknown  
error" (actually with code -65537 but that is unknown_error according  
to the source).


Has anyone gotten any mDNS type services running on FreeBSD inside or  
outside of a jail?


Thanks
Chad

---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
[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: using Linux aaccli in a cron job

2005-08-10 Thread Chad Leigh -- Shire.Net LLC


On Aug 10, 2005, at 1:23 PM, Dan Nelson wrote:


In the last episode (Aug 10), Chad Leigh -- Shire.Net LLC said:


I have a 5.4-R system with an Adaptec 2200S.  I also have Linux
emulation running and the aac_linux kernel module installed and I can
run the aaccli program successfully in a terminal window and use it
to check status of the RAID controller.  However, if I do it from a
cron job (same script as I run in a terminal) I get no output.
aaccli uses terminal control commands and I suspect it is detecting
that it is not connected to a terminal and hence not running.
However, I so-far have not been able to get the Cron output to check
for errors due to the fact that the mail server rejects it for not
having a valid From/Sender and cron does not seem to set a From on
its mail or something.



Cron should always set From, To, and Subject:

fprintf(mail, "From: %s (Cron Daemon)\n", usernm);
fprintf(mail, "To: %s\n", mailto);
fprintf(mail, "Subject: Cron <[EMAIL PROTECTED]> %s\n",
usernm, first_word(hostname, "."),
e->cmd);


maybe ssmtp is doing something with it then since mail I send from  
inside my script (the script calls sendmail to email me -- not the  
cron output) works but the cron generated mail fails on the mail  
server with an unable to find a valid sender in any header (checks  
done on Sender, From:,  Reply-To)







Any ideas on how to get this aaccli program to run in a cron job?

Adaptec really took a step backwards when they went to this aaccli
from the earlier raidutils used with asr devices.  The output is
cryptic and a pita to work with.



It seems to work for me on a PowerEdge 2550 and a PERC 3/Di card.
Putting something like this in cron:

/usr/local/bin/aaccli open /readonly aac0 : enclosure show status :  
disk show smart : container list /full : diagnostic show text


That works better than what I was doing.  I have a "script" I feed to  
aaccli, which work in a terminal but not in cron.  Thanks!  The  
script idea (./aaccli < script) was recommended to me from an Adaptec  
person...


Thanks
Chad



gives me a whole lot of info back in the email.

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




---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
[EMAIL PROTECTED]


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


Sound Blaster SB0410 vs. 5.4

2005-08-10 Thread hal

Just bought a Creative Labs Sound Blaster SB0410 sound card.

It uses the EMU10K1 chipset.

The hardware notes imply that this card will work with FreeBSD 5.4.

I am using the card in a SuperMicro X5DP8-G2 motherboard PCI-X slot.

Here is what I have tried.

From the snd_emu10k1(4) man page:

In the kernel configuration file:

devicesound
device"snd_emu10k1"

From the sound(4) man page:

In the /boot/device.hints file:

hint.pcm.0.at="isa"
hint.pcm.0.irq="5"
hint.pcm.0.drq="1"
hint.pcm.0.flags="0x0"

In the /boot/loader.conf file:

snd_emu10k1_load="YES"

I have tried all the above alone and in various combinations.

cat /dev/sndstat reports no installed devices.

Does anyone know how to make this thing work with FreeBSD 5.4?

hal

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


Re: sorry for the idiot question, but....

2005-08-10 Thread Gary Kline
On Wed, Aug 10, 2005 at 11:30:55PM +0300, Giorgos Keramidas wrote:
> On 2005-08-10 13:06, Gary Kline <[EMAIL PROTECTED]> wrote:
> >On Wed, Aug 10, 2005 at 03:04:43PM +0300, Giorgos Keramidas wrote:
> >> On 2005-08-10 09:07, Stijn Hoop <[EMAIL PROTECTED]> wrote:
> >> > There is a way to start gnome using the 'startx' method but I don't
> >> > know it.
> >>
> >> 1. Copy over /usr/X11R6/lib/X11/xinit/xinitrc to ~/.xinitrc and make
> >>sure it's executable by at least you, the owner of the file.
> >>
> >> 2. Replace the final commands (that spawn "a few useful programs") with:
> >>
> >>exec gnome-session
> >>
> >> 3. Done
> >
> > I should've read all responces evidently!  Giorgos, can I (dare I,
> > can/should I) put my miscellanous commands into .xinitrc, or are these
> > simply ignored by the parser?
> 
> The .xinitrc file is a shell script that is executed by startx.  All the
> commands you put in there will be run, but watch out for one thing: you
> are not allowed to start commands or programs that may "block" for any
> amount of time.  The commands of the .xinitrc shell script are executed
> by a /bin/sh instance in the order they appear, so if you use:
> 
>   xterm
>   fluxbox
> 
> then fluxbox will only start *after* xterm finishes.
> 
> The solution to this minor "problem" is to start everything but the last
> command in the background:
> 
>   xterm &
>   fluxbox
> 
> To emphasize one more important aspect (that after the last command
> exits, then the X session terminates too), I frequently prefix the last
> command with "exec", as in:
> 
>   xterm &
>   exec fluxbox
> 
> just as a tip to myself that when the last command exits X will exit too.
> 
> > Also: can I use .xsession instead of .xinitrc?  --I have several
> > non-Gnome apps placed at various X+Y locations...
> 
> The .xsession script is used by "login managers", like XDM, GDM or KDM
> instead of .xinitrc.  Only one of the two will run at any time.
> 

Outstanding.

thanks,

gary


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

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


nocona/prescott

2005-08-10 Thread Michael Conlen
I saw in bsd.cpu.mk that it converts CPUTYPE from prescott to nocona  
if you're on an AMD processor and a nocona to prescott if you're on  
an i386 processor. Isn't a nocona an Intel processor?


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


Re: sorry for the idiot question, but....

2005-08-10 Thread Giorgos Keramidas
On 2005-08-10 13:06, Gary Kline <[EMAIL PROTECTED]> wrote:
>On Wed, Aug 10, 2005 at 03:04:43PM +0300, Giorgos Keramidas wrote:
>> On 2005-08-10 09:07, Stijn Hoop <[EMAIL PROTECTED]> wrote:
>> > There is a way to start gnome using the 'startx' method but I don't
>> > know it.
>>
>> 1. Copy over /usr/X11R6/lib/X11/xinit/xinitrc to ~/.xinitrc and make
>>sure it's executable by at least you, the owner of the file.
>>
>> 2. Replace the final commands (that spawn "a few useful programs") with:
>>
>>  exec gnome-session
>>
>> 3. Done
>
> I should've read all responces evidently!  Giorgos, can I (dare I,
> can/should I) put my miscellanous commands into .xinitrc, or are these
> simply ignored by the parser?

The .xinitrc file is a shell script that is executed by startx.  All the
commands you put in there will be run, but watch out for one thing: you
are not allowed to start commands or programs that may "block" for any
amount of time.  The commands of the .xinitrc shell script are executed
by a /bin/sh instance in the order they appear, so if you use:

xterm
fluxbox

then fluxbox will only start *after* xterm finishes.

The solution to this minor "problem" is to start everything but the last
command in the background:

xterm &
fluxbox

To emphasize one more important aspect (that after the last command
exits, then the X session terminates too), I frequently prefix the last
command with "exec", as in:

xterm &
exec fluxbox

just as a tip to myself that when the last command exits X will exit too.

> Also: can I use .xsession instead of .xinitrc?  --I have several
> non-Gnome apps placed at various X+Y locations...

The .xsession script is used by "login managers", like XDM, GDM or KDM
instead of .xinitrc.  Only one of the two will run at any time.

- Giorgos

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


Re: Can't install php5-apache20 combination

2005-08-10 Thread Beecher Rintoul
On Wednesday 10 August 2005 12:09 pm, bob self wrote:
> I have a new installation of 5.4-RELEASE and am trying to get apache2
> with php5 support installed.
> No luck so far. In what order should I do this? I've tried this:
>
> *portupgrade -vN php5*
> These are the options that I selected
>
> APACHE2(yes. I changed this from 'no')
> DEBUG(no)
> MULTIBYTE(no)
> IPV6(yes. It was the default)
>
> *portupgrade -vN php5-extensions*
> I selected the following additional options (I've used gd, imagick,
> etc in the past with php, so I'll be wanting these.
> Does it hurt to just select all options in case you might need them
> later?)
>
> BZ2
> CALENDAR
> CURL
> GD
> IMAGICK
> MYSQL
> NCURSES
> PDF
> READLINE
> ZIP
> ZLIB
>
>
> That seemed go ok, but my phpinfo() does not show anything about mysql,
> which is the main php support that I'm trying to get.
> Then I tried this:
>
> *portupgrade -vN apache20*
>
> But I get an error message "No such installed package or port:
> apache20", which exists in /usr/ports/www/apache20.
>
>
> I uninstalled php5 to start over.
>
> So, how can I install apache2 with php5 and the necessary extensions? Is
> there a way just install apache20 and make the
> installation install whatever you need, including php5 in the right order?
>
> thanks,
> Bob
>
>
Since you have apache installed, install /usr/ports/www/mod_php5

That will do what you want.

Beech
---
Beech Rintoul - System Administrator - [EMAIL PROTECTED]
/"\   ASCII Ribbon Campaign  | NorthWind Communications
\ / - NO HTML/RTF in e-mail  | 201 East 9th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \ 
---











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


Can't install php5-apache20 combination

2005-08-10 Thread bob self
I have a new installation of 5.4-RELEASE and am trying to get apache2 
with php5 support installed.

No luck so far. In what order should I do this? I've tried this:

*portupgrade -vN php5*
   These are the options that I selected

   APACHE2(yes. I changed this from 'no')
   DEBUG(no)
   MULTIBYTE(no)
   IPV6(yes. It was the default)

*portupgrade -vN php5-extensions*
   I selected the following additional options (I've used gd, imagick, 
etc in the past with php, so I'll be wanting these.
   Does it hurt to just select all options in case you might need them 
later?)


   BZ2
   CALENDAR
   CURL
   GD
   IMAGICK
   MYSQL
   NCURSES
   PDF
   READLINE
   ZIP
   ZLIB


That seemed go ok, but my phpinfo() does not show anything about mysql, 
which is the main php support that I'm trying to get.

Then I tried this:

*portupgrade -vN apache20*

But I get an error message "No such installed package or port: 
apache20", which exists in /usr/ports/www/apache20.



I uninstalled php5 to start over.

So, how can I install apache2 with php5 and the necessary extensions? Is 
there a way just install apache20 and make the

installation install whatever you need, including php5 in the right order?

thanks,
Bob



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


Re: sorry for the idiot question, but....

2005-08-10 Thread Gary Kline
On Wed, Aug 10, 2005 at 09:07:20AM +0200, Stijn Hoop wrote:
> On Tue, Aug 09, 2005 at 11:29:20PM -0700, Gary Kline wrote:
> > Folks, 
> > 
> > *Which* ports do I need to install to get Gnome and KDE
> > working?  On my laptop (w/ omly 12G of disk) I may not have
> > nough room; but on my main server I should have plenty.
> > 
> > I have installed the x11/gnome2 and the x11/kde uberportscripts;
> > no joy.  What gives?
> 
> Well that should be enough; I don't know about KDE but as for GNOME
> you can simply turn on the knob
> 
> gdm_enable="YES"
> 
> in /etc/rc.conf and then execute
> 
> /usr/X11R6/etc/rc.d/gdm.sh start
> 
> Note: only do this after you configured X to work right; GDM starts X
> as part of a graphical login screen.
> 
> There is a way to start gnome using the 'startx' method but I don't
> know it.
> 

I didn't know about the entry in rc.conf; thanks much!
Generally, I use xdm to get into X and ctwm.

Without exiting ctwm, I exec'd the gdm.sh script.
It looked like Gnome was going to work; then everything
died and I was back to my root login (no X).

I'll try gdm (from scratch!) and see what happens.  Thanks
for the clue.

gary


script is (probably) the Gnome equivalent.  Do I need
gdm rathr than xdm or will xdm let me 



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

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


Re: using Linux aaccli in a cron job

2005-08-10 Thread Dan Nelson
In the last episode (Aug 10), Chad Leigh -- Shire.Net LLC said:
> I have a 5.4-R system with an Adaptec 2200S.  I also have Linux
> emulation running and the aac_linux kernel module installed and I can
> run the aaccli program successfully in a terminal window and use it
> to check status of the RAID controller.  However, if I do it from a
> cron job (same script as I run in a terminal) I get no output. 
> aaccli uses terminal control commands and I suspect it is detecting
> that it is not connected to a terminal and hence not running. 
> However, I so-far have not been able to get the Cron output to check
> for errors due to the fact that the mail server rejects it for not
> having a valid From/Sender and cron does not seem to set a From on
> its mail or something.

Cron should always set From, To, and Subject:

fprintf(mail, "From: %s (Cron Daemon)\n", usernm);
fprintf(mail, "To: %s\n", mailto);
fprintf(mail, "Subject: Cron <[EMAIL PROTECTED]> %s\n",
usernm, first_word(hostname, "."),
e->cmd);

 
> Any ideas on how to get this aaccli program to run in a cron job?
> 
> Adaptec really took a step backwards when they went to this aaccli
> from the earlier raidutils used with asr devices.  The output is
> cryptic and a pita to work with.

It seems to work for me on a PowerEdge 2550 and a PERC 3/Di card. 
Putting something like this in cron:

/usr/local/bin/aaccli open /readonly aac0 : enclosure show status : disk show 
smart : container list /full : diagnostic show text

gives me a whole lot of info back in the email.

-- 
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: RAID Advice

2005-08-10 Thread Jörg Reisenweber

Hi,

Am 10.08.2005 um 15:45 schrieb Graham Bentley:


I am setting up FreeBSD 5.4 on a Dell SC1420 server.


I don't know if the afacli works with your controller, but you might  
want to check out /usr/ports/sysutils/linux-afaapps and http:// 
ftp1.us.dell.com/scsi-raid/.


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


using Linux aaccli in a cron job

2005-08-10 Thread Chad Leigh -- Shire.Net LLC

Hi

I have a 5.4-R system with an Adaptec 2200S.  I also have Linux  
emulation running and the aac_linux kernel module installed and I can  
run the aaccli program successfully in a terminal window and use it  
to check status of the RAID controller.  However, if I do it from a  
cron job (same script as I run in a terminal) I get no output.   
aaccli uses terminal control commands and I suspect it is detecting  
that it is not connected to a terminal and hence not running.   
However, I so-far have not been able to get the Cron output to check  
for errors due to the fact that the mail server rejects it for not  
having a valid From/Sender and cron does not seem to set a From on  
its mail or something.


Any ideas on how to get this aaccli program to run in a cron job?

Adaptec really took a step backwards when they went to this aaccli  
from the earlier raidutils used with asr devices.  The output is  
cryptic and a pita to work with.


Thanks
Chad

---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
[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: i8xx drm support

2005-08-10 Thread Robert Marella

Jean-Francois wrote:


why the hell dont FreeBSD have drm suopport for the intel graphic
cards ???. its been in linux for a long time. cant you guys port it.

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

 


If it is important to you then it should be worth some effort on your part.

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

Thank you in advance for your contribution.

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


Re: 5.4-rel Bootloader Wedgie on Supermicro 5013C-MT

2005-08-10 Thread Joe Hamelin
http://www.freebsd.org/cgi/query-pr.cgi?pr=84717


On 8/9/05, Joe Hamelin <[EMAIL PROTECTED]> wrote:
> NM: I RTFWP and submitted a bug.  I'll let you guys know how it turns out.
> 
> 
> On 8/9/05, Joe Hamelin <[EMAIL PROTECTED]> wrote:
> > > >
> > > > What happens when you boot from floppies?
> > > >
> > > The box doesn't come with a floppy drive.  The space where the floppy
> > > would be has two usb ports and a serial port.  The box does support
> > > bios serial booting.  I did do a standard install on another box and
> > > then moved the drive to the supermicro box... it hung at the daemond
> > > screen.
> > >
> > So, does anyone have any ideas?  Does someone need a Supermicro
> > 5013C-MT to play with?  Who should I submit a bug report to?
> >
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Simple question of dns?

2005-08-10 Thread Micheal Patterson



- Original Message - 
From: "Carstea Catalin" <[EMAIL PROTECTED]>

To: 
Sent: Wednesday, August 10, 2005 12:01 PM
Subject: Simple question of dns?


I want to configure my dns to redirect all request from :
http://www.mail.mydomain.com 
to
http://mail.mydomain.com
Many users do first request and my server respond only al the second url.
Tks!


If you have access to your dns zone file, add a cname entry:

www.mail  CNAME   mail.mydomain.com.


--

Micheal Patterson
Senior Communications Systems Engineer
405-917-0600

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


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


Re: Simple question of dns?

2005-08-10 Thread Giorgos Keramidas
On 2005-08-10 10:01, Carstea Catalin <[EMAIL PROTECTED]> wrote:
> I want to configure my dns to redirect all request from :
> http://www.mail.mydomain.com 
> to
> http://mail.mydomain.com
> Many users do first request and my server respond only al the second url.
> Tks!

1. Add a DNS entry that points to the same IP address.
2. Configure your web server to respond to both names (ala virtual hosting).

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


Re: Simple question of dns?

2005-08-10 Thread Hornet
On 8/10/05, Carstea Catalin <[EMAIL PROTECTED]> wrote:
> I want to configure my dns to redirect all request from :
>  http://www.mail.mydomain.com 
>  to
>  http://mail.mydomain.com
>  Many users do first request and my server respond only al the second url.
>  Tks!
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 

DNS will not do "redirects", that's a function of a web server.
You can do an aliases. The format would be like this in the zone file.

www.mail   IN   CNAMEmail.domain.com.

So going to www.mail.domain.com is the same as using mail.domain.com.
The only time it is not good to do the above, is when your web server
is doing name based virtual hosting.

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


Re: Script - Tentation! ( for experts )

2005-08-10 Thread Garrett Cooper

Carstea Catalin wrote:

I want to make a script but i don't know how. Please help me! 
1.I want one script that put MAC address automaticaly to my ruleset of ipfw 
and restart at the end of script ipfw - service .
2.In this script ipfw has rules to permit only some MAC addresses and deny 
others.

*Ex: /etc/firewall.sh -add "00:23:f3:23:a0:e4" -name "WS1"*
In this script ( /etc/firewall.sh ) are my rules to permit only MAC address 
of my LAN users specified with this inputs (*-add 00:23:f3:23:a0:e4 -name 
WS1)*

..
To make this script a must verify if exist "-add" and if exist i must verify 
if exist " 02:23" (the MAC) and after if exist "-name" and "ws#"


.after i must add this MAC adress to ipfw command in the 
/etc/firewall.sh

..
If exist one expert that can helpe me please give me the script! Tks!

Carstea Catalin
 

Based on all of your emails lately, it sounds like you need a consultant 
more than just answers to some questions :).

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


Re: It is possible? Emails - backups.

2005-08-10 Thread Dan Nelson
In the last episode (Aug 10), Carstea Catalin said:
> How can i configure 2 server of mail :
> 1. One to serve my users on LAN (pop3 , smtp);
> 2. the second serverer is "the backup of mail boxes of first server" and 
> more: 
>  -> if first server is down this server gets emails for my lan users? 
>   Ex: [internet]->[first mail server]<->[second mail server 
> - with same mailboxes as first]->[LAN]
>  3. I want to run postfix.

For SMTP traffic, it's easy: just edit your DNS and add two MX records
tor "mydomain.com", one pointing to each server.  Incoming emails will
deliver to one and try the other if the first fails.

Clustering the actual stored messages is a lot harder.  I don't have
any suggestions there.

-- 
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]"


Script - Tentation! ( for experts )

2005-08-10 Thread Carstea Catalin
I want to make a script but i don't know how. Please help me! 
 1.I want one script that put MAC address automaticaly to my ruleset of ipfw 
and restart at the end of script ipfw - service .
2.In this script ipfw has rules to permit only some MAC addresses and deny 
others.
 *Ex: /etc/firewall.sh -add "00:23:f3:23:a0:e4" -name "WS1"*
 In this script ( /etc/firewall.sh ) are my rules to permit only MAC address 
of my LAN users specified with this inputs (*-add 00:23:f3:23:a0:e4 -name 
WS1)*
..
To make this script a must verify if exist "-add" and if exist i must verify 
if exist " 02:23" (the MAC) and after if exist "-name" and "ws#"

.after i must add this MAC adress to ipfw command in the 
/etc/firewall.sh
..
 If exist one expert that can helpe me please give me the script! Tks!
 
Carstea Catalin
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: /home on a separate slice on cloned system

2005-08-10 Thread Garrett Cooper

Ewald Jenisch wrote:

  Where exactly is the /home directory you want to mount on your slave 
machine? If it's located on your 'master' machine, you can use NFS to 
share the directory and just create a reference in fstab to the location 
of the NFS mounted drive on your 'slave' machine.
   



Hi Garrett,

Sorry for not making that clear in the first place: I want to have an
*empty* /home on the slave machine, just a partition that can be
mounted under /home. My /home on the slave machine is /dev/hda2d like
on the slave machine albeit with a different size.

(The reason is I want to clone installations having an empty /home on
the slave machines that can be "populated" later on)

So my problem is on how to set up a partition, say /dev/hda2d on the
slave machine in order to be able to mount it as /home.

-ewald
 

Oh, that's simple then. Just run mkfs_ufs (or something like that) 
/dev/hda2d (that is if the slice exists... run sysinstall and modify 
where necessary to add the slice). Then on your next reboot everything 
should work just fine if you formatted the slice. Otherwise if you 
already have a slice formatted and ready to go, just use that slice in 
fstab.

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


(also 5.4) re: Abort Trap for cron-jobs in 5.3

2005-08-10 Thread Chad Leigh -- Shire . Net LLC

a few months ago the following appeared  in -stable

"
In the last episode (Mar 15), Niklas Saers said:
> On Tue, 15 Mar 2005, Niklas Saers wrote:
> > I've got four servers that all have the same problem: when jobs get
> > started from Cron, they die after some time with an "Abort trap".
> > Jobs that are dying are:
> >
> > /usr/libexec/atrun >> /var/log/cron 2>&1 /usr/bin/nice -10 /usr/ 
local/bin/zsh /root/bin/sendBarkMail.sh > /dev/null 2>&1

> >
> > I also get this on virtually every shell-script that uses tar,  
leaving my

> > filesystem littered with bsdtar.core files.
> >
> > Running these jobs from the command prompt works fine. Any  
suggestions on
> > what may be causing them to die from cron? sendBarkMail.sh  
simply moves

> > mails from one folder to another periodically
>
> Note to self: ask the question. ;-)
>
> What I'm wondering about is: what could be causing the Abort Trap's?
>
> World and kernel are a recent RELENG_5_3 compiled like described in
> src/UPDATING.

What's the stack trace from one of those cores?

Also, try not redirecting stdout and stderr to /dev/null; you are
probably discarding a valuable error message.

--
Dan Nelson
dnelson at allantgroup.com
"

I saw the same thing in 5.3 and newly upgraded to 5.4 and it is still  
happening.  It seems to happen randomly.  There is no output or error  
redirection  and nothing useful in the output/error stream that I can  
see.  Mostly inside of jails.





To: [EMAIL PROTECTED]
From: Cron Daemon <[EMAIL PROTECTED]>
Date: Wed, 10 Aug 2005 11:55:04 -0400
Subject: Cron <[EMAIL PROTECTED]> /usr/libexec/atrun

Abort trap



Chad


---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
[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: /home on a separate slice on cloned system

2005-08-10 Thread Ewald Jenisch

>Where exactly is the /home directory you want to mount on your slave 
> machine? If it's located on your 'master' machine, you can use NFS to 
> share the directory and just create a reference in fstab to the location 
> of the NFS mounted drive on your 'slave' machine.

Hi Garrett,

Sorry for not making that clear in the first place: I want to have an
*empty* /home on the slave machine, just a partition that can be
mounted under /home. My /home on the slave machine is /dev/hda2d like
on the slave machine albeit with a different size.

(The reason is I want to clone installations having an empty /home on
the slave machines that can be "populated" later on)

So my problem is on how to set up a partition, say /dev/hda2d on the
slave machine in order to be able to mount it as /home.

-ewald


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


Re: able to mount ad0s1, but unable to mount ad0s3!

2005-08-10 Thread Garrett Cooper

Jerry McAllister wrote:


Well, my FreeBSD reside in ad0s2. While  ad0s1 and ad0s3 is for Windows.

Both ad0s1 and ad0s3 are NTFS. I can easily mount ad0s1 by typing the
following command:
mount -t ntfs /dev/ad0s1 /mnt

However, when I tried to mount ad0s3 using the same command, it does
never work. The error message is just as this:
Kenny# mount -t ntfs /dev/ad0s3/ /mnt
ntfs: /dev/ad0s3: Invalid argument

  



Was /dev/ad0s1 still mounted?
You would need a different mount point.

The only other difference I can see is the trailing / in the second one.

jerry
 

That trailing '/' would be the cause of the issue since the nodes for 
disk paritions/slices are seen by the FS as flat files in FreeBSD and 
not directories.

-Garrett

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


Re: /home on a separate slice on cloned system

2005-08-10 Thread Garrett Cooper

Ewald Jenisch wrote:


Hi,

I'm currently in the process of cloning
FreeBSD-installations. Machines are (almost) identical - only HD-sizes
are different.

So I installed the "master"-system as follows:

I set up two slices on the HD. The first slice contains /, swap, /var,
/tmp, and /usr; the second slice only contains /home. During
installation I installed the FreeBSD boot manager. Everything's
running perfect on the master machine (besides the small issue that
the FreeBSD boot manager lets me choose between two (!) installations
- I assume this comes because I've got two slices).

The next step was cloning: On the target machine ("slave") I set up
two FreeBSD partitions (i.e. "slices" in BSD-lingo: the first one
exactly equal to the first slice on the master machine, the second one
a little smaller. The cloning process itself went OK without problems
- I cloned the first slice from the master- to the slave-machine.

After copying over the data I only had to boot with the FreeBSD
Install-CD on the slave-system one time in order to write the boot
manager and the machine booted without problems.

Now for the problem: Upon boot the slave machine says it can't find
the /home-partition, i.e. hda2d, and goes into single-user mode. Sure
enough once I comment out the respective entry in /etc/fstab the box
runs without problems.

In order to get /dev/hda2d mounted as root I've already tried writing
the partition table (sysinstall - Index - Partition - "w") and I've
also labelled the disk (Sysinstall - Index - Label) but that didn't
solve my problem either.


So my question: How do I prepare the second slice /dev/hda2d on the
slave machine in order to get mounted as /home?

Thanks much in advance for any clue,
-ewald
 

   Where exactly is the /home directory you want to mount on your slave 
machine? If it's located on your 'master' machine, you can use NFS to 
share the directory and just create a reference in fstab to the location 
of the NFS mounted drive on your 'slave' machine.

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


/home on a separate slice on cloned system

2005-08-10 Thread Ewald Jenisch

Hi,

I'm currently in the process of cloning
FreeBSD-installations. Machines are (almost) identical - only HD-sizes
are different.

So I installed the "master"-system as follows:

I set up two slices on the HD. The first slice contains /, swap, /var,
/tmp, and /usr; the second slice only contains /home. During
installation I installed the FreeBSD boot manager. Everything's
running perfect on the master machine (besides the small issue that
the FreeBSD boot manager lets me choose between two (!) installations
- I assume this comes because I've got two slices).

The next step was cloning: On the target machine ("slave") I set up
two FreeBSD partitions (i.e. "slices" in BSD-lingo: the first one
exactly equal to the first slice on the master machine, the second one
a little smaller. The cloning process itself went OK without problems
- I cloned the first slice from the master- to the slave-machine.

After copying over the data I only had to boot with the FreeBSD
Install-CD on the slave-system one time in order to write the boot
manager and the machine booted without problems.

Now for the problem: Upon boot the slave machine says it can't find
the /home-partition, i.e. hda2d, and goes into single-user mode. Sure
enough once I comment out the respective entry in /etc/fstab the box
runs without problems.

In order to get /dev/hda2d mounted as root I've already tried writing
the partition table (sysinstall - Index - Partition - "w") and I've
also labelled the disk (Sysinstall - Index - Label) but that didn't
solve my problem either.


So my question: How do I prepare the second slice /dev/hda2d on the
slave machine in order to get mounted as /home?

Thanks much in advance for any clue,
-ewald



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


Simple question of dns?

2005-08-10 Thread Carstea Catalin
I want to configure my dns to redirect all request from :
 http://www.mail.mydomain.com 
 to
 http://mail.mydomain.com
 Many users do first request and my server respond only al the second url.
 Tks!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


It is possible? Emails - backups.

2005-08-10 Thread Carstea Catalin
How can i configure 2 server of mail :
1. One to serve my users on LAN (pop3 , smtp);
2. the second serverer is "the backup of mail boxes of first server" and 
more: 
 -> if first server is down this server gets emails for my lan users? 
  Ex: [internet]->[first mail server]<->[second mail server 
- with same mailboxes as first]->[LAN]
 3. I want to run postfix.
...
It is possible?
.
tks!

-- 

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


Re: able to mount ad0s1, but unable to mount ad0s3!

2005-08-10 Thread Jerry McAllister
> 
> Well, my FreeBSD reside in ad0s2. While  ad0s1 and ad0s3 is for Windows.
> 
> Both ad0s1 and ad0s3 are NTFS. I can easily mount ad0s1 by typing the
> following command:
> mount -t ntfs /dev/ad0s1 /mnt
> 
> However, when I tried to mount ad0s3 using the same command, it does
> never work. The error message is just as this:
> Kenny# mount -t ntfs /dev/ad0s3/ /mnt
> ntfs: /dev/ad0s3: Invalid argument
> 

Was /dev/ad0s1 still mounted?
You would need a different mount point.

The only other difference I can see is the trailing / in the second one.

jerry

> It seemed no use for me to get help from the handbook. What is wrong?
> Oh, I am quite puzzled.
> Waiting for your help, thanks!
> ___
> 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: Sendmail & relaying from network

2005-08-10 Thread Chuck Swiger

Gerard Seibert wrote:
[ ... ]

The two WinXP boxes are 192.168.0.3 and 192.168.0.2 respectively. The
FreeBSD box is names 'ges.seibercom.net' and the main WinXP box is
'gerard.seibercom.net'. What sort of directive should I be using to
allow the WinXP box to send mail through Sendmail and still have a
secure system?


cd /etc/mail/
echo "192.168.0 RELAY" >> access
make all restart

--
-Chuck

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


kernel debugger

2005-08-10 Thread Sergey Lapin
Hi!
We have some networking problem, with PF and route-to, actually,
system locks and
sends junk to net. But I'm able to enter debugger. Is it possible to
localize problem using it?
I have acess to console and get do debugger prompt. I'd like to make
proper report using debugger to send to freebsd-pf list.

Thanks a lot!

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


named -n paramter

2005-08-10 Thread Mipam
Hi,

With threads disabled in bind9, is it still 
usefull to give
-n 2 for example if you got a system with 2 cpu's?
The man page only mentioned worker threads...
Bye,

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


Re: Anyone successfully running FreeBSD on a HP Proliant DL385?

2005-08-10 Thread lars
Ted Mittelstaedt wrote:
> See
> 
> http://www.testdrive.hp.com/
Ah, right.

Should have thought about that.

Thanks, I'll check it out.

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


able to mount ad0s1, but unable to mount ad0s3!

2005-08-10 Thread Kenny
Well, my FreeBSD reside in ad0s2. While  ad0s1 and ad0s3 is for Windows.

Both ad0s1 and ad0s3 are NTFS. I can easily mount ad0s1 by typing the
following command:
mount -t ntfs /dev/ad0s1 /mnt

However, when I tried to mount ad0s3 using the same command, it does
never work. The error message is just as this:
Kenny# mount -t ntfs /dev/ad0s3/ /mnt
ntfs: /dev/ad0s3: Invalid argument


It seemed no use for me to get help from the handbook. What is wrong?
Oh, I am quite puzzled.
Waiting for your help, thanks!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Anyone successfully running FreeBSD on a HP Proliant DL385?

2005-08-10 Thread Ted Mittelstaedt

See

http://www.testdrive.hp.com/

>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] Behalf Of lars
>Sent: Tuesday, August 09, 2005 2:49 PM
>To: freebsd-questions@freebsd.org
>Subject: Anyone successfully running FreeBSD on a HP Proliant DL385?
>
>
>Hi all,
>
>I've just been to the FreeBSD Proliant website
>http://people.freebsd.org/~jcagle/
>
>I also checked the [EMAIL PROTECTED] archive,
>apart from John Cagle's welcome message it's empty.
>
>Before I ask him I want to turn to this list.
>
>Judging by the variety of tools available on the site
>it doesn't look that bad for FreeBSD on these machines.
>
>
>
>But I'm still interested whether anyone's already running
>FreeBSD STABLE on a DL385,
>maybe even with
>~3GB RAM,
>an Opteron CPU,
>~4 SCSI disks in a RAID-5 array hosted by the onboard Smart 
>Array 6i chip,
>a hot-swappable DAT72 tape drive,
>and iLO.
>
>Are all devices working well, are the HDDs and the tape drive 
>hot-swappable,
>is the iLO working as it should?
>
>Any issues?
>
>I'd really like to drive this machine with FreeBSD,
>but I can't afford to waste more than 3 days testing functionality
>before it has to be productive.
>So I'd be really thankful for any information on this combination.
>
>Kind regards,
>Lars.
>
>___
>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: fdisk maximum partition size

2005-08-10 Thread dpk
On Wed, 10 Aug 2005, Valerio daelli wrote:

> Hi all
> does anyone know any maximum limit to the slice size in freebsd?
> We would like to create a filesystem of 2.2T.
> Is there any limit in fdisk and bsdlabel?
> Thanks a lot

fdisk does not support >2TB partitions -- at least, I've been unable to
get it to work, just gives me zeros. From the advice I've read, what you'd
be best off doing is skipping fdisk and labeling and just run newfs
against the drive itself. IE:

newfs /dev/da0

Of course, this means you will not be able to boot off of the large
device. That's the price we pay for being "on the cutting edge".

There are still several utilities that do not yet handle large partitions
-- the project page is available here:

http://www.freebsd.org/projects/bigdisk/

Another option for you is available if you're using the 3Ware cards: you
can enable "auto-carving" in its BIOS, to split the device into 2TB
chunks. FreeBSD 5.4-RELEASE can only read the first of these chunks, but
if you update to 5.4-STABLE, with its new twa driver, you can access the
other chunks. (* There may be a better term than "chunks", but "slices"
and "partitions" are already used interchangably (and non-interchangably),
so I'm going with chunks.) This works out pretty well in practice except
for having to divide files between mount points by hand.

If you run into any panics or bugs about this please open PRs. There only
seems to be a few of us FreeBSD users with multi-terabyte partitions and
there are still some bugs to be worked out. You may not be able to get a
kernel dump (I wasn't, even with 5.4-R and <1TB partitions (had to put the
server into production before I could report this bug unfortunately))
but you could still get a backtrace for the developers to use.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Switching left and right sound channels

2005-08-10 Thread John Oxley
Hi,

I am running FreeBSD 5.4-RELEASE-p2.  I have a CMI sound card, 
04:01.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev
10)

I think either my headphones are dodgy, or the sound card is
misconfigured, and sound is coming out the wrong speakers.  How do I
swap the channels in software.

TIA,

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


Re: AC97 audio not working

2005-08-10 Thread Bob Johnson
On 8/10/05, ananth_g <[EMAIL PROTECTED]> wrote:
> hi ,
>   i have an on board ac97 sound. but its not working with 5.3 stable. 
> what kernel module should i
> load for using ac97 audio?
> 

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

If the instructions there don't work, perhaps "kldload
/boot/kernel/snd_*.ko" will get a working driver loaded, then "cat
/dev/sndstat" will tell you which one it is.

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


Re: RAID Advice

2005-08-10 Thread Joachim Dagerot

Your RAID system is only reported as one single device to the OS. To see status 
of your RAID arrays you'll need to use the RAID mgmt software that Adaptec 
probably provides.


On 2005-08-10 Graham Bentley  wrote:

Hello All,
>
>I am setting up FreeBSD 5.4 on a Dell SC1420 server. It has an Adaptec
>39320 SCSI Card which will do RAID 1 Hosting. I have Control-A and
>enterd the SCSI BIOS and created a RAID Pair from the two 73 GB SCSI
>Discs. When I came to install FreeBSD I only used the first disc it
>had detected [da0] There was a lot of disc activity and the install
>went ok (if not a bit slower than usual) but if I try and mount
>/dev/da1 (the second disc) I get "no such file or directory" - I am
>using ;
>
>mount -t ufs /dev/sd1 /mnt
>
>How do I check that the data is mirrored and should I be able to
>access this disc if all is correct ?
>
>Also, should I enable write cache on the host card ?
>
>Thanks !
>___
>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]"


device driver questions

2005-08-10 Thread m . ehinger
Hi,

i try to write an device driver for Accelerometer in the Thinkpad T series. 
There is an Linux driver already which i ported to
FreeBSD.

So far i got a working version which returns some useful information.

What i want to know is which is the correct way to allocate io ports? I saw 
some drivers using "bus_alloc_resource" and some use
"bus_space_map".

What is the safest way to read/write to an io port? Simply "inb/outb" or 
"bus_space_write_N/bus_space_read_N" ?

Any help would be appreciated

Thanks

Maik

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


Re[2]: Stranges with ARP

2005-08-10 Thread Steve Langdon
Sten, thanks for helping me.

Another question: ``route -blackhole' is the same thing like ``arp -S [IP] 
00:00:00:00:00'? So packet will ignore on router. Or not?

-Original Message-
From: Sten Daniel SЬrsdal <[EMAIL PROTECTED]>
To: Steve Langdon <[EMAIL PROTECTED]>
Date: Wed, 10 Aug 2005 15:35:17 +0200
Subject: Re: Stranges with ARP
[snip]
> Using static arp is a very VERY bad idea.
> Consider an flood attack against this IP. All packets will be sent to
> ALL clients and you would have a hard time tracking down the problem.
> 
> Just use -blackhole or firewall instead.



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


RAID Advice

2005-08-10 Thread Graham Bentley
Hello All,

I am setting up FreeBSD 5.4 on a Dell SC1420 server. It has an Adaptec
39320 SCSI Card which will do RAID 1 Hosting. I have Control-A and
enterd the SCSI BIOS and created a RAID Pair from the two 73 GB SCSI
Discs. When I came to install FreeBSD I only used the first disc it
had detected [da0] There was a lot of disc activity and the install
went ok (if not a bit slower than usual) but if I try and mount
/dev/da1 (the second disc) I get "no such file or directory" - I am
using ;

mount -t ufs /dev/sd1 /mnt

How do I check that the data is mirrored and should I be able to
access this disc if all is correct ?

Also, should I enable write cache on the host card ?

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


Re: Encrypted filesystem cgd

2005-08-10 Thread Svein Halvor Halvorsen

* Benjamin Lutz [2005-08-10 14:01 +0200]
>  It's GBDE, not GEOM. GEOM is the system of abstracting disk access, and
>  GBDE is a GEOM class (as is GELI).

Off course! I was typing a bit fast there!
"GEOM Based Disk Encryption"


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


Stranges with ARP

2005-08-10 Thread Steve Langdon
Hello all.

Help me to solve a strange conduct.
I want to have permanent bundle with IP->MAC for users in our network to have 
some security. So, once my user's MAC doesn't appear in my ARP table, I have to 
block by ``arp -S ..' his IP with MAC generated by my script with prefix 
d1:fa:28.

One day I have a phone talk with my user, he make complaints against slow speed 
in Internet. When I have checked his IP I feel a terrible :)

tcpdump: listening on rl0
18:48:11.339543 213.238.62.65.80 > 192.168.57.90.1072: . 
2091947455:2091948915(1460) ack 140637902 win 7441 (DF) [tos 0x60] 
^C
561 packets received by filter
0 packets dropped by kernel

Traffic comes to that user!

[EMAIL PROTECTED]:~ % arp -a | grep -w 192.168.57.90
? (192.168.57.90) at d1:fa:28:ec:87:98 on rl0 permanent [ethernet]
[EMAIL PROTECTED]:~ %

While user is blocked by _our_ generated MAC! Btw, could anyone advice me how 
to block user IP block without touching ipfw (I think to use route + 
``-blackhole' to that user that have no his MAC in my ARP table), any ideas?


[EMAIL PROTECTED]:~ % arping 192.168.57.90
ARPING 192.168.57.90
60 bytes from 00:00:f0:87:4b:ca (192.168.57.90): index=0 time=2.724 msec
60 bytes from 00:00:f0:87:4b:ca (192.168.57.90): index=1 time=9.966 msec
^C
--- 192.168.57.90 statistics ---
2 packets transmitted, 2 packets received,   0% unanswered
[EMAIL PROTECTED]:~ %

His real MAC is 00:00:f0:87:4b:ca. I can't belave this could be. Whats wrong?
As I think all traffic must transmit to d1:fa:28:ec:87:98, NOT to 
00:00:f0:87:4b:ca and user's NIC must ignore that packet unless his interface 
in PROMISC mode. Or I'm wrong?

[EMAIL PROTECTED]:~ % ifconfig rl0 | grep flags
rl0: flags=8843 mtu 1500
[EMAIL PROTECTED]:~ %

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


Re: Sendmail & relaying from network

2005-08-10 Thread Lisa Casey
Hi,

  I have three computers networked together - one Freebsd 5.4 and two
  WinXP boxes.

  I cannot get Sendmail to relay messages from the two WinXP boxes. I
  continue to receive an error message that relaying is not allowed. The
  only way I can get it to work is to use the "FEATURE(`promiscuous_relay')"
  directive. That is risky, and therefore I do not want to use it.

  The two WinXP boxes are 192.168.0.3 and 192.168.0.2 respectively. The
  FreeBSD box is names 'ges.seibercom.net' and the main WinXP box is
  'gerard.seibercom.net'. What sort of directive should I be using to
  allow the WinXP box to send mail through Sendmail and still have a
  secure system?   



  Add the IP addresses of the WinXP boxes to /etc/mail/relay-domains

  See http://www.sendmail.org/faq/section3.html#3.27 in the Sendmail FAQ

  Lisa Casey
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.4/66 - Release Date: 8/9/2005
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

fdisk maximum partition size

2005-08-10 Thread Valerio daelli
Hi all
does anyone know any maximum limit to the slice size in freebsd?
We would like to create a filesystem of 2.2T.
Is there any limit in fdisk and bsdlabel?
Thanks a lot

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


xorg crashing with kde

2005-08-10 Thread RW
Since the kde update went into ports about a week ago, I've been having a 
problem with xorg crashing.

The problem occurs when a kde session is left in the "background" by a switch 
to either another x-server or to a virtual terminal, and it's left there long 
enough for the monitor standby timer to expire. The crash actually happens on 
switching back to the kde session.

According to the system console the crash follows a stray irq13, and the xorg 
log indicates it died with signal 8. I cant find any other relevent logging. 
I installed xscreensaver  to see if it could be reproduced under xfce, and it 
couldn't. I can work around the problem  by turning off display power 
management in kde.

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


Re: Long Uptime

2005-08-10 Thread Dave Horsfall
On Tue, 9 Aug 2005, Bob Bomar wrote:

> I have a machine that is about to turn 700 days uptime, and I have no 
> plans on rebooting it any time soon.  I just wanted to see if there was 
> any infomation from the machine that anybody wanted.

Its IP address would be a good start :-)

Two years of patches not applied, eh?

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


Re: Long Uptime

2005-08-10 Thread Bjoern A. Zeeb
On Tue, 9 Aug 2005, Bob Bomar wrote:

> I have a machine that is about to turn 700 days
> uptime, and I have no plans on rebooting it any
> time soon.  I just wanted to see if there was
> any infomation from the machine that anybody
> wanted.

Well, I think there are enough people around with nnn days uptime (for
nnn > 500).
I myself can think of a handfull of internal machines with such an uptime.

In case you are interested in FreeBSD uptimes see for example:
http://lists.freebsd.org/pipermail/freebsd-advocacy/2003-August/000225.html


PS:
In case this thread will continue please consider freebsd-chat or
freebsd-advocacy.

-- 
Bjoern A. Zeeb  bzeeb at Zabbadoz dot NeT
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Panic

2005-08-10 Thread Michael Louie Loria
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

What's this message that I'm receiving

panic: lockmgr: locking against myself
Uptime: 1m31s
Cannot dump: No dump device defined
Automatic reboot in 15 seconds
~ - press a key on the consol to abort


I was just installing KDE when this message appeared. And everytime
I boot into FreeBSD 5.4 using root account, I received that message.

-BEGIN PGP SIGNATURE-
Comment: Public Key: https://www.biglumber.com/x/web?qs=0x4A256EC8
Comment: Public Key: http://www.lorztech.com/GPG.txt
Comment: Yahoo ID: michaellouieloria

iQEVAwUBQvnQQbXBHi2y3jwfAQrufggAjaIuLwtV1UN6K+CuTdG1k00ruPNAeoKj
7kG90ma4MdB+qPm3UMaH2ODIhJMomXSR9lY35QwgOLBfHN9N8twJWQhb7Z6m+990
RMgd5ttQAote3iRyEauITRKtqOQQ5TMN7fmMF7Yscq6nmpehqZWDuMgocCDX9JsU
j/dO8a2VDN5MiLjQl0NM6vOjcy/lR02/7+jl7YBUBLHccsGSYG3tiAs6bfay0Hkw
Ge5HMjfxrR4wGgcvGTptcghf/OTr6WDdchpbuIfF3ew8cDPDo5lgzt2Q22wtJ06v
bQd/wvqYDqg4lF/Y4SsM4YzZas53uta2EGGH3lgH16GHtJuDY/C3Hw==
=prJP
-END PGP SIGNATURE-


-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.4/66 - Release Date: 8/9/2005





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]"


Panic

2005-08-10 Thread Michael Louie Loria
What's this message that I'm receiving

panic: lockmgr: locking against myself
Uptime: 1m31s
Cannot dump: No dump device defined
Automatic reboot in 15 seconds
~ - press a key on the consol to abort


I was just installing KDE when this message appeared. And everytime
I boot into FreeBSD 5.4 using root account, I received that message.




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]"


Re: xmms, stupid question

2005-08-10 Thread RW
On Wednesday 10 August 2005 10:46, slack _usr wrote:
> Hi everyone,
>
> I'm new to FreeBSD, so I'm using DesktopBSD. But I think, it uses
> FreeBSD ports collection. So, question is, where I can find only xmms
> (plain player). I can find MANY MANY plugins and etc, but I can't find
> simple xmms. Please, help me If someone can.
>
> And sorry for the stupid question.
>
> Thanks.

See 'man ports' for how to search for a port
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Panic

2005-08-10 Thread Michael Louie Loria
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

What's this message that I'm receiving

panic: lockmgr: locking against myself
Uptime: 1m31s
Cannot dump: No dump device defined
Automatic reboot in 15 seconds
~ - press a key on the consol to abort


I was just installing KDE when this message appeared. And everytime
I boot into FreeBSD 5.4 using root account, I received that message.

-BEGIN PGP SIGNATURE-
Comment: Public Key: https://www.biglumber.com/x/web?qs=0x4A256EC8
Comment: Public Key: http://www.lorztech.com/GPG.txt
Comment: Yahoo ID: michaellouieloria

iQEVAwUBQvnRILXBHi2y3jwfAQroqQgAg8Fg/N6QLeDgCr553EsVa94M/sXenDqw
zqRtZWYuPOrUv3RqnCNRvIOp1cHtaJl81wafKbCxXmt8OIGdpngegT9m3zP4OGgF
QzEQJ2aKNYOEisQrcx0Su/PfTYnM9MWEt42CO514UbHnFcMopUqyMe+l1UvhqM6O
rAj2UgNZAxvcwGyhqL0YUdZ0mm2jSdgoNjGSqyMj/b5s8oXrCC969ko7EWinPzDM
mELsOBkVnQC40rBXLTlN1SquGbNvLL0tK1MOiqG4waoSaB0q1UC/guG4nIqa0sSF
oVKtSKUhgRKOPmlzW2i6rqU+MU8kLlDA2mmRD5vDlCF0t2yHgG9J9A==
=bTHk
-END PGP SIGNATURE-


-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.4/66 - Release Date: 8/9/2005





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]"


RE: RTCoreBSD

2005-08-10 Thread Norbert Koch

> > > Hi,
> > > 
> > > I found this real-time OS based on BSD:
> > >
> >
> http://www.sdcsystems.com/realtime-linux.htm#rtcorebsd
> > > 
> > > I m wondering what technology they used to make
> > > FreeBSD as a real-time OS. I thought kqueue/kevent
> > is
> > > a key component? any comment?
> > > 
> > > Thanks
> > > Sam
> > 
> > I think it's just that *old* rtlinux concept of
> > having a hard real time kernel and running the
> > operating system as some kind of an idle task
> > above that. As far as I remember FSMLabs earlier
> > press information talked about using NetBSD for
> > that.
> > 
> Does current version of FreeBSD uses real-time
> scheduler at the kernel? If it does, which part of the
> code (in /usr/src) contains those code?

Depends on what you mean.
FreeBSD is no rtos, but has rtprio(1).
It allows to have fixed process priorities
in contrast to the usual 'varying' unix priorites.
But it is still possible for a high priority process
to be blocked by a lower priority process entering a
system call for a non-deterministic amount of time.
This is at least so for 4.X, but may be less true
for 6.X whith the kernel becoming more and more
preemptable.

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


Re: FreeBSD 5.4 install problem. Newbee needs help.

2005-08-10 Thread RW
On Wednesday 10 August 2005 02:11, William Manley wrote:
> I am a new FreeBSD user and I have an installation that has gone bad. My
> problems started when I enabled XDM for a graphical logon into Gnome.
> When I logged in as root the system just looped back to the logon
> screen. I then assumed I had configured my .xinitrc file wrong so I
> booted the install cdrom into Fixit mode and tried to mount the root
> filesystem on the hardisk which the operating system would not let me
> do. The following are the commands I typed with the output.

If you have a problem with a graphical login-manager, all you need do is hit 
control +alt+ Fn  (Fn being any function key up to 8), and login.

There is no need for single-user mode or the fixit disk.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: sorry for the idiot question, but....

2005-08-10 Thread Giorgos Keramidas
On 2005-08-10 09:07, Stijn Hoop <[EMAIL PROTECTED]> wrote:
> There is a way to start gnome using the 'startx' method but I don't
> know it.

1. Copy over /usr/X11R6/lib/X11/xinit/xinitrc to ~/.xinitrc and make
   sure it's executable by at least you, the owner of the file.

2. Replace the final commands (that spawn "a few useful programs") with:

exec gnome-session

3. Done

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


Re: Encrypted filesystem cgd

2005-08-10 Thread Benjamin Lutz
It's GBDE, not GEOM. GEOM is the system of abstracting disk access, and
GBDE is a GEOM class (as is GELI).

Cheers
Benjamin


signature.asc
Description: OpenPGP digital signature


Sendmail & relaying from network

2005-08-10 Thread Gerard Seibert
I have three computers networked together - one Freebsd 5.4 and two
WinXP boxes.

I cannot get Sendmail to relay messages from the two WinXP boxes. I
continue to receive an error message that relaying is not allowed. The
only way I can get it to work is to use the "FEATURE(`promiscuous_relay')"
directive. That is risky, and therefore I do not want to use it.

The two WinXP boxes are 192.168.0.3 and 192.168.0.2 respectively. The
FreeBSD box is names 'ges.seibercom.net' and the main WinXP box is
'gerard.seibercom.net'. What sort of directive should I be using to
allow the WinXP box to send mail through Sendmail and still have a
secure system?


-- 
Gerard E. Seibert
[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: FreeBSD 5.4 install problem. Newbee needs help.

2005-08-10 Thread Nikolas Britton
On 8/10/05, Nikolas Britton <[EMAIL PROTECTED]> wrote:
> On 8/10/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > On Tue, 09 Aug 2005 21:11:53 -0400
> > William Manley <[EMAIL PROTECTED]> wrote:
> >
> > > I am a new FreeBSD user and I have an installation that has gone bad.
> > > My  problems started when I enabled XDM for a graphical logon into
> > > Gnome.  When I logged in as root the system just looped back to the
> > > logon  screen. I then assumed I had configured my .xinitrc file wrong
> >
> > xdm,gdm,kdm,wdm do not use your .xinitrc (but they can use your
> > .Xsession or .xsession file), .xinitrc is only used with the command
> > startx
> >
> > > so I  booted the install cdrom into Fixit mode and tried to mount the
> > > root  filesystem on the hardisk which the operating system would not
> > > let me  do. The following are the commands I typed with the output.
> > >
> > > mount /dev/ad0s1a /mnt
> > > operation not permitted
> >
> > you could instead boot from harddisc in "single mode" (sp?), then remove
> > xdm or configure xdm properly or use gdm or use gnome-session in your
> > .xinitrc
> 
> Single user mode. You can get to it at the boot menu, think it's
> option 6, or you can exsacpe to the boot loader and type in "boot -s"
> and hit enter. Once your in single user mode you will need to mount
> your partitions, "mount /dev/ad0s1f /usr", if your disk is dirty you
> will need to run fsck and then remount the root partition in
> read/write mode before you can edit your config files. I'm not sure
> how XDM etc. is started but I would try in /usr/local/etc/rc.d/ first.
> if a xdm startup script is in there rename to something like
> xdm.sh-disabled. then type exit to boot into multi user mode and login
> as root.
> 

It's in the handbook, XDM, here:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-xdm.html
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: sorry for the idiot question, but....

2005-08-10 Thread Nikolas Britton
On 8/10/05, Gary Kline <[EMAIL PROTECTED]> wrote:
> Folks,
> 
> *Which* ports do I need to install to get Gnome and KDE
> working?  On my laptop (w/ omly 12G of disk) I may not have
> nough room; but on my main server I should have plenty.
> 
> I have installed the x11/gnome2 and the x11/kde uberportscripts;
> no joy.  What gives?
> 

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11-wm.html
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD 5.4 install problem. Newbee needs help.

2005-08-10 Thread Nikolas Britton
On 8/10/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> On Tue, 09 Aug 2005 21:11:53 -0400
> William Manley <[EMAIL PROTECTED]> wrote:
> 
> > I am a new FreeBSD user and I have an installation that has gone bad.
> > My  problems started when I enabled XDM for a graphical logon into
> > Gnome.  When I logged in as root the system just looped back to the
> > logon  screen. I then assumed I had configured my .xinitrc file wrong
> 
> xdm,gdm,kdm,wdm do not use your .xinitrc (but they can use your
> .Xsession or .xsession file), .xinitrc is only used with the command
> startx
> 
> > so I  booted the install cdrom into Fixit mode and tried to mount the
> > root  filesystem on the hardisk which the operating system would not
> > let me  do. The following are the commands I typed with the output.
> >
> > mount /dev/ad0s1a /mnt
> > operation not permitted
> 
> you could instead boot from harddisc in "single mode" (sp?), then remove
> xdm or configure xdm properly or use gdm or use gnome-session in your
> .xinitrc

Single user mode. You can get to it at the boot menu, think it's
option 6, or you can exsacpe to the boot loader and type in "boot -s"
and hit enter. Once your in single user mode you will need to mount
your partitions, "mount /dev/ad0s1f /usr", if your disk is dirty you
will need to run fsck and then remount the root partition in
read/write mode before you can edit your config files. I'm not sure
how XDM etc. is started but I would try in /usr/local/etc/rc.d/ first.
if a xdm startup script is in there rename to something like
xdm.sh-disabled. then type exit to boot into multi user mode and login
as root.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Encrypted filesystem cgd

2005-08-10 Thread Svein Halvor Halvorsen

* vittorio [2005-08-10 12:26 +0200]
>  Is there anything similar in FreeBSD?

As far as I know, there is no encrypted filesystem support in FreeBSD. 
However, there are a couple of disk encryption systems in FreeBSD, GEOM 
and GELI. Both act between the disk and the filesystem layer, translating 
a disk into a (slightly smaller, but encrypted) disk, ontop of which you 
could put any supported filesystem.

And by disk, I actually mean disk, partition, file or anything else you 
could put a filesystem on.

GELI is quite new, and I'm not sure if it's in any releases yet. GEOM 
should be there though. Search the archives and the internet and manpages 
for more info.



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


Re: FreeBSD 5.4 install problem. Newbee needs help.

2005-08-10 Thread [EMAIL PROTECTED]
On Tue, 09 Aug 2005 21:11:53 -0400
William Manley <[EMAIL PROTECTED]> wrote:

> I am a new FreeBSD user and I have an installation that has gone bad.
> My  problems started when I enabled XDM for a graphical logon into
> Gnome.  When I logged in as root the system just looped back to the
> logon  screen. I then assumed I had configured my .xinitrc file wrong

xdm,gdm,kdm,wdm do not use your .xinitrc (but they can use your
.Xsession or .xsession file), .xinitrc is only used with the command
startx

> so I  booted the install cdrom into Fixit mode and tried to mount the
> root  filesystem on the hardisk which the operating system would not
> let me  do. The following are the commands I typed with the output.
> 
> mount /dev/ad0s1a /mnt
> operation not permitted

you could instead boot from harddisc in "single mode" (sp?), then remove
xdm or configure xdm properly or use gdm or use gnome-session in your
.xinitrc

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


Re: sorry for the idiot question, but....

2005-08-10 Thread [EMAIL PROTECTED]
On Wed, 10 Aug 2005 09:07:20 +0200
Stijn Hoop <[EMAIL PROTECTED]> wrote:

> There is a way to start gnome using the 'startx' method but I don't
> know it.

echo "gnome-session" > ~/.xinitrc

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


Re: ad10: WARNING - READ_DMA UDMA ICRC error (retrying request)LBA=11441599

2005-08-10 Thread Mathijs Brands
On 8/10/05, Unix <[EMAIL PROTECTED]> wrote:

>I thought the WD Raptors were supposed to replace the SCSI for that
>purpose. I used to run one in a Powermac and performance wise it behaved
>very well, unfortunately I haven't had the chance to test the 30 or 70
>GB WD Raptor SATA in FreeBSD..S/ATA drives should never be used for 24/7
>or server use anyway
>
I have a FreeBSD 6.0-BETA2 machine that's using a WD Raptor 36 GB using
the on-board controller (VIA 8237) of the Asus A7V880 motherboard and it
works perfectly. The most taxing thing it runs is the occasional
buildworld or (re)build of KDE3 though...

Cheers,

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


Re: ad10: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=11441599

2005-08-10 Thread Unix

Dmitry Mityugov wrote:


On 8/10/05, Unix <[EMAIL PROTECTED]> wrote:
 


Dmitry Mityugov wrote:

   


On 8/10/05, Unix <[EMAIL PROTECTED]> wrote:
...


 


I thought the WD Raptors were supposed to replace the SCSI for that
purpose. I used to run one in a Powermac and performance wise it behaved
very well, unfortunately I haven't had the chance to test the 30 or 70
GB WD Raptor SATA in FreeBSD..S/ATA drives should never be used for 24/7
or server use anyway


   


...

There are Maxtor MaXLine II and III, and perhaps several other models,
that are supposed to work 24/7.



 


Yes, but I don't like Maxtor drives, the ones I've used always failed
after a year or less than a year...
   



Western Digital produces similar drives as well - from
http://store.westerndigital.com/product.asp?sku=2700729: ..."24x7 100%
duty cycle–the highest available reliability rating on high capacity
drives"...

 


thanks, I need to get some new drives anyway...and WD was on my list...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ad10: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=11441599

2005-08-10 Thread Dmitry Mityugov
On 8/10/05, Unix <[EMAIL PROTECTED]> wrote:
> Dmitry Mityugov wrote:
> 
> >On 8/10/05, Unix <[EMAIL PROTECTED]> wrote:
> >...
> >
> >
> >>I thought the WD Raptors were supposed to replace the SCSI for that
> >>purpose. I used to run one in a Powermac and performance wise it behaved
> >>very well, unfortunately I haven't had the chance to test the 30 or 70
> >>GB WD Raptor SATA in FreeBSD..S/ATA drives should never be used for 24/7
> >>or server use anyway
> >>
> >>
> >...
> >
> >There are Maxtor MaXLine II and III, and perhaps several other models,
> >that are supposed to work 24/7.
> >
> >
> >
> Yes, but I don't like Maxtor drives, the ones I've used always failed
> after a year or less than a year...

Western Digital produces similar drives as well - from
http://store.westerndigital.com/product.asp?sku=2700729: ..."24x7 100%
duty cycle–the highest available reliability rating on high capacity
drives"...

-- 
Dmitry Mityugov, St. Petersburg, Russia
I ignore all messages with confidentiality statements

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

samba 3 and local wheel group membership

2005-08-10 Thread T. Kornack
Hello Tom,


just came across your message when trying to find a solution for another
problem... 

As far as I know 'net groupmap' never makes group members to show up in
/etc/group. It just does a group mapping from UNIX world to SMB world. And
this is what is mainly covered in the Samba docs.

What you need imho is the other way around - somehow mapping SMB-groups into
UNIX-groups. Here is my suggestion:

1. Map the group 'wheel' to a _local_ SMB-group using 'net groupmap ...' as
you already tried.

2. Create a _global_ group in your NT domain containing your intended
'wheel' members.

3. Make the global group from step 2.) become a member of the local group
from step in 1.) using 'net group ADD ...'. Don't worry what old Samba docs
say, from a certain version on (tested it with v3.0.13) encapsulated group
membership works.

4. Make sure winbindd is running on your Samba machine. This daemon is
responsible for the group mapping.

Explanation: The users also don't show up in /etc/group but the group
membership is solved on the fly by winbindd. I found the details in the
recent Samba-3-Howto on samba.org.

Kind regards

Thomas

E-Mail: [EMAIL PROTECTED]
Web:http://www.tkc-online.de

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


Re: ad10: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=11441599

2005-08-10 Thread Unix

Dmitry Mityugov wrote:


On 8/10/05, Unix <[EMAIL PROTECTED]> wrote:
...
 


I thought the WD Raptors were supposed to replace the SCSI for that
purpose. I used to run one in a Powermac and performance wise it behaved
very well, unfortunately I haven't had the chance to test the 30 or 70
GB WD Raptor SATA in FreeBSD..S/ATA drives should never be used for 24/7
or server use anyway
   


...

There are Maxtor MaXLine II and III, and perhaps several other models,
that are supposed to work 24/7.

 

Yes, but I don't like Maxtor drives, the ones I've used always failed 
after a year or less than a year...

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


  1   2   >