Re: newbie

2004-01-26 Thread Andrew L. Gould
On Monday 26 January 2004 11:53 pm, Tommy wrote:
> this is very new to me-- I am now a Mac OS X user and extremely happy
> with it. I am also tinkering with Linux Red Hat for now.  I really
> would like to know more about FreeBSD. Hardware compatibility and such!

Here's a link to the hardware compatibility notes for 4.9, the stable branch:

http://www.freebsd.org/releases/4.9R/hardware.html

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


Re: Total amount of memory in my system?

2004-01-26 Thread James Long
less /var/run/dmesg.boot

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


Re: open office install fails after two days of installing

2004-01-26 Thread T Kellers
Open Office should be in /usr/local  e. g.
 /usr/local/OpenOffice.org1.0/
Try
cd /usr/local/OpenOffice.org1.0/
and 
./setup

(You have to have X running)

Tim

On Monday 26 January 2004 01:28 pm, Yuri GV wrote:
> On Mon, 26 Jan 2004 06:29:44 -0800, chip <[EMAIL PROTECTED]> wrote:
> > Chris Pressey wrote:
> >> On Sun, 25 Jan 2004 22:32:27 -0800
> >>
> >> chip <[EMAIL PROTECTED]> wrote:
> >>> Okay, I downloaded and installed the .tbz file, moved it to /usr/local
> >>> and ran pkg_add. It finished, and the instructions on the screen say
> >>> to just run openoffice on the command line and answer a few questions.
> >>> When I run the command I get command not found, as user and as root.
> >>> What did I do wrong?
> >>
> >> You may have to type 'rehash' first.
> >>
> >> -Chris
> >
> > I have done that and still no good.
> > --
> > Chip
>
> Try 'locate openoffice' on the command line to ensure that it's installed
> somewhere.
> Find openoffice binary. Probably it resides in one of /bin subdirs.
>
> Hope it was useful,
> breath
>
> ___
> [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]"


newbie

2004-01-26 Thread Tommy
this is very new to me-- I am now a Mac OS X user and extremely happy 
with it. I am also tinkering with Linux Red Hat for now.  I really 
would like to know more about FreeBSD. Hardware compatibility and such!

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


Re: Is there any way to decrease size of the partition?

2004-01-26 Thread Mark Terribile

[Vasenin Alexander writes]
> I need to downgrade one of my FreeBSD systems. Now it hosted by comp with
> 40Gb HDD. 'New' computer cannot handle such big HDD, maximum - 32Gb. So,
> I'll plan to set 32_Gb_clip jumper on this drive. The question is - is
> there any way do decrease size of /usr partition from 36Gb to 28Gb(It
> almost free now).

Is there room on another partition for the contents of /usr, even
temporarily?  If so, then you can copy the contents and reboot, then
completely decomission the partition with fdisk and edit the partition
tables.  What will happen when you try to bring the disk up with the
jumper set, I don't know; it might drop the innermost N cylinders or
it might ignore a head or two.  So be sure to have a Plan B for whatever
fast solution you use.

Mark Terribile


__
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: macromedia plugin question

2004-01-26 Thread Jud
On Mon, 26 Jan 2004 14:22:38 -0800, Gary Kline <[EMAIL PROTECTED]> wrote:

On Mon, Jan 26, 2004 at 03:19:34PM -0500, Guillaume Paquet wrote:
Gary Kline wrote:
>
>Just wondering...  Is anybody working on a reverse-engineered
>(100% clean) version of all this macromedia stuff?  ...
www/linuxpluginwrapper works with linux flash 6 and acrobat reader 5.

	I'm thinking of ports that work with native BSD suites.
Does linuxpluginwrapper work with FBSD 5.x?

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


IPFilter Configuration on 2 different box.

2004-01-26 Thread ssh port
Greetings!
 
Good Morning.
 
I would like to ask about on networking using ipfilter on two different box both 
FreeBSD 5.1 operating system. I have 3 Static IP's that i would like to use. here is 
may network diagram:
 
[ internet ] -> [ modem ] -> [ Firewall ] -> [ HUB ] -> [ Webserver ]
 
Note: On Firewall, NIC1 - the IP is 202.138.189.58 (Gateway = 202.138.189.57), NIC2 - 
192.168.30.253
 On Webserver, NIC1 = 202.138.189.59
 
How that webserver can access to the internet or how that webserver accessible to the 
internet if the Webserver's Gateway is the Firewall? because my old configuration 
using ipnat, I used "bimap" but on that configuration, the webserver can't access by 
the local networks, but it is accesssible outside.
 
Thank you and More Power.
 
 
Jun
FreeBSD - The Power to Serve


-
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: open office install fails after two days of installing

2004-01-26 Thread chip
Nathan Kinkade wrote:

You may have to type 'rehash' first.

-Chris
I have done that and still no good.
--
Chip


Try taking a look at what/where the package installed files using
pkg_add.  On my machine there is no binary or symlink called
'openoffice' either.  However, I can do this to find it:
$ pkg_info -L "openoffice*" | grep 'bin/openoffice'

... and found that it's actually at /usr/local/bin/openoffice_1.1

Nathan
Thanks, you're right, it's there. Now I have a problem with the elf 
interpreter - not found -

Elf interpreter /libexec/ld-elf.so.1 not found
Abort trap
I installed the package libelf-0.8.5 but I still get the same error.
Any ideas?
--
Chip
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: macromedia plugin question

2004-01-26 Thread Guillaume Paquet
Jud wrote:
On Mon, 26 Jan 2004 14:22:38 -0800, Gary Kline <[EMAIL PROTECTED]> wrote:

On Mon, Jan 26, 2004 at 03:19:34PM -0500, Guillaume Paquet wrote:

Gary Kline wrote:
>   
>Just wondering...  Is anybody working on a reverse-engineered
>(100% clean) version of all this macromedia stuff?  ...

www/linuxpluginwrapper works with linux flash 6 and acrobat reader 5.

I'm thinking of ports that work with native BSD suites.

ok.

Does linuxpluginwrapper work with FBSD 5.x?

Yes, I'm using FreeBSD 5.2-RELEASE.

Jud

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


Re: build gtk20 from src

2004-01-26 Thread Joe Marcus Clarke
On Mon, 2004-01-26 at 10:04, Brian H wrote:
> I am trying to build gtk20, but I run into the following error. It appears
> that all I need to do is add the directory containing `atk.pc'
> to the PKG_CONFIG_PATH. I don't know exactly what that means or how
> to do that? Any thougts?

Install /usr/ports/accessibility/atk (note: older ports trees have this
as /usr/ports/devel/atk).

Joe

> 
> 
> Thanks,
> Brian
> 
> ...snip
> checking for glib-2.0 >= 2.1.4 atk >= 1.0.1 pango >= 1.0.1... gnome-config: 
> not
> found
> gnome-config: not found
> Package atk was not found in the pkg-config search path.
> Perhaps you should add the directory containing `atk.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'atk' found
> configure: error: Library requirements (glib-2.0 >= 2.1.4 atk >= 1.0.1 pango 
>  >=
> 1.0.1) not met; consider adjusting the PKG_CONFIG_PATH environment variable 
> if y
> our libraries are in a nonstandard prefix so pkg-config can find them.
> ===>  Script "configure" failed unexpectedly.
> Please report the problem to [EMAIL PROTECTED] [maintainer] and attach the
> "/usr/ports/x11-toolkits/gtk20/work/gtk+-2.2.4/config.log" including the
> output of the failure of your make command. Also, it might be a good idea to
> provide an overview of all packages installed on your system (e.g. an `ls
> /var/db/pkg`).
> *** Error code 1
> Stop in /usr/ports/x11-toolkits/gtk20.
> 
> _
> Check out the new MSN 9 Dial-up — fast & reliable Internet access with prime 
> features! http://join.msn.com/?pgmarket=en-us&page=dialup/home&ST=1
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
-- 
PGP Key : http://www.marcuscom.com/pgp.asc




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


Email upon account creation with adduser?

2004-01-26 Thread Eric F Crist
I seem to recall a feature which sent new users an email upon account creation 
with adduser.  Is this still possible?  Mainly, I want to inform them of the 
SpamAssassin feature of my mailer, amongst SquirrelMail and others.  I know 
this used to exist, but I don't seem to see it anymore.

TIA
-- 
Eric F Crist
AdTech Integrated Systems, Inc
(612) 998-3588

pgp0.pgp
Description: signature


UFS2 structure on disk.

2004-01-26 Thread greg
I am considering writting a tool to bring a filesystem with a bad super
block back from the dead. I looked at the raw data on the disk where the
filesystem is. I can see that my data is there.

Now does such a tool exist already? 

Fsck failed. It can't the super block. I tried to force it to look at 32
(and many others). It does not recongnize them.

If no such tool exists, I will write a tool to do so. I need to find
information on how the UFS2 filesystem works. I have tried google with
the BSD filter, I could not find anything useful. I have looked at the
source code for UFS2, but it is hard to understand without already
having an insight into how the filesystem works.

Could someone point me in the right direction? Are there any resources
out there explaining the UFS2 in a detailed and technical way?

Thank You,
-- 
greg <[EMAIL PROTECTED]>

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


'make release' questions.

2004-01-26 Thread Peter Losher
Hello -

I am planning to cut my own internal 5.2-RELEASE cut w/ all the
Heimdal & OpenSSH bits removed, and I have come across some
questions on how to build such a release (.ISO in this case)  I have been
following:

http://www.gsoft.com.au/~doconnor/FreeBSD-release-2.html

And I was under the impression that it would honor /etc/make.conf, where I
have:

-=-
NO_OPENSSH=true
NO_KERBEROS=true
-=-

(where in the usual make buildworld sense, it would not build/install
Heimdal/SSH bits.

But the resulting build and ISO still installs Heimdal & OpenSSH.  Am I
missing something here? (do I need to specify it in the 'make release',
etc.)

Best Wishes - Peter
-- 
[ http://www.plosh.net/ ] - "Earth Halted : Please Reboot"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Apsfilter printing margins?

2004-01-26 Thread Eric F Crist
Hello list!

I have installed apsfilter and finally got my ZOT lpd print server working.  
However, the bottom margin doesn't exist.  Top, left, and right are just 
fine.  I tried setting margins manually from within various aps within KDE, 
but to no avail.  Anyone have a similar problem?  
-- 
Eric F Crist
AdTech Integrated Systems, Inc
(612) 998-3588

pgp0.pgp
Description: signature


Enabling Macromedia Flash

2004-01-26 Thread Jeff Elkins
pkg_info shows:

linux-flashplugin-6.0r79 
linux_base-7.1_5 
linuxpluginwrapper-20040111 
linuxthreads-2.2.3_13 

which I installed via /usr/ports.

However, the plugin does not show up as registered. Is there a FAQ on enabling 
Flash animation under FreeBSD?

Thanks,

Jeff Elkins

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


Re: Firebird & java1.4.2 does NOT work!

2004-01-26 Thread Khairil Yusof
On Mon, 2004-01-26 at 16:56 -0600, Jeff Vehrs wrote:
> Problem: java plugin for firebird does not work

Works ok here.

- install java/jdk14
- install www/mozilla-firebird
- ln -s /usr/local/jdk1.4.2/jre/plugin/i386/ns610/libjavaplugin_oji.so \
  /usr/X11R6/lib/browser_plugins/libjavaplugin_oji.so

If ipv6 is enabled in kernel then:
sysctl net.inet6.ip6.v6only=0

Hmm.. looks like I have to write this up. :) 

The other one that bugs people is flash.

-- 
"You keep using that word. I do not think it means what you think it
means." 

FreeBSD 5.2-CURRENT i386 
9:39am up 21:51, 3 users, load averages: 1.23, 1.24, 1.21

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


History of Rename, as I Know It (Re: "rename" shell command)

2004-01-26 Thread parv
in message <[EMAIL PROTECTED]>, wrote Andrew Kotsopoulos
thusly...
>
> parv wrote:
>
> >  http://groups.google.com/groups?th=b45310c8ba0519a
>
> Thanks for the tips to all that responded to me - I've seen quite
> a few suggestions for scripts of various kinds.

Did you send personalized email to everybody or you forgot to copy
-questions?


> what I really want to know is what's the offical story with
> "rename"?  On my redhat 8 dist. it's a binary and lives in
> /usr/bin.  I believe it was part of the fileutils or coreutils
> package and they are supposed to be GNU packages (or not?)

The original "rename" was, as i know it, from Larry wall, creator of
Perl.  From http://groups.google.com/groups?selm=33089%40adm.brl.mil
...

If you have the "perl" language installed, you may find this
rename script by Larry Wall very useful.  It can be used to
accomplish a wide variety of filename changes.

#!/usr/bin/perl
#
# rename script examples from lwall:
#   rename 's/\.orig$//' *.orig
#   rename 'y/A-Z/a-z/ unless /^Make/' *
#   rename '$_ .= ".bad"' *.f
#   rename 'print "$_: "; s/foo/bar/ if  =~ /^y/i' *

$op = shift;
for (@ARGV) {
$was = $_;
eval $op;
die $@ if $@;
rename($was,$_) unless $was eq $_;
}


...I heard/read once about it when i was starting with Perl more than
5 years ago.  The original "rename" was not part of the standard Perl
distribution; it was included by distributor(s) of Linux...

  http://www.oclug.on.ca/pipermail/oclug/2002-March/018696.html


...which mentions your RedHat too, besides mentioning that rename
appeared in "Programming Perl", first edition.


It seems to appear & had appeared under similar name for the same
purpose.  Sometimes the program is wholly independent, else it is
enhancement of the original.  Mother necessity is of invention, or
something like that.

I also noticed some blurb in comp.* newsgroup that involved "C" and
"rename".  Oh wait ...

  #  man -aw rename

...ok, there is also rename(2), a C library function, in libc, that
"conform[s] to ISO/IEC 9945-1:1996 (``POSIX.1'')".


  - Parv

-- 

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


Total amount of memory in my system?

2004-01-26 Thread Paul Hoffman
Greetings again. I'm running 4.8 on a remote server. I want to know 
how much RAM is in the server. 'dmesg -a' doesn't tell me because the 
boot information has scrolled off the top of the stack. Short of 
rebooting the system, how can I find out how much RAM is built in?

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


Re: a few words on BIOS/FDISK geometry

2004-01-26 Thread Dan Strick
>>
> Have you put this up as a FAQ somewhere?   It seems like a good idea
> to do so.
>>

I don't have a place to put it.  I would gladly offer it to anyone
who does.

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


RE: How to get out of Africa?

2004-01-26 Thread Will Saxon
> 
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of 
> Wayne M Barnes
> Sent: Tuesday, October 21, 2003 2:25 PM
> To: [EMAIL PROTECTED]
> Subject: How to get out of Africa?
> 
> 
> Dear FreeBSD,
> 
>During installation, I accidentally hit Africa for my timezone.
> 
>I have looked all over the documentation, and I cannot find
> out to reset my time zone.
> 
>Does anybody else know?  I installed 5.1 from the CD.

I think that you can copy the file that matches your timezone from 
/usr/share/zoneinfo/ over top of /etc/localtime. 

For me it is EST5EDT and I usually link it (ln -s /usr/share/zoneinfo/EST5EDT 
/etc/localtime) but that might not be the recommended way. 

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


Re: Debugger for XSLT ?

2004-01-26 Thread Al Johnson
> I'm learning XSLT and thought a debugger might be helpful.
>
> Are there any tools in ports to debug or single-step through
> XSLT transforms?
Most XSLT processors include debug flags that generate verbose
output. Which processor are you using?
I've been using the xalan-c port.

_
Check out the new MSN 9 Dial-up — fast & reliable Internet access with prime 
features! http://join.msn.com/?pgmarket=en-us&page=dialup/home&ST=1

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


Re: [kinda ot] writing the date into a file when saving it

2004-01-26 Thread mcabanatuan
as far as I know there is a check-in/check-out system in FreeBSD and other UNIX
systems(rcs or revision control system) that allow you to add a $Tag to a file and it 
will be processed as such. iirc, you use co/ci file. then edit then check it back in. 

Taken from _Absolute BSD_ by; Michael Lucas - 
"Begin the revision-control process by checking in a file with ci(1), which is much 
like giving a book to the library. For example, a good file to protect with RCS is 
/etc/rc.conf. To start the RCS process, enter ci " - 

There is an excellent description on usage of this system in that book, but 
it's a bit drafted to post to the list. But there is a tag you can use in the 
file, $Id$, that shows time of last save/edit, who did it, and what version it's at.

Hope that helps you any.

Cheers,
marc

- Original Message -
From: rob_spellberg <[EMAIL PROTECTED]>
Date: Monday, January 26, 2004 3:59 pm
Subject: [kinda ot] writing the date into a file when saving it

> dear sir or madam ---
> 
> this may be a vi question, but i'd like to be editor-independent, 
> if possible.
> 
> i want to self-document source code files when i write them to disk.
> 
> this would include such things as path and modification time.
> 
> ideally, within vi, i would like to have :w run a script [ that i 
> would write ]
>   that does exactly what i want.
> 
> for years, i've been doing this more or less haphazardly during 
> development,   until i was satisfied that the file was in its 
> final form.
> then i would manually get it right and leave it alone.
> but i'm writing too much right now to keep doing this manually and
>   i'm something of a nut for documentation.
> 
> its easy enough to write a sed script to find a unique string and 
> do a replacement.
> its only slightly more involved to write a glorified version of touch
>   [ which is kinda what i want, actually ].
> 
> maybe what i want is to go into vi [ or ex, or wherever ],
>   find where :w is processed and cause it to look for a script to 
> run.
> i know about :so.
> i know about !command.
> neither are really "it".
> 
> i've been googling for about an hour and coming up almost 
> completely empty.
> maybe there's a jargon word for what i want that i don't know.
> 
> so to get to the question:  what do you folks do?
> 
> rob spellberg
> woodstock, illinois
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-
> [EMAIL PROTECTED]"

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


Advertisement Rates

2004-01-26 Thread TJ
Webmaster,

Could you please inform me of your advertisement prices to place a text 
link on freebsd.org.

Thank you.

Sincerely,

TJ

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


Re: How to tell Fetch command to use specific port #

2004-01-26 Thread Jonathan Chen
On Mon, Jan 26, 2004 at 05:07:56PM -0500, JJB wrote:
> The Fetch command is an wrapper for FTP. 
> It seems to default to passive mode because my firewall logs it 
> going out on port 21 followed by the data channel on ports > 1024. 
> 
> Is there some way to force fetch to use port 5999 all 
> the time for it's data channel? 

No.

With passive-mode FTP, the data channel is specified by the server on
the remote end; ie the client (fetch) is only responding to use the
specified data-port on the server.

Cheers.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
   "Lots of folks confuse bad management with destiny"
 - Kin Hubbard
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


DMA problem with DVD drive

2004-01-26 Thread Roman Kennke

Hi there,

I am not able to enable DMA for my DVD drive. When I issue 'atacontrol
mode 1 UDMA100 XXX' and access the drive, first the drive access hangs,
and after a view seconds the machine locks up completely. This also hold
true for all other DMA modes.
I am running FreeBSD 5.2 on a Fujitsu-Siemens Amilo A Notebook. I would
send more info about the ATA/IDE controller, and the error messages but I
don't know, how to get to this info.
BTW: I know that DMA works for this drive. I have got it working at least
with linux 2.4.22, althought I also had alot of DMA problems with other
versions, so I suspect the hardware (controller) is flakey.
Any help is appreciated. Here follows some output from dmesg:

moonlight# dmesg | grep ata
atapci0:  port 0xa000-0xa00f at
device 4.0 on pci0ata0: at 0x1f0 irq 14 on atapci0
ata0: [MPSAFE]
ata1: at 0x170 irq 15 on atapci0
ata1: [MPSAFE]
ad0: 28615MB  [58140/16/63] at ata0-master UDMA100
acd0: CDRW  at ata1-master PIO4



Ciao, Roman
-- 
SOAP for Python
http://interview-machine.com/soap/


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


Re: open office install fails after two days of installing

2004-01-26 Thread Yuri GV
On Mon, 26 Jan 2004 06:29:44 -0800, chip <[EMAIL PROTECTED]> wrote:

Chris Pressey wrote:
On Sun, 25 Jan 2004 22:32:27 -0800
chip <[EMAIL PROTECTED]> wrote:

Okay, I downloaded and installed the .tbz file, moved it to /usr/local 
and ran pkg_add. It finished, and the instructions on the screen say 
to just run openoffice on the command line and answer a few questions. 
When I run the command I get command not found, as user and as root. 
What did I do wrong?


You may have to type 'rehash' first.

-Chris
I have done that and still no good.
--
Chip
Try 'locate openoffice' on the command line to ensure that it's installed 
somewhere.
Find openoffice binary. Probably it resides in one of /bin subdirs.

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


Upgrading from 4.3 to 5.2

2004-01-26 Thread David LeCount
I have what is proving to be a difficult challenge. My
friend wants to start using FreeBSD. Unfortunately the
latest disc I have is 4.3, and I don't have easy
access to broadband, so obtaining a newer iso is
unlikely in the near future. Well I've been gradually
upgrading mine and it's currently using 5.2. So I
figured I'd try the routine the handbook gives on
upgrading multiple machines. I installed 4.3 on his,
and then I made buildkernel and buildworld on mine,
and copied /usr/src and /usr/obj to his. But when I
try to install anything on his, make crashes
immediately saying it made an invalid system call. In
fact, I can try make buildworld and buildkernel and it
does the same thing. I tried making other makefiles I
found on the hard drive to test make, and it worked
fine. Yet it crashes immediately for any targets in
/usr/src. I really don't want to be defeated, so can
anyone help a bandwidth handicapped FreeBSD fan? Many thanks.

__
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


L2TP server?

2004-01-26 Thread Deling Ren
Hi all, I searched the archive and didn't find any relevant information.
Here is my situation: I have a FreeBSD box running as my gateway/firewall
at home. I want to set up a VPN connection from my laptop (in office) to
the router via public Internet. My laptop runs Mac OS X 10.3 and supports
L2TP over IPSec. So I suppose I need to set up a L2TP server on the box. I
did a little research and didn't find too much information. I am not very
familiar with IPSec or L2TP. If anyone could give me some pointers and
hints, I would appreciate very much

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


Re: how to tell if my ISP is blocking email & web ports

2004-01-26 Thread Micheal Patterson




- Original Message - 
From: "fbsd_user" <[EMAIL PROTECTED]>
To: "Dinesh Nair" <[EMAIL PROTECTED]>
Cc: "[EMAIL PROTECTED] ORG" <[EMAIL PROTECTED]>
Sent: Wednesday, January 21, 2004 2:38 PM
Subject: RE: how to tell if my ISP is blocking email & web ports


> My friends PC is an MS/Windows 98 box.
> I know all windows system have telnet in command.com.
> Which is reachable from start/run and opens an native dos window.
>
> Would anybody know the syntax of the native dos telnet command
>  to include the port number to use?
>
> telnet xxx.xxx.xxx.xxx would get me to the telnet port
> at that IP address.

Actually, the native "dos" mode versions of telnet came standard starting
with Win2k but I won't go into that. :)

The syntax is start > run > telnet xxx.xxx.xxx.xxx port#

--

Micheal Patterson
TSG Network Administration
405-917-0600

Confidentiality Notice:  This e-mail message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply e-mail and destroy all copies of the original
message.

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


Re: viewing sgml documents

2004-01-26 Thread Andrew L. Gould
On Wednesday 21 January 2004 09:23 am, Lowell Gilbert wrote:
> "Andrew L. Gould" <[EMAIL PROTECTED]> writes:
> > On Wednesday 21 January 2004 07:43 am, Lowell Gilbert wrote:
> > > "Andrew L. Gould" <[EMAIL PROTECTED]> writes:
> > > > When ports install sgml documents to /usr/local/share/doc/*, what
> > > > apps are used to view them without the markups?
> > >
> > > Normally a web browser is used to view the html files that are
> > > generated from them...
> >
> > I'm trying to view the operators' guide for dancer-ircd port.  The sgml
> > documents are in
> > /usr/local/share/doc/dancer-ircd/sgml/dancer-oper-guide/. I've installed
> > the ports docproj and sgmltools; and I've read the README files and
> > MAKEFILE's in the relevant directories.
> >
> > When I perform "make doc" per the MAKEFILE, it doesn't do anything. No
> > messages are returned.
> >
> > When I use sgmltools, the html option creates one empty directory.  The
> > ps and txt options create documents with the entirety of the contents on
> > one line.
> >
> > Is it generally this hard to produce documentation, or is this port an
> > exception?
>
> The typical case is that the port does it for you.
>
> In this case, the latest version of the port seems to download and
> install text documentation; no sgml documents are installed, as far as
> I can see.

I installed from the package at ftp.freebsd.org.  I'll pkg_delete and install 
from the port.

Thanks,

Andrew Gould

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


mplayer screws up audio device access

2004-01-26 Thread Rob


Hi,

I am running 4-Stable with up-to-date ports installed.

I'm puzzled by what mplayer does to my audio device.

When I run "gmplayer -vo x11", I can only play one movie with
sound. When I stop the movie (NOT exiting mplayer!) and start
another movie, I get this dialog from mplayer:
	"Could not open/initialize audio device -> no sound"

and, of course, there's no sound. This is quite a nuissance.

Any idea what is going wrong here?

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


Random complete lockups while writing to compact flash...

2004-01-26 Thread Philip Hallstrom
Hi -
I have an EBS-1569PS system...

http://www.orbitmicro.com/products/embedded%20systems/EBS-1569PS.htm

... that has an onboard compact flash slot.  The BIOS sees the card as
ad2.  It's also got a hard drive in there that I've installed 4.9 on.

I'm getting random lockups while writing to that flash card.  Here's what
I'm doing:

fdisk -BI ad2
disklabel -Bw ad2s1 auto
disklabel -e ad2s1 (creating a single a partition)
newfs /dev/ad2s1a
mount /dev/ad2s1a /mnt
setenv DESTDIR /mnt
cd /path/to/4.9-RELEASE/bin
sh install.sh

This then copies over all those files onto /mnt.  Sometimes it works fine,
but most of the time I get a complete lockup somewhere through the
process.  Never happens at the same file, never happens at the same time
(sometimes very early, sometimes very late).

No logs.  Can't ping.  CTRL-ALT-DEL doesn't work. Nothing.

I'm going to go buy another flash card and give that a try since maybe
I've just got a bad one, but if anyone has any other ideas (like perhaps
the computer hardware is just broken when it comes to writing to that
flash card) I'd appreciate hearing about it before I tear all my hair out.

Thanks!

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


Re: Target-mode drivers under 5.2: no /dev/targ0

2004-01-26 Thread Mark Terribile

I wrote:

> I'm trying to bring up the target-mode interface on a QLogic 2300 FC
> card.   ...
> What I do not have is  /dev/targ0, /dev/targ1, etc.  They are simply not
> being created.  This is 5.2, so they should just be there, no?  I will be
> grateful for any help you can give me in finding out why, and getting them
> started.  

To my astonishment, after tracing some things in the driver, I see that the
devices aren't created UNTIL they are opened!  This is not the behavior I
expected, to say the least.

I'm having other problems with target mode, and with the sample program
provided:

First, although  camcontrol devlist -v  does show a target on the bus,
the other side of the FC loop isn't seeing  it.  Second, when I send it
the DEL signal, it doesn't shut down.  It hangs on an IOCTL (TARGIOCDISABLE)
and I have traced the stoppage (via printf()s in the driver, UGH!) to
scsi_target.c: abort_all_pending(), which waits (presumably) on what it
has aborted.  Now I'm trying to figure out what that was.

As before, any help will be welcome.

Mark Terribile
[EMAIL PROTECTED]


__
Do you Yahoo!?
Find out what made the Top Yahoo! Searches of 2003
http://search.yahoo.com/top2003
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: md5 newbie question

2004-01-26 Thread Matthew Seaman
On Sat, Dec 06, 2003 at 09:59:07AM -0500, Marty Landman wrote:
> Trying to verify a d/l before compiling:
> 
> Swami: md5 -s 466c63bb71b710d20a5c353df8c1a19c /tmp/httpd-2.0.48.tar.gz
> MD5 ("466c63bb71b710d20a5c353df8c1a19c") = 017b97dd023763b82a219bdfedd5cc29
> MD5 (/tmp/httpd-2.0.48.tar.gz) = 466c63bb71b710d20a5c353df8c1a19c
> Swami:
> 
> By eyeballing the first part of line1 against the second part of line 2 
> they appear equal so I guess my d/l's integrity is intact. What is the more 
> automated way to do this though, so that I get a line at the end saying 
> "ok" or "ah, phooey". Or am I supposed to extract and diff these myself?

md5 -s "some string" will give you the md5 hash of "some string" --
it's not what you want.

You need to run:

md5 httpd-2.0.48.tar.gz

and then compare that output to the distinfo file in the www/apache2
port:

% cat distinfo 
MD5 (apache2/httpd-2.0.48.tar.gz) = 466c63bb71b710d20a5c353df8c1a19c
MD5 (apache2/powerlogo.gif) = 0f106073b3c7844cf22d4df126b27c62

Yup.  You've got the correct httpd-2.0.48.tar.gz sources.

Of couse, you don't have to do this by hand.  It's done automatically
as part of building the port.

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


pgp0.pgp
Description: PGP signature


Re: mac address

2004-01-26 Thread Daan Vreeken [PA4DAN]
On Tuesday 13 January 2004 14:31, Daan Vreeken [PA4DAN] wrote:
> On Tuesday 13 January 2004 13:54, Malik Bülent wrote:
> > hello
> >
> > i use freebsd5.1 and i want to reject some computers  whose according to
> > "Mac Addresses" and i recompiled kernel with
> > options IPFIREWALL
> >
> > then i made ipfw.sh with touch and wrote in ;
> > ipfw add deny MAC 00:60:67:28:0c:1e any
> > ipfw add deny MAC any 00:60:67:28:0c:1e
> >
> > but I couldn't reject above machine
> > What shall i do ?
>
> You have to it first with a sysctl :
Oops, typo, should have been :
You have to enable it first with a sysctl

> # sysctl -w net.link.ether.ipfw=1
>
> grtz,
> Daan
> ___
> [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: /etc/rc.conf vs /etc/defaults/rc.conf

2004-01-26 Thread Andrew L. Gould
On Monday 12 January 2004 04:18 pm, August Simonelli wrote:
> Hi all,
>
> I've looked in the handbook (and probably missed the explanation) but am
> still a little confused. What's the difference between these two rc.conf
> files? Both affect things, but what is best practice for their use?
>
> Thank in advance,
>
> August
>
> PS I'm using 4.9 and realize some things may be differnet in 5.x ...

/etc/defaults/rc.conf shows the default setttings of the system.  Any 
overrides you want should be done in /etc/rc.conf.

One of the reasons to make changes only in /etc/rc.conf is that /etc/defaults/
rc.conf may get overwritten when you update the system.

I hope this helps.

Andrew Gould

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


Re: perl script question.

2004-01-26 Thread Gary Kline
On Sat, Jan 10, 2004 at 11:02:18PM +, Matthew Seaman wrote:
> On Sat, Jan 10, 2004 at 11:39:07PM +0100, Björn Andersson wrote:
> > On Sat, Jan 10, 2004 at 10:33:08PM +, Matthew Seaman wrote:
> > > On Sat, Jan 10, 2004 at 02:10:36PM -0800, Gary Kline wrote:
> 
> > > > Folks,
> 
> > > > Let's see if perl can do this one; it's as obscure a task
> > > > as I've run into.  I have scores of files with:
> 
> > > > A regular sentence, or phrase. then_one_containing_underscores_-
> > > > between_each_word  Followed by another regular, space-delimited
> > > > sentence.  Followed_by_another_string_with_underscaores.
> 
> > > > Is there a perl way to get rid of the
> > > > string_containing_underscores and leave the regular sntences??
> 
> > > perl -pi.bak -e 's/\s+\w+_\w+\.?//;' filename
> 
> > If this occures more than once on a line we should have the line as this:
> >   perl -pi.bak -e 's/\s+\w+_\w+\.?//g;' filename
> 
> Good point.  Also, if the stuff_separated_by_underscores wraps around
> onto more than one line, then there may not be any leading whitespace:
> 
> perl -pi.bak -e 's/\s*\w+_\w+\.?//g;' filename
> 

The lines do indeed wrap so this does the job on a test file.
I do have the re-exp book but this one is far ovr my head.
What do the "\s*" mean, and also thr "\.?/" ?

Man, I'd never have gotten this one; at least not in *one*
lines:-)  Wow.  

thanks to everyone,

gary


-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


Email Program

2004-01-26 Thread Gerard Seibert
This may not be the best place to post this question, but I will try anyway.

I need a really full featured email program. Something along the lines of MS Outlook. 
It has to be able to handle multiple identifies and several different SMTP and POP 
addresses. The handling of both HTML and plain text messages is a must. It would also 
be a plus if the program properly interpreted Java and VB code inserted into email 
messages.

Does anyone have any suggestions?

Thanks!

Jerry

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


Re: mail

2004-01-26 Thread Micheal Patterson


- Original Message - 
From: "Chad Albert" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 31, 2003 3:46 PM
Subject: mail


> I am writing a script that mails me when certain events occur.  I am
> using mail(1) to notify me by email when some things happen.  I have
> read the man page and I don't see a way to attach a file, does anyone
> know how to use mail(1) to attach a file?


If it's a text file, just cat filename.ext |mail -s "subject" [EMAIL PROTECTED]
to send the contents to the target address. On the other hand, if you want
to attach the file, use mailx from ports. There's an -a flag to attach files
to outbound emails.

--

Micheal Patterson
TSG Network Administration
405-917-0600

Confidentiality Notice:  This e-mail message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply e-mail and destroy all copies of the original
message.

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


Re: IPFW Rule set question...

2004-01-26 Thread Drew Robertson
Thanks for your reply.

I don't understand what you mean when you say NAT modifications... meaning 
how the packets are changed on the gateway to allow them to be seen as 
transparent from behind??

When I do a netstat -an while connected remotley it shows the connection on 
SSH as coming from 203.10.10.38, but when I add a rule to allow everything 
from that net it still won't allow access...

I did add the rule before the divert, but i still couldn't connect until i 
added an allow all manually...

i also tried opening up the ssh port to everyone, with allow tcp from any to 
me 22 via tl0, but that wouldn't allow a connection either...

It's a bit confusing...

Thanks again,

D


From: Lowell Gilbert <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: "Drew Robertson" <[EMAIL PROTECTED]>
CC: [EMAIL PROTECTED]
Subject: Re: IPFW Rule set question...
Date: 24 Dec 2003 16:43:49 -0500
"Drew Robertson" <[EMAIL PROTECTED]> writes:

> I have enabled SSH, TELNET and FTP on my freeBSD 4.8 box at home... it
> is dual homed, 2 NICs one for the internal LAN one running my cable
> modem.  Everything works fine on the internal side.
>
> When accessing the box using any of those apps from work, the system
> looks to briefly connect and then returns a "Connection Lost" or
> "Connection closed by remote host error".
>
> The command setup to allow in access is as follows...
>
> 820 allow log tcp from any to me 22 limit src-addr 4 in recv tl0 setup
> 830 allow log tcp from any to me 23 limit src-addr 4 in recv tl0 setup
I assume these are supposed to have "keep-state" in them.
It *is* written that way in the full ruleset you posted lower down.
> when this didn't work I added another command at the start of the
> ruleset to just let everything in from a particular IP address range...
>
> 202 allow ip from 203.10.10.0/24 to any
>
> however this produced the same error...
>
> It wasn't until I allowed all from any to any that I was able to 
connect...

Then the packets aren't actually being seen as coming from that
address.  Maybe you're running into NAT modifications?
> When checking out the security log, it tells me that rule 820 is
> allowing access to my computer at home...
But only for SYN packets...

--
Lowell Gilbert, embedded/networking software engineer, Boston area:
resume/CV at http://be-well.ilk.org:8088/~lowell/resume/
username/password "public"
_
Hot chart ringtones and polyphonics. Go to  
http://ninemsn.com.au/mobilemania/default.asp

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


Re: floppy mount support

2004-01-26 Thread Lowell Gilbert
Srinivasa Kanduru <[EMAIL PROTECTED]> writes:

> I happenned to install 5.1 FreeBSD.  I couldn't mount floppy disk. I noticed
> that /dev/fd0 did not exist. I tried doing a mknod using character device 9, 0
> for fd0 but it doesn't work. The floppy devnode is not permitted to be created.
> 
> Incidentally there seems to be a change in the devfs and the usage is not very
> intuitive. Is there anywhere the examples are given ? Particularly if I want to
> use the floppy disk how can I get around this problem.

5.x uses devfs exclusively (by default, anyway), and 4.x does not.  
Does the kernel detect fd0 as it is booting?

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area: 
resume/CV at http://be-well.ilk.org:8088/~lowell/resume/
username/password "public"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: REPOST: null device in linux jail root

2004-01-26 Thread Lucas Holt
I'll take a guess here and say you should have used /

The linux port is installed in /compat/linux

i would assume the jail is /compat/linux.  Therefore you could run the 
command from /.

On Dec 16, 2003, at 2:15 PM, Charles Howse wrote:

Surely, *someone* who reads this list has upgraded the linux_base 
port, and
figured out the proper way to respond to this prompt.

___

Hi,

I installed Linux compatibility when I installed FBSD 4.8, but I've 
never
really done anything with it.

While portupgrading , I was presented with a prompt that I don't know 
how to
respond to:

You need to create the null device in your jail root environment.
Run the following commands outside the jail root environment,
and then press enter:
mkdir -m 0755 -p /dev
rm -f //compat/linux/dev/null
mknod //compat/linux/dev/null c 2 2
chmod 666 //compat/linux/dev/null
I found that this prompt comes from the makefile in the linux-base 
port, which
I don't have access to at the moment, so I can't quote it exactly.

Clueless, I just pressed enter at the prompt, thinking I could always 
go back
and do it later, or deinstall the port and reinstall it when I learn 
what to
do.  

I know what a jail is, but how do I know what my  is?
Also, why the double slashes in the last 3 lines?  What do they mean?
What is the proper way to deal with this prompt?

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


Lucas Holt
[EMAIL PROTECTED]

FoolishGames.com  (Jewel Fan Site)
JustJournal.com (Free blogging)
'Re-implementing what I designed in 1979 is not interesting to me 
personally. For kids who are 20 years younger than me, Linux is a great 
way to cut your teeth. It's a cultural phenomenon and a business 
phenomenon. Mac OS X is a rock-solid system that's beautifully 
designed. I much prefer it to Linux.'
-- Bill Joy, Wired Article 2003

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


Re: Removing a program

2004-01-26 Thread Josh Paetzel
On Mon, Dec 15, 2003 at 10:10:08AM -0600, Darryl Hoar wrote:
> Greetings,
> I installed phpBB from the ports on my 4.7 box.  Went fine.
> Had my phpBB bulletin boards hacked, even after applying
> all the patches from phpbb.com.  My current version of
> phpBB is 2.0.0_1.  All they suggested was install the new
> version of phpBB and make sure I look for patches.
> 
> So... Since I installed phpBB from the ports, how do I remove
> the program?  I want to download phpBB from their site and
> install it clean.
> 
> thanks for any help,
> -Darryl

You can find the exact name of the package using pkg_info and then pkg_delete 
it using a command similar to this: #pkg_delete `pkg_info | grep phpBB | awk 
{'print $1'}`  Please note that this will delete any package with phpBB in the 
name or title or description, so use it with caution.

What you'll most likely find is that pkg_de;ete won't be able to delete the 
entire port, since it can only delete things it knows about.  It's not going 
to be able to delete patched binaries, or the directories that those binaries 
are residing in.  The other thing it won't be able to delete is the mysql 
databases that phpBB uses.  All of these things will have to be hunted down by 
hand.  pkg_delete will however complain about files and directories you can't 
delete, so that will at least give you a starting point to work from.

Hope this helps,
Josh Paetzel

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


network throughput and kernel configuration...

2004-01-26 Thread ander Sendzimir
I've been experimenting with kernel configurations and network 
performance. I'm running a dual Xeon processor (500MHz) system with 
10/100 ethernet (Intel). It's an Intel motherboard. The cable is CAT5 
and I'm transferring between the FBSD box and an Apple G4 laptop with 
10/100 ethernet. This is going through a Netgear 10/100 hub (non 
switching). In my limited capacity I'm using ncftp{put/get} to transfer 
large files. Using a basic, no frills custom kernel (nothing 
controversial), ncftp shows about 7.5MB/s throughput between these two 
machines. I added the following lines to my kernel conf

options DEVICE_POLLING
options HZ=1000
and modified /etc/sysctl.conf by adding

	kern.polling.enable=1

and now ncftp shows about 8 MB/s. (Recompile, reboot, etc)

Perhaps I'm dreaming, but shouldn't I be getting better network 
throughput in either case? Perhaps a switch would be better than a hub?

The G4 Powerbook shows its running en0 at half-duplex over 100baseTX. 
Which, I think, is the same for the dual Xeon system. Both are 
autoselect. Perhaps I should scrap the kernel config issue and 
configure both interfaces for full-duplex 100baseTX.

Thoughts/experience/advice?

Thanks for the help, as always.

Alex

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Alexander Sendzimir 802 863 5502
 Mac Tutor of Vermont, LLC info @ mactutor . vt . us
  Colchester, VT 05446
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: fsck not recognizing vinum filesystem type

2004-01-26 Thread DAVID THOMPSON


>>> Nate Lawson <[EMAIL PROTECTED]> 12/09/03 11:13AM >>>
>On Tue, 9 Dec 2003, DAVID THOMPSON wrote:
>> I am a relatively new FreeBSD user and I have never posted a
request
>> for help before so I hope I am doing this right and not plugging up
the
>> board with irrelevant and out of context questions. My apologies if
I
>> am. Here is my problem:
>
>Welcome to the club!
>
>> I have vinum installed on my FreeBSD 5.1-Release box. Vinum starts
and

actually it is 5.0-Release...my mistake

>> runs fine, but I can't fsck any of the volumes because it says...
>>
>> "fsck: Could not determine filesystem type."
>>
>> If I do a fsck -t ufs /dev/vinum/??? it will work fine, but it's
when I
>> don't explicity tell fsck what the filesystem type is that I get
this
>> error.
>
>You probably didn't disklabel the disk.  Do a "man disklabel".  In
>particular, you should do:
>
>   disklabel -w /dev/vinum/??? auto
>
> Edit the disklabel:
>
>   disklabel -e /dev/vinum/???
>
> Then newfs:
>
>   newfs /dev/vinum/???
>
>Note that you can potentially trash the system with all this, so
please
>read the section in the handbook on setting up vinum and/or
disklabels
>before doing this on a production system.  In fact, test on a scratch
disk
>first.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/vinum-vinum.html

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html 

>-Nate

unfortunately I did run the disklabel route and everything checks out.
I have fdisk'd, disklabel'd, and reconfigured my drives so many times I

have dreams about it. The only difference between my box at home 
and the one at work is that I ran a cvsup and portupgrade on my one
at home when I was doing the initial install. Is there a possiblity
that
the fsck binary is somehow the wrong rev.? I am trying to understand
how fsck determines the filesystem, and I thought this was done by 
checking the superblock. However, it seems that the superblock only
denotes one definition of filesystem type (e.g. FreeBSD, vinum, etc.) 
and not the other definition (e.g. ufs, ext3, etc...). At least these
are
the two definitions of fstype that I know of. So I am still stuck at
trying
to determine how fsck automatically determines the second definition
of fstype. Remember that fsck works if I explicitly tell it to use ufs.
My
other theory is that maybe my newfs binary isn't doing it's thing. My 
understanding was that in version 5.0 ufs2 would be the default, but
it seems like my newfs uses ufs1 as it's default. This makes me wonder

if maybe other things aren't working as they should. Any ideas, leads,
thoughts, or suggestions are always appreciated... thanks again.

Dave.





This e-mail is intended only for the use of the individual or entity
to which it is addressed and may contain information which is
privileged, confidential, and exempt from disclosure under applicable
law. If you are not the intended recipient, or an employee or agent
of the intended recipient, you are hereby notified that any
dissemination, distribution, or copying of this communication is
strictly prohibited.  If you have received this communication in error
please notify us immediately by replying to [EMAIL PROTECTED]


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


Re: freebsd mount nwfs

2004-01-26 Thread Malcolm Kay
On Tue, 9 Dec 2003 17:03, Cristian Salan wrote:
> On Mon, Dec 08, 2003 at 11:51:55AM +, Feroz F. Basir wrote:
> > Hi,
> >
> > I read your email to freebsd mailing list. You be able
> > to mount nwfs under freebsd. I'm trying to mount nwfs
> > as well but failed for some reason. I compiled in IPX,
> > NCP and NWFS in kernel. I put these two line below in
> > rc.conf file:
> >
> > ipxrouted_enable="YES"
> > ifconfig_fxp0_ipx="ipx 0x00010010"
> >
> > This is base on freebsd example. When I ran "ncplist
> > s" I got nothing at all. What am I missing here? Can
> > you ched some light, please? How do I go about setting
> > this ipx thingy under fxp0 interface?
>

I have not been able to find the original posting; perhaps to
a different mail list.

I am mounting nwfs on freebsd versions 4.5 to 4.8. The details
of how to do this a not easy to find -- even when I've done it before.

I think I originally only found the way through a query to this mailing list.

At least for FBSD 4.x it is necessary to generate additional pseudo
interfaces derived from the fxp0 (or whatever your base interface is)
interface each dedicated to a particular IPX variant.

This is done with the pseudo-device ef in the kernel configuration
or you should be able to use the loadable module if_ef.ko.

Take a look at the man page ef(4).

Now configure with
# ifconfig fxp0f2 ipx 0x00010010
or whatever the appropriate variant is in your case or
if you are not sure you should be able to fire up all 4 variants

I have actually included this in the kernel configuration with:

options IPX #IPX/SPX communications protocols
options NCP #NetWare Core protocol
pseudo-device   ef  # Multiple ethernet frames support
options ETHER_II# enable Ethernet_II frame
options ETHER_8023  # enable Ethernet_802.3 (Novell) frame
options ETHER_8022  # enable Ethernet_802.2 frame
options ETHER_SNAP

and then in rc.conf you could use :
 ifconfig_fxp0f2_ipx="ipx 0x00010010"

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


Re: How to Setup Reverse DNS on LAN?

2004-01-26 Thread Stephane Bortzmeyer
On Tue, Dec 09, 2003 at 05:50:25AM -0800,
 Drew Tomlinson <[EMAIL PROTECTED]> wrote 
 a message of 33 lines which said:

> When connecting via ssh to my FBSD boxes, it takes over a minute
> before the connection is established.  Searching the archives
> suggests that this is due to a failed reverse DNS lookup that must
> time out before connecting.

Probably.

> But 192.168.1.3 does not:
> 
> blacksheep> host 192.168.1.3
> Host not found, try again.

On FreeBSD 5.1, it appears, speaking both from the man page and from
an actual test, that host does not use /etc/hosts at all. It would be
nice to have a command which uses getaddrinfo() but host does not.

ping would be a better test:

~ % ping localhost
PING fetiche (127.0.0.1): 56 data bytes
64 bytes from 127.0.0.1: icmp_seq=0 ttl=64 time=0.253 ms

The name 'fetiche' was found in /etc/hosts.



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


Re: How to make printer print faster?

2004-01-26 Thread Warren Block
On Tue, 9 Dec 2003, Marco Beishuizen wrote:

> Well I just tried a lot of settings (resolution to 300dpi, quality to
> high/medium/low) but it has not influenced the speed of printing at all.
> The only driver that seems suitable for my printer is the lj5mono or
> lj5gray.
>
> Any other suggestions?

You could get the PostScript DIMM for the 2100 and eliminate apsfilter.
The speed increase would depend on what type of things you're printing,
but it's inexpensive (saw the DIMM on printerworks.com for $39).

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


Re: Apache+ssl

2004-01-26 Thread Kris Kennaway
On Tue, Dec 09, 2003 at 03:16:21PM -0500, Marius Kirschner wrote:
> Tried to update my old apache+ssl to the latest and am getting the following
> error:
> 
> making all in tools...
> ===>  Installing for openssl-0.9.7c
> ===>   Generating temporary packing list
> ===>  Checking if security/openssl already installed
> ln: illegal option -- h
> usage: ln [-fisv] file1 file2
>ln [-fisv] file ... directory
>link file1 file2
> *** Error code 1
> 
> Stop in /usr/ports/security/openssl.
> *** Error code 1
> 
> Stop in /usr/ports/www/apache13-ssl.
> 
> 
> Any idea how to work around that?

Update to a supported version of FreeBSD.

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


Re: a technical how to

2004-01-26 Thread Paul Everlund
On Tuesday 09 December 2003 02:51, homeyra g wrote:

So, I hope this is the right address for this type of
question. If not would you please forward this and/or
let me know the correct address.
Thanks,

Here is the question: How to truncate a file from the
begining to a certain point in the file?
There's two commands that might be helpful:
  truncate(1)
  dd(1)
Read about them in the man pages.

Hope I was of some help!

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


Re: What exactly is ipfilter?

2004-01-26 Thread Erik Trulsson
On Thu, Dec 04, 2003 at 10:38:16PM -0700, Emmanuel Gravel wrote:
> I'm looking through rc.conf and the kernel config file for FreeBSD 4.9
> (recently downloaded it, my last upgrade was 4.5 so I was way behind,
> and this is a new install because my old firewall died). I'm used to
> using ipfw and natd for my firewall, but now I'm seeing ipfilter, ipnat
> and ipmon. I've done a google search on all of www.freebsd.org for
> ipfilter, but it only seems to show up in release notes, and the online
> handbook doesn't really talk about it. Since I haven't recompiled my new
> kernel, should I consider this instead of ipfw and natd? What's the
> difference, exactly?

ipfilter is just another firewall implementation, which you can use
instead of ipfw/natd if you wish.
The difference is mainly that it is different.  The configuration and
implementation is completely different, but the functionality is more
or less the same.
Use whichever one of ipfw/ipfilter that you wish, but if you already
are familiar with ipfw/natd you might as well stick with it, unless you
have some specific reason to switch.

Since ipfilter isn't FreeBSD specific, you should probably not confine
your web-searches for information on it to freebsd.org.

> 
> On a related note, I'm not sure what the usefulness of IPDIVERT is
> either, so I don't know if I should compile it in the kernel or not.

It is needed for natd to work, so if you are using natd you need
IPDIVERT in your kernel.



-- 

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


can ping, can't download through firewall

2004-01-26 Thread Garry Hill

hi,

i'm a reasonably experienced linux/bsd user - i've installed a few boxes in my time 
and usually with a good level of success. but this time i'm stumped. 

i'm trying to set up a freebsd gateway to share my cable modem connection. 

from the gateway itself i can ping the world, from the attached clients i can ping the 
world, i can even do dns lookups. doing:

curl --head http://www.website.com

gives me a good-looking header and everything, but if i do 

lynx http://www.website.com

no joy. i get:

HTTP request sent; waiting for response.

and it stops there. this is true from both the clients and the gateway itself. i just 
can't download anything for all the pings in the world.

my current set up is 

-- kernel config:

options IPFIREWALL
options IPDIVERT 
options IPFIREWALL_DEFAULT_TO_ACCEPT
options IPFIREWALL_VERBOSE 
options IPFIREWALL_VERBOSE_LIMIT=10 

-- /etc/rc.conf

gateway_enable="YES"
firewall_enable="YES"
firewall_type="OPEN"
natd_enable="YES"
natd_interface=" rl0"
natd_flags="" 

which are both straight out of the handbook.

-- ipfw -a list
00050 1844 130026 divert 8668 ip from any to any via rl0
00100   96  11166 allow ip from any to any via lo0
002000  0 deny ip from any to 127.0.0.0/8
003000  0 deny ip from 127.0.0.0/8 to any
65000 2481 200907 allow ip from any to any
655350  0 allow ip from any to any

ethernet cards - a pair of 8139's - rl0 external, rl1 internal. as far as i can tell 
they work fine.

i've tried the same thing using ipfilter and ipnat instead of natd and ipfw - with the 
same results. 

i've noticed that if i turn on the firewall my pings to the isp's router are much much 
less reliable, sometimes losing 30%+ of the packets but generally degraded compared to 
the setup with no firewall enabled.

the firewall stats show that everything is passing ok. 

i really don't know what's going on. unfortunately my web searches have turned up 
nothing similar.

does anyone have any ideas/comments/suggestions/experience of the same? is it the 
network cards? pings from the client machine when connected directly work perfectly 
but from the gateway are at best a little dodgy - losing 15% of the packets.

any help greatly appreciated.

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


Re: Mozila Thunderbird and local mail

2004-01-26 Thread Joe Marcus Clarke
On Mon, 2003-12-01 at 00:10, Jonas Manalive wrote:
> Hello,
> 
> Is it possible to use Mozilla Thunderbird email client to receive from 
> your local /var/mail/username like kmail/evolution/sylpheed can? Or 
> does one have to use procmail to deliver them into thunderbird's 
> directory?

I don't think Thunderbird-0.3 has support for movemail accounts, but the
next release should.  I've looked at Mozilla 1.6a, and it does have
movemail support.

Joe

> 
> Best regards,
> 
> Jonas
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
-- 
PGP Key : http://www.marcuscom.com/pgp.asc


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


sshd not respecting login.access

2004-01-26 Thread Jonas Trollvik
Hi,
I've been using login.access for a long while, it hasnt occured to me until now that 
sshd isnt taking that file into account. No users (except me) can log in to my system 
with telnet and they shouldnt with sshd.

Is there a workaround for this? Wouldnt it be considered a serious bug that sshd 
doesnt parse this file?

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


p5-Gtk-0.7009 requires Perl 5.6 with FreeBSD 4.9

2004-01-26 Thread Troy
I've tried to upgrade this perl library, and it's marked as IGNORE,
being that I'm running stable, should I install lang/perl5 to run Perl
5.6?  Is there any point where stable will use Perl 5.6 or later?

Any Thoughts?

-Troy

portupgrade p5-Gtk-0.7008_1
** 'x11-toolkits/p5-Gtk' is marked as IGNORE:
This port requires perl 5.6.0 or later. Install lang/perl5 then
try again



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


Re: upgrading 4.8 to 4.9 question....

2004-01-26 Thread Dave Cantrell
On Wed November 26 2003 23:41, Dragoncrest wrote:
>  Mergemaster is definately one way to do it, but I prefer 
> Portupgrade.  It's much simpler as far as I'm concerned and does as good a 
> job as mergemaster with less thinking involved on the part of the user.  :)
> 
> At 12:43 AM 11/20/03 +, Lewis Thompson wrote:
> >On Thu, Nov 20, 2003 at 11:27:59AM +1100, paul van den bergen wrote:
> > > if I upgrade from 4.8 to 4.9, will I also have to upgrade (by whatever
> > > method) the applications running on the box? I.e. those that are not
> > > part of the src tree?
> >
> >Try man mergemaster.
>
Dragoncrest:  I'm not sure you understand the difference between portupgrade 
and mergemaster...I suggest you read the man pages on both before advising 
someone else on the use of either.

Paul:  Lewis' advice on mergemaster is worth taking :)

drc
-- 
Dave Cantrell
[EMAIL PROTECTED]
Lincoln, Nebraska, USA

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


RE: "Device not configured" after every command, crashing

2004-01-26 Thread Antonio Lupher
I had them clean off the dust and reboot the server, however it soon went 
down:
The following error was printed on the screen, it appears the server 
utilized all the console buffer space making keyboard interaction 
impossible.
vm_fault: pager read error, pid 1 (init)

Any ideas on what to do?
-antonio



From: "fbsd_user" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: "Antonio Lupher" 
<[EMAIL PROTECTED]>,<[EMAIL PROTECTED]>
Subject: RE: "Device not configured" after every command, crashing
Date: Tue, 25 Nov 2003 08:56:29 -0500

Sounds like hardware problems caused by overheating.
Open the PC cover and blow out all the dust.
Leave cover off and see if problem reoccurs.
The PC's power supply may be going bad, replace.

FBSD 4.4 is real old you should install 4.9 to separate HD with out
any ports to see if problem is bad HD.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Antonio
Lupher
Sent: Tuesday, November 25, 2003 12:34 AM
To: [EMAIL PROTECTED]
Subject: "Device not configured" after every command, crashing
I'm a newbie running FreeBSD (I believe it's 4.4... am at the moment
unable
to check, as the computer is down) to host some of my websites.  I
sent a
query to this mailing list before about receiving some errors when
trying to
access my website, after which, ssh would stop logging me into the
server
("Connection closed by [server ip]"), and all web pages would bring
up a
"Forbidden" error.  After this, the server would go down
completely... or at
least I was unable to ping it, access it through http, or anything
else that
I tried...
This has been happening regularly, about every 3-7 hours after the
computer
is rebooted.  However, while the computer is running, I can
distinguish
nothing out of the ordinary.
However, tonight, it "crashed" while i was logged in through ssh.
Suddenly,
almost every command that I issued or program I tried to run came
back as
"Device not configured."
e.g.:
# reboot
/sbin/reboot : Device not configured
Some things work... (lynx, ping, ps -- all seem to work fine) but
many other
commands just return the "Device not configured" or "Segmentation
fault"
errors.  Also very odd: ls, cd, pwd, etc. seem to work fine, but
when I ls
any directory, no files come up.  It is completely blank
Anyway, I'm very scared and at my wit's end.  The system will appear
normal
once it's rebooted, but the same thing will happen within a few
hours... Any
suggestions on what to look for?  Are there certain log files that
may
contain information on this?  I think the most recent thing I did to
the
server was several weeks ago, when I installed "wusage" to analyze
web
logs... i had since deleted it.  Maybe something went wrong there?
Hmmm
Thanks!
-antonio
>I have also noticed two processes running that I hadn't seen
before:
>
>6 con  Is+0:00.11 sh /etc/rc autoboot
>447 con  I+ 0:00.00 sh /etc/rc autoboot
>
Errors when trying to access a php/mysql driven website
>>>Warning:  open(/tmp/sess_4a23ba911863d07812e9cdf99656586f,
O_RDWR)
>>>failed: Device not configured (6) in
>>
>>>Warning:  open(/tmp/sess_4a23ba911863d07812e9cdf99656586f,
O_RDWR)
>>>failed: Device not configured (6) in Unknown on line 0
>>>  Warning:  Failed to write session data (files). Please verify
that the
>>>current setting of session.save_path is correct (/tmp) in Unknown
on line
>>>0
>>>===
>>>
>>>I then try to login via ssh... but I get "Connection closed by
[my ip]".
>>
>>It seems to me there is something wrong with your /tmp filesystem,
causing
>>both php and apache to be unable to write temp files, and also
causes
>>problems for several other daemons.
_
Groove on the latest from the hot new rock groups!  Get downloads,
videos,
and more here.
http://special.msn.com/entertainment/wiredformusic.armx
___
[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]"
_
Has one of the new viruses infected your computer?  Find out with a FREE 
online computer virus scan from McAfee. Take the FreeScan now!  
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

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


Re: Help me... (php)

2004-01-26 Thread Kevin D. Kinsey, DaleCo, S.P.
Ví­ctor Gutiérrez Cruz wrote:

Hello

I have problems when executing make

Non find port PDFlib-Lite-5.0.0-Unix-src.tar.gz  in the Ports of website,
you have a copy of port.
Thanks...



$ cd /usr/ports/lang/php4-cli
$ pwd
/usr/ports/lang/php4-cli
$ make
===>   php4-cli-4.3.2.r4 depends on file: /usr/local/lib/libcrack.a - 
found
===>   php4-cli-4.3.2.r4 depends on executable: libtool - found
===>   php4-cli-4.3.2.r4 depends on executable: bison - found
===>   php4-cli-4.3.2.r4 depends on shared library: curl.2 - found
===>   php4-cli-4.3.2.r4 depends on shared library: xml2.5 - found
===>   php4-cli-4.3.2.r4 depends on shared library: xslt.1 - found
===>   php4-cli-4.3.2.r4 depends on shared library: freetype.9 - found
===>   php4-cli-4.3.2.r4 depends on shared library: png.5 - found
===>   php4-cli-4.3.2.r4 depends on shared library: jpeg.9 - found
===>   php4-cli-4.3.2.r4 depends on shared library: Xpm.4 - found
===>   php4-cli-4.3.2.r4 depends on shared library: gdbm.3 - found
===>   php4-cli-4.3.2.r4 depends on shared library: intl.4 - found
===>   php4-cli-4.3.2.r4 depends on shared library: gmp.6 - found
===>   php4-cli-4.3.2.r4 depends on shared library: iconv.3 - found
===>   php4-cli-4.3.2.r4 depends on shared library: c-client4.8 - found
===>   php4-cli-4.3.2.r4 depends on shared library: gds.1 - found
===>   php4-cli-4.3.2.r4 depends on shared library: mcal.0 - found
===>   php4-cli-4.3.2.r4 depends on shared library: mcve.3 - found
===>   php4-cli-4.3.2.r4 depends on shared library: mcrypt.8 - found
===>   php4-cli-4.3.2.r4 depends on shared library: mhash.2 - found
===>   php4-cli-4.3.2.r4 depends on shared library: ming.3 - found
===>   php4-cli-4.3.2.r4 depends on shared library: mysqlclient.14 - 
found
===>   php4-cli-4.3.2.r4 depends on shared library: ldap.2 - found
===>   php4-cli-4.3.2.r4 depends on shared library: pdf.5 - not found
===>Verifying install for pdf.5 in /usr/ports/print/pdflib

PDFlib-Lite-5.0.0-Unix-src.tar.gz doesn't seem to exist in 
/usr/ports/distfiles/.
/usr/ports/distfiles is not writable by you; cannot fetch.

*** Error code 1

Stop in /usr/ports/print/pdflib.
*** Error code 1
Stop in /usr/ports/lang/php4-cli.
*** Error code 1


You must be logged in as the superuser (or 'root') in
order to build ports.  That's the only problem here.
Kevin Kinsey
DaleCo, S.P.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


php on freebsd tutorial

2004-01-26 Thread charles pelletier
hey all,

i just installed php 4.0.6 on my freebsd (4.8) box. is there a good tutorial 
site anywhere for php on freebsd? i am using webmonkey for a general 
tutorial but was curious if there is one geared toward freebsd users.

--charlie

_
Set yourself up for fun at home!  Get tips on home entertainment equipment, 
video game reviews, and more here.   
http://special.msn.com/home/homeent.armx

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


Re: Kernel Panic on Install

2004-01-26 Thread Jason Stewart
On 20/11/03 01:24 -0500, Todd Kennedy wrote:
> Hello...
> 
> I'm trying to install FreeBSD 4.9 (from the Mini CD ISO) on my system, 
> yet the instant it tries to load the driver for my ethernet card, it 
> has a Fatal trap 12.
> 

Hi Todd,

Did you try testing your memory extensively? I've had bad memory work
fine in one OS and perform really badly in another. Memtest86
(http://www.memtest86.com/) has worked well for me in the past, but
I've had times when it wouldn't work, especially when the BIOS
reserves a chunk of memory that happens to be bad :)

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


Re: Weird Problem...

2004-01-26 Thread Lowell Gilbert
Please don't top-post.

Peter Elsner <[EMAIL PROTECTED]> writes:

> Thanks, that's my next attempt.  I don't have NAT running right now,
> but didn't think it was required unless I have the firewall enabled.
> I usually enable that after I get everything else up and running.

NAT has nothing to do with firewalling.  For efficiency reasons, they
are often done in the same place, as with ipfw being the way that
packets get fed into natd, but they are functionally unrelated.

Please read the "Network Address Translation" chapter in the FreeBSD
handbook.  
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Network messaging

2004-01-26 Thread Marty Landman
At 04:21 PM 11/19/2003, Feltis, Ralph C. wrote:
Ahh yes, I see how preparing an elegant solution would provide greater
flexibility.  However, Cordula's solution (ssh [EMAIL PROTECTED] strings
somefile) is about a 15 second fix, whereas setting up a server is, well,
not so much a 15 second fix.
Cant' blame me for trying though. BTW can't you easily rig up something to 
keep the account MOTD's current with whatever the latest images are?

Marty Landman   Face 2 Interface Inc 845-679-9387
Sign On Required: Web membership software for your site
Make a Website: http://face2interface.com/Home/Demo.shtml
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Formatting an email for this list using vi

2004-01-26 Thread Gary
Hi Frederick,

--On Monday, November 17, 2003 09:58:00 AM +1100 Frederick Bowes 
<[EMAIL PROTECTED]> wrote:

I have just started learning to use vi, and remember someone posting
something a while ago about how to re-format an email reply to have proper
60 character width or something like that, does anyone remember how that
is done?
Well, I use VIM instead of VI, it is an "enhanced version"

For automatic settings, set up a .vimrc file in your home dir.

Add in:

:set tw=74 (to set your text width)

Or you can add this in manually on the VI command line after starting it.

Now to refomat an email, while preserving the > on previous quoted text, 
type in ESC gqip

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


Re: unrecognized hardware with 5.1

2004-01-26 Thread Olaf Hoyer
On Sun, 16 Nov 2003, Kent Stewart wrote:

> On Sunday 16 November 2003 08:17 am, Jackie S. McCracken wrote:
> > I'm trying to build a Dell 1750 with 5.1.  After the kern and mfsroot
> > floppies have loaded and the system starts to come up it reports an
> > unrecognized chip set then once I try to run the ftp utility to load a
> > minimum configuration it cannot see the NIC interface i.e. it's not part of
> > the choices for the download.  The system came with a driver disk for the
> > Broadcom NIC which is a 5704 gigabit interface but it only has drivers for
> > Windows, Linux, and some other OS's but nothing for FreeBSD.  According to
> > the Dell info it is a ServerWorks GC LE Chipset with 2:1 memory
> > interleaving.  How do I get the system to run?  I need to get it up and
> > running ASAP.
HI!

The driver for the bge 5704 was introduced shorty before 4.9-Prerelease.

So you have to upgrade your sources, so that basically the bge driver
knows about the particular different pci id of the 5704 chip.

I had 4-stable on it, so I installed 4.8-R, put in a 3com 905 (which was
lying around, any 3.3V-Card will do) and cvsup'ed to 4.9-pre.

After make world anything was fine, and i pulled the 3com.

I don't know about 5.1, if tracking releng_51 will do the job.

Or you take the relevant pieces of the bge driver from -current, merge
them into your sources for 5.1.
I never did it, so YMMV.

HTH
Olaf



-- 
Olaf Hoyer[EMAIL PROTECTED]
Fuerchterliche Erlebniss geben zu raten,
ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist.
(Nietzsche, Jenseits von Gut und Boese)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: video guru needed - installing driver for ATI 3D Rage IIC AGP

2004-01-26 Thread Olivier Cherrier
>-Message d'origine-
>De : Charles Howse [mailto:[EMAIL PROTECTED]
>Envoyé : jeudi 13 novembre 2003 17:26
>À : Questions
>Objet : video guru needed - installing driver for ATI 3D Rage IIC AGP
>
>
>Hi,
>I've done as much research as I can on this, I need to enable 
>xv support for 
>my video card, so that I can play videos full-screen in Kmplayer.
>If I'm going about this wrong, let me know.
>
>According to the XFree86 log,
>It seems the place to go is http://gatos.sf.net
>I've been there, and downloaded the ATI-4.3.0-10.i386.tar.gz drivers.
>These seem to be the ati drivers for XF86 4.3.0.
>I've expanded them inside Konqueror to see if there is a 
>README, and there 
>isn't.
>
>Before I totally screw up my display, I was wondering
>Has anyone successfully installed these drivers for the same 
>card that I have? 
>ATI 3D Rage IIC AGP (8 mb ram)
>Do they work?
>How must they be installed?
>Is there any documentation online?

Why not using ports ?

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


Re: Mount SMB share on bootup

2004-01-26 Thread Edward Epstein
Lines prefixed with ">" are what Chirhart, Brian wrote.

>Ed - that worked great... Thanks!!
>
>I am not sure what I did, but it worked.
>
>What language is that script in?  It isn't perl - is it C?

No, it's a simple bourne script. If you put "bourne shell scripting" into 
Google, you will get tutorials and information.

You could write an rc.d script in perl if you wanted to. The scripts in /usr/
local/etc/rc.d need to match the following rules in order to be executed at 
system startup/shutdown:

(taken from the rc man page)

o   Scripts are only executed if their basename(1) matches the shell
 globbing pattern *.sh, and they are executable.  Any other files or
 directories present within the directory are silently ignored.
 o   When a script is executed at boot time, it is passed the string
 ``start'' as its first and only argument.  At shutdown time, it is
 passed the string ``stop'' as its first and only argument.  All rc.d
 scripts are expected to handle these arguments appropriately.  If no
 action needs to be taken at a given time (either boot time or shut-
 down time) the script should exit successfully and without producing
 an error message.
 o   The scripts within each directory are executed in lexicographical
 order.  If a specific order is required, numbers may be used as a
 prefix to the existing filenames, so for example 100.foo would be
 executed before 200.bar; without the numeric prefixes the opposite
 would be true.


>-Original Message-
From: Edward Epstein [mailto:[EMAIL PROTECTED]
>Sent: Monday, November 10, 2003 5:43 PM
>To: Chirhart, Brian; [EMAIL PROTECTED]
>Subject: Re: Mount SMB share on bootup
>
>
>Lines prefixed with ">" are what Chirhart, Brian wrote.
>
 point is password protected (on the XP side) so I am prompted for a
 password.  How can I automate that?  Or should I create the share
>
>without
>
>>a
>>
 password?  I am not too worried about internal security so the share
>>
>>could
>>
 have no password and that would be fine.
>>>
>>>Create a script called whatever.sh, chmod +x 755 whatever.sh and put that
>>>script in a /usr/local/etc/rc.d.
>>>
>>>Put the following lines in that script
>>>
>>>#!/bin/sh
>>>smbmount username=user password=pass and the rest of the parametars that
>>
>>you
>>
>>>are normaly using when mounting smb partition.
>>>
>>>Mind that if your startup script for samba is samba.sh your mounting
>
>script
>
>>>must start with a letter after the letter s otherwise you would mounting a
>>>samba share without smb daemon started.
>>
>>
>>
>>When I try the smbmount I get a "command not Found"
>>
>>I checked the man pages on mount and found mount_smbfs, but I can not find
>>any options that would allow me to specify a username and password.
>>
>>I am not using Samba (at least I didn't load it... may be there by
>>default???) - To map the drive I have a line in my /etc/fstab file that
>>reads:
>>
>># Device  #Mountpoint FSType  OPtion
>>//[EMAIL PROTECTED]/share /ftprootsmbfs   rw.nosuto   0   0
>>
>>Once the server boots, I type "mount /ftproot" and then it asks me for the
>>password for User.  After the password is entered, /ftproot contains the
>>contents of the share on my XP system.  It was one of the things that I
>
>fell
>
>>in love with about BSD - the ability to "see" XP shares with no special
>>"magic".
>>
>>So anyway - I think there are several different approaches to this.  Can I
>>modify my fstab file so that "auto" would work by somehow specifing a
>>password?  Or is there a password option that I am missing in the mount or
>>mount_smbfs commands?  OR...  is there a reason I don't have the smbmount
>>command?
>
>You are on the right track; it took me a while to figure this one out too.
>
>You've got your /etc/fstab file set up correctly. This is how the line for
>me
>looks, it's just like yours.
>
>//[EMAIL PROTECTED]/SHARE  /mnt/chaos  smbfs   rw,noauto   0   0
>
>To specify your username and password for the mount, you should create
>/etc/nsmb.conf  the syntax for this file is shown in
>/usr/share/examples/smbfs/dot.nsmbrc
>
>Here is an example from my machine:
>
>#nsmb.conf
>[CHAOS]
>addr=10.0.3.3
>
>[CHAOS:EDWARD]
>password=X
>
>
>Finally, to mount on bootup, create a file in /usr/local/etc/rc.d with the
>following contents (or something similar; you probably didn't name your
>share
>CHAOS):
>
>[EMAIL PROTECTED] more /usr/local/etc/rc.d/010.chaos.sh
>#! /bin/sh
>
>
>case "$1" in
>
>start)
>echo "  Mounting CHAOS..."
>mount /mnt/CHAOS &>2
>;;
>
>stop)
>echo "  Unmounting CHAOS..."
>umount /mnt/CHAOS &>2
>;;
>
>esac
>
>
>Also, I make sure my /etc/nsmb.conf file is owned by root and chmod'ed 600
>because it conta

Turtle Beach sound card

2004-01-26 Thread LM
Has anyone had any luck getting the Turtle Beach Santa Cruz sound card
working under FreeBSD?

I added device pcm and device csa to the kernel and rebuilt it.  I did a
./MAKEDEV snd0.  I haven't been able to hear anything threw the
speakers.

dmesg.boot has the following info:
csa0:  mem 0xde00-0xde0f,0xde80-0xde800fff irq 9 at
device 9.0 on pci0
pcm0:  on csa0

Suggestions appreciated.  Thanks.


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


Re: MPD problems connecting to a Cisco 3000 concentrator

2004-01-26 Thread Joe Marcus Clarke
On Sun, 2003-11-09 at 19:16, Joe Marcus Clarke wrote:

> The packets aren't even going out on the wire, so the problem looks to
> be on the mpd side encrypting the packets (that is, in my sniffer trace,
> I never see any GRE packets going out to the concentrator).  

Sorry, I was sniffing on the wrong interface.  The packets are making it
across the wire.

Joe

> 

-- 
PGP Key : http://www.marcuscom.com/pgp.asc


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


FreeBSD 4.8 + DVD drive error

2004-01-26 Thread bryan cassidy
Just bought a Pioneer DVD drive. I hook the DVD drive
up, go to the bios and set everything to *defaults*
and make sure that *ATAPI CD-ROM drive* is set to the
first bootable device. I don't know why it says
ATAPI-CD-ROM drive. Shouldn't it say DVD cause I
replaced the cdrom with the dvd-rom? Well, after I do
that I reboot the system of course thinking it's gonna
boot my os and pick up the drive. Nope! I get a weird
error

acd0: MODE_SENCE_BIG command timeout - resetting
ata1: resetting devices .. done

I will keep doing that and doing that over and over.
Finally it will load the OS but the DVD drive will not
work. Currently I just hooked the cdrom drive back up
for now but want to put this $60 drive to some use ya
know? Don't know much about hardware. Some help is
really apprecaited. Thanks.

__
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Freebsd Server Reboots every so often

2004-01-26 Thread chris souza
Hello,

My server keeps rebooting every so often. I'm running

FreeBSD 4.5-RELEASE FreeBSD 4.5-RELEASE #0: Wed May  1
21:54:31 GMT 
2002

Here are the messages from my logs, any help would be
appreciated. Thanks 
Chris



Nov  4 19:25:12 ns /kernel: ad0s1f: hard error reading
fsbn 51718335 of 
22787136-22787150 (ad0s1 bn 51718335; cn 3219 tn 80 sn
60) status=59 
error=40
Nov  4 19:25:12 ns /kernel:
spec_getpages:(#ad/0x20005) I/O read 
failure: (error=5) bp 0xc50828d4 vp 0xcaf02b40
Nov  4 19:25:12 ns /kernel: size: 7680, resid: 7680,
a_count: 7616, 
valid: 0x0
Nov  4 19:25:12 ns /kernel: nread: 0, reqpage: 0,
pindex: 0, pcount: 2
Nov  4 19:25:12 ns /kernel: vm_fault: pager read
error, pid 1346 
(httpd)
Nov  4 19:31:05 ns /kernel: ad0s1f: hard error reading
fsbn 51721919 of 
22788928-22788942 (ad0s1 bn 51721919; cn 3219 tn 137
sn 53) status=59 
error=40
Nov  4 19:31:05 ns /kernel:
spec_getpages:(#ad/0x20005) I/O read 
failure: (error=5) bp 0xc50828d4 vp 0xcaf02b40
Nov  4 19:31:05 ns /kernel: size: 7680, resid: 7680,
a_count: 7527, 
valid: 0x0
Nov  4 19:31:05 ns /kernel: nread: 0, reqpage: 0,
pindex: 0, pcount: 2
Nov  4 19:31:05 ns /kernel: vm_fault: pager read
error, pid 1347 
(httpd)
Nov  4 20:25:14 ns sendmail[14439]: hA4KPC314437:
SYSERR(root): MX list 
for lasvegas-hotels4less.com. points back to
ns.lodge4less.com
Nov  4 20:33:47 ns /kernel: ad0s1f: hard error reading
fsbn 51721919 of 
22788928-22788942 (ad0s1 bn 51721919; cn 3219 tn 137
sn 53) status=59 
error=40
Nov  4 20:33:47 ns /kernel:
spec_getpages:(#ad/0x20005) I/O read 
failure: (error=5) bp 0xc5081d28 vp 0xcaf02b40
Nov  4 20:33:47 ns /kernel: size: 7680, resid: 7680,
a_count: 7527, 
valid: 0x0
Nov  4 20:33:47 ns /kernel: nread: 0, reqpage: 0,
pindex: 0, pcount: 2
Nov  4 20:33:47 ns /kernel: vm_fault: pager read
error, pid 1348 
(httpd)
Nov  4 21:05:00 ns /kernel: Copyright (c) 1992-2002
The FreeBSD 
Project.
Nov  4 21:05:00 ns /kernel: Copyright (c) 1979, 1980,
1983, 1986, 1988, 
1989, 1991, 1992, 1993, 1994
Nov  4 21:05:00 ns /kernel: The Regents of the
University of 
California. All rights reserved.
Nov  4 21:05:00 ns /kernel: FreeBSD 4.5-RELEASE #0:
Wed May  1 21:54:31 
GMT 2002



__
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


[no subject]

2004-01-26 Thread Сергей Куликов
Hello freebsd-questions,

  

-- 
Best regards,
 Сергей  mailto:[EMAIL PROTECTED]
















freebsd-questions subscription

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


Confirmation of subscribe request for the freebsd-current mailing list

2004-01-26 Thread freebsd-current-confirm+2fd94afba887d9143470195b200cd2fbd68b9ce5
Mailing list subscription confirmation notice for mailing list
freebsd-current

We have received a request from 216.136.204.117 for subscription of
your email address, "[EMAIL PROTECTED]", to the
[EMAIL PROTECTED] mailing list.  To confirm that you want to
be added to this mailing list, simply reply to this message.  Or visit
this web page:


http://lists.freebsd.org/mailman/confirm/freebsd-current/2fd94afba887d9143470195b200cd2fbd68b9ce5


Or include the following line -- and only the following line -- in a
message to [EMAIL PROTECTED]:

confirm 2fd94afba887d9143470195b200cd2fbd68b9ce5

Note that simply sending a `reply' to this message should work from
most mail readers, since that usually leaves the Subject: line in the
right form (additional "Re:" text in the Subject: is okay).

If you do not wish to be subscribed from this list, please simply
disregard this message.  If you think you are being maliciously
subscribed to the list, or have any other questions, send them to
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Overheating attributed to Freebsd --sysctl variables not available--

2004-01-26 Thread Matthew Seaman
On Mon, Nov 03, 2003 at 09:53:29PM -0500, Jud wrote:
> On Mon, 3 Nov 2003 19:57:38 -0500, nw1 <[EMAIL PROTECTED]> wrote:

> >>> Basically, the machine is overheating (I believe)
> >>> because the cpu's aren't cycling down.
> >>> Previously I was able to cycle the processors down
> >>> with the following sysctl variables:
> >>>
> >>> machdep.apm_suspend_delay:
> >>> machdep.apm_standby_delay:
> >>>
> >>> however, for some reason those variables currently,
> >>> aren't any where to be found by the
> >>> up_and_running system.  Please use the hyperlink
> >>> above for details.

> You may want to have a look at /usr/ports/sysutils/fvcool.  (If you'd like 
> a script to run it on startup, Dr. Matthew Seaman posted one to the 
> mailing list some months ago - January?)

Indeed I did.  You can download it from

http://www.infracaninophile.co.uk/fvcool.tgz

One of these days I must a) update the script to use the rcNG stuff
and b) submit it to the maintainer of the fvcool port.

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


pgp0.pgp
Description: PGP signature


TTF editor for FreeBSD?

2004-01-26 Thread Cordula's Web
Hello,

I'm looking for a ttf (truetype fonts) editor on FreeBSD.
Any idea?

Thanks.

-- 
Cordula's Web. http://www.cordula.ws/

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


Re: Load Average more than 400

2004-01-26 Thread Daniela
On Tuesday 28 October 2003 17:05, Varshavchick Alexander wrote:
> Hi gurus,
>
> can you please hint as what parameters I have monitor to find the cause of
> sudden splashes of load of a FreeBSD 4.6.2-RELEASE server? This box is
> acting as a database/mysql server and periodically goes up to 400 of load
> average values and then gradually returns to a normal 4-5 value. The
> server is a dual Xeon with 4G phisical memory, mysql 4.0.7/linuxthreads.
> During the highest load, the amount of Inact memory remains of about 2G,
> and swap is used only minimally, so this cannot be the case. There are no
> messages in a system log or mysql log.
>
> Any help is greatly appreciated, thanks is advance


Watch your top (or ps -ax) output. Anything odd there?

Daniela

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


5.1 Works but 4.x fails .. :s

2004-01-26 Thread Wout A.
Hi,
I'm trying to install FreeBSD 4.9-RC4 on a amd k6/2 333mhz with a seagate 10gb hdd
and 64M ram.
When I partition my hdd and it 'should' start formatting the disk, I get these errors:

"Unable to swap to /dev/ad0s1b: invalid arg"
"Unable to make new root fs on /dev/ad0s1a!"
"Couldn't make fs properly. Aborting"

while i get this in my debug screen :

ad0 coudln't find label (disk label corrupted)
ad0s1 coudln't find label (disk label corrupted)
DEBUG Scanning disk ad0 for root fs / swap partitions
can't open /dev/ad0s1a: invalid arguments

I get the same with FreeBSD 4.6-R and 4.8-R, but in OpenBSD 3.3 and FreeBSD 5.1 it
works flawless... I don't understand, isn't there a way for me to install FreeBSD 4.x 
???

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


Re: pop3 and socket 110

2004-01-26 Thread Robin Schoonover
On Sun, 26 Oct 2003 17:23:34 -0800, Gary Kline <[EMAIL PROTECTED]> wrote:
>   Trying to install a GUI MUA has me wedged ... and lost!!
> 
>   I've been trying to get the mozilla mail/news suite to 
>   work for a long time--well, on and off!  I finally
>   installed cucipop on NS1.THOUGHT.ORG and tried to start it.
> 
>   [EMAIL PROTECTED]:/usr/local/etc/rc.d#/usr/local/libexec/cucipop -Y
>   cucipop: Can't bind socket 110
>

Something is probably already listening on port 110.  Check sockstat -l (if
it's FreeBSD, or check to see if something in inetd is grabbing it...).

> 
>   NS1 had a valid IP address; my two other systems are internal,
>   private, invisible from the outside.  At any rate, after some
>   pondering I altered the 'news and mail' configuration.  Voila;
>   mail *is* sent out (in HTML).  But not received... (???)
>   /var/mail/kline is my spool; mozilla can't see this for some
>   reason.  
> 

mozilla doesn't know about these sort of mailboxes.  It only knows about
imap and pop3.

>
>   evolution refuses to build because some of the GNOME libs
>   won't upgrade.  (Of my 400 ports, just 11 seem broken.)
>   Can anybody recommend a GUI mail program that doesn't have
>   so many dependencies?
> 

portupgrade might help your GNOME libs upgrade.  Anyhow, I use
sylpheed-claws (basically the more cutting edge version of sylpheed).

>   1.) Do I really need pop3? 

If you want to use mozilla.

>   2.) How do I get the mozilla mail to recognize the mail in my spool
>   dir?

You probably don't.

>   3.) What is a decent MUA?

that's debatable.  I consider what I use to be decent :P 

-- 
Robin Schoonover (aka End)
#
# There was a power outage at a department store yesterday.  Twenty
# people were trapped on the escalators.  -- Stephen Wright
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 0: unknown option "MAXUSERS" & config

2004-01-26 Thread Ben Palumbo
Thanks for the suggestions, now I get a new and different error:
 
palumbo# cd /usr/src
palumbo# make buildkernel KERNCONF=SECONDKERNEL
make: don't know how to make buildkernel. Stop

also I noticed that 
/usr/src/sys/i386/conf/LINT 
is not there. Just wondering if I should re-download some of the /usr/src tree

 

Thanks,

Ben

DavidB <[EMAIL PROTECTED]> wrote:
Please run method two from the Handbook (which is the preferred way in 
my book) and let us know if the results are the same.

Procedure 2. Building a Kernel the ``New'' Way

1. Change to the /usr/src directory.

# cd /usr/src

2. Compile the kernel.

# make buildkernel KERNCONF=MYKERNEL

3. Install the new kernel.

# make installkernel KERNCONF=MYKERNEL

Thanks,
David


Ben Palumbo wrote:
> Hello, 
> 
> I am trying to complie a new kernel for IPsec and having problems with config(8)
> palumbo# /usr/sbin/config SECONDKERNEL
> SECONDKERNEL:0: unknown option "MAXUSERS"
> 
> 
> machine i386
> cpu I586_CPU
> ident SECONDKERNEL
> maxusers 15
> 
> Looking at past mailing list/newgroups others have suggested setting maxusers to 0, 
> and this still does not work. 
> Any suggestions?
> Thanks,
> Ben Palumbo
> 
> 
> uname -a 
> FreeBSD mydonmain.net 4.7-RELEASE FreeBSD 4.7-RELEASE #0: Sun Jan 19 20:02:57 EST 
> 2003 [EMAIL PROTECTED]:/usr/src/sys/compile/FIRSTKERNEL i386
> 
> 
> 
> -
> Do you Yahoo!?
> Exclusive Video Premiere - Britney Spears
> ___
> [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]"

-
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Mozilla crashes with ASP sites

2004-01-26 Thread Brian Reichholf
i've been googleing on this for quite a while now, and i find it rather 
annoying:
i've just installed mozilla 1.5 from the ports a day or two ago but it 
strikes me as _very_ odd that when i load up an .asp page that mozilla 
crashes entirely.

has anybody else experienced this problem?
or does anybody by any chance know how i can fix it?
thanks in advance,
cheers,
-Brian
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Upgrading the kernel

2004-01-26 Thread Robert H. Perry
Ryan Thompson wrote:

Robert H. Perry wrote to FreeBSD-Questions:

 

I'm upgrading from 4.7 RELEASE to 4.8 RELEASE soon.  My understanding
is that once you have built the world with buildworld, it's time to
build and install the new kernel.
   

In your scenario, yes, you'll definitely want to build a new kernel. In
fact, I hope you elected to go with the security branch (RELENG_4_8), so
that you get the 13 or so security related fixes that have been applied
since 4.8 was released.
Hadn't intended to, but now I'll have to consider it.  This is my first 
upgrade and I was sticking with the basics.

 

My current kernel is customized with a sound card device and nothing
else.
   

That's fine; you can continue to use your kernel config.
(/usr/src/sys/i386/conf/WHATEVERYOUCALLEDYOURKERNELCONFIG)
 

The  FreeBSD Handbook indicates that the safest way to do this is to
build and install a kernel based on GENERIC.  After booting from
GENERIC and verifying that your system works you can then customize
your kernel.
   

Well, you can if you want, but you won't have any issues from 4.7 ->
4.8. I'd just go with your custom kernel config.
 

Can I use the commands, # make buildkernel and # make installkernel,
or are #make buildkernel KERNCONF=GENERIC and # make installkernel
KERNCONF=GENERIC the correct commands?
   

Have you specified KERNCONF in /etc/make.conf?

No.

If not, then it defaults
to GENERIC. In your case, though, again, you shouldn't have any problems
building from your custom conf.
Just to clarify then, is the following OK:

# cd /usr/src
# make buildkernel KERNCONF=CUSTOM
# make installkernel KERNCONF=CUSTOM
CUSTOM is the name of my kernel config file.

- Ryan

 



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


Re: Fwd: Help: tar & find

2004-01-26 Thread Matthew Seaman
On Thu, Oct 23, 2003 at 08:25:20AM -0600, Steve D wrote:
> On Wed, Oct 22, 2003 at 10:43:50PM -0600, Scott Gerhardt wrote:
> > I am having trouble combining the tar and find command.  I want to
> > tar and
> > delete all .bak,.Bak,.BAK files.
> >
> > I am using the following command but keep receiving errors.
> [...]
> > The script is as follows
> > =
> > #! /bin/bash
> > set +x
> > TAR_DIR=/home/tarbackups;
> > FILES_DIR=/home/common;
> > tar --remove-files -cvzpf $TAR_DIR/bak_files_`date +%F`.tar.gz\
> >   `find $FILES_DIR -xdev -type f -iname "*.bak"`;
> > ==
> [...]
> > Here is some error output returned:
> >
> > tar: jobs/ROOF: Cannot stat: No such file or directory
> > tar: LAYOUTS/RESIDENTIAL/FRASER/219: Cannot stat: No such file or
> > directory
> > tar: LEWIS: Cannot stat: No such file or directory
> > tar: CRES.bak: Cannot stat: No such file or directory
> [...]
> 
> --- --- ---
> 
> Matthew Seaman <[EMAIL PROTECTED]> replied:
> > The problem is that you have file/directory names like 'ROOF LAYOUTS'
> > which contain spaces and possibly other filenames containing
> > characters with syntactic significance to the shell.
> >
> > Try:
> >
> > find $FILES_DIR -xdev -type f -iname "*.bak -print0 | \
> > xargs -0 tar --remove-files -cvzpf $TAR_DIR/bak_files_`date
> > +%F`.tar.gz
> >
> 
> --- --- ---
> 
> Would the following approach also work? (Have sed surround each item
> returned by the find command with single quotes?)
> ---
> #! /bin/bash
> set +x
> TAR_DIR=/home/tarbackups;
> FILES_DIR=/home/common;
> tar --remove-files -cvzpf $TAR_DIR/bak_files_`date +%F`.tar.gz\
> `find $FILES_DIR -xdev -type f -iname "*.bak" | sed "s/\(^.*$\)/'\1'/"`;
> ---
> 
> or the backticks in the last line replaced with the newer alternative "$()":
> 
> "$( find $FILES_DIR -xdev -type f -iname "*.bak" | sed "s/\(^.*$\)/'\1'/" )" ;
> 
>  
> Do the characters \ * $ in sed's argument need to be quoted further,
> to protect them from interpretation by the shell? The "find" portion
> of the command works correctly, as written above, on my FreeBSD machine
> using /bin/sh or /usr/local/bin/bash, but I don't know why those 
> characters in sed's argument don't need to be further escaped.

You've apparently got double quotes inside a double quoted string.
That doesn't work.

Trying to enclose the output of find in quote marks will sort of work,
but it's generally found to be flaky.  Especially when the filenames
you're dealing with also contain quotation marks of various types or
return characters.  This is exactly why the '-print0' primitive for
find(1) was invented: it puts out a list of file names separated by
ascii NULL characters, which is one of the two ascii characters you
can't get in a filename. (The other is '/' -- the directory
separator).

The other great advantage of xargs(1) is that it knows how many
command line arguments it can supply to it's dependent command, and it
will chop up a long argument list into managable chunks.
Unfortunately the particular tar(1) command you're using can't be
restarted in that way so it doesn't help here. You'ld only run into
this problem if you were trying to backup many thousands of files, in
which case your quoting the output of find trick would suffer in
exactly the same way.

There are many ways to solve that problem, should you encounter it.
But I'll leave you to discover those for yourself if you need to.

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


pgp0.pgp
Description: PGP signature


Re: problem with "afd0: reading primary partition table: error reading fsbn 0"

2004-01-26 Thread Lowell Gilbert
yew chin <[EMAIL PROTECTED]> writes:

> yeah, i just install freebsd 4.8 and i have a floppy
> disk. So, is the floppy disk causing the problem?
> or is there any fix for this?

afd0 isn't a normal floppy disk.  If you have a typical
floppy disk, you should be able to just disable the afd0
device completely in the kernel configuration screen (or
leave it out of a rebuild kernel completely).

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


RE: How to get out of Africa?

2004-01-26 Thread Scott Hiemstra
Become root

cd /stand
./sysinstall
select "Configure"
select "Time Zone"
And that will put you into the same interface you selected africa with.

Have fun,
Scott



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Wayne M Barnes
Sent: Tuesday, October 21, 2003 2:25 PM
To: [EMAIL PROTECTED]
Subject: How to get out of Africa?


Dear FreeBSD,

   During installation, I accidentally hit Africa for my timezone.

   I have looked all over the documentation, and I cannot find
out to reset my time zone.

   Does anybody else know?  I installed 5.1 from the CD.

   Thank you,

 Wayne
___
[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]"


BIND 9.2.3 error in chroot

2004-01-26 Thread Robert Fitzpatrick
Installed the BIND 9.2.3 port and trying to setup in chroot, getting
this error:

 unable to convert errno to isc_result: 6:

I found info on the web about generating the /dev/random correctly for
the version I am running. I used 'mknod random c 2 3'. I followed this
example, but still getting the error:

http://freebsd.mu/freebsd/archives/2003/01/31/chroot_bind_9_on_freebsd_50

-- 
Robert

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


Firebird & java1.4.2 does NOT work!

2004-01-26 Thread Jeff Vehrs
Problem: java plugin for firebird does not work

o uname -rs:
FreeBSD 4.9-RELEASE-p1
o pkg_info:
javavmwrapper-1.4   Wrapper script for various Java Virtual Machines
linux-sun-jdk-1.4.2.03 Sun Java Development Kit 1.4 for Linux
linux-mozillafirebird-0.7 Web browser branched from Mozilla
linux-mozilla-1.5   Browser, HTML editor, MUA and newsreader for use
with Linux
o error message:
LoadPlugin: failed to initialize shared library libXt.so [libXt.so:
cannot open shared object file: No such file or directory]
LoadPlugin: failed to initialize shared library libXext.so [libXext.so:
cannot open shared object file: No such file or directory]
LoadPlugin: failed to initialize shared library
/usr/local/linux-sun-jdk1.4.2/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so 

[libgcc_s.so.1: cannot open shared object file: No such file or directory]
LoadPlugin: failed to initialize shared library
/usr/local/linux-sun-jdk1.4.2/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so 

[libgcc_s.so.1: cannot open shared object file: No such file or directory]

o plugins directories: (links to
/usr/local/linux-sun-jdk1.4.2/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so)
~/.mozilla/plugins/libjavaplugin_oji.so
/usr/local/lib/linux-mozilla/plugins/libjavaplugin_oji.so
/usr/X11R6/lib/linux-mozillafirebird/plugins/libjavaplugin_oji.so
So far, I know java is working ... (command: java -version)
java version "1.4.2_03"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_03-b02)
Java HotSpot(TM) Client VM (build 1.4.2_03-b02, mixed mode)
I've searched google, freebsd mailing list & handbook for a solution.
None came up in the result. I've tried most java such as jre, jdk13,
jdk14, linux-sun-jdk13 & linux-sun-jdk14 from the ports collection.
I gave up. I don't know what's the next step to figure it out. Can
anyone please help me to get it working? Thank you.
/Jeff/

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


Re: macromedia plugin question

2004-01-26 Thread Gary Kline
On Mon, Jan 26, 2004 at 03:19:34PM -0500, Guillaume Paquet wrote:
> Gary Kline wrote:
> > 
> > Just wondering...  Is anybody working on a reverse-engineered
> > (100% clean) version of all this macromedia stuff?  ...
> 
> www/linuxpluginwrapper works with linux flash 6 and acrobat reader 5.
> 

I'm thinking of ports that work with native BSD suites.

gary

-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


Problem update 4.7 STABLE->4.9

2004-01-26 Thread Martin Schweizer
Hello

After make buildworld the following occurs:

mkmagic: magic, 35458: offset branch1.1.1; invalid
mkmagic: magic, 35458: type branch  1.1.1; invalid
mkmagic: magic, 35459: offset access; invalid
mkmagic: magic, 35459: type access; invalid
mkmagic: magic, 35460: offset symbols invalid
mkmagic: magic, 35460: type symbols invalid
mkmagic: magic, 35461: offset   RELENG_5_2_0_RELEASE:1.1.1.1 invalid
mkmagic: magic, 35461: type RELENG_5_2_0_RELEASE:1.1.1.1 invalid
mkmagic: magic, 35462: offset   RELENG_5_2:1.1.1.1.0.8 invalid
mkmagic: magic, 35462: type RELENG_5_2:1.1.1.1.0.8 invalid
mkmagic: magic, 35463: offset   RELENG_5_2_BP:1.1.1.1 invalid
mkmagic: magic, 35463: type RELENG_5_2_BP:1.1.1.1 invalid
mkmagic: magic, 35464: offset   RELENG_4_9_0_RELEASE:1.1.1.1.4.1 invalid
mkmagic: magic, 35464: type RELENG_4_9_0_RELEASE:1.1.1.1.4.1 invalid
mkmagic: magic, 35465: offset   RELENG_4_9:1.1.1.1.4.1.0.4 invalid
mkmagic: magic, 35465: type RELENG_4_9:1.1.1.1.4.1.0.4 invalid
mkmagic: magic, 35466: offset   RELENG_4_9_BP:1.1.1.1.4.1 invalid
mkmagic: magic, 35466: type RELENG_4_9_BP:1.1.1.1.4.1 invalid
mkmagic: magic, 35467: offset   RELENG_5_1_0_RELEASE:1.1.1.1 invalid
mkmagic: magic, 35467: type RELENG_5_1_0_RELEASE:1.1.1.1 invalid
mkmagic: magic, 35468: offset   RELENG_5_1:1.1.1.1.0.6 invalid
mkmagic: magic, 35468: type RELENG_5_1:1.1.1.1.0.6 invalid
mkmagic: magic, 35469: offset   RELENG_5_1_BP:1.1.1.1 invalid
mkmagic: magic, 35469: type RELENG_5_1_BP:1.1.1.1 invalid
mkmagic: magic, 35470: offset   RELENG_4_8_0_RELEASE:1.1.1.1.4.1 invalid
mkmagic: magic, 35470: type RELENG_4_8_0_RELEASE:1.1.1.1.4.1 invalid
mkmagic: magic, 35471: offset   RELENG_4_8:1.1.1.1.4.1.0.2 invalid
mkmagic: magic, 35471: type RELENG_4_8:1.1.1.1.4.1.0.2 invalid
mkmagic: magic, 35472: offset   RELENG_4_8_BP:1.1.1.1.4.1 invalid
mkmagic: magic, 35472: type RELENG_4_8_BP:1.1.1.1.4.1 invalid
mkmagic: magic, 35473: offset   RELENG_4:1.1.1.1.0.4 invalid
mkmagic: magic, 35473: type RELENG_4:1.1.1.1.0.4 invalid
mkmagic: magic, 35474: offset   RELENG_5_0_0_RELEASE:1.1.1.1 invalid
mkmagic: magic, 35474: type RELENG_5_0_0_RELEASE:1.1.1.1 invalid
mkmagic: magic, 35475: offset   RELENG_5_0:1.1.1.1.0.2 invalid
mkmagic: magic, 35475: type RELENG_5_0:1.1.1.1.0.2 invalid
mkmagic: magic, 35476: offset   RELENG_5_0_BP:1.1.1.1 invalid
mkmagic: magic, 35476: type RELENG_5_0_BP:1.1.1.1 invalid
mkmagic: magic, 35477: offset   file_3_39:1.1.1.1 invalid
mkmagic: magic, 35477: type file_3_39:1.1.1.1 invalid
mkmagic: magic, 35478: offset   ZOULAS:1.1.1; invalid
mkmagic: magic, 35478: type ZOULAS:1.1.1; invalid
mkmagic: magic, 35479: offset locks; strict; invalid
mkmagic: magic, 35479: type locks; strict; invalid
mkmagic: magic, 35480: offset comment   @# @; invalid
mkmagic: magic, 35480: type comment @# @; invalid
mkmagic: magic, 35483: type .1 invalid
mkmagic: magic, 35484: offset date  2002.09.16.05.54.25;author obrien;  state 
Exp; invalid
mkmagic: magic, 35485: offset branches invalid
mkmagic: magic, 35485: type branches invalid
mkmagic: magic, 35486: type .1.1.1; invalid
mkmagic: magic, 35487: offset next  ; invalid
mkmagic: magic, 35487: type next; invalid
mkmagic: magic, 35489: type .1.1.1 invalid
mkmagic: magic, 35490: offset date  2002.09.16.05.54.25;author obrien;  state 
Exp; invalid
mkmagic: magic, 35491: offset branches invalid
mkmagic: magic, 35491: type branches invalid
mkmagic: magic, 35492: type .1.1.1.4.1; invalid
mkmagic: magic, 35493: offset next  ; invalid
mkmagic: magic, 35493: type next; invalid
mkmagic: magic, 35495: type .1.1.1.4.1 invalid
mkmagic: magic, 35496: offset date  2003.03.16.04.44.56;author obrien;  state 
Exp; invalid
mkmagic: magic, 35497: offset branches; invalid
mkmagic: magic, 35497: type branches; invalid
mkmagic: magic, 35498: offset next  ; invalid
mkmagic: magic, 35498: type next; invalid
mkmagic: magic, 35501: offset desc invalid
mkmagic: magic, 35501: type desc invalid
mkmagic: magic, 35502: offset @@ invalid
mkmagic: magic, 35502: type @@ invalid
mkmagic: magic, 35505: type .1 invalid
mkmagic: magic, 35506: offset log invalid
mkmagic: magic, 35506: type log invalid
mkmagic: magic, 35507: offset @Initial revision invalid
mkmagic: magic, 35507: type @Initial revision invalid
mkmagic: magic, 35508: offset @ invalid
mkmagic: magic, 35508: type @ invalid
mkmagic: magic, 35509: offset text invalid
mkmagic: magic, 35509: type text invalid
mkmagic: magic, 35510: offset 
@#-- 
invalid
mkmagic: magic, 35510: type 
@#-- 
invalid
mkmagic: magic, 35528: offset @ invalid
mkmagic: magic, 35528: type @ invalid
mkmagic: magic, 35531: type .1.1.1 invalid
mkmagic: magic, 35532: offset log invalid
mkmagic: magic, 35532: type log invalid
mkmagic: magic, 35533: offset @Virgin import of Christos Zoulas's FILE 3.39. invalid

How to tell Fetch command to use specific port #

2004-01-26 Thread JJB
The Fetch command is an wrapper for FTP. 
It seems to default to passive mode because my firewall logs it 
going out on port 21 followed by the data channel on ports > 1024. 

Is there some way to force fetch to use port 5999 all 
the time for it's data channel? 

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


[kinda ot] writing the date into a file when saving it

2004-01-26 Thread rob_spellberg
dear sir or madam ---

this may be a vi question, but i'd like to be editor-independent, if possible.

i want to self-document source code files when i write them to disk.

this would include such things as path and modification time.

ideally, within vi, i would like to have :w run a script [ that i would write ]
  that does exactly what i want.
for years, i've been doing this more or less haphazardly during development,
  until i was satisfied that the file was in its final form.
then i would manually get it right and leave it alone.
but i'm writing too much right now to keep doing this manually and
  i'm something of a nut for documentation.
its easy enough to write a sed script to find a unique string and do a replacement.
its only slightly more involved to write a glorified version of touch
  [ which is kinda what i want, actually ].
maybe what i want is to go into vi [ or ex, or wherever ],
  find where :w is processed and cause it to look for a script to run.
i know about :so.
i know about !command.
neither are really "it".
i've been googling for about an hour and coming up almost completely empty.
maybe there's a jargon word for what i want that i don't know.
so to get to the question:  what do you folks do?

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


Re: Apple?

2004-01-26 Thread lbland
On Jan 26, 2004, at 3:55 PM, joost knetsch wrote:

i wonder if its possible to install freebsd on a apple computer?
I have a G4 500mhz  macintosh.
hi-

did you try darwin?

http://developer.apple.com/darwin/

-lance

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


Apple?

2004-01-26 Thread joost knetsch
Hello,

i wonder if its possible to install freebsd on a apple computer?
I have a G4 500mhz  macintosh.
??

i need it to config the machine as a 'node' for wireless internet distubution.


thanks joost knetsch


Mini and Apple is all what you need for a happy life.
And offcourse my girlfriend.:-P

www.minisevenclub.nl
www.apple.com/nl
www.macosx.nl
www.wirelessleiden.nl
www.wirelessnederland.nl
www.hotspot.nl
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Configuring IP address aliasing

2004-01-26 Thread Mike
Matthew Seaman wrote:

On Mon, Jan 26, 2004 at 08:40:18AM -0800, Mike wrote:

QUESTION: Why do I use a different netmask (255.255.255.255) for a IP 
alias on FreeBSD?  Why isn't 255.255.255.0 used?


It's all about routing of outgoing packets.  Unlike linux, you can't
use the route(8) command to set up a route to a directly attached
network.  All of the local routing is controlled through ifconfig(8)
-- when you run:
# ifconfig fxp0 inet 192.168.0.1 netmask 0xff00 broadcast 192.168.0.255 up

amongst other things, that establishes that interface as the route to
the 192.168.0.0/24 network.  It also says that the source address on
packets sent out of that interface will be 192.168.0.1
Now suppose you add an alias address on the same subnet:

# ifconfig fxp0 add 192.168.0.2 netmask 0x broadcast 192.168.0.255

Since the netmask is a /32 it says this interface is the route to the
specific single address.  It also means that the 192.168.0.2 address
is only used on outgoing packets from connections directly to the
alias address.  That's a bit of a simplification, as one of the
principle uses for alias addresses is to support jail(8)ed processes,
but it holds in general.
Could FreeBSD use exactly the same semantics as Linux or Solaris --
yes, sure.  But the FreeBSD way gives you a tad more control, and to
be honest, it's the way it is mostly because the people who wrote the
code thought that was the way it should be.  
Ah yes! What a great explanation.  Thanks Matthew.

Best Regards,
Michael
	Cheers,

	Matthew



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


web interface for a freebsd dial-up box

2004-01-26 Thread simon
I am currently using a Linux box running IPCOP to dial-up to my ISP.
I would like to upgrade to freebsd.  Is there a simple web interface
or perl script I can use with freebsd to bring dial-on-demand on/off.

I don't want to ssh into the freebsd box.

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


Re: Question about Postfix + Cyrus-IMAPD

2004-01-26 Thread Reko Turja
- Original Message - 
From: "Jason Williams" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>

> I've been able to get Postfix and Cyrus to gel correctly with my
recent
> testing. However, I have a question about one thing that continues
to pop
> up my my message logs.
>
> Jan 26 09:48:19 obsidian postfix/smtpd[6562]: OTP unavailable
because can't
> read/write key database /etc/opiekeys: Permission denied
>
> Anyone care to shed a little light as to why this was initially
showing up?

Cyrus (os SASL to be exact) tries to use OPIE as the loginmethod of
choice. (It's more secure plaintext method as sending the "real"
password over the net. Of course if you use TLS sending plaintext
password is small concern.

If you are not using/going to use OPIE there are several methods how
to get rid of these messages.

a) Just delete everything wchich name contains OPIE in
usr/local/lib/sasl2/
b) Build SASL using the "WITHOUT_OTP=yes" knob

In fact its a good idea to read through the main Makefile on the SASL
directory in the ports and disable the unneeded athorisation methods
using the port knobs.

-Reko

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


Re: Is there any way to decrease size of the partition?

2004-01-26 Thread Jeff Elkins
On Monday 26 January 2004 2:40 pm, Jonathan Chen wrote:
>On Mon, Jan 26, 2004 at 10:01:08PM +0300, Vasenin Alexander aka BlackSir 
wrote:
>> I need to downgrade one of my FreeBSD systems. Now it hosted by comp with
>> 40Gb HDD. 'New' computer cannot handle such big HDD, maximum - 32Gb. So,
>> I'll plan to set 32_Gb_clip jumper on this drive. The question is - is
>> there any way do decrease size of /usr partition from 36Gb to 28Gb(It
>> almost free now).
>
>Back up. Reinstall. Repartion. Restore.

So, no analog of qtparted (a partition magic clone) for FreeBSD?

Jeff


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


Re: macromedia plugin question

2004-01-26 Thread Guillaume Paquet
Gary Kline wrote:
On Mon, Jan 26, 2004 at 10:15:06PM +1100, Gautam Gopalakrishnan wrote:

On Mon, Jan 26, 2004 at 07:26:31PM +1300, Jonathan Chen wrote:

On Mon, Jan 26, 2004 at 01:23:12AM +, marlon corleone wrote:

We are unable to locate a single Web player that best matches your platform 
and operating system.
Please visit our table of recommended Web players. .

where can i get macromedia plugins for freebsd 5.2? is it included in ports?
You could install www/flashpluginwrapper which will install the
linux_base too. And then follow instructions in it for making it
work with mozilla or firebird. This supports only upto Flash 5 though.

Just wondering...  Is anybody working on a reverse-engineered
(100% clean) version of all this macromedia stuff?  ...
www/linuxpluginwrapper works with linux flash 6 and acrobat reader 5.





	tia, guys,

	gary


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


winbind under 5.2

2004-01-26 Thread Will Saxon
Heloo,

I am trying to use the winbind functions of Samba on a 5.2-RELEASE system. I am able 
to enumerate users and groups per the documentation using wbinfo -u/-g, although while 
the examples show the output as being 'DOMAIN+user' or 'DOMAIN+group' I do not see the 
'DOMAIN' part.

I have copied the pam_winbind and nss_winbind modules to appropriate places and have 
confirmed that libnss_winbind is in the cache. I have nsswitch.conf edited properly. I 
have winbindd loaded, etc. however I am not able to assign permissions using domain 
accounts and I am not able to resolve domain password entries via pw.

I am trying to use this combination (FreeBSD/Samba) instead of Win2k Server for our 
file server needs, but I need to be able to set permissions for roaming user profiles 
and shared directories as we depend heavily on a terminal server/thin client 
environment.

Relevant portions of my smb.conf file:

[global]
netbios name = samba
workgroup = 
realm = 
security = ADS
encrypt passwords = yes
password server = 
winbind separator = +
idmap uid = 1-2
idmap gid = 1-2
winbind enum users = yes
winbind enum groups = yes
winbind use default domain = yes



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


"No disks found!" in Sysinstall despite of supported IDE Controller

2004-01-26 Thread Ben Koopmanschap
Hello Everybody!

I have a Pentium 4 2,66 GHz, 512 MB RAM, 80 GB UDMA HardDisk which in
Linux is recognized to have a Intel 82801DB Ultra ATA Storage Controller
(IDE). For more details about the chipset and other things, one can
eventually visit:

http://support.intel.com/support/motherboards/desktop/d845gbv/matrix.htm

(please see the right column).

On my Hard Disk I have the following partition scheme:

1st primary partition --> Fedora Core 1 (Linux)
2nd primary partition --> Swap Partition
3rd primary partition --> Linux From Scratch
4th partition --> extended partition
5th logical partition --> Swap
6th logical partition --> Linux From Scratch (for experimental purposes)
7th logical partition --> Swap
8th logical partition --> Linux From Scratch (for experimental purposes
either)
9th logical partition --> Swap

I am bothering you with this scheme because I'm not quite sure it has to
do with my problem, but maybe the information will help you to assist
me.;)

AFAIK, my hardware is supported by FreeBSD 4.9 and 5.2.

I downloaded the iso's of both the releases of FreeBSD (4.9 and 5.2),
burnt them on CD-ROM and tried to install a FreeBSD on my system.

Unfortunately, with both releases I totally get stuck when I in
Sysinstall choose for "Begin a standard installation.." After Sysintall
said to me it is going to try to find my hard disk, I get the error
message:

"No disks found! ..." (followed by the message that I have to check if
my storage controller was properly been probed by the kernel). After
several attempts and having seen the kernel coming up, I ensured myself
that the kernel probed my controller properly. Though my hard disk is
not recognized!

Of course I have tried to enable/disable several drivers in the kernel
configuration menu (which I only was able to with the 4.9 - release),
but none of all tried combinations did work.

I start to get a little desperate now, so I hope very hopefully that
someone on this list can point me in the right direction.

Thanks anyway for your attention!

With regards,

Ben Koopmanschap

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


Re: Debugger for XSLT ?

2004-01-26 Thread Cordula's Web
> I'm learning XSLT and thought a debugger might be helpful.
> 
> Are there any tools in ports to debug or single-step through
> XSLT transforms?

Most XSLT processors include debug flags that generate verbose
output. Which processor are you using?

-- 
Cordula's Web. http://www.cordula.ws/

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


Debugger for XSLT ?

2004-01-26 Thread Al Johnson
I'm learning XSLT and thought a debugger might be helpful.

Are there any tools in ports to debug or single-step through
XSLT transforms?
_
Let the new MSN Premium Internet Software make the most of your high-speed 
experience. http://join.msn.com/?pgmarket=en-us&page=byoa/prem&ST=1

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


  1   2   >