Openwebmail with maildir patch on FBSD?

2004-12-15 Thread Bill Schmitt (SW)
I know it's not technically a FreeBSD question, but answers on the
openwebmail forums are slow in coming and I was wondering if anyone here
 had tried to use openwebmail with the maildir patch. The patch is
listed as for openwebmail 2.32, and the current port of openwebmail in
the FreeBSD Ports Collection is 2.41. The only note I can find on the
subject is in the changes.txt file maintained at the openwebmail.org
site which SEEMS to indicate that it's been updated to work with 2.40.
I've got postfix installed with the maildir format, so if this doesn't
work, I'll go to squirrelmail or other alternative for web based email.
TIA
Bill


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


FreeBSD 5.3-STABLE: PHP 5.0.2 won't compile

2004-12-15 Thread O. Hartmann
Hello.
Under FreeBSD 5.3-STABLE, PHP 5.0.2 from ports collection will not 
compile anymore. Compilation ends up with
ext/standard/dns.lo(.text+0x1d49): In function `.L166':
: undefined reference to `res_ninit'
ext/standard/dns.lo(.text+0x1db5): In function `.L166':
: undefined reference to `res_nmkquery'
ext/standard/dns.lo(.text+0x1de7): In function `.L166':
: undefined reference to `res_nsend'
ext/standard/dns.lo(.text+0x1f6a): In function `.L166':
: undefined reference to `res_nclose'
*** Error code 1

I found some threads about BIND/BIND9 relating things and it seemed to 
me that BIND9 is neccessary to compile PHP 5.0.2 properly but I thought 
BIND9 is now standard in 5.3.
In /etc/make.conf with WITH_BIND_LIBS= true enabled, I built world 
again hoping I get a possibly missing library or .h file to get php 
compiling as expected, but with no success. Is there a hint to come 
along with this?

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


Sharing resources on LAN without NFS

2004-12-15 Thread Ben Washington-Yule
The handbook section on NFS was great but having only 3 computers I 
don't feel the need to set up a client/server system. Nevertheless I 
would like to be able to share one printer and one cd-writer between 
these 3 machines. I'll be grateful even for just a shove towards the 
correct handbook chapter where this is explained.

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


openoffice for 5.2.1?

2004-12-15 Thread John Conover

Is openoffice available for BSD 5.2.1? Pkg_add -r grumbles that it
isn't.

Thanks,

John

-- 

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


Re: openoffice for 5.2.1?

2004-12-15 Thread Phil Schulz
John Conover wrote:
Is openoffice available for BSD 5.2.1? Pkg_add -r grumbles that it
isn't.
John,
there is a link on this page
http://porting.openoffice.org/freebsd/
where you can download the packages. You can then use pkg_add to install 
them. Maybe you can even have pkg_add fetch them for you, I didn't check.

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


Re: Sharing resources on LAN without NFS

2004-12-15 Thread Don Tyson
 The handbook section on NFS was great but having only 3 computers I 
 don't feel the need to set up a client/server system. Nevertheless I 
 would like to be able to share one printer and one cd-writer between 
 these 3 machines. I'll be grateful even for just a shove towards the 
 correct handbook chapter where this is explained.

I share a printer with Apsfilter on the 5.3 machine with the printer
attached, Print Services for UNIX on one WIN 2K remote machine, and
simply editing the /etc/printcap file on another remote 5.3 machine.
Then add the two machines to the /etc/hosts.lpd file on the box with
the printer attached. I believe the Handbook chapter on printing
covers this; also the Apsfilter materials. No NFS required.

Don

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


Old Computers, -Os, Stripping, and 4-STABLE

2004-12-15 Thread Nikolas Britton
Hello,
I have an old laptop (P100 / 40MB RAM / 40GB hdd) that I'm trying to 
squeeze every last drop of performance out of and I like some advice on 
things I can do. Currently It's running 4.10-STABLE with a kernel that 
has been striped clean of all the useless crud, also I add in sound 
support and VESA/SC_PIXEL_MODE as this computer is a text based 
workstation (X is not installed).  There's really only a few things 
currently that I use it for:  use it to ssh into my private network at 
home, use it as a calculator (calc), use it as a Pizza / Egg Timer 
(custom perl script), and use it for network diagnostics... but what I'd 
like to do is use it as a mobile jukebox for playing all my mp3s when 
I'm on the road (possibly even convert it into a onboard car mp3 player) 
or away from home. the problem is that's its so slow that when I play 
music on it (mp3blaster) and try to do anything else on it (even just 
logging in on another virtual console) the sound starts skipping, 
looking at top shows about .8 - 1 for the load. Id still like to use it 
as a general workstation so nothing too radical

1. I'd like to know if it's (relatively) safe to use -Os for CFLAGS and 
COPTFLAGS?

2. I'd like to know what background stuff/daemons/etc that can be safely 
striped out, sendmail?, etc?

3. Is there anyway to optimize the system for decoding / playing mp3s?
4. Give mp3 playback a high priority and more cpu time in the system so 
it doesn't skip as much, auto reniceing?

5. Optimize sound device resources, buffersize, dma, targetirqrate, etc 
for mp3 playback?

6. Any other tips to improve performance?
7. Is there anything else I can safely strip out of my kernel (or add) 
that will improve performance?

here is a copy of my kernel config file:
machinei386
cpuI586_CPU
identSTUMBLEINE_01
maxusers0
optionsPNPBIOS
options INET#InterNETworking
options FFS#Berkeley Fast Filesystem
options FFS_ROOT#FFS usable as root device [keep this!]
options SOFTUPDATES#Enable FFS soft updates support
options UFS_DIRHASH#Improve performance on big directories
options MFS#Memory Filesystem
#options MD_ROOT#MD is a potential root device
#options NFS#Network Filesystem
#options NFS_ROOT#NFS usable as root device, NFS required
#options MSDOSFS#MSDOS Filesystem
#options CD9660#ISO 9660 Filesystem
#options CD9660_ROOT#CD-ROM usable as root, CD9660 required
options PROCFS#Process filesystem
options COMPAT_43#Compatible with BSD 4.3 [KEEP THIS!]
options UCONSOLE#Allow users to grab the console
options USERCONFIG#boot -c editor
options VISUAL_USERCONFIG#visual boot -c editor
options KTRACE#ktrace(1) support
options SYSVSHM#SYSV-style shared memory
options SYSVMSG#SYSV-style message queues
options SYSVSEM#SYSV-style semaphores
options P1003_1B#Posix P1003_1B real-time extensions
options _KPOSIX_PRIORITY_SCHEDULING
options ICMP_BANDLIM#Rate limit bad replies
options KBD_INSTALL_CDEV# install a CDEV entry in /dev
   # output.  Adds ~215k to driver.
deviceisa
devicepci
# Floppy drives
devicefdc0at isa? port IO_FD1 irq 6 drq 2
devicefd0at fdc0 drive 0
devicefd1at fdc0 drive 1
# ATA and ATAPI devices
deviceata0at isa? port IO_WD1 irq 14
deviceata1at isa? port IO_WD2 irq 15
deviceata
deviceatadisk# ATA disk drives
deviceatapicd# ATAPI CDROM drives
options ATA_STATIC_ID#Static device numbering
# SCSI peripherals
devicescbus# SCSI bus (required)
deviceda# Direct Access (disks)
# atkbdc0 controls both the keyboard and the PS/2 mouse
deviceatkbdc0at isa? port IO_KBD
deviceatkbd0at atkbdc? irq 1 flags 0x1
devicepsm0at atkbdc? irq 12
# Video options
devicevga0at isa?
optionsVESA
optionsSC_PIXEL_MODE
# splash screen/screen saver
pseudo-devicesplash
# syscons is the default console driver, resembling an SCO console
devicesc0at isa? flags 0x100
# Floating point support - do not disable.
devicenpx0at nexus? port IO_NPX irq 13
# Power management support (see LINT for more options)
deviceapm0at nexus? disable flags 0x20 # Advanced Power 
Management

# PCCARD (PCMCIA) support
devicecard
devicepcic0at isa? irq 0 port 0x3e0 iomem 0xd
devicepcic1at isa? irq 0 port 0x3e2 iomem 0xd4000 disable
# Serial (COM) ports
devicesio0at isa? port IO_COM1 flags 0x10 irq 4
devicesio1at isa? port IO_COM2 irq 3
devicesio2at isa? disable port IO_COM3 irq 5

Boot splash screens in 5.3

2004-12-15 Thread Simon Burke
HIya,
Im trying to find out how to add a bootsplash to 5.3. 
I've looked at the handbook and only saw details for 3.x.
Is it the same process??

I have a 320x200 bmp file already for this, i assume that is the
corrct size etc, as i read of a how-to for 3.x.

-- 
Theres no place like ::1

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


Re: Boot splash screens in 5.3

2004-12-15 Thread Paul Robinson
On Wed, Dec 15, 2004 at 01:49:22PM +, Simon Burke wrote:

 HIya,
 Im trying to find out how to add a bootsplash to 5.3. 
 I've looked at the handbook and only saw details for 3.x.
 Is it the same process??
 
 I have a 320x200 bmp file already for this, i assume that is the
 corrct size etc, as i read of a how-to for 3.x.

man 5 loader.conf

Tells you how to get a BMP or PCX sorted.

-- 
Paul Robinson

http://www.iconoplex.co.uk/ 
All I know is I'm not a Marxist - Karl Marx
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


file and print sharing

2004-12-15 Thread kaak kaabakas
hello, i seem to have some trouble with file and print sharing.
i have three pc-s connected to a freebsd5.3 server. i use samba to share files 
on the server, and that works fine. the problem is, that every pc is on it's 
own subnet - different lan cards - and they cannot access each other correctly. 
i have bridged the interfaces the pc-s are connected to on the server, but: the 
win98 machines see the other win-machines on the network, but cannot access 
them; the winxp machine can only see the samba server. stranger yet, the win 
machines can access each others shares by ip-s, e.g. \\192.168.45.2\c etc.
it seems that something about windows file sharing won't pass through the 
freebsd server - ant that cannot be a firewall problem, because it isn't better 
with the firewall turned off.
i have run the netsetup.exe on windows xp cd on every win machine, which 
usually has fixed any problems regarding win98/xp lan, but no good.
so it seems to me that something is missing on my bsd server, and i have no 
idea what.
thanks for any help...

-
ITV - Sinu lemmiksaated internetis!
http://www.itv.ee

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


Re: for Centrino (Pentium-M) - ways to decrease CPU power?

2004-12-15 Thread Dick Davies
* Miles Keaton [EMAIL PROTECTED] [1236 13:36]:
 Can FreeBSD tell a Centrino (Pentium-M) CPU to decrease its CPU power?
 
 I have a laptop (Gateway 450ROG) whose CPU seems to run hotter in
 FreeBSD doing *nothing* than it does in Windows doing almost anything.
   So much so that the loud emergency fan kicks on often to cool the
 CPU, even when the computer is doing nothing at all.
 
 I'm using the newest FreeBSD 5.3 release, but had this same problem with 4.10.
 
 Any advice?  Anything I can put in the kernel or boot-scripts to tell
 this Centrino to take it easy?

Install sysutils/estctrl, works for me.

-- 
What have you done to the cat? It looks half-dead. - Schroedinger's wife
Rasputin :: Jack of All Trades - Master of Nuns
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Dmesg truncated

2004-12-15 Thread Nagilum
I don't know the answer to your question, but if you're looking the 
bootmessages, have a look at /var/run/dmesg.boot .
I hope this helps,
Kind regards,
Alex.

David Erickson wrote:
I've been having this problem for quite a whlie but it's never bothered me
too much until I had some free time on my hand to look into it.  Is there
any kernel parameter that could be truncating my dmesg buffer.  Dmesg only
seems to have 1 line ever buffered which kinda sucks.  I do have a custom
kernel built as thin as possible so im thinking that one of the options I
may have left out thinking I didn't need it or something along those
lines.
Any ideas?
Thanks in advance.
Dave
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
 

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


Re: checking out from cvs without cvs info?

2004-12-15 Thread Giorgos Keramidas
On 2004-12-15 22:14, Choy Kho Yee [EMAIL PROTECTED] wrote:
 Hi, for a certain reason I need to check out sources for one of my
 programs from the local CVS repository, without the CVS folder in
 every directory but just my source files. How can I do that?

There are multiple ways to do that.

1) Check out as usual, then delete all the CVS/ stuff:

% cvs -d /cvs/repo checkout module
% find module -type d -name CVS | xargs rm -fr

2) Use the `export' command and a specific tag/version:

% cvs export -rHEAD module

Both should leave you with the HEAD revision of every file in `module'.
If you need to update to a branch or tag, use the appropriate -r TAG as
checkout or export options, i.e.:

% cvs checkout -r TAG module
% cvs up -Pd -r TAG
% find . -type d -name CVS | xargs rm -fr

or

% cvs export -r TAG module

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


Re: Safe to just rebuild kernel after cvsuping src?

2004-12-15 Thread Charles Ulrich

Kevin D. Kinsey, DaleCo, S.P. said:
 It's really a question for the programmers, and it's
 likely that whatever they say will include a lot of
 disclaimers and warnings.

 I once got kernel and world a lil' out of sync, and
 had things running apparently normally.  However,
 top(1) broken; when I asked the list what was up,
 someone else with experience was able to determine
 the problem immediately.

 In short, it's probably not a good idea unless one
 can determine that relatively nothing has changed
 in the source since the other part (kernel or world)
 was built.  Looking at CVS, you don't see much
 completely idle time.  And, unless you are aware
 of every bit of code that might have changed, it's
 impossible (for me, Joe Average) to know what might
 break 

I'll keep that in mind, then. Thanks!

-- 
Charles Ulrich
Ideal Solution, LLC - http://www.idealso.com

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


Re: HTT/SMP Dual Xeon systems unstable

2004-12-15 Thread John Baldwin
On Friday 10 December 2004 09:32 am, [EMAIL PROTECTED] wrote:
 Hi,

 I'm sorry for typing this mail for the third time, I'm not sure if the
 other mails did reach the list. The domain I was using to send emails has
 just expired. Please cc me, as I'm not subscribed to the list with this
 email.


 I have a Dual Xeon 2.4 and a Dual Xeon 2.8 servers running with
 HyperThreading, ACPI, and SMP enabled.

 The 2.8 server won't stand for more than 5 days without crashing, and the
 2.4 server was up 30 days crashed, now was up 12 days, and crashed.

 I didn't have a debugging kernel, I'll be building one when the datacenter
 reboots the server. I also don't have any panic messages.. I have,
 however, a few questions:

 - machdep.cpu_idle_hlt - I've seen a lot on google about this sysctl, but
 still don't fully understand it. What does this sysctl really changes?

 - HyperThreading - Do I really have a performance increase with HTT turned
 on? I've heard it can penalize performance because the scheduler isn't
 optimized for logical CPUs. Does having HTT enabled impacts the stability
 of the system?

 - ACPI - I'll be disabling ACPI along with HTT to see if the server
 doesn't crash for awhile. Is ACPI on 5.3-STABLE (around November 1st, it
 was pre-release) still a problem?

 Last but not the least, my 5.3-STABLE version is from a few days before
 the release. Since I had created a few jails by then, I didn't upgrade the
 system to use the -RELEASE. Was there any last-standing problem a few days
 before the release that could be causing my instability problems?


 Please share some common dual processor system knowledge, perhaps I'm
 missing something really obvious and making these servers unstable.

There is a problem in the kernel that causes with 3 or more processors 
(including logical CPUs from HTT).  Disabling HTT in the BIOS is probably 
your best bet as it will get you down to 2 CPUs which should work much 
better.  HTT also isn't but so useful anyways for most workloads.  The 
instability problems have just been fixed in HEAD and will hopefully be MFC'd 
for 5.4 btw.

-- 
John Baldwin [EMAIL PROTECTED]http://www.FreeBSD.org/~jhb/
Power Users Use the Power to Serve  =  http://www.FreeBSD.org
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Old Computers, -Os, Stripping, and 4-STABLE

2004-12-15 Thread Kris Kennaway
On Wed, Dec 15, 2004 at 06:48:42AM -0600, Nikolas Britton wrote:

 1. I'd like to know if it's (relatively) safe to use -Os for CFLAGS and 
 COPTFLAGS?

Only on 5.3 and above.

Kris


pgp134ILrfLoX.pgp
Description: PGP signature


Re: make package don't build package

2004-12-15 Thread Alexandr
Hello Donald J. O'Neill
 Hello Alexandr,
 
 If you did not have mpg123 installed, then make package would make 
 the port, install the port, and build a binary package that would 
 be put in /usr/ports//packages/All if you have /usr/ports/packages, 
 other wise it would be put in the port you are building.
 
 You could also do make -package-recursive, which would build all 
 the ports that were pulled in by making this port.
 
 If you already have the port installed, then make package will 
 fail at the installation of the port. As your error message above 
 says, you have to run make deinstall, then make reinstall, that 
 will let you get through the install portion. But, the install 
 portion of make package failed, if you have done this, then you 
 can run make package and a binary package will be made. You can 
 run make package-recursive at that point.

My problem is that I want to build packages for all programs installed
from ports collections on my copmpute(this is not workstation and I can't
stop it)
I have some errors for apache2 mysql41 firebired-devel 
i can't stop this processes and I haven't other computer with internet 
connection.

I wont to have identikal packages on my home workstaion.
 
Make package-recursive take me some errors.

Do known anybody other ways???

For some packages pkg_create works, but it haven't recursive options.

Thanks. 

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


Re: cpu temperature

2004-12-15 Thread Matthew Seaman
O. Hartmann wrote:
Dominique Goncalves schrieb:
On Tue, 14 Dec 2004 20:33:02 +0100, Lukasz Bigo [EMAIL PROTECTED] 
wrote:
On Tue, 14 Dec 2004 22:19:24 +0800
Spades [EMAIL PROTECTED] wrote:

You could try /usr/ports/sysutils/healthd. I can also send You a small
PHP script which grabs some ACPI values using sysctl to draw a
thermomether (Apache+PHP+GD required), so You could check the CPU
temperature with Your browser. :)

I'm interrested by your script :-)

I have an ASUS CUR-DLS mainboard, BIOS 1012_007 beta and FreeBSD 
5.3-STABLE, SMP disabled, ACPI enabled.
I think your script utilize hw.acpi.thermalxxx (thermal zone). But I 
can't find this on my computer 'grep' ing throught sysctl-output. Can 
anyone help?
Try installing the sysutils/xmbmon port, which is an alternative to 
healthd.  You might have to fiddle with your kernel configuration to add 
smbus support, but for supported chipsets it usually works under GENERIC.

It's fairly easy to plug the output from mbmon into something like MRTG 
to produce nice graphs of CPU temperature over time.

Cheers,
Matthew
--
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


signature.asc
Description: OpenPGP digital signature


No sound from audio cd's

2004-12-15 Thread Marco Beishuizen
Hi,

I don't know how to get sound from audio cd's. Normal sound works fine
(from mp3, movies etc.). I have an audio cable attached between the DVD
player (Plextox PX-712A) and the soundcard (Creative Audigy2), but that
doesn't help. All sound is maximized to 100% in mixer (not muted). The
CD-player recognizes the cd and tracks on it, and plays the cd, except
there is no sound.

Does anyone have an idea what it could be?

Thanks,
Marco

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


PCI-X sound card

2004-12-15 Thread hal
I have a need for a sound card on a backup server I have built.
Something sound blaster compatible would be wonderful, but
anything that works with 4.7 is ok.
The mother board, a Supermicro X5DP8-G2, has only PCI-X slots.
I am running FreeBSD 4.7.
All suggestions are welcome.
hal
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Building custom kernel - 'make' fails in FreeBSD 5.3

2004-12-15 Thread Erik Trulsson
On Wed, Dec 15, 2004 at 05:14:48PM +0100, Fred Patmore wrote:
 Hi,
 I've just installed FreeBSD (after removing it due to portupgrade gone 
 awry), did CVSup and now trying to build a custom kernel.
 
 make depend was successful
 
 but I get the following error messages when doing 'make'
 
 [EMAIL PROTECTED] /usr/src/sys/i386/compile/C-KERNEL#] make
 linking kernel
 umass.o(.text+0x1ab3): In function `umass_cam_attach_sim':
 : undefined reference to `cam_simq_alloc'
 umass.o(.text+0x1b04): In function `umass_cam_attach_sim':
 : undefined reference to `cam_sim_alloc'

[snip]

 
 'make'
 
 Stop in /usr/src/sys/i386/compile/C-KERNEL.
 [EMAIL PROTECTED] /usr/src/sys/i386/compile/C-KERNEL#]
 --
 
 This is my kernel conf
 
 #
 # GENERIC -- Generic kernel configuration file for FreeBSD/i386
 #
 # For more information on this file, please read the handbook section on
 # Kernel Configuration Files:
 #
 # 
 http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
 #
 # The handbook is also available locally in /usr/share/doc/handbook
 # if you've installed the doc distribution, otherwise always see the
 # FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
 # latest information.
 #
 # An exhaustive list of options and more detailed explanations of the
 # device lines is also present in the ../../conf/NOTES and NOTES files.
 # If you are in doubt as to the purpose or necessity of a line, check first
 # in NOTES.
 #
 # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.413.2.6.2.2 2004/10/24 
 18:02:52 scottl Exp $
 
 machine i386
 #cpu I486_CPU
 #cpu I586_CPU
 cpu I686_CPU
 ident C-KERNEL

[snip]

 device ugen # Generic
 #device uhid # Human Interface Devices
 device ukbd # Keyboard
 #device ulpt # Printer
 device umass # Disks/Mass storage - Requires scbus and da

You see that part about 'Requires scbus and da' ?
They do mean it.

 device ums # Mouse
 #device urio # Diamond Rio 500 MP3 player
 #device uscanner # Scanners
 # USB Ethernet, requires mii
 #device aue # ADMtek USB Ethernet
 #device axe # ASIX Electronics USB Ethernet
 #device cue # CATC USB Ethernet
 #device kue # Kawasaki LSI USB Ethernet
 #device rue # RealTek RTL8150 USB Ethernet
 
 # FireWire support
 #device firewire # FireWire bus code
 #device sbp # SCSI over FireWire (Requires scbus and da)
 #device fwe # Ethernet over FireWire (non-standard!)
 
 --
 Since I have no SCSI devices, I've removed anything that has something 
 to do with SCSI from the conf files. Could that be it ? (if you cant 
 tell by now, I am fairly new to this :-)

That is it. 


-- 
Insert your favourite quote here.
Erik Trulsson
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Building custom kernel - 'make' fails in FreeBSD 5.3

2004-12-15 Thread Miguel Mendez
On Wed, 15 Dec 2004 17:14:48 +0100
Fred Patmore [EMAIL PROTECTED] wrote:

Hi,

 but I get the following error messages when doing 'make'
 
 [EMAIL PROTECTED] /usr/src/sys/i386/compile/C-KERNEL#] make
 linking kernel
[...]
 : undefined reference to `xpt_done'
 umass.o(.text+0x233f): more undefined references to `xpt_done' follow
 *** Error code 1

Yes, it's explained in the GENERIC config file:

device  umass   # Disks/Mass storage - Requires scbus and da
 ^^^

Cheers,
-- 
Miguel Mendez [EMAIL PROTECTED] | lea gfx_lib(pc),a1
http://www.energyhq.es.eu.org| moveq   #0,d0
PGP Key: 0xDC8514F1  | move.l  4.w,a6
Note: All HTML mail goes to /dev/null| jsr -552(a6)



pgpUiExIjMUYL.pgp
Description: PGP signature


Re: ld-elf.so.1: Shared objectlibintl.so.6 not found

2004-12-15 Thread Andrew P.
Kris Kennaway wrote:
On Tue, Dec 14, 2004 at 09:08:50PM +0300, Andrew P. wrote:

The real question you should be asking is why does ppp (a system
binary) depend on libintl (not a system library)?  You've probably
replaced your ppp(8) with something else, with poor consequences. 
Can you tell me how to figure that out?

What does the following command show you?
ldd /usr/sbin/ppp
[originally built in May]
[EMAIL PROTECTED] ldd /usr/sbin/ppp
/usr/sbin/ppp:
libcrypt.so.2 = /usr/lib/libcrypt.so.2 (0x280b6000)
libmd.so.2 = /usr/lib/libmd.so.2 (0x280cf000)
libutil.so.3 = /usr/lib/libutil.so.3 (0x280d8000)
libz.so.2 = /usr/lib/libz.so.2 (0x280e1000)
libalias.so.4 = /usr/lib/libalias.so.4 (0x280ee000)
libcrypto.so.3 = /usr/lib/libcrypto.so.3 (0x280fe000)
libradius.so.1 = /usr/lib/libradius.so.1 (0x281f5000)
libnetgraph.so.1 = /usr/lib/libnetgraph.so.1 (0x281fa000)
libc.so.4 = /usr/lib/libc.so.4 (0x281fe000)
[rebuilt on Dec 10]
[EMAIL PROTECTED] ldd /usr/sbin/ppp
/usr/sbin/ppp:
libcrypt.so.2 = /usr/lib/libcrypt.so.2 (0x280b7000)
libmd.so.2 = /usr/lib/libmd.so.2 (0x280d)
libutil.so.3 = /usr/lib/libutil.so.3 (0x280d9000)
libz.so.2 = /usr/lib/libz.so.2 (0x280e2000)
libalias.so.4 = /usr/lib/libalias.so.4 (0x280f)
libcrypto.so.3 = /usr/lib/libcrypto.so.3 (0x2810)
libradius.so.1 = /usr/lib/libradius.so.1 (0x281fe000)
libnetgraph.so.1 = /usr/lib/libnetgraph.so.1 (0x28203000)
libc.so.4 = /usr/lib/libc.so.4 (0x28207000)
I removed libintl from /usr/lib to check if the problem is still there
and it is:
[EMAIL PROTECTED] dmesg -a
...
Starting ppp as root
/usr/libexec/ld-elf.so.1:
Shared object libintl.so.6 not found
...
Best wishes,
Andrew P.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Hylafax Help

2004-12-15 Thread Joshua Lokken
On Tue, 14 Dec 2004 18:26:15 -0500, Alvaro Rosales [EMAIL PROTECTED] wrote:
 Hello  guys is there any hylafax hpwto for freebsd?.

It looks like there are some hints in this thread (however sparse):

http://unix.derkeiler.com/Newsgroups/comp.unix.bsd.freebsd.misc/2004-02/1531.html

And Google says that there may be pertinent info on FreeBSD-specific
Hylafax config in the FreeBSD Corporate Network's Guide:

http://www.bsdmall.com/freebcornetg.html

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


Re: Building custom kernel - 'make' fails in FreeBSD 5.3

2004-12-15 Thread Fred Patmore
Fred Patmore wrote:
Guess this is why some say 99% of users are users :-)
Oops, meant to say 99% of users are lusers.. darn, guess I am one of them
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


freebsd kernel

2004-12-15 Thread Ricardo
Hi. my name is Ricardo and i would like to know what kind of kernel you 
are including in FreeBSD 5.3?
Thanks in advance.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: freebsd kernel

2004-12-15 Thread Jerry McAllister
 
 Hi. my name is Ricardo and i would like to know what kind of kernel you 
 are including in FreeBSD 5.3?
 Thanks in advance.

The FreeBSD kernel is included in FreeBSD.

What other kernel would you possibly expect?

jerry

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


Re: Boot splash screens in 5.3

2004-12-15 Thread Kevin D. Kinsey, DaleCo, S.P.
Paul Robinson wrote:
On Wed, Dec 15, 2004 at 01:49:22PM +, Simon Burke wrote:
 

HIya,
Im trying to find out how to add a bootsplash to 5.3. 
I've looked at the handbook and only saw details for 3.x.
Is it the same process??

I have a 320x200 bmp file already for this, i assume that is the
corrct size etc, as i read of a how-to for 3.x.
   

man 5 loader.conf
Tells you how to get a BMP or PCX sorted.
 

This works:
# cat /boot/loader.conf
splash_bmp_load=YES
bitmap_load=YES
bitmap_name=/boot/splash.bmp
The trick is, according to splash(4), that
the bitmap must be a 256-color one.  Once
I got that fixed, I have it going now
Kevin Kinsey

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


Re: make package don't build package

2004-12-15 Thread epilogue

 pkg_create -- i can't use becose I need create package recursively, 
 but I don't find in man page for this tool options for recursively.

hello again alexandr,

to my knowledge, such a switch does not exist.

you can 'pkg_deinstall -R fooport' and then 'make package fooport' but,
because you'll have to recompile everything, that is probably going to
take quite a bit longer than this other way...

pkg_info -r audacity\*
Information for audacity-1.2.3:

Depends on:
Dependency: pkgconfig-0.15.0_1
Dependency: freetype2-2.1.7_4
Dependency: perl-5.8.5
Dependency: expat-1.95.8
Dependency: fontconfig-2.2.3,1
Dependency: jpeg-6b_3
Dependency: libiconv-1.9.2_1
Dependency: png-1.2.7
Dependency: glib-1.2.10_11
Dependency: imake-6.7.0_2
Dependency: xorg-libraries-6.7.0_3
Dependency: gettext-0.13.1_1
Dependency: libogg-1.1.2,3
Dependency: libvorbis-1.1.0,3
Dependency: libmad-0.15.1b_1
Dependency: libxml2-2.6.16
Dependency: bitstream-vera-1.10
Dependency: tiff-3.7.0_2
Dependency: xorg-fonts-encodings-6.7.0
Dependency: libXft-2.1.6
Dependency: glib-2.4.8
Dependency: xorg-fonts-truetype-6.7.0
Dependency: shared-mime-info-0.15_1
Dependency: gtk-1.2.10_12
Dependency: atk-1.8.0
Dependency: pango-1.6.0
Dependency: hicolor-icon-theme-0.5
Dependency: wxgtk-common-2.4.2_1
Dependency: gtk-2.4.14_1
Dependency: wxgtk2-2.4.2_5

...then simply 'pkg_create -b each_port_listed_above'.  if you are good
with awk/sed (or another scripting language) you should be able to
automate this procedure.

and if you're good at coding, perhaps you'd like to submit a patch for a
switch which enables pkg_create -b work recursively.  (i too wouldn't
mind see that feature added ;)


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


Re: cpu temperature

2004-12-15 Thread Lukasz Bigo
On Wed, 15 Dec 2004 15:44:25 +0100
Dominique Goncalves [EMAIL PROTECTED] wrote:

 On Tue, 14 Dec 2004 20:33:02 +0100, Lukasz Bigo [EMAIL PROTECTED]
 wrote:
 
 I'm interrested by your script :-)

It's available here:
http://venus.ci.uw.edu.pl/~zbyfek/cputemp/

BTW. I must admit xmbmon + MRTG is the way to go,
however, I've heard some rumors, that xmbmon is known as
thinkpad-killer, so I decided not to use it on my 770e.

 
 Cheers
 --
 dom


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


Re: Boot splash screens in 5.3

2004-12-15 Thread Eric Kjeldergaard
  HIya,
  Im trying to find out how to add a bootsplash to 5.3.
  I've looked at the handbook and only saw details for 3.x.
  Is it the same process??
 
  I have a 320x200 bmp file already for this, i assume that is the
  corrct size etc, as i read of a how-to for 3.x.
 
 man 5 loader.conf
 
 Tells you how to get a BMP or PCX sorted.

Don't forget to have the appropriate options built into your kernel
(device SPLASH or some such)

-- 
If I write a signature, my emails will appear more personalised.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How can I make a program keep running even after I logout?

2004-12-15 Thread O. Hartmann
Mat Kovach schrieb:
On Wed, Dec 15, 2004 at 07:40:02PM +0100, Nico Meijer wrote:
 

Hi,
   

I want to cvsup or/and portupgrade and logout but the program keep
running?
 

Try screen: /usr/ports/misc/screen
To run it, simply type `screen`, do your work, type Ctrl-A d to detach
(you can go home now). Log in again, type `screen -r`. Be happy.
   

You can also use nohup 

man 1 nohup
But screen is an excellent choice also but might be over kill 
for this specific purpose.

I use something like:
$ nohup sudo cvsup -g -L 2 /etc/cvsupdate 
appending output to /home/kovachme/nohup.out
 

Another way is using daemon(8) which seems in many cases much more 
useful than nohup.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


rl0: watchdog timeout

2004-12-15 Thread Andrew
Good day!

I know, this question is famous, but i can't handle it myself. The problem is:
After some time my realtek card becomes unresponsible. It happens because of 
buffer overflow. I tried ping -f xxx. 15 seconds later, the kernel says that 
rl0: watchdog timeout. I can't send files more then 100MB via network. This 
problem is because of my PC configuration - Motherboard GB K8N, chipset nforce 
3. Unfortunately, even FreeBSD 5.3 can't handle it (but it's better then 
5.2.1). Maybe someone has already met this problem? Thank you!

Good luck.
P.S. Sorry for my english. :)
P.P.S. I tried 4 realtek cards in different slots and one 3com. :(
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: rl0: watchdog timeout

2004-12-15 Thread Nico Meijer
Hi Andrew,

Warning: no definitive answer ahead.

 After some time my realtek card becomes unresponsible. It happens
 because of buffer overflow. I tried ping -f xxx. 15 seconds later, the
 kernel says that rl0: watchdog timeout. I can't send files more then
 100MB via network. This problem is because of my PC configuration -
 Motherboard GB K8N, chipset nforce 3. Unfortunately, even FreeBSD 5.3
 can't handle it (but it's better then 5.2.1). Maybe someone has
 already met this problem? Thank you!

I have no first hand experience with this particular problem, but it's
almost common knowledge RealTek nics are great because they are cheap,
not because they are of good quality. The phrase piece of crap has
been uttered more than once in relation to these nics.

Can you get your hands on any gigabit nics? (I've been using sk based
chips with OpenBSD lately and they've been performing great under all
circumstances so far.)

 P.S. Sorry for my english. :)

Don't be, it's fine.

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


Re: HTT/SMP Dual Xeon systems unstable

2004-12-15 Thread Stephen Montgomery-Smith
John Baldwin wrote:
There is a problem in the kernel that causes with 3 or more processors 
(including logical CPUs from HTT).  Disabling HTT in the BIOS is probably 
your best bet as it will get you down to 2 CPUs which should work much 
better.  HTT also isn't but so useful anyways for most workloads.  The 
instability problems have just been fixed in HEAD and will hopefully be MFC'd 
for 5.4 btw.

It looks like I have lucked out so far, because I have this set up with 
no problems so far.  I hope this fix gets to 5.x-stable soon because for 
my particular workloads HTT helps a lot.

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


Re: Sharing resources on LAN without NFS

2004-12-15 Thread Zane C. Bowers
On Wed, 15 Dec 2004 22:52:21 +1300
Ben Washington-Yule [EMAIL PROTECTED] wrote:

 The handbook section on NFS was great but having only 3 computers I 
 don't feel the need to set up a client/server system. Nevertheless I
 
 would like to be able to share one printer and one cd-writer between
 
 these 3 machines. I'll be grateful even for just a shove towards the
 
 correct handbook chapter where this is explained.

/me uses NFS for only two machines on his lan

Well sharing a device can be done using geomgate. The problem with
this making it play nicely... not more than one device can connect to
it with write privileges.

For this I would just use NFS and then ssh into that one machine and
burn it from there.


I would say NFS would be the simpleist solution... samba is workable,
but authentication with it is a total PITA as it does not play nicely
for using NIS or local authentication... only really supports LDAP and
a newer and older samba passwd storage... So if you are running NIS on
your lan, NFS is easy the way to go. For LDAP on the lan, I would say
it is your personal choice between Samba and NFS.

The handbook has a nice chapter on NIS and NFS.


For printing, I would suggest reading the chapter in the handbook. It
has some nice info on it. I would also suggest apsfilter, since it
makes drivers nice to work with. There is also CUPS if you don't want
to use the base lpd.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How can I make a program keep running even after I logout?

2004-12-15 Thread Nikolas Britton
Rae Kim wrote:
I connect to my computer from school computer.
I want to cvsup or/and portupgrade and logout but the program keep running?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
 

Hi Rae, I asked this very same question back in (Job Control) back in 
November, first thing to know is that the default for the csh shell is 
not to hangup background jobs when you exit the shell. here is all the 
meat from that tread:

###This is the way I thought up on my own Rae###
$ ssh localhost
Password: 
Last login: Mon Nov 22 06:13:59 2004 from localhost
Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994
  The Regents of the University of California.  All rights reserved.
FreeBSD 5.3-RELEASE-p1 (SPECTRA) #0: Sat Nov 20 23:30:17 CST 2004
Welcome to FreeBSD!
$ su
Password: 
spectra# cvsup -g -L 2 /root/ports-supfile  /root/ports-supfile.log
[1] 71669
spectra# exit
exit
$ exit
Connection to localhost closed.
$ tail /root/ports-supfile.log
Add delta 1.25 2004.11.21.22.03.48 marcus
Edit ports/x11-toolkits/py-gnome2/Makefile
Add delta 1.78 2004.11.20.17.18.17 kwm
Edit ports/x11-toolkits/py-gnome2/distinfo
Add delta 1.28 2004.11.20.17.18.17 kwm
Edit ports/x11-toolkits/py-gnome2/pkg-plist
Add delta 1.31 2004.11.20.17.18.17 kwm
Updating collection ports-x11-wm/cvs
Shutting down connection to server
Finished successfully
$ exit
--
Presumably you've also nohup -ed the background job too:-)
anyway have a look at 'screen' to give you virtual terminals that you 
drop out of and back into when you want to.
---
yes screen will do that, detach first before logout, then re-attach when 
you want o get back to that session. Also no need to background the job, 
as screen will just keep the job running after detach anyway..

--
###This was the one I liked the most Rae###
From work:
# nohup foobar  foobar.log 
Back home:
# tail -f foobar.log
Ruben

If all you want to do is inspect the output from your command, then
simply use script(1) to save a transcript of the output.  script(1)
comes with the system.  Use it like this:
   % cd /usr/ports/x11/xorg
   % script /tmp/make.out  sudo make install
And /tmp/make.out will contain a transcript of everything that appears
on your screen during the course of doing that job.
   Cheers,
   Matthew
---
Thanks
# nohup foobar  foobar.log 
    ^^^
Why'd you do it like that, how is it diffrent from this way?:
# nohup foobar  foobar.log 
---
His example redirects both stdout and stderr to foobar.log, while yours
only redirect stdout. (Note that  is a csh-specific operator. The
equivalent for a Bourne-shell derivative would be:
nohup foobar  foobar.log 21 
I.e. redirecting stdout to foobar.log and then redirecting file
descriptor 2 (stderr) to wherever file descriptor 1 (stdout) goes to
(foobar.log in this case.)
When used with the nohup command I believe the redirection of stderr
is unnecessary since the manpage for nohup(1) says If standard error is a
terminal, it is directed to the same place as the standard output.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: php4 install has conflicts

2004-12-15 Thread Noah
 
 I could be wrong about this, but I don't believe you need to 
 reinstall those ports. Just force delete all old versions of mod-
 php4 and then install the new version of php4 or mod-php4 (whichever 
 one you actually want). The other ports shouldn't need to be 
 reinstalled, because the new version of php installs to the same 
 location as the old version. Hence the ports that use it will just 
 use the new version automatically. You may also want to clean up the 
 duplicate gallery versions by using pkg_delete -f to remove both 
 versions and then install just the latest version of gallery.
 
 To avoid this problem in the future, always use portupgrade to 
 upgrade your ports. That way you won't get multiple versions installed!


okay thank you,

do you know of a command that can show me all the ports that are installed on
my machine?  is there a nice tutorial that explains how to use the ports
efficiently and safetly?

cheers,

Noah


 
 Cheers,
 -- 
 Ian Moore
 
 GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc

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


Re: ld-elf.so.1: Shared objectlibintl.so.6 not found

2004-12-15 Thread Kris Kennaway
Note to [EMAIL PROTECTED]: you are blocking mail from me.

Kris

On Wed, Dec 15, 2004 at 12:21:27AM +0300, Andrew P. wrote:

 [originally built in May]
 [EMAIL PROTECTED] ldd /usr/sbin/ppp
 /usr/sbin/ppp:
 libcrypt.so.2 = /usr/lib/libcrypt.so.2 (0x280b6000)
 libmd.so.2 = /usr/lib/libmd.so.2 (0x280cf000)
 libutil.so.3 = /usr/lib/libutil.so.3 (0x280d8000)
 libz.so.2 = /usr/lib/libz.so.2 (0x280e1000)
 libalias.so.4 = /usr/lib/libalias.so.4 (0x280ee000)
 libcrypto.so.3 = /usr/lib/libcrypto.so.3 (0x280fe000)
 libradius.so.1 = /usr/lib/libradius.so.1 (0x281f5000)
 libnetgraph.so.1 = /usr/lib/libnetgraph.so.1 (0x281fa000)
 libc.so.4 = /usr/lib/libc.so.4 (0x281fe000)
 
 [rebuilt on Dec 10]
 [EMAIL PROTECTED] ldd /usr/sbin/ppp
 /usr/sbin/ppp:
 libcrypt.so.2 = /usr/lib/libcrypt.so.2 (0x280b7000)
 libmd.so.2 = /usr/lib/libmd.so.2 (0x280d)
 libutil.so.3 = /usr/lib/libutil.so.3 (0x280d9000)
 libz.so.2 = /usr/lib/libz.so.2 (0x280e2000)
 libalias.so.4 = /usr/lib/libalias.so.4 (0x280f)
 libcrypto.so.3 = /usr/lib/libcrypto.so.3 (0x2810)
 libradius.so.1 = /usr/lib/libradius.so.1 (0x281fe000)
 libnetgraph.so.1 = /usr/lib/libnetgraph.so.1 (0x28203000)
 libc.so.4 = /usr/lib/libc.so.4 (0x28207000)
 
 I removed libintl from /usr/lib to check if the problem is still there 
 and it is:
 
 [EMAIL PROTECTED] dmesg -a
 ...
 Starting ppp as root
 /usr/libexec/ld-elf.so.1:
 Shared object libintl.so.6 not found
 ...

OK, but that's not coming from executing /usr/sbin/ppp since you've
shown us that it's not in fact linked to libintl, as expected (you
could also verify this by executing ppp by hand).  Can you show us
your /etc/rc.conf?  Perhaps it's not running /usr/sbin/ppp but some
other binary.

Kris


pgp8huaCJv6OO.pgp
Description: PGP signature


Re: php4 install has conflicts

2004-12-15 Thread Noah
  Try portupgrade -rR php4\*
  The -N flag is for installing new packages, not upgrading existing ones.
  -rR should resolve all dependencies above  below php4. That should also
  remove all the old versions .
 
 Oops,
 I shouldn't answer things before I've woken up properly!
 I missed the fact you had mod_php installed rather than php.
 I believe you need to pkg_delete mod_php and then install php, since 
 the Makefile for mod_php says: CONFLICTS=  php4-4* php4-cli-4* 
 php4-cgi-4*


HI,

okay one more question.  what is the best method to get rid of all the stale
dependencies please?

--- snip ---

# portupgrade -Rr php4\*
Stale dependency: php4-bz2-4.3.9_1 -- apache-1.3.33_1 -- manually run 'pkgdb
-F' to fix (-O disallowed when -R is given).
hurricane# pkgdb -F
---  Checking the package registry database
Stale origin: 'devel/autoconf257': perhaps moved or obsoleted.
- The port 'devel/autoconf257' was removed on 2004-07-01 because:
autotools cleanup
- Hint: autoconf-2.57_1 is not required by any other package
- Hint: checking for overwritten files...
 - No files installed by autoconf-2.57_1 have been overwritten by other 
packages.
Deinstall autoconf-2.57_1 ? [no] ^C


--- snip ---

cheers,

Noah


 
 Cheers,
 
 -- 
 Ian Moore
 
 GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc

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


Re: ld-elf.so.1: Shared objectlibintl.so.6 not found

2004-12-15 Thread Andrew P.
Kris Kennaway wrote:
Note to [EMAIL PROTECTED]: you are blocking mail from me.
Kris
I'm sorry for that. Use [EMAIL PROTECTED] for personal
messages or cc'd mails, please.
[originally built in May]
[EMAIL PROTECTED] ldd /usr/sbin/ppp
/usr/sbin/ppp:
   libcrypt.so.2 = /usr/lib/libcrypt.so.2 (0x280b6000)
   libmd.so.2 = /usr/lib/libmd.so.2 (0x280cf000)
   libutil.so.3 = /usr/lib/libutil.so.3 (0x280d8000)
   libz.so.2 = /usr/lib/libz.so.2 (0x280e1000)
   libalias.so.4 = /usr/lib/libalias.so.4 (0x280ee000)
   libcrypto.so.3 = /usr/lib/libcrypto.so.3 (0x280fe000)
   libradius.so.1 = /usr/lib/libradius.so.1 (0x281f5000)
   libnetgraph.so.1 = /usr/lib/libnetgraph.so.1 (0x281fa000)
   libc.so.4 = /usr/lib/libc.so.4 (0x281fe000)
I removed libintl from /usr/lib to check if the problem is still there 
and it is:

[EMAIL PROTECTED] dmesg -a
...
Starting ppp as root
/usr/libexec/ld-elf.so.1:
Shared object libintl.so.6 not found
...

OK, but that's not coming from executing /usr/sbin/ppp since you've
shown us that it's not in fact linked to libintl, as expected (you
could also verify this by executing ppp by hand).  Can you show us
your /etc/rc.conf?  Perhaps it's not running /usr/sbin/ppp but some
other binary.
Indeed, I tried to # ldconfig -elf /usr/lib /usr/lib/compat (so
that ld-elf cannot find libintl), but ppp loaded anyways. Attached
is my kernconf and a few rc scripts.
Thanks,
Andrew P.
#!/bin/sh
#
# Copyright (c) 2000  The FreeBSD Project
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
#notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
#notice, this list of conditions and the following disclaimer in the
#documentation and/or other materials provided with the distribution.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
# ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#
#   @(#)rc  5.27 (Berkeley) 6/5/91
# $FreeBSD: src/etc/rc,v 1.212.2.51 2002/10/17 17:25:07 schweikh Exp $
#

# System startup script run by init on autoboot
# or after single-user.
# Output and error are redirected to console by init,
# and the console is the controlling terminal.

# Note that almost all of the user-configurable behavior is no longer in
# this file, but rather in /etc/defaults/rc.conf.  Please check that file
# first before contemplating any changes here.  If you do need to change
# this file for some reason, we would like to know about it.

stty status '^T'

# Set shell to ignore SIGINT (2), but not children;
# shell catches SIGQUIT (3) and returns to single user after fsck.
#
trap : 2
trap : 3# shouldn't be needed

bootmode=$1

HOME=/
PATH=/sbin:/bin:/usr/sbin:/usr/bin
export HOME PATH

# BOOTP diskless boot.  We have to run the rc file early in order to
# retarget various config files.
# See /usr/share/examples/diskless/clone_root for details on how
# to setup diskless on the client and the server.
#
if [ -r /etc/rc.diskless1 ]; then
dlv=`/sbin/sysctl -n vfs.nfs.diskless_valid 2 /dev/null`
if [ ${dlv:=0} != 0 ]; then
. /etc/rc.diskless1
fi
fi

# If there is a global system configuration file, suck it in.
#
if [ -r /etc/defaults/rc.conf ]; then
. /etc/defaults/rc.conf
source_rc_confs
elif [ -r /etc/rc.conf ]; then
. /etc/rc.conf
fi

chkdepend() {
svc=$1
svc_var=$2
dep=$3
dep_var=$4

eval svc_val=\${$svc_var}
eval dep_val=\${$dep_var}

case ${svc_val} in
[Yy][Ee][Ss])
case ${dep_val} in
[Yy][Ee][Ss])
;;
*)
eval ${dep_var}=YES
echo DEPENDENCY NOTE: ${dep} will be enabled \
to support ${svc}
;;
esac
;;
esac
}

chkdepend amd amd_enableportmap portmap_enable
chkdepend amd amd_enableNFS nfs_client_enable
chkdepend NFS nfs_server_enable portmap portmap_enable
chkdepend NIS nis_server_enable portmap 

Gvinum and swap partitions

2004-12-15 Thread Lapo Nustrini
I recently converted a vinum boot mirror to gvinum on a FreeBSD STABLE 
box.
The mirror was initially setup using the information on Greg Lehey's 
The Complete Freebsd book, resulting in everything being mirrored on 
my boot drive, including the swap partition.

While trying to get up to speed with the whole gvinum/vinum debacle, I 
recently came across a post suggesting that if one was using a gvinum 
based swap partition, a particular entry was required in a 
configuration file.

For the life of me, I can't find this specific post again, (I think it 
was on one of the freebsd mailing lists), and I don't remember either 
the specific entry, or whether it referred to loader.conf or rc.conf.

I know the above is pretty vague, but if anyone can tell me what needs 
to be set (if anything), other than placing:

geom_vinum_load=YES
in /boot/loader.conf, I'd really appreciate it.
Thanks,
Lapo
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: for Centrino (Pentium-M) - ways to decrease CPU power?

2004-12-15 Thread Miles Keaton
 Install sysutils/estctrl, works for me.


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


Re: php4 install has conflicts

2004-12-15 Thread Kevin D. Kinsey, DaleCo, S.P.
Noah wrote:

HI,
okay one more question.  what is the best method to get rid of all the stale
dependencies please?
--- snip ---
 

Hi, Noah.  (Thanks for building that boat all those years ago... :-)
Anyway, this helped me in understanding how to answer
pkgdb -F:
http://www.onlamp.com/pub/a/bsd/2001/11/29/Big_Scary_Daemons.html
A companion article from my Bookmarks:
http://www.onlamp.com/pub/a/bsd/2003/08/28/FreeBSD_Basics.html
Excellent for learning about portupgrade.
HTH,
Kevin Kinsey
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Network Problem

2004-12-15 Thread Chris Kelly
Hi Guys,

I've been experiencing a strange problem with our FreeBSD web server:

FreeBSD www.piyeepress.com 4.8-RELEASE
Server version: Apache/1.3.27 (Unix)

When accessed via a web browser, it will return pages for a few minutes.
Eventually access is super super slow, as if some TCP state table is
filling up.  I reboot the server and it returns web pages as it should,
but only for five or so minutes, when it won't return any more pages, or
it returns pages but very slowly.

I've tailed the apache log and the page is returned when I see it appear
in my web browser.  I'll click on a link, wait a minute or so, and if the
page does finally appear in the browser, only then do I see the access in
the httpd log.  Same type of thing with tcpdump.  Using rules and a few
regular expressions to show just my IP, I don't see anything until the
actual webpage comes through on my screen.

The output of netstat -ap tcp doesn't show too many open
states.  I swear that some tcp state table is filling up;
otherwise I have no clues.  Here's something too: if I use lynx to access
the site, and I access the site from another server in the same rack, the
page is returned instantly.  Here's some more confusion: non-Windows
machines seem to do better at getting pages from the server than do
Windows machines.

Any ideas?  Sorry if I have been unclear.  This problem has been driving
me crazy!

Thanks,

Chris Kelly

+-+
Christopher Kelly
Webmaster, Pi Yee Press
4855 W. Nevso Drive
Las Vegas, NV  89103
[EMAIL PROTECTED]
Office - (702) 579-7711
Fax - (702) 579-BOOK
+-+

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


Re: How can I make a program keep running even after I logout?

2004-12-15 Thread Rae Kim
Thank you all guys..

I've tried daemon, nohup and Nicolas' csh method

all works fine.

On Wed, 15 Dec 2004 13:42:52 -0600, Nikolas Britton
[EMAIL PROTECTED] wrote:

 Hi Rae, I asked this very same question back in (Job Control) back in
 November, first thing to know is that the default for the csh shell is
 not to hangup background jobs when you exit the shell. here is all the
 meat from that tread:
 
 ###This is the way I thought up on my own Rae###
 $ ssh localhost
 Password: 
 Last login: Mon Nov 22 06:13:59 2004 from localhost
 Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994
The Regents of the University of California.  All rights reserved.
 
 FreeBSD 5.3-RELEASE-p1 (SPECTRA) #0: Sat Nov 20 23:30:17 CST 2004
 
 Welcome to FreeBSD!
 
 $ su
 Password: 
 spectra# cvsup -g -L 2 /root/ports-supfile  /root/ports-supfile.log
 [1] 71669
 spectra# exit
 exit
 $ exit
 Connection to localhost closed.
 $ tail /root/ports-supfile.log
  Add delta 1.25 2004.11.21.22.03.48 marcus
 Edit ports/x11-toolkits/py-gnome2/Makefile
  Add delta 1.78 2004.11.20.17.18.17 kwm
 Edit ports/x11-toolkits/py-gnome2/distinfo
  Add delta 1.28 2004.11.20.17.18.17 kwm
 Edit ports/x11-toolkits/py-gnome2/pkg-plist
  Add delta 1.31 2004.11.20.17.18.17 kwm
 Updating collection ports-x11-wm/cvs
 Shutting down connection to server
 Finished successfully
 $ exit
 --
 Presumably you've also nohup -ed the background job too:-)
 
 anyway have a look at 'screen' to give you virtual terminals that you
 drop out of and back into when you want to.
 ---
 yes screen will do that, detach first before logout, then re-attach when
 you want o get back to that session. Also no need to background the job,
 as screen will just keep the job running after detach anyway..
 
 --
 ###This was the one I liked the most Rae###
  From work:
 # nohup foobar  foobar.log 
 
 Back home:
 # tail -f foobar.log
 
 Ruben
 
 If all you want to do is inspect the output from your command, then
 simply use script(1) to save a transcript of the output.  script(1)
 comes with the system.  Use it like this:
 
 % cd /usr/ports/x11/xorg
 % script /tmp/make.out  sudo make install
 
 And /tmp/make.out will contain a transcript of everything that appears
 on your screen during the course of doing that job.
 
 Cheers,
 
 Matthew
 ---
 Thanks
 
 # nohup foobar  foobar.log 
      ^^^
 
 Why'd you do it like that, how is it diffrent from this way?:
 # nohup foobar  foobar.log 
 ---
 His example redirects both stdout and stderr to foobar.log, while yours
 only redirect stdout. (Note that  is a csh-specific operator. The
 equivalent for a Bourne-shell derivative would be:
  nohup foobar  foobar.log 21 
 I.e. redirecting stdout to foobar.log and then redirecting file
 descriptor 2 (stderr) to wherever file descriptor 1 (stdout) goes to
 (foobar.log in this case.)
 
 When used with the nohup command I believe the redirection of stderr
 is unnecessary since the manpage for nohup(1) says If standard error is a
 terminal, it is directed to the same place as the standard output.

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


Gnome without the stuff?

2004-12-15 Thread Robert William Vesterman
I installed the Gnome2 port, and it installed a whole lot of stuff that
I wasn't expecting, including stuff that I don't know what it is, and
also stuff that I never intend to use.
Is there a way to install just a basic Gnome, without all the stuff?
That is, the default applications of various types? If I want Evolution,
or Epiphany, or games, or blah blah blah, I would like to just install
that specific thing myself when I decide that I want it.  But if I want
to use Firefox, I'm not interested in having Epiphany installed.
Thanks,
Bob Vesterman.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portupgrade perl and openwebmail

2004-12-15 Thread Noah Garrett Wallach
On Wed, 15 Dec 2004, Lapo Nustrini wrote:
If you have just gone from a  5.8.1 version of Perl to the current 5.8.5, 
you are probably running into the following:

(From the Openwebmail README file at 
http://www.openwebmail.org/openwebmail/doc/readme.txt )

If you are using FreeBSD and your perl is compiled from port,
then please note that the SUID support is disabled by default
since the port for perl 5.8.1 or later
You need to do 'make -DENABLE_SUIDPERL' in making port

Lapo

thanks - I am rebuilding perl now.  is there something I can add to the 
/etc/make.conf file to make enabled SUID support everytime I rebuild perl?

cheers,
Noah


On Dec 15, 2004, at 2:50 PM, Noah Garrett Wallach wrote:
FreeBSD-4.9
perl-5.8.5
openwebmail-2.41
just portupgraded perl
now I am having difficulties reinitializing openwebmail.pl
any clues on this?
--- snip ---
# /usr/local/www/cgi-bin/openwebmail/openwebmail-tool.pl --init
Args must match #! line at /dev/fd/9 line 1.
speedy_backend[44225]: perl_parse error
speedy[44223]: Cannot spawn backend process
--- snip 
- Noah
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]


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


att: Randall D. DuCharme (RadioAD5GB)

2004-12-15 Thread Minnesota Jo
Hello,  Why does this work this way?  Thanks, Jo W.  




 


Try this... 

 

You need to read this and answer the question.  It will take about 30 

seconds but you just will not believe this!!! 

 

At the end of this, you are asked a question. 

 

Answer it immediately. Don't stop and think about it. 

 

Just say the first thing that pops into your mind. 

 

This is a fun test... AND kind of spooky at the same time! 

 

Give it a try, then e-mail it around (including back to me) and you'll 

see how many people you know fall into the same percentage as you. Be 

sure to put in the subject line if you are among the 98% or the 2%. 

 

You'll understand what that means after you finish taking the test. 

Now... just follow the instructions as quickly as possible. 

 

Do not go to the next calculation before you have finished the previous 

one.. 

 

 

You do not ever need to write or remember the answers, just do it using 

 

your mind.  
 
  

You'll be surprised. 

 

 

 

Start: 

 

 

 

 

How much is:  

 
 
 
 
 15 + 6 

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

 

 

3 + 56 

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
  

89 + 2 

 

 
 
 
 
 
 
 
 
 

 
 
 
 

 
 
 
 
 
 
 
 
 

12 + 53 

 

 

  
 
 
 
 
 

 
  

 
 
 
 
 
 
 
 

 

75 + 26 

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

25  +  52 

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 63 + 32 

 
 
 
 
 
 
 
  

 
 
 
 
 
 
 
 
 

I know! Calculations are hard work, but it's nearly over.. 

 

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
  

Come on, one more... 

 

 

 
 
 
 
 
 
 
 
 123 +  5 
 
 
 
 
 
 
 
 
  
 
 
 
 
 
 
 
 NOW QUICK! THINK OF A TOOL AND A COLOR! 

  
 
 
 
 
 
 
 
 
 
 
   

Scroll further to the bottom... 

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

A bit more... 

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
   
 
 
 
  

You just thought about a red hammer, didn't you? 

 

 

 

If this is not your answer, you are among 2% of people who have a 

different, if not abnormal, mind. 98% of those doing this exercise, 

think of a red hammer. 



--
Randall D. DuCharme (Radio AD5GB)

Powered by FreeBSD! ( http://www.freebsd.org )
The Power to Serve! 

-
Do you Yahoo!?
Discover all that’s new in My Yahoo! 



-
Do you Yahoo!?
Take Yahoo! Mail with you! Get it on your mobile phone. 

Yahoo! Groups Sponsor 
Get unlimited calls to

U.S./Canada


-
Yahoo! Groups Links

   To visit your group on the web, go to:
http://groups.yahoo.com/group/MyWisconsinFriends/
  
   To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
  
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 




Loving You even More with Less of me.  Hugs, Jo 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portupgrade perl and openwebmail

2004-12-15 Thread Noah Garrett Wallach
On Wed, 15 Dec 2004, Lapo Nustrini wrote:
If you have just gone from a  5.8.1 version of Perl to the current 5.8.5, 
you are probably running into the following:

(From the Openwebmail README file at 
http://www.openwebmail.org/openwebmail/doc/readme.txt )

If you are using FreeBSD and your perl is compiled from port,
then please note that the SUID support is disabled by default
since the port for perl 5.8.1 or later
You need to do 'make -DENABLE_SUIDPERL' in making port

Lapo

also is this make switch suppesed to be provided when building perl or 
when building openwebmail - which port please?

cheers,
Noah


On Dec 15, 2004, at 2:50 PM, Noah Garrett Wallach wrote:
FreeBSD-4.9
perl-5.8.5
openwebmail-2.41
just portupgraded perl
now I am having difficulties reinitializing openwebmail.pl
any clues on this?
--- snip ---
# /usr/local/www/cgi-bin/openwebmail/openwebmail-tool.pl --init
Args must match #! line at /dev/fd/9 line 1.
speedy_backend[44225]: perl_parse error
speedy[44223]: Cannot spawn backend process
--- snip 
- Noah
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]


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


Re: ld-elf.so.1: Shared objectlibintl.so.6 not found

2004-12-15 Thread Andrew P.
Kris Kennaway wrote:
Starting ppp as root
/usr/libexec/ld-elf.so.1:
Shared object libintl.so.6 not found
...

OK, but that's not coming from executing /usr/sbin/ppp since you've
shown us that it's not in fact linked to libintl, as expected (you
could also verify this by executing ppp by hand).  Can you show us
your /etc/rc.conf?  Perhaps it's not running /usr/sbin/ppp but some
other binary.
Indeed, I tried to # ldconfig -elf /usr/lib /usr/lib/compat (so
that ld-elf cannot find libintl), but ppp loaded anyways. Attached
is my kernconf and a few rc scripts.

Eek, I only asked for rc.conf, not all that other junk :)
I'm guessing that the error message is not in fact from loading ppp,
but something else..one candidate would be sshd, which you may have
replaced by a non-system version.  Please run ldd /usr/sbin/sshd and
check this.
If not, then change the rc script to run with #!/bin/sh -x and take
a closer look at what command is being run that returns the error.
Well, I ran ldd /usr/sbin/sshd, ldd /usr/sbin/*, ldd /usr/bin/*,
ldd /sbin/*, ldd /bin/*; looked through it, grepped for 'intl'
without any instances found. Then I added two echo lines to the
rc.network script:
echo Starting ppp as \${ppp_user}\
echo JUST BEFORE - ${ppp_command}
su -m ${ppp_user} -c exec ${ppp_command}
echo JUST AFTER
And here's what I've got after reboot:
# dmesg -a
...
Starting ppp as root
JUST BEFORE - /usr/sbin/ppp -quiet -ddial default
/usr/libexec/ld-elf.so.1:
Shared object libintl.so.6 not found
JUST AFTER
...
# ldd /usr/bin/su
/usr/bin/su:
libutil.so.3 = /usr/lib/libutil.so.3 (0x28069000)
libskey.so.2 = /usr/lib/libskey.so.2 (0x28072000)
libmd.so.2 = /usr/lib/libmd.so.2 (0x28079000)
libcrypt.so.2 = /usr/lib/libcrypt.so.2 (0x28082000)
libkrb.so.3 = /usr/lib/libkrb.so.3 (0x2809b000)
libcrypto.so.3 = /usr/lib/libcrypto.so.3 (0x280b4000)
libcom_err.so.2 = /usr/lib/libcom_err.so.2 (0x281ab000)
libc.so.4 = /usr/lib/libc.so.4 (0x281ad000)
Here I almost pressed the Send button in my Thunderbird, but
oops. Back to the shell :-)
# man su
...A shell is then executed
Yep, my default shell for root is bash.
# ldd bash
bash:
libncurses.so.5 = /usr/lib/libncurses.so.5 (0x280e)
libintl.so.6 = /usr/local/lib/libintl.so.6 (0x28121000)
libc.so.4 = /usr/lib/libc.so.4 (0x2812a000)
libiconv.so.3 = /usr/local/lib/libiconv.so.3 (0x281c3000)
So apparently I have probably changed the default shell from csh
to bash on both machines right after that portupgrade. I changed
back to sh now - and the error is gone.
The only question I have now is how come I've never read about this?
I've read the Handbook and the Complete Freebsd and literally
thousands of other pages concerning FreeBSD management. I have
never seen a warning about changing the default shell for root.
Or am I just too blind?..
Anyways, thank you Kris and Toomas for your kindest response!
Thanx!
Best wishes,
Andrew P.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 5.0

2004-12-15 Thread Kris Kennaway
On Tue, Dec 14, 2004 at 01:53:51PM -0300, Rodrigo wrote:
 Good Afternoon,
 
 My name is Rodrigo, I live in Brazil(my english is very bad, sorry) and I 
 would like to know where can I find the versions 5.0 (i386) and 5.1(i386) to 
 download?

http://mirrorlist.freebsd.org, but it is not recommended that those
versions be installed on new machines since they're old and full of
bugs.

Kris


pgpy6xtCj4yvm.pgp
Description: PGP signature


Re: ld-elf.so.1: Shared objectlibintl.so.6 not found

2004-12-15 Thread Kris Kennaway
On Thu, Dec 16, 2004 at 02:43:12AM +0300, Andrew P. wrote:

 echo Starting ppp as \${ppp_user}\
 echo JUST BEFORE - ${ppp_command}
 su -m ${ppp_user} -c exec ${ppp_command}
 echo JUST AFTER

 Here I almost pressed the Send button in my Thunderbird, but
 oops. Back to the shell :-)
 
 # man su
 ...A shell is then executed
 
 Yep, my default shell for root is bash.
 
 # ldd bash
 bash:
 libncurses.so.5 = /usr/lib/libncurses.so.5 (0x280e)
 libintl.so.6 = /usr/local/lib/libintl.so.6 (0x28121000)
 libc.so.4 = /usr/lib/libc.so.4 (0x2812a000)
 libiconv.so.3 = /usr/local/lib/libiconv.so.3 (0x281c3000)
 
 So apparently I have probably changed the default shell from csh
 to bash on both machines right after that portupgrade. I changed
 back to sh now - and the error is gone.
 
 The only question I have now is how come I've never read about this?
 I've read the Handbook and the Complete Freebsd and literally
 thousands of other pages concerning FreeBSD management. I have
 never seen a warning about changing the default shell for root.
 Or am I just too blind?..

Aha!

Well, it's good that we finally tracked this down.  I'm not aware of
anywhere that mentions this caveat and could not find it in a quick
skim of the manpages and handbook, although it may still be there
somewhere.  It is certainly part of the UNIX lore that the root shell
should be one that is self-contained in the root filesystem (typically
this means /bin/sh or /bin/csh).  The standard thing to do if you want
to use another shell is to use the toor account, which is an alternate
root account that is provided for this kind of thing.  This leaves
root available for emergency use (single-user mode), and (it turns
out) for running scripts with 'su' during the early boot phase.

What I recommend is that you open a doc PR requesting that this be
documented somewhere, so that future generations don't run into this
problem as well.

Kris


pgpxMUzkI4upg.pgp
Description: PGP signature


Re: FreeBSD 5.3: panic page fault with nge driver

2004-12-15 Thread sp0ng3b0b
No one has replied to my posts. :(
I hope I provided all the info that was needed.
I tried 5.3-STABLE, but no success. OS still panics with same message 
below. 5.2.1-RELEASE works, but its not current anymore and I don't want 
to install an older OS. Besides, even with 5.2.1, I had to hardcode the 
media settings for the interface.

OpenBSD 3.6 does not seem to have this problem and uses the same driver. 
So until I see that the problem is fixed, I have to move my IDS's over 
to OpenBSD.

sp0ng3b0b wrote:
I am getting a page fault with a new install of FreeBSD 5.3 Release. 
Something changed with the nge driver in FreeBSD 5.3. I did not have 
this problem with 5.2.1. I just performed a clean install on a box 
that had been running 5.2.1 RELEASE for a few months.

The box is an Instrusion Detection System. I have fiber taps in place 
on the network and use the rx ports of the nic to monitor the traffic.

In 5.2.1, i would do this to bond ports and monitor them:
# ifconfig nge0 media 1000baseSX mediaopt full-duplex promisc -arp up
# ifconfig nge1 media 1000baseSX mediaopt full-duplex promisc -arp up
# ngctl mkpeer fec dummy fec
# ngctl msg fec0: add_iface 'nge0'
# ngctl msg fec0: add_iface 'nge1'
# ngctl msg fec0: set_mode_inet
# ifconfig fec0 promisc -arp up
However, when i set the media options for nge0, the machine panics 
and dies. The panic message is hand typed below.

FreeBSD 5.3 RELEASE.
Intel Pentium 4 3.06GHz CPU
1GB RAM
80GB Maxtor HD
(1x) Intel 82801DB (ICH4) Pro/100 Ethernet
(6x) NetGear GA621 fiber 1GB NIC
Fatal trap 12: page fault while in kernel mode
fault virtual address= 0x8
fault code= supervisor read, page not present
instruction pointer= 0x8:0xc055a002
stack pointer= 0x10:0xe32a2c9c
frame pointer= 0x10:0xe32a2cac
code segment= base 0x0, limit 0xf, type 0x1b
= DPL 0, pres 1, def 2 1, gran 1
processor eflags= interrupt enabled, resuep, IOPL = 0
current process= 27 (irq17: nge0)
trap number= 12
panic: page fault
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: handbook version

2004-12-15 Thread Kris Kennaway
On Wed, Dec 15, 2004 at 06:50:27PM -0500, Steven Friedrich wrote:
 I noticed that the local version of the handbook is from Release 4.7 and the 
 version on the web site is 4.10.
 
 I'm not trying to be critical, I'm just wondering if I'm supposed to be 
 performing some action to get the latest, or if 4.11 release (which I believe 
 will be the last 4.x) will contain the latest version.

You can download a newer version from the FTP site, or install it
using the installer from the relevant release.

Kris


pgpgX3CcoqJkq.pgp
Description: PGP signature


Re: handbook version

2004-12-15 Thread Chuck Swiger
Steven Friedrich wrote:
I noticed that the local version of the handbook is from Release 4.7 and the 
version on the web site is 4.10.

I'm not trying to be critical, I'm just wondering if I'm supposed to be 
performing some action to get the latest, or if 4.11 release (which I believe 
will be the last 4.x) will contain the latest version.
You can use cvsup to update the /usr/doc tree, and then you can use the tools 
included from the text/docproj port to rebuild HTML or other versions of the 
documentation for /usr/share/doc.

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


Re: php4 install has conflicts

2004-12-15 Thread Ian Moore
On Thu, 16 Dec 2004 06:45, Noah wrote:
  I could be wrong about this, but I don't believe you need to
  reinstall those ports. Just force delete all old versions of mod-
  php4 and then install the new version of php4 or mod-php4 (whichever
  one you actually want). The other ports shouldn't need to be
  reinstalled, because the new version of php installs to the same
  location as the old version. Hence the ports that use it will just
  use the new version automatically. You may also want to clean up the
  duplicate gallery versions by using pkg_delete -f to remove both
  versions and then install just the latest version of gallery.
 
  To avoid this problem in the future, always use portupgrade to
  upgrade your ports. That way you won't get multiple versions installed!

 okay thank you,

 do you know of a command that can show me all the ports that are installed
 on my machine?  is there a nice tutorial that explains how to use the ports
 efficiently and safetly?
 cheers, 
 Noah

pkg_info will show you all the packages installed on your machine, portversion 
will do this too  show you wether they are up to date or not (assuming you 
have cvsuped your ports collection). portversion -vL= will show you which 
ones are not up to date.
There is an excellent turorial on portupgrade from Dr. Dru Lavigne at 
http://www.onlamp.com/pub/a/bsd/2003/08/28/FreeBSD_Basics.html
She has lot's of great articles in her FreeBSD basics series, the Big Scary 
Deamons articles are great too (also at http://www.onlamp.com)

 also how do I upgrade and/or install php4?
 
 --- snip ---
 
 # portupgrade php4
 ** No such package 'php4' is installed.
 # portinstall php4
 ** No such installed package nor such port called 'php4' is found.
 
 --- snip ---
 

That's where you need to use portupgrade -N php4-4.3.9_1  (-N means install a 
new port) or you can just cd to the php4 port directory and use make install 
clean to install it.

Hope that helps.

Cheers,
-- 
Ian Moore

GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc


pgp4uJ65MQpfM.pgp
Description: PGP signature


Sendmail: host name lookup failure

2004-12-15 Thread Robert Huff

Paul A. Hoadley writes:

   There are numerous hits from Google on very similar issues, but
   almost all the solutions point at DNS problems.  If there is a
   local DNS issue, I can't find it.

Because it may not be what you think.
Yesterday, I upgraded my -CURRENT system from mid-October.
Afterward a number of major bits, starting with sendmail wouldn't
start and showed classic signs of DNS problems.
Now named had complained - though the message went by too fast
for me to track, it was something about missing files - but loaded
and there were no weird messages in the log.  Also rndc didn't work.
I was totally confused ... until I did ps -ax | grep named
and found an unrequested -t /var/named at the end of the command
line.  So what's that about?
-t causes named to run chrooted, per entry 20040928.
That's not according to spec.  My spec, anyway.
Killed named, restarted with only approved command line,
restarted all affected programs ... and life was good again.

I have since tracked down the flag in /etc/defaults/rc.conf
that caused this and made appropriate adjustments.

Don't know if this is your problem but in case it helps.


Robert Huff




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


Re: How can I make a program keep running even after I logout?

2004-12-15 Thread Nikolas Britton
Rae Kim wrote:
Thank you all guys..
I've tried daemon, nohup and Nicolas' csh method
all works fine.
 

My way isn't a csh way it's just that I use csh as my default shell and 
was just stating the fact that with csh background jobs do not die when 
you exit, so the nohup is optional (but recommend) with csh.

The way I do it is a hybrid of my own method I thought up and Rubens method:
# nohup foobar  foobar.log
nohup is to ingore the SIGUP signal, foobar is your command you want to run,  is to redirect output from 
stdout (the console) to a file, foobar.log is the file you're redirecting output to,  is to background the job.

example: nohup cvsup -g -L 2 /root/ports-supfile  /root/ports-supfile.log
---
# tail -f foobar.log
tail displays the end of a file (are log file), the -f flag causes tail to not stop when 
end of file is reached, but rather to wait for additional data to be appended to the input, 
foobar.log this is are log file from are backgrounded job above.
example: tail -f /root/ports-supfile.log
So what tail -f essentially does is bring are background job back to the 
foreground by redirecting the output from the command back to stdout. This mean 
that if we're on a remote connection and the link die the program will stay 
running and we can just login again and start where we left off, or if we get 
back home/work/school/where we can still watch whats happening in realtime.
I just had an idea... Is there a way to redirect stdin to a file or redirect 
stdin to a file and have are job use this file for stdin? if this is was 
possible we could interact with are background job from any remote or local 
terminal, this could be a security risk though because anyone could interact 
with it?.
So anyways... The beauty of this is that we're using standard unix stuff so you 
can do this from any *nix box and from any shell.
---
###My (old) Way###
$ ssh localhost
Password: 
Last login: Mon Nov 22 06:13:59 2004 from localhost
Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994
  The Regents of the University of California.  All rights reserved.
FreeBSD 5.3-RELEASE-p1 (SPECTRA) #0: Sat Nov 20 23:30:17 CST 2004
Welcome to FreeBSD!
$ su
Password: 
spectra# cvsup -g -L 2 /root/ports-supfile  /root/ports-supfile.log
[1] 71669
spectra# exit
exit
$ exit
Connection to localhost closed.
$ tail /root/ports-supfile.log
Add delta 1.25 2004.11.21.22.03.48 marcus
Edit ports/x11-toolkits/py-gnome2/Makefile
Add delta 1.78 2004.11.20.17.18.17 kwm
Edit ports/x11-toolkits/py-gnome2/distinfo
Add delta 1.28 2004.11.20.17.18.17 kwm
Edit ports/x11-toolkits/py-gnome2/pkg-plist
Add delta 1.31 2004.11.20.17.18.17 kwm
Updating collection ports-x11-wm/cvs
Shutting down connection to server
Finished successfully
$ exit
###Rubens Way###
From work:
# nohup foobar  foobar.log 
Back home:
# tail -f foobar.log
Ruben

Thanks
# nohup foobar  foobar.log 
    ^^^
Why'd you do it like that, how is it diffrent from this way?:
# nohup foobar  foobar.log 
-
His example redirects both stdout and stderr to foobar.log, while yours
only redirect stdout. (Note that  is a csh-specific operator. The
equivalent for a Bourne-shell derivative would be:
nohup foobar  foobar.log 21 
I.e. redirecting stdout to foobar.log and then redirecting file
descriptor 2 (stderr) to wherever file descriptor 1 (stdout) goes to
(foobar.log in this case.)
When used with the nohup command I believe the redirection of stderr
is unnecessary since the manpage for nohup(1) says If standard error is a
terminal, it is directed to the same place as the standard output.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ALT key on console25?

2004-12-15 Thread Giorgos Keramidas
On 2004-12-15 23:55, John Conover [EMAIL PROTECTED] wrote:
Giorgos Keramidas writes:
 On 2004-12-15 21:47, John Conover [EMAIL PROTECTED] wrote:
  Is it possible to make the ALT key work on console25?

 It highly depends on what work means.  Can you elaborate a bit?

 Oh, ALT-k does the same thing as k. I think I picked the default
 keymap during install, (which might be the UNIX keymap,) and wanted to
 know how to change it to a PC-104 type of KBD.

That's ok.  You can remap ALT-k by writing your own custom keymap.
The keymap(5) manpage and the existing keymaps in the directory
`/usr/share/syscons/keymaps' can serve as help :-)

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


Re: handbook version

2004-12-15 Thread Steven Friedrich
On Wednesday 15 December 2004 07:21 pm, Kris Kennaway wrote:
 On Wed, Dec 15, 2004 at 06:50:27PM -0500, Steven Friedrich wrote:
  I noticed that the local version of the handbook is from Release 4.7 and
  the version on the web site is 4.10.
 
  I'm not trying to be critical, I'm just wondering if I'm supposed to be
  performing some action to get the latest, or if 4.11 release (which I
  believe will be the last 4.x) will contain the latest version.

 You can download a newer version from the FTP site, or install it
 using the installer from the relevant release.

 Kris

I can't figure this out.  I've set Options...release to any and to . to no 
avail. And I logged in via ftp and perused the directory structure and tried 
packages-4.10-release, still no joy. I'm guessing that you 
meant /stand/sysinstall and Docs, HTML docs...
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Sendmail: host name lookup failure

2004-12-15 Thread Paul A. Hoadley
Hi Robert,

On Wed, Dec 15, 2004 at 08:27:40PM -0500, Robert Huff wrote:

 I was totally confused ... until I did ps -ax | grep named and
 found an unrequested -t /var/named at the end of the command line.
 So what's that about?  -t causes named to run chrooted, per entry
 20040928.  That's not according to spec.  My spec, anyway.  Killed
 named, restarted with only approved command line, restarted all
 affected programs ... and life was good again.

Thanks for the suggestion.  The name server is running on a different
machine on the LAN, though.  It's not FreeBSD, and (AFAIK) no change
since the upgrade to the problem machine.


-- 
Paul.

w  http://logicsquad.net/
h  http://paul.hoadley.name/


pgpHk9HFJCvsM.pgp
Description: PGP signature


Re: handbook version

2004-12-15 Thread Kris Kennaway
On Wed, Dec 15, 2004 at 08:36:22PM -0500, Steven Friedrich wrote:
 On Wednesday 15 December 2004 07:21 pm, Kris Kennaway wrote:
  On Wed, Dec 15, 2004 at 06:50:27PM -0500, Steven Friedrich wrote:
   I noticed that the local version of the handbook is from Release 4.7 and
   the version on the web site is 4.10.
  
   I'm not trying to be critical, I'm just wondering if I'm supposed to be
   performing some action to get the latest, or if 4.11 release (which I
   believe will be the last 4.x) will contain the latest version.
 
  You can download a newer version from the FTP site, or install it
  using the installer from the relevant release.
 
  Kris
 
 I can't figure this out.  I've set Options...release to any and to . to 
 no 
 avail.

If you use e.g. the 4.10 installation media, you should not have to
change any options to get the 4.10 docs.

 And I logged in via ftp and perused the directory structure and
 tried packages-4.10-release, still no joy.

ftp://ftp.freebsd.org/pub/FreeBSD/doc

Kris

pgpVcI1ZxlCdl.pgp
Description: PGP signature


Re: handbook version

2004-12-15 Thread Steven Friedrich
On Wednesday 15 December 2004 08:49 pm, Kris Kennaway wrote:
 On Wed, Dec 15, 2004 at 08:36:22PM -0500, Steven Friedrich wrote:
  On Wednesday 15 December 2004 07:21 pm, Kris Kennaway wrote:
   On Wed, Dec 15, 2004 at 06:50:27PM -0500, Steven Friedrich wrote:
I noticed that the local version of the handbook is from Release 4.7
and the version on the web site is 4.10.
   
I'm not trying to be critical, I'm just wondering if I'm supposed to
be performing some action to get the latest, or if 4.11 release
(which I believe will be the last 4.x) will contain the latest
version.
  
   You can download a newer version from the FTP site, or install it
   using the installer from the relevant release.
  
   Kris
 
  I can't figure this out.  I've set Options...release to any and to .
  to no avail.

 If you use e.g. the 4.10 installation media, you should not have to
 change any options to get the 4.10 docs.

  And I logged in via ftp and perused the directory structure and
  tried packages-4.10-release, still no joy.

 ftp://ftp.freebsd.org/pub/FreeBSD/doc

 Kris

I don't have 4.10 media, I installed from 4.7 and have been tracking -stable 
since then.  I'm currently running 4.11-prerelease.  I followed the ftp link 
in your last mail, but I see 18 files and I don't know which I need.  I've 
never heard of a .pdb...
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: handbook version

2004-12-15 Thread Kris Kennaway
On Wed, Dec 15, 2004 at 09:08:12PM -0500, Steven Friedrich wrote:

You can download a newer version from the FTP site, or install it
using the installer from the relevant release.
   
Kris
  
   I can't figure this out.  I've set Options...release to any and to .
   to no avail.
 
  If you use e.g. the 4.10 installation media, you should not have to
  change any options to get the 4.10 docs.
 
   And I logged in via ftp and perused the directory structure and
   tried packages-4.10-release, still no joy.
 
  ftp://ftp.freebsd.org/pub/FreeBSD/doc
 
  Kris
 
 I don't have 4.10 media, I installed from 4.7 and have been tracking -stable 
 since then.

Right, so you'd need to *get* 4.10 install media (e.g. boot floppies).

 I'm currently running 4.11-prerelease.  I followed the ftp link 
 in your last mail, but I see 18 files and I don't know which I need.  I've 
 never heard of a .pdb...

Did you read the README file in that directory?

Kris


pgpH2LmmSjN25.pgp
Description: PGP signature


Re: handbook version

2004-12-15 Thread Steven Friedrich
On Wednesday 15 December 2004 09:18 pm, Kris Kennaway wrote:
 On Wed, Dec 15, 2004 at 09:08:12PM -0500, Steven Friedrich wrote:
 You can download a newer version from the FTP site, or install it
 using the installer from the relevant release.

 Kris
   
I can't figure this out.  I've set Options...release to any and to
. to no avail.
  
   If you use e.g. the 4.10 installation media, you should not have to
   change any options to get the 4.10 docs.
  
And I logged in via ftp and perused the directory structure and
tried packages-4.10-release, still no joy.
  
   ftp://ftp.freebsd.org/pub/FreeBSD/doc
  
   Kris
 
  I don't have 4.10 media, I installed from 4.7 and have been tracking
  -stable since then.

 Right, so you'd need to *get* 4.10 install media (e.g. boot floppies).

  I'm currently running 4.11-prerelease.  I followed the ftp link
  in your last mail, but I see 18 files and I don't know which I need. 
  I've never heard of a .pdb...

 Did you read the README file in that directory?

 Kris

I don't see a README, just 16 files beginning with book and 2 files with 
handbook.  I was using Konqueror, so I open a term and tried ftp. Still no 
README.  I did download the book.pdf and can read it.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: rl0: watchdog timeout

2004-12-15 Thread Mike Jeays

 I have no first hand experience with this particular problem, but it's
 almost common knowledge RealTek nics are great because they are cheap,
 not because they are of good quality. The phrase piece of crap has
 been uttered more than once in relation to these nics.
 

I have three of them, and have had no trouble at all so far, in a
low-activity home network.  I wouldn't buy them for servers at work,
though.

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


Re: handbook version

2004-12-15 Thread Kris Kennaway
On Wed, Dec 15, 2004 at 09:25:07PM -0500, Steven Friedrich wrote:
 On Wednesday 15 December 2004 09:18 pm, Kris Kennaway wrote:
  On Wed, Dec 15, 2004 at 09:08:12PM -0500, Steven Friedrich wrote:
  You can download a newer version from the FTP site, or install it
  using the installer from the relevant release.
 
  Kris

 I can't figure this out.  I've set Options...release to any and to
 . to no avail.
   
If you use e.g. the 4.10 installation media, you should not have to
change any options to get the 4.10 docs.
   
 And I logged in via ftp and perused the directory structure and
 tried packages-4.10-release, still no joy.
   
ftp://ftp.freebsd.org/pub/FreeBSD/doc
   
Kris
  
   I don't have 4.10 media, I installed from 4.7 and have been tracking
   -stable since then.
 
  Right, so you'd need to *get* 4.10 install media (e.g. boot floppies).
 
   I'm currently running 4.11-prerelease.  I followed the ftp link
   in your last mail, but I see 18 files and I don't know which I need. 
   I've never heard of a .pdb...
 
  Did you read the README file in that directory?
 
  Kris
 
 I don't see a README, just 16 files beginning with book and 2 files with 
 handbook.  I was using Konqueror, so I open a term and tried ftp. Still no 
 README.  I did download the book.pdf and can read it.

 fetch ftp://ftp.freebsd.org/pub/FreeBSD/doc/README
fetch: ftp://ftp.freebsd.org/pub/FreeBSD/doc/README: size of remote file is not 
known
README1624  B 8857 kBps

It's there.

Kris


pgpP9RGueER2L.pgp
Description: PGP signature


Why reccomend Bash shell?

2004-12-15 Thread Adam
In Greg Lehey's book The Complete FreeBSD he reccomends changing the default 
shell for users to bash shell. -p. 94

What are the Pro's/Con's of using bash as opposed to the other shells?

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


RE: Why reccomend Bash shell?

2004-12-15 Thread Subhro
MY personal opinion is, the shell one uses depends a lot on the personal
taste of the user. For example, although people had said lots of good (and
probably bad?) things about bash, I feel it's a bit too linuxish. My
personal preference is the zsh shell. 

Regards
S.

Indian Institute of Information Technology
Subhro Sankha Kar
Block AQ-13/1, Sector V
Salt Lake City
PIN 700091
India
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:owner-freebsd-
 [EMAIL PROTECTED] On Behalf Of Adam
 Sent: Thursday, December 16, 2004 8:41
 To: [EMAIL PROTECTED]
 Subject: Why reccomend Bash shell?
 
 In Greg Lehey's book The Complete FreeBSD he reccomends changing the
 default shell for users to bash shell. -p. 94
 
 What are the Pro's/Con's of using bash as opposed to the other shells?
 
 Thanks,
 Adam
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-
 [EMAIL PROTECTED]


smime.p7s
Description: S/MIME cryptographic signature


Re: Why reccomend Bash shell?

2004-12-15 Thread Bill Campbell
On Wed, Dec 15, 2004, Adam wrote:
In Greg Lehey's book The Complete FreeBSD he reccomends changing the default 
shell for users to bash shell. -p. 94

What are the Pro's/Con's of using bash as opposed to the other shells?

That's largely a religious issue.  I used csh for my first 6 years or
so of *nix use, switching to ksh around 1988.  Personally I like ksh
better than bash or csh/tcsh for interactive use, largely because I
prefer using its ``r'' options to repeat previous commands to the csh
and bash ``!''.

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Systems, Inc.
UUCP:   camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

``If the government can take a man's money without his consent, there is no
limit to the additional tyranny it may practise upon him; for, with his
money, it can hire soldiers to stand over him, keep him in subjection,
plunder him at discretion, and kill him if he resists.''
Lysander Spooner, 1852
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Why reccomend Bash shell?

2004-12-15 Thread Tim Aslat
In the immortal words of Adam [EMAIL PROTECTED]...
 In Greg Lehey's book The Complete FreeBSD he reccomends changing the
 default shell for users to bash shell. -p. 94

Because that is his shell of choice.  I prefer to use TCSH for the same
reason.  

 What are the Pro's/Con's of using bash as opposed to the other shells?

It depends entirely on what you are used to, both are good at what they
do, both are easily scriptable, both are well documented, and both are
widely used.

The only drawback I have found with tcsh is the fact that if you install
new software in your $PATH, then you need to type 'rehash' to let tcsh
see it.

However this being said, I should  point out that tcsh is part of the
base system on FreeBSD whereas bash is a port and must be installed
separately.

In short, play with both and make up your own mind.

Cheers

Tim


-- 
Tim Aslat [EMAIL PROTECTED]
Spyderweb Consulting
http://www.spyderweb.com.au
Phone: +61 0401088479
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Why reccomend Bash shell?

2004-12-15 Thread Kevin D. Kinsey, DaleCo, S.P.
Adam wrote:
In Greg Lehey's book The Complete FreeBSD he reccomends changing 
the default shell for users to bash shell. -p. 94

What are the Pro's/Con's of using bash as opposed to the other shells?
Thanks,
Adam
 

I like a .30-06 for deer, antelope, etc, .762[mm] for terrorists, and a
.340 Weatherby magnum for big game (cape buffalo, elephant, etc,
where legal). The Weatherby is also great for moose and elk with a
Nosler 210 gg. partition bullet and a good high-velocity powder. :-D
Now, seriously, are you trying to start a jihad?  And didn't Grog
explain himself --- curious, if not...
Bash is an improvement on sh; tcsh is an improvement on
csh, and there are others, generally spawned when someone
wanted to add a feature or steal one from someone else.
# man sh
# man csh
# man bash (if it's installed)
# man tcsh
#lynx http://www.google.com/
# echo Don't start holy wars! | mail -s Just a little advice 
[EMAIL PROTECTED]

My $0.02, ;-)
Kevin Kinsey
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Why reccomend Bash shell?

2004-12-15 Thread Nikolas Britton
Bill Campbell wrote:
On Wed, Dec 15, 2004, Adam wrote:
 

In Greg Lehey's book The Complete FreeBSD he reccomends changing the default 
shell for users to bash shell. -p. 94
What are the Pro's/Con's of using bash as opposed to the other shells?
   

That's largely a religious issue.  I used csh for my first 6 years or
so of *nix use, switching to ksh around 1988.  Personally I like ksh
better than bash or csh/tcsh for interactive use, largely because I
prefer using its ``r'' options to repeat previous commands to the csh
and bash ``!''.
 

BTW last time I checked (about three weeks ago the ksh93 port was 
broken, the old src tarballs have been removed from the servers listed 
in the Makefile because they released newer version. Christian 
Weisgerber (naddy at mips.inka.de) is listed as the maintainer.

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Systems, Inc.
UUCP:   camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/
``If the government can take a man's money without his consent, there is no
limit to the additional tyranny it may practise upon him; for, with his
money, it can hire soldiers to stand over him, keep him in subjection,
plunder him at discretion, and kill him if he resists.''
Lysander Spooner, 1852
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
 

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


Re: Why reccomend Bash shell?

2004-12-15 Thread Bill Campbell
On Wed, Dec 15, 2004, Nikolas Britton wrote:
Bill Campbell wrote:

On Wed, Dec 15, 2004, Adam wrote:
 

In Greg Lehey's book The Complete FreeBSD he reccomends changing the 
default shell for users to bash shell. -p. 94

What are the Pro's/Con's of using bash as opposed to the other shells?
   


That's largely a religious issue.  I used csh for my first 6 years or
so of *nix use, switching to ksh around 1988.  Personally I like ksh
better than bash or csh/tcsh for interactive use, largely because I
prefer using its ``r'' options to repeat previous commands to the csh
and bash ``!''.
 

BTW last time I checked (about three weeks ago the ksh93 port was 
broken, the old src tarballs have been removed from the servers listed 
in the Makefile because they released newer version. Christian 
Weisgerber (naddy at mips.inka.de) is listed as the maintainer.

Most of the extra stuff I'm running on FreeBSD is built under the
OpenPKG.org packaging system rather than from ports so I haven't seen those
problems.  I'm running pkdsh-5.2.14 rather than the official ksh, largely
out of habit.  The current OpenPKG version of ksh is ksh-20040229.

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

When only cops have guns, it's called a ``police state''.
-- Claire Wolfe, 101 Things To Do Until The Revolution
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


perl 5.8.5 portupgrade now openwebmail complains

2004-12-15 Thread Noah
Perl-5.8.5 SUIDPERL set
openwebmail-2.41
FreeBSD-4.9


any clues why its complaining about this?  and how to fix it?


 snip 

# /usr/local/www/cgi-bin/openwebmail/openwebmail.pl --init
/usr/libexec/ld-elf.so.1: /usr/local/bin/speedy_backend: Undefined symbol Perl_
malloc
speedy[24754]: Cannot spawn backend process

--- snip ---


cheers,

Noah

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


why must boot in single mode.

2004-12-15 Thread Supote Leelasupphakorn
Hi all
  I'm using FreeBSD 4.[89] for a few years. So far I upgraded my release to 
security branch
by following the instructions in /usr/src/Makefile and after finished, my 
box is running fine.
Only one thing that I ignored - rebooting in single mode but because I am 
not at the box's
console.

  Could anyone clarify me why we have to (according to comment in 
/usr/src/Makefile)
reboot in single mode ? Is it necessary ?

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


Re: why must boot in single mode.

2004-12-15 Thread Kris Kennaway
On Thu, Dec 16, 2004 at 11:36:11AM +0700, Supote Leelasupphakorn wrote:

   Could anyone clarify me why we have to (according to comment in 
 /usr/src/Makefile)
 reboot in single mode ? Is it necessary ?

It's safest; if you try and do without it then applications running on
the machine may crash during the installworld.  If you're relying on
such an application (e.g. sshd to log in remotely), then you'd be
locked out, and the machine may be left in an incomplete and unusable
state.

Kris


pgpDo6imWc9Di.pgp
Description: PGP signature


Re: why must boot in single mode.

2004-12-15 Thread Chuck Swiger
Supote Leelasupphakorn wrote:
[ ... ]
Could anyone clarify me why we have to (according to comment in 
/usr/src/Makefile) reboot in single mode ? Is it necessary ?
It's a good idea, more than a necessity.  If you feel that you have reason to 
believe that the kernel you just compiled actually does work, feel free to 
skip a step and do the installworld at the same time.

However, if you guess was wrong and there is a problem with the new kernel, 
you are stuck with a big problem.  Your new world won't match the old kernel 
image you still have as backup, which tends to make lots of programs like ps, 
ifconfig, firewall software, and the like unhappy and not work right.

So if you do have a problem, don't expect to be able to fix it remotely.
--
-Chuck
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Free subscription to siliconindia Magazine

2004-12-15 Thread Magendran
Hello,

Congratulations!!! 
You have won a FREE one-year subscription to siliconindia Magazine that
focuses on the business of technology. Read in-depth features on how
technology is being applied to solve business problems and open new
opportunities for business itself.
 
INAUGURAL ISSUE – January 2005 

The boom. The bust. Now what? We talked to scores of players to learn what
lies ahead. Here's a look at emerging technologies that just might have
what it takes to succeed in the next few years. Our inaugural issue
focuses on hot sectors to bet on in 2005. Industry experts will contribute
to this special issue.


A must read for IT professionals, entrepreneurs, investors, and managers
of today and tomorrow. Do not miss out!
  

All you need to do is click on the link below to fill up the form. 
http://in.siliconindia.com/Subscription/subscribe.asp 


Best Wishes 
siliconindia Team

---
You are currently subscribed to siliconindia-indiaedition-blast as: [EMAIL 
PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ALT key on console25?

2004-12-15 Thread Lars Eighner
On Wed, 15 Dec 2004, John Conover wrote:
Is it possible to make the ALT key work on console25?
The console keyboard is easily mappable.  Assuming you have a
normal PC (and not some Sparc or Alpha thing about which I know
nothing), your ALT key should work right out of the box.  The
problem, if you have a problem, is that it may not do quiet what
you want.
Now there are two different things that people may mean when
they say they want ALT characters.  Some people (and
applications) want ALT-keyboard character to mean an
eight-bit character, which is simply the 7-bit character
with the 8th bit set.  Other people (and applications) want
ALT-keyboard character to send a string composed of the
escape character followed by the 7-bit character.  You
can get either behavior (or if you have a spare key, like
the Windoz key) you can get both.
Another possible problem is with ALT-function key, which
for the numbered F keys are usually used to switch consoles,
but which can easily be adjust to do the norm ANSI keyboard
thing that you expect with a PC.
First, to get ALT-character to send the eight-bit character,
use the emacs keyboard.
To get the ESC-character behavior you must remap the ALT
keys to meta (or use a spare key like Windoz as the meta
key.
To get the ALT-Fn keys to send the ANSI keys ( ESC-[-w
through ESC-[-{ ) you just have to switch some key definitions
around.
I will now demonstrate how each of these things works:
The keyboard maps reside in /usr/share/syscons/keymaps. 
The keymap you want to use is set in /etc/rc.conf with
a line like this:

keymap=us.emacs
To be effective, this line must be the last of similar lines
in rc.conf.  (Essentially, the defaults are in /etc/default -
don't mess with them - and sysinstall and you use /etc/rc.conf
to make changes, and the last changes in this file win.)
Changes made in rc.conf will not be effective until or unless
you reboot.  You can use kbdcontrol to change keymaps in your
current session.
Simply changing to the emacs keyboard will get the behavoir of
sending 8-bit characters for ALT-keyboard character
Here is a part of the us-iso keyboard you probably installed:
# alt
# scan   cntrl  altalt   cntrl lock
# code  base   shift  cntrl  shift  altshift  cntrl  shift state
# --
  000   nopnopnopnopnopnopnopnop O
  001   escescescescescescdebug  esc O
  002   '1''!'nopnop'1''!'nopnop O
  003   '2''@'nulnul'2''@'nulnul O
See, ALT-1 simply sends 1, and ALT-! simply sends !, and that is
not what you want.
Here is the same part of the us-emacs keyboard:
# alt
# scan   cntrl  altalt   cntrl lock
# code  base   shift  cntrl  shift  altshift  cntrl  shift state
# --
  000   nopnopnopnopnopnopnopnop O
  001   escescescescescescescesc O
  002   '1''!'nopnop177161nopnop O
  003   '2''@'nulnul178192128128 O
Now see, 1 sends 1 which is character code 49, but ALT-1 sends
177, which is 49 + 128 - or in other words 1 with the 8th bit
set.  So if that is what you want (and it is probably what you
expect on a PC), just switch to the emacs keyboard).
But if you want ALT-keyboard character to send ESC-keyboard
character, what you want is called a meta key.  One of the best
ways to get a meta key is to map the Windoz keys to meta.
  105   meta   fkey62 fkey62 fkey62 fkey62 fkey62 fkey62 fkey62  O
  106   meta   fkey63 fkey63 fkey63 fkey63 fkey63 fkey63 fkey63  O
  107   escfkey64 fkey64 fkey64 fkey64 fkey64 fkey64 fkey64  O
This maps the Windoz keys to meta (and makes the Menu key an
extra esc key in case you are too lazy to reach all the way up
there to hit the usual esc key.
If you don't have Windoz keys get a new keyboard - they are
cheap - or remap one or the other of the ALT keys.
  056   lalt   lalt   lalt   lalt   lalt   lalt   lalt   laltO
  093   ralt   ralt   ralt   ralt   ralt   ralt   ralt   raltO
You can change whichever of the lalt or ralt keys to meta. 
Oh, yeah, make these change with a flat ascii edit, not a word
processor, and probably you should save the distribution
keyboard somewhere (like us.emacs.kbd.dist) before you edit).
You probably do not want to make all the alt keys into meta.

So that gets you 1) ALT-keyboard character sends 8-bit
character, and 2) META-keyboard character sends
ESC-keyboard character.
Finally we come to the function keys known as F1, F2, ... F12.
Again I am assuming an ordinary PC with a more or less PC
compatible keyboard attached.
Here's the pertenant part of the 

updating pkgdb results invalid argument

2004-12-15 Thread Noah
FreeBSD-4.9

any clues why this is happening?  the update of the package DB ends off with
invalid argument.

--- snip 

# pkgdb -Fu
---  Updating the pkgdb
Invalid argument


 snip ---


cheers,

Noah

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


RE: Gnome without the stuff?

2004-12-15 Thread Mark Rowlands
 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Kevin D. Kinsey, DaleCo, S.P.
 Sent: Thursday, December 16, 2004 12:29 AM
 To: Robert William Vesterman
 Cc: [EMAIL PROTECTED]
 Subject: Re: Gnome without the stuff?
 
 Robert William Vesterman wrote:
 
  I installed the Gnome2 port, and it installed a whole lot of stuff 
  that I wasn't expecting, including stuff that I don't know 
 what it is, 
  and also stuff that I never intend to use.
 
  Is there a way to install just a basic Gnome, without all 
 the stuff?
  That is, the default applications of various types? If I want 
  Evolution, or Epiphany, or games, or blah blah blah, I 
 would like to 
  just install that specific thing myself when I decide that 
 I want it.  
  But if I want to use Firefox, I'm not interested in having 
 Epiphany installed.
 

/usr/ports/www/firefox
/usr/ports/www/epiphany
/usr/ports/mail/evolution
/usr/ports/games/gnome-music-quiz
/usr/ports/games/gnomeattacks
/usr/ports/games/gnomebreakout
/usr/ports/games/gnomechess
/usr/ports/games/gnomegames2
/usr/ports/games/gnomegames2-extra-data
/usr/ports/games/gnomekiss
/usr/ports/games/gnomememoryblocks
/usr/ports/games/gnomermin

Sure they have dependencies, you might need X

Personally I want the moon on a stick.


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


Re: Status of java support in FreeBSD 5.x release?

2004-12-15 Thread Kris Kennaway
On Wed, Dec 15, 2004 at 11:15:52PM -0800, rain cip wrote:

 one question though.  I followed the suggestion
 in the pkg message that says:
 
 # kldload linprocfs
 
 and
 
 # mount -t linprocfs linprocfs /compat/linux/proc
 
 Is this just a one time procedure for compiling 
 the jdk or do I have to do something permanent
 in the kernel configuration?

Compiling.

Kris


pgpSvamBpfFkK.pgp
Description: PGP signature


Re: Status of java support in FreeBSD 5.x release?

2004-12-15 Thread rain cip
Thanks for the tip!  And, yes, the bad first line in
the Currency?.java file is still there!  Has anyone
submitted a bug report to the port maintainer?  I
cvsup my port tree just 5 hours ago before starting
compiling /usr/ports/jdk14.  Can't believe the
problem still hasn't been fixed. :-(

one question though.  I followed the suggestion
in the pkg message that says:

# kldload linprocfs

and

# mount -t linprocfs linprocfs /compat/linux/proc

Is this just a one time procedure for compiling 
the jdk or do I have to do something permanent
in the kernel configuration?

rain


--- Nikolas Britton [EMAIL PROTECTED] wrote:

 rain cip wrote:
 
 Hello,
 
 Does anyone know the status of java support in
 FreeBSD
 5.x release?  Their website says there is a binary
 compatibility issue in 5.x but doesn't give further
 detail on what the issue is.  Has anyone had any 
 success using linux port of java in the 5.3
 release?
 
 Thanks.
 
 rain
 
 
   
 
 The native jdk14 works fine for FreeBSD 5.3, read my
 notes before you 
 start, remember to mount linprocfs before you start:
 

http://lists.freebsd.org/pipermail/freebsd-newbies/2004-October/002551.html
 
 Use this to test java: 

http://weather.noaa.gov/radar/mosaic.loop/DS.p19r0/ar.us.conus.shtml,
 
 the link in my notes has a typo.
 




__ 
Do you Yahoo!? 
Yahoo! Mail - Helps protect you from nasty viruses. 
http://promotions.yahoo.com/new_mail
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


make package don't build package

2004-12-15 Thread Alexandr
I run FreeBSD 5.3
I free my ports tree and make this:

cd /usr/ports/www/audio/mpg123/
make package

and get:
===  Installing for mpg123-esound-0.59r_15
===   mpg123-esound-0.59r_15 depends on shared library: esd.2 - found
===   Generating temporary packing list
===  Checking if audio/mpg123 already installed
===   mpg123-esound-0.59r_15 is already installed
  You may wish to ``make deinstall'' and install this port again
  by ``make reinstall'' to upgrade it properly.
  If you really wish to overwrite the old port of audio/mpg123
  without deleting it first, set the variable FORCE_PKG_REGISTER
  in your environment or the make install command line.
*** Error code 1

Stop in /usr/ports/audio/mpg123.

I don't understand, in bsd.port.mk wrote 
# package   - Create a package from an _installed_ port.
but I  installed this package and wont build package
Why 'make package' make install ???


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


Re: make package don't build package

2004-12-15 Thread epilogue
On Wed, 15 Dec 2004 10:59:30 +
Alexandr [EMAIL PROTECTED] wrote:

 I run FreeBSD 5.3
 I free my ports tree and make this:
 
 cd /usr/ports/www/audio/mpg123/
 make package
 
 and get:
 ===  Installing for mpg123-esound-0.59r_15
 ===   mpg123-esound-0.59r_15 depends on shared library: esd.2 - found
 ===   Generating temporary packing list
 ===  Checking if audio/mpg123 already installed
 ===   mpg123-esound-0.59r_15 is already installed
   You may wish to ``make deinstall'' and install this port again
   by ``make reinstall'' to upgrade it properly.
   If you really wish to overwrite the old port of audio/mpg123
   without deleting it first, set the variable FORCE_PKG_REGISTER
   in your environment or the make install command line.
 *** Error code 1

hello alexandr,

well, the message above is a _pretty_big_hint_.  couple that with the
description of the 'package' target as found in 'man ports'...

Make a binary package for the port.  The port will be installed if it
has not already been.  [snip]

...and you should have a pretty good idea about why 'make package' is
not proceeding.

 Stop in /usr/ports/audio/mpg123.
 
 I don't understand, in bsd.port.mk wrote 
 # package - Create a package from an _installed_ port.
 but I  installed this package and wont build package
 Why 'make package' make install ???

while the various *.mk are certainly worth a read, i expect that you
will find the ports related man pages to provide clearer and more
thorough descriptions.

in the case of what you're trying to do, check out the pkg_create
manpage (-b in particular).

hope this helps.


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


Re: Changing hw.snd.pcm0.buffersize in 4.10.

2004-12-15 Thread Nikolas Britton
Christian Hiris wrote:
AFAIK the define is named DSP_BUFFSIZE (in src/sys/dev/sound/pcm/sound.h. 
DSP_BUFFSIZE can be used to define the default buffersize for sound drivers, 
but most of the sound drivers use their own defines.

If you want to change the default buffersize for a sound driver you need to 
search for a define like xxx_BUFFSIZE, where xxx is the name of the sound 
driver (maybe some developers use other naming-conventions).

ie., if you want to change the default buffersize of the ESS driver you need 
to change the line #define ESS_BUFFSIZE (4096) in 
src/sys/dev/sound/isa/ess.c.

If you use the sbc driver, you need to do this changes in sb8.c or sb16.c, 
depending on the soundcard you are using. sbc.c is only the code for the 
corresponding bridge driver.

However, I'm not a guru, so I can't guess, if a driver works better with any 
other buffer size defined, than the original one. 

 

Yes, This Worked!
stumbleine# pwd
/usr/src/sys/dev/sound/isa
stumbleine# diff ess.c ess.bak
41c41
 #define ESS_BUFFSIZE (8192)
---
 #define ESS_BUFFSIZE (4096)
stumbleine# diff sb16.c sb16.bak
41c41
 #define SB16_BUFFSIZE8192
---
 #define SB16_BUFFSIZE4096
Kernel Config file:
optionsPNPBIOS
devicepcm# Generic Sound Support
device sbc0 at isa? port 0x220 irq 10 drq 1
stumbleine# dmesg | grep ESS
sbc0: ESS 1688 at port 0x220-0x22f irq 10 drq 1 on isa0
pcm0: ESS 18xx DSP on sbc0
stumbleine# sysctl hw.snd
hw.snd.targetirqrate: 32
hw.snd.report_soft_formats: 1
hw.snd.verbose: 1
hw.snd.maxautovchans: 0
hw.snd.pcm0.buffersize: 8192
hw.snd.pcm0.vchans: 0
stumbleine# uname -a
FreeBSD stumbleine.intranet 4.10-STABLE FreeBSD 4.10-STABLE #3: Tue Dec 
14 23:40:48 CST 2004 
[EMAIL PROTECTED]:/usr/src/sys/compile/STUMBLEINE  i386

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


Re: make package don't build package

2004-12-15 Thread Alexandr
Hello epilogue.

  cd /usr/ports/www/audio/mpg123/
  make package
with this command I make test.
I wont make package-recursive and this command take me some result for others 
ports
  
  and get:
  ===  Installing for mpg123-esound-0.59r_15
  ===   mpg123-esound-0.59r_15 depends on shared library: esd.2 - found
  ===   Generating temporary packing list
  ===  Checking if audio/mpg123 already installed
  ===   mpg123-esound-0.59r_15 is already installed
You may wish to ``make deinstall'' and install this port again
by ``make reinstall'' to upgrade it properly.
If you really wish to overwrite the old port of audio/mpg123
without deleting it first, set the variable FORCE_PKG_REGISTER
in your environment or the make install command line.
  *** Error code 1
 
 hello alexandr,
 
 well, the message above is a _pretty_big_hint_.  couple that with the
 description of the 'package' target as found in 'man ports'...
I readed it.
 
   Make a binary package for the port.  The port will be installed if it
   has not already been.  [snip]
 
 ...and you should have a pretty good idea about why 'make package' is
 not proceeding.
I installed this package a long time ago.
 
  Stop in /usr/ports/audio/mpg123.
  
  I don't understand, in bsd.port.mk wrote 
  # package   - Create a package from an _installed_ port.
  but I  installed this package and wont build package
  Why 'make package' make install ???
 
 while the various *.mk are certainly worth a read, i expect that you
 will find the ports related man pages to provide clearer and more
 thorough descriptions.
 
 in the case of what you're trying to do, check out the pkg_create
 manpage (-b in particular).
pkg_create -- i can't use becose I need create package recursively, 
but I don't find in man page for this tool options for recursively.

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


Re: web-based password checking tool?

2004-12-15 Thread Frank Richter
Fernando Gleiser wrote:
I need a web based tool to let the users change their passwords, since
they don't have shell access, a web-based solution seems like the
only way to let them do it without bothering the admins.
 

I'm using cgipaf!
Advantage:   cracklib/dictionary and exclude words as passwords
--
---
Frank Richter
Max-Planck-Institut für Astronomie
Königstuhl 17
D-69117 Heidelberg
mailto:[EMAIL PROTECTED]
phone: +49 6221 528267
---
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ssmtp fails to open smtp server

2004-12-15 Thread Daniel Bye
On Tue, Dec 14, 2004 at 08:53:53PM -0800, Gary Schenk wrote:
 Yep, these typos are killing me. That got ssmtp working, and I'm sending 
 mail out quite nicely with mutt now. However, into each life a little 
 rain must fall. Fetchmail is no longer working. After googling the error 
  message I found that fetchmail uses sendmail to deliver mail to my 
 mail spool, and I disabled sendmail after installing ssmtp. Hoepfully I 
 can find a way to get fetchmail to deliver directly to my spool. Back to 
 the man pages.

If you don't mind the added complexity, you can always tell fetchmail to
use procmail as your local delivery agent.  This gives you the
opportunity then to filter and sort mail as it comes in.

poll your.mail.host
   user '[EMAIL PROTECTED]' there with password '' is 'you' here 
   and wants mda /usr/local/bin/procmail

Just a thought.

Dan

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: 3B9D 8BBB EB03 BA83 5DB4 3B88 86FC F03A 90A1 BE8F
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpcg5nzzi5MR.pgp
Description: PGP signature


Re: Sharing resources on LAN without NFS

2004-12-15 Thread Phil Schulz
Ben Washington-Yule wrote:
The handbook section on NFS was great but having only 3 computers I 
don't feel the need to set up a client/server system. Nevertheless I 
would like to be able to share one printer and one cd-writer between 
these 3 machines. I'll be grateful even for just a shove towards the 
correct handbook chapter where this is explained.

Ben,
maybe I'm overlooking sth obvious, but I think you'll always need a 
client/server setup in this case. The server needs to serve the 
resource, i.e. the printer or the CD-writer, to its clients, the other 
PCs on your network.
If you are only running Unix-like operating systems on your PCs, I think 
NFS is the simplest solution, provided that the network isn't directly 
reacheable from the internet. If you need to share resources with 
windows, you'll need to run samba.
It is all described in chapter 23 of the handbook.

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


LAN Browsing not working in KDE 3.3

2004-12-15 Thread Mark Ovens
LAN Browsing in Konqueror (Services tab in Navigation panel) was working 
fine in the previous version I was running (3.2.x IIRC) using the lisa 
daemon. In 3.3.0 however, when I select LAN Browsing I get an error 
Protocol not supported: lan.

ISTR reading somewhere that lisa had been replaced by something else for 
providing this functionality but I can't find it now. lisa definitely 
isn't installed on my system.

I can't find any info on docs.kde.org on how to set up LAN Browsing but 
the lisa documentation is still listed under kdenetwork in 3.3.

Samba is running and I can browse my FreeBSD box in Network 
Neighbourhood on Windows boxes.

Can someone point me in the right direction please?
TIA
Regards,
Mark
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


checking out from cvs without cvs info?

2004-12-15 Thread Choy Kho Yee
Hi, for a certain reason I need to check out sources for one of my
(Bprograms from the local CVS repository, without the "CVS" folder in
(Bevery directory but just my source files. How can I do that?
(B
(BThanks.
(B
(B---
(BChoy Kho Yee
(B___
([EMAIL PROTECTED] mailing list
(Bhttp://lists.freebsd.org/mailman/listinfo/freebsd-questions
(BTo unsubscribe, send any mail to "[EMAIL PROTECTED]"

5.0

2004-12-15 Thread Rodrigo
Good Afternoon,

My name is Rodrigo, I live in Brazil(my english is very bad, sorry) and I would 
like to know where can I find the versions 5.0 (i386) and 5.1(i386) to download?

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


for Centrino (Pentium-M) - ways to decrease CPU power?

2004-12-15 Thread Miles Keaton
Can FreeBSD tell a Centrino (Pentium-M) CPU to decrease its CPU power?

I have a laptop (Gateway 450ROG) whose CPU seems to run hotter in
FreeBSD doing *nothing* than it does in Windows doing almost anything.
  So much so that the loud emergency fan kicks on often to cool the
CPU, even when the computer is doing nothing at all.

I'm using the newest FreeBSD 5.3 release, but had this same problem with 4.10.

Any advice?  Anything I can put in the kernel or boot-scripts to tell
this Centrino to take it easy?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: trying to locate Teddy Field's son

2004-12-15 Thread Toomas Aas
Subhro wrote:
-Original Message-
From: [EMAIL PROTECTED] [mailto:owner-freebsd-
[EMAIL PROTECTED] On Behalf Of sasha.roxie

I'm trying to locate Teddy's son, so googled your name.  If you're the
Eh???!!
Maybe Teddy Field's son is called Questions Field. Or even Freebsd Q. Field.
Sorry, couldn't resist...
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cpu temperature

2004-12-15 Thread Dominique Goncalves
On Tue, 14 Dec 2004 20:33:02 +0100, Lukasz Bigo [EMAIL PROTECTED] wrote:
 On Tue, 14 Dec 2004 22:19:24 +0800
 Spades [EMAIL PROTECTED] wrote:
 

 You could try /usr/ports/sysutils/healthd. I can also send You a small
 PHP script which grabs some ACPI values using sysctl to draw a
 thermomether (Apache+PHP+GD required), so You could check the CPU
 temperature with Your browser. :)

I'm interrested by your script :-)

Cheers
--
dom
-- 
There's this old saying: Give a man a fish, feed him for a day. Teach
a man to fish, feed him for life.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cpu temperature

2004-12-15 Thread O. Hartmann
Dominique Goncalves schrieb:
On Tue, 14 Dec 2004 20:33:02 +0100, Lukasz Bigo [EMAIL PROTECTED] wrote:
 

On Tue, 14 Dec 2004 22:19:24 +0800
Spades [EMAIL PROTECTED] wrote:
   

 

You could try /usr/ports/sysutils/healthd. I can also send You a small
PHP script which grabs some ACPI values using sysctl to draw a
thermomether (Apache+PHP+GD required), so You could check the CPU
temperature with Your browser. :)
   

I'm interrested by your script :-)
Cheers
--
dom
 

Hello.
I have an ASUS CUR-DLS mainboard, BIOS 1012_007 beta and FreeBSD 
5.3-STABLE, SMP disabled, ACPI enabled.
I think your script utilize hw.acpi.thermalxxx (thermal zone). But I 
can't find this on my computer 'grep' ing throught sysctl-output. Can 
anyone help?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 5.3: panic page fault with nge driver

2004-12-15 Thread sp0ng3b0b
I've been told that this might be fixed in CURRENT. That's nice, but I 
am trying to run a production quality server and CURRENT is not 
recommended for that purpose. Any recommendations?

By the way, is Questions the wrong list for my problem?
sp0ng3b0b wrote:
I am getting a page fault with a new install of FreeBSD 5.3 Release. 
Something changed with the nge driver in FreeBSD 5.3. I did not have 
this problem with 5.2.1. I just performed a clean install on a box that 
had been running 5.2.1 RELEASE for a few months.

The box is an Instrusion Detection System. I have fiber taps in place on 
the network and use the rx ports of the nic to monitor the traffic.

In 5.2.1, i would do this to bond ports and monitor them:
# ifconfig nge0 media 1000baseSX mediaopt full-duplex promisc -arp up
# ifconfig nge1 media 1000baseSX mediaopt full-duplex promisc -arp up
# ngctl mkpeer fec dummy fec
# ngctl msg fec0: add_iface 'nge0'
# ngctl msg fec0: add_iface 'nge1'
# ngctl msg fec0: set_mode_inet
# ifconfig fec0 promisc -arp up
However, when i set the media options for nge0, the machine panics and 
dies. The panic message is hand typed below.

FreeBSD 5.3 RELEASE.
Intel Pentium 4 3.06GHz CPU
1GB RAM
80GB Maxtor HD
(1x) Intel 82801DB (ICH4) Pro/100 Ethernet
(6x) NetGear GA621 fiber 1GB NIC
Fatal trap 12: page fault while in kernel mode
fault virtual address= 0x8
fault code= supervisor read, page not present
instruction pointer= 0x8:0xc055a002
stack pointer= 0x10:0xe32a2c9c
frame pointer= 0x10:0xe32a2cac
code segment= base 0x0, limit 0xf, type 0x1b
= DPL 0, pres 1, def 2 1, gran 1
processor eflags= interrupt enabled, resuep, IOPL = 0
current process= 27 (irq17: nge0)
trap number= 12
panic: page fault
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]

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


  1   2   >