FreeBSD-STABLE: How do I change my Local IP Address statically?

2008-11-24 Thread Mike Price
My IP Address on my FreeBSD Server 4.11-STABLE keeps changing. What I need
to do is find the file or command to change it statically.

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


Re: FreeBSD-STABLE: How do I change my Local IP Address statically?

2008-11-24 Thread Wojciech Puchar

My IP Address on my FreeBSD Server 4.11-STABLE keeps changing. What I need


saying My suggest you are administrator - so you (your script/program) 
changes IP. so you know what it is.


please more precisely specify your question
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD-STABLE: How do I change my Local IP Address statically?

2008-11-24 Thread Giorgos Keramidas
On Mon, 24 Nov 2008 00:16:35 -0800, Mike Price [EMAIL PROTECTED] wrote:
 My IP Address on my FreeBSD Server 4.11-STABLE keeps changing. What I
 need to do is find the file or command to change it statically.

Network configuration is saved in `/etc/rc.conf' in FreeBSD.  Before you
make any changes to that file, however, make sure that:

(1) You have a safe backup copy of this file.

(2) You have read and understood the relevant parts of the FreeBSD
Handbook.  Pay special attention to ``Setting Up Network
Interface Cards'':


http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/config-network-setup.html

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


Re: FreeBSD-STABLE: How do I change my Local IP Address statically?

2008-11-24 Thread Wojciech Puchar

My IP Address on my FreeBSD Server 4.11-STABLE keeps changing. What I need


saying My suggest you are administrator - so you (your script/program) 
changes IP. so you know what it is.


please more precisely specify your question

OK sorry i didn't read carefully.

you need ifconfig and route to set IP and default route
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Analysing VMcore files.

2008-11-24 Thread Simon Burke
I am currently running FreeBSD 7.0 as my desktop OS, and I have a need to
analyse VWCores from a RedHat ES system.
Knowing very little about analysing dumps, is it possible to do this? or
would I have to set up a more comparable environment?

-- 
Theres no place like ::1

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


Re: Wifi Card for laptop

2008-11-24 Thread Albert Shih
 Le 21/11/2008 à 09:48:17+0200, Giorgos Keramidas a écrit
Hi,

 
 Hmmm, that's a bit bad.  Is `Fn+F2' the key that turns wireless OFF/ON
 for this laptop?  Maybe the driver is crashing because the device
 detaches and re-attaches while the driver is stuck somewhere :(
 
 If you think you can grab a kernel dump from this, maybe it's going to
 be useful to debug the problem.

OK I find the problem (and solve-it ;-). 

In the bios there some (very strange for me) configuration for the wifi
card, it seem it's same card to handle wifi and bluetooth. And when I pres
Fn+F2 he switch to bluetooth and my laptop crash...

So because I don't have any bluetooth device I don't use it. After
disabling bluetooth in the bios everything work fine. 

  No driver (and of course not working)
 
  NetXtreme BCM5756ME Gigabit Ethernet PCIe
 
 I don't see `BCM5756' or `5756' anywhere in the manpages or the source
 of the kernel in of 8.0-CURRENT either.  I think this is not supported :(

So that answer my question about change to current...

 
  usable memory = 4278091776 (4079 MB)
  avail memory  = 4124418048 (3933 MB)
 
 Heh, nice.  I see you are running an amd64 build of FreeBSD, and there
 are *lots* of memory on this laptop :)

Yes I known ;-)

 One of the tests you can run, to find out what is broken in wpi(4), is
 to build a kernel with DDB/KDB support, and grab a kernel dump when the
 wpi(4) interface stops working.
 
 The ``Developer's Handbook'' can help you build a debugging kernel:
 
   
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html
 
 Using DDB to trace through the `live' kernel while it is stuck is a bit
 tricky, but if you manage to grab some of the DDB output (i.e. with a
 serial console or even just a photograph with a camera), then we can
 mail the developers of wpi(4) and ask them for more help :)
 

OK. When I've some time I going to do this. 

Best Regards.

JAS
-- 
Albert SHIH
SIO batiment 15
Observatoire de Paris Meudon
5 Place Jules Janssen
92195 Meudon Cedex
Heure local/Local time:
Lun 24 nov 2008 11:11:03 CET
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Analysing VMcore files.

2008-11-24 Thread Ivan Voras
Simon Burke wrote:
 I am currently running FreeBSD 7.0 as my desktop OS, and I have a need to
 analyse VWCores from a RedHat ES system.
 Knowing very little about analysing dumps, is it possible to do this? or
 would I have to set up a more comparable environment?

In theory, you could set up a Linux environment
(http://www.freebsd.org/doc/en/books/handbook/linuxemu.html) with the
binaries from your RedHat system, spawn a Linux shell and go from there
as if you're on Linux, but this will almost certainly be more work than
just finding a RedHat system (or even installing one in qemu).



signature.asc
Description: OpenPGP digital signature


Re: Analysing VMcore files.

2008-11-24 Thread Simon Burke
2008/11/24 Ivan Voras [EMAIL PROTECTED]

 Simon Burke wrote:
  I am currently running FreeBSD 7.0 as my desktop OS, and I have a need to
  analyse VWCores from a RedHat ES system.
  Knowing very little about analysing dumps, is it possible to do this? or
  would I have to set up a more comparable environment?

 In theory, you could set up a Linux environment
 (http://www.freebsd.org/doc/en/books/handbook/linuxemu.html) with the
 binaries from your RedHat system, spawn a Linux shell and go from there
 as if you're on Linux, but this will almost certainly be more work than
 just finding a RedHat system (or even installing one in qemu).


That is more or less as I thought.It'll probably be easier to stay as I was,
using our ESX servers for this.

Thank you for your reply.

-- 
Theres no place like ::1

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


Re: Segmentation fault (core dumped)

2008-11-24 Thread Jerry
On Sun, 23 Nov 2008 21:33:47 +
Marwan Sultan [EMAIL PROTECTED] wrote:


Hello Jerry,
 
 Its easy to fix, as they advised.
 Check the file file extensions.ini which is
 in /usr/local/etc/php/extensions.ini
 
 You will see your php modules, for some reasons the loading order of
 PHP modules it needs to be changed .. You can do the follow..and its
 for bignners..but saves you the headech.
 
 Comment first line with -  #
 save and exitnow see the output of php -v
 if the error exist (which will for the first 10 lines maybe)
 repeat again for next line..and same untill you see no error of the
 php -v
 
 When you findout the modulethat cusing your problem...move it to the
 top of the list of modules (top of the file) save and exit...and your
 done.. please write for me back which module in your case cused the
 problem. 
  Out of experince.. SHMOP, READLINE, RECODE, SOAP, SNMP could cuuse
 your problem 

The first problem was easy to fix, I just rebuilt sqlite.so
{databases/php-sqlite}; however, PHP still crashed. I discovered
through trial and error that the problem was with pspell.so. I
rebuilt that port but the problem continued. I then rebuilt 'aspell'
and then rebuilt the 'pspell' port and the problem disappeared.

I wasted several hours getting to the bottom of this problem. There
must be a better way.

By the way, I though that ';' was the symbol to use to comment out a
line in extensions.ini rather than '#'. 

-- 
Jerry
[EMAIL PROTECTED]

In Christianity, a man may have only one wife.
This is called Monotony.


signature.asc
Description: PGP signature


Re: FreeBSD on a Mac Mini Intel?

2008-11-24 Thread Andrew Gould
On Sun, Nov 23, 2008 at 9:08 AM, John Almberg [EMAIL PROTECTED] wrote:

 On Nov 21, 2008, at 11:42 PM, Ian Jefferson wrote:

  Is anyone running FreeBSD on a Mac Mini Intel?


 I don't know the answer to your question, but don't think it's a crazy one.
 One of the most interesting things I've seen, lately, is a hosting company
 that uses stacks of Mac Minis running OS X Server. They may not be the thing
 for mission-critical services, but for day-to-day web hosting, they are far
 better (IMHO) than the typical WinTel or Linux white box systems that fill
 colo facilities. Need redundancy? Plunk down another $500 bucks! One of
 Apple's coolest products, I think.

 -- John


Ian,

You could always test it using VMWare Fusionand then let us know
;-)

With a vm, you wouldn't have to worry about Apple's hardware booting
process.

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


Re: Transparent Proxy with IPFW + Squid 2.7

2008-11-24 Thread Ott Köstner

Cagri Ersen wrote:


I want to configure a transparent proxy with IPFW and Squid.
I enabled IPFW on a FreeBSD 7.0 and also install squid 2.7

  

I am running such a setup, but with pf. Works fine. Maybe it heplps

pf rule I am using:

demo=dc0

rdr on $demo proto tcp from any to any port 80 - 127.0.0.1 port 3128


Squid config file

# Squid normally listens to port 3128

http_port 127.0.0.1:3128 transparent


Greetings,
O.K.



--
Testi oma Interneti kiirust / Test Your Internet speed:
http://speedtest.zzz.ee/



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

Re: Transparent Proxy with IPFW + Squid 2.7

2008-11-24 Thread Ott Köstner

Cagri Ersen wrote:


I want to configure a transparent proxy with IPFW and Squid.
I enabled IPFW on a FreeBSD 7.0 and also install squid 2.7

  

I am running such a setup, but with pf. Works fine. Maybe it heplps

pf rule I am using:

demo=dc0

rdr on $demo proto tcp from any to any port 80 - 127.0.0.1 port 3128


Squid config file

# Squid normally listens to port 3128

http_port 127.0.0.1:3128 transparent


Greetings,
O.K.



--
Testi oma Interneti kiirust / Test Your Internet speed:
http://speedtest.zzz.ee/



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

Re: odd issue with 6.4-PRERELEASE #2 and udf/cd9660

2008-11-24 Thread Zane C.B.
On Mon, 24 Nov 2008 14:47:34 +0100 (CET)
Wojciech Puchar [EMAIL PROTECTED] wrote:

 really odd.
 
 check if your /dev/cd0 actually works by
 
 dd if=/dev/cd0 bs=64k of=test.image
 
 and if dd won't fail. try then mounting image with
 mdconfig/mount_cd9660

It DDs fine, but I get the same error when I try to mount it. The odd
thing is is if I point tar at it, 'tar -vtf test.image', it shows me
the the files contained in the image. I can also mount this disk on
other FreeBSD machines.

Below is some additional info one my system, if any one is curious.

# kldstat 
Id Refs AddressSize Name
 1   17 0xc040 67cf00   kernel
 21 0xc0a7d000 15c64geom_mirror.ko
 32 0xc0a93000 23018linux.ko
 41 0xc0ab7000 14e20snd_hda.ko
 52 0xc0acc000 258e8sound.ko
 61 0xc0af2000 711b34   nvidia.ko
 71 0xc1204000 8884 aio.ko
 81 0xc120d000 b6e0 cpufreq.ko
 91 0xc1219000 66318acpi.ko
101 0xc7424000 e000 ipfw.ko
111 0xc9083000 6000 udf.ko


machine i386
cpu I686_CPU
ident   vixen42

options SMP # Symmetric MultiProcessor
Kernel

# To statically compile in device wiring instead of /boot/device.hints
#hints  GENERIC.hints # Default places
to look for devices.

makeoptions DEBUG=-g# Build kernel with gdb(1)
debug symbols

options SCHED_4BSD  # 4BSD scheduler
options PREEMPTION  # Enable kernel thread
preemption options  INET#
InterNETworking options INET6   # IPv6
communications protocols optionsFFS #
Berkeley Fast Filesystem optionsSOFTUPDATES #
Enable FFS soft updates support options
UFS_ACL # Support for access control lists
options UFS_DIRHASH # Improve performance on
big directories options MD_ROOT # MD
is a potential root device options  NFSCLIENT   #
Network Filesystem Client options   NFSSERVER   #
Network Filesystem Server options   NFSLOCKD#
Network Lock Manager optionsNFS_ROOT# NFS
usable as /, requires NFSCLIENT options
MSDOSFS # MSDOS Filesystem options
CD9660  # ISO 9660 Filesystem options
PROCFS  # Process filesystem (requires
PSEUDOFS) options   PSEUDOFS# Pseudo-filesystem
framework options   GEOM_GPT# GUID Partition
Tables. options COMPAT_43   # Compatible with
BSD 4.3 [KEEP THIS!] optionsCOMPAT_FREEBSD4 #
Compatible with FreeBSD4 options
COMPAT_FREEBSD5 # Compatible with FreeBSD5 options
SCSI_DELAY=5000 # Delay (in ms) before probing
SCSI optionsKTRACE  # ktrace(1)
support options SYSVSHM # SYSV-style
shared memory options   SYSVMSG #
SYSV-style message queues options
SYSVSEM # SYSV-style semaphores options
_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time
extensions options  KBD_INSTALL_CDEV# install a CDEV
entry in /dev options   ADAPTIVE_GIANT  # Giant
mutex is adaptive.

device  apic# I/O APIC

# Bus support.
device  eisa
device  pci

# Floppy drives
device  fdc

# ATA and ATAPI devices
device  ata
device  atadisk # ATA disk drives
device  ataraid # ATA RAID drives
device  atapicd # ATAPI CDROM drives
device  atapifd # ATAPI floppy drives
device  atapist # ATAPI tape drives
options ATA_STATIC_ID   # Static device numbering

# SCSI peripherals
device  scbus   # SCSI bus (required for
SCSI) devicech  # SCSI media changers
device  da  # Direct Access (disks)
device  sa  # Sequential Access (tape etc)
device  cd  # CD
device  pass# Passthrough device
(direct SCSI access) device ses # SCSI
Environmental Services (and SAF-TE)

# atkbdc0 controls both the keyboard and the PS/2 mouse
device  atkbdc  # AT keyboard controller
device  atkbd   # AT keyboard
device  psm # PS/2 mouse

device  kbdmux  # keyboard multiplexer

device  vga # VGA video card driver

device  splash  # Splash screen and
screen saver support

# syscons is the default console driver, resembling an SCO console
device  sc

# Enable this for the pcvt (VT220 compatible) console driver
#device vt
#optionsXSERVER # support for X server on a
vt console #options FAT_CURSOR  # start with block
cursor

#device agp # support 

Re: RTL8168/8111 Not Being Assigned to Interface

2008-11-24 Thread hamtilla

I upgraded to 7.1-PRERELEASE and now it works.

Thank you!



Pieter de Goeje wrote:
 
 On Friday 21 November 2008, hamtilla wrote:
 I'm running 7.0-RELEASE-i386 on Jetway's NC92-N230 mainboard. The board
 has
 one integrated RTL8168/8111 gigabit NIC as well as an expansion board
 with
 three RTL8168/8111 NICs.

 [EMAIL PROTECTED]:1:0:0:   class=0x02 card=0x816810ec chip=0x816810ec
 rev=0x02 hdr=0x00
 vendor = 'Realtek Semiconductor'
 device = 'RTL8168/8111 PCI-E Gigabit Ethernet NIC'
 class  = network
 subclass   = ethernet
 
 This NIC requires FreeBSD 7-STABLE or -CURRENT. 
 
 You can probably copy the if_re driver from -STABLE to your source tree
 and 
 recompile the kernel, or simply update to 7-STABLE.
 
 Hope this helps,
 
 Pieter de Goeje
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 
 

-- 
View this message in context: 
http://www.nabble.com/RTL8168-8111-Not-Being-Assigned-to-Interface-tp20621867p20662169.html
Sent from the freebsd-questions mailing list archive at Nabble.com.

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


Re: Transparent Proxy with IPFW + Squid 2.7

2008-11-24 Thread Ott Köstner

Ott Köstner wrote:

Cagri Ersen wrote:


I want to configure a transparent proxy with IPFW and Squid.
I enabled IPFW on a FreeBSD 7.0 and also install squid 2.7


I am running such a setup, but with pf. Works fine. Maybe it helps


Oh, before compiling Squid, in Squid port directory:

# make config

? ?[X] SQUID_IPFW Enable transparent proxying with IPFW ? ?
? ?[X] SQUID_PF Enable transparent proxying with PF





pf rule I am using:

demo=dc0

rdr on $demo proto tcp from any to any port 80 - 127.0.0.1 port 3128


Squid config file

# Squid normally listens to port 3128

http_port 127.0.0.1:3128 transparent


Greetings,
O.K.


--
Testi oma Interneti kiirust / Test Your Internet speed:
http://speedtest.zzz.ee/


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

Re: Re: Installing gimp from ports, need a GTK+, what port is it

2008-11-24 Thread af300wsm

On Nov 23, 2008 8:38pm, Michael Johnson [EMAIL PROTECTED] wrote:




The version of gtk you have installed is too old. Upgrade to the latest  

version of x11-toolkits/gtk2


Michael




Interesting that the new google home page plug-in (I guess) for google  
mail doesn't have a reply-to-all button for the second response, and  
presumably further, to the original mail. So, I'm responding to both.


Thank you Michael, that's exactly what I was looking for. I didn't know  
that x11-toolkits/gtk2 is synonymous with GTK+. That was the piece I was  
missing.


To RW, I didn't want to rebuild KDE yet so that's why I hadn't updated all  
of the installed ports collection as yet. I think I agree with you. At  
least, with what I'm going through right now, it would be much easier to  
have updated the entire tree first.


Thanks again to both.

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


Re: PHP Session Support in /tmp

2008-11-24 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

APseudoUtopia wrote:
 Hey.
 
 PHP stores session data for the 'file' handler in /tmp, by default.
 For organizational purposes, I'd like to change this to something like
 /tmp/php_sessions/ or so. However, I have the clear_tmp_enable feature
 enabled, so /tmp is cleared on reboot. PHP wont create the
 php_sessions dir on it's own.
 
 So basically, I'm looking for a way to create the dir
 /tmp/php_sessions/ each time the server is booted BEFORE apache
 starts. I'm sure I could do this somehow with the rc.d scripts, but I
 really have no idea how.
 
 Thanks very much.

Hi APseudoUtopia,

In addition to the other solutions offered, you can also create a simple
script like this and place it in /usr/local/etc/rc.d/make_php_session_dir:

- -- cut -- cut -- cut -- cut --
# PROVIDE: make_php_session_dir
# REQUIRE: mountcritlocal

# Create the PHP session file directory
mkdir -p /tmp/php_sessions
- -- cut -- cut -- cut -- cut --

By using the REQUIRE: mountcritlocal tag, the rcorder system invokes
this script before the Apache startup script in /usr/local/etc/rc.d.  I
tested this on 7.0 with a standard Apache 2.2 installation from the
ports tree.

I hope this helps, and please post any follow-up questions you have.

Best regards,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJKsX70sRouByUApARApxhAJ9IaNPLMchvKf2J4I0P85AxV+JiOgCfSv+8
Y0SwTCn3f288E+lyWL1IMgs=
=pm8E
-END PGP SIGNATURE-

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


Can't locate ExtUtils/MakeMaker.pm

2008-11-24 Thread Noah Garrett Wallach

Hi List,

Okay I am unable to figure out how to get out of this loop.
I try to build p5-Module-Install and the result error is Can't locate 
ExtUtils/MakeMaker.pm


when I attempt to build p5-ExtUtils-MakeMaker I cant because the module 
needs ExtUtils/Install.pm



here is the output and perl -V too

output tail from installing p5-Module-Install

Cannot load ExtUtils::MakeMaker: Can't locate ExtUtils/MakeMaker.pm in 
@INC (@INC contains: /usr/local/lib/perl5/site_perl/5.8.8/mach 
/usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl 
/usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8 .) at (eval 
1) line 1.
BEGIN failed--compilation aborted at 
/usr/local/lib/perl5/5.8.8/BSDPAN/ExtUtils/MakeMaker.pm line 17.

Compilation failed in require at ./Makefile.PL line 8.
BEGIN failed--compilation aborted at ./Makefile.PL line 8.
*** Error code 2

Stop in /usr/ports/devel/p5-version.
** Command failed [exit code 1]: /usr/bin/script -qa 
/tmp/portinstall.85961.5 env make

** Fix the problem and try again.
---  Skipping 'devel/p5-Module-ScanDeps' because a requisite port 
'devel/p5-version' failed (specify -k to force)
---  Skipping 'devel/p5-Module-Install' because a requisite port 
'devel/p5-Module-ScanDeps' failed (specify -k to force)

** Listing the failed packages (-:ignored / *:skipped / !:failed)
! devel/p5-Module-CoreList  (unknown build error)
! devel/p5-PAR-Dist (unknown build error)
! devel/p5-Package-Constants(unknown build error)
! textproc/p5-YAML-Tiny (unknown build error)
! archivers/p5-Compress-Raw-Bzip2   (unknown build error)
* archivers/p5-IO-Compress-Bzip2
! devel/p5-version  (unknown build error)
* devel/p5-Module-ScanDeps
* devel/p5-Module-Install


output tail from installing p5-ExtUtils-MakeMaker

Cannot load ExtUtils::MakeMaker: Can't locate ExtUtils/MakeMaker.pm in 
@INC (@INC contains: /usr/local/lib/perl5/site_perl/5.8.8/mach 
/usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl 
/usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8 .) at (eval 
1) line 1.
BEGIN failed--compilation aborted at 
/usr/local/lib/perl5/5.8.8/BSDPAN/ExtUtils/MakeMaker.pm line 17.

Compilation failed in require at ./Makefile.PL line 8.
BEGIN failed--compilation aborted at ./Makefile.PL line 8.
*** Error code 2

Stop in /usr/ports/devel/p5-version.
** Command failed [exit code 1]: /usr/bin/script -qa 
/tmp/portinstall.80407.5 env make

** Fix the problem and try again.
---  Skipping 'devel/p5-Module-ScanDeps' because a requisite port 
'devel/p5-version' failed (specify -k to force)
---  Skipping 'devel/p5-Module-Install' because a requisite port 
'devel/p5-Module-ScanDeps' failed (specify -k to force)

** Listing the failed packages (-:ignored / *:skipped / !:failed)
! devel/p5-Module-CoreList  (unknown build error)
! devel/p5-PAR-Dist (unknown build error)
! devel/p5-Package-Constants(unknown build error)
! textproc/p5-YAML-Tiny (unknown build error)
! archivers/p5-Compress-Raw-Bzip2   (unknown build error)
* archivers/p5-IO-Compress-Bzip2
! devel/p5-version  (unknown build error)
* devel/p5-Module-ScanDeps
* devel/p5-Module-Install

perl -V
Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
  Platform:
osname=freebsd, osvers=6.2-release-p5, archname=i386-freebsd-64int
uname='freebsd hurricane.enabled.com 6.2-release-p5 freebsd 
6.2-release-p5 #1: sun aug 12 14:27:32 pdt 2007 
[EMAIL PROTECTED]:usrobjusrsrcsyssmp i386 '
config_args='-sde -Dprefix=/usr/local 
-Darchlib=/usr/local/lib/perl5/5.8.8/mach 
-Dprivlib=/usr/local/lib/perl5/5.8.8 
-Dman3dir=/usr/local/lib/perl5/5.8.8/perl/man/man3 
-Dman1dir=/usr/local/man/man1 
-Dsitearch=/usr/local/lib/perl5/site_perl/5.8.8/mach 
-Dsitelib=/usr/local/lib/perl5/site_perl/5.8.8 
-Dscriptdir=/usr/local/bin 
-Dsiteman3dir=/usr/local/lib/perl5/5.8.8/man/man3 
-Dsiteman1dir=/usr/local/man/man1 -Ui_malloc -Ui_iconv 
-Uinstallusrbinperl -Dcc=cc -Duseshrplib 
-Dccflags=-DAPPLLIB_EXP=/usr/local/lib/perl5/5.8.8/BSDPAN 
-Doptimize=-O2 -fno-strict-aliasing -pipe -march=pentiumpro -Ud_dosuid 
-Ui_gdbm -Dusethreads=n -Dusemymalloc=y -Duse64bitint'

hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef 
usemultiplicity=undef

useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=define use64bitall=undef uselongdouble=undef
usemymalloc=y, bincompat5005=undef
  Compiler:
cc='cc', ccflags 
='-DAPPLLIB_EXP=/usr/local/lib/perl5/5.8.8/BSDPAN -DHAS_FPSETMASK 
-DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe 
-Wdeclaration-after-statement -I/usr/local/include',

optimize='-O2 -fno-strict-aliasing -pipe -march=pentiumpro',
cppflags='-DAPPLLIB_EXP=/usr/local/lib/perl5/5.8.8/BSDPAN 
-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H 

souncard problem

2008-11-24 Thread kenneth hatteland

kenneth hatteland wrote:

 After switching from FreeBSD 7.0 release to stable I have had a big 
 soundproblem.
 When compiling a kernel as I used to with device sound and device 
 snd_emu10Kx as options I now get an error saying mixer is not configured 
 etc.And no sound at all.  Have tried several mixers to but to no avail, 
 I do not understand the problem enough to correct it.
  


I'm not sure I will either, but maybe won't hurt to try?


 Googling doesn`t help as no one reports the same error with audigy 
 soundcards.
 If  I compile a kernel without the snd_emu10kx device sound works 
 partially, sometimes playing ok, and then often sounding like an alien 
 attacking ( digital noise of the horrible kind) Sooner or later the 
 system locks down after playing about 5 songs with normal sound forcing 
 me to hard switch the system off..  I find this extremely annoying.
  


I think I would also.


 Does anybody have a clue ? I am not sure which output you`d want me to 
 provide for this so instead of pasting every output I know I thought to 
 ask first...
 I haven`t reversed my system to 7.0 release so that could maybe fix it, 
 but I was hoping to stay with 7.1  :) 
  
Ok Kevin, here we go.this is from a kernel with only device sound 
enabled ( not snd_emu10kx)


[EMAIL PROTECTED] ~]$ dmesg
Waiting (max 60 seconds) for system process `vnlru' to stop...done
Waiting (max 60 seconds) for system process `bufdaemon' to stop...done
Waiting (max 60 seconds) for system process `syncer' to stop...
Syncing disks, vnodes remaining...3 2 2 0 0 0 done
All buffers synced.
Copyright (c) 1992-2008 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
   The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 7.1-PRERELEASE #31: Sat Nov 22 10:18:26 CET 2008
   [EMAIL PROTECTED]:/usr/obj/usr/src/sys/TERRA
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Core(TM)2 Duo CPU E6550  @ 2.33GHz (2335.98-MHz 
K8-class CPU)

 Origin = GenuineIntel  Id = 0x6fb  Stepping = 11
 
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
 
Features2=0xe3fdSSE3,RSVD2,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM

 AMD Features=0x2800SYSCALL,LM
 AMD Features2=0x1LAHF
 Cores per package: 2
usable memory = 4285456384 (4086 MB)
avail memory  = 4124061696 (3933 MB)
ACPI APIC Table: 041807 APIC1830
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
cpu0 (BSP): APIC ID:  0
cpu1 (AP): APIC ID:  1
ioapic0 Version 2.0 irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0: 041807 RSDT1830 on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
acpi0: reservation of 0, a (3) failed
acpi0: reservation of 10, cff0 (3) failed
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x808-0x80b on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
pcib1: ACPI PCI-PCI bridge irq 16 at device 1.0 on pci0
pci1: ACPI PCI bus on pcib1
vgapci0: VGA-compatible display port 0xbc00-0xbc7f mem 
0xfd00-0xfdff,0xd000-0xdfff,0xfa00-0xfbff irq 16 
at device 0.0 on pci1
uhci0: UHCI (generic) USB controller port 0xac00-0xac1f irq 16 at 
device 26.0 on pci0

uhci0: [GIANT-LOCKED]
uhci0: [ITHREAD]
usb0: UHCI (generic) USB controller on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb0
uhub0: 2 ports with 2 removable, self powered
uhci1: UHCI (generic) USB controller port 0xa880-0xa89f irq 21 at 
device 26.1 on pci0

uhci1: [GIANT-LOCKED]
uhci1: [ITHREAD]
usb1: UHCI (generic) USB controller on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb1
uhub1: 2 ports with 2 removable, self powered
ehci0: EHCI (generic) USB 2.0 controller mem 0xf9fffc00-0xf9ff irq 
18 at device 26.7 on pci0

ehci0: [GIANT-LOCKED]
ehci0: [ITHREAD]
usb2: EHCI version 1.0
usb2: companion controllers, 2 ports each: usb0 usb1
usb2: EHCI (generic) USB 2.0 controller on ehci0
usb2: USB revision 2.0
uhub2: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 on usb2
uhub2: 4 ports with 4 removable, self powered
pcib2: ACPI PCI-PCI bridge irq 17 at device 28.0 on pci0
pci2: ACPI PCI bus on pcib2
pcib3: ACPI PCI-PCI bridge irq 16 at device 28.1 on pci0
pci3: ACPI PCI bus on pcib3
em0: Intel(R) PRO/1000 Network Connection 6.9.5 port 0xcc00-0xcc1f mem 
0xfe9e-0xfe9f,0xfe9c-0xfe9d irq 17 at device 0.0 on pci3

em0: Using MSI interrupt
em0: [FILTER]
em0: Ethernet address: 00:1b:21:05:11:fb
pcib4: ACPI PCI-PCI bridge irq 17 at device 28.4 on pci0
pci4: ACPI PCI bus on pcib4
atapci0: Marvell ATA controller port 
0xdc00-0xdc07,0xd880-0xd883,0xd800-0xd807,0xd480-0xd483,0xd400-0xd40f 
mem 0xfeaffc00-0xfeaf irq 16 at device 0.0 on pci4

atapci0: [ITHREAD]

Re: preparing for an upgrade

2008-11-24 Thread Kelly Martin
On Tue, Nov 18, 2008 at 9:07 PM, andrew clarke [EMAIL PROTECTED] wrote:
 On Tue 2008-11-18 16:47:20 UTC-0700, Kelly Martin ([EMAIL PROTECTED]) wrote:

 With the release of FreeBSD 6.4 imminent, I'd like to prepare for an
 upgrade from FreeBSD 6.2 - 6.4.

 Have you considered using freebsd-update?  From memory, it supports 6.2.

This weekend I finally got around to trying freebsd-update on 6.2. It
is there and works, but it would only update me to 6.2-RELEASE-p11. It
told me 6.2 was past its end-of-life date (which I already knew).
There was no obvious way to upgrade to 6.3 binaries. I checked the man
page and the configuration file too. Maybe the newer version of
freebsd-update allows upgrades between point versions? (ie., 6.3 -
6.4 ?)

 I'm a little confused about different versions of the ports tree. What
 I mean is, I keep updating my FreeBSD 6.2 ports tree and have never
 had any problems... it just works. I'm assuming the 6.4 ports tree is
 a little different and specific to 6.4?

 No, there is only one ports tree shared between all FreeBSD versions.
 If you already have an updated ports tree with a 6.2 installation, you
 can keep using that with 6.4 (or even 7.x).

Thanks very much to you and others for putting me on track about how
the ports tree works!

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


Re: Can't locate ExtUtils/MakeMaker.pm

2008-11-24 Thread Ott Köstner

Noah Garrett Wallach wrote:

Hi List,

Okay I am unable to figure out how to get out of this loop.
I try to build p5-Module-Install and the result error is Can't locate 
ExtUtils/MakeMaker.pm


when I attempt to build p5-ExtUtils-MakeMaker I cant because the 
module needs ExtUtils/Install.pm


Just experimented -- looks good here. Make just completes in few 
seconds. Maybe this helps. This is how it shoult look like...


# cd /usr/ports/devel/p5-Module-Install
# make
===  Vulnerability check disabled, database not found
===  Extracting for p5-Module-Install-0.77
= MD5 Checksum OK for Module-Install-0.77.tar.gz.
= SHA256 Checksum OK for Module-Install-0.77.tar.gz.
===   p5-Module-Install-0.77 depends on file: /usr/local/bin/perl5.8.8 
- found

===  Patching for p5-Module-Install-0.77
===   p5-Module-Install-0.77 depends on file: /usr/local/bin/perl5.8.8 
- found
===   p5-Module-Install-0.77 depends on file: 
/usr/local/lib/perl5/site_perl/5.8.8/Archive/Tar.pm - found
===   p5-Module-Install-0.77 depends on file: 
/usr/local/lib/perl5/site_perl/5.8.8/Module/ScanDeps.pm - found
===   p5-Module-Install-0.77 depends on file: 
/usr/local/lib/perl5/site_perl/5.8.8/Module/CoreList.pm - found
===   p5-Module-Install-0.77 depends on file: 
/usr/local/lib/perl5/site_perl/5.8.8/Module/Build.pm - found
===   p5-Module-Install-0.77 depends on file: 
/usr/local/lib/perl5/site_perl/5.8.8/PAR/Dist.pm - found
===   p5-Module-Install-0.77 depends on file: 
/usr/local/lib/perl5/site_perl/5.8.8/YAML/Tiny.pm - found
===   p5-Module-Install-0.77 depends on file: 
/usr/local/lib/perl5/site_perl/5.8.8/ExtUtils/ParseXS.pm - found
===   p5-Module-Install-0.77 depends on file: /usr/local/bin/perl5.8.8 
- found
===   p5-Module-Install-0.77 depends on file: /usr/local/bin/perl5.8.8 
- found

===  Configuring for p5-Module-Install-0.77
Checking if your kit is complete...
Looks good
Warning: prerequisite ExtUtils::Install 1.50 not found. We have 1.33.
Warning: prerequisite File::Remove 1.40 not found.
Writing Makefile for Module::Install
===  Building for p5-Module-Install-0.77
cp lib/Module/Install/Admin/Bundle.pm 
blib/lib/Module/Install/Admin/Bundle.pm

cp lib/Module/Install/AutoInstall.pm blib/lib/Module/Install/AutoInstall.pm
cp lib/Module/Install/With.pm blib/lib/Module/Install/With.pm
cp lib/Module/Install/Run.pm blib/lib/Module/Install/Run.pm
cp lib/Module/Install/Can.pm blib/lib/Module/Install/Can.pm
cp lib/Module/Install/Admin.pm blib/lib/Module/Install/Admin.pm
cp lib/Module/Install/PAR.pm blib/lib/Module/Install/PAR.pm
cp lib/Module/Install/Fetch.pm blib/lib/Module/Install/Fetch.pm
cp lib/Module/Install/Admin/Compiler.pm 
blib/lib/Module/Install/Admin/Compiler.pm
cp lib/Module/Install/Admin/ScanDeps.pm 
blib/lib/Module/Install/Admin/ScanDeps.pm

cp lib/Module/Install/Deprecated.pm blib/lib/Module/Install/Deprecated.pm
cp lib/Module/Install/Admin/Find.pm blib/lib/Module/Install/Admin/Find.pm
cp lib/Module/Install/Metadata.pm blib/lib/Module/Install/Metadata.pm
cp lib/Module/Install/Bundle.pm blib/lib/Module/Install/Bundle.pm
cp lib/Module/Install/Makefile.pm blib/lib/Module/Install/Makefile.pm
cp lib/inc/Module/Install.pm blib/lib/inc/Module/Install.pm
cp lib/Module/Install/Admin/WriteAll.pm 
blib/lib/Module/Install/Admin/WriteAll.pm

cp lib/Module/Install/Compiler.pm blib/lib/Module/Install/Compiler.pm
cp lib/Module/Install.pm blib/lib/Module/Install.pm
cp lib/Module/Install/Include.pm blib/lib/Module/Install/Include.pm
cp lib/Module/Install/WriteAll.pm blib/lib/Module/Install/WriteAll.pm
cp lib/Module/AutoInstall.pm blib/lib/Module/AutoInstall.pm
cp lib/Module/Install/External.pm blib/lib/Module/Install/External.pm
cp lib/Module/Install/Win32.pm blib/lib/Module/Install/Win32.pm
cp lib/Module/Install/Admin/Include.pm 
blib/lib/Module/Install/Admin/Include.pm
cp lib/Module/Install/Admin/Makefile.pm 
blib/lib/Module/Install/Admin/Makefile.pm

cp lib/Module/Install/Share.pm blib/lib/Module/Install/Share.pm
cp lib/Module/Install/Admin/Manifest.pm 
blib/lib/Module/Install/Admin/Manifest.pm

cp lib/Module/Install/Base.pm blib/lib/Module/Install/Base.pm
cp lib/Module/Install/Admin/Metadata.pm 
blib/lib/Module/Install/Admin/Metadata.pm

cp lib/Module/Install/MakeMaker.pm blib/lib/Module/Install/MakeMaker.pm
cp lib/Module/Install/Inline.pm blib/lib/Module/Install/Inline.pm
cp lib/Module/Install/Philosophy.pod blib/lib/Module/Install/Philosophy.pod
cp lib/Module/Install.pod blib/lib/Module/Install.pod
Installing blib/lib/auto/share/dist/Module-Install/dist_file.txt
Manifying blib/man3/Module::Install::With.3
Manifying blib/man3/Module::Install::Bundle.3
Manifying blib/man3/Module::Install::Makefile.3
Manifying blib/man3/inc::Module::Install.3
Manifying blib/man3/Module::Install::Compiler.3
Manifying blib/man3/Module::AutoInstall.3
Manifying blib/man3/Module::Install::Can.3
Manifying blib/man3/Module::Install::Admin.3
Manifying blib/man3/Module::Install::PAR.3
Manifying blib/man3/Module::Install::External.3
Manifying 

Re: cvsup: local

2008-11-24 Thread Lowell Gilbert
fire jotawski [EMAIL PROTECTED] writes:

 On Thu, Nov 6, 2008 at 9:59 PM, Lowell Gilbert 
 [EMAIL PROTECTED] wrote:

 fire jotawski [EMAIL PROTECTED] writes:

  i have my small box, 10.3.1.25 ip,  that cvsup-ed files from repository
 into
  it.  it use cvs-supfile in /usr/share/examples/cvsup/ to collect files.
  now that i want my other machine to cvsup 6.2-release source files from
 the
  one mentioned above.
 
  my  trial was
 
  cvsupd -b /var/db -c sup
 
  for box, 10.3.1.25 ip,  and for other machine
 
  cvsup -g -L 2 -h 10.3.1.25 sup-file
 
  what i got was  'Server message: Unknown collection src-all ' message.
  and later on
 
  Running
  Skipping collection src-all/cvs
  Skipping collection doc-all/cvs
  Shutting down connection to server
  Finished successfully
 
  very strange indeed.
 
  any helps and hints in setting cvsup server would highly be appreciated.

 To run cvsupd, you need the whole cvs tree for the collections you're
 handling, not just the checked-out files.

 Assuming these machines are attached by a protected network, a better
 approach (easier, anyway) would probably be to cvsup the changes to
 just one machine, then NFS-mount that machine's ports tree from the
 other machine.

 --
 Lowell Gilbert, embedded/networking software engineer, Boston area

 http://be-well.ilk.org/~lowell/http://be-well.ilk.org/%7Elowell/



 thanks indeed and apologized me for postponing answer to all of postings.
 what about cvs then.  i did  this

 cvs -d /home/ncvs checkout ports

 and i got some thing quite similar to ports tree indeed.

What did you think that command was going to do?  Do you have a full cvs
ports tree under /home/ncvs?  How did you get that?

My understanding was that you wanted to put the ports tree on one
machine (call it the master), then use it to install ports on other
machines that are local to the master.  The way to do that would be to
use cvsup as normal on the master, and build all the ports there.  Then
you can use NFS to mount /usr/ports on the other machines, and install
the ports on them as well.  To speed things up, you can set WRKDIRPREFIX
to point at local disk space on the client machines.  You can even have
the master machine build packages, avoiding the need to build the ports
from source on the clients.

Does that make sense to you?  Do you need it described in more detail?

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 [EMAIL PROTECTED]


Re: Unix program that sends email directly using MX record

2008-11-24 Thread Dan
Kelly Jones([EMAIL PROTECTED])@2008.11.22 14:16:56 -0700:
 What Unix program sends email directly, using the MX record of the
 recipient, instead of using sendmail or an installed MTA?

Sendmail/Sendwhale sucks for just about anything. There are much better
MTAs out there. For your needs, I think 'nullmailer' from Bruce Guenter
 would fit the bill and so would qmail in nullmailer mode. Postfix as well.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


please resend your mesg to jules.sto...@gmail.com

2008-11-24 Thread julesg
Unfortunately the available space at [EMAIL PROTECTED] is insufficient;  I keep 
running out.

So, please use:

[EMAIL PROTECTED]




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


Re: Can't locate ExtUtils/MakeMaker.pm

2008-11-24 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Noah Garrett Wallach wrote:
 Hi List,
 
 Okay I am unable to figure out how to get out of this loop.
 I try to build p5-Module-Install and the result error is Can't locate
 ExtUtils/MakeMaker.pm
 
 when I attempt to build p5-ExtUtils-MakeMaker I cant because the module
 needs ExtUtils/Install.pm
 
 
 here is the output and perl -V too
 
 output tail from installing p5-Module-Install
 
 Cannot load ExtUtils::MakeMaker: Can't locate ExtUtils/MakeMaker.pm in
 @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.8.8/mach
 /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl
 /usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8 .) at (eval
 1) line 1.
 BEGIN failed--compilation aborted at
 /usr/local/lib/perl5/5.8.8/BSDPAN/ExtUtils/MakeMaker.pm line 17.
 Compilation failed in require at ./Makefile.PL line 8.
 BEGIN failed--compilation aborted at ./Makefile.PL line 8.
 *** Error code 2
 
[...]

Hi Noah,

What is the output of the following command on your system?

find /usr/local/lib/perl5 -name MakeMaker.pm -print

Regards,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJKutq0sRouByUApARAjENAKCplSrXpMfxJlPq4nKseIWILBx0FQCgp9V0
ntwXUoNetw8KVHzIH/N+ZM0=
=5yV6
-END PGP SIGNATURE-

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


csup update

2008-11-24 Thread Albert Shih
Hi all

I make update my /usr/src using csup.

But they are one directory I don't want update. (it's because i'm using a
current version sound drivers). 

How can I do that ? 

Regards.


-- 
Albert SHIH
SIO batiment 15
Observatoire de Paris Meudon
5 Place Jules Janssen
92195 Meudon Cedex
Heure local/Local time:
Lun 24 nov 2008 19:16:22 CET
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


gcc cross-compiler for linux

2008-11-24 Thread Xavier Otazu

Hello,

I would like to compile a C++ code to be executed within the linux
emulator.

I tried to install the cross-gcc port, but when building I always receive the 
same
compilation error related to gthreads.

I use the following options when compiling the cross-gcc port:

make TGTARCH=i386 TGTABI=linux install clean

I also tried several combinations like i386-pc and linux-gnu.

When building, I get the following error message:

/usr/ports/devel/cross-gcc/work/gcc-4.2.3/host-i386-portbld-freebsd7.1/gcc/xgcc
-B/usr/ports/devel/cross-gcc/work/gcc-4.2.3/host-i386-portbld-freebsd7.1/gcc/
-B/usr/local/i386-linux/bin/ -B/usr/local/i386-linux/lib/
-isystem 
/usr/ports/devel/cross-gcc/work/gcc-4.2.3/host-i386-portbld-freebsd7.1/gcc
-isystem /usr/local/i386-linux/include
-isystem /usr/local/i386-linux/sys-include -O2  -O2 -O2
-fno-strict-aliasing -pipe  -DIN_GCC -DCROSS_COMPILE   -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition  -isystem ./include  -fPIC -g
-DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED
-Dinhibit_libc -I. -I. -I../.././gcc -I../.././gcc/.
-I../.././gcc/../include -I../.././gcc/../libcpp/include
-I../.././gcc/../libdecnumber -I../libdecnumber  -fexceptions
-c ../.././gcc/unwind-dw2.c -o libgcc/./unwind-dw2.o
In file included from 
/usr/ports/devel/cross-gcc/work/gcc-4.2.3/host-i386-portbld-freebsd7.1/gcc/gthr-default.h:1,
 from ../.././gcc/gthr.h:114,
 from ../.././gcc/unwind-dw2.c:42:
../.././gcc/gthr-posix.h:43:21: error: pthread.h: No such file or directory
../.././gcc/gthr-posix.h:44:20: error: unistd.h: No such file or directory
In file included from 
/usr/ports/devel/cross-gcc/work/gcc-4.2.3/host-i386-portbld-freebsd7.1/gcc/gthr-default.h:1,
 from ../.././gcc/gthr.h:114,
 from ../.././gcc/unwind-dw2.c:42:
../.././gcc/gthr-posix.h:46: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before '__gthread_key_t'
../.././gcc/gthr-posix.h:47: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before '__gthread_once_t'
../.././gcc/gthr-posix.h:48: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before '__gthread_mutex_t'
../.././gcc/gthr-posix.h:49: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before '__gthread_recursive_mutex_t'
../.././gcc/gthr-posix.h:92: error: 'pthread_once' undeclared here (not in a 
function)
../.././gcc/gthr-posix.h:93: error: 'pthread_getspecific' undeclared
here (not in a function)


Thank you in advance

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


Re: Can't locate ExtUtils/MakeMaker.pm

2008-11-24 Thread Noah



Greg Larkin wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Noah Garrett Wallach wrote:

Hi List,

Okay I am unable to figure out how to get out of this loop.
I try to build p5-Module-Install and the result error is Can't locate
ExtUtils/MakeMaker.pm

when I attempt to build p5-ExtUtils-MakeMaker I cant because the module
needs ExtUtils/Install.pm


here is the output and perl -V too

output tail from installing p5-Module-Install

Cannot load ExtUtils::MakeMaker: Can't locate ExtUtils/MakeMaker.pm in
@INC (@INC contains: /usr/local/lib/perl5/site_perl/5.8.8/mach
/usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl
/usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8 .) at (eval
1) line 1.
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/5.8.8/BSDPAN/ExtUtils/MakeMaker.pm line 17.
Compilation failed in require at ./Makefile.PL line 8.
BEGIN failed--compilation aborted at ./Makefile.PL line 8.
*** Error code 2


[...]

Hi Noah,

What is the output of the following command on your system?

find /usr/local/lib/perl5 -name MakeMaker.pm -print

Regards,
Greg

sure


 sudo find /usr/local/lib/perl5 -name MakeMaker.pm -print[~]
Password:
/usr/local/lib/perl5/5.8.8/BSDPAN/ExtUtils/MakeMaker.pm

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


Syslog Suggestion - Help!

2008-11-24 Thread David Alanis

Good Day,

A few days ago, I put freebsd on a Netra X1 to serve as our primary  
log host for our network devices, primarily to log for our CISCO ASA  
firewall.


Once I configured syslog to capture remotely, I realized that syslog  
by default logs local information to /var/log/messages via: *.err  
*.info amongst others, causing duplicate firewall logs in  
/var/log/messages and in /var/log/firewall/logs


My syslog:

http://www.dalan.us/download/log

From what I understand, in syslog.conf I can specify a process id (or  
string? (e.g. ftpd) and give it an action? Thus, redirect messages  
sent to the wrong facility and logged in the proper place, as in my  
example given below:


!ftpd
ftpd.err  /var/log/ftp/1.log
ftpd.info /var/log/ftp/2.log

I fired up tcpdump and saw the following:

09:47:28.413584 IP 192.168.1.1.syslog  192.168.1.42.syslog: SYSLOG  
local7.info, length: 154
09:47:28.413596 IP 192.168.1.1.syslog  192.168.1.42.syslog: SYSLOG  
local7.info, length: 155
09:47:28.415157 IP 192.168.1.1.syslog  192.168.1.42.syslog: SYSLOG  
local7.info, length: 134
09:47:28.415166 IP 192.168.1.1.syslog  192.168.1.42.syslog: SYSLOG  
local7.info, length: 178


So the big question is, what best method can I employ to stop syslog  
from duplicating these messages?


Can I use SYSLOG as a string?
!SYSLOG
local7.err  /var/log/firewall/log
local7.info /var/log/firewall/1.log

Alternative?
+firewall
local7.err  /var/log/firewall/log
local7.info /var/log/firewall/1.log

Lastly, I quickly reviewed syslog-ng, but I really want to keep this  
as simple as possible so no.


Thanks much for your help!
David



This message was sent using IMP, the Internet Messaging Program.

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


Re: Can't locate ExtUtils/MakeMaker.pm

2008-11-24 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Noah wrote:
 
 
 Greg Larkin wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Noah Garrett Wallach wrote:
 Hi List,

 Okay I am unable to figure out how to get out of this loop.
 I try to build p5-Module-Install and the result error is Can't locate
 ExtUtils/MakeMaker.pm

 when I attempt to build p5-ExtUtils-MakeMaker I cant because the module
 needs ExtUtils/Install.pm


 here is the output and perl -V too

 output tail from installing p5-Module-Install

 Cannot load ExtUtils::MakeMaker: Can't locate ExtUtils/MakeMaker.pm in
 @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.8.8/mach
 /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl
 /usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8 .) at (eval
 1) line 1.
 BEGIN failed--compilation aborted at
 /usr/local/lib/perl5/5.8.8/BSDPAN/ExtUtils/MakeMaker.pm line 17.
 Compilation failed in require at ./Makefile.PL line 8.
 BEGIN failed--compilation aborted at ./Makefile.PL line 8.
 *** Error code 2

 [...]

 Hi Noah,

 What is the output of the following command on your system?

 find /usr/local/lib/perl5 -name MakeMaker.pm -print

 Regards,
 Greg
 sure
 
 
  sudo find /usr/local/lib/perl5 -name MakeMaker.pm -print[~]
 Password:
 /usr/local/lib/perl5/5.8.8/BSDPAN/ExtUtils/MakeMaker.pm
 

Hi Noah,

When I run the same command, I get 2 lines of output:

/usr/local/lib/perl5/5.8.8/ExtUtils/MakeMaker.pm
/usr/local/lib/perl5/5.8.8/BSDPAN/ExtUtils/MakeMaker.pm

The BSDPAN/ExtUtils/MakeMaker.pm file provides one overridden
subroutine, but the rest of the subroutines are loaded from the standard
ExtUtils/MakeMaker.pm.  If that file is missing, then it's likely that
your Perl installation is corrupted.

Did you ever run a file utility that removes duplicate files in a
directory tree?  The files are not identical in content, but if the
utility removed based on name only, that could explain why one is missing.

Hope that helps,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJKvVW0sRouByUApARAjmnAJ9grg5P1xGhlJLJEMnYGTNODKRNXwCeLzEQ
MKP7f1xwlN7yqvBn2EbdjQ0=
=U7jq
-END PGP SIGNATURE-

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


Xeon Quad Core (Was: Server Freezing Solid)

2008-11-24 Thread Chris Maness
Since a Xeon Quad Core is a 64bit processor, would it work ok with 
FreeBSD? Or would the adm64 release be better for that chip?


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


Re: Xeon Quad Core (Was: Server Freezing Solid)

2008-11-24 Thread Valentin Bud
On Mon, Nov 24, 2008 at 8:41 PM, Chris Maness [EMAIL PROTECTED] wrote:
 Since a Xeon Quad Core is a 64bit processor, would it work ok with FreeBSD?
 Or would the adm64 release be better for that chip?

Hello Chris,

I had a server with an Intel Xeon Quad Core CPU that was running FBSD 7.0
since the day 7.0 was released ( i386 ). Never had a problem with it.

Yesterday i moved the server on FBSD 7.0 amd64 to use ZFS. Until now
it works like a charm.


a nice day,
v


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

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


Re: Xeon Quad Core (Was: Server Freezing Solid)

2008-11-24 Thread Ott Köstner

Chris Maness wrote:
Since a Xeon Quad Core is a 64bit processor, would it work ok with 
FreeBSD? Or would the adm64 release be better for that chip?
I would recommend using amd64 FreeBSD port in this case. Some 
applications are significantly faster in 64 bit mode than in 32 bit mode.
Personally, I am useing amd64 FreeBSD on several Intel machines. Very 
good indeed.


Greetings,
O.K.

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


Regarding beer and optimal hacker productivity

2008-11-24 Thread Bill Moran

Somewhere, out on the WWW, there was a study (perhaps an imaginary study)
on what the optimal blood alcohol level was for software development.

Someone on this list must know what I'm talking about and have a link to
the study and/or the name of it ...

I'm putting together a business case for beer at work ;)

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


Re: Xeon Quad Core (Was: Server Freezing Solid)

2008-11-24 Thread Wojciech Puchar
Since a Xeon Quad Core is a 64bit processor, would it work ok with FreeBSD? 
Or would the adm64 release be better for that chip?


don't be suggested by amd in port name. it's for AMD64-compatible 
processor, for example your xeon

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


Re: Regarding beer and optimal hacker productivity

2008-11-24 Thread APseudoUtopia
On Mon, Nov 24, 2008 at 2:03 PM, Bill Moran [EMAIL PROTECTED] wrote:

 Somewhere, out on the WWW, there was a study (perhaps an imaginary study)
 on what the optimal blood alcohol level was for software development.

 Someone on this list must know what I'm talking about and have a link to
 the study and/or the name of it ...

 I'm putting together a business case for beer at work ;)

 --
 Bill Moran
 http://www.potentialtech.com

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


Re: Xeon Quad Core (Was: Server Freezing Solid)

2008-11-24 Thread Chris Maness

Wojciech Puchar wrote:
Since a Xeon Quad Core is a 64bit processor, would it work ok with 
FreeBSD? Or would the adm64 release be better for that chip?


don't be suggested by amd in port name. it's for AMD64-compatible 
processor, for example your xeon
Sorry, I wasn't very clear.  I am currently running FreeBSD 7.0 the 
regular i386 release.  I would prefer to keep it that way if migration 
to the 64bit release would mean rebuilding from scratch (there is 
probably an easier way to convert an i386 release to a amd64 release).  
Another poster seemed to indicate that the i386 release would run just 
fine on a quad core chip.


Would there be a major performance gain with amd64 over that of the i386 
build on a Xeon Quad Core?


Sorry, all this stuff is rather new to me as I have been running ancient 
gear for a while.


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


Re: Syslog Suggestion - Help!

2008-11-24 Thread Dan
David Alanis([EMAIL PROTECTED])@2008.11.24 12:05:52 -0600:
 So the big question is, what best method can I employ to stop syslog  
 from duplicating these messages?

IMO the big answer is to dump syslog alltogether. It plainly sucks.

Use http://smarden.org/socklog/ or http://untroubled.org/syslogread/
with http://untroubled.org/srlog2/. 

There are other replacements that are better than syslog as well.
Google.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Log capturing program

2008-11-24 Thread Dan
skx([EMAIL PROTECTED])@2008.11.21 23:56:52 +0100:
 I need a log capturing program, like WallWatcher, to run on my FreeBSD box 
 and capture logs from a router running Tomato. Some analyzing features 
 would be nice. Could you recommend something? 

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


Re: Unix program that sends email directly using MX record

2008-11-24 Thread Jerry McAllister
On Mon, Nov 24, 2008 at 12:36:50PM -0500, Dan wrote:

 Kelly Jones([EMAIL PROTECTED])@2008.11.22 14:16:56 -0700:
  What Unix program sends email directly, using the MX record of the
  recipient, instead of using sendmail or an installed MTA?
 
 Sendmail/Sendwhale sucks for just about anything. There are much better
 MTAs out there. For your needs, I think 'nullmailer' from Bruce Guenter
  would fit the bill and so would qmail in nullmailer mode. Postfix as well.

Heavily prejudicial response.I haven't had any trouble using
Sendmail for just about anything.But, whatever.

jerry


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


Re: Xeon Quad Core (Was: Server Freezing Solid)

2008-11-24 Thread Roland Smith
On Mon, Nov 24, 2008 at 11:37:25AM -0800, Chris Maness wrote:
 Wojciech Puchar wrote:
  Since a Xeon Quad Core is a 64bit processor, would it work ok with 
  FreeBSD? Or would the adm64 release be better for that chip?
 
  don't be suggested by amd in port name. it's for AMD64-compatible 
  processor, for example your xeon
 Sorry, I wasn't very clear.  I am currently running FreeBSD 7.0 the 
 regular i386 release.  I would prefer to keep it that way if migration 
 to the 64bit release would mean rebuilding from scratch 

You'll have to remove and re-install all ports to make them 64-bits as well.

 (there is 
 probably an easier way to convert an i386 release to a amd64 release).

Not really. You could do a cross-build to another partition, but you'd
have to have one available.
  
 Another poster seemed to indicate that the i386 release would run just 
 fine on a quad core chip.

It should.

 Would there be a major performance gain with amd64 over that of the i386 
 build on a Xeon Quad Core?

It will depend on your workload. If your machines were strapped fo
address space on i386, switching to amd64 (with enough RAM) will help.

In long (64-bit) mode, amd64 compatible CPUs have more registers
available, so that will speed up things. On the other hand, pointers and
longs are 64-bit numbers instead of 32-bit, which will make the code
somewhat larger. Run some benchmarks that are relevant for you on i386
and re-run them after you've switched to amd64 to know for sure.

I've been running amd64 since 5.4 on both Athlon64 and recently Core 2
Quad without problems.

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)


pgp7WQwya00ZK.pgp
Description: PGP signature


compat libs in FreeBSD 7.0

2008-11-24 Thread Mats Lindberg
Hi
What happened to the compatibility libraries in FreeBSD 7.0 release
Need to run some FreeBSD-5.4 binaries on a 7.0 System.
Can't find the libs any longer

Mats



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


Re: Xeon Quad Core (Was: Server Freezing Solid)

2008-11-24 Thread Josh Carroll
 Sorry, I wasn't very clear.  I am currently running FreeBSD 7.0 the regular
 i386 release.  I would prefer to keep it that way if migration to the 64bit
 release would mean rebuilding from scratch (there is probably an easier way
 to convert an i386 release to a amd64 release).  Another poster seemed to
 indicate that the i386 release would run just fine on a quad core chip.

Yes, i386 will run just fine on a 64-bit Xeon. And no, there isn't an
easier (well,
one could argue it's easy, but tedious) way to convert to an amd64 release.

 Would there be a major performance gain with amd64 over that of the i386
 build on a Xeon Quad Core?

It depends entirely on your workload. Some things benefit, others may actually
slow down. One example that seems to benefit in general is multimedia type
applications (e.g. media encoding/decoding/transcoding).

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


Re: Xeon Quad Core (Was: Server Freezing Solid)

2008-11-24 Thread Chris Maness

Roland Smith wrote:

On Mon, Nov 24, 2008 at 11:37:25AM -0800, Chris Maness wrote:
  

Wojciech Puchar wrote:

Since a Xeon Quad Core is a 64bit processor, would it work ok with 
FreeBSD? Or would the adm64 release be better for that chip?

don't be suggested by amd in port name. it's for AMD64-compatible 
processor, for example your xeon
  
Sorry, I wasn't very clear.  I am currently running FreeBSD 7.0 the 
regular i386 release.  I would prefer to keep it that way if migration 
to the 64bit release would mean rebuilding from scratch 



You'll have to remove and re-install all ports to make them 64-bits as well.

  
(there is 
probably an easier way to convert an i386 release to a amd64 release).



Not really. You could do a cross-build to another partition, but you'd
have to have one available.
  
  
Another poster seemed to indicate that the i386 release would run just 
fine on a quad core chip.



It should.

  
Would there be a major performance gain with amd64 over that of the i386 
build on a Xeon Quad Core?



It will depend on your workload. If your machines were strapped fo
address space on i386, switching to amd64 (with enough RAM) will help.

In long (64-bit) mode, amd64 compatible CPUs have more registers
available, so that will speed up things. On the other hand, pointers and
longs are 64-bit numbers instead of 32-bit, which will make the code
somewhat larger. Run some benchmarks that are relevant for you on i386
and re-run them after you've switched to amd64 to know for sure.

I've been running amd64 since 5.4 on both Athlon64 and recently Core 2
Quad without problems.

Roland
  
Thanks guys.  It is not a high load server, so I think sticking to i386 
sounds like my best option.


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


Re: Unix program that sends email directly using MX record

2008-11-24 Thread Wojciech Puchar

recipient, instead of using sendmail or an installed MTA?


Sendmail/Sendwhale sucks for just about anything. There are much better

as i like programs that sucks, i use sendmail everywhere.

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


Re: Xeon Quad Core (Was: Server Freezing Solid)

2008-11-24 Thread Chris Maness

Roland Smith wrote:

On Mon, Nov 24, 2008 at 11:37:25AM -0800, Chris Maness wrote:
  

Wojciech Puchar wrote:

Since a Xeon Quad Core is a 64bit processor, would it work ok with 
FreeBSD? Or would the adm64 release be better for that chip?

don't be suggested by amd in port name. it's for AMD64-compatible 
processor, for example your xeon
  
Sorry, I wasn't very clear.  I am currently running FreeBSD 7.0 the 
regular i386 release.  I would prefer to keep it that way if migration 
to the 64bit release would mean rebuilding from scratch 



You'll have to remove and re-install all ports to make them 64-bits as well.

  
(there is 
probably an easier way to convert an i386 release to a amd64 release).



Not really. You could do a cross-build to another partition, but you'd
have to have one available.
  
  
Another poster seemed to indicate that the i386 release would run just 
fine on a quad core chip.



It should.

  
Would there be a major performance gain with amd64 over that of the i386 
build on a Xeon Quad Core?



It will depend on your workload. If your machines were strapped fo
address space on i386, switching to amd64 (with enough RAM) will help.

In long (64-bit) mode, amd64 compatible CPUs have more registers
available, so that will speed up things. On the other hand, pointers and
longs are 64-bit numbers instead of 32-bit, which will make the code
somewhat larger. Run some benchmarks that are relevant for you on i386
and re-run them after you've switched to amd64 to know for sure.

I've been running amd64 since 5.4 on both Athlon64 and recently Core 2
Quad without problems.

Roland
  
Another thought.  Would a Quad Core chip help with compiling 
applications -- or would it be the same as a dual core or single core 
chip running at the same clock speed because the compiler is running 
single thread?  Would php processing be benefited by quad a quad core 
over a dual core.  If not, then I guess I should just purchase a dual 
core chip and save the cabbage up front and wattage to boot.


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


Re: compat libs in FreeBSD 7.0

2008-11-24 Thread Lowell Gilbert
Mats Lindberg [EMAIL PROTECTED] writes:

 Hi
 What happened to the compatibility libraries in FreeBSD 7.0 release
 Need to run some FreeBSD-5.4 binaries on a 7.0 System.
 Can't find the libs any longer

Try ports: misc/compat5x

-- 
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 [EMAIL PROTECTED]


Re: Can't locate ExtUtils/MakeMaker.pm

2008-11-24 Thread Noah




/usr/local/lib/perl5/5.8.8/ExtUtils/MakeMaker.pm
/usr/local/lib/perl5/5.8.8/BSDPAN/ExtUtils/MakeMaker.pm

The BSDPAN/ExtUtils/MakeMaker.pm file provides one overridden
subroutine, but the rest of the subroutines are loaded from the standard
ExtUtils/MakeMaker.pm.  If that file is missing, then it's likely that
your Perl installation is corrupted.

Did you ever run a file utility that removes duplicate files in a
directory tree?  The files are not identical in content, but if the
utility removed based on name only, that could explain why one is missing.




not that I am aware of - what shall  I do rebuild and reinstall my perl 5.8

Cheers,

Noah


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


Re: Log capturing program

2008-11-24 Thread Jerry
On Mon, 24 Nov 2008 14:42:53 -0500
Dan [EMAIL PROTECTED] wrote:

skx([EMAIL PROTECTED])@2008.11.21 23:56:52 +0100:
 I need a log capturing program, like WallWatcher, to run on my
 FreeBSD box and capture logs from a router running Tomato. Some
 analyzing features would be nice. Could you recommend something?   

What's Tomato?

Start here: http://en.wikibooks.org/wiki/Tomato_Firmware

-- 
Jerry
[EMAIL PROTECTED]

Old age is always fifteen years old than I am.

B. Baruch


signature.asc
Description: PGP signature


Re: Regarding beer and optimal hacker productivity

2008-11-24 Thread Bill Moran
In response to APseudoUtopia [EMAIL PROTECTED]:

 On Mon, Nov 24, 2008 at 2:03 PM, Bill Moran [EMAIL PROTECTED] wrote:
 
  Somewhere, out on the WWW, there was a study (perhaps an imaginary study)
  on what the optimal blood alcohol level was for software development.
 
  Someone on this list must know what I'm talking about and have a link to
  the study and/or the name of it ...
 
  I'm putting together a business case for beer at work ;)
 
 http://xkcd.com/323/

Damn ... I thought it was something more realistic looking ...

Thanks for the link.

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


Re: Regarding beer and optimal hacker productivity

2008-11-24 Thread David Kelly
On Mon, Nov 24, 2008 at 04:39:11PM -0500, Bill Moran wrote:
 In response to APseudoUtopia [EMAIL PROTECTED]:
 
  On Mon, Nov 24, 2008 at 2:03 PM, Bill Moran [EMAIL PROTECTED] wrote:
  
   I'm putting together a business case for beer at work ;)
  
  http://xkcd.com/323/
 
 Damn ... I thought it was something more realistic looking ...

There is hope yet. The Oracle of Undisputed Fact and Wisdom   :-)
http://en.wikipedia.org/wiki/Xkcd#Life_imitates_xkcd, says life often
imitates xkcd.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Xeon Quad Core (Was: Server Freezing Solid)

2008-11-24 Thread Roland Smith
On Mon, Nov 24, 2008 at 12:49:37PM -0800, Chris Maness wrote:
  Would there be a major performance gain with amd64 over that of the i386 
  build on a Xeon Quad Core?
  
 
  It will depend on your workload. If your machines were strapped fo
  address space on i386, switching to amd64 (with enough RAM) will help.
 
  In long (64-bit) mode, amd64 compatible CPUs have more registers
  available, so that will speed up things. On the other hand, pointers and
  longs are 64-bit numbers instead of 32-bit, which will make the code
  somewhat larger. Run some benchmarks that are relevant for you on i386
  and re-run them after you've switched to amd64 to know for sure.
snip
 Another thought.  Would a Quad Core chip help with compiling 
 applications -- or would it be the same as a dual core or single core 
 chip running at the same clock speed because the compiler is running 
 single thread? 

Again, it depends. If you have to compile a lot of C files via a
Makefile without much interdependencies you could start make with the
-j 8 flag so it can start 8 jobs concurrently. (The number of cores x
2 seems to be the best option).

 Would php processing be benefited by quad a quad core 
 over a dual core.  If not, then I guess I should just purchase a dual 
 core chip and save the cabbage up front and wattage to boot.

It could very well benefit. It depends where the bottleneck is in your
current setup. It e.g. depends on how many apache and php instances
you have running, and how you have compiled apache. Apache 22 is
standard compiled with the prefork MPM, which starts 2 processes by
default, and can start up to 16 IIRC (both numbers are configurable). A
quad processor could make this run faster as long as the rest of the
system can keep up.

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)


pgphVIBHZkUDv.pgp
Description: PGP signature


Re: Can't locate ExtUtils/MakeMaker.pm

2008-11-24 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Noah wrote:
 

 /usr/local/lib/perl5/5.8.8/ExtUtils/MakeMaker.pm
 /usr/local/lib/perl5/5.8.8/BSDPAN/ExtUtils/MakeMaker.pm

 The BSDPAN/ExtUtils/MakeMaker.pm file provides one overridden
 subroutine, but the rest of the subroutines are loaded from the standard
 ExtUtils/MakeMaker.pm.  If that file is missing, then it's likely that
 your Perl installation is corrupted.

 Did you ever run a file utility that removes duplicate files in a
 directory tree?  The files are not identical in content, but if the
 utility removed based on name only, that could explain why one is
 missing.
 
 
 
 not that I am aware of - what shall  I do rebuild and reinstall my perl 5.8
 
 Cheers,
 
 Noah
 

Hi Noah,

It's pretty easy to do a forced re-install, but before you do, would you
mind sending me the output of the following commands?

cd /usr/local/lib/perl5/5.8.8/ExtUtils
find . -type f -print | sort

I'd like to compare the list of files in your ExtUtils directory with
the list from my machine.

Also, did you originally install Perl from a package or did you build it
from source and install it from the /usr/ports/lang/perl5.8 directory?

Regards,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJKzHk0sRouByUApARAnExAJ9bOd17VIK7SIg2o57Zqrc5kmOCXQCgupFD
7mvnV0OlGl5QqpAZLqA2lX0=
=d60h
-END PGP SIGNATURE-

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


Re: Can't locate ExtUtils/MakeMaker.pm

2008-11-24 Thread Noah

Greg Larkin wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Noah wrote:

/usr/local/lib/perl5/5.8.8/ExtUtils/MakeMaker.pm
/usr/local/lib/perl5/5.8.8/BSDPAN/ExtUtils/MakeMaker.pm

The BSDPAN/ExtUtils/MakeMaker.pm file provides one overridden
subroutine, but the rest of the subroutines are loaded from the standard
ExtUtils/MakeMaker.pm.  If that file is missing, then it's likely that
your Perl installation is corrupted.

Did you ever run a file utility that removes duplicate files in a
directory tree?  The files are not identical in content, but if the
utility removed based on name only, that could explain why one is
missing.



not that I am aware of - what shall  I do rebuild and reinstall my perl 5.8

Cheers,

Noah



Hi Noah,

It's pretty easy to do a forced re-install, but before you do, would you
mind sending me the output of the following commands?

cd /usr/local/lib/perl5/5.8.8/ExtUtils
find . -type f -print | sort

I'd like to compare the list of files in your ExtUtils directory with
the list from my machine.

Also, did you originally install Perl from a package or did you build it
from source and install it from the /usr/ports/lang/perl5.8 directory?





sure thing - thanks for all your help Greg.

perl is installed from /usr/ports
p5-CGI-SpeedyCGI-2.22_4 Speed up perl CGI scripts by running them 
persistently
p5-DBI-1.60.4   The perl5 Database Interface.  Required for DBD::* 
modules
p5-Devel-Symdump-2.0800 A perl5 module that dumps symbol names or the 
symbol table
p5-Errno-1.10   A perl5 module providing access to System errno 
constants
p5-Error-0.17015Perl module to provide Error/exception support for 
perl: Er

p5-File-NFSLock-1.20 File::NFSLock - perl module to do NFS (or not) locking
p5-PPI-1.201Analyze and manipulate Perl code without using perl 
itself
p5-Scalar-List-Utils-1.19,1 Perl subroutines that would be nice to have 
in the perl cor

p5-Storable-2.18Persistency for perl data structures
p5-Test-Harness-3.14 Run perl standard test scripts with statistics
p5-Test-Simple-0.86 Basic utilities for writing tests in perl
perl-5.8.8_1Practical Extraction and Report Language
perltidy-20071205   Indents and reformats Perl scripts to make them 
easier to r



cd /usr/local/lib/perl5/5.8.8/ExtUtils
find . -type f -print | sorttyphoon# find . -type f -print | sort
./Command.pm
./Command/MM.pm
./Constant.pm
./Constant/Base.pm
./Constant/Utils.pm
./Constant/XS.pm
./Embed.pm
./Install.pm
./Installed.pm
./Liblist.pm
./Liblist/Kid.pm
./MANIFEST.SKIP
./MM.pm
./MM_AIX.pm
./MM_Any.pm
./MM_BeOS.pm
./MM_Cygwin.pm
./MM_DOS.pm
./MM_MacOS.pm
./MM_NW5.pm
./MM_OS2.pm
./MM_QNX.pm
./MM_UWIN.pm
./MM_Unix.pm
./MM_VMS.pm
./MM_VOS.pm
./MM_Win32.pm
./MM_Win95.pm
./MY.pm
./MakeMaker.pm
./MakeMaker/Config.pm
./MakeMaker/FAQ.pod
./MakeMaker/Tutorial.pod
./MakeMaker/bytes.pm
./MakeMaker/vmsish.pm
./Manifest.pm
./Miniperl.pm
./Mkbootstrap.pm
./Mksymlists.pm
./NOTES
./PATCHING
./Packlist.pm
./testlib.pm
./typemap
./xsubpp



Regards,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJKzHk0sRouByUApARAnExAJ9bOd17VIK7SIg2o57Zqrc5kmOCXQCgupFD
7mvnV0OlGl5QqpAZLqA2lX0=
=d60h
-END PGP SIGNATURE-


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


How do I permanently set the numerical ip in dmesg?

2008-11-24 Thread Mike Price
How do I permanently set the numerical ip in dmesg?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


SYSERR(root): putbody: write error: Broken pipe

2008-11-24 Thread Joe R. Jah
Hello,

I have a box running FreeBSD 6.3-RELEASE-p6.  At the end of startup the
system spits seven or more lines to the console:

# tail -8 /var/log/messages
Nov 24 13:38:06 cloudy kernel: bce0: link state changed to UP
Nov 24 13:38:12 cloudy sm-mta[732]: mAO8nlmu018313: SYSERR(root): putbody: 
write error: Broken pipe
Nov 24 13:38:12 cloudy sm-mta[732]: mAO1Yeec000932: SYSERR(root): putbody: 
write error: Broken pipe
Nov 24 13:38:18 cloudy sm-mta[732]: mANDA7Vr051303: SYSERR(root): putbody: 
write error: Broken pipe
Nov 24 13:38:18 cloudy sm-mta[732]: mAM8jXWx033167: SYSERR(root): putbody: 
write error: Broken pipe
Nov 24 13:38:18 cloudy sm-mta[732]: mAL8nNii015423: SYSERR(root): putbody: 
write error: Broken pipe
Nov 24 13:38:18 cloudy sm-mta[732]: mAKDFDxL019571: SYSERR(root): putbody: 
write error: Broken pipe
Nov 24 13:38:18 cloudy sm-mta[732]: mAK8nxOL017816: SYSERR(root): putbody: 
write error: Broken pipe

The first two or three lines always come six seconds after the network
changes to UP, and six seconds later the other five or more lines come
out.

Please advise.

Regards,

Joe
-- 
 _/   _/_/_/   _/  __o
 _/   _/   _/  _/ __ _-\,_
 _/  _/   _/_/_/   _/  _/ ..(_)/ (_)
  _/_/ oe _/   _/.  _/_/ ah[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: files before ldap in nsswitch.conf

2008-11-24 Thread Christopher Cowart
Gerhard Schmidt wrote:
 I'm setting up a new FreeBSD Server for out local Computer club. Most of
 the users are stored in LDAP and I've installed nss_ldap and pam_ldap
 and set up both. Everything works so far with nsswitch.conf
 entry passwd: ldap files.
 
 When I try passwd: files ldap the login doesn't work anymore because the
 LDAP_Server is never asked.

The act of logging in is managed by /etc/pam.d/*, not
/etc/nsswitch.conf. If `ls -l` works, you've got NSS configured
correctly.

 I tried this to optimize the LDAP requests as the service users are in
 the local files. This would speed up the boot process and takes some
 load off the LDAP-Server.
 
 Is there a way to configure FreeBSD to look first in the local files and
  if a user isn't found in the LDAP-Server.

This is my /etc/nsswitch.conf:

| group: files ldap
| hosts: files dns
| networks: files
| passwd: files ldap
| shells: files

And /etc/pam.d/system:

auth sufficient pam_unix.so no_warn
auth required   /usr/local/lib/pam_ldap.so  no_warn use_first_pass

My guess is you used required for both modules, which would require
authentication to succeed against both user databases.

 And another question. Is there a way to use two different LDAP-Servers
 e.g. by calling nss_ldap with different config files.

What's your goal? We have two different LDAP providers with different
subtrees that get glued together by a DNS round-robin of LDAP consumers.
This round-robin provides a single, unified view of our directory to all
our LDAP clients.

-- 
Chris Cowart
Network Technical Lead
Network  Infrastructure Services, RSSP-IT
UC Berkeley


pgpM7L2aEZETp.pgp
Description: PGP signature


Re: How do I permanently set the numerical ip in dmesg?

2008-11-24 Thread Kevin Kinsey

Mike Price wrote:

How do I permanently set the numerical ip in dmesg?


Hmm, I'm not sure what you are asking, *exactly*, because
dmesg(8) simply prints the collected messages given by the OS
kernel beginning with the most recent boot-up.

However, and I think maybe I'm correct in this guess, if
you are asking how to make the system remember the IP address
for an interface across a reboot, try adding a line like
this to the file /etc/rc.conf:

ifconfig_xl0=192.168.0.1 netmask 255.255.255.0

where xl0 is the name of the interface.  You can
read the manpage for ifconfig(8) (man ifconfig) and
possible the manpage for rc.conf(5) for more information.

HTH,

Kevin Kinsey
--
Many hands make light work.
-- John Heywood
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


distributed shell (dancers shell)

2008-11-24 Thread Evuraan::ഏവൂ രാന്‍
How/where can I get dsh for Freebsd? attempts to compile it afresh
have been failing, hence this question. thx.

checking for endnetgrent... yes
checking for open_dshconfig in -ldshconfig... no
configure: error: dshconfig not found!!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: distributed shell (dancers shell)

2008-11-24 Thread Josh Carroll
On Mon, Nov 24, 2008 at 7:31 PM, Evuraan::ഏവൂരാന്‍ [EMAIL PROTECTED] wrote:
 How/where can I get dsh for Freebsd? attempts to compile it afresh
 have been failing, hence this question. thx.

 checking for endnetgrent... yes
 checking for open_dshconfig in -ldshconfig... no
 configure: error: dshconfig not found!!

It looks to me like you haven't compiled libdshconfig per the instructions here:

http://www.netfort.gr.jp/~dancer/software/dsh.html.en

Or, it can't find libdshconfig (where it installs by default depends on the
behavior of the libdshconfig build), in which case you should set CFLAGS
and LDFLAGS to help it find libdshconfig.

Whether it compiles cleanly/runs properly on a modern FreeBSD is
questionable, since this code hasn't been touched since 2005. But your
compile error does not appear to be a problem with FreeBSD.

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

Re: Xeon Quad Core (Was: Server Freezing Solid)

2008-11-24 Thread Josh Carroll
 I always thought AMD was Intel compatible.

In this case, it's the reverse. Intel's EM64T extensions are compatible
with AMD's X86-64.

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


w1913 words database

2008-11-24 Thread Gary Kline

I've spent the day fixing countless small errors in the w1913 database of words.
This in prep of my winding up with two or three specialized databases of my own
creation.  [[if anybody is interested, i'll share, naturally.]]

Anybody who of a point person to submit this updated batabase too?  I don't see
any addresses in the www.dict.org site.  

thanks for suggestions.

gary



-- 
 Gary Kline  [EMAIL PROTECTED]  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org


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


Re: FreeBSD on a Mac Mini Intel?

2008-11-24 Thread Ian Jefferson


On Mon, 24 Nov 2008, Andrew Gould wrote:

 On Sun, Nov 23, 2008 at 9:08 AM, John Almberg [EMAIL PROTECTED] wrote:

  On Nov 21, 2008, at 11:42 PM, Ian Jefferson wrote:
 
   Is anyone running FreeBSD on a Mac Mini Intel?
 
 

 Ian,

 You could always test it using VMWare Fusionand then let us know
 ;-)


Er, Gee thanks.  I'll just have a word with the VMware guys about fully
abastracting the mini in software... back in a jiffy ;-)

Ok any comment about other low power platforms?

I'm sorely tempted to just buy one (mini-intel) and promise to write up
the results on some web page somewhere.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


`Serial connectivity' with something other than sio*?

2008-11-24 Thread Garrett Cooper

Hi guys,
	With more motherboard vendors venturing away from RS232 serial ports  
to firewire, I was wondering if anyone has ever configured either a  
firewire or usb to serial / usb adapter between two machines to  
emulate a serial console. This is a question I'd like to get an answer  
to so I can start working on a means to indirectly access boxes for  
the FreeBSD project to avoid the kludginess of manually testing  
things, or at least manually power cycling devices and booting  
targets, whenever possible. The chapter I'm referring to in the  
handbook is: http://www.freebsd.org/doc/en/books/handbook/serialconsole-setup.html 
.

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


Re: FreeBSD on a Mac Mini Intel?

2008-11-24 Thread Bill Campbell
On Mon, Nov 24, 2008, Ian Jefferson wrote:


On Mon, 24 Nov 2008, Andrew Gould wrote:

 On Sun, Nov 23, 2008 at 9:08 AM, John Almberg [EMAIL PROTECTED] wrote:

  On Nov 21, 2008, at 11:42 PM, Ian Jefferson wrote:
 
   Is anyone running FreeBSD on a Mac Mini Intel?
 
 

 Ian,

 You could always test it using VMWare Fusionand then let us know

Er, Gee thanks.  I'll just have a word with the VMware guys about fully
abastracting the mini in software... back in a jiffy ;-)

There's no reason one couldn't run all the normal LAMPS stuff on the Mac
Mini with OS X.  I have apache, postgresql, mysql, php, python, perl, etc.
running on my PPC Mac Mini, all built from source.

I haven't tried FreeBSD on the Macs.  The most adventurous I've been so far
is to put Yellowdog Linux on an old 450MhZ G4 tower, mostly to see how it
worked -- pretty much the same as our other RPM-based systems running
CentOS and SuSE.

Bill
-- 
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
Voice:  (206) 236-1676  Mercer Island, WA 98040-0820
Fax:(206) 232-9186

We'll show the world we are prosperous, even if we have to go broke to do
it. -- Will Rogers
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Openssh + pam_krb5 doesn't establish credential cache.

2008-11-24 Thread Viktar Sakovich
Hi.

I trying to setup ssh+pam_krb5 for authentication and establishment of 
credential cache on FreeBSD 6.3 against MIT kerberos.  Everything is ok with 
authentication, but not with establishment of credential cache by pam_krb5.

I tried different combinations of modules in /etc/pam.d/sshd starting from 
default /usr/src/etc/pam.d/sshd with uncommented pam_krb5.so. Also tried to 
use UsePrivilegeSeparation no in /etc/ssh/sshd_config.

In kdc log file I see during user login:
Nov 24 15:22:34 kdchost krb5kdc[20876]: AS_REQ (2 etypes {1 16}) 10.34.22.15: 
ISSUE: authtime 1227536554, etypes {rep=1 tkt=16 ses=1}, [EMAIL PROTECTED] for 
krbtgt/[EMAIL PROTECTED]
Nov 24 15:22:34 kdchost krb5kdc[20876]: TGS_REQ (2 etypes {1 16}) 
10.34.22.15: ISSUE: authtime 1227536554, etypes {rep=1 tkt=16 ses=1}, 
[EMAIL PROTECTED] for host/[EMAIL PROTECTED]

After user login there are no ccache files in usual location /tmp/krb5cc_uid 
and KRB5CCNAME is not set. But user can establish ccache manually using 
/usr/bin/kinit.

Search on freebsd lists gave threads with discussion of above problem dated 
up to 2003 without any suggestion how to resolve it.



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


Re: How do I permanently set the numerical ip in dmesg?

2008-11-24 Thread Fbsd1

Mike Price wrote:

How do I permanently set the numerical ip in dmesg?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]




If you mean the ip address to get from your isp? You have to purchase an 
 permanently assigned ip address from your ISP. If you mean ip address 
on a private Lan. You do that in your gateway dhcp server.

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


freebsd-update and sources / custom kernel

2008-11-24 Thread Zbigniew Szalbot
Hello,

I hope you can clear my doubts. When I use freebsd-update to update a
machine with a custom kernel, do I need to fetch sources before I
rebuild the kernel or are they fetched by freebsd-update utility?

Many thanks!

-- 
Zbigniew Szalbot
Groucho Marx  - Anyone who says he can see through women is missing a lot.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Ipfw forward

2008-11-24 Thread on

Hi,

I'd like to have a clarification about the forward command in ipfw.

From what I read in the man, I understand that on hitting a fwd rule, 
the lookup in the routing table will be done according to the IP 
address in the fwd rule, and not according to the IP destination 
address of the packet.


AM I right?

Best regards,

Olivier


This message was sent using IMP, the Internet Messaging Program.


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


Re: cvsup: local

2008-11-24 Thread fire jotawski
On Tue, Nov 25, 2008 at 12:31 AM, Lowell Gilbert 
[EMAIL PROTECTED] wrote:

 fire jotawski [EMAIL PROTECTED] writes:

  On Thu, Nov 6, 2008 at 9:59 PM, Lowell Gilbert 
  [EMAIL PROTECTED] wrote:
 
  fire jotawski [EMAIL PROTECTED] writes:
 
   i have my small box, 10.3.1.25 ip,  that cvsup-ed files from
 repository
  into
   it.  it use cvs-supfile in /usr/share/examples/cvsup/ to collect
 files.
   now that i want my other machine to cvsup 6.2-release source files
 from
  the
   one mentioned above.
  
   my  trial was
  
   cvsupd -b /var/db -c sup
  
   for box, 10.3.1.25 ip,  and for other machine
  
   cvsup -g -L 2 -h 10.3.1.25 sup-file
  
   what i got was  'Server message: Unknown collection src-all '
 message.
   and later on
  
   Running
   Skipping collection src-all/cvs
   Skipping collection doc-all/cvs
   Shutting down connection to server
   Finished successfully
  
   very strange indeed.
  
   any helps and hints in setting cvsup server would highly be
 appreciated.
 
  To run cvsupd, you need the whole cvs tree for the collections you're
  handling, not just the checked-out files.
 
  Assuming these machines are attached by a protected network, a better
  approach (easier, anyway) would probably be to cvsup the changes to
  just one machine, then NFS-mount that machine's ports tree from the
  other machine.
 
  --
  Lowell Gilbert, embedded/networking software engineer, Boston area
 
  http://be-well.ilk.org/~lowell/http://be-well.ilk.org/%7Elowell/
 http://be-well.ilk.org/%7Elowell/
 
 
 
  thanks indeed and apologized me for postponing answer to all of postings.
  what about cvs then.  i did  this
 
  cvs -d /home/ncvs checkout ports
 
  and i got some thing quite similar to ports tree indeed.

 What did you think that command was going to do?  Do you have a full cvs
 ports tree under /home/ncvs?  How did you get that?



i did cvsup with supfile given in example,
/usr/share/examples/cvsup/cvs-supfile,
and set base to /var/db and prefix to /home/ncvs as suggested and then

cvsup -g -L 2 -h HOST /usr/share/examples/cvsup/cvs-supfile

where HOST is the one that run fastest in local area around my country.



 My understanding was that you wanted to put the ports tree on one
 machine (call it the master), then use it to install ports on other
 machines that are local to the master.  The way to do that would be to
 use cvsup as normal on the master, and build all the ports there.  Then
 you can use NFS to mount /usr/ports on the other machines, and install
 the ports on them as well.  To speed things up, you can set WRKDIRPREFIX
 to point at local disk space on the client machines.  You can even have
 the master machine build packages, avoiding the need to build the ports
 from source on the clients.

 Does that make sense to you?  Do you need it described in more detail?


my real problem is that i can not do cvsup from any machine in my office.
but there is no problem at home.  so i simply bring my notebook home and do
cvsup as above.  later on at the office, i want my other machine get
/usr/src from my notebook but i can not and that's my problem.

and frankly speaking my english is quite poor, i spend the whole week end to
understand documents cited.
unfortunately, that bring me more problem and that's why i revert back to my
instinct with cvs.

anyway, i really appreciate all answers to me and still hope that you will
give me further helps.

with best regards,
psr


 Good luck.
 --
 Lowell Gilbert, embedded/networking software engineer, Boston area

 http://be-well.ilk.org/~lowell/http://be-well.ilk.org/%7Elowell/

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