Re: 7.2-STABLE to 8-R

2009-11-25 Thread John
On Tue, Nov 24, 2009 at 10:09:48PM +0100, Roland Smith wrote:
 
 I would _strongly_ advise you to make a list of all your current ports, e.g. 
 with
 'portmaster -L ports.list', deleting all ports and re-installing the ports
 labeled as 'leaf ports' and 'root ports' in ports.list.

oops! already started! ;)

 While portmaster/-manager do their best, they just cannot cover all the corner
 cases, especially since some ports require extra action (e.g. perl!) There is
 a good chance you'll end up with a big mess like binaries linked to both 7.x
 and 8.x libraries or ports failing to build for mysterious reasons. Both have
 happened to me in the past and are a major PITA to fix.

As it happens, I noticed installed perl was 5.8 whilst latest is 5.10,
so that was built before buildworld. I know what you mean, though.

portmanager -u -f -l forces everything to be rebuilt and logs what it
did. I then check the output when it's finished and manually rebuild
what it can't fix. Not failed me yet, although before doing this I
rebuilt portmanager.

-- 
John

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Prompt containing SSH login information

2009-11-25 Thread Artis Caune
2009/11/24 Polytropon free...@edvax.de:
 Hi,

 again, a strange question: I'd like to know if there is a builtin
 means to let the csh's (or bash's) prompt show an information if
 the current dialog session has been opened via SSH from another
 system. The obvious is:

       �...@sys1:~% ssh m...@sys2
       �...@sys2:~% _

 I'd like the second prompt that I've been logged into sys2 by
 sys1, such as

       �...@sys1sys2:~% _

How about this:

- On all servers add the following to sshd_config:
AcceptEnv MYPROMPT
- and the following to ssh_config:
Host *
SendEnv MYPROMPT
- fix shell rc files on servers and workstation:
MYPROMPT=$MYPROMPT$u...@$(hostname -s)
export MYPROMPT

and you will get more than two hosts:
m...@sys1m...@sys2m...@sys3:~%


We use this for root account to give every admin his own:
/root/.zshrc.admin
/root/.zlogin.admin
/root/.zhistory.admin
/root/.vimrc.admin
/root/.viminfo.admin
...



-- 
Artis Caune

Everything should be made as simple as possible, but not simpler.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: pf nuttyness

2009-11-25 Thread krad
2009/11/24 Brian McCann bjmcc...@gmail.com

 I'm at the end of my rope here with PF.  I have a ruleset loaded, that
 is long and complicated...but I've shortened to to a pass all rule.
 The box has 4 interfaces, one for pfsync, one for me to connect to it,
 and two bridged interfaces.  The only traffic on the bridged
 interfaces is STP and IP multicast traffic from my EIGRP routers.
 When I run pfctl -s rules -v, the EIGRP multicast traffic never hits
 any rules...yet it's allowed.

 I'm on FreeBSD 7.1.

 Has anyone else come across this before?  I'm ready to throw out
 FreeBSD 7.1 and try OpenBSD for pf use...which would be a shame since
 I use FreeBSD for all my other servers, and having 2 OpenBSD boxes
 would just be... weird...

 --Brian

 --
 _-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_
 Brian McCann

 I don't have to take this abuse from you -- I've got hundreds of
 people waiting to abuse me.
-- Bill Murray, Ghostbusters
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org


pf works at layer3 (ip) bridging works at layer 2 (ethernet/datalink)
therefore the traffic probably never get to the upper layer of the ip stack
where pf works.

You can do l2 filtering with ipfw if you enable the sysctl variable
net.link.bridge.ipfw=1. However im not sure if you can do it with pf on
freebsd. I had a quick scout through the man pages and cant see anything.
However im fairly sure you can to l2 stuff with pf in openbsd.

As your traffic is multicast you could always configure you bsd box as a
multicast router rather than bridging the traffic. pf should see the traffic
then as your working at l3 and above
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Tag for FreeBSD 6.2

2009-11-25 Thread Alex Huth
Hi!

I have a server running 6.2. Now i want to install a jdk on it from packages.
The manual install did not work, because diablo wants older version than
i found. Now i want to use sysinstall, but the re is still 6.2-RELEASE in the
options. This could not longer be found on the mirrors. I also tried 6-STABLE,
but this is also not the right one.
How must i name the tag to get it working?

Thx

Alex
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Why in f10 scim doesn't work from skype?

2009-11-25 Thread Boris Samorodov
Yuri y...@rawbw.com writes:

 When I switched from fc6 to f10 scim stopped working in skype. It
 shows the prompt but only English language is available.
 In fc6 scim worked fine from skype.

Aha, this time you gave some additional info which may be helpful.

 I believe scim picks up environment variables: LANG, XMODIFIERS,
 QT_IM_MODULE, XIM, XIM_PROGRAM and displays languages based on them.
 So I think linux infrastructure modifies some of those variables.

 How can I know the current environment variables of the running process?
 Anyone has a solution for this problem?

Not a solution but a wild guess...

You get linux scim with -f10- ports semi-working. That may be
due to the difference of directory/file structures for -f6-
and -f10- cases.

In general linuxulator first search a file/directory at /compat/linux
prefix. If not found the search is made at / directory. But IFF
needed file/directory is found at prefix /compat/linux the search
stops. Usually we remove those directories (from a linux distro
before installing) when native FreeBSD should be used.

Example: /var, /tmp directories are removed form linux_base ports
and are not installed to /compat/linux. So native /var, /tmp are
used at run time. The same should be for scim configuration file
as well as some other directories/files searched at run time.
They should be removed so apropriate FreeBSD destination is used.

I guess that there may be some directory/file structure difference
between -f6- and -f10- cases which causes you a trouble. To be more
precise, I suspect that some directory/file get created/installed
at -10- case which prevent scim to work as expected.

Besides, there may be a case if some needed linux files/libraries
are not installed when using -f10- while they are installed when
using -f6- ports.

Please, give those assuptions a try and report back your results.

-- 
WBR, bsam
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


'freebsd-update upgrade' hosed system - rescuable?

2009-11-25 Thread cali clarke
I just updated to 8.0-RELEASE with freebsd-update.

I ran:

# freebsd-update -r 8.0-RELEASE upgrade
merge config files
# freebsd-update install

I was told to reboot and run freebsd-update install again to complete the
process.

I rebooted into single user mode, mounted /usr and /var and somehow forgot
to
mount / as read-write.

Of course, freebsd-update didn't check to see if it could actually write to
all the
directories it needed to write to first and catastrophically wrote half an
upgrade
(which it now appears to have deleted the source files for) and has broken
my
system (most of the stuff in /usr/bin now depends on libraries in /lib that
were
never written).

What's the quickest and cleanest way out of this mess?

I'll submit a PR if my system ever comes back up.

Please CC, i'm not subscribed.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Tag for FreeBSD 6.2

2009-11-25 Thread Polytropon
On Wed, 25 Nov 2009 12:03:50 +0100, Alex Huth a.h...@tmr.net wrote:
 Hi!
 
 I have a server running 6.2. Now i want to install a jdk on
 it from packages.

You could let the environmental variable PACKAGESITE point at
the correct FreeBSD version number, e. g. 

ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/ports/i386/packages-6.2-release/

so the pkg_add -r command would this location instead of the
Latest location.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: 'freebsd-update upgrade' hosed system - rescuable?

2009-11-25 Thread Polytropon
On Wed, 25 Nov 2009 11:49:44 +, cali clarke xorquew...@googlemail.com 
wrote:
 What's the quickest and cleanest way out of this mess?

You can install the base system from the FreeBSD 8.0-RC
CD-ROM. This should give you a working system again.
Keep an eye on NOT formatting anything.

Using a live system CD-ROM, it would possibly be a good
idea to make a copy of important system configuration
files in /etc.

With such a live system CD-ROM, you can even install
just parts, such as the content of various /usr subtrees
that are affected.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: pf nuttyness

2009-11-25 Thread Vincent Hoffman
krad wrote:
 2009/11/24 Brian McCann bjmcc...@gmail.com

   
 I'm at the end of my rope here with PF.  I have a ruleset loaded, that
 is long and complicated...but I've shortened to to a pass all rule.
 The box has 4 interfaces, one for pfsync, one for me to connect to it,
 and two bridged interfaces.  The only traffic on the bridged
 interfaces is STP and IP multicast traffic from my EIGRP routers.
 When I run pfctl -s rules -v, the EIGRP multicast traffic never hits
 any rules...yet it's allowed.

 I'm on FreeBSD 7.1.

 Has anyone else come across this before?  I'm ready to throw out
 FreeBSD 7.1 and try OpenBSD for pf use...which would be a shame since
 I use FreeBSD for all my other servers, and having 2 OpenBSD boxes
 would just be... weird...

 --Brian
 

Have you read the if_bridge(4) manpage? I'd reccommend starting at the
heading PACKET FILTERING and checking you have the correct sysctl
settings.
pf certainly can filter bridge interfaces according to the manpage. That
said I've never tried it.


Vince
 --
 _-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_
 Brian McCann

 I don't have to take this abuse from you -- I've got hundreds of
 people waiting to abuse me.
-- Bill Murray, Ghostbusters
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org

 

 pf works at layer3 (ip) bridging works at layer 2 (ethernet/datalink)
 therefore the traffic probably never get to the upper layer of the ip stack
 where pf works.

 You can do l2 filtering with ipfw if you enable the sysctl variable
 net.link.bridge.ipfw=1. However im not sure if you can do it with pf on
 freebsd. I had a quick scout through the man pages and cant see anything.
 However im fairly sure you can to l2 stuff with pf in openbsd.

 As your traffic is multicast you could always configure you bsd box as a
 multicast router rather than bridging the traffic. pf should see the traffic
 then as your working at l3 and above
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
   

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Specific interface to default route

2009-11-25 Thread Brian A. Seklecki (CFI NOC)

Anthony M. Rasat wrote:

Dear all,

I have two (ethernet) network interface with IP address within the same subnet, call it msk0 and nfe0. 

Interface msk0 have IP address 192.168.0.2 and nfe0 192.168.0.3 and default router IP address is 192.168.0.1. 



route(8) takes a 'dev' argument, but the community wouldn't endorse what 
you're doing.



Unless you're looking to ensure job security :}

~BAS
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Apache 2.2 mod_ldap refusing to work over SSL/TLS

2009-11-25 Thread Brian A. Seklecki (CFI NOC)



As far as I can tell, it doesn't even get to the certificate
verification phase even though the STARTTLS command is successful.


Is there any level of debugging that can be increased on the Apache side 
?  Possibly a build/compile-time option for the module?


Debugging apache code can always be tricky because of the threaded/child 
process nature.


We use mod_authz_ldap and it works okay, but OpenLDAP an can be a real 
beyotch when it comes to SSL/TLS.


E.g., we feel your pain.  The only way out, is through.

~BAS


Anyone have a clue on what could be causing this?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Apache 2.2 mod_ldap refusing to work over SSL/TLS

2009-11-25 Thread Maxim Khitrov
On Wed, Nov 25, 2009 at 10:46 AM, Brian A. Seklecki (CFI NOC)
sekle...@noc.cfi.pgh.pa.us wrote:

 As far as I can tell, it doesn't even get to the certificate
 verification phase even though the STARTTLS command is successful.

 Is there any level of debugging that can be increased on the Apache side ?
  Possibly a build/compile-time option for the module?

 Debugging apache code can always be tricky because of the threaded/child
 process nature.

 We use mod_authz_ldap and it works okay, but OpenLDAP an can be a real
 beyotch when it comes to SSL/TLS.

 E.g., we feel your pain.  The only way out, is through.

 ~BAS

I figured it out eventually (see [1]). It's been working without any
problems for a few days now.

- Max

[1] 
http://lists.freebsd.org/pipermail/freebsd-questions/2009-November/208195.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


ZFS pools gone?

2009-11-25 Thread cali clarke
I just did a clean install of 8.0-RELEASE.

I am _CERTAIN_ that the drives with ZFS on them were not touched by
the installer.

Having booted the system (with zfs enabled in rc.conf):

# zpool list
no pools available
# zfs list
no datasets available

Any assistance would be helpful.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: 'freebsd-update upgrade' hosed system - rescuable?

2009-11-25 Thread cali clarke
The installer eventually worked on the sixth attempt (I had to use the CD
to load the kernel and then yank the CD out amongst streams of
READ_TIMED_OUT errors).

May have made things worse, however.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ZFS pools gone?

2009-11-25 Thread Ed Jobs
On Wednesday 25 November 2009 18:14, cali clarke wrote:
 I just did a clean install of 8.0-RELEASE.
 
 I am _CERTAIN_ that the drives with ZFS on them were not touched by
 the installer.
 
 Having booted the system (with zfs enabled in rc.conf):
 
did you try
zpool import
?

-- 
Real programmers don't document. If it was hard to write, it should be hard to 
understand.


signature.asc
Description: This is a digitally signed message part.


Re: hp 10-in mini?

2009-11-25 Thread Gary Kline
On Tue, Nov 24, 2009 at 09:23:18PM -0500, Jean-Paul Natola wrote:
 Target has the asus  at 199
 

Cant find?  URL please??


 -Original Message-
 From: Gary Kline [mailto:kl...@thought.org] 
 Sent: Tuesday, November 24, 2009 7:38 PM
 To: Jean-Paul Natola
 Cc: Matt Szubrycht; Doug Poland; FreeBSD Mailing List
 Subject: Re: hp 10-in mini?
 
 On Tue, Nov 24, 2009 at 02:26:46PM -0500, Jean-Paul Natola wrote:
  Im still  trying to locate the 200 HP
  
  Although  bestbuy has the a gateway  for 229 today
  
 
 
   $229 isn't that bad; Bestbuy may be just about breaking even.
   Still, I'm waiting for some store to soak up the loss and sell
   an ASUS at under-cost...
 
 
 -- 
  Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
 http://jottings.thought.org   http://transfinite.thought.org
 The 7.31a release of Jottings: http://jottings.thought.org/index.php
 

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
The 7.31a release of Jottings: http://jottings.thought.org/index.php

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ZFS pools gone?

2009-11-25 Thread Steve Polyack

Ed Jobs wrote:

On Wednesday 25 November 2009 18:14, cali clarke wrote:
  

I just did a clean install of 8.0-RELEASE.

I am _CERTAIN_ that the drives with ZFS on them were not touched by
the installer.

Having booted the system (with zfs enabled in rc.conf):



did you try
zpool import
?

  
This is true, a 'zpool import' will likely be necessary.  I believe 
'zpool import' by itself will just list any pools which ZFS finds by 
searching disks in /dev.  You will need to 'zpool import poolname' 
afterwards to actually import the storage pool.


As you've said that it's a clean install, it may warn you that the pool 
is associated with another system (I saw this when migrating from 
9-Current back to 8.0).  You can simply pass -f to zpool import to 
safely force the operation.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ZFS pools gone?

2009-11-25 Thread cali clarke
Thanks for the replies, all.

An import and upgrade was all that was needed.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


portsnap: metadata is corrupt

2009-11-25 Thread cali clarke
Last one from me today, I hope.

# rm -r /var/db/portsnap /usr/ports  mkdir /var/db/portsnap /usr/ports
# portsnap fetch extract
59mb download
Could not open sha256 string: no such file or directory
metadata is corrupt

I've tried all of the portsnap mirrors and have downloaded the same thing
about ten times now.

8.0-RELEASE amd64.

I've seen various reports of this problem around the web but no solutions.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Quicktime player / Ff?

2009-11-25 Thread Per olof Ljungmark

Hi,

Is it possible to have the Quicktime player with Firefox 3 or 3.5? If 
yes, a hint how to accomplish this would be welcome!


Is /usr/ports/www/mplayer-plugin viable?

Running 7-STABLE, NVidia graphics.

Thanks,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


mysql60-server??

2009-11-25 Thread Gary Kline

kwik one:

in his build-server stuff [6.2], jon horne said to use
mysql50-server.  i see the latest is mysql60

should i go ahead and use the latest mysql database? or just do as the

instruction say?

tia... y'all.



-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
The 7.31a release of Jottings: http://jottings.thought.org/index.php

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: pf nuttyness

2009-11-25 Thread Michael K. Smith - Adhost
 -Original Message-
 From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-
 questi...@freebsd.org] On Behalf Of Brian McCann
 Sent: Tuesday, November 24, 2009 3:03 PM
 To: freebsd-questions
 Subject: pf nuttyness
 
 I'm at the end of my rope here with PF.  I have a ruleset loaded, that
 is long and complicated...but I've shortened to to a pass all rule.
 The box has 4 interfaces, one for pfsync, one for me to connect to it,
 and two bridged interfaces.  The only traffic on the bridged
 interfaces is STP and IP multicast traffic from my EIGRP routers.
 When I run pfctl -s rules -v, the EIGRP multicast traffic never hits
 any rules...yet it's allowed.
 
 I'm on FreeBSD 7.1.
 
 Has anyone else come across this before?  I'm ready to throw out
 FreeBSD 7.1 and try OpenBSD for pf use...which would be a shame since
 I use FreeBSD for all my other servers, and having 2 OpenBSD boxes
 would just be... weird...
 
 --Brian
 
For troubleshooting, try this:

Block in all log
(remove all other log statements)
tcpdump -n -e -ttt -i pflog0

That's provided you set up a pflog0 interface.  If not, add this to
rc.conf
pflog_enable=YES
pflog_logfile=/var/log/pflog

and 'ifconfig pflog0 up'

Mike
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: mysql60-server??

2009-11-25 Thread Matthew Seaman

Gary Kline wrote:

kwik one:

in his build-server stuff [6.2], jon horne said to use
mysql50-server.  i see the latest is mysql60

should i go ahead and use the latest mysql database? or just do as the

instruction say?

tia... y'all.


There are 4 versions of MySQL currently available.  In reverse order of age:

mysql60 -- this is early beta quality (read: it may eat your data) and was the
  vehicle for MySQL to introduce various new table engines in an attempt 
  to ensure their independence from Oracle.


However, Sun bought MySQL and Oracle is in the process of buying Sun.  Oracle
also previously bought Innobase (makers of InnoDB) and Sleepycat (writers of
Berkeley DB) so suddenly all of the current engine types are suddenly back in
the picture: hence

mysql54 -- an incremental upgrade on mysql51.  Late beta quality, good for
  experimenters and developers, but not yet something that should
  be considered for mission critical applications

Prior to that we have:

mysql51 -- MySQL's current GA (generally available) release offering. It's 
  got a number of new features like stored procedures but depending on

  your workloads it may or may not be faster than...

mysql50 -- The previous GA version, and still the most widely deployed version 
at
  the moment.  It is still being actively maintained even if it is 
pretty
  much down-played on MySQL's website.  This is a version that has been
  in all sorts of production use for years and pretty thoroughly 
debugged,
  hence a very safe choice.

In summary: choose either of mysql50 or mysql51 according to preference or your 
particular requirements.

Cheers,

Matthew

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



signature.asc
Description: OpenPGP digital signature


X11's tcp port

2009-11-25 Thread Chuck Robey
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I've got to be doing something wierd, for this not to work ... I wanted to kick
off a app on a 2nd machine of mine, and have it display on my main FreeBSD
machine, but it won't work.  I know all the security things, I know I had xhost
and DISPLAY correct, so I went to check netstat for the ip port 6000 being open,
but netstat shows me no  such port.

I usually, to defeat the nolisten options usually set on, edit my startx file
to remove any such line.  You just search for nolisten tcp or some subset of
that (tcp might get set separately) but as I expected, I'd edited that line out
ages ago, when I last wanted to display a foreign app onto my FreeBSD X11
screen.  However, no matter how I tried to start my X, I can't seem to provoke
netstat to show my ip port 6000.  I tried running my ordinay startxfce4, I tried
kde3, I even tried twm, I just can't get IP port 6000.  You know that without
that port,  you can't run remote X applications.

This used to work.  Any idea why it's stopped working for me?
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAksNhR8ACgkQz62J6PPcoOnTVgCdHjXhyvJLuKEGFklhn/m/Z4/O
gJgAoIcjTqkXQynZlrWeJ1Jkae/jH9hw
=Wgtn
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: mysql60-server??

2009-11-25 Thread Michael Powell
Matthew Seaman wrote:

 Gary Kline wrote:
 kwik one:
 
 in his build-server stuff [6.2], jon horne said to use
 mysql50-server.  i see the latest is mysql60
 
 should i go ahead and use the latest mysql database? or just do as the
 
 instruction say?
[snip]
 
 Prior to that we have:
 
 mysql51 -- MySQL's current GA (generally available) release offering. It's
got a number of new features like stored procedures but
depending on your workloads it may or may not be faster than...
 
 mysql50 -- The previous GA version, and still the most widely deployed
 version at
the moment.  It is still being actively maintained even if it
is pretty
much down-played on MySQL's website.  This is a version that
has been in all sorts of production use for years and pretty
thoroughly debugged, hence a very safe choice.
 
 In summary: choose either of mysql50 or mysql51 according to preference or
 your particular requirements.
 

A lot of people are still using 50 and many consider it faster than 51. I 
think the main difference performance wise is 51 might have a tad heavier 
thread handling performance for the latest and greatest high end quad socket 
quad core boxen. 50 may offer better performance on older more down level 
commodity boxen. I've been running 51 for a quite a while now and haven't 
had any trouble with it, but I'm not hammering it either. If the hardware 
isn't quite up to snuff 50 may actually be a better choice, especially in 
the scenario where web and database are running on the same, albeit slower 
machine. Another factor in the decision might be to consider when EOL may be 
scheduled.  

-Mike



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: X11's tcp port: FIXED

2009-11-25 Thread Chuck Robey
Chuck Robey wrote:
 I've got to be doing something wierd, for this not to work ... I wanted to 
 kick
 off a app on a 2nd machine of mine, and have it display on my main FreeBSD
 machine, but it won't work.  I know all the security things, I know I had 
 xhost
 and DISPLAY correct, so I went to check netstat for the ip port 6000 being 
 open,
 but netstat shows me no  such port.
 
 I usually, to defeat the nolisten options usually set on, edit my startx 
 file
 to remove any such line.  You just search for nolisten tcp or some subset of
 that (tcp might get set separately) but as I expected, I'd edited that line 
 out
 ages ago, when I last wanted to display a foreign app onto my FreeBSD X11
 screen.  However, no matter how I tried to start my X, I can't seem to provoke
 netstat to show my ip port 6000.  I tried running my ordinay startxfce4, I 
 tried
 kde3, I even tried twm, I just can't get IP port 6000.  You know that without
 that port,  you can't run remote X applications.
 
 This used to work.  Any idea why it's stopped working for me?

Can't really say why, but it just began to work, entirely mysteriously.  I would
rather know about these things, but I'll take working over non-working, I guess.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: mysql60-server??

2009-11-25 Thread Gary Kline
On Wed, Nov 25, 2009 at 07:16:41PM +, Matthew Seaman wrote:


 There are 4 versions of MySQL currently available.  In reverse order of age:
 
 mysql60 -- this is early beta quality (read: it may eat your data) and was 
 the
   vehicle for MySQL to introduce various new table engines in an 
   attempt to ensure their independence from Oracle.
 
 However, Sun bought MySQL and Oracle is in the process of buying Sun.  
 Oracle
 also previously bought Innobase (makers of InnoDB) and Sleepycat (writers of
 Berkeley DB) so suddenly all of the current engine types are suddenly back 
 in
 the picture: hence


Thanks for the heads-up, MAtthew.  I'm much too slow to get
all the machinations re which corporation is diddling which
corporation or other entity (like us).  Did not know that
mysql was actually owned by Sun.  I'd ask if there are any
free and open databases, but what db stuff I have is invested
heavily with mysql.  So v 60 is out.  Do you know, off-chance,
which versions are actively being hacked on?  Nothing mission
critical--yet--but I think v51 is the best bet for now.

gary

PS: to the powers-that-be: shouldn't these datapoints be make
public front/center somewhere in ports or elsewhere that
everyone can see? Save bandwidth... .

This is going in my ~/.Notes file... .
 
 mysql54 -- an incremental upgrade on mysql51.  Late beta quality, good for
   experimenters and developers, but not yet something that should
   be considered for mission critical applications
 
 Prior to that we have:
 
 mysql51 -- MySQL's current GA (generally available) release offering. It's 
   got a number of new features like stored procedures but depending 
   on
   your workloads it may or may not be faster than...
 
 mysql50 -- The previous GA version, and still the most widely deployed 
 version at
   the moment.  It is still being actively maintained even if it is 
   pretty
   much down-played on MySQL's website.  This is a version that has 
   been
   in all sorts of production use for years and pretty thoroughly 
   debugged,
   hence a very safe choice.
 
 In summary: choose either of mysql50 or mysql51 according to preference or 
 your particular requirements.
 
   Cheers,
 
   Matthew
 
 -- 
 Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW
 



-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
The 7.31a release of Jottings: http://jottings.thought.org/index.php

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: need a newline between paragraphs....

2009-11-25 Thread Chad Perrin
On Tue, Nov 24, 2009 at 01:19:42PM -0800, Gary Kline wrote:
 On Tue, Nov 24, 2009 at 01:07:41PM -0700, Chad Perrin wrote:
 
   precisely.  in this case, every paragraph that is not on a
   newline wraps.  so anything that has an EOL is a new
   paragraph.

If I understand you correctly, the following should work for your
purposes (as a naive implementation of the concept):

my $contents;

{
  undef $/;
  open(my $fh, '', $in_filename) or die $!;
  $contents = $fh;
}

$contents =~ s/\n+/\n\n/g;

{
  open(my $fh, '', $out_filename) or die $!;
  print($fh $contents);
}

That assumes that you want to turn any and all instances of one or more
consecutive newlines into exacty two newlines.  More finagling might be
required if there may be other adjacent whitespace, which would need to
account for not only possible adjacent whitespace but also possible
whitespace at the beginning of a line with other text on it.  Maybe
something like this:

$contents =~ s/\s*\n+/\n\n/g;

. . . though I haven't thought it through in too much depth with regards
to the implications in edge case circumstances (thus the naive
implementation comment above).


 
   there are a few places that require different formatting; 
   these are easily re-done thanks to OOo!

I'm the kind of guy who would look for a way to automate things so that
re-formatting in OOo wouldn't be necessary, but as long as you're happy,
I guess we win.  Good luck!

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]


pgp43t6WfPaOl.pgp
Description: PGP signature


Re: Quicktime player / Ff?

2009-11-25 Thread Per olof Ljungmark

Per olof Ljungmark wrote:

Hi,

Is it possible to have the Quicktime player with Firefox 3 or 3.5? If 
yes, a hint how to accomplish this would be welcome!


Is /usr/ports/www/mplayer-plugin viable?


To answer my own question,: yes.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: mysql60-server??

2009-11-25 Thread Matthew Seaman

Gary Kline wrote:


Thanks for the heads-up, MAtthew.  I'm much too slow to get
all the machinations re which corporation is diddling which
corporation or other entity (like us).  Did not know that
mysql was actually owned by Sun.  I'd ask if there are any
free and open databases, but what db stuff I have is invested
heavily with mysql.  So v 60 is out.  Do you know, off-chance,
which versions are actively being hacked on?  Nothing mission
critical--yet--but I think v51 is the best bet for now.


Well, what will eventually happen to MySQL is as yet unclear.  It's too
popular and too widespread for Oracle to just kill it, so my best guess
is that they'll keep it on as an open source type project, but they'll
treat it as a means of getting in the door to try and sell Oracle support
in a lot of places.  Which implies that any technology transfer will be
mostly from MySQL to Oracle and precious little in the other direction,
so that the commercial version of Oracle will maintain a technological
edge.

In the mean time, a bunch of die-hard MySQL people have forked a new 
instantiation of that project which isn't under the same commercial

constraints: see http://askmonty.org/wiki/index.php/MariaDB

Active development is mostly occurring on MySQL 5.1 and 5.4 -- not sure
where 6.0 is going although they did have plenty of development goals other
than 'not get borged by Oracle'.

But of course, there is the technically better, almost certainly faster at
real world tasks, but less optimised for noddy benchmarks option: PostgreSQL.
It's BSD licenced, and while there are commercially supported variants,
the core development team and the intellectual property are not structured
in a way to put them at any risk of being gobbled up by some mega-corporation.

Cheers,

Matthew

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



signature.asc
Description: OpenPGP digital signature


Re: mysql60-server??

2009-11-25 Thread Gary Kline
On Wed, Nov 25, 2009 at 02:33:11PM -0500, Michael Powell wrote:
 Matthew Seaman wrote:
 
  Gary Kline wrote:
  kwik one:
  
  in his build-server stuff [6.2], jon horne said to use
  mysql50-server.  i see the latest is mysql60
  
  should i go ahead and use the latest mysql database? or just do as the
  
  instruction say?
 [snip]
  
  Prior to that we have:
  
  mysql51 -- MySQL's current GA (generally available) release offering. It's
 got a number of new features like stored procedures but
 depending on your workloads it may or may not be faster than...
  
  mysql50 -- The previous GA version, and still the most widely deployed
  version at
 the moment.  It is still being actively maintained even if it
 is pretty
 much down-played on MySQL's website.  This is a version that
 has been in all sorts of production use for years and pretty
 thoroughly debugged, hence a very safe choice.
  
  In summary: choose either of mysql50 or mysql51 according to preference or
  your particular requirements.
  
 
 A lot of people are still using 50 and many consider it faster than 51. I 
 think the main difference performance wise is 51 might have a tad heavier 
 thread handling performance for the latest and greatest high end quad socket 
 quad core boxen. 50 may offer better performance on older more down level 
 commodity boxen. I've been running 51 for a quite a while now and haven't 
 had any trouble with it, but I'm not hammering it either. If the hardware 
 isn't quite up to snuff 50 may actually be a better choice, especially in 
 the scenario where web and database are running on the same, albeit slower 
 machine. Another factor in the decision might be to consider when EOL may be 
 scheduled.  
 
 -Mike
 
 

good to know.  thanks for the input!

gary


 

-- 
   Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Misfortune doesn't improve anyone.  That is a fable to reassure the
 afflicted.  A life of hardship humiliates man and forces him to expend
all his energy on resisting its deadly pressure.  If a man comes out of
it improved, it only means that he has spent an enormous amount of energy
on improving in spite of everything.  Just think what he might have done 
without that pressure. --Jiri Mucha, *Living and Partly Living*


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: mysql60-server??

2009-11-25 Thread Gary Kline
On Wed, Nov 25, 2009 at 10:21:37PM +, Matthew Seaman wrote:
 Gary Kline wrote:
 
  Thanks for the heads-up, MAtthew.  I'm much too slow to get
  all the machinations re which corporation is diddling which
  corporation or other entity (like us).  Did not know that
  mysql was actually owned by Sun.  I'd ask if there are any
  free and open databases, but what db stuff I have is invested
  heavily with mysql.  So v 60 is out.  Do you know, off-chance,
  which versions are actively being hacked on?  Nothing mission
  critical--yet--but I think v51 is the best bet for now.
 
 Well, what will eventually happen to MySQL is as yet unclear.  It's too
 popular and too widespread for Oracle to just kill it, so my best guess
 is that they'll keep it on as an open source type project, but they'll
 treat it as a means of getting in the door to try and sell Oracle support
 in a lot of places.  Which implies that any technology transfer will be
 mostly from MySQL to Oracle and precious little in the other direction,
 so that the commercial version of Oracle will maintain a technological
 edge.
 
 In the mean time, a bunch of die-hard MySQL people have forked a new 
 instantiation of that project which isn't under the same commercial
 constraints: see http://askmonty.org/wiki/index.php/MariaDB


Good to know.  THere was one IBM suite that a whole university
here took over and produced a clone.  I used the clone and it
was sold, open-source work.  Eventually, ol 'BM make their
stuff open and free.  Fine.  

 
 Active development is mostly occurring on MySQL 5.1 and 5.4 -- not sure
 where 6.0 is going although they did have plenty of development goals other
 than 'not get borged by Oracle'.
 
 But of course, there is the technically better, almost certainly faster at
 real world tasks, but less optimised for noddy benchmarks option: 
 PostgreSQL.
 It's BSD licenced, and while there are commercially supported variants,
 the core development team and the intellectual property are not structured
 in a way to put them at any risk of being gobbled up by some 
 mega-corporation.


I took a class in the Ingres db suite from one of the guys who wrote
it.  Think that Postgress is a follow-on.   It strikes me as
almost a *certainty* that any commerical project could be done
better by the open-source community.  ---If it's got your
*NAME* on it, you're going to be certain it's superior,
whereas if you're coding just for a paycheck, sure, you'll do
a good job.  But not as outstanding as an open-source suite.


gary


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



-- 
   Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Misfortune doesn't improve anyone.  That is a fable to reassure the
 afflicted.  A life of hardship humiliates man and forces him to expend
all his energy on resisting its deadly pressure.  If a man comes out of
it improved, it only means that he has spent an enormous amount of energy
on improving in spite of everything.  Just think what he might have done 
without that pressure. --Jiri Mucha, *Living and Partly Living*


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


DHCP on bridge0 fails on boot

2009-11-25 Thread Paul Grave
I need some help configure DHCP on my bridge.  I'm pretty much out of ideas, so 
I'd be grateful for any help.  

On boot, I want my FreeBSD install to create a bridge, add a couple of 
interfaces to it (re0 and tap0), and they receive an IP address via DHCP. 

Here are the relevant lines in rc.conf:

cloned_interfaces=bridge0
autobridge_interfaces=bridge0
autobridge_bridge0=tap* re0
ifconfig_re0=up
ifconfig_bridge0=up
ifconfig_bridge0=DHCP

Whilst my system is booting I see this:
Waiting 30s for the default route interface
When that message is being display I can also see output similar to ifconfig's. 
 I can see that both bridge0 and re0 are up.  I can also see that re0 has a 
status or no carrier.  I'm not sure if that is significant or not. 

If I look at dmesg, re0: link state changed to UP is right at the bottom and 
ifconfig displays something similar to this:

re0: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST metric 0 mtu 
1500

options=3898VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_UCAST,WOL_MCAST,WOL_MAGIC
ether 00:1c:c0:de:9d:39
media: Ethernet autoselect (1000baseT full-duplex)
status: active
plip0: flags=8810POINTOPOINT,SIMPLEX,MULTICAST metric 0 mtu 1500
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384
options=3RXCSUM,TXCSUM
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 
inet6 ::1 prefixlen 128 
inet 127.0.0.1 netmask 0xff00 
bridge0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
ether 76:15:56:05:de:63
id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
maxage 20 holdcnt 6 proto rstp maxaddr 100 timeout 1200
root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0
member: re0 flags=143LEARNING,DISCOVER,AUTOEDGE,AUTOPTP
ifmaxaddr 0 port 1 priority 128 path cost 2
member: tap0 flags=143LEARNING,DISCOVER,AUTOEDGE,AUTOPTP
ifmaxaddr 0 port 5 priority 128 path cost 200
tap0: flags=8942BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST metric 0 mtu 1500
ether 00:bd:a0:b1:00:00
Opened by PID 1027

--
Paul Grave 
email: mailto:p...@stomer.net

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


need help; cacti fails to build on 7.2-R, p4....

2009-11-25 Thread Gary Kline


Can anybody clue me in why cacti isn't building?  I obv'ly see the
stderr's, but want to know What now

This is after the 3D screen stuff.


checking whether to build static libraries... yes
checking for vasprintf... yes
checking for ssize_t... yes
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for XCB... configure: error: Package requirements (xcb =
1.4) were not met:

Requested 'xcb = 1.4' but version of XCB is 1.2

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables XCB_CFLAGS
and XCB_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

===  Script configure failed unexpectedly.
Please report the problem to ntar...@cs.uoi.gr [maintainer] and attach
the
/usr/ports/x11/xcb-util/work/xcb-util-0.3.6/config.log including the
output
of the failure of your make command. Also, it might be a good idea to
provide
an overview of all packages installed on your system (e.g. an `ls
/var/db/pkg`).
*** Error code 1

Stop in /usr/ports/x11/xcb-util.
*** Error code 1

Stop in /usr/ports/graphics/cairo.
*** Error code 1

Stop in /usr/ports/graphics/cairo.
*** Error code 1

Stop in /usr/ports/databases/rrdtool.
*** Error code 1

Stop in /usr/ports/databases/rrdtool.
*** Error code 1

Stop in /usr/ports/net-mgmt/cacti.
r...@ethic:/usr/ports/net-mgmt/cacti#  

-- 
   Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Misfortune doesn't improve anyone.  That is a fable to reassure the
 afflicted.  A life of hardship humiliates man and forces him to expend
all his energy on resisting its deadly pressure.  If a man comes out of
it improved, it only means that he has spent an enormous amount of energy
on improving in spite of everything.  Just think what he might have done 
without that pressure. --Jiri Mucha, *Living and Partly Living*


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


ZFS and jailed environments -- best practice?

2009-11-25 Thread Mahlon E. Smith

I've been playing with mixing up ZFS and jailed environments under
8.0RC, and I've hit a point where I'm just kind of wondering how
everyone else is doing it.  I wanted to do this to take advantage of
delegated administration -- I want users inside a jail to be able to
control snapshot/rollback in their own homedir.

I'll break this up into what I did to get it working (I can't seem to
find a good step by step out there yet), and where I think I'm running
into what could be potential trouble.

First off, sysctl variables.

security.jail.enforce_statfs=0
security.jail.mount_allowed=1
vfs.usermount=1

I've always run jails with with enforce_statfs=1 or enforce_statfs=2.  I
honestly don't see why that wouldn't work for ZFS stuff too, but in the
interests of following instructions (the zfs man page), I set it to 0.

Next, the 'zfs' dev node needs to be accessible from inside the jail.
So I created an /etc/devfs.rules file with the following:

host# cat /etc/devfs.rules 
[zfsenable=10]
add path 'zfs' unhide 

...and added the ruleset to the jail config in rc.conf:

jail_zfstest_devfs_ruleset=zfsenable

So far so good, the jail gets a /dev/zfs, and I can issue zfs commands.
I get 'no datasets available' from within the jail, which is exactly
what I'd expect.

So, tank/jails/jail1 is a ZFS volume, and I want tank/jails/jail1/home
to be under the control of the jail, and mounted at /home inside of it.


I stop the jail and unmount the home volume.

host# zfs umount tank/jails/jail1/home

Then enabled 'jailed mode' on the volume, and start the jail back up.

host# zfs set jailed=on tank/jails/jail1/home

In the host, lets just say the JID is 8.

host# /sbin/zfs jail 8 tank/jails/jail1/home


From that point, it appears that the host thinks that volume is not
under its own control.  (good!)

host# zfs mount tank/jails/jail1/home
cannot mount 'tank/jails/jail1/home': dataset is exported to a local zone

Whew, okay.  Back into the jail.

jail# zfs set mountpoint=/home tank/jails/jail1/home
jail# zfs mount -a
jail# zfs allow -s @homedir 
create,clone,mount,rollback,snapshot,send,receive,compression,checksum,quota,readonly,destroy
 tank/jails/jail1/home
jail# zfs allow -u user1 @homedir tank/jails/jail1/home/user1

... and by god, it works.  Yay!


Here are the weird parts, or parts that make me feel like I'm not doing
something correctly.

1) From the host now -- I've got two /home partitions mounted when
displaying a 'df'.  They -appear- to do the right thing... /home on the
host is correct when getting a listing, and /home in the jail is also
correct.  But I can't help but feel like this is asking for trouble, or
will eat the delicious data at some point.

2) What the heck is the procedure for automating this on boot?  Roll
your own?  The JID shuffles, of course.  I could easily whip up some
zfs jail `jls | awk '/jail1/ { print $2 }' ... junk, but where would
I put something like that? jail_afterstart0= seems to load things
in the context of the jail, not the host.  And then I'd have to set
canmount=noauto on that home volume, and mount it manually from within
the jail via some startup script?  Seems... like a pain in the ass for
what is otherwise a pretty blissful setup.

Really, I'm not sure what's right, what's stable, and what won't make me
totally regret doing this later.  :)

Advice, discussion, or pointers elsewhere are all appreciated!

-Mahlon

--
Mahlon E. Smith  
http://www.martini.nu/contact.html



pgpcOOawoJrUz.pgp
Description: PGP signature


Spammer data mining and www.freebsd.org

2009-11-25 Thread Ronald F. Guilmette


I just got a spam from some numbnuts spammer who said (in the spam), and I
quote:


Why would anyone still pay recruitment agency fees? Wouldn't you prefer to
RECRUIT AS MANY PEOPLE/strong per campaign for $499?

Your contact details were on
 'http://www.ca.freebsd.org/doc/en/articles/contributors/article.html#STAFF-COMMITTERS'
and we thought you should know that, during November, you can RECRUIT
AS MANY PEOPLE per campaign...


Jeezze Louise!

In the first place, I didn't even know that my name or e-mail address were
listed on that page, and I was really rather surprised to find that they
were.  Why the bleep am _I_ on there?  Yea, I've hacked free software
from time to time in my career... more than just a little... but I really
can't recall having ever ``contributed'' to FreeBSD in any significant or
meaningful way.  I mean I'm honored to be listed in with such illustrious
company, but in all modesty, I don't deserve to be.

But anyway, regardless of that, I have to ask: (1) Why the bleep are so
many e-mail addresses listed on that page in plain text, and without any
sort of spammer harvesting protection whatsoever?  And (2) who should I
gripe to about this sorry state of affairs?  webmaster(at)freebsd.org?

I don't expect the email addresses to be protected by captchas or anything
that convoluted, but the webmaster certainly could have at least replaced
`@' with `(at)' or some such thing.

So did anybody else get that same spam?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Native Firefox 3.5 and Flash10

2009-11-25 Thread Denise H. G.
Sam Fourman Jr. sfour...@gmail.com writes:

 I am running a Fresh install of amd64 FreeBSD 8.0 RC3
 when running firefox It locks up for a moment then is fine then when I
 load a new page it locks up again.
 here is the error I get in the console when running native firefox 3.5

 what do I have to rebuild inorder to fix this?

the same here on my 8.0 amd64.
but the lockup is bearable, at least for me.
the duration of such lockups only last less than one second. however, if
I use gnash to render flash in firefox3.5, the situation may be better,
but there are still such lockups.


 Sam Fourman Jr.

 [sfour...@sam ~]$ firefox3
 Gtk-Message: Failed to load module canberra-gtk-module:
 libcanberra-gtk-module.so: cannot open shared object file: No such
 file or directory
 Gtk-Message: Failed to load module gnomebreakpad:
 libgnomebreakpad.so: cannot open shared object file: No such file or
 directory
 Gtk-Message: Failed to load module canberra-gtk-module:
 libcanberra-gtk-module.so: cannot open shared object file: No such
 file or directory
 Gtk-Message: Failed to load module gnomebreakpad:
 libgnomebreakpad.so: cannot open shared object file: No such file or
 directory
 *** NSPlugin Wrapper *** ERROR: NPP_New() wait for reply: Message
 timeout
 Gtk-Message: Failed to load module canberra-gtk-module:
 libcanberra-gtk-module.so: cannot open shared object file: No such
 file or directory
 Gtk-Message: Failed to load module gnomebreakpad:
 libgnomebreakpad.so: cannot open shared object file: No such file or
 directory
 Gtk-Message: Failed to load module canberra-gtk-module:
 libcanberra-gtk-module.so: cannot open shared object file: No such
 file or directory
 Gtk-Message: Failed to load module gnomebreakpad:
 libgnomebreakpad.so: cannot open shared object file: No such file or
 directory

 Sam# uname -a
 FreeBSD Sam.PuffyBSD.Com 8.0-RC3 FreeBSD 8.0-RC3 #0: Wed Nov 18
 22:22:44 UTC 2009 root@:/usr/obj/usr/src/sys/WORKSTATION  amd64

 Sam# pkg_info -xI linux
 linux-f10-atk-1.24.0 Accessibility Toolkit, Linux/i386 binary (Linux
 Fedora 10)
 linux-f10-cairo-1.8.0 Vector graphics library Cairo (Linux Fedora 10)
 linux-f10-curl-7.19.6 The command line tool for transferring files
 with URL synta
 linux-f10-cyrus-sasl2-2.1.22 RFC  SASL (Simple Authentication and
 Security Layer) (L
 linux-f10-expat-2.0.1 Linux/i386 binary port of Expat XML-parsing
 library (Linux
 linux-f10-flashplugin-10.0r32 Adobe Flash Player NPAPI Plugin
 linux-f10-fontconfig-2.6.0 An XML-based font configuration API for X
 Windows (Linux Fe
 linux-f10-gtk2-2.14.7 GTK+ library, version 2.X (Linux Fedora 10)
 linux-f10-hicolor-icon-theme-0.5 A high-color icon theme shell from
 the FreeDesktop project
 linux-f10-jpeg-6b   RPM of the JPEG lib (Linux Fedora 10)
 linux-f10-libssh2-0.18 The library implementing the SSH2 protocol
 (Linux Fedora 10
 linux-f10-nspr-4.7.6 Netscape Portable Runtime (Linux Fedora 10)
 linux-f10-nss-3.12.2.0 Network Security Services (Linux Fedora 10)
 linux-f10-openldap-2.4.12_1 Lightweight Directory Access Protocol
 libraries (Linux Fedo
 linux-f10-openssl-0.9.8g The OpenSSL toolkit (Linux Fedora 10)
 linux-f10-pango-1.22.3 The pango library (Linux Fedora 10)
 linux-f10-png-1.2.37 RPM of the PNG lib (Linux Fedora 10)
 linux-f10-sqlite3-3.5.9_1 The library that implements an embeddable
 SQL database engi
 linux-f10-tiff-3.8.2 The TIFF library, Linux/i386 binary (Linux Fedora
 10)
 linux-f10-xorg-libs-7.4_1 Xorg libraries (Linux Fedora 10)
 linux-firefox-3.0.15,1 Web browser based on the browser portion of
 Mozilla
 linux_base-f10-10_2 Base set of packages needed in Linux mode for
 i386/amd64 (L
 ___
 freebsd-gn...@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
 To unsubscribe, send any mail to freebsd-gnome-unsubscr...@freebsd.org



-- 
tamgya |aT| GmAiL |DoT| cOm
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Tunning 8.0 for multiple VMs (VBox)

2009-11-25 Thread Mario Lobo
Hi to all;

I have a system where I will be running 5 VBox VMs (3 W2K3, 1 XP  1 Linux) 
for a lab simulation (work obligations). I have already ran the 5 VMs with a 
regular load on each and everything went fine. I think VBox is truly a great 
VM Manager, and it runs better (smoother and faster) in FBSD than in any other 
OS I tried it (Ubuntu, Winblows and OpenSolaris (!) ). 

Along the years, I've been running FBSD, picking up info from any Tuning  
FreeBSD guide I could find, starting with the handbook of course, going 
through articles and mailing list archives, trying to find a balance that 
would fit my desktop, among the several roles FreeBSD is used for.

I would like to expose the hardware/settings I have now to the list, to see if 
what I've done is appropriate, over or under rated (or simply stupid), to 
squeeze every drop of performance FreeBSD can give with what I have. It is 
pretty fast as it is but it never hurts attempting to make it even better. 

Please bear 2 things in mind:
1) I am trying to learn here; 
2) This is a Desktop machine (not a server!), sitting on my home LAN, behind a 
properly configured (again, to the best of my modest ability) firewall. It is 
used for everyday tasks, plus developing and music production.

I am posting what I believe to be most relevant. 

Thank you all before hand for any advice. Here it goes:

[Machine]

FreeBSD 8.0-PRERELEASE #0 r198930M: Sat Nov 21 14:24:10 BRT 2009 
CPU: AMD Phenom(tm) II X4 955 Processor (3193.08-MHz K8-class CPU)
 Cool`n'Quiet 2.0 on cpu0
 cpu1: ACPI CPU on acpi0
 cpu2: ACPI CPU on acpi0
 cpu3: ACPI CPU on acpi0
MB:  AOD790GX/128M
RAM: real mem = 8589934592 (8192 MB) avail mem = 7994658816 (7624 MB) 
VIDEO:ATI Radeon 3300 Graphics on vgapci0
NET: RealTek PCIe Gigabit Ethernet  (yeah, i know...)
HD1: 476940MB MAXTOR STM3500320AS MX15 at ata2-master SATA300
HD2: 476940MB MAXTOR STM3500320AS MX15 at ata3-master SATA300

[loader.conf]

verbose_loading=YES
amdtemp_load=YES
drm_load=YES
radeon_load=YES
linux_load=YES
vboxdrv_load=YES
# vboxnetflt and #vboxnetadp loaded later
snd_cmi_load=YES
atapicam_load=YES
cpufreq_load=YES

[rc.conf]

background_fsck=NO
check_quotas=NO
clear_tmp_enable=YES
compat4x_enable=YES
compat5x_enable=YES
compat6x_enable=YES
compat7x_enable=YES
kern_securelevel_enable=NO
tcp_extensions=YES
defaultrouter=10.10.10.1
hostname=me
gateway_enable=NO
ifconfig_re0=inet 10.10.10.2  netmask 255.255.255.0
linux_enable=YES
inetd_enable=NO
sendmail_enable=NONE
sshd_enable=YES
smbd_enable=YES
usbd_enable=YES
cupsd_enable=YES
fusefs_enable=YES
fusefs_safe=YES
hald_enable=YES
dbus_enable=YES
powerd_enable=YES
# powerd_flags=-i 92 -r 65 -p 200
powerd_flags=-p 200
font8x8=cp850-8x8
font8x14=cp850-8x14
font8x16=cp850-8x16
keymap=br275.iso.acc.kbd

[sysctl.conf]

debug.cpufreq.lowest=1250
vfs.read_max=32
kern.maxvnodes=40
kern.maxfiles=65536
kern.maxfilesperproc=32768
kern.ipc.maxsockbuf=524288
kern.module_path=/boot/kernel;/boot/modules;/usr/local/modules
compat.linux.osrelease=2.6.16
kern.ipc.shmmax=1036870912
kern.ipc.shmall=261072


Thanks,

-- 
Mario Lobo
http://www.mallavoodoo.com.br
FreeBSD since version 2.2.8 [not Pro-Audio YET!!] (99,7% winfoes FREE)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


8.0 release serial mouse not working

2009-11-25 Thread Fbsd1

Been using the same serial mouse since release 7.0 through 7.1 and 7.2.
Just installed release 8.0 and the rc.conf statements
dont work any longer.


# serial port radioshack 2 button mouse
moused_port=/dev/cuad0
moused_type=intellimouse
moused_enable=YES

Nothing has changed on the box hardware.
Mouse worked in 7.2 but not in 8.0

I even tried sysinstall/configure/mouse to test other options and none 
worked.


Has serial mouse support been dropped in release 8.0 and not removed 
from sysinstall?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


SAME: Re: need help; cacti fails to build on 7.2-R, p4....

2009-11-25 Thread Gary Kline
On Wed, Nov 25, 2009 at 04:08:07PM -0800, Gary Kline wrote:
 
 
 Can anybody clue me in why cacti isn't building?  I obv'ly see the
 stderr's, but want to know What now
 
 This is after the 3D screen stuff.
 
 
 checking whether to build static libraries... yes
 checking for vasprintf... yes
 checking for ssize_t... yes
 checking for pkg-config... /usr/local/bin/pkg-config
 checking pkg-config is at least version 0.9.0... yes
 checking for XCB... configure: error: Package requirements (xcb =
 1.4) were not met:
 
 Requested 'xcb = 1.4' but version of XCB is 1.2


Well, I just fixed this, but rebuilding cacti still fails

 
 Consider adjusting the PKG_CONFIG_PATH environment variable if you
 installed software in a non-standard prefix.
 
 Alternatively, you may set the environment variables XCB_CFLAGS
 and XCB_LIBS to avoid the need to call pkg-config.
 See the pkg-config man page for more details.


tHIS I doesn't understand.  Maybe it's time for a portupgrade
on my brand new system..   This stuff is the biggest
turnoff with FBSD.  In fat, it's the only one, since server
are supposed to be workhorses.


(*)


 
 ===  Script configure failed unexpectedly.
 Please report the problem to ntar...@cs.uoi.gr [maintainer] and attach
 the
 /usr/ports/x11/xcb-util/work/xcb-util-0.3.6/config.log including the
 output
 of the failure of your make command. Also, it might be a good idea to
 provide
 an overview of all packages installed on your system (e.g. an `ls
 /var/db/pkg`).
 *** Error code 1
 
 Stop in /usr/ports/x11/xcb-util.
 *** Error code 1
 
 Stop in /usr/ports/graphics/cairo.
 *** Error code 1
 
 Stop in /usr/ports/graphics/cairo.
 *** Error code 1
 
 Stop in /usr/ports/databases/rrdtool.
 *** Error code 1
 
 Stop in /usr/ports/databases/rrdtool.
 *** Error code 1
 
 Stop in /usr/ports/net-mgmt/cacti.
 r...@ethic:/usr/ports/net-mgmt/cacti#  
 
 -- 
Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
   Misfortune doesn't improve anyone.  That is a fable to reassure the
  afflicted.  A life of hardship humiliates man and forces him to expend
 all his energy on resisting its deadly pressure.  If a man comes out of
 it improved, it only means that he has spent an enormous amount of energy
 on improving in spite of everything.  Just think what he might have done 
 without that pressure. --Jiri Mucha, *Living and Partly Living*
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

-- 
   Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Misfortune doesn't improve anyone.  That is a fable to reassure the
 afflicted.  A life of hardship humiliates man and forces him to expend
all his energy on resisting its deadly pressure.  If a man comes out of
it improved, it only means that he has spent an enormous amount of energy
on improving in spite of everything.  Just think what he might have done 
without that pressure. --Jiri Mucha, *Living and Partly Living*


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: need a newline between paragraphs....

2009-11-25 Thread Gary Kline
On Wed, Nov 25, 2009 at 01:08:39PM -0700, Chad Perrin wrote:
 On Tue, Nov 24, 2009 at 01:19:42PM -0800, Gary Kline wrote:
  On Tue, Nov 24, 2009 at 01:07:41PM -0700, Chad Perrin wrote:
  
  precisely.  in this case, every paragraph that is not on a
  newline wraps.  so anything that has an EOL is a new
  paragraph.
 
 If I understand you correctly, the following should work for your
 purposes (as a naive implementation of the concept):
 
 my $contents;
 
 {
   undef $/;
   open(my $fh, '', $in_filename) or die $!;
   $contents = $fh;
 }
 
 $contents =~ s/\n+/\n\n/g;
 
 {
   open(my $fh, '', $out_filename) or die $!;
   print($fh $contents);
 }
 
 That assumes that you want to turn any and all instances of one or more
 consecutive newlines into exacty two newlines.  More finagling might be
 required if there may be other adjacent whitespace, which would need to
 account for not only possible adjacent whitespace but also possible
 whitespace at the beginning of a line with other text on it.  Maybe
 something like this:
 
 $contents =~ s/\s*\n+/\n\n/g;
 
 . . . though I haven't thought it through in too much depth with regards
 to the implications in edge case circumstances (thus the naive
 implementation comment above).
 

Turns  out that the problem was resolved by the 

print $fh $_$/; or close to that.  Since I scrubbed 100% of
newlines -- and axing all whitespace before and after lines --
before handing off the large file to OpenOffice, there wasn't 
any concern about extra whitespace messing stuff up.
 
  
  there are a few places that require different formatting; 
  these are easily re-done thanks to OOo!
 
 I'm the kind of guy who would look for a way to automate things so that
 re-formatting in OOo wouldn't be necessary, but as long as you're happy,
 I guess we win.  Good luck!
 

Hm.  Y'know, if *somebody* would just make having vim as an
option along with OOo, along with wrapping all the lines, life
would be (abs)Perfect.  I would nevr complain about anything;
not ever.   

My fingers know vi; I've used vi since BillJoy invented it and
handed me the first docs.  It only took a couple weeks to
learn, and I still don't know all the tricks.  But enough to
do what I  *NEED* to, and with fewer fumbles _(or hurting my
arm/shoulder that using the word-processor with mouse + keybd).

having scripts to switch between file and file.txt|.odt gets
pretty close :-)

thanks much,

gary



 -- 
 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]



-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
The 7.31a release of Jottings: http://jottings.thought.org/index.php

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


MUA questions

2009-11-25 Thread Rem Roberti
I just installed FreeBSD 7.2 on a new box and am having trouble getting 
either fetchmail or getmail to talk to the ISP. Is this a question that 
can can be answered here, or is there another more appropriate forum. I 
thought it best to ask that question first before going any further.


Thanks...

Rem
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: 8.0 release serial mouse not working

2009-11-25 Thread Polytropon
On Thu, 26 Nov 2009 11:43:17 +0800, Fbsd1 fb...@a1poweruser.com wrote:
 Been using the same serial mouse since release 7.0 through 7.1 and 7.2.
 Just installed release 8.0 and the rc.conf statements
 dont work any longer.
 
 
 # serial port radioshack 2 button mouse
 moused_port=/dev/cuad0
 moused_type=intellimouse
 moused_enable=YES
 
 Nothing has changed on the box hardware.
 Mouse worked in 7.2 but not in 8.0
 
 I even tried sysinstall/configure/mouse to test other options and none 
 worked.
 
 Has serial mouse support been dropped in release 8.0 and not removed 
 from sysinstall?

I'm not sure about the moused_port, it's some time ago that
I've used a serial mouse, but I had

moused_enable=YES
moused_port=/dev/cuaa0
moused_type=mousesystems
moused_flags=-r 300 -a 2.0

in /etc/rc.conf - cuaa0 instead of cuad0.

For some checking, why not use

moused -f -i all -p /dev/cuad0

and

moused -f -d -t auto -p /dev/cuad0

for some checking?



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: need help; cacti fails to build on 7.2-R, p4....

2009-11-25 Thread Vaibhav Gavane
Upgrade x11/libxcb
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


How to print using cups on FreeBSD?

2009-11-25 Thread Unga
Hi

I'm trying to print using cups 1.3.10 on FreeBSD 7.2 on a Epson Stylus Photo 
R800 printer. It prints garbage! That is, it print some series of characters.

My first question is, does cups work on FreeBSD to print?

Here is my side information:
pkg_info | grep cups
cups-base-1.3.10_4  Common UNIX Printing System: Server
cups-client-1.3.10_4 Common UNIX Printing System: Library cups
cups-image-1.3.10_4 Common UNIX Printing System: Library cupsimage
cups-pstoraster-8.15.4_4 Postscript interpreter for CUPS printing to non-PS 
printers
gutenprint-cups-5.1.7_4 GutenPrint Printer Driver


pkg_info | grep foomatic
foomatic-db-20090530 Foomatic database
foomatic-db-engine-4.0.1,2 Foomatic database engine
gutenprint-foomatic-5.1.7_2 GutenPrint Printer Driver


I have followed this for cups configuration:
http://www.freebsd.org/doc/en/articles/cups/printing-cups-configuring-server.html

ls -l /dev/unlpt0
crw-rw  1 root  cups0, 155 Nov 26 12:23 /dev/unlpt0

ls -l /dev/ulpt0
crw-rw  1 root  cups0, 154 Nov 26 12:23 /dev/ulpt0

I don't have /dev/lpt* .

I'm a member of cups group.

I'm using KDE 3.5.10. I have used KDE printer manager to print a test page 
after setting up the printer.

So what other configurations do I need to do on FreeBSD to get the printing 
working?

Best regards
Unga




  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


FreeBSD 8.0 and Atheros AzureWave wireless chipset

2009-11-25 Thread Brett Glass
Just tried installing FreeBSD 8.0-RELEASE on an Eee PC, and it works
pretty well -- except for the wireless interface, which is dead, dead,
dead. It's an Atheros AzureWave chipset, and it did work with the
included Linux distro before I wiped the disk and installed FreeBSD.
Any ideas as to how I can get it working with FreeBSD 8.0?

--Brett Glass
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


MUA questions

2009-11-25 Thread Robert Huff

Rem Roberti writes:

  I just installed FreeBSD 7.2 on a new box and am having trouble
  getting either fetchmail or getmail to talk to the ISP. Is this a
  question that can can be answered here, or is there another more
  appropriate forum. I thought it best to ask that question first
  before going any further.

I use fetchmail, though I'm not an expert.
What's the problem?


Robert Huff

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD 8.0 and Atheros AzureWave wireless chipset

2009-11-25 Thread Warren Block

On Wed, 25 Nov 2009, Brett Glass wrote:


Just tried installing FreeBSD 8.0-RELEASE on an Eee PC, and it works
pretty well -- except for the wireless interface, which is dead, dead,
dead. It's an Atheros AzureWave chipset, and it did work with the
included Linux distro before I wiped the disk and installed FreeBSD.
Any ideas as to how I can get it working with FreeBSD 8.0?


Dead as in doesn't show in dmesg/pciconf, or dead as in I didn't hear 
about having to use wlan0 now?


-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: 8.0 release serial mouse not working

2009-11-25 Thread Fbsd1

Polytropon wrote:

On Thu, 26 Nov 2009 11:43:17 +0800, Fbsd1 fb...@a1poweruser.com wrote:

Been using the same serial mouse since release 7.0 through 7.1 and 7.2.
Just installed release 8.0 and the rc.conf statements
dont work any longer.


# serial port radioshack 2 button mouse
moused_port=/dev/cuad0
moused_type=intellimouse
moused_enable=YES

Nothing has changed on the box hardware.
Mouse worked in 7.2 but not in 8.0

I even tried sysinstall/configure/mouse to test other options and none 
worked.


Has serial mouse support been dropped in release 8.0 and not removed 
from sysinstall?


I'm not sure about the moused_port, it's some time ago that
I've used a serial mouse, but I had

moused_enable=YES
moused_port=/dev/cuaa0
moused_type=mousesystems
moused_flags=-r 300 -a 2.0

in /etc/rc.conf - cuaa0 instead of cuad0.

For some checking, why not use

moused -f -i all -p /dev/cuad0

and

moused -f -d -t auto -p /dev/cuad0

for some checking?




I checked /dev and there are no cuaa* or cuad*
In 7.2 used the sysinstall/configur/mouse menu and it was the one that 
crated the moused_port=/dev/cuad0 rc.conf statment as showen in first 
post.


/dev does have cuau0  cuau1 for uucp dialer. could this be the names of 
the serial ports in 8.0?


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: SAME: Re: need help; cacti fails to build on 7.2-R, p4....

2009-11-25 Thread Vaibhav Gavane
On Thu, Nov 26, 2009 at 9:31 AM, Gary Kline kl...@thought.org wrote:

tHIS I doesn't understand.  Maybe it's time for a portupgrade
on my brand new system..   This stuff is the biggest
turnoff with FBSD.  In fat, it's the only one, since server
are supposed to be workhorses.


If you were installing cacti for the first time, i.e. with portinstall, then
according to the manual, the dependencies should have been automatically
upgraded. Either your ports tree itself was out of date or there is
something wrong with portupgrade. If you suspect the latter, consider giving
portmaster a try.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: MUA questions

2009-11-25 Thread Fbsd1

Rem Roberti wrote:
I just installed FreeBSD 7.2 on a new box and am having trouble getting 
either fetchmail or getmail to talk to the ISP. Is this a question that 
can can be answered here, or is there another more appropriate forum. I 
thought it best to ask that question first before going any further.


Thanks...

Rem
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org



I have fetchmail working on 7.2. describe your problem in detail and 
post you control statements.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: 8.0 release serial mouse not working

2009-11-25 Thread Polytropon
On Thu, 26 Nov 2009 14:06:56 +0800, Fbsd1 fb...@a1poweruser.com wrote:
 I checked /dev and there are no cuaa* or cuad*

Confirmed, 8.0-RC1 with GENERIC kernel (my toyaround machine).

 In 7.2 used the sysinstall/configur/mouse menu and it was the one that 
 crated the moused_port=/dev/cuad0 rc.conf statment as showen in first 
 post.

That should have been the correct setting. On version 7, I
have /dev/cuad0, /dev/cuad0.init and /dev/cuad0.lock. On
version 8, there's /dev/cuau0, /dev/cuau0.init and
/dev/cuau0.lock instead.

Maybe loading a kernel module is required to have the
serial ports available again?



 /dev does have cuau0  cuau1 for uucp dialer. could this be the names of 
 the serial ports in 8.0?

It seems that they don't work for the mouse because they're
something different.

I think there's another problem rising: Assume you want to
have a serial dialin line (e. g. for a serial terminal), then
you would have something like

ttyd0 /usr/libexec/getty std.115200 vt320 on secure

in /etc/ttys. The question would be: If /dev/ttyd0 does not
exist anymore, how to make this work again?




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: MUA questions

2009-11-25 Thread Rem Roberti



 I just installed FreeBSD 7.2 on a new box and am having trouble
 getting either fetchmail or getmail to talk to the ISP. Is this a
 question that can can be answered here, or is there another more
 appropriate forum. I thought it best to ask that question first
 before going any further.



I use fetchmail, though I'm not an expert.
What's the problem?


Robert Huff


  
Basically, I am using Mutt as my MUA, and I have either getmail or 
fetchmail configured to receive my POP3 mail from Comcast, which is via 
mail.comcast.net.  I am using msmtp as my smtp client, and have no 
trouble sending mail from Mutt...just can't receive.  Both the 
.fetchmailrc and getmailrc configurations have worked in the past.  Is 
this possibly a sendmail issue?  The fetchmail.log repeatedly indicates 
Trying to connect to 76.96.54.12/110...connection failed: Operation 
temed out.


Rem
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD 8.0 and Atheros AzureWave wireless chipset

2009-11-25 Thread Brett Glass
 Dead as in doesn't show in dmesg/pciconf

Yep, that's correct. The only hint of it is the following message:

pci3: network at device 0.0 (no driver attached)

--Brett

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: 8.0 release serial mouse not working

2009-11-25 Thread Fbsd1

Polytropon wrote:

On Thu, 26 Nov 2009 14:06:56 +0800, Fbsd1 fb...@a1poweruser.com wrote:

I checked /dev and there are no cuaa* or cuad*


Confirmed, 8.0-RC1 with GENERIC kernel (my toyaround machine).

In 7.2 used the sysinstall/configur/mouse menu and it was the one that 
crated the moused_port=/dev/cuad0 rc.conf statment as showen in first 
post.


That should have been the correct setting. On version 7, I
have /dev/cuad0, /dev/cuad0.init and /dev/cuad0.lock. On
version 8, there's /dev/cuau0, /dev/cuau0.init and
/dev/cuau0.lock instead.

Maybe loading a kernel module is required to have the
serial ports available again?



/dev does have cuau0  cuau1 for uucp dialer. could this be the names of 
the serial ports in 8.0?


It seems that they don't work for the mouse because they're
something different.

I think there's another problem rising: Assume you want to
have a serial dialin line (e. g. for a serial terminal), then
you would have something like

ttyd0 /usr/libexec/getty std.115200 vt320 on secure

in /etc/ttys. The question would be: If /dev/ttyd0 does not
exist anymore, how to make this work again?





From the 8.0 release notes is the following
http://www.freebsd.org/releases/8.0R/relnotes-detailed.html

[amd64, i386] The uart(4) is now the default driver for serial port 
devices in favor of the sio(4) driver. Note that the device nodes have 
been renamed with /dev/cuauN and /dev/ttyuN.


tested these rc.conf statements

moused_port=/dev/cuau0
moused_type=intellimouse
moused_enable=YES

serial mouse works again

This means sysinstall mouse config needs to be changed to reflect the 
new dev names.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: 8.0 release serial mouse not working

2009-11-25 Thread Polytropon
On Thu, 26 Nov 2009 14:57:32 +0800, Fbsd1 fb...@a1poweruser.com wrote:
  From the 8.0 release notes is the following
 http://www.freebsd.org/releases/8.0R/relnotes-detailed.html
 
 [amd64, i386] The uart(4) is now the default driver for serial port 
 devices in favor of the sio(4) driver. Note that the device nodes have 
 been renamed with /dev/cuauN and /dev/ttyuN.
 
 tested these rc.conf statements
 
 moused_port=/dev/cuau0
 moused_type=intellimouse
 moused_enable=YES
 
 serial mouse works again

Can confirm.



 This means sysinstall mouse config needs to be changed to reflect the 
 new dev names.

That's correct. The handbook sec. 2.10.10 and fig. 2-44 would
need an update, too.

http://www.freebsd.org/doc/en/books/handbook/install-post.html



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: MUA questions

2009-11-25 Thread Chad Perrin
On Wed, Nov 25, 2009 at 10:28:05PM -0800, Rem Roberti wrote:
 
 Basically, I am using Mutt as my MUA, and I have either getmail or 
 fetchmail configured to receive my POP3 mail from Comcast, which is via 
 mail.comcast.net.  I am using msmtp as my smtp client, and have no 
 trouble sending mail from Mutt...just can't receive.  Both the 
 .fetchmailrc and getmailrc configurations have worked in the past.  Is 
 this possibly a sendmail issue?  The fetchmail.log repeatedly indicates 
 Trying to connect to 76.96.54.12/110...connection failed: Operation 
 temed out.

Are you sure Mutt is trying to use fetchmail or getmail, and not still
trying to use Sendmail instead?

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]


pgpKR90FtlREu.pgp
Description: PGP signature


Re: MUA questions

2009-11-25 Thread Rem P Roberti
On 2009.11.26 00:27:15 +, Chad Perrin wrote:
 On Wed, Nov 25, 2009 at 10:28:05PM -0800, Rem Roberti wrote:
  
  Basically, I am using Mutt as my MUA, and I have either getmail or 
  fetchmail configured to receive my POP3 mail from Comcast, which is via 
  mail.comcast.net.  I am using msmtp as my smtp client, and have no 
  trouble sending mail from Mutt...just can't receive.  Both the 
  .fetchmailrc and getmailrc configurations have worked in the past.  Is 
  this possibly a sendmail issue?  The fetchmail.log repeatedly indicates 
  Trying to connect to 76.96.54.12/110...connection failed: Operation 
  temed out.
 
 Are you sure Mutt is trying to use fetchmail or getmail, and not still
 trying to use Sendmail instead?
 

Well...I'm embarrassed to admit this, but the problem was with the
operator...that would be me. Everything was doing its job correctly,
including procmail.  I'd forgotten how to call up the list of mailboxes
where procmail puts everything, and when I hit the return key I kept
getting the no mail message, so I just assumed that the mail was not
being received. But no, everything was being put exactly where it was
supposed to be, and once I remembered how to access the individual
mailboxes guess what I found.  This is what happens when you spend a
year operating a windoze box. I'm sure glad to be back with FreeBSD.
Thanks to all who responded.

Cheers...

Rem
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org