Re: French-Canadian Keyboard & keyboard switching

2009-04-29 Thread Boris Samorodov
On Wed, 29 Apr 2009 16:04:34 -0400 PJ wrote:
> Tijl Coosemans wrote:
> > On Wednesday 29 April 2009 15:20:34 PJ wrote:
> >> Cool. Then I can ask some questions regarding all of this.
> >>
> >> rc.conf: (snipped to show the relevant entries)
> >> font8x16="iso15-8x16"
> >> font8x14="iso15-8x14"
> >> font8x8="iso15-8x8"
> >> allscreens_flags="VGA_80x60 cyan"
> >> rpcbind_enable="YES"
> >> mountd_flags="-r"
> >> nfs_client_enable="YES"
> >> nfs_client_flags="-n 4"
> >> samba_enable="YES"
> >> cupsd_enable="YES"
> >> apache22_enable="YES"
> >> postgresql_enable="YES"
> >> mysql_enable="YES"
> >> webmin_enable="YES"
> >> #keymap=fr_CA.iso.acc.kbd
> >>
> >> Question:
> >> 1. the font entries? The /usr/share/syscons/fonts/ entry has suffixes
> >> of .fnt - ???
> >
> > Your font and keymap settings are ok. The extensions can be omitted.
> > See the EXAMPLES sections in vidcontrol(1) and kbdcontrol(1).
> >
> >> 2. the keymap is commented out because, although it gives me the
> >> fr_CA keyboard, it also uses French messages which are a bit tortured
> >> (French courtly affectations in the language are quaint but also make
> >> for long and convoluted terminology - notice that a text translated
> >> to French is always longer). K.I.S.S.
> >
> > Keyboard settings shouldn't affect message localisation. Do you set
> > the environment variable LANG in ~/.login_conf or in a shell startup
> > script (.profile or .cshrc or other depending on the shell)? If so,
> > set it to en_CA.ISO8859-15 or something. From q5 below I think you've
> > currently set it to fr_CA.utf-8.

No answer. Which locale do you use?

> >> xorg.conf: (snip for relevant)
> >> Section "ServerLayout"
> >> Identifier "X.org Configured"
> >> Screen 0 "Screen0" 0 0
> >> InputDevice "Mouse0" "CorePointer"
> >> InputDevice "Keyboard0" "CoreKeyboard"
> >> Option "AllowEmptyInput" "off"

Seems that you use new X stuff. X11@ and gnome@ maillist archieves may
give you some additional information.

> >> EndSection
> >>
> >> Section "Files"
> >> ModulePath "/usr/local/lib/xorg/modules"
> >> FontPath "/usr/local/lib/X11/fonts/misc/"

Unless I add cyrillic fonts, I'm not able to see cyrillic
letters at xterm for my utf-8 locale.

> >> FontPath "/usr/local/lib/X11/fonts/TTF/"
> >> FontPath "/usr/local/lib/X11/fonts/OTF"
> >> FontPath "/usr/local/lib/X11/fonts/Type1/"
> >> FontPath "/usr/local/lib/X11/fonts/100dpi/"
> >> FontPath "/usr/local/lib/X11/fonts/75dpi/"
> >> EndSection
> >>
> >> Section "Module"
> >> Load "extmod"
> >> Load "record"
> >> Load "dbe"
> >> Load "glx"
> >> Load "GLcore"
> >> Load "xtrap"
> >> Load "dri"
> >> Load "freetype"
> >> EndSection
> >>
> >> Section "InputDevice"
> >> Identifier "Keyboard0"
> >> Driver "kbd"
> >> Option "XkbModel" "pc104"
> >
> > This might have to be pc105, but it probably doesn't matter.
> >
> >> Option "XkbLayout" "us,ca"
> >
> > Check out http://en.wikipedia.org/wiki/Keyboard_layout#QWERTY
> > If you have Canadian Multilingual Standard, this option needs to be set
> > to "ca(multi)". If you have Canadian French, set it to "ca" or
> > "ca(fr)".
> This does not set it to the Canadian French; nor can I find anything
> that does... only my lame setup works using the French azerty (which is
> rather a pain because it involves complicated finger moves to get the
> accented characters - I'm familiar with it and can use it; it's just a pita.

Phil, you didn't say which keyboard do you use and which options you
have tried.

Anyway, you may look at /usr/local/share/X11/xkb/rules/xorg.lst  [1]
for options that can be used at xorg.conf for keyboards.

And you may be interested in looking at /var/log/Xorg.0.log.
There are many useful diagnistics at this file.

> >> Option "XkbOptions" "grp:toggle"
> >
> > If you don't need layout switching just delete this.
> I guess I wasn't clear. Toggling was meant to mean switching back and
> forth; switching - just once. I would like to use switching but it seems
> to only work one way. Can't switch back. rtAlt switches from us to the
> ca (which oddly seems to mean French, but nothing to do with Canadian or
> French Canadian. Only fluxbox brings it back and then rtAlt no longer
> works. Weird.
> Any idea where the documentation is for this?
> The man page is rather foggy and has no mention of XkbOptions or
> XkbLayout or anything about "grp:toggle"

Looking at [1] should help.


HTH & WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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: archive search working?

2009-04-29 Thread Frederique Rijsdijk

Chris Whitehouse wrote:
I'm not getting any replies when searching the freebsd questions 
archives at http://lists.freebsd.org/pipermail/freebsd-questions/


That's the page I get to if I google "freebsd questions archives" (and 
then a couple of clicks to get to the archives)


That is the right page, but it's not working for a while already..


___
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: Is it necessary to generate a new SSL request each year?

2009-04-29 Thread Mel Flynn
On Thursday 30 April 2009 01:05:50 Robert Huff wrote:
> Dan Nelson writes:
> >  > When buying a new SSL cert, I've been generating a new
> >  > request each year...  I am just about to buy another and it
> >  > occurred to me that I'm entering the same info.  Do I really
> >  > need a new request file each year?  Or can I just reuse the
> >  > same one (presuming none of the info has changed.)
> >
> >  You can reuse the old one.
>
>   I'm not an expert on these, but it was my understanding that
> certificates carry in internal "expiration date" after which the
> application may respond as it pleases.

Yes, but the *request* does not.
Also, if using openssl, just set the defaults in /etc/ssl/openssl.cnf to your 
values, so you can enter through the questions.
-- 
Mel
___
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"


"shutdown -p" does not power off

2009-04-29 Thread Dsewnr Lu
Hi all:

My problem is that I type "shutdown -p now" command, and system hang after
uptime show on screen.
I must press reset or press power sw 4 sec to poweroff. But "reboot" command
works fine for me.
I found it caused when hald_enable set to "YES" in rc.conf, if hald_enable
set to "NO" everything works fine.
hald is required for my desktop environment.

Any suggestions ?

My kernel version is FreeBSD 7.1-RELEASE #5 amd64.

Thanks,

Dsewnr Lu
___
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 install vmware-server on freebsd 7.1

2009-04-29 Thread Mail

Good day to everybody,
I have a problem with installation vmware-server 2 for linux on my 
freebsd 7.1. i install it from rpm. before it, i installed 
linux_base_f9, load linux.ko, mount linprocfs.
When i run sudo rpm -i --ignoreos --dbpath /lib/var/rpm --root 
/compat/linux vmware-server..rpm i get this:

/bin/sh is needed to vmware-server..rpm,
but there`s /bin/sh and /compat/linux/bin/sh.
What does it mean, and what i need to do to resolve this problem?

Dmitry
___
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: filesystem compatibility between FreeBSD and OpenBSD

2009-04-29 Thread Chuck Robey
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Daniel C. Dowse wrote:
> On Wed, 29 Apr 2009 14:36:31 -0400
> Chuck Robey  wrote:
> 
>> -BEGIN PGP SIGNED MESSAGE-
>> Hash: SHA1
>>
>> I just put a OpenBSD partition on a EIDE disk I had laying around.  I'd had 
>> some
>> advice (apparently bad) that the OpenBSD UFS filesystem could provide a
>> filesystem that I could access from FreeBSD ... least, just now when I tried 
>> to
>> mount either of the two filesystems I just created on FreeBSD, FreeBSD seems 
>> to
>> recognize the disklabel just fine (it sees, in /dev, both ad1s1d and ad1s1e),
>> but FreeBSD can't seem to mount either one.
>>
>> Is there ANY filesystem that would be a good bet, so that I could transfer 
>> stuff
>>  to & from FreeBSD to OpenBSD?  Besides (obviously) UFS?
>>
>> Thanks
> 
> Hi Chuck,
> 
> please tell us what exactly the output of mount is,  mount (8) on
> FreeBSD 7.1 tells me that UFS is the default filesystem to mount.

It just fails with an "Invalid argument", so I think it's not able to recognize
the OpenBSD FS.  I can't do it the other way around, because I can't (yet) find
the OpenBSD driver for my AMCC (3ware) 9650-4 controller (FreeBSD's twa driver).
 Otherwise, I'm curious if maybe OpenBSD count moount the FreeBSD FS.

No longer truly important, because i'm using an extra machine as a waypoint for
a transfer.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkn5FhEACgkQz62J6PPcoOlikgCfUmLdhYXrsu7/1EE6aZL1mH91
DdkAn0JEGxkyRyBQdOGO9kgEft0mzm8T
=kibv
-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: bsnmpd vs net-snmp

2009-04-29 Thread Brandon Weisz

Maxim Khitrov wrote:

On Mon, Apr 27, 2009 at 2:19 PM, Anton Yuzhaninov  wrote:

On Mon, 27 Apr 2009 12:28:01 -0400, Maxim Khitrov wrote:
MK> I'm setting up a firewall and would like to monitor certain system
MK> parameters like network, cpu, and memory usage. SNMP is an obvious
MK> choice to do the monitoring and I'm planning to set up rrdtool to
MK> generate graphs of captured data. The question is what SNMP agent to
MK> use. I found net-snmp and bsnmpd (which is included in the base
MK> system). Has anyone here used both implementations, and if so, what
MK> are the basic differences?

main difference is the set of supported MIBs.

In general net-snmp supports more MIBs than bsnmpd.

E. g. BEGEMOT-PF-MIB supported only by bsnmpd and useful for monitoring pf(4),
UCD-SNMP-MIB supported only by net-snmp and useful for monitoring CPU load
(ssCpuRaw* counters).


Is there any other documentation to bsnmpd besides the one man page?
I'm trying to figure how to configure the daemon (first task is stop
it from listening on *:*), but besides the man page and few comments
in /etc/snmpd.config there is no other information that I can find.

- Max


I cant speak to the documentation, but this seems to limit it to 
listening on a single address:


Example..

# open standard SNMP ports
begemotSnmpdPortStatus.192.168.2.254.161 = 1


Regards,

Brandon


___
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: Is it necessary to generate a new SSL request each year?

2009-04-29 Thread Robert Huff

Dan Nelson writes:

>  > When buying a new SSL cert, I've been generating a new 
>  > request each year...  I am just about to buy another and it
>  > occurred to me that I'm entering the same info.  Do I really
>  > need a new request file each year?  Or can I just reuse the
>  > same one (presuming none of the info has changed.) 
>  
>  You can reuse the old one.

I'm not an expert on these, but it was my understanding that
certificates carry in internal "expiration date" after which the
application may respond as it pleases.


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: Is it necessary to generate a new SSL request each year?

2009-04-29 Thread Dan Nelson
In the last episode (Apr 29), John Almberg said:
> When buying a new SSL cert, I've been generating a new request each
> year...  I am just about to buy another and it occurred to me that I'm
> entering the same info.  Do I really need a new request file each year? 
> Or can I just reuse the same one (presuming none of the info has changed.)

You can reuse the old one.

-- 
Dan Nelson
dnel...@allantgroup.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"


Re: How to?

2009-04-29 Thread Neal Hogan
On Wed, Apr 29, 2009 at 4:24 PM, Lloyd Friedman  wrote:
> I have a Microway computer with a PC164LX.
> How and where can I down load FreeBSD ALPHA version.
> I know it is no longer supported, but I believe there are older versions I 
> can down load.
> If not, then I will have to try to find a Linux that will work.

I'm not sure about fBSD issue and if this is kosher, but, if you wanna
stay with a BSD (which is okay with me), why not try netBSD, which
prides itself on being compatible/supported with "everything" (AFAIK)?

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



-- 
www.nealhogan.net  www.lambdaserver.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"


Re: How to?

2009-04-29 Thread Manolis Kiagias
Lloyd Friedman wrote:
> I have a Microway computer with a PC164LX.
> How and where can I down load FreeBSD ALPHA version. 
> I know it is no longer supported, but I believe there are older versions I 
> can down load.
> If not, then I will have to try to find a Linux that will work.
>   
Try the FTP site:

ftp://ftp.freebsd.org/pub/FreeBSD/ISO-IMAGES-alpha/6.4/

Better yet, locate a mirror close to you (not all mirrors may have these
files):

http://www.freebsd.org/doc/en/books/handbook/mirrors-ftp.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"


How to?

2009-04-29 Thread Lloyd Friedman
I have a Microway computer with a PC164LX.
How and where can I down load FreeBSD ALPHA version. 
I know it is no longer supported, but I believe there are older versions I can 
down load.
If not, then I will have to try to find a Linux that will work.
___
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"


Is it necessary to generate a new SSL request each year?

2009-04-29 Thread John Almberg
When buying a new SSL cert, I've been generating a new request each  
year... I am just about to buy another and it occurred to me that I'm  
entering the same info. Do I really need a new request file each  
year? Or can I just reuse the same one (presuming none of the info  
has changed.)


-- 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: CARP & bridge

2009-04-29 Thread Sebastiaan van Erk

Hi,

Nikos Vassiliadis wrote:

Sebastiaan van Erk wrote:

Julien Cigar wrote:


Maybe you've to do ARP Proxy on one side ? Try to add an ARP entry in
the ARP table with arp (arp -s 1.2.3.4 MAC foo) ..


Thanks for the suggestion.

Ok, static arp works: that is, if I take the carp1 mac address and add 
it to the arp table using:


 arp -s 10.0.80.74 00:00:5e:00:01:02 pub

The ping starts to work. I'm still a bit confused why I have to do 
this though, because I can ping the non-shared IP 10.0.80.77 from the 
VPN client (via tap0) without any static arp, and I can ping the 
shared VIP (10.0.80.74) from clients on the physical network (em1) as 
well without any static arp. It's only when the ping it has to cross 
the bridge that it's an issue.


Does it make any difference if you set the IP address on the bridge0
iface and not on the physical one?

I recall that the recommended setup is to use IP addresses on
the bridge interface and leave the members of the bridge IPless.

Nikos


Thanks for the suggestion. I tried it, but unfortunately the carp device 
never leaves the INIT state when I put the ip on the bridge. :-( I did 
find some similar problem here:


http://www.freebsd.org/cgi/query-pr.cgi?pr=125816

Regards,
Sebastiaan


smime.p7s
Description: S/MIME Cryptographic Signature


Re: PostgreSQL 8.3.7 builds incomplete

2009-04-29 Thread Andrew Gould
On Wed, Apr 29, 2009 at 4:32 PM, Mark  wrote:

> From: Andrew Gould [mailto:andrewlylego...@gmail.com]
> Sent: woensdag 29 april 2009 20:54
> To: Mark
> Cc: freebsd-questions@freebsd.org
> Subject: Re: PostgreSQL 8.3.7 builds incomplete
>
> On Wed, Apr 29, 2009 at 1:45 PM, Mark  wrote:
>
> From: Andrew Gould [mailto:andrewlylego...@gmail.com]
> Sent: woensdag 29 april 2009 20:41
> To: Mark
> Cc: freebsd-questions@freebsd.org
> Subject: Re: PostgreSQL 8.3.7 builds incomplete
>
> > > If I go to the /usr/ports/databases/postgresql84-server/
> > > directory, it actually downloads and builds a 8.3.7 version;
> > > so the name version difference is not my fault.
> >
> > a rare case when accuracy causes confusion ;-)
> >
> > I would suggest that you deinstall or pkg_delete it.
> > Then try configuring and installing from:
> > /usr/ports/databases/postgresql83-server/
> >
> > Let us know if you still have problems.
>
> Wow, you're right. That actually DOES build normally! :) Got files in the
> designated include dir, and it built a working pg_config.
> I should have looked better, instead of just picking the highest-version
> server. Still, makes you wonder, if the postgresql84-server port is so
> incredibly broken, why even include it? (Could also be it just purposely
> omits writing files in the include dir and making the pg_config, precisely
> because it's beta).


>From your first message, it looks like the 8.4 server itself runs fine.  The
8.4 port is probably there for beta testing purposes since there are no
FreeBSD binary packages on the PostgreSQL site.


>
> At any rate, it's all working now. Thanks!
>
>
> - Mark
>

Best of luck,

Andrew
___
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: Gnucash 2.2.7_2 after upgrade to Firefox 3.0.9

2009-04-29 Thread Dave Hardman
On Wed, Apr 29, 2009 at 11:48:42AM -0600, Keith Seyffarth wrote:
> 
> Is anyone else having issues wit Gnucash 2.2.7 crashing when you try
> to open an account after portupgrading Firefox in response to security
> audit reports from about a week ago?
[...]
> Ideas? Thoughts? Suggestions?
> 
> Keith S.
> ___
> 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 had the same problem; the attached patch (supplied by Sebastian
Held from gnucash.org) fixed the problem.

Dave Hardman.
Index: /home/sebastian/src/gnucash-2.2/src/register/register-gnome/gnucash-style.c
===
--- /home/sebastian/src/gnucash-2.2/src/register/register-gnome/gnucash-style.c	(.../trunk/src/register/register-gnome/gnucash-style.c)	(Revision 13692)
+++ /home/sebastian/src/gnucash-2.2/src/register/register-gnome/gnucash-style.c	(.../branches/2.2/src/register/register-gnome/gnucash-style.c)	(Revision 18054)
@@ -48,7 +48,16 @@
 return &key;
 }
 
+static gpointer
+style_create_key (SheetBlockStyle *style)
+{
+static gint key;
 
+key = style->cursor->num_rows;
+
+return g_memdup(&key, sizeof(key));
+}
+
 static void
 cell_dimensions_construct (gpointer _cd, gpointer user_data)
 {
@@ -103,7 +112,7 @@
 if (!dimensions) {
 dimensions = style_dimensions_new (style);
 g_hash_table_insert (sheet->dimensions_hash_table,
- style_get_key (style), dimensions);
+ style_create_key (style), dimensions);
 }
 
 dimensions->refcount++;
___
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: PostgreSQL 8.3.7 builds incomplete

2009-04-29 Thread Mark
From: Andrew Gould [mailto:andrewlylego...@gmail.com] 
Sent: woensdag 29 april 2009 20:54
To: Mark
Cc: freebsd-questions@freebsd.org
Subject: Re: PostgreSQL 8.3.7 builds incomplete

 

On Wed, Apr 29, 2009 at 1:45 PM, Mark  wrote:

From: Andrew Gould [mailto:andrewlylego...@gmail.com]
Sent: woensdag 29 april 2009 20:41
To: Mark
Cc: freebsd-questions@freebsd.org
Subject: Re: PostgreSQL 8.3.7 builds incomplete


> > If I go to the /usr/ports/databases/postgresql84-server/

> > directory, it actually downloads and builds a 8.3.7 version;

> > so the name version difference is not my fault.

> 

> a rare case when accuracy causes confusion ;-) 

> 

> I would suggest that you deinstall or pkg_delete it.

> Then try configuring and installing from:

> /usr/ports/databases/postgresql83-server/

> 

> Let us know if you still have problems.

 

Wow, you're right. That actually DOES build normally! :) Got files in the

designated include dir, and it built a working pg_config.

 

I should have looked better, instead of just picking the highest-version

server. Still, makes you wonder, if the postgresql84-server port is so

incredibly broken, why even include it? (Could also be it just purposely

omits writing files in the include dir and making the pg_config, precisely

because it's beta).

 

At any rate, it's all working now. Thanks!

 

- Mark

___
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: Running Apache with as few modules as possible

2009-04-29 Thread Charles Howse


On Apr 29, 2009, at 3:18 PM, Tom Worster wrote:


On 4/28/09 6:45 PM, "Adam Vandemore"  wrote:


OK, here we go:
With Apache running on the development machine, modules commented as
in my first post --
CPU:  0.8% user,  0.0% nice,  0.4% system,  0.8% interrupt, 98.1%  
idle
Mem: 27M Active, 139M Inact, 64M Wired, 11M Cache, 34M Buf, 648K  
Free

Swap: 512M Total, 60K Used, 512M Free

Apache running on the same machine without any modules commented
except mod_ssl --
CPU:  0.8% user,  0.0% nice,  0.8% system,  0.4% interrupt, 98.1%  
idle
Mem: 27M Active, 134M Inact, 64M Wired, 13M Cache, 34M Buf, 3584K  
Free

Swap: 512M Total, 60K Used, 512M Free

I just ran 'top' after starting httpd to get these figures, maybe I
should have done something different?
'bout the only thing that makes sense to me is I have more Free  
Memory

when commenting all those modules.
What is the list's opinion on this?


You should probably use pmap for a more accurate comparison.  you may
also want to set CFLAGS= -Os for size considerations(CPUTYPE as  
well),
and remove unnecessary modules from kernel if you haven't done so  
already.


agreed. top lines of top  are too imprecise to really tell. but so  
far as
the data goes, this is consistent with my findings, i.e. disabling  
mods in
the apache runtime config file doesn't save enough to justify the  
effort.


I recall Bill Gates saying, "640k is enough for anybody."  I agree,  
it's not much of a savings, and there's always the possibility that  
the webmaster may add something later that needs a module that's  
commented, and run around in circles before she/he realizes it.

___
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: Modern FreeBSD Installer?

2009-04-29 Thread Charles Howse


On Apr 29, 2009, at 2:51 PM, Jerry McAllister wrote:

On Wed, Apr 29, 2009 at 09:56:00AM -0300, Sergio de Almeida Lenzi  
wrote:



hello

Well, after all that said, I would like to post my
modest oppinion based in experience from the market..

1) The people who use FreeBSD, or other OS, (the end user)
will never install the OS, the person will turn on the machine
and expects an graphical interface appears in the secreen.


I'm getting into this late, but I have installed FreeBSD many times,  
both as a desktop system and as a server.



3) the "computer"  (computer is the term used by the USER) should
NEVER break, stop working That is: the computer (and the  
Operating
system) should act as the TV set... (remember those old times when  
the TV set

used to break???) you turn it on, and it works...


All "computers" work...until someone sits down at the keyboard.


5) A beautifull installer is good for the newspaper that publishes  
a "review" of
the Operating system (they must publish something to "sell"  
to ...save their job..),
Have you ever heard about a "Leopard" installer??? do you know  
someone who reinstalled "Leopard"??


Ummm...you're talking to someone who has installed Panther, Tiger and  
Leopard, more than once.


___
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: Running Apache with as few modules as possible

2009-04-29 Thread Tom Worster
On 4/28/09 6:45 PM, "Adam Vandemore"  wrote:

>> OK, here we go:
>> With Apache running on the development machine, modules commented as
>> in my first post --
>> CPU:  0.8% user,  0.0% nice,  0.4% system,  0.8% interrupt, 98.1% idle
>> Mem: 27M Active, 139M Inact, 64M Wired, 11M Cache, 34M Buf, 648K Free
>> Swap: 512M Total, 60K Used, 512M Free
>> 
>> Apache running on the same machine without any modules commented
>> except mod_ssl --
>> CPU:  0.8% user,  0.0% nice,  0.8% system,  0.4% interrupt, 98.1% idle
>> Mem: 27M Active, 134M Inact, 64M Wired, 13M Cache, 34M Buf, 3584K Free
>> Swap: 512M Total, 60K Used, 512M Free
>> 
>> I just ran 'top' after starting httpd to get these figures, maybe I
>> should have done something different?
>> 'bout the only thing that makes sense to me is I have more Free Memory
>> when commenting all those modules.
>> What is the list's opinion on this?
>> 
> You should probably use pmap for a more accurate comparison.  you may
> also want to set CFLAGS= -Os for size considerations(CPUTYPE as well),
> and remove unnecessary modules from kernel if you haven't done so already.

agreed. top lines of top  are too imprecise to really tell. but so far as
the data goes, this is consistent with my findings, i.e. disabling mods in
the apache runtime config file doesn't save enough to justify the effort.


___
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: French-Canadian Keyboard & keyboard switching

2009-04-29 Thread PJ
Tijl Coosemans wrote:
> On Wednesday 29 April 2009 15:20:34 PJ wrote:
>> Cool. Then I can ask some questions regarding all of this.
>>
>> rc.conf: (snipped to show the relevant entries)
>> font8x16="iso15-8x16"
>> font8x14="iso15-8x14"
>> font8x8="iso15-8x8"
>> allscreens_flags="VGA_80x60 cyan"
>> rpcbind_enable="YES"
>> mountd_flags="-r"
>> nfs_client_enable="YES"
>> nfs_client_flags="-n 4"
>> samba_enable="YES"
>> cupsd_enable="YES"
>> apache22_enable="YES"
>> postgresql_enable="YES"
>> mysql_enable="YES"
>> webmin_enable="YES"
>> #keymap=fr_CA.iso.acc.kbd
>>
>> Question:
>> 1. the font entries? The /usr/share/syscons/fonts/ entry has suffixes
>> of .fnt - ???
>
> Your font and keymap settings are ok. The extensions can be omitted.
> See the EXAMPLES sections in vidcontrol(1) and kbdcontrol(1).
>
>> 2. the keymap is commented out because, although it gives me the
>> fr_CA keyboard, it also uses French messages which are a bit tortured
>> (French courtly affectations in the language are quaint but also make
>> for long and convoluted terminology - notice that a text translated
>> to French is always longer). K.I.S.S.
>
> Keyboard settings shouldn't affect message localisation. Do you set
> the environment variable LANG in ~/.login_conf or in a shell startup
> script (.profile or .cshrc or other depending on the shell)? If so,
> set it to en_CA.ISO8859-15 or something. From q5 below I think you've
> currently set it to fr_CA.utf-8.
>
>> xorg.conf: (snip for relevant)
>> Section "ServerLayout"
>> Identifier "X.org Configured"
>> Screen 0 "Screen0" 0 0
>> InputDevice "Mouse0" "CorePointer"
>> InputDevice "Keyboard0" "CoreKeyboard"
>> Option "AllowEmptyInput" "off"
>> EndSection
>>
>> Section "Files"
>> ModulePath "/usr/local/lib/xorg/modules"
>> FontPath "/usr/local/lib/X11/fonts/misc/"
>> FontPath "/usr/local/lib/X11/fonts/TTF/"
>> FontPath "/usr/local/lib/X11/fonts/OTF"
>> FontPath "/usr/local/lib/X11/fonts/Type1/"
>> FontPath "/usr/local/lib/X11/fonts/100dpi/"
>> FontPath "/usr/local/lib/X11/fonts/75dpi/"
>> EndSection
>>
>> Section "Module"
>> Load "extmod"
>> Load "record"
>> Load "dbe"
>> Load "glx"
>> Load "GLcore"
>> Load "xtrap"
>> Load "dri"
>> Load "freetype"
>> EndSection
>>
>> Section "InputDevice"
>> Identifier "Keyboard0"
>> Driver "kbd"
>> Option "XkbModel" "pc104"
>
> This might have to be pc105, but it probably doesn't matter.
>
>> Option "XkbLayout" "us,ca"
>
> Check out http://en.wikipedia.org/wiki/Keyboard_layout#QWERTY
> If you have Canadian Multilingual Standard, this option needs to be set
> to "ca(multi)". If you have Canadian French, set it to "ca" or
> "ca(fr)".
This does not set it to the Canadian French; nor can I find anything
that does... only my lame setup works using the French azerty (which is
rather a pain because it involves complicated finger moves to get the
accented characters - I'm familiar with it and can use it; it's just a pita.
>
>> Option "XkbOptions" "grp:toggle"
>
> If you don't need layout switching just delete this.
I guess I wasn't clear. Toggling was meant to mean switching back and
forth; switching - just once. I would like to use switching but it seems
to only work one way. Can't switch back. rtAlt switches from us to the
ca (which oddly seems to mean French, but nothing to do with Canadian or
French Canadian. Only fluxbox brings it back and then rtAlt no longer
works. Weird.
Any idea where the documentation is for this?
The man page is rather foggy and has no mention of XkbOptions or
XkbLayout or anything about "grp:toggle"
>
>> EndSection
>>
>> Questions:
>> 3. This setup enables switching from the default us to what appears
>> to be the French keyboard. The fr_CA has the accented characters
>> assigned to normal keys while keeping most of the English keys
>> normal; the French kbd needs two keypresses to get the accents.
>> Tiresome, not so say dumb.
>
> The French have an azerty layout with accented letters also directly
> available.
>
>> 4. The toggle does not toggle; pressing right_Alt switches to fr but
>> another rtAlt press does nothing. And other Alt combinations don't do
>> anything except freeze the kbd and xterm has to be closed and
>> thereafter the fr is not accessible without a reboot or one must use
>> fluxbox menu to switch the keyboard. How to get the fr_CA instad of
>> the fr?
>
> I don't know anything about toggling.
>
>> 5. Upon closing xorg, there are these messages:
>> Failed to open file
>> (/usr/local/share/fluxbox/nls/fr_CA.utf-8/fluxbox.cat)... (twice)
>> Checking Google & fluxbox, it appears this file does not exist. Fluxbox
>> simply has not included it in their distribution.
>> Mayba Blackbox has it; I'll have to check.
>
> Probably harmless. It's just for message localisation. It should fall
> back on English.
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsub

Re: Modern FreeBSD Installer?

2009-04-29 Thread Jerry McAllister
On Wed, Apr 29, 2009 at 09:56:00AM -0300, Sergio de Almeida Lenzi wrote:

> hello
> 
> Well, after all that said, I would like to post my
> modest oppinion based in experience from the market..
> 
> 1) The people who use FreeBSD, or other OS, (the end user) 
> will never install the OS, the person will turn on the machine
> and expects an graphical interface appears in the secreen.
> 
> 2) the Interface should be as simple as possible, but powerfull
> enought to fullfill their needs, that is text, email, browsing,
> some banking, multimedia (this must be powerfulll...), chatting.
> some dvd authoriting, P2P. should access WIFI networks easy too

I don't think you understand how FreeBSD is used in most circumstances.
As a server, these things would mostly be quite undesirable and an annoyance
to have to remove - more of an annoyance than installing then from ports.

jerry  

  
> 
> 3) the "computer"  (computer is the term used by the USER) should
> NEVER break, stop working That is: the computer (and the Operating
> system) should act as the TV set... (remember those old times when the TV set
> used to break???) you turn it on, and it works...
> 
> 4) For those who install the OS in the computer, (some 1 in 10.000) people
> should make it fast and dirty  I make an installer that install FBSD in 
> 10 minutes
> with all the gnome, office, multimedia, with only one  of the 
> keyboard...
> using ZFS, the system never breaks, is ready to use in 20 seconds... FBSD is 
> installed
> in more than 1000 machines running in gas stations... here...
> 
> 5) A beautifull installer is good for the newspaper that publishes a "review" 
> of
> the Operating system (they must publish something to "sell" to ...save their 
> job..),
> Have you ever heard about a "Leopard" installer??? do you know someone who 
> reinstalled "Leopard"??
> 
> 6) I also think that there must be an "fast and dirty"  FBSD install. in the 
> distribution
> a CD (or DVD) that you put in the machine, it asks where to install and a 
> prompt choosing YES or NO...
> the installer formats the disk(partition), do a tar of the FBSD image, with 
> an login of "admin" prompts for 
> a password, and dumps the os image in the disk using journal or ZFS... 
> (90% of the machines I installed FBSD have 1GB of memory, 80GB of HD and HDA 
> sound,
> INTEL,ATI,VIA graphics board... only 4 brands of NIC).
> 
> 7) I showed FBSD to an "expert" windows guy, and he think it is far more easy 
> to install than
> the XP he was using besides, it is LEGAL!!!  
> 
> Thanks for the Attention,
> 
> Sergio
> 
> ___
> 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: bsnmpd vs net-snmp

2009-04-29 Thread Morgan Wesström
> net-snmp has no problems providing 64-bit counters (interface and
> disk).  You must build it with -DWITH_MFD_REWRITES (passes
> --with-mfd-rewrites to ./configure).  I do not know why this is not the
> default.  It works just fine.  I also have a PR open to make this define
> a ports 'make config' option (therefore a persistent setting), but the
> maintainer has ignored this.
> 

This post caught my attention because I've had a 64 bit -> 32 bit
truncation error in my SNMP logs since I installed net-snmp on my AMD64
a year ago. I was unable to figure out how to add -DWITH_MFD_REWRITES to
make so I ended up editing the Makefile and added --enable-mfd-rewrites
(the compile told me --with-mfd-rewrites had been replace by
--enable-mfd-rewrites). My error messages now seems to have disappeared
so I'm extremely happy. I later found the following info in NEWS:



   Solaris, FreeBSD, OpenBSD:
  - Experimental support for 64bit interface counters (ifXTable). Enable
via '--with-mib-modules=if-mib --enable-mfd-rewrites'.



So I have two questions:

1) Is --with-mib-modules=if-mib already covered in the Makefile? I can
see the parameter but it refers to a variable I don't know the contents
of. The variable seems to refer to the build option NET_SNMP_MIB_MODULES
which is mentioned at the beginning of the compile process but I don't
know how to use it or its initial value.

2) Is there anyway to enable these two options during make without
editing the Makefile?

Regards
Morgan
___
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: filesystem compatibility between FreeBSD and OpenBSD

2009-04-29 Thread Daniel C. Dowse
On Wed, 29 Apr 2009 14:36:31 -0400
Chuck Robey  wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> I just put a OpenBSD partition on a EIDE disk I had laying around.  I'd had 
> some
> advice (apparently bad) that the OpenBSD UFS filesystem could provide a
> filesystem that I could access from FreeBSD ... least, just now when I tried 
> to
> mount either of the two filesystems I just created on FreeBSD, FreeBSD seems 
> to
> recognize the disklabel just fine (it sees, in /dev, both ad1s1d and ad1s1e),
> but FreeBSD can't seem to mount either one.
> 
> Is there ANY filesystem that would be a good bet, so that I could transfer 
> stuff
>  to & from FreeBSD to OpenBSD?  Besides (obviously) UFS?
> 
> Thanks

Hi Chuck,

please tell us what exactly the output of mount is,  mount (8) on
FreeBSD 7.1 tells me that UFS is the default filesystem to mount.

best regards

Daniel Dowse


-- 
The only reality is virtual!
___
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: filesystem compatibility between FreeBSD and OpenBSD

2009-04-29 Thread Polytropon
On Wed, 29 Apr 2009 14:36:31 -0400, Chuck Robey  wrote:
> Is there ANY filesystem that would be a good bet, so that I could transfer 
> stuff
>  to & from FreeBSD to OpenBSD?  Besides (obviously) UFS?

Yes, there is, and it even isn't a file system.
It's tar. You can easily create a tar archive
and transfer it from device to device, maybe
using a "transfer hard disk". I know this sounds
stupid, but it works. The disk just needs to be
formatted, it can be a hard disk, an optical
disc, even an USB thumb drive, or a floppy disk.
Doesn't matter. Just format it.

Then:

% tar cvf /dev/ 

on the source OS. On the target OS, simply run
this command:

% tar xvf /dev/

I could employ this method successfully to transfer
data between different UNIXens and Linusi. :-)



-- 
Polytropon
>From 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: acroread run problem

2009-04-29 Thread Peter Ulrich Kruppa
Am Mittwoch, den 29.04.2009, 10:02 +0200 schrieb Pieter Donche:
> I delete acroread9 (pkg_delete acroread9-9.1.0_2) and installed
> # cd /usr/ports/print/acroread8
> # make install clean
> 
> but I get the same errors...
> waht could be wrong and how to remedy?
> 
If you need acroread, subscribe to freebsd-emulat...@freebsd.org: that
would be the place where the linux-emu-guys hang out.
If you need a pdf viewer there are alternatives like xpdf or evince (for
gnome) and I forgot the name of KDE's pdf-viewer. 

Sorry I can't help out here.

Uli.

> On Tue, 28 Apr 2009, Peter Ulrich Kruppa wrote:
> 
> > I am very sorry:
> >
> > I mixed up the acroread versions: you won't be able to run acroread9
> > stably on FreeBSD 7.x .
> > You will have to wait for FreeBSD 8 . Until then you have to use
> > acroread8 :-(
> >
> > Greetings
> >
> > Uli.
> >
> >
> >
> > Am Dienstag, den 28.04.2009, 07:44 +0200 schrieb Pieter Donche:
> >> Hi,
> >>
> >> yes I do have in my /etc/rc.conf
> >>   linux_enable="YES"
> >>
> >>> 2) Do you get
> >>> # df
> >>> [...]
> >>> linprocfs4   4 0  100%/usr/compat/linux/proc
> >> No, this I do not have, but I wonder what that is ...
> >>
> >> I find nothing about linprocfs in
> >> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/linuxemu.html
> >>
> >> I also checked (from that book chapter 10.2)
> >> # kldstat
> >> Id Refs AddressSize Name
> >>   17 0x8010 ac7708   kernel
> >>   21 0xb08e 18aealinux.ko
> >>   31 0xb09cb000 496  star_saver.ko
> >>
> >> Also, I have a another PC with FreeBSD7 (i386) with Acrobat Reader 7.0
> >> (/usr/local/bin/acroread) which works and there I do not not have
> >> a "linprocfs ..." in a df output...
> >>
> >>
> >> On Mon, 27 Apr 2009, Peter Ulrich Kruppa wrote:
> >>
> >>> Am Montag, den 27.04.2009, 11:16 +0200 schrieb Pieter Donche:
>  FreeBSD7/amd64 with linux_base-fc-4_14  Base set of packages needed
>  in Linux mode (for i386/amd64)
>  I installed acroread9-9.1.0_2 (no errors)
>  # cd /usr/ports/print/acroread9
>  # make install clean
>  OK.
> 
>  but at
>  $ acroread &
>  I get:
> 
>  (acroread:67581): GdkPixbuf-WARNING **: Cannot open pixbuf loader module 
>  file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory
>  (acroread:67581): GdkPixbuf-WARNING **: Error loading XPM image loader: 
>  Image type 'xpm' is not supported
>  (acroread:67581): GdkPixbuf-WARNING **: Cannot open pixbuf loader module 
>  file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory
>  (acroread:67581): GdkPixbuf-WARNING **: Error loading XPM image loader: 
>  Image type 'xpm' is not supported
>  (acroread:67581): GdkPixbuf-WARNING **: Cannot open pixbuf loader module 
>  file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory
>  (acroread:67581): GdkPixbuf-WARNING **: Error loading XPM image loader: 
>  Image type 'xpm' is not supported
>  (acroread:67581): GLib-GObject-CRITICAL **: g_object_ref: assertion 
>  `G_IS_OBJECT (object)' failed
>  (acroread:67581): GLib-GObject-CRITICAL **: g_object_ref: assertion 
>  `G_IS_OBJECT (object)' failed
>  (acroread:67581): GLib-GObject-CRITICAL **: g_object_ref: assertion 
>  `G_IS_OBJECT (object)' failed
>  (acroread:67581): GLib-GObject-CRITICAL **: g_object_unref: assertion 
>  `G_IS_OBJECT (object)' failed
>  (acroread:67581): GLib-GObject-CRITICAL **: g_object_unref: assertion 
>  `G_IS_OBJECT (object)' failed
>  (acroread:67581): GLib-GObject-CRITICAL **: g_object_unref: assertion 
>  `G_IS_OBJECT (object)' failed
>  (acroread:67581): Gdk-CRITICAL **: gdk_window_set_icon_list: assertion 
>  `GDK_IS_PIXBUF (pixbuf)' failed
>  (acroread:67581): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion 
>  `pixbuf != NULL' failed
>  (acroread:67581): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: 
>  assertion `pixbuf != NULL' failed
>  (acroread:67581): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion 
>  `pixbuf != NULL' failed
>  (acroread:67581): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: 
>  assertion `pixbuf != NULL' failed
>  (acroread:67581): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion 
>  `pixbuf != NULL' failed
>  (acroread:67581): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: 
>  assertion `pixbuf != NULL' failed
>  (acroread:67581): GdkPixbuf-WARNING **: Cannot open pixbuf loader module 
>  file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory
>  (acroread:67581): GdkPixbuf-WARNING **: Error loading XPM image loader: 
>  Image type 'xpm' is not supported
>  (acroread:67581): GdkPixbuf-WARNING **: Cannot open pixbuf loader module 
>  file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory
>  (acroread:67581): GdkPixbuf-WARNING **: Error

Re: CARP & bridge

2009-04-29 Thread Nikos Vassiliadis

Sebastiaan van Erk wrote:

Hi,

Julien Cigar wrote:

On Wed, 2009-04-29 at 11:37 +0200, Sebastiaan van Erk wrote:

Hi,

I have a bridged OpenVPN setup where the OpenVPN tap0 driver is 
bridged (via bridge0) to the physical em1 interface, which has a VIP 
via a carp1 interface:


em1: flags=8943 
metric 0 mtu 1500

options=98
ether 00:0c:29:61:2a:55
inet 10.0.80.77 netmask 0xff00 broadcast 10.0.80.255
media: Ethernet autoselect (1000baseTX )
status: active
bridge0: flags=8843 metric 0 
mtu 1500

ether 9a:6a:9f:b2:65:da
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: tap0 flags=143
ifmaxaddr 0 port 11 priority 128 path cost 200
member: em1 flags=143
ifmaxaddr 0 port 2 priority 128 path cost 2
tap0: flags=8943 
metric 0 mtu 1500

ether 00:bd:48:03:00:00
Opened by PID 24616
carp1: flags=49 metric 0 mtu 1500
inet 10.0.80.74 netmask 0xff00
carp: MASTER vhid 2 advbase 1 advskew 0


The problem I have is that when I ping the VIP from a VPN client (on 
tap0), the server receives arp requests for the VIP on tap0, but it 
does not respond to them:


# tcpdump -i tap0 -ln
11:29:13.637048 arp who-has 10.0.80.74 tell 10.0.80.6

Is there any way to get the server to respond to arp requests on tap0 
for the VIP?




Maybe you've to do ARP Proxy on one side ? Try to add an ARP entry in
the ARP table with arp (arp -s 1.2.3.4 MAC foo) ..


Thanks for the suggestion.

Ok, static arp works: that is, if I take the carp1 mac address and add 
it to the arp table using:


 arp -s 10.0.80.74 00:00:5e:00:01:02 pub

The ping starts to work. I'm still a bit confused why I have to do this 
though, because I can ping the non-shared IP 10.0.80.77 from the VPN 
client (via tap0) without any static arp, and I can ping the shared VIP 
(10.0.80.74) from clients on the physical network (em1) as well without 
any static arp. It's only when the ping it has to cross the bridge that 
it's an issue.


Does it make any difference if you set the IP address on the bridge0
iface and not on the physical one?

I recall that the recommended setup is to use IP addresses on
the bridge interface and leave the members of the bridge IPless.

Nikos
___
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: PostgreSQL 8.3.7 builds incomplete

2009-04-29 Thread Andrew Gould
On Wed, Apr 29, 2009 at 1:45 PM, Mark  wrote:

> From: Andrew Gould [mailto:andrewlylego...@gmail.com]
> Sent: woensdag 29 april 2009 20:41
> To: Mark
> Cc: freebsd-questions@freebsd.org
> Subject: Re: PostgreSQL 8.3.7 builds incomplete
>
> > You're message initially references an incomplete build of
>
> > PostgreSQL 8.3.7; but ends asking about PostgreSQL 8.4.
>
> > Which are you trying to build?
>
> >
>
> > I would expect version 8.3.* to build normally.
>
> If I go to the /usr/ports/databases/postgresql84-server/ directory, it
>
> actually downloads and builds a 8.3.7 version; so the name version
>
> difference is not my fault.


a rare case when accuracy causes confusion ;-)


>
> - Mark
>
>
I would suggest that you deinstall or pkg_delete it.  Then try configuring
and installing from:
/usr/ports/databases/postgresql83-server/

Let us know if you still have problems.

Andrew
___
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: PostgreSQL 8.3.7 builds incomplete

2009-04-29 Thread Mark
From: Andrew Gould [mailto:andrewlylego...@gmail.com] 
Sent: woensdag 29 april 2009 20:41
To: Mark
Cc: freebsd-questions@freebsd.org
Subject: Re: PostgreSQL 8.3.7 builds incomplete

 

> You're message initially references an incomplete build of

> PostgreSQL 8.3.7; but ends asking about PostgreSQL 8.4.

> Which are you trying to build?

> 

> I would expect version 8.3.* to build normally.

 

If I go to the /usr/ports/databases/postgresql84-server/ directory, it

actually downloads and builds a 8.3.7 version; so the name version

difference is not my fault.

 

- Mark

___
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: Gnucash 2.2.7_2 after upgrade to Firefox 3.0.9

2009-04-29 Thread 文鳥
On Wed, 29 Apr 2009 11:48:42 -0600 (MDT)
Keith Seyffarth  wrote:

> 
> Is anyone else having issues wit Gnucash 2.2.7 crashing when you try
> to open an account after portupgrading Firefox in response to security
> audit reports from about a week ago?
> 

I have the same issues you're reporting, also tried reinstalling
several ports, compiling gnucash from sourceforge, etc, but to no avail.
My solution for now is to run gnucash in a qemu-vm. However, I am not
really sure that the crash caused by the firefox update, since there
were several other ports I upgraded at the same time (especially perl),
and since I found no direct dependency for firefox3 in the Makefile... 

Best regards
___
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: PostgreSQL 8.3.7 builds incomplete

2009-04-29 Thread Andrew Gould
On Wed, Apr 29, 2009 at 1:31 PM, Mark  wrote:

> I'm new to PostgreSQL. Just installed the latest version, 8.3.7 (client +
>
> server) on my new FreeBSD 7.1 system. Gotta say, there's something
>
> seriously broken with this package. First of all, it doesn't install
>
> 'include' files anywhere (real useful for installing DBD-Pg-2.13.1, later
>
> on). And worse, it generates no 'pg_config' file (also needed for
>
> installing DBD-Pg-2.13.1, later on).
>
>
>
> PostgreSQL actually installs, and runs. But as a result of the totally
>
> incomplete install/compile, I can't build DBD-Pg-2.13.1 (for Perl)
>
> thereafter. So, how do I get /usr/ports/databases/postgresql84-server/ to
>
> build normally?
>
> Thanks,
>
> - Mark
> ___
>  


You're message initially references an incomplete build of PostgreSQL 8.3.7;
but ends asking about PostgreSQL 8.4.  Which are you trying to build?

I would expect version 8.3.* to build normally.  PostgreSQL 8.4, however, is
still in beta ("Beta 1" according to their website.)

Best of luck,

Andrew
___
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"


filesystem compatibility between FreeBSD and OpenBSD

2009-04-29 Thread Chuck Robey
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I just put a OpenBSD partition on a EIDE disk I had laying around.  I'd had some
advice (apparently bad) that the OpenBSD UFS filesystem could provide a
filesystem that I could access from FreeBSD ... least, just now when I tried to
mount either of the two filesystems I just created on FreeBSD, FreeBSD seems to
recognize the disklabel just fine (it sees, in /dev, both ad1s1d and ad1s1e),
but FreeBSD can't seem to mount either one.

Is there ANY filesystem that would be a good bet, so that I could transfer stuff
 to & from FreeBSD to OpenBSD?  Besides (obviously) UFS?

Thanks
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkn4ni8ACgkQz62J6PPcoOm1mACePe5wltWsl0iLuIAzdYJ1M6RS
/PIAnjEMFi1MdMYDkPkadva+gjbqRMLN
=Wd2g
-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"


PostgreSQL 8.3.7 builds incomplete

2009-04-29 Thread Mark
I'm new to PostgreSQL. Just installed the latest version, 8.3.7 (client +

server) on my new FreeBSD 7.1 system. Gotta say, there's something

seriously broken with this package. First of all, it doesn't install

'include' files anywhere (real useful for installing DBD-Pg-2.13.1, later

on). And worse, it generates no 'pg_config' file (also needed for

installing DBD-Pg-2.13.1, later on).

 

PostgreSQL actually installs, and runs. But as a result of the totally

incomplete install/compile, I can't build DBD-Pg-2.13.1 (for Perl)

thereafter. So, how do I get /usr/ports/databases/postgresql84-server/ to

build normally?

 

Thanks,

 

- Mark

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


Problem calling through skype

2009-04-29 Thread Yuri
Beginning from some recent ports update (? maybe) I get a problem making 
voice calls with Skype.

Symptoms are:
All calls disconnect after exactly one minute.
Time counter on top of the window runs slow. Like one second per 7 real 
seconds.


Version is 2.0.0.72 but it used to work ok for a long time so it doesn't 
seem to be related to version.
It's either something with update of other packages, or some change in 
protocol not well taken by linux skype run on freebsd.


Anyone sees similar problem?

Yuri

FreeBSD-7.2

___
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: Gnucash 2.2.7_2 after upgrade to Firefox 3.0.9

2009-04-29 Thread Andrew Gould
On Wed, Apr 29, 2009 at 12:48 PM, Keith Seyffarth  wrote:

>
> Is anyone else having issues wit Gnucash 2.2.7 crashing when you try
> to open an account after portupgrading Firefox in response to security
> audit reports from about a week ago?
>
> (that's the only change I can think of that seems to coincide with the
> change in behavior; and yes, I did look through UPDATING for known
> issues first...)
>
> Gnucash will launch just fine, but when I try to open an account it
> crashes. Running Gnucash in debug mode only reports that there was a
> segmentation fault and core was dumped.
>
> Looking through the Gnucash FAQ on the Gnucash site, I saw that there
> was an issue similar to this on Windows, and their recommended fix was
> to remove ~/.gconf, ~/.gconfd, ~/gnome2, and ~/gnucash. Though these
> instructions were for windows, I tried moving those files to see if
> that made a difference, but it didn't.
>
> I also tried pkg_deleting gnucash and then portinstalling it again, as
> well as removing the ~/gnucash directory, or removing all the various
> .log files and .xac files from the ~/gnucash directory, but I continue
> to have the same behavior; gnucash will open, but trying to open an
> account in gnucash (either by clicking the "Open" button or by double
> clicking the account name) gets gnucash to dump core.
>
> I have also downloaded the source tarball for gnucash 2.2.9 from
> sourceforge, but encounter an issue running ./configure on that, as it
> is not finding gettext (which I appear to have installed at
> /usr/local/bin/gettext).
>
> Ideas? Thoughts? Suggestions?
>
> Keith S.
> ___
>  


If you think the problem is related to upgrading Firefox, try pkg_deleting
Firefox.

Also, I think portupgrade has an option where it will list all of the
applications that will be affected by an upgrade without actually doing the
upgrade (see 'man portupgrade').  Try this:

1. Get a list of applications that would be affected by portupgrading
firefox and its dependencies (list A).
2. Then get a list of applications that would be affected by portupgrading
gnucash and its dependencies (list B).
3. Your problem may be in a dependency that is on both list A and list B.

Good luck,

Andrew
___
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: bsnmpd vs net-snmp

2009-04-29 Thread Maxim Khitrov
On Mon, Apr 27, 2009 at 2:19 PM, Anton Yuzhaninov  wrote:
> On Mon, 27 Apr 2009 12:28:01 -0400, Maxim Khitrov wrote:
> MK> I'm setting up a firewall and would like to monitor certain system
> MK> parameters like network, cpu, and memory usage. SNMP is an obvious
> MK> choice to do the monitoring and I'm planning to set up rrdtool to
> MK> generate graphs of captured data. The question is what SNMP agent to
> MK> use. I found net-snmp and bsnmpd (which is included in the base
> MK> system). Has anyone here used both implementations, and if so, what
> MK> are the basic differences?
>
> main difference is the set of supported MIBs.
>
> In general net-snmp supports more MIBs than bsnmpd.
>
> E. g. BEGEMOT-PF-MIB supported only by bsnmpd and useful for monitoring pf(4),
> UCD-SNMP-MIB supported only by net-snmp and useful for monitoring CPU load
> (ssCpuRaw* counters).

Is there any other documentation to bsnmpd besides the one man page?
I'm trying to figure how to configure the daemon (first task is stop
it from listening on *:*), but besides the man page and few comments
in /etc/snmpd.config there is no other information that I can find.

- Max
___
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"


Gnucash 2.2.7_2 after upgrade to Firefox 3.0.9

2009-04-29 Thread Keith Seyffarth

Is anyone else having issues wit Gnucash 2.2.7 crashing when you try
to open an account after portupgrading Firefox in response to security
audit reports from about a week ago?

(that's the only change I can think of that seems to coincide with the
change in behavior; and yes, I did look through UPDATING for known
issues first...)

Gnucash will launch just fine, but when I try to open an account it
crashes. Running Gnucash in debug mode only reports that there was a
segmentation fault and core was dumped.

Looking through the Gnucash FAQ on the Gnucash site, I saw that there
was an issue similar to this on Windows, and their recommended fix was
to remove ~/.gconf, ~/.gconfd, ~/gnome2, and ~/gnucash. Though these
instructions were for windows, I tried moving those files to see if
that made a difference, but it didn't.

I also tried pkg_deleting gnucash and then portinstalling it again, as
well as removing the ~/gnucash directory, or removing all the various
.log files and .xac files from the ~/gnucash directory, but I continue
to have the same behavior; gnucash will open, but trying to open an
account in gnucash (either by clicking the "Open" button or by double
clicking the account name) gets gnucash to dump core.

I have also downloaded the source tarball for gnucash 2.2.9 from
sourceforge, but encounter an issue running ./configure on that, as it
is not finding gettext (which I appear to have installed at
/usr/local/bin/gettext).

Ideas? Thoughts? Suggestions?

Keith S.
___
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: Chicken and egg

2009-04-29 Thread Steven Friedrich

Lowell Gilbert wrote:

Steven Friedrich  writes:


On a system with cairo installed, try pkg_info -r cairo\*|grep drm

Here's from one of my systems:
Dependency: libdrm-2.4.9


I did, and don't have that dependency.  I also looked (somewhat quickly,
admittedly) through the makefiles for a way it could be optionally
produced, and didn't come up with anything.

If you want help, assuming that people are idiots is not going to get
you very far.  Especially when most of us can't reproduce what you're
seeing.  Perhaps you have an older set of ports?  If you can figure out
where the dependency came from on your system, it would be a start
towards other people being able to provide advice.

Good luck.
If I have insulted you, I guess it was with the command line using grep, 
I am sorry. I was not my intent to insult you or insinuate that any of 
you are idiots. I hold nix people in the highest regard.


I've been running FreeBSD since 1.1.5 (or something like that, it was in 
 what I believe was the very first FreeBSD book published). But I must 
admit, I'm still struggling to maintain my systems.


For example, I believe that this libdrm dependency that I say cairo has 
is because cairo has two configurable options, Glitz and XCB. I have 
both selected.  Some ports have config options but I can't find any doc 
that tells me what other ports might benefit from them. Perhaps no other 
ports can utilize cairo Glitz OpenGL support?  I went to their web site 
and read their doc, but that doesn't yield FreeBSD specific info.


I removed all ports, and /usr/local and /var/db/pkg, as suggested by 
Manolis.  I updated my ports tree and make fetchindex, but many ports 
are failing and I have to go to their directory and make reinstall, 
sometimes I also have to make clean.  I think this is caused by the 
fetched INDEX being slightly out of date with the tree. I think this 
wouldn't happen with portsdb -uU.


I've started with no ports and added xorg and portupgrade. I'm now 
installing gnome2. I checked the installed packages with pkg_info and 
noticed that cairo is installed and I checked it;s dependencies and 
libdrm is there again. I believe this is because of Glitz option.


--

Steven Friedrich
Lexington, KY 40509
___
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: French-Canadian Keyboard & keyboard switching

2009-04-29 Thread Tijl Coosemans
On Wednesday 29 April 2009 15:20:34 PJ wrote:
> Cool. Then I can ask some questions regarding all of this.
> 
> rc.conf: (snipped to show the relevant entries)
> font8x16="iso15-8x16"
> font8x14="iso15-8x14"
> font8x8="iso15-8x8"
> allscreens_flags="VGA_80x60 cyan"
> rpcbind_enable="YES"
> mountd_flags="-r"
> nfs_client_enable="YES"
> nfs_client_flags="-n 4"
> samba_enable="YES"
> cupsd_enable="YES"
> apache22_enable="YES"
> postgresql_enable="YES"
> mysql_enable="YES"
> webmin_enable="YES"
> #keymap=fr_CA.iso.acc.kbd
> 
> Question:
> 1. the font entries? The /usr/share/syscons/fonts/ entry has suffixes
> of .fnt - ???

Your font and keymap settings are ok. The extensions can be omitted.
See the EXAMPLES sections in vidcontrol(1) and kbdcontrol(1).

> 2. the keymap is commented out because, although it gives me the
> fr_CA keyboard, it also uses French messages which are a bit tortured
> (French courtly affectations in the language are quaint but also make
> for long and convoluted terminology - notice that a text translated
> to French is always longer). K.I.S.S.

Keyboard settings shouldn't affect message localisation. Do you set
the environment variable LANG in ~/.login_conf or in a shell startup
script (.profile or .cshrc or other depending on the shell)? If so,
set it to en_CA.ISO8859-15 or something. From q5 below I think you've
currently set it to fr_CA.utf-8.

> xorg.conf: (snip for relevant)
> Section "ServerLayout"
> Identifier "X.org Configured"
> Screen  0  "Screen0" 0 0
> InputDevice"Mouse0" "CorePointer"
> InputDevice"Keyboard0" "CoreKeyboard"
> Option"AllowEmptyInput" "off"
> EndSection
> 
> Section "Files"
> ModulePath   "/usr/local/lib/xorg/modules"
> FontPath "/usr/local/lib/X11/fonts/misc/"
> FontPath "/usr/local/lib/X11/fonts/TTF/"
> FontPath "/usr/local/lib/X11/fonts/OTF"
> FontPath "/usr/local/lib/X11/fonts/Type1/"
> FontPath "/usr/local/lib/X11/fonts/100dpi/"
> FontPath "/usr/local/lib/X11/fonts/75dpi/"
> EndSection
> 
> Section "Module"
> Load  "extmod"
> Load  "record"
> Load  "dbe"
> Load  "glx"
> Load  "GLcore"
> Load  "xtrap"
> Load  "dri"
> Load  "freetype"
> EndSection
> 
> Section "InputDevice"
> Identifier  "Keyboard0"
> Driver  "kbd"
> Option"XkbModel" "pc104"

This might have to be pc105, but it probably doesn't matter.

> Option  "XkbLayout" "us,ca"

Check out http://en.wikipedia.org/wiki/Keyboard_layout#QWERTY
If you have Canadian Multilingual Standard, this option needs to be set
to "ca(multi)". If you have Canadian French, set it to "ca" or
"ca(fr)".

> Option  "XkbOptions" "grp:toggle"

If you don't need layout switching just delete this.

> EndSection
> 
> Questions:
> 3. This setup enables switching from the default us to what appears
> to be the French keyboard. The fr_CA has the accented characters
> assigned to normal keys while keeping most of the English keys
> normal; the French kbd needs two keypresses to get the accents.
> Tiresome, not so say dumb.

The French have an azerty layout with accented letters also directly
available.

> 4. The toggle does not toggle; pressing right_Alt switches to fr but
> another rtAlt press does nothing. And other Alt combinations don't do
> anything except freeze the kbd and xterm has to be closed and
> thereafter the fr is not accessible without a reboot or one must use
> fluxbox menu to switch the keyboard. How to get the fr_CA instad of
> the fr?

I don't know anything about toggling.

> 5. Upon closing xorg, there are these messages:
> Failed to open file
> (/usr/local/share/fluxbox/nls/fr_CA.utf-8/fluxbox.cat)... (twice)
> Checking Google & fluxbox, it appears this file does not exist. Fluxbox
> simply has not included it in their distribution.
> Mayba Blackbox has it; I'll have to check.

Probably harmless. It's just for message localisation. It should fall
back on English.
___
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: Re: X Window - how to get the standard font

2009-04-29 Thread herbert langhans
Well, I asked the Daemons and got an answer from Jesus and a Guru ;)
Thank you guys , problem solved!
herbs


On Wed, 29 Apr 2009 14:27:57 +0100
Ricardo Jesus  wrote:

> herbert langhans wrote:
> > Hi Daemons,
> > a little question:
> > 
> > I open a shell and invoke:
> > #xmessage 'hello world'
> > - it opens the window, but a rather tiny font.
> > 
> > So I invoke:
> > #xmessage -fn -*-fixed-*-*-*-*-20-*-*-*-*-*-iso8859-* 'hello world'
> > - the same appears in the fontsize I like.
> > 
> > Now the question:
> > Can I set the bigger font somewhere, so that i.e. xmessage appears always 
> > in the preset, bigger font without typing the whole -fn -*-* string in? 
> > Somewhere in .xinitrc? 
> > 
> > Checked the man pages, but its a science to find a solution there.
> > 
> > Thanks
> > herb langhans
> > 
> I've seen .Xdefaults files that setup resources for apps such as xcalc 
> and xmessage.
> 
> Have a look at http://dotfiles.org/~n0nsense/.Xdefaults.
> 


-- 
*** Herbert Langhans, Warschau
*** Sprachtraining Langhans
*** http://www.langhans.com.pl
*** herbert.raim...@gmx.net
*** NIP 526-229-61-51
*** Regon  014911759
*** Tel. 603 341 441
___
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: X failed to load modules "xtrap" and "freetype"

2009-04-29 Thread Roland Smith
On Wed, Apr 29, 2009 at 12:20:34PM +0100, Anton Shterenlikht wrote:
> I'm getting these errors on from  xorg-server-1.6.0,1 on
> FBSD 8.0-current i386:
>  
> (EE) Failed to load module "xtrap" (module does not exist, 0)
> (EE) Failed to load module "freetype" (module does not exist, 0)
> 
> Some posts on the net indicate that these X extentions
> no longer exist. Is that so? I got these simply from
> running X -configure
> 
> Please advise

The xtrap module was removed because it was obsolete / unused / broken /
unmaintained. See http://www.x.org/wiki/Server16Branch, under 'Features
Removed'. 

The functionality of the freetype module is now contained in the libXfont
library. 

You can remove both lines from your xorg.conf.

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)


pgprIHyv84B71.pgp
Description: PGP signature


Re: Ruby18 or Portupgrade error?

2009-04-29 Thread Klaus Friis Østergaard
29. apr. 2009 09.23 skrev Klaus Friis Østergaard :
> 28. apr. 2009 18.17 skrev ill...@gmail.com :
>> 2009/4/28 Klaus Friis Østergaard :
>>> Hi,
>>>
>>> While upgrade gnome I have run into to this error, is it related to
>>> portupgrade or Ruby18 or something different.
>>>
>>> k...@prod01% sudo portupgrade -aOW -x x11/gdm                          
>>> /home/kfo
>>> mktemp: mkdtemp failed on /var/tmp/portupgradedtlzuto6: Too many links
>>> /usr/local/lib/ruby/site_ruby/1.8/pkgmisc.rb:140:in `init_tmpdir':
>>> Could not create temporary directory in /var/tmp (RuntimeError)
>>>        from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:260:in
>>> `init_pkgtools_global'
>>>        from /usr/local/sbin/portupgrade:529:in `main'
>>>        from /usr/local/lib/ruby/1.8/optparse.rb:787:in `initialize'
>>>        from /usr/local/sbin/portupgrade:229:in `new'
>>>        from /usr/local/sbin/portupgrade:229:in `main'
>>>        from /usr/local/sbin/portupgrade:2208
>>> k...@prod01%
>>>                                                    /home/kfo
>>>
>>> I am not experience any other problems on the system.
>>>
>>> I have tried to csup and manually done make deisntall and make install
>>> of both portupgrade and ruby18.
>>>
>>> It seems that I something are able to run portupgrade right after
>>> Reboot, but second time or is not run right after reboot this failure
>>> occure.
>>
>> Try running pkgdb -fFu
>>
>> If that doesn't help, after making sure you've upgraded
>> ruby, try rebuilding databases/db41 and databases/ruby-bdb
>> (in that order)
>> and then running pkgdb -fFu
>
> If I try to run pkgdb -fFu  get this
>
> k...@prod01% sudo pkgdb -fFu
> mktemp: mkdtemp failed on /var/tmp/portupgradeA4dPHC7m: Too many links
> Could not create temporary directory in /var/tmp
> k...@prod01%
>
> I get the same result after I did rebuild ruby, db41 and ruby-bdb in that 
> order.
>
> I did make install, then make deinstall, then make reinstall, I did
> not make any  distclean before compiling.
>
> /klaus
>
I found the failure, in my /var/tmp there where many files mainly
gvfs-{user}-* which I removed then no problem with too many links.

Does any body know why gnome does not seem to clean up the gvfs files after use?

/Klaus
___
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: X Window - how to get the standard font

2009-04-29 Thread N. Raghavendra
At 2009-04-28T23:01:35+02:00, herbert langhans wrote:

> #xmessage -fn -*-fixed-*-*-*-*-20-*-*-*-*-*-iso8859-* 'hello world'
> - the same appears in the fontsize I like.
>
> Now the question:
> Can I set the bigger font somewhere, so that i.e. xmessage appears
> always in the preset, bigger font without typing the whole -fn
> -*-* string in? Somewhere in .xinitrc?

You can add the line

xmessage*font: -*-fixed-*-*-*-*-20-*-*-*-*-*-iso8859-*

to the file `~/.Xresources'.  (I think that file is read at the start
of the X session, but to be certain you can add

xrdb -merge ${HOME}/.Xresources

to ~/.xinitrc or ~/.xsession, as the case may be.  I personally keep
my Xresources elsewhere, and merge them as above.)

HTH,
Raghavendra.

-- 
N. Raghavendra  | http://www.retrotexts.net/
Harish-Chandra Research Institute   | http://www.mri.ernet.in/
See message headers for contact and OpenPGP information.
___
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: [Off Topic] question for UML users

2009-04-29 Thread Norbert Papke
On April 29, 2009, Andrew Gould wrote:
> I need to create flow charts for analytical and reporting processes at
> work.  I had played with the UML editor that came with PC-BSD and noticed
> you could store notes with the objects (very cool).
>
> Can/should UML be used for something like this?

UML is a notation that facilitates communications (amongst other things).  If 
UML helps get the message across, there is no reason not to use it.  If you 
need to express concepts that traditionally had been captured using flow 
charts, UML activity diagrams and/or state charts will likely allow you to do 
the same.

Cheers,

-- Norbert Papke.
   npa...@acm.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: Problem with make config and OPTIONS

2009-04-29 Thread APseudoUtopia
On Wed, Apr 29, 2009 at 10:20 AM, Aurélien Ansel
 wrote:
> Hi,
> (sorry for my poor english)
>
> I have a problem, I'm trying to upgrade an existing port (net/scapy) , I
> have done some changes in the Makefile but when I test the command 'make
> config' I have :
>
>   ===> Options unchanged
>
> I haven't the dialog box with the differents kinds of Options that are
> written in the Makefile, i have try the 'make rmconfig' but no change.
> I am working on my personnal directory, not in /usr/ports/...
>
> The Makefile is:
>
> # New ports collection makefile for:    scapy
> # Date created:        08 dec 2005
> # Whom:            vanhu 
> #
> # $FreeBSD: ports/net/scapy/Makefile,v 1.6 2008/11/19 20:41:56 lwhsu Exp $
> #
> # TODO: - configurable --enable-xxx for various additional dependancies
>
> PORTNAME=    scapy
> PORTVERSION=    2.0.0.10
> CATEGORIES=    net
> MASTER_SITES=    http://secdev.org/projects/scapy/files/
>
> MAINTAINER=    va...@netasq.com
> COMMENT=    Powerful interactive packet manipulation program in python
>
> RUN_DEPENDS=    ${PYTHON_SITELIBDIR}/dnet.so:${PORTSDIR}/net/py-libdnet \
>       ${PYTHON_SITELIBDIR}/pcap.py:${PORTSDIR}/net/py-pcap
>
> MAN1=        scapy.1
> MANCOMPRESSED=    yes
>
> USE_PYTHON=    2.5+
> USE_PYDISTUTILS=yes
>
> OPTIONS=    PYX "Support for PostScript and PDF graphs drawing" off \
>       PYCRYPTO "Support for py-crypto for WEP decoding" off \
>       PYGNUPLOT "Support for py-gnuplot wrapper to plot graphs" off \
>       P0F_BASE "Support for p0f OS signatures database" off \
>       QUESO_BASE "Support for queso OS signatures database" off \
>       NMAP "Support for nmap OS signatures database" off \
>       MANUF "Support for wireshark's MANUF MAC database" off
>
> .include 
>
> .if defined(WITH_PYX)
> RUN_DEPENDS+=
>  ${PYTHON_SITELIBDIR}/pyx/__init__.py:${PORTSDIR}/graphics/py-PyX
> .endif
>
> .if defined(WITH_PYCRYPTO)
> RUN_DEPENDS+=
>  ${PYTHON_SITELIBDIR}/Crypto/__init__.py:${PORTSDIR}/security/py-pycrypto
> .endif
>
> .if defined(WITH_PYGNUPLOT)
> RUN_DEPENDS+=
>  ${PYTHON_SITELIBDIR}/Gnuplot/__init__.py:${PORTSDIR}/math/py-gnuplot
> .endif
>
> .if defined(WITH_P0F_BASE)
> RUN_DEPENDS+=    ${LOCALBASE}/etc/p0f/p0f.fp:${PORTSDIR}/net-mgmt/p0f
> .endif
>
> .if defined(WITH_QUESO_BASE)
> RUN_DEPENDS+=    ${LOCALBASE}/etc/queso.conf:${PORTSDIR}/net/queso
> .endif
>
> .if defined(WITH_NMAP)
> RUN_DEPENDS+=
>  ${LOCALBASE}/share/nmap/nmap-os-fingerprints:${PORTSDIR}/security/nmap
> .endif
>
> .if defined(WITH_MANUF)
> RUN_DEPENDS+=
>  ${LOCALBASE}/share/wireshark/manuf:${PORTSDIR}/net/wireshark
> .endif
>
> SCAPY_MODULES=    nmap.py p0f.py queso.py
>
> post-patch:
>   @${REINPLACE_CMD} "s,share/man/man1,man/man1," ${WRKSRC}/setup.py
>   @${REINPLACE_CMD} "s,%%LOCALBASE%%,${LOCALBASE}," \
>       ${SCAPY_MODULES:S,^,${WRKSRC}/scapy/modules/,} \
>       ${WRKSRC}/scapy/config.py \
>       ${WRKSRC}/scapy/utils6.py
>
> .include 
>
>
>
>
> - Aurélien Ansel

The port options are stored in /var/db/ports. You can delete the
"options" file for your package from that dir. There's also ways to
force the configuration of files using portupgrade/portmaster. For
portmaster, the command is "portmaster --force-config". I don't know
about portupgrade.
___
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"


Problem with make config and OPTIONS

2009-04-29 Thread Aurélien Ansel

Hi,
(sorry for my poor english)

I have a problem, I'm trying to upgrade an existing port (net/scapy) , I 
have done some changes in the Makefile but when I test the command 'make 
config' I have :


   ===> Options unchanged

I haven't the dialog box with the differents kinds of Options that are 
written in the Makefile, i have try the 'make rmconfig' but no change.

I am working on my personnal directory, not in /usr/ports/...

The Makefile is:

# New ports collection makefile for:scapy
# Date created:08 dec 2005
# Whom:vanhu 
#
# $FreeBSD: ports/net/scapy/Makefile,v 1.6 2008/11/19 20:41:56 lwhsu Exp $
#
# TODO: - configurable --enable-xxx for various additional dependancies

PORTNAME=scapy
PORTVERSION=2.0.0.10
CATEGORIES=net
MASTER_SITES=http://secdev.org/projects/scapy/files/

MAINTAINER=va...@netasq.com
COMMENT=Powerful interactive packet manipulation program in python

RUN_DEPENDS=${PYTHON_SITELIBDIR}/dnet.so:${PORTSDIR}/net/py-libdnet \
   ${PYTHON_SITELIBDIR}/pcap.py:${PORTSDIR}/net/py-pcap

MAN1=scapy.1
MANCOMPRESSED=yes

USE_PYTHON=2.5+
USE_PYDISTUTILS=yes

OPTIONS=PYX "Support for PostScript and PDF graphs drawing" off \
   PYCRYPTO "Support for py-crypto for WEP decoding" off \
   PYGNUPLOT "Support for py-gnuplot wrapper to plot graphs" off \
   P0F_BASE "Support for p0f OS signatures database" off \
   QUESO_BASE "Support for queso OS signatures database" off \
   NMAP "Support for nmap OS signatures database" off \
   MANUF "Support for wireshark's MANUF MAC database" off

.include 

.if defined(WITH_PYX)
RUN_DEPENDS+=
${PYTHON_SITELIBDIR}/pyx/__init__.py:${PORTSDIR}/graphics/py-PyX

.endif

.if defined(WITH_PYCRYPTO)
RUN_DEPENDS+=
${PYTHON_SITELIBDIR}/Crypto/__init__.py:${PORTSDIR}/security/py-pycrypto

.endif

.if defined(WITH_PYGNUPLOT)
RUN_DEPENDS+=
${PYTHON_SITELIBDIR}/Gnuplot/__init__.py:${PORTSDIR}/math/py-gnuplot

.endif

.if defined(WITH_P0F_BASE)
RUN_DEPENDS+=${LOCALBASE}/etc/p0f/p0f.fp:${PORTSDIR}/net-mgmt/p0f
.endif

.if defined(WITH_QUESO_BASE)
RUN_DEPENDS+=${LOCALBASE}/etc/queso.conf:${PORTSDIR}/net/queso
.endif

.if defined(WITH_NMAP)
RUN_DEPENDS+=
${LOCALBASE}/share/nmap/nmap-os-fingerprints:${PORTSDIR}/security/nmap

.endif

.if defined(WITH_MANUF)
RUN_DEPENDS+=
${LOCALBASE}/share/wireshark/manuf:${PORTSDIR}/net/wireshark

.endif

SCAPY_MODULES=nmap.py p0f.py queso.py

post-patch:
   @${REINPLACE_CMD} "s,share/man/man1,man/man1," ${WRKSRC}/setup.py
   @${REINPLACE_CMD} "s,%%LOCALBASE%%,${LOCALBASE}," \
   ${SCAPY_MODULES:S,^,${WRKSRC}/scapy/modules/,} \
   ${WRKSRC}/scapy/config.py \
   ${WRKSRC}/scapy/utils6.py

.include 




- Aurélien Ansel
___
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: release packages and portupgrade

2009-04-29 Thread Ivan Voras
Andrew Gould wrote:
> I installed from the FreeBSD 7.2RC2 DVD.  I added packages from the DVD,
> from the ftp site using pkg_add and the release directory, and by executing:
> 
> portupgrade -NpPrR [package name]
> 
> I have not updated the system or ports that were installed from the DVD.
> 
> When I tried to install digikam (I'm taking another look at KDE stuff), I
> noticed many warning messages that installed packages were of earlier
> versions than required.
> 
> Does portupgrade install only the version of a package indicated by the
> ports version?  Does it look for the latest version at the FreeBSD ftp site?

Neither. It looks in /usr/ports/INDEX.



signature.asc
Description: OpenPGP digital signature


[Off Topic] question for UML users

2009-04-29 Thread Andrew Gould
I need to create flow charts for analytical and reporting processes at
work.  I had played with the UML editor that came with PC-BSD and noticed
you could store notes with the objects (very cool).

Can/should UML be used for something like this?

Thanks,

Andrew
___
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: atacontrol spindown

2009-04-29 Thread Vincent Hoffman
On 29/4/09 14:18, Alexander Popov wrote:
> Hi, Daniel,
>
> This is the output:
>
> Checking setuid files and devices:
>
> Checking for uids of 0:
> root 0
> toor 0
>
> Checking for passwordless accounts:
>
> Checking login.conf permissions:
>
> ***.home kernel log messages:
> +++ /tmp/security.G4QuXmuU2009-04-29 03:01:08.0 +0200
> +ad4: Idle, spin down
> +ad4: drive spun down.
> +ad8: Idle, spin down
> +ad8: drive spun down.
> +ad4: request while spun down, starting.
> +ad8: request while spun down, starting.
> +ad8: Idle, spin down
> +ad8: drive spun down.
> +ad4: Idle, spin down
> +ad4: drive spun down.
> +ad4: request while spun down, starting.
>
> The timestamps in /var/log/messages suggested that  "+ad4: request while spun 
> down, starting." happened at 3:01 am.
>
> It would not be very nice if it was due to cron start up; I don't have any 
> system partitions on those drives, it shouldn't touch them...
>   
Have a look through /etc/defaults/periodic.conf
you will see  things like daily_status_disks_enable="YES" in there (does
a df -l -h on all disks) and I think some of the security ones do checks
for new setuid root files, these are all likely to spin up your disks.


Vince
> Regards,
>
> Alexander.
>
>   

___
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: X Window - how to get the standard font

2009-04-29 Thread Ricardo Jesus

herbert langhans wrote:

Hi Daemons,
a little question:

I open a shell and invoke:
#xmessage 'hello world'
- it opens the window, but a rather tiny font.

So I invoke:
#xmessage -fn -*-fixed-*-*-*-*-20-*-*-*-*-*-iso8859-* 'hello world'
- the same appears in the fontsize I like.

Now the question:
Can I set the bigger font somewhere, so that i.e. xmessage appears always in the preset, bigger font without typing the whole -fn -*-* string in? Somewhere in .xinitrc? 


Checked the man pages, but its a science to find a solution there.

Thanks
herb langhans

I've seen .Xdefaults files that setup resources for apps such as xcalc 
and xmessage.


Have a look at http://dotfiles.org/~n0nsense/.Xdefaults.
___
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"


release packages and portupgrade

2009-04-29 Thread Andrew Gould
I installed from the FreeBSD 7.2RC2 DVD.  I added packages from the DVD,
from the ftp site using pkg_add and the release directory, and by executing:

portupgrade -NpPrR [package name]

I have not updated the system or ports that were installed from the DVD.

When I tried to install digikam (I'm taking another look at KDE stuff), I
noticed many warning messages that installed packages were of earlier
versions than required.

Does portupgrade install only the version of a package indicated by the
ports version?  Does it look for the latest version at the FreeBSD ftp site?

Thanks,

Andrew
___
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: atacontrol spindown

2009-04-29 Thread Paul B. Mahol
On 4/29/09, Alexander Popov  wrote:
>
> All FreeBSD system partitions are on a disk that I never try to spin down.
> It is weird that something in periodic daily tries to read from my data
> disks...

Than disable one by one until problem got fixed(easy to say than
done), if not than it is ata
bug.

-- 
Paul
___
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: atacontrol spindown

2009-04-29 Thread Alexander Popov

All FreeBSD system partitions are on a disk that I never try to spin down. It 
is weird that something in periodic daily tries to read from my data disks...

Alexander.


--- On Wed, 4/29/09, Paul B. Mahol  wrote:

> From: Paul B. Mahol 
> Subject: Re: atacontrol spindown
> To: aopo...@yahoo.com
> Cc: freebsd-questions@freebsd.org, "Daniel C. Dowse" 
> Date: Wednesday, April 29, 2009, 3:17 PM
> On 4/29/09, Alexander Popov  wrote:
> >
> > Hi, Paul,
> >
> > Below is my /etc/crontab. The only thing that is run
> at 3 am is periodic
> > daily.
> >
> 
> If any of scripts from /etc/crontab needs access(just
> reading, not
> counting writing,
> considering it is not already cached)
> on spindowned hard disk your mission will fail.
> 
> If you want to keep logging and logs (via another ways) you
> could make
> memory disk for root
> and var slice ... and transfer logs to another media ...
> or use another hard disk for that
> 



  
___
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: French-Canadian Keyboard & keyboard switching

2009-04-29 Thread PJ
Tijl Coosemans wrote:
> On Wednesday 29 April 2009 00:14:53 PJ wrote:
>   
>> Oh, well, another day lost... but, I guess it's better to limp than
>> not to walk at all. :-\
>> 
>
> I think it would help if you posted your /etc/rc.conf and
> /etc/X11/xorg.conf. Those are the two files that need to change.
> ___
> 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"
>
>   
Cool. Then I can ask some questions regarding all of this.

rc.conf: (snipped to show the relevant entries)
font8x16="iso15-8x16"
font8x14="iso15-8x14"
font8x8="iso15-8x8"
allscreens_flags="VGA_80x60 cyan"
rpcbind_enable="YES"
mountd_flags="-r"
nfs_client_enable="YES"
nfs_client_flags="-n 4"
samba_enable="YES"
cupsd_enable="YES"
apache22_enable="YES"
postgresql_enable="YES"
mysql_enable="YES"
webmin_enable="YES"
#keymap=fr_CA.iso.acc.kbd

Question:
1. the font entries? The /usr/share/syscons/fonts/ entry has suffixes of
.fnt - ???
2. the keymap is commented out because, although it gives me the fr_CA
keyboard, it also uses French messages which are a bit tortured (French
courtly affectations in the language are quaint but also make for long
and convoluted terminology - notice that a text translated to French is
always longer). K.I.S.S.

xorg.conf: (snip for relevant)
Section "ServerLayout"
Identifier "X.org Configured"
Screen  0  "Screen0" 0 0
InputDevice"Mouse0" "CorePointer"
InputDevice"Keyboard0" "CoreKeyboard"
Option"AllowEmptyInput" "off"
EndSection

Section "Files"
ModulePath   "/usr/local/lib/xorg/modules"
FontPath "/usr/local/lib/X11/fonts/misc/"
FontPath "/usr/local/lib/X11/fonts/TTF/"
FontPath "/usr/local/lib/X11/fonts/OTF"
FontPath "/usr/local/lib/X11/fonts/Type1/"
FontPath "/usr/local/lib/X11/fonts/100dpi/"
FontPath "/usr/local/lib/X11/fonts/75dpi/"
EndSection

Section "Module"
Load  "extmod"
Load  "record"
Load  "dbe"
Load  "glx"
Load  "GLcore"
Load  "xtrap"
Load  "dri"
Load  "freetype"
EndSection

Section "InputDevice"
Identifier  "Keyboard0"
Driver  "kbd"
Option"XkbModel" "pc104"
Option  "XkbLayout" "us,ca"
Option  "XkbOptions" "grp:toggle"
EndSection

Questions:
3. This setup enables switching from the default us to what appears to
be the French keyboard. The fr_CA has the accented characters assigned
to normal keys while keeping most of the English keys normal; the French
kbd needs two keypresses to get the accents. Tiresome, not so say dumb.
4. The toggle does not toggle; pressing right_Alt switches to fr but
another rtAlt press does nothing. And other Alt combinations don't do
anything except freeze the kbd and xterm has to be closed and thereafter
the fr is not accessible without a reboot or one must use fluxbox menu
to switch the keyboard. How to get the fr_CA instad of the fr?
5. Upon closing xorg, there are these messages:
Failed to open file
(/usr/local/share/fluxbox/nls/fr_CA.utf-8/fluxbox.cat)... (twice)
Checking Google & fluxbox, it appears this file does not exist. Fluxbox
simply has not included it in their distribution.
Mayba Blackbox has it; I'll have to check.
Thanks for any help or suggestions.
Phil

-- 
Hervé Kempf: "Pour sauver la planète, sortez du capitalisme."
-
Phil Jourdan --- p...@ptahhotep.com
   http://www.ptahhotep.com
   http://www.chiccantine.com/andypantry.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: atacontrol spindown

2009-04-29 Thread Alexander Popov

Hi, Daniel,

This is the output:

Checking setuid files and devices:

Checking for uids of 0:
root 0
toor 0

Checking for passwordless accounts:

Checking login.conf permissions:

***.home kernel log messages:
+++ /tmp/security.G4QuXmuU  2009-04-29 03:01:08.0 +0200
+ad4: Idle, spin down
+ad4: drive spun down.
+ad8: Idle, spin down
+ad8: drive spun down.
+ad4: request while spun down, starting.
+ad8: request while spun down, starting.
+ad8: Idle, spin down
+ad8: drive spun down.
+ad4: Idle, spin down
+ad4: drive spun down.
+ad4: request while spun down, starting.

The timestamps in /var/log/messages suggested that  "+ad4: request while spun 
down, starting." happened at 3:01 am.

It would not be very nice if it was due to cron start up; I don't have any 
system partitions on those drives, it shouldn't touch them...

Regards,

Alexander.


--- On Wed, 4/29/09, Daniel C. Dowse  wrote:

> From: Daniel C. Dowse 
> Subject: Re: atacontrol spindown
> To: freebsd-questions@freebsd.org
> Date: Wednesday, April 29, 2009, 3:07 PM
> On Wed, 29 Apr 2009 05:44:51 -0700 (PDT)
> Alexander Popov  wrote:
> 
> > 
> > Hi, Daniel,
> > 
> > It must be periodic(8), but I have trouble identifying
> what exactly could be the trigger. If I look at
> /etc/defaults/periodic.conf, it has 
> > daily_clean_disks_enable="NO".
> > With respect to daily checks, I just have the default
> setup, nothing that I added myself.
> > 
> > Are there any other configuration options that I
> should look at?
> > 
> > Thanks,
> > 
> 
> Hi, Alexander,
> 
> maybe post the part for the disk in your output of your
> daily security
> checks here, would be much  easier to find out what the
> trigger may be.
> 
> What file/directories are accessed, when it comes to that
> point? 
> 
> IMHO:  i believe it is just because the hdd is
> "there", so i think when
> the cron runs it just checks that the disk is still there.
> 
> 
> thx
> 
> D.Dowse 
> 
> 
> -- 
> The only reality is virtual!
> ___
> 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: atacontrol spindown

2009-04-29 Thread Paul B. Mahol
On 4/29/09, Alexander Popov  wrote:
>
> Hi, Paul,
>
> Below is my /etc/crontab. The only thing that is run at 3 am is periodic
> daily.
>

If any of scripts from /etc/crontab needs access(just reading, not
counting writing,
considering it is not already cached)
on spindowned hard disk your mission will fail.

If you want to keep logging and logs (via another ways) you could make
memory disk for root
and var slice ... and transfer logs to another media ...
or use another hard disk for that

> # /etc/crontab - root's crontab for FreeBSD
> #
> # $FreeBSD: src/etc/crontab,v 1.32.32.1 2008/11/25 02:59:29 kensmith Exp $
> #
> SHELL=/bin/sh
> PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin
> HOME=/var/log
> #
> #minute hourmdaymonth   wdaywho command
> #
> */5 *   *   *   *   root/usr/libexec/atrun
> #
> # Save some entropy so that /dev/random can re-seed on boot.
> */11*   *   *   *   operator /usr/libexec/save-entropy
> #
> # Rotate log files every hour, if necessary.
> 0   *   *   *   *   rootnewsyslog
> #
> # Perform daily/weekly/monthly maintenance.
> 1   3   *   *   *   rootperiodic daily
> 15  4   *   *   6   rootperiodic weekly
> 30  5   1   *   *   rootperiodic monthly
> #
> # Adjust the time zone if the CMOS clock keeps local time, as opposed to
> # UTC time.  See adjkerntz(8) for details.
> 1,310-5 *   *   *   rootadjkerntz -a
>
>
>
> --- On Wed, 4/29/09, Paul B. Mahol  wrote:
>
>> From: Paul B. Mahol 
>> Subject: Re: atacontrol spindown
>> To: aopo...@yahoo.com
>> Cc: freebsd-questions@freebsd.org, "Daniel C. Dowse" 
>> Date: Wednesday, April 29, 2009, 2:58 PM
>> On 4/29/09, Alexander Popov  wrote:
>> >
>> > Hi, Daniel,
>> >
>> > It must be periodic(8), but I have trouble identifying
>> what exactly could be
>> > the trigger. If I look at /etc/defaults/periodic.conf,
>> it has
>> > daily_clean_disks_enable="NO".
>> > With respect to daily checks, I just have the default
>> setup, nothing that I
>> > added myself.
>> >
>> > Are there any other configuration options that I
>> should look at?
>>
>> /etc/crontab
>>
>> --
>> Paul
>
>
>
>


-- 
Paul
___
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: atacontrol spindown

2009-04-29 Thread Alexander Popov

Hi, Paul,

Below is my /etc/crontab. The only thing that is run at 3 am is periodic daily.

# /etc/crontab - root's crontab for FreeBSD
#
# $FreeBSD: src/etc/crontab,v 1.32.32.1 2008/11/25 02:59:29 kensmith Exp $
#
SHELL=/bin/sh
PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin
HOME=/var/log
#
#minute hourmdaymonth   wdaywho command
#
*/5 *   *   *   *   root/usr/libexec/atrun
#
# Save some entropy so that /dev/random can re-seed on boot.
*/11*   *   *   *   operator /usr/libexec/save-entropy
#
# Rotate log files every hour, if necessary.
0   *   *   *   *   rootnewsyslog
#
# Perform daily/weekly/monthly maintenance.
1   3   *   *   *   rootperiodic daily
15  4   *   *   6   rootperiodic weekly
30  5   1   *   *   rootperiodic monthly
#
# Adjust the time zone if the CMOS clock keeps local time, as opposed to
# UTC time.  See adjkerntz(8) for details.
1,310-5 *   *   *   rootadjkerntz -a



--- On Wed, 4/29/09, Paul B. Mahol  wrote:

> From: Paul B. Mahol 
> Subject: Re: atacontrol spindown
> To: aopo...@yahoo.com
> Cc: freebsd-questions@freebsd.org, "Daniel C. Dowse" 
> Date: Wednesday, April 29, 2009, 2:58 PM
> On 4/29/09, Alexander Popov  wrote:
> >
> > Hi, Daniel,
> >
> > It must be periodic(8), but I have trouble identifying
> what exactly could be
> > the trigger. If I look at /etc/defaults/periodic.conf,
> it has
> > daily_clean_disks_enable="NO".
> > With respect to daily checks, I just have the default
> setup, nothing that I
> > added myself.
> >
> > Are there any other configuration options that I
> should look at?
> 
> /etc/crontab
> 
> -- 
> Paul


  
___
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: atacontrol spindown

2009-04-29 Thread Daniel C. Dowse
On Wed, 29 Apr 2009 05:44:51 -0700 (PDT)
Alexander Popov  wrote:

> 
> Hi, Daniel,
> 
> It must be periodic(8), but I have trouble identifying what exactly could be 
> the trigger. If I look at /etc/defaults/periodic.conf, it has 
> daily_clean_disks_enable="NO".
> With respect to daily checks, I just have the default setup, nothing that I 
> added myself.
> 
> Are there any other configuration options that I should look at?
> 
> Thanks,
> 

Hi, Alexander,

maybe post the part for the disk in your output of your daily security
checks here, would be much  easier to find out what the trigger may be.

What file/directories are accessed, when it comes to that point? 

IMHO:  i believe it is just because the hdd is "there", so i think when
the cron runs it just checks that the disk is still there.


thx

D.Dowse 


-- 
The only reality is virtual!
___
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: Problems with Xorg after portupgrade

2009-04-29 Thread Manolis Kiagias
Anton Shterenlikht wrote:
> On Wed, Apr 29, 2009 at 02:43:18PM +0200, Daniel C. Dowse wrote:
>   
>> On Wed, 29 Apr 2009 13:38:10 +0100
>> Anton Shterenlikht  wrote:
>>
>> 
>>> On Wed, Apr 29, 2009 at 08:24:05AM -0400, Robert Huff wrote:
>>>   
 Anton Shterenlikht writes:

 
>  > Section "DRI"
>  >Mode0666
>  > EndSection
>  
>  what does this do?
>   
Sets the permissions for some file.
 
>>> which file? Is this something to do with allowing ordinary users
>>> run X?
>>>
>>>   
>> Hi, Anton,
>>
>> it is in /etc/X11/xorg.conf
>> 
>
> yes, I got this from somebody's xorg.conf, but what does this do?
> Is this a recommended setting? For what driver?
>
> thank you
> anton
>   
Permits access to Direct Rendering for all users. For details see this:

http://dri.freedesktop.org/wiki/DriTroubleshooting

___
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: atacontrol spindown

2009-04-29 Thread Paul B. Mahol
On 4/29/09, Alexander Popov  wrote:
>
> Hi, Daniel,
>
> It must be periodic(8), but I have trouble identifying what exactly could be
> the trigger. If I look at /etc/defaults/periodic.conf, it has
> daily_clean_disks_enable="NO".
> With respect to daily checks, I just have the default setup, nothing that I
> added myself.
>
> Are there any other configuration options that I should look at?

/etc/crontab

-- 
Paul
___
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: Modern FreeBSD Installer?

2009-04-29 Thread Sergio de Almeida Lenzi
hello

Well, after all that said, I would like to post my
modest oppinion based in experience from the market..

1) The people who use FreeBSD, or other OS, (the end user) 
will never install the OS, the person will turn on the machine
and expects an graphical interface appears in the secreen.

2) the Interface should be as simple as possible, but powerfull
enought to fullfill their needs, that is text, email, browsing,
some banking, multimedia (this must be powerfulll...), chatting.
some dvd authoriting, P2P. should access WIFI networks easy too

3) the "computer"  (computer is the term used by the USER) should
NEVER break, stop working That is: the computer (and the Operating
system) should act as the TV set... (remember those old times when the TV set
used to break???) you turn it on, and it works...

4) For those who install the OS in the computer, (some 1 in 10.000) people
should make it fast and dirty  I make an installer that install FBSD in 10 
minutes
with all the gnome, office, multimedia, with only one  of the keyboard...
using ZFS, the system never breaks, is ready to use in 20 seconds... FBSD is 
installed
in more than 1000 machines running in gas stations... here...

5) A beautifull installer is good for the newspaper that publishes a "review" of
the Operating system (they must publish something to "sell" to ...save their 
job..),
Have you ever heard about a "Leopard" installer??? do you know someone who 
reinstalled "Leopard"??

6) I also think that there must be an "fast and dirty"  FBSD install. in the 
distribution
a CD (or DVD) that you put in the machine, it asks where to install and a 
prompt choosing YES or NO...
the installer formats the disk(partition), do a tar of the FBSD image, with an 
login of "admin" prompts for 
a password, and dumps the os image in the disk using journal or ZFS... 
(90% of the machines I installed FBSD have 1GB of memory, 80GB of HD and HDA 
sound,
INTEL,ATI,VIA graphics board... only 4 brands of NIC).

7) I showed FBSD to an "expert" windows guy, and he think it is far more easy 
to install than
the XP he was using besides, it is LEGAL!!!  

Thanks for the Attention,

Sergio

___
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: Problems with Xorg after portupgrade

2009-04-29 Thread Anton Shterenlikht
On Wed, Apr 29, 2009 at 02:43:18PM +0200, Daniel C. Dowse wrote:
> On Wed, 29 Apr 2009 13:38:10 +0100
> Anton Shterenlikht  wrote:
> 
> > On Wed, Apr 29, 2009 at 08:24:05AM -0400, Robert Huff wrote:
> > > 
> > > Anton Shterenlikht writes:
> > > 
> > > >  > Section "DRI"
> > > >  >  Mode0666
> > > >  > EndSection
> > > >  
> > > >  what does this do?
> > > 
> > >   Sets the permissions for some file.
> > 
> > which file? Is this something to do with allowing ordinary users
> > run X?
> > 
> 
> Hi, Anton,
> 
> it is in /etc/X11/xorg.conf

yes, I got this from somebody's xorg.conf, but what does this do?
Is this a recommended setting? For what driver?

thank you
anton

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423
___
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: X failed to load modules "xtrap" and "freetype"

2009-04-29 Thread Paul B. Mahol
On 4/29/09, Anton Shterenlikht  wrote:
> I'm getting these errors on from  xorg-server-1.6.0,1 on
> FBSD 8.0-current i386:
>
> (EE) Failed to load module "xtrap" (module does not exist, 0)
> (EE) Failed to load module "freetype" (module does not exist, 0)
>
> Some posts on the net indicate that these X extentions
> no longer exist. Is that so? I got these simply from
> running X -configure
>
> Please advise

I dont have that modules in mine xorg.conf.


-- 
Paul
___
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: atacontrol spindown

2009-04-29 Thread Alexander Popov

Hi, Daniel,

It must be periodic(8), but I have trouble identifying what exactly could be 
the trigger. If I look at /etc/defaults/periodic.conf, it has 
daily_clean_disks_enable="NO".
With respect to daily checks, I just have the default setup, nothing that I 
added myself.

Are there any other configuration options that I should look at?

Thanks,

Alexander.


--- On Wed, 4/29/09, Daniel C. Dowse  wrote:

> From: Daniel C. Dowse 
> Subject: Re: atacontrol spindown
> To: freebsd-questions@freebsd.org
> Date: Wednesday, April 29, 2009, 1:50 PM
> On Wed, 29 Apr 2009 04:10:04 -0700 (PDT)
> Alexander Popov  wrote:
> 
> > 
> > Hi,
> > 
> > With FreeBSD 7.1 I've started using atacontrol
> spindown for my secondary disks (i.e. disks that are
> accessed very infrequently). Everything seemed to work nice
> until I noticed in my "daily security run output"
> list of kernel messages that suggests that disks get awaken
> every night at 3 am. Could someone suggest what could
> trigger my disks to wake up?
> > 
> 
> Hi Alexander,
> 
> maybe it is cron when it runs  the daily security checks so
> it checks
> for the disk? Or have a look at your cronjobs  
> 
> with best regards
> 
> D. Dowse
> 
> -- 
> The only reality is virtual!
> ___
> 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: Problems with Xorg after portupgrade

2009-04-29 Thread Daniel C. Dowse
On Wed, 29 Apr 2009 13:38:10 +0100
Anton Shterenlikht  wrote:

> On Wed, Apr 29, 2009 at 08:24:05AM -0400, Robert Huff wrote:
> > 
> > Anton Shterenlikht writes:
> > 
> > >  > Section "DRI"
> > >  >Mode0666
> > >  > EndSection
> > >  
> > >  what does this do?
> > 
> > Sets the permissions for some file.
> 
> which file? Is this something to do with allowing ordinary users
> run X?
> 

Hi, Anton,

it is in /etc/X11/xorg.conf

greets

D.Dowse
-- 
The only reality is virtual!
___
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: Problems with Xorg after portupgrade

2009-04-29 Thread Anton Shterenlikht
On Wed, Apr 29, 2009 at 08:24:05AM -0400, Robert Huff wrote:
> 
> Anton Shterenlikht writes:
> 
> >  > Section "DRI"
> >  >  Mode0666
> >  > EndSection
> >  
> >  what does this do?
> 
>   Sets the permissions for some file.

which file? Is this something to do with allowing ordinary users
run X?

many thanks
anton

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423
___
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: ndis0 interrrupt storm

2009-04-29 Thread Paul B. Mahol
On 4/29/09, Chris Whitehouse  wrote:
> Hi all
>
> I'm trying to get a Linksys WPC54Gv5 wireless pccard working. It has a
> Marvell 8335 chip. I've created a module with ndisgen and I can see
> ndis0. When I up it with ifconfig I immediately get repeated messages:
>
> Apr 28 23:23:19 pcbsd kernel: interrupt storm detected on "irq11:";
> throttling interrupt source
>
> As soon as I down the interface the messages stop.
>
> I've also tried starting ndis0 with polling
>
> # ifconfig ndis0 inet 192.168.1.20 polling
>
> but still get the messages. I guess this driver doesn't support polling.
> Or I've got the syntax wrong.

That command is not currently efective at all for ndisX(I yet have to
see if it is possible).

> According to vmstat -i irq11 is used by cbb0 and pcm0. ndis0 is on irq9
>
> irq9: cbb1 ndis0++
>
> This is on PCBSD 7.1 which is FreeBSD 7.2-PRERELEASE
>
> Any way I can get this thing working?

Try yo disable cbbX if you dont use it or enable MSI for pcm0 (if possible).


-- 
Paul
___
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: Chicken and egg

2009-04-29 Thread Lowell Gilbert
Steven Friedrich  writes:

> On a system with cairo installed, try pkg_info -r cairo\*|grep drm
>
> Here's from one of my systems:
> Dependency: libdrm-2.4.9

I did, and don't have that dependency.  I also looked (somewhat quickly,
admittedly) through the makefiles for a way it could be optionally
produced, and didn't come up with anything.

If you want help, assuming that people are idiots is not going to get
you very far.  Especially when most of us can't reproduce what you're
seeing.  Perhaps you have an older set of ports?  If you can figure out
where the dependency came from on your system, it would be a start
towards other people being able to provide advice.

Good luck.
-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
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: Problems with Xorg after portupgrade

2009-04-29 Thread Anton Shterenlikht
On Mon, Apr 20, 2009 at 03:58:10AM +0200, Polytropon wrote:
> 
> Section "DRI"
>   Mode0666
> EndSection

what does this do?

thanks
anton

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423
___
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: atacontrol spindown

2009-04-29 Thread Daniel C. Dowse
On Wed, 29 Apr 2009 04:10:04 -0700 (PDT)
Alexander Popov  wrote:

> 
> Hi,
> 
> With FreeBSD 7.1 I've started using atacontrol spindown for my secondary 
> disks (i.e. disks that are accessed very infrequently). Everything seemed to 
> work nice until I noticed in my "daily security run output" list of kernel 
> messages that suggests that disks get awaken every night at 3 am. Could 
> someone suggest what could trigger my disks to wake up?
> 

Hi Alexander,

maybe it is cron when it runs  the daily security checks so it checks
for the disk? Or have a look at your cronjobs  

with best regards

D. Dowse

-- 
The only reality is virtual!
___
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"


atacontrol spindown

2009-04-29 Thread Alexander Popov

Hi,

With FreeBSD 7.1 I've started using atacontrol spindown for my secondary disks 
(i.e. disks that are accessed very infrequently). Everything seemed to work 
nice until I noticed in my "daily security run output" list of kernel messages 
that suggests that disks get awaken every night at 3 am. Could someone suggest 
what could trigger my disks to wake up?

BTW, I am not running smartd daemon, so that cannot be an issue.

Thanks in advance,

Alexander.


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


X failed to load modules "xtrap" and "freetype"

2009-04-29 Thread Anton Shterenlikht
I'm getting these errors on from  xorg-server-1.6.0,1 on
FBSD 8.0-current i386:
 
(EE) Failed to load module "xtrap" (module does not exist, 0)
(EE) Failed to load module "freetype" (module does not exist, 0)

Some posts on the net indicate that these X extentions
no longer exist. Is that so? I got these simply from
running X -configure

Please advise

many thanks
anton

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423
___
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: CARP & bridge

2009-04-29 Thread Julien Cigar
On Wed, 2009-04-29 at 11:37 +0200, Sebastiaan van Erk wrote:
> Hi,
> 
> I have a bridged OpenVPN setup where the OpenVPN tap0 driver is bridged 
> (via bridge0) to the physical em1 interface, which has a VIP via a carp1 
> interface:
> 
> em1: flags=8943 metric 0 
> mtu 1500
>   options=98
>   ether 00:0c:29:61:2a:55
>   inet 10.0.80.77 netmask 0xff00 broadcast 10.0.80.255
>   media: Ethernet autoselect (1000baseTX )
>   status: active
> bridge0: flags=8843 metric 0 mtu 
> 1500
>   ether 9a:6a:9f:b2:65:da
>   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: tap0 flags=143
>   ifmaxaddr 0 port 11 priority 128 path cost 200
>   member: em1 flags=143
>   ifmaxaddr 0 port 2 priority 128 path cost 2
> tap0: flags=8943 metric 
> 0 mtu 1500
>   ether 00:bd:48:03:00:00
>   Opened by PID 24616
> carp1: flags=49 metric 0 mtu 1500
>   inet 10.0.80.74 netmask 0xff00
>   carp: MASTER vhid 2 advbase 1 advskew 0
> 
> 
> The problem I have is that when I ping the VIP from a VPN client (on 
> tap0), the server receives arp requests for the VIP on tap0, but it does 
> not respond to them:
> 
> # tcpdump -i tap0 -ln
> 11:29:13.637048 arp who-has 10.0.80.74 tell 10.0.80.6
> 
> Is there any way to get the server to respond to arp requests on tap0 
> for the VIP?
> 

Maybe you've to do ARP Proxy on one side ? Try to add an ARP entry in
the ARP table with arp (arp -s 1.2.3.4 MAC foo) ..

> This is all on FreeBSD 7.1 with OpenVPN 2.0.6 (both client and server).
> 
> Regards,
> Sebastiaan
> 
-- 
Julien Cigar
Belgian Biodiversity Platform
http://www.biodiversity.be
Université Libre de Bruxelles (ULB)
Campus de la Plaine CP 257
Bâtiment NO, Bureau 4 N4 115C (Niveau 4)
Boulevard du Triomphe, entrée ULB 2
B-1050 Bruxelles
Mail: jci...@ulb.ac.be
@biobel: http://biobel.biodiversity.be/person/show/471
Tel : 02 650 57 52

___
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: CARP & bridge

2009-04-29 Thread Sebastiaan van Erk

Hi,

Julien Cigar wrote:

On Wed, 2009-04-29 at 11:37 +0200, Sebastiaan van Erk wrote:

Hi,

I have a bridged OpenVPN setup where the OpenVPN tap0 driver is bridged 
(via bridge0) to the physical em1 interface, which has a VIP via a carp1 
interface:


em1: flags=8943 metric 0 
mtu 1500

options=98
ether 00:0c:29:61:2a:55
inet 10.0.80.77 netmask 0xff00 broadcast 10.0.80.255
media: Ethernet autoselect (1000baseTX )
status: active
bridge0: flags=8843 metric 0 mtu 
1500

ether 9a:6a:9f:b2:65:da
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: tap0 flags=143
ifmaxaddr 0 port 11 priority 128 path cost 200
member: em1 flags=143
ifmaxaddr 0 port 2 priority 128 path cost 2
tap0: flags=8943 metric 
0 mtu 1500

ether 00:bd:48:03:00:00
Opened by PID 24616
carp1: flags=49 metric 0 mtu 1500
inet 10.0.80.74 netmask 0xff00
carp: MASTER vhid 2 advbase 1 advskew 0


The problem I have is that when I ping the VIP from a VPN client (on 
tap0), the server receives arp requests for the VIP on tap0, but it does 
not respond to them:


# tcpdump -i tap0 -ln
11:29:13.637048 arp who-has 10.0.80.74 tell 10.0.80.6

Is there any way to get the server to respond to arp requests on tap0 
for the VIP?




Maybe you've to do ARP Proxy on one side ? Try to add an ARP entry in
the ARP table with arp (arp -s 1.2.3.4 MAC foo) ..


Thanks for the suggestion.

Ok, static arp works: that is, if I take the carp1 mac address and add 
it to the arp table using:


 arp -s 10.0.80.74 00:00:5e:00:01:02 pub

The ping starts to work. I'm still a bit confused why I have to do this 
though, because I can ping the non-shared IP 10.0.80.77 from the VPN 
client (via tap0) without any static arp, and I can ping the shared VIP 
(10.0.80.74) from clients on the physical network (em1) as well without 
any static arp. It's only when the ping it has to cross the bridge that 
it's an issue.


Regards,
Sebastiaan



smime.p7s
Description: S/MIME Cryptographic Signature


Re: Chicken and egg

2009-04-29 Thread Mike Clarke
On Monday 27 April 2009, Steven Friedrich wrote:

> I built cairo with make -k install, so it would brute force past the
> error, and after that I built libdrm and cairo again with portupgrade
> -fr libdrm cairo.

I think I had a similar problem a while ago. If I remember correctly it 
was fixed by running pkgdb -F to remove a superfluous dependency.

-- 
Mike Clarke
___
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"


CARP & bridge

2009-04-29 Thread Sebastiaan van Erk

Hi,

I have a bridged OpenVPN setup where the OpenVPN tap0 driver is bridged 
(via bridge0) to the physical em1 interface, which has a VIP via a carp1 
interface:


em1: flags=8943 metric 0 
mtu 1500

options=98
ether 00:0c:29:61:2a:55
inet 10.0.80.77 netmask 0xff00 broadcast 10.0.80.255
media: Ethernet autoselect (1000baseTX )
status: active
bridge0: flags=8843 metric 0 mtu 
1500

ether 9a:6a:9f:b2:65:da
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: tap0 flags=143
ifmaxaddr 0 port 11 priority 128 path cost 200
member: em1 flags=143
ifmaxaddr 0 port 2 priority 128 path cost 2
tap0: flags=8943 metric 
0 mtu 1500

ether 00:bd:48:03:00:00
Opened by PID 24616
carp1: flags=49 metric 0 mtu 1500
inet 10.0.80.74 netmask 0xff00
carp: MASTER vhid 2 advbase 1 advskew 0


The problem I have is that when I ping the VIP from a VPN client (on 
tap0), the server receives arp requests for the VIP on tap0, but it does 
not respond to them:


# tcpdump -i tap0 -ln
11:29:13.637048 arp who-has 10.0.80.74 tell 10.0.80.6

Is there any way to get the server to respond to arp requests on tap0 
for the VIP?


This is all on FreeBSD 7.1 with OpenVPN 2.0.6 (both client and server).

Regards,
Sebastiaan



smime.p7s
Description: S/MIME Cryptographic Signature


Your invitation from neelkamal n is about to expire

2009-04-29 Thread Grouply
On April 25, neelkamal n sent you an invitation to
join Grouply so you can see
their profile, friends, and list of groups.

 On Wednesday (May 6), this invitation will
expire. Follow this link to accept
neelkamal n's invitation.

 http://www.grouply.com/register?rem=71746366

 Signing up is free and takes less than a minute.
   
   Block Grouply Invites  |  Mark as SPAM
  
  This reminder email is sent by an automatic
process triggered by system
maintenance. This is the only email message you
will receive from Grouply about
the expiration of this invitation from neelkamal
n. To block all emails from
Grouply, click  here  or send an email to
blockl...@grouply.com with subject
"unsubscribe-eV1DthQ%2FlCLeWKBL4fFzHeuNQgLBkBavbdxQ9C8%3D".
  
  Grouply, 495 Seaport Court, Suite 103, Redwood
City, CA 94063   

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


ICU compile error

2009-04-29 Thread Klaus Friis Østergaard
I have a problem with compiling ICU on 7.0, I have googled and found
that some have problem on the AMD64 platform were one should comment
out ALL_TARGET in the Make file but I can not find this.


---[OK]  ---/tscoll/usrchtst/TestEnd
---[OK]  ---/tscoll/usrchtst/TestNumeric
Text: aa\u00e1
Pattern: a\u00e1
Error following match found at -1 0
Error at test number 1
---[4 ERRORS]  ---/tscoll/usrchtst/TestDiactricMatch
 /utrans/
   ---[OK]  ---/utrans/TestAPI
   ---[OK]  ---/utrans/TestSimpleRules
   ---[OK]  ---/utrans/TestFilter
   ---[OK]  ---/utrans/TestOpenInverse
   ---[OK]  ---/utrans/TestClone
   ---[OK]  ---/utrans/TestRegisterUnregister
   ---[OK]  ---/utrans/TestExtractBetween
   ---[OK]  ---/utrans/TestUnicodeIDs

SUMMARY:
*** [Total error count: 4]
 Errors in
   [/tscoll/usrchtst/TestDiactricMatch]
Elapsed Time: 00:00:15.000
*** Error code 1

Stop in /usr/ports/devel/icu.
k...@prod01%

Any help apriciated.

/Klaus
___
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: French-Canadian Keyboard & keyboard switching

2009-04-29 Thread Tijl Coosemans
On Wednesday 29 April 2009 00:14:53 PJ wrote:
> Oh, well, another day lost... but, I guess it's better to limp than
> not to walk at all. :-\

I think it would help if you posted your /etc/rc.conf and
/etc/X11/xorg.conf. Those are the two files that need to change.
___
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: acroread run problem

2009-04-29 Thread Pieter Donche

I delete acroread9 (pkg_delete acroread9-9.1.0_2) and installed
# cd /usr/ports/print/acroread8
# make install clean

but I get the same errors...
waht could be wrong and how to remedy?

On Tue, 28 Apr 2009, Peter Ulrich Kruppa wrote:


I am very sorry:

I mixed up the acroread versions: you won't be able to run acroread9
stably on FreeBSD 7.x .
You will have to wait for FreeBSD 8 . Until then you have to use
acroread8 :-(

Greetings

Uli.



Am Dienstag, den 28.04.2009, 07:44 +0200 schrieb Pieter Donche:

Hi,

yes I do have in my /etc/rc.conf
  linux_enable="YES"


2) Do you get
# df
[...]
linprocfs4   4 0  100%/usr/compat/linux/proc

No, this I do not have, but I wonder what that is ...

I find nothing about linprocfs in
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/linuxemu.html

I also checked (from that book chapter 10.2)
# kldstat
Id Refs AddressSize Name
  17 0x8010 ac7708   kernel
  21 0xb08e 18aealinux.ko
  31 0xb09cb000 496  star_saver.ko

Also, I have a another PC with FreeBSD7 (i386) with Acrobat Reader 7.0
(/usr/local/bin/acroread) which works and there I do not not have
a "linprocfs ..." in a df output...


On Mon, 27 Apr 2009, Peter Ulrich Kruppa wrote:


Am Montag, den 27.04.2009, 11:16 +0200 schrieb Pieter Donche:

FreeBSD7/amd64 with linux_base-fc-4_14  Base set of packages needed
in Linux mode (for i386/amd64)
I installed acroread9-9.1.0_2 (no errors)
# cd /usr/ports/print/acroread9
# make install clean
OK.

but at
$ acroread &
I get:

(acroread:67581): GdkPixbuf-WARNING **: Cannot open pixbuf loader module file 
'/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory
(acroread:67581): GdkPixbuf-WARNING **: Error loading XPM image loader: Image 
type 'xpm' is not supported
(acroread:67581): GdkPixbuf-WARNING **: Cannot open pixbuf loader module file 
'/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory
(acroread:67581): GdkPixbuf-WARNING **: Error loading XPM image loader: Image 
type 'xpm' is not supported
(acroread:67581): GdkPixbuf-WARNING **: Cannot open pixbuf loader module file 
'/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory
(acroread:67581): GdkPixbuf-WARNING **: Error loading XPM image loader: Image 
type 'xpm' is not supported
(acroread:67581): GLib-GObject-CRITICAL **: g_object_ref: assertion 
`G_IS_OBJECT (object)' failed
(acroread:67581): GLib-GObject-CRITICAL **: g_object_ref: assertion 
`G_IS_OBJECT (object)' failed
(acroread:67581): GLib-GObject-CRITICAL **: g_object_ref: assertion 
`G_IS_OBJECT (object)' failed
(acroread:67581): GLib-GObject-CRITICAL **: g_object_unref: assertion 
`G_IS_OBJECT (object)' failed
(acroread:67581): GLib-GObject-CRITICAL **: g_object_unref: assertion 
`G_IS_OBJECT (object)' failed
(acroread:67581): GLib-GObject-CRITICAL **: g_object_unref: assertion 
`G_IS_OBJECT (object)' failed
(acroread:67581): Gdk-CRITICAL **: gdk_window_set_icon_list: assertion 
`GDK_IS_PIXBUF (pixbuf)' failed
(acroread:67581): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion 
`pixbuf != NULL' failed
(acroread:67581): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion 
`pixbuf != NULL' failed
(acroread:67581): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion 
`pixbuf != NULL' failed
(acroread:67581): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion 
`pixbuf != NULL' failed
(acroread:67581): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion 
`pixbuf != NULL' failed
(acroread:67581): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion 
`pixbuf != NULL' failed
(acroread:67581): GdkPixbuf-WARNING **: Cannot open pixbuf loader module file 
'/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory
(acroread:67581): GdkPixbuf-WARNING **: Error loading XPM image loader: Image 
type 'xpm' is not supported
(acroread:67581): GdkPixbuf-WARNING **: Cannot open pixbuf loader module file 
'/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory
(acroread:67581): GdkPixbuf-WARNING **: Error loading XPM image loader: Image 
type 'xpm' is not supported
(acroread:67581): GdkPixbuf-WARNING **: Cannot open pixbuf loader module file 
'/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory
(acroread:67581): GdkPixbuf-WARNING **: Error loading XPM image loader: Image 
type 'xpm' is not supported
(acroread:67581): GLib-GObject-CRITICAL **: g_object_ref: assertion 
`G_IS_OBJECT (object)' failed
(acroread:67581): GLib-GObject-CRITICAL **: g_object_ref: assertion 
`G_IS_OBJECT (object)' failed
(acroread:67581): GLib-GObject-CRITICAL **: g_object_ref: assertion 
`G_IS_OBJECT (object)' failed
(acroread:67581): GLib-GObject-CRITICAL **: g_object_unref: assertion 
`G_IS_OBJECT (object)' failed
(acroread:67581): GLib-GObject-CRITICAL **: g_object_unref: assertion 
`G_IS_OBJECT (object)' failed
(acroread:67581): GLib-GObject-CRITICAL **: g_object_unref: assertion 
`G_IS_OBJECT (object)' failed
(acroread:67581): Gdk-CRITICAL **:

Re: Ruby18 or Portupgrade error?

2009-04-29 Thread Klaus Friis Østergaard
28. apr. 2009 18.17 skrev ill...@gmail.com :
> 2009/4/28 Klaus Friis Østergaard :
>> Hi,
>>
>> While upgrade gnome I have run into to this error, is it related to
>> portupgrade or Ruby18 or something different.
>>
>> k...@prod01% sudo portupgrade -aOW -x x11/gdm                          
>> /home/kfo
>> mktemp: mkdtemp failed on /var/tmp/portupgradedtlzuto6: Too many links
>> /usr/local/lib/ruby/site_ruby/1.8/pkgmisc.rb:140:in `init_tmpdir':
>> Could not create temporary directory in /var/tmp (RuntimeError)
>>        from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:260:in
>> `init_pkgtools_global'
>>        from /usr/local/sbin/portupgrade:529:in `main'
>>        from /usr/local/lib/ruby/1.8/optparse.rb:787:in `initialize'
>>        from /usr/local/sbin/portupgrade:229:in `new'
>>        from /usr/local/sbin/portupgrade:229:in `main'
>>        from /usr/local/sbin/portupgrade:2208
>> k...@prod01%
>>                                                    /home/kfo
>>
>> I am not experience any other problems on the system.
>>
>> I have tried to csup and manually done make deisntall and make install
>> of both portupgrade and ruby18.
>>
>> It seems that I something are able to run portupgrade right after
>> Reboot, but second time or is not run right after reboot this failure
>> occure.
>
> Try running pkgdb -fFu
>
> If that doesn't help, after making sure you've upgraded
> ruby, try rebuilding databases/db41 and databases/ruby-bdb
> (in that order)
> and then running pkgdb -fFu

If I try to run pkgdb -fFu  get this

k...@prod01% sudo pkgdb -fFu
mktemp: mkdtemp failed on /var/tmp/portupgradeA4dPHC7m: Too many links
Could not create temporary directory in /var/tmp
k...@prod01%

I get the same result after I did rebuild ruby, db41 and ruby-bdb in that order.

I did make install, then make deinstall, then make reinstall, I did
not make any  distclean before compiling.

/klaus
___
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"