Re: how to suspend/wake-up a FreeBSD machine?

2007-12-30 Thread Henrik Brix Andersen
On Sat, Dec 29, 2007 at 11:24:44AM -0500, Mikhail T. wrote:
> I managed to suspend some of my computers a few times (using
> either ``zzz'' or ``acpiconf -s 1''), but I could never successfully
> wake the system up after this, requiring a full reboot.
> 
> What's the proper procedure? I tried the power-button (no effect) and
> hitting random keyboard keys (no effect). How is it supposed to work?

That depends largely on the hardware - on e.g. ThinkPads you need to
press the 'Fn' button to wake up the laptop after sleep.

Brix
-- 
Henrik Brix Andersen <[EMAIL PROTECTED]>


pgpGogavgPWRn.pgp
Description: PGP signature


Re: Ekiga runs but hangs

2007-12-30 Thread usleepless
Sergio,

On Dec 28, 2007 10:06 PM, Sergio Lenzi <[EMAIL PROTECTED]> wrote:
>
>
>  Em Sex, 2007-12-28 às 12:17 +0100, [EMAIL PROTECTED] escreveu:
>
>  Hello All,
>
> is anyone using ekiga? ekiga runs and connects to [EMAIL PROTECTED] ( test
> number ).
>
> but when i hang up, or change volume using the ekiga-controls, the UI
> freezes.
>
> #FreeBSD host 7.0-BETA2 FreeBSD 7.0-BETA2 #4
>
> i would love to hear succes or failures.
>
> regards,
>
> usleep
>
>  it happens with me too. the problem is in the
>  module sound-oss in the pwlib
>  the module that deals with oss (the freebsd sound system...)
>  tries to resample the stream and than loops... consuming all the cpu.
>
>  the folowing patch solves the problem for me
>  name this file to patch-oss and put it in /usr/ports/devel/pwlib/files
>  and than... cd /usr/ports/devel/pwlib
>  make clean deinstall package

that worked for me! thank you very much.

have you submitted a PR for this? ( if not, i probably will do )

thanks,

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


Re: HP Proliant Series

2007-12-30 Thread Bahman Movaqar
On 2007-12-28 Ted Mittelstaedt wrote:
> 
> We run FreeBSD64 AMD build on HP DL320 G5 and it works great.
> 
> But we use the embedded SATA chip on the MB, not the HP SmartArray
> card.  I'm interested in your experiences with the SmartArray card.
> 
> > 
> > Does anybody have some experience with HP Proliant DL380 G5?  Is it
> > compatible with FreeBSD (in particular 6.2)?  Following is the
> > hardware configuration:
> > CPU: Intel Xeon 5160 (2 GHz, FSB 1333)
> > RAM: HP 4GM PC2-5300 DDR2
> > HDD: 2 x 72GB 3G SAS (15K)
> > Storage Ctrlr: HP Smart Array P400/256
> > NIC: Broadcom 5721 PCI-Express
> > 
The server will arrive in a week or two.  Will update about any
possible difficulties/successes.

-- 
Bahman Movaqar
PGP KeyID: 0x0CE28F5C (keyserver2.pgp.com)

Don't you know then, my son, how little wisdom rules the world?
-Marcus Aurelius


signature.asc
Description: PGP signature


installing linux after freebsd (multi-boot)

2007-12-30 Thread अनुज
Hello ,
I have freebsd6.2 installed with Fedora core 7 and rhe4.
I am installing rhel5 , when linux installation process starts I get an
error of /dev/hdc1 busy , can not report to kernel about partition
layout. In the past I installed linux then FreeBSD.
Is there some method that rhel5 installation can skip /dev/hdc1
(freebsd slice) ? saving my freebsd installation
regards
Anuj Singh.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: IPFW: Blocking me out. How to debug?

2007-12-30 Thread Ian Smith
On Sat, 29 Dec 2007, W. D. wrote:
 > At 08:49 12/22/2007, Ian Smith wrote:
 > >Warning: overlong message.
 > > > > > >W. D. wrote:
 [.. slashing mercilessly ..]

 > >Ok, so your nameserver will be making upstream requests too, and you'll
 > >need to do TCP 53 traffic with your secondary nameserver/s as well as
 > >UDP 53 traffic with upstream nameservers, up to the root unless you're
 > >only using specified upstream forwarders. Given that you're checking TCP
 > >setup, allowing established, then maybe:
 > >
 > > allow udp from me to any 53 out keep-state # my requests
 > > allow udp from any to me 53 in keep-state  # serve outside requests
 > > allow tcp from me to $secondaries 53 setup # zone transfers out
 > > allow tcp from $secondaries to me 53 setup # zone transfers in
 > 
 > What is $secondaries?

An example of why I prefer scripted rulesets :)  Here, a list of one or
more secondary nameservers that need to do axfrs to refresh domain/s for
which you are the primary/master, and any domains you are secondary for. 

 > >though you'll want to protect named with ACLs for xfers as well.
 > 
 > "ACLs"?  What are those?

Access Control Lists.

See named.conf(5) and the section in the BIND 9 Administrator Reference
Manual which you'll most likely want to refer to.  If you installed the
doc distribution (see below) then the full cross-referenced HTML version
is at /usr/share/doc/bind9/arm - I usually symlink both /usr/share/doc
and /usr/local/share/doc into webspace.

 > >access to only your LAN.  Will this webserver later have a public IP
 > >address, or run behind NAT with port forwarding? 
 > 
 > Public IP.

So will your LAN also have access to services on this machine?  ie will
this box have an address on your LAN also?  alias on the same interface?

 > > > > > >> # FTP:
 > > > > > >> add allow tcp from any to any ftp in setup
 > > > > > >> add allow tcp from any to any ftp\-data in setup
 > > > > > >> add allow tcp from any ftp\-data to any setup out
 > >
 > > > >Mmm, I prefer using and enforcing FTP passive mode, but YMMV.
 > > > 
 > > > How would I do that?  This guy doesn't think it's even 
 > > > possible:
 > > > http://tinyurl.com/2z6ynr
 > >
 > >Mmm, ok.  Passive mode needs allowing connections to this port range
 > >  net.inet.ip.portrange.hifirst: 49152
 > >  net.inet.ip.portrange.hilast: 65535
 > >which is adjustable, but I'm unsure of my ground regarding ftp - pass.
 > 
 > How would I write this as a rule?

I did try to pass ..

# ipfw add allow tcp from any to me 49152-65535 in setup

but that's only safe if you'll run no other services in that range. 

Below in your new ruleset you specify as a range:

 > # FTP Passive (Ports 1-65000):
 > add allow tcp from me to any 1-65000 in setup

but I think you mean 'any to me'?, and the range is unnecesarily larger
than ftpd uses, ie .hifirst to .hilast and you can probably limit your
range further - I'm unsure how hard passive mode ftpd hunts for free
ports to bind to, or what.  Maybe someone else can help out here .. ?


 > > > Am using this link, since "man ipfw" doesn't work on 6.2.  (I dare
 > > > someone to explain to me how to get it to work):
 > > > http://www.freebsd.org/cgi/man.cgi?query=ipfw&sektion=8
 > >
 > >That's weird.  Does man work for others in section 8, eg man mount ? 
 > 
 > Nope.  How to get working?

(re)install the manpages and doc distributions from the distribution CD,
or by FTP or whatever you used or want to use.

You can use sysinstall / configure / distributions, select manpages and
doc, select media when asked, visit options if you need to set anything
else, then install.  Don't go _anywhere near_ partitioning or labelling
disks or mess with anything else, even for a peek, in my experience.

 > Here is my latest /etc/ipfw.rules.  Please critique:
 > 
 > #Filename: ipfw.rules
 > # Description: ipfw firewall ruleset
 > #   Locattion: /etc/ipfw.rules
 > #Date: 2007 Dec 29
 > 
 > # By default, everything is denied access.  You
 > # need to specifically allow something for it
 > # to work.
 > 
 > # Debugging tools:
 > #
 > # Check the syntax of the rules file:
 > #   ipfw -n /etc/ipfw.rules
 > #
 > # Stop, then restart ipfw:
 > #   ipfw disable firewall; /etc/rc.d/ipfw start

Or '/etc/rc.d/ipfw stop; /etc/rc.d/ipfw start' which includes the
dis/enabling.  '/etc/rc.d/ipfw restart' probably works too, modulo
caveats in ipfw(8) about doing these sorts of things remotely.

 > # List firewall hits:
 > #   ipfw -a -S -N -t list

-S is overkill/noise unless actually using sets.  -N can be slow if any
addresses prove hard to resolve, but I guess that info may be useful :)

 > # Zero out hits counter:
 > #   ifpw zero

  I'd never use this command without including rule number/s,
but then I use counters for um, accounting.  Fine while testing .. 

 > # View the log:
 > #tail  -f   /var/log/ipfw/ipfw.log

Study/search logs: less -S /var/log/ipfw/ipfw.log*

 > # Allow anything on t

Re: buildworld failure on VIA C3 Nehemiah

2007-12-30 Thread RW
On Sat, 29 Dec 2007 19:40:25 +0100
"Warren Head" <[EMAIL PROTECTED]> wrote:

> 2007/12/29, Eric Osterweil <[EMAIL PROTECTED]>:
> >
> > -BEGIN PGP SIGNED MESSAGE-
> > Hash: SHA1
> >
> >
> > Should I be using a different arch?  Do I need a flag in the
> > make.conf (I just have -pipe and -O2)?
> >
> >
> I don't know, but this is what I read on a Gentoo wiki page: (related
> to bugs in a Gentoo package)
> http://gentoo-wiki.com/Safe_Cflags

FreeBSD is not Gentoo.

> Before you submit a bug report, compile with just "-O2 -march=i686
> -pipe"

This is more aggressive optimization than the FreeBSD default for the C3
of:

-O2 -fno-strict-aliasing -pipe -march=c3 


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


healthd

2007-12-30 Thread Michael Grant
I installed healthd hoping it would show me the cpu temperatures and
fan speeds for my motherboard but it's reporting some crazy values
like fan speeds of -48C and fan speeds of 13000 rpms.

My motherboard is a SuperMicro X6DH3-G2 which does support this
feature.  There's a 6300ESB on the board which has an SMBus
controller, so I think that healthd should be started with the -S
option.  However, I don't know if healthd will work with my chipset.
It's not clear to me if the 6300ESB is the chipset or just the smbus
controller which talks to the chipset.

SuperMicro provides a windows utility which reads this data, so in
theory I should be able to read this data somehow.

If healthd isn't going to work here, perhaps I can just use smbmsg to
extract the data directly from the chipset?  Does anyone know how to
figure out which parameters to give smbmsg to do that?

And if not via smbmsg, is there some way to get this data?

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


rc.resume and rc.suspend not executed on 6.2-RELEASE with acpi

2007-12-30 Thread Ede Ratzefick
Hi,

on my 6.2-RELEASE with acpi runnning, the script /etc/rc.suspend is not 
executed when going to S3 and also the /etc/rc.resume when waking up. 
Filepermissions are 755. Any ideas?

BTW: Who's invoking these scripts? I saw it in apmd.conf but as I use acpi 
instead of apm this should not be relevant.

greetings,
Ede

   
-
Jetzt Mails schnell in einem Vorschaufenster überfliegen. Dies und viel mehr 
bietet das  neue Yahoo! Mail. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 7B4 scheduling question

2007-12-30 Thread Jonathan Horne
On Sunday 30 December 2007 05:27:15 am Kris Kennaway wrote:
> Yes, ULE is the recommended scheduler.

out of curiosity, if the ULE is becoming the standard, then why does the 
GENERIC config still have the 4BSD as the default?

im curious to know, since im rebuilding a badly-behaving 7.0-RC1 box that was 
locking up under the loads of building kernel.  (installed at BETA4, now 
building up to RC1 as i type...)

cheers,
-- 
Jonathan Horne
http://dfwlpiki.dfwlp.org
[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: healthd

2007-12-30 Thread Roland Smith
On Sun, Dec 30, 2007 at 04:00:12PM +0100, Michael Grant wrote:
> I installed healthd hoping it would show me the cpu temperatures and
> fan speeds for my motherboard but it's reporting some crazy values
> like fan speeds of -48C and fan speeds of 13000 rpms.

:-)
 
[snip]
> SuperMicro provides a windows utility which reads this data, so in
> theory I should be able to read this data somehow.
[snip]
> And if not via smbmsg, is there some way to get this data?

Try sysutils/mbmon. It can access monitoring chips in multiple ways.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpjuczvMTEuC.pgp
Description: PGP signature


Re: 7B4 scheduling question

2007-12-30 Thread Kris Kennaway

Jonathan Horne wrote:

On Sunday 30 December 2007 05:27:15 am Kris Kennaway wrote:

Yes, ULE is the recommended scheduler.


out of curiosity, if the ULE is becoming the standard, then why does the 
GENERIC config still have the 4BSD as the default?


Release engineers wanted to be conservative in case of problems.  It 
will change post-release.


im curious to know, since im rebuilding a badly-behaving 7.0-RC1 box that was 
locking up under the loads of building kernel.  (installed at BETA4, now 
building up to RC1 as i type...)


Sounds likely to be hardware failure, absent other evidence.

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


gui system information apps

2007-12-30 Thread Jonathan Horne
what are some good 'desktop-docked' system info apps (that run well in 
freebsd), that might be similar in function to grkellm?

i saw many screenshots of beautiful apps for superkaramba, but was pretty 
disappointed that most of them only understand linux devices and fstabs.  was 
wondering what gui apps my peers might be enjoying.

cheers,
-- 
Jonathan Horne
http://dfwlpiki.dfwlp.org
[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: apache portupgrade conflicts with apr-db43

2007-12-30 Thread Tankko
Does anyone know the answer to this?  I am stuck as to how to proceed?

Tankko

On Dec 28, 2007 9:40 AM, Tankko <[EMAIL PROTECTED]> wrote:
> I am upgrading apache...
>
> apache-2.2.6_2  <  needs updating (port has 2.2.6_3)
>
> ...and I get the following error:
>
>
>
> --->  Installing the new version via the port
> ===>  Installing for apache-2.2.6_3
>
> ===>  apache-2.2.6_3 conflicts with installed package(s):
>   apr-db43-1.2.8_2
>
>   They install files into the same place.
>   Please remove them first with pkg_delete(1).
> *** Error code 1
>
>
>
> apr-db43-1.2.8_2 is needed by subversion-1.4.4_1
>
> Why is this happening and what do I need to do to correct it.  I
> figured I'd ask here before I blindly started removing ports.
>
> I am running FreeBSD 6.2-RELEASE
>
> Thanks, Tankko
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: gui system information apps

2007-12-30 Thread Roland Smith
On Sun, Dec 30, 2007 at 10:11:10AM -0600, Jonathan Horne wrote:
> what are some good 'desktop-docked' system info apps (that run well in 
> freebsd), that might be similar in function to grkellm?
> 
> i saw many screenshots of beautiful apps for superkaramba, but was pretty 
> disappointed that most of them only understand linux devices and fstabs.  was 
> wondering what gui apps my peers might be enjoying.

For me, sysutils/conky works fine. 

Things like temperature measurements depend on kernel support (hw.acpi
sysctls, IIRC).

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpxxJXTtyYT0.pgp
Description: PGP signature


Re: installing linux after freebsd (multi-boot)

2007-12-30 Thread Christian Walther
Hi there,

On 30/12/2007, अनुज <[EMAIL PROTECTED]> wrote:
> Hello ,
> I have freebsd6.2 installed with Fedora core 7 and rhe4.
> I am installing rhel5 , when linux installation process starts I get an
> error of /dev/hdc1 busy , can not report to kernel about partition
> layout. In the past I installed linux then FreeBSD.
> Is there some method that rhel5 installation can skip /dev/hdc1
> (freebsd slice) ? saving my freebsd installation

Do you want to install rhel5 on a different disk than your FreeBSD
installation is located on? In this case I would just remove the disk
(unplug the cable) during the installation.

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

Re: Blocking undesirable domains using BIND

2007-12-30 Thread Maxim Khitrov
On Dec 28, 2007 11:28 AM, Rob <[EMAIL PROTECTED]> wrote:
> Kevin Kinsey wrote:
> > Just a question, and I'm not trying to cast doubt on your plan; I'm
> > curious why using BIND for this purpose instead of a proxy, which is
> > a more typical application as I understand it?
>
> I was trying to do something similar.  I didn't research too hard, but 
> figured the only way to use Bind would be to make my server authoritative for 
> all those domains, which meant a huge config file and potential overhead, as 
> well as
> possibly breaking access to desirable servers in the domains.
>
> So hosts seemed easier, but apparently Bind never looks at hosts.  I did find 
> that Squid (which I already had installed and in limited use) has its own DNS 
> resolver, and it does look at hosts first before going to the nameserver.
>
> Then I found this site:  http://everythingisnt.com/hosts.html and put their 
> list in hosts, and now client PCs get a squid error in place of ad junk.  
> Works ok for me ;)
>
>   -Rob
>

Well... you were right about overhead. In the last two days I wrote a
script that would fetch a list of domains from several different
sites, and output a valid BIND configuration file that could be
included in the main config. I just ran the second test and the
results are extremely poor. With only 27,885 blocked domains the
server is now consuming 208 MB of ram. The first time I tried
reloading the full list of domains (91,137 of them) and that nearly
crashed my server. Had to kill bind, remove two of the largest
sources, and try a second time.

Honestly, I can't figure out what BIND could possibly be using so much
memory for. It's taking up about 7 KB for each zone. The zone file
itself is not even 1 KB, and given that all the records are pointing
to the exact same thing it seems to be needlessly wasting memory. In
addition to that, if I comment out the blacklist config file and run
rndc reload, it only frees up about 16 MB. So it doesn't even release
memory when it is no longer needed.

It looks like my plan of using BIND for filtering purposes will not
work. Given how poorly it performed on this test I'm actually inclined
to try another name server to see if something else would be more
memory-efficient. If I can't find anything then I'll need to put some
other piece of software to intercept BIND's recursive queries and
block the domains that way.

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


Re: Photo organizer for FreeBSD?

2007-12-30 Thread Peter Boosten

Quoting Girish Venkatachalam <[EMAIL PROTECTED]>:



You can trivially do this with the convert command. Refer to my article.

http://linuxjournal.com/9566


You mean: http://www.linuxjournal.com/article/9696

;-)

Peter

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


Re: pkg_delete: package 'xorg-drivers-7.3' doesn't have a prefix

2007-12-30 Thread Peter Boosten

Quoting Eric Crist <[EMAIL PROTECTED]>:


On Dec 28, 2007, at 12:47 PM, Stephen Montgomery-Smith wrote:


Mon Si wrote:

Dear list,
I'm experiencing problems when I try to portupgrade the xorg-driver
port. The old version of the port can't be uninstalled during the
portupgrade due to an undefined prefix.
The port can't be deleted by "pkg_delete -f xorg-drivers-7.3"
Does anybody know how to upgrade / remove this port?
Thanks in advance,
Simon


If nothing else works, you could try
rm -rf /var/db/pkg/xorg-drivers-7.3


If I remember correctly, there are detailed instructions in
/usr/ports/UPDATING -- go back to notes for sometime in May of 2007,
and there's a really long entry on upgraded to Xorg 7.x from 6.9.  I
think the entry specifically mentions 7.2, but it should work for 7.3
as well.



The following worked for me: In /usr/ports/x11-drivers/xorg-drivers do
make config

then portupgrade -f xorg-drivers

Peter

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


Re: Blocking undesirable domains using BIND

2007-12-30 Thread Darren Spruell
On Dec 30, 2007 9:52 AM, Maxim Khitrov <[EMAIL PROTECTED]> wrote:
> > I was trying to do something similar.  I didn't research too hard, but 
> > figured the only way to use Bind would be to make my server authoritative 
> > for all those domains, which meant a huge config file and potential 
> > overhead, as well as
> > possibly breaking access to desirable servers in the domains.
> >
> > So hosts seemed easier, but apparently Bind never looks at hosts.  I did 
> > find that Squid (which I already had installed and in limited use) has its 
> > own DNS resolver, and it does look at hosts first before going to the 
> > nameserver.
> >
> > Then I found this site:  http://everythingisnt.com/hosts.html and put their 
> > list in hosts, and now client PCs get a squid error in place of ad junk.  
> > Works ok for me ;)
> Well... you were right about overhead. In the last two days I wrote a
> script that would fetch a list of domains from several different
> sites, and output a valid BIND configuration file that could be
> included in the main config. I just ran the second test and the
> results are extremely poor. With only 27,885 blocked domains the
> server is now consuming 208 MB of ram. The first time I tried
> reloading the full list of domains (91,137 of them) and that nearly
> crashed my server. Had to kill bind, remove two of the largest
> sources, and try a second time.

Nearly 100,000 zones on that server is a fairly impressive amount.
Give it credit for what you're trying to do. :) Nonetheless, crashing
is unacceptable.

> Honestly, I can't figure out what BIND could possibly be using so much
> memory for. It's taking up about 7 KB for each zone. The zone file
> itself is not even 1 KB, and given that all the records are pointing
> to the exact same thing it seems to be needlessly wasting memory. In
> addition to that, if I comment out the blacklist config file and run
> rndc reload, it only frees up about 16 MB. So it doesn't even release
> memory when it is no longer needed.

My experience, albeit with a smaller number of zones, is a bit different.

First  you need to account for main program memory and memory utilized
by the nameserver's cache, if any. You may also be running your own
authoritative zones which will add memory utilization outside of that.
You can't account for all of the utilized memory in your additional
blocking zones.

Without my blocking zones loaded, I have 6 native zones on my
nameserver and the resident memory size of named is 2.2 MB. After a
fresh server startup, I expect minimum memory for cached records, so
that comes out to be about 375 KB/zone, unscientifically. If I restart
named (kill and start server fresh) with my blocking zones in the
config, I come out with 17239 zones and a resident process memory size
of 59 MB. (Unscientifically again,) this breaks down to about 3.5
KB/zone.

In my configuration, each of these blocking zones points to a simple
zone file 244B in size on disk:

$TTL 86400
@   IN  SOA ns.local. admin.local. (
1   ; serial
1h  ; refresh
30m ; retry
7d  ; expiration
1h ); minimum

IN  NS  ns.local.

IN  A   127.0.0.1
*   IN  A   127.0.0.1

So all told, I seem to notice somewhat slimmer utilization than you
(roughly half the memory utilization per zone, and though I have 61%
as many zones loaded my named takes only 28% of the memory yours
does.)

> It looks like my plan of using BIND for filtering purposes will not
> work. Given how poorly it performed on this test I'm actually inclined
> to try another name server to see if something else would be more
> memory-efficient.

You will almost certainly find most of the popular alternatives to be
much more resource efficient. djbdns in particular would be my next
choice if memory efficiency and stability are concerns.

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


Re: installing linux after freebsd (multi-boot)

2007-12-30 Thread अनुज
I want to install rhel5 on same hard disk. Freebsd6.2 slice is on
primary partition , second OS is Fedora 7, 3rd is rhel4 (want to fresh
install rhel5 over rhel4) .
I can see freebsd mentioned in my rhel partitioning section, most
likely linux does not have support for freebsd slice.
Last time too I had do format my FreeBSD just for RHEL4/Fedora, and I
dont want to format FreeBSD just to install linux. Is there some
method to avoid formatting FreeBSD every time I fresh install linux? I
have two disks , second disk I use for saving data.


Thanks and Regards
Anuj Singh "anugunj".



On Dec 30, 2007 10:19 PM, Christian Walther <[EMAIL PROTECTED]> wrote:
> Hi there,
>
>
> On 30/12/2007, अनुज <[EMAIL PROTECTED]> wrote:
> > Hello ,
> > I have freebsd6.2 installed with Fedora core 7 and rhe4.
> > I am installing rhel5 , when linux installation process starts I get an
> > error of /dev/hdc1 busy , can not report to kernel about partition
> > layout. In the past I installed linux then FreeBSD.
> > Is there some method that rhel5 installation can skip /dev/hdc1
> > (freebsd slice) ? saving my freebsd installation
>
> Do you want to install rhel5 on a different disk than your FreeBSD
> installation is located on? In this case I would just remove the disk
> (unplug the cable) during the installation.
>
> HTH
> Christian
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

dlopen(), atexit() on FreeBSD

2007-12-30 Thread Markus Hoenicka
Hi,

I bumped into a platform-specific problem when using the Firebird
database client library in a dlopen()ed module on FreeBSD. libdbi
(http://libdbi.sourceforge.net) is a database abstraction layer which
dlopen()s available database drivers at runtime to provide
connectivity to various database engines. This design works without
problems on a variety of platforms and with a variety of database
client libraries, but causes a segfault with Firebird on FreeBSD:

#0  0x28514fe4 in ?? ()
#1  0x281507c3 in __cxa_finalize () from /lib/libc.so.6
#2  0x281503fe in exit () from /lib/libc.so.6
#3  0x0804a40f in main (argc=1, argv=0xbfbfe754) at test_dbi.c:419

The application crashes when exit() is called. Googling told me that
__cxa_finalize () is invoked by atexit(). Our drivers and apps do not
use this function, but the firebird client libraries do:

[EMAIL PROTECTED]:~/prog/libdbi-drivers/tests# grep atexit /usr/local/lib/libfb*
Binary file /usr/local/lib/libfbclient.so matches
Binary file /usr/local/lib/libfbembed.so matches

Googling also told me that the conflict between atexit() and dlopen()
on FreeBSD is a known problem, see e.g.:

http://www.imagemagick.org/pipermail/magick-developers/2006-March/002523.html

Is there anything I can do about this from my end?

regards,
Markus
-- 
Markus Hoenicka
[EMAIL PROTECTED]
(Spam-protected email: replace the quadrupeds with "mhoenicka")
http://www.mhoenicka.de

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


Imaging to new system

2007-12-30 Thread Robert Fitzpatrick
I have a server running 5.4-RELEASE using RAID-5 on an Intel RAID
controller that I need to move to faster RAID. Is it possible to image
or some other way to save the current install and restore after setting
up the RAID or should I just plan to reinstall everything?

-- 
Robert

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


Re: Imaging to new system

2007-12-30 Thread Darren Spruell
On Dec 30, 2007 10:54 AM, Robert Fitzpatrick <[EMAIL PROTECTED]> wrote:
> I have a server running 5.4-RELEASE using RAID-5 on an Intel RAID
> controller that I need to move to faster RAID. Is it possible to image
> or some other way to save the current install and restore after setting
> up the RAID or should I just plan to reinstall everything?

Running dump(8) and restore(8) would allow you to back up and restore
your system.

http://www.freebsd.org/cgi/man.cgi?query=dump
http://www.freebsd.org/cgi/man.cgi?query=restore

This is typically used with tape, although you can dump to disk as well.

If your data/system is critical, you ought to already have some backup
strategy you could restore the system from to your new RAID. If not,
you might put one in place (RAID != backups).

-- 
Darren Spruell
[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: Imaging to new system

2007-12-30 Thread Robert Fitzpatrick
On Sun, 2007-12-30 at 11:10 -0700, Darren Spruell wrote:
> On Dec 30, 2007 10:54 AM, Robert Fitzpatrick <[EMAIL PROTECTED]> wrote:
> > I have a server running 5.4-RELEASE using RAID-5 on an Intel RAID
> > controller that I need to move to faster RAID. Is it possible to image
> > or some other way to save the current install and restore after setting
> > up the RAID or should I just plan to reinstall everything?
> 
> Running dump(8) and restore(8) would allow you to back up and restore
> your system.
> 
> http://www.freebsd.org/cgi/man.cgi?query=dump
> http://www.freebsd.org/cgi/man.cgi?query=restore
> 
> This is typically used with tape, although you can dump to disk as well.
> 
> If your data/system is critical, you ought to already have some backup
> strategy you could restore the system from to your new RAID. If not,
> you might put one in place (RAID != backups).
> 

Yes, of course, we have data backup and can restore after reinstalling
everything, but I was looking for a complete system restore option. I'll
look into these docs, thanks. There is no tape system, so I guess the
only hope is if it can be dumped and restored from an NFS drive. From
looking at the docs, it does appear this is possible, as long as the
data in on a fs mounted by fstab?

-- 
Robert

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


Re: installing linux after freebsd (multi-boot)

2007-12-30 Thread jery

अनुज wrote:

I want to install rhel5 on same hard disk. Freebsd6.2 slice is on
primary partition , second OS is Fedora 7, 3rd is rhel4 (want to fresh
install rhel5 over rhel4) .
I can see freebsd mentioned in my rhel partitioning section, most
likely linux does not have support for freebsd slice.
Last time too I had do format my FreeBSD just for RHEL4/Fedora, and I
dont want to format FreeBSD just to install linux. Is there some
method to avoid formatting FreeBSD every time I fresh install linux? I
have two disks , second disk I use for saving data.


Thanks and Regards
Anuj Singh "anugunj".



On Dec 30, 2007 10:19 PM, Christian Walther <[EMAIL PROTECTED]> wrote:
  

Hi there,


On 30/12/2007, अनुज <[EMAIL PROTECTED]> wrote:


Hello ,
I have freebsd6.2 installed with Fedora core 7 and rhe4.
I am installing rhel5 , when linux installation process starts I get an
error of /dev/hdc1 busy , can not report to kernel about partition
layout. In the past I installed linux then FreeBSD.
Is there some method that rhel5 installation can skip /dev/hdc1
(freebsd slice) ? saving my freebsd installation
  

Do you want to install rhel5 on a different disk than your FreeBSD
installation is located on? In this case I would just remove the disk
(unplug the cable) during the installation.

HTH
Christian





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

hello,
  i have installed rhel5,Debian Gnu/Linux,FreeBsd6.2, on the 
same hard disk. Try installing  rhel5 on the current rhel4 partition. i 
have done that and i never had to format FreeBSD  every time i install 
Gnu/Linux.


jery 
  
___

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


Re: rc.resume and rc.suspend not executed on 6.2-RELEASE with acpi

2007-12-30 Thread Nate Lawson
Ede Ratzefick wrote:
> Hi,
> 
> on my 6.2-RELEASE with acpi runnning, the script /etc/rc.suspend is not 
> executed when going to S3 and also the /etc/rc.resume when waking up. 
> Filepermissions are 755. Any ideas?
> 
> BTW: Who's invoking these scripts? I saw it in apmd.conf but as I use acpi 
> instead of apm this should not be relevant.

If you're using the apm -z command or zzz, they will be executed.  If
you use the physical sleep button, they will not.  Fixing this required
some API changes as the kernel can't run usermode scripts directly and
the button is handled by a kernel driver.

If you try 7.0 or -current, you should find this works for you.

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


Re: installing linux after freebsd (multi-boot)

2007-12-30 Thread jery

 wrote:

I want to install rhel5 on same hard disk. Freebsd6.2 slice is on
primary partition , second OS is Fedora 7, 3rd is rhel4 (want to fresh
install rhel5 over rhel4) .
I can see freebsd mentioned in my rhel partitioning section, most
likely linux does not have support for freebsd slice.
Last time too I had do format my FreeBSD just for RHEL4/Fedora, and I
dont want to format FreeBSD just to install linux. Is there some
method to avoid formatting FreeBSD every time I fresh install linux? I
have two disks , second disk I use for saving data.


Thanks and Regards
Anuj Singh "anugunj".



On Dec 30, 2007 10:19 PM, Christian Walther <[EMAIL PROTECTED]> wrote:
  

Hi there,


On 30/12/2007,  <[EMAIL PROTECTED]> wrote:


Hello ,
I have freebsd6.2 installed with Fedora core 7 and rhe4.
I am installing rhel5 , when linux installation process starts I get an
error of /dev/hdc1 busy , can not report to kernel about partition
layout. In the past I installed linux then FreeBSD.
Is there some method that rhel5 installation can skip /dev/hdc1
(freebsd slice) ? saving my freebsd installation
  

Do you want to install rhel5 on a different disk than your FreeBSD
installation is located on? In this case I would just remove the disk
(unplug the cable) during the installation.

HTH
Christian





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

hello,

Install/upgrade rhel5 on the rhel4 partition. i have done that and i 
never had to format FreeBsd partition for a
fresh linux installation. i am running Debian Gnu/Linux,rhel5,and 
FreeBSD on the same hard disk,i have installed rhel5 many time's without 
formatting Freebsd partition.


jery


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


Re: Imaging to new system

2007-12-30 Thread Darren Spruell
On Dec 30, 2007 11:47 AM, Robert Fitzpatrick <[EMAIL PROTECTED]> wrote:
> > Running dump(8) and restore(8) would allow you to back up and restore
> > your system.
> >
> > http://www.freebsd.org/cgi/man.cgi?query=dump
> > http://www.freebsd.org/cgi/man.cgi?query=restore
> >
> > This is typically used with tape, although you can dump to disk as well.
> >
> > If your data/system is critical, you ought to already have some backup
> > strategy you could restore the system from to your new RAID. If not,
> > you might put one in place (RAID != backups).
>
> Yes, of course, we have data backup and can restore after reinstalling
> everything, but I was looking for a complete system restore option. I'll
> look into these docs, thanks. There is no tape system, so I guess the
> only hope is if it can be dumped and restored from an NFS drive. From
> looking at the docs, it does appear this is possible, as long as the
> data in on a fs mounted by fstab?

Can be data on a mounted fs or an umounted filesystem altogether:

  'files-to-dump' is either a mountpoint of a filesystem or a list of files
  and directories on a single filesystem to be backed up as a subset of the
  filesystem.  In the former case, either the path to a mounted filesystem
  or the device of an unmounted filesystem can be used.  (dump(8))

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


Re: Photo organizer for FreeBSD?

2007-12-30 Thread Girish Venkatachalam
On 17:56:46 Dec 30, Peter Boosten wrote:

> You mean: http://www.linuxjournal.com/article/9696
>
> ;-)
>

I got my math wrong and my memory failed. ;)

Thanks.

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


Re: healthd

2007-12-30 Thread Michael Grant
On Dec 30, 2007 4:56 PM, Roland Smith <[EMAIL PROTECTED]> wrote:
> On Sun, Dec 30, 2007 at 04:00:12PM +0100, Michael Grant wrote:
> > I installed healthd hoping it would show me the cpu temperatures and
> > fan speeds for my motherboard but it's reporting some crazy values
> > like fan speeds of -48C and fan speeds of 13000 rpms.
>
> :-)
>
> [snip]
> > SuperMicro provides a windows utility which reads this data, so in
> > theory I should be able to read this data somehow.
> [snip]
> > And if not via smbmsg, is there some way to get this data?
>
> Try sysutils/mbmon. It can access monitoring chips in multiple ways.
>
> Roland
> --
> R.F.Smith   http://www.xs4all.nl/~rsmith/
> [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
> pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)

Ok, I tried mbmon.  It produces equally strange results:

# mbmon -I
Temp.= 208.0,  0.0,  0.0; Rot.= 8035, 3443, 3515
Vcore = 4.08, 4.08; Volt. = 4.08, 5.03, 11.49,   0.72,  1.94

That's 208 degrees C, not believable.

mbmon wouldn't talk to the smbus, if I ran it like this it produced
the following:

# mbmon -S
InitMBInfo: Device not configured

# mbmon -d -A
SMBus[Intel8XX(ICH/ICH2/ICH3/ICH4/ICH5/ICH6)] found, but No HWM
available on it!!
Summary of Detection:
 * ISA monitor(s):
  ** Winbond Chip W83627HF/THF/THF-A found.

This chip is definitely supported by mbmon.  I read through the
motherboard manual.  It makes no mention to this chip.  The sensor
appears to be built into the motherboard and supported by the cpu.  In
other words, there's nothing special to do, I do not need a separate
sensor under the chip, it's all built-in.  The temperature should be
more like 40C and the system should automatically shut down at about
80C, so 208C is definitely not right.

What other things have people done when this data reported by healthd
and mbmon are totally wacko?

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


Re: Blocking undesirable domains using BIND

2007-12-30 Thread Maxim Khitrov
On Dec 30, 2007 12:31 PM, Darren Spruell <[EMAIL PROTECTED]> wrote:
> On Dec 30, 2007 9:52 AM, Maxim Khitrov <[EMAIL PROTECTED]> wrote:
> > > I was trying to do something similar.  I didn't research too hard, but 
> > > figured the only way to use Bind would be to make my server authoritative 
> > > for all those domains, which meant a huge config file and potential 
> > > overhead, as well as
> > > possibly breaking access to desirable servers in the domains.
> > >
> > > So hosts seemed easier, but apparently Bind never looks at hosts.  I did 
> > > find that Squid (which I already had installed and in limited use) has 
> > > its own DNS resolver, and it does look at hosts first before going to the 
> > > nameserver.
> > >
> > > Then I found this site:  http://everythingisnt.com/hosts.html and put 
> > > their list in hosts, and now client PCs get a squid error in place of ad 
> > > junk.  Works ok for me ;)
> > Well... you were right about overhead. In the last two days I wrote a
> > script that would fetch a list of domains from several different
> > sites, and output a valid BIND configuration file that could be
> > included in the main config. I just ran the second test and the
> > results are extremely poor. With only 27,885 blocked domains the
> > server is now consuming 208 MB of ram. The first time I tried
> > reloading the full list of domains (91,137 of them) and that nearly
> > crashed my server. Had to kill bind, remove two of the largest
> > sources, and try a second time.
>
> Nearly 100,000 zones on that server is a fairly impressive amount.
> Give it credit for what you're trying to do. :) Nonetheless, crashing
> is unacceptable.
>
> > Honestly, I can't figure out what BIND could possibly be using so much
> > memory for. It's taking up about 7 KB for each zone. The zone file
> > itself is not even 1 KB, and given that all the records are pointing
> > to the exact same thing it seems to be needlessly wasting memory. In
> > addition to that, if I comment out the blacklist config file and run
> > rndc reload, it only frees up about 16 MB. So it doesn't even release
> > memory when it is no longer needed.
>
> My experience, albeit with a smaller number of zones, is a bit different.
>
> First  you need to account for main program memory and memory utilized
> by the nameserver's cache, if any. You may also be running your own
> authoritative zones which will add memory utilization outside of that.
> You can't account for all of the utilized memory in your additional
> blocking zones.
>
> Without my blocking zones loaded, I have 6 native zones on my
> nameserver and the resident memory size of named is 2.2 MB. After a
> fresh server startup, I expect minimum memory for cached records, so
> that comes out to be about 375 KB/zone, unscientifically. If I restart
> named (kill and start server fresh) with my blocking zones in the
> config, I come out with 17239 zones and a resident process memory size
> of 59 MB. (Unscientifically again,) this breaks down to about 3.5
> KB/zone.
>
> In my configuration, each of these blocking zones points to a simple
> zone file 244B in size on disk:
>
> $TTL 86400
> @   IN  SOA ns.local. admin.local. (
> 1   ; serial
> 1h  ; refresh
> 30m ; retry
> 7d  ; expiration
> 1h ); minimum
>
> IN  NS  ns.local.
>
> IN  A   127.0.0.1
> *   IN  A   127.0.0.1
>
> So all told, I seem to notice somewhat slimmer utilization than you
> (roughly half the memory utilization per zone, and though I have 61%
> as many zones loaded my named takes only 28% of the memory yours
> does.)
>
> > It looks like my plan of using BIND for filtering purposes will not
> > work. Given how poorly it performed on this test I'm actually inclined
> > to try another name server to see if something else would be more
> > memory-efficient.
>
> You will almost certainly find most of the popular alternatives to be
> much more resource efficient. djbdns in particular would be my next
> choice if memory efficiency and stability are concerns.
>
> DS
>

I was using the exact same zone file as you, one real master zone, and
the three slave root zones from the default config. Not sure why it
reacted as it did to the blacklist config, but I think I now found a
perfect solution. This morning I played around with MaraDNS, which is
actually a pretty good DNS server. One problem with it was that it
didn't allow includes in the main config. That means that everything
has to be in a single file and that's a bit messy. It did a lot better
with memory usage, taking up about 70MB for 27 or 28 thousand domains,
but still not great.

I then installed dnsmasq, which is able to read domain info from the
hosts file. Just for the fun of it, I loaded domains from all th

bash and $LANG and meta-key bindings

2007-12-30 Thread Michael Grant
I upgraded from 6.2 to 6.3-prerelease and I noticed something very
strange with bash (or perhaps readline).

I have had for many hears this in my .bash_login:

export LANG=en_US.ISO8859-15

This makes 8-bit characters come out as accented characters instead of
character codes like .  However, with the upgrade to 6.3pre,
something has changed.  Same bash binary.

If I set $LANG like this, certain meta-bindings like this do not work:

bind '"\M-p": history-search-backward'
bind '"\M-n": history-search-forward'

Before the upgrade, m-p would go to the previous command or the
previous command like the one that was partially typed in.  Now, it
produces a : prompt.  If I remove the LANG setting from my
.bash_login, it works fine.

So either I can have proper accented characters or I can have working
meta key bindings with bash (and readline), but not both.  Anyone know
of a fix for this?  Am I setting LANG in the wrong place?  I have
tried putting these bindings into my .inputrc but that didn't help.

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


Re: remote x session

2007-12-30 Thread Jonathan Horne
On Thursday 27 December 2007 02:35:05 am Steve Franks wrote:
> Perhaps I misunderstand, but I use x11vnc on the 'server' and
> vncviewer or tightvnc on the 'client'.  There are several pages to
> google on tunneling it thru ssh, and it's much better with latency
> than sending x iteslf over ssh, I'm told.  If you start x11vnc with no
> options, it will export the current session/desktop, but there is a
> switch to have it spawn a new x session also.  All the other vnc ports
> only spawn new sessions, and I usually use it to help my wife fix
> problems when I'm away at the office ;)
>
> Best,
> Steve

well ultimately, im looking for something that i can operate a headless server 
with.  the server itself wouldnt be pre-logged into any x session (be it kde, 
gnome, xfce or whatever), so thats why im trying to get its x session into a 
window of my local desktop.

i need to read up on x11vnc, and if it would do that, then i would open to 
looking at that to fill my need.

cheers,
-- 
Jonathan Horne
http://dfwlpiki.dfwlp.org
freebsd08 [EMAIL PROTECTED] dfwlp.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: remote x session

2007-12-30 Thread Darren Spruell
On Dec 30, 2007 7:16 PM, Jonathan Horne <[EMAIL PROTECTED]> wrote:
> On Thursday 27 December 2007 02:35:05 am Steve Franks wrote:
> > Perhaps I misunderstand, but I use x11vnc on the 'server' and
> > vncviewer or tightvnc on the 'client'.  There are several pages to
> > google on tunneling it thru ssh, and it's much better with latency
> > than sending x iteslf over ssh, I'm told.  If you start x11vnc with no
> > options, it will export the current session/desktop, but there is a
> > switch to have it spawn a new x session also.  All the other vnc ports
> > only spawn new sessions, and I usually use it to help my wife fix
> > problems when I'm away at the office ;)
> >
> > Best,
> > Steve
>
> well ultimately, im looking for something that i can operate a headless server
> with.  the server itself wouldnt be pre-logged into any x session (be it kde,
> gnome, xfce or whatever), so thats why im trying to get its x session into a
> window of my local desktop.

There is the XDMCP option, which allows you to remotely connect to an
X display manager for full, remote display sessions. This isn't
regarded to be a secure solution by most people.

If your remote system is a server, do you have a need for remote
desktop access? If you have one or two X applications on the remote
server, could you just get by with SSH X11 forwarding to access those
applications from your management station's display?

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


Re: installing linux after freebsd (multi-boot)

2007-12-30 Thread अनुज Anuj Singh
On Dec 31, 2007 11:28 AM, jery <[EMAIL PROTECTED]> wrote:
>  wrote:
> > I want to install rhel5 on same hard disk. Freebsd6.2 slice is on
> > primary partition , second OS is Fedora 7, 3rd is rhel4 (want to fresh
> > install rhel5 over rhel4) .
> > I can see freebsd mentioned in my rhel partitioning section, most
> > likely linux does not have support for freebsd slice.
> > Last time too I had do format my FreeBSD just for RHEL4/Fedora, and I
> > dont want to format FreeBSD just to install linux. Is there some
> > method to avoid formatting FreeBSD every time I fresh install linux? I
> > have two disks , second disk I use for saving data.
> >
> >
> > Thanks and Regards
> > Anuj Singh "anugunj".
> >
> >
> >
> > On Dec 30, 2007 10:19 PM, Christian Walther <[EMAIL PROTECTED]> wrote:
> >
> >> Hi there,
> >>
> >>
> >> On 30/12/2007,  <[EMAIL PROTECTED]> wrote:
> >>
> >>> Hello ,
> >>> I have freebsd6.2 installed with Fedora core 7 and rhe4.
> >>> I am installing rhel5 , when linux installation process starts I get an
> >>> error of /dev/hdc1 busy , can not report to kernel about partition
> >>> layout. In the past I installed linux then FreeBSD.
> >>> Is there some method that rhel5 installation can skip /dev/hdc1
> >>> (freebsd slice) ? saving my freebsd installation
> >>>
> >> Do you want to install rhel5 on a different disk than your FreeBSD
> >> installation is located on? In this case I would just remove the disk
> >> (unplug the cable) during the installation.
> >>
> >> HTH
> >> Christian
> >>
> >>
> >> 
> >>
> >> ___
> >> freebsd-questions@freebsd.org mailing list
> >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> >> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> hello,
>
> Install/upgrade rhel5 on the rhel4 partition. i have done that and i
> never had to format FreeBsd partition for a
> fresh linux installation. i am running Debian Gnu/Linux,rhel5,and
> FreeBSD on the same hard disk,i have installed rhel5 many time's without
> formatting Freebsd partition.
>
Hi,
1. I am trying to fresh install over single disk.
2. I have FreeBSD6.2 slice on first primary partition of the disk.

can I have a look at your partition table ?
I have IDE hard disk.
Regards.
Anuj singh "anugunj"

>
> jery
>
>
> ___
> 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: remote x session

2007-12-30 Thread Jonathan Horne
On Sunday 30 December 2007 09:00:27 pm Darren Spruell wrote:
> There is the XDMCP option, which allows you to remotely connect to an
> X display manager for full, remote display sessions. This isn't
> regarded to be a secure solution by most people.
>
> If your remote system is a server, do you have a need for remote
> desktop access? If you have one or two X applications on the remote
> server, could you just get by with SSH X11 forwarding to access those
> applications from your management station's display?
>
> DS

well, the part i didnt mention before, was the method behind the madness.  its 
actually a jail-host, with 3 jails running. my intention, is to keep the 
latest of kde, gnome, and xfce built on each, and just remotely attach to (or 
forward) its x session from my main workstation.  i vision it basically 
working just like when i sit down to my workstation, and type 'startx'.

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


How to not start syslogd

2007-12-30 Thread Jeffrey Goldberg
I've installed and configured syslog-ng from ports and no longer wish  
to have the standard syslogd run.


Putting

  syslogd_enable="NO"

into /etc/rc.conf did not prevent it from starting.

Of course I can see lots of ways of preventing syslogd from starting.   
I could remove the binary, I could remove /etc/rc.d/syslogd, but I  
would like to know if there is a recommended, easy to undo, and update  
resistant way of doing this.


Thanks,

-j

--
Jeffrey Goldberghttp://www.goldmark.org/jeff/

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


Auto-shutdown of Hard Drive with 6.2

2007-12-30 Thread David M. Patronis
I have 6.2 installed on an ancient AT machine. I'd like to have the OS 
shut off the hard drive when I halt the system from the KDE interface. 
What do I edit, and what code do I use to achieve this?


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


Re: How to not start syslogd

2007-12-30 Thread Bill Moran
Jeffrey Goldberg <[EMAIL PROTECTED]> wrote:
>
> I've installed and configured syslog-ng from ports and no longer wish  
> to have the standard syslogd run.
> 
> Putting
> 
>syslogd_enable="NO"
> 
> into /etc/rc.conf did not prevent it from starting.

The above works on every system I've done it to (which is quite a few).

I suspect you've either got a typo in your rc.conf, or a corrupt/nonstandard
/etc/rc.d/syslogd file, or some other oddity preventing it from working.

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


Why aren't more secure download options offered?

2007-12-30 Thread abi

Hello FreeBSD representative,

I am new to the FreeBSD community. In the past I have typically installed
a linux variant in my home systems, but recently decided to give FreeBSD a
try since I could not find a distribution that fit my needs.

I believe that fbsd is a good platform, but have found some areas that I'd
like to point out. They are both rooted in the idea of a secure file
transfer and file validation.

Why isn't checksum information provided for packages? These are found in
this directory:
ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/6.2-RELEASE/packages/

I can't seem to find any documentation anywhere. These are for all of the
.tbz packages. The information is provided for every file except for
these. Also, instead of the ftp protocol, why don't you offer download
options like https? I am sure that many people are interested in such an
option.

I have ordered a CD for the toolkit, and want to verify the checksums online.

Thanks,
Abiron Arroyo
[EMAIL PROTECTED]




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


Boot menu damaged

2007-12-30 Thread E. J. Cerejo
I'm running FreeBSD 6 stable and I lost my boot menu after reinstalling xp and 
tried to fix it by booting with instalation cd and run "fdisk -B -b /boot/boot0 
/dev/ad0" it restored it but when I boot I get the mountroot> prompt, it fails 
to mount ad0s2a, b, c, d.  Is it possible to fix this or do I have to reinstall 
freebsd?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Boot Menu Damaged

2007-12-30 Thread E. J. Cerejo
I'm running FreeBSD 6 stable and I lost my boot menu after reinstalling xp 
and tried to fix it by booting with instalation cd and run "fdisk -B -b 
/boot/boot0 /dev/ad0" it restored it but when I boot I get the mountroot> 
prompt, it fails to mount ad0s2a, b, c, d.  Is it possible to fix this or do 
I have to reinstall freebsd? 


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