Looking for database certification / test

2002-12-12 Thread Patrick Dimpre


Does Sybasse V11 is certified on FreeBSD
Does any one of you alreday perform install/and test t an Oracle 9I
Database on FreeBSD.
 I know that Oracle is not actually available on this OS
Thanks for your help.
Best regards

P. Dimpre

begin:vcard 
n:Dimpre;Patrick
tel;cell:+33 (0)6 08 94 23 82
tel;work:+33 (0)1 57 60 28 33
x-mozilla-html:FALSE
org:Oracle France;Division Industrie
version:2.1
email;internet:[EMAIL PROTECTED]
title:Responsable technique de compte
adr;quoted-printable:;;15 Boulevard Charles de Gaulle=0D=0A=0D=0A;Colombes;;92715;FRANCE
fn:Patrick Dimpre
end:vcard



Re: windows vs linux/unix ftp question

2002-12-12 Thread Cliff Sarginson
On Wed, Dec 11, 2002 at 07:57:06PM -0600, default wrote:
> hello,
> 
> i have freebsd setup as a server with the normal ftpd running on it. i have
> been using it for quite a while but someone has just brought to my attention
> that one cannot list directories when ftping from a linux box. i duplicated
> this problem using both gftp and ncftp, but have no problem using ftp from
> my windows machine.
> 
Well I just tried it both ways.
>From one of my Linux machines to a FreebSD machine, and vice-versa.
No problems.
So... ?
Explain the setup a little more...

-- 
Regards
   Cliff Sarginson 
   The Netherlands

[ This mail has been checked as virus-free ]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Newline character doesn't work

2002-12-12 Thread BSD Freak
Hi guys,

Just tried the following and it doesn't seem to work.. any explanations?

%echo first line \\n second line

Output is: 
first line \n second line


Can anyone help?

Thanks in advance...


-
Faxes delivered directly to any email address, new to mBox!
Find out more http://www.mbox.com.au/fax

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



unpacking .debs on FreeBSD?

2002-12-12 Thread Alex Teslik
Hello,

After searching the ports and google, I'm stumped. How can I unpack a .deb on
FreeBSD?

Thanks,
Alex



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: are virtual mail account users possible with sendmail on freebsd

2002-12-12 Thread Ruben de Groot
On Thu, Dec 12, 2002 at 02:58:49PM +1100, Keith Spencer typed:
> Hi all,
> I am wondering how I can add mail acocunts without
> actually creating full-blown user accounts for my lan
> users.

Not exactly what you are asking, but you could run sendmail in a
jail(8). That way, you have a passwd file for your mailusers 
independant of your system passwd file.

> I have sendmail on fbsd 4.7 (new build machine and I
> dont want to create shell accnts for all my users on
> this new machine)

If you give them /sbin/nologin as default shell, your users won't
have a shell account but will still be able to fetch their (pop3)
email.

> Whatever help you might give me perhaps I can use
> webmin to add the new users... I have 600 users to
> add.
> Whoa...thats a lot of work..HELP???!!

It's quite easy to make a script using pw(8) to automatically add
a lot of users accounts.

cheers,
Ruben

> Thanks so much in adavnce
> Keith
> 
> http://greetings.yahoo.com.au - Yahoo! Greetings
> - Send your seasons greetings online this year!
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Newline character doesn't work

2002-12-12 Thread Jonathan Chen
On Thu, Dec 12, 2002 at 07:14:28PM +1100, BSD Freak wrote:
> Hi guys,
> 
> Just tried the following and it doesn't seem to work.. any explanations?
> 
> %echo first line \\n second line
> 
> Output is: 
> first line \n second line

According to the man-page, echo(1) is working as advertised. What you
want is printf(1).

$ printf "first line\nsecond line\n"
first line
second line

-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
  Computers are like air conditioners.
  They stop working when you open Windows.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Installed Packages?

2002-12-12 Thread Mark-Nathaniel Weisman
Is there a command that I can check to see if a particular package was
installed in the kernel the way it was supposed to? Or maybe a list of
all installed packages? I've installed a module for my Perl, and I want
to make sure I installed it correctly.

His Faithful Servant,
Mark

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Installed Packages?

2002-12-12 Thread Jonathan Chen
On Wed, Dec 11, 2002 at 11:35:27PM -0900, Mark-Nathaniel Weisman wrote:
> Is there a command that I can check to see if a particular package was
> installed in the kernel the way it was supposed to? Or maybe a list of
> all installed packages? I've installed a module for my Perl, and I want
> to make sure I installed it correctly.

There's pkg_info(1) and friends. Incidentally, a package isn't installed
in the kernel - it's installed on the "System".
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
  "Opportunity does not knock,
   it presents itself when you beat down the door" - W.E. Channing

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Multiple Gateways/Load Balancing?

2002-12-12 Thread Jens Rehsack
Octavian Hornoiu wrote:

What is the process to set up a FreeBSD server as a router to use two internet 
connections and dynamically assign workstations to the two internet connections 
depending on load so that neither of the connections get overly saturated at 
the expense of not using the other?

Maybe the routed(8) is what you looking for. I do not know how expensive 
it it, but the documentation seems to me really good. Maybe that helps 
to finds out more.

Jens

Thanks!

Octavian



--
L i  W W W  i Jens Rehsack
LW W W
L i   W   W W   W   i  nnnLiWing IT-Services
L iW W   W Wi  n  n  g   g
  i W W i  n  n  g   gFriesenstraße 2
  06112 Halle
 g
 g   g
Tel.:  +49 - 3 45 - 5 17 05 91ggg e-Mail: <[EMAIL PROTECTED]>
Fax:   +49 - 3 45 - 5 17 05 92http://www.liwing.de/



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Multitech modems

2002-12-12 Thread Tuomas Pellonperä
Hi!

I hope this list is the right medium to ask this question. If not, 
please notify me. 

Are Multitech Modems, both internal and external, (ZPX 56K & ZPXE 
56K) known to work with FreeBSD without any problems? According 
to "Linux Hardware Compatibility HOW-TO" and "Modem-HOWTO", they work 
fine with GNU/Linux, which made me figure that they work with FreeBSD 
as well. Am I wrong?

Thank you for your time!

Tuomas Pellonperä


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Newline character doesn't work

2002-12-12 Thread Matthew Seaman
On Thu, Dec 12, 2002 at 07:14:28PM +1100, BSD Freak wrote:

> Just tried the following and it doesn't seem to work.. any explanations?
> 
> %echo first line \\n second line
> 
> Output is: 
> first line \n second line

echo is both a shell built-in and a standard command.  The standard
command doesn't support expanding character escapes like '\n':

% /bin/echo "line one\nline two"
line one\nline two

This is a difference between the BSD echo(1) command and the SYSV
equivalent.

Of the shells bundled with FreeBSD, /bin/sh uses the standard command
version and /bin/tcsh uses a shell built-in that by default has the
same behaviour as /bin/echo:

% echo $SHELL
/bin/tcsh
% echo "line one\nline two"
line one\nline two

However you can set the 'echo_style' shell variable to make the tcsh(1)
built-in behave in the SysV style:

% set echo_style=sysv
% echo "line one\nline two"
line one
line two

Other shells have alternate mechanisms for achieving the same thing,
eg:

bash(1) uses a '-e' flag to the echo command to enable SysV style

bash-2.05b$ echo "line one\nline two"
line one\nline two
bash-2.05b$ echo -e "line one\nline two"
line one
line two

whereas zsh(1) expands character escapes by default:

happy-idiot-talk% echo $ZSH_VERSION
4.0.6
happy-idiot-talk% echo "line one\nline two" 
line one
line two

In this case you can use the '-E' flag to make echo behave in the BSD
way:

% echo -E "line one\nline two"
line one\nline two

If you want something that will behave consistently independent of
whatever shell is being used, try the printf(1) command:

% printf "line one\nline two\n"
line one
line two

(Note: no automatic addition of newline after the last character)

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
  Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Newline character doesn't work

2002-12-12 Thread Matthew Seaman
On Thu, Dec 12, 2002 at 09:09:04AM +, Matthew Seaman wrote:

> Of the shells bundled with FreeBSD, /bin/sh uses the standard command
> version and /bin/tcsh uses a shell built-in that by default has the
> same behaviour as /bin/echo:

Correction: /bin/sh has a built-in echo command that understands the
'-e' flag.  What it doesn't have is a built-in 'which' command that
recognises the other shell built-ins...

$ echo "line one\nline two"
line one\nline two
$ echo -e "line one\nline two"
line one
line two

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
  Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: hosting more than one website on a cable connection (DHCP)... and using BIND

2002-12-12 Thread dick hoogendijk
> However, I don't know how to distinguish more than one domain name
> when using only one IP address.
Domains are controled by their zonefiles in bind.conf
The (separate) zonefiles contain the ip# of the zone. There is no reason
you can't give blah.cx and blahbla.nt the same ip. As long as you
provide the same nameserver IP for all domains you want to host ;-))

> Also, is it possible for the home DNS and the third party DNS's to
> work in tandem?

That I don't know. I have four real domains myself. One is hosted by an
ISP, the other three I host at home. nagual.st ; nagual.cx and
lothlorien.cx all point to the same ip# The rest is handled by the
dnsserver at home wich is authorative for all three domains and their
subs. I found a friend who was willing to host two other dns servers as
slaves.
 
> Does any of this make sense?

Sure. It runs like hell (or heaven, as you prefer ;-)

-- 
dick -- http://www.nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.7 ++ Debian GNU/Linux (Woody)

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: windows vs linux/unix ftp question

2002-12-12 Thread Simas Cepaitis
Hello,

* default ([EMAIL PROTECTED]) wrote:
> hello,
> 
> i have freebsd setup as a server with the normal ftpd running on it. i have
> been using it for quite a while but someone has just brought to my attention
> that one cannot list directories when ftping from a linux box. i duplicated
> this problem using both gftp and ncftp, but have no problem using ftp from
> my windows machine.
> 
> i do have a firewall setup, but i have had it set to allow ftp for a long
> time, and recently tried disabling the firewall for a test, and found that I
> still could not list the directories from the linux machine with the
> firewall down.
> 
> i have read some discussion about pasv/active ftp problems, but i have also
> heard that freebsd ftpd allows both ...

  I suspect you are using your ftp client under NAT.  If so, try turning
  on passive mode in you client, this is a common problem ( you didn't
  say you tried that).  If that doesn't help, try explain more about 
  your setup :) 

  Simas Cepaitis
  [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: are virtual mail account users possible with sendmail on fre

2002-12-12 Thread Toomas Aas
Hi!

> > I am wondering how I can add mail acocunts without
> > actually creating full-blown user accounts for my lan
> > users.

Take a look at Cyrus IMAP server (in ports, of course). I'm using it to 
host ca 80 mail accounts without the need to create unix accounts for 
users. Only difference from your situation is that I'm using 
Postfix instead of Sendmail but I don't see why Cyrus wouldn't work 
with Sendmail.

--
Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/
* I haven't lost my mind; I know exactly where I left it.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: hosting more than one website on a cable connection (DHCP)... and using BIND

2002-12-12 Thread Jens Rehsack
Bsd Neophyte wrote:


I've been told I can use these free third party domain name servers.  I've
also been told that you need to keep a record with at least 2 domain name
servers when hosting a domain name.  While, I can do this, I'd like to
host at least one DNS at home.

Now, I'm completely confused if this can be done and if it can, then how
to do it.


I don't know if it exists for free for you, too, but our provider 
supports "HIDDEN PRIMARY" name servers. We just configure a name server 
in our network and tell him our IP address for that machine. That he 
transfers the zones to his name servers and provide internet reachable 
name services for all our domains and subdomains.

The FreeBSD handbook seems pretty straight-forward in setting up BIND. 
However, I don't know how to distinguish more than one domain name when
using only one IP address.  Also, is it possible for the home DNS and the
third party DNS's to work in tandem?

It's easy when you use hidden primaries and forward requests you cannot 
answer by yourself.

Bye
Jens
--
L i  W W W  i Jens Rehsack
LW W W
L i   W   W W   W   i  nnnLiWing IT-Services
L iW W   W Wi  n  n  g   g
  i W W i  n  n  g   gFriesenstraße 2
  06112 Halle
 g
 g   g
Tel.:  +49 - 3 45 - 5 17 05 91ggg e-Mail: <[EMAIL PROTECTED]>
Fax:   +49 - 3 45 - 5 17 05 92http://www.liwing.de/



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Shell variables

2002-12-12 Thread Paul Murphy
 I am having trouble understanding what is the difference between "$variable" and 
"${variable}".

 I have read sh(1) and understand than ${} is a "parameter" and can contain more than 
just a variable, but browsing through /etc/rc I see lots of "${variable}" (i.e. "case 
${svc_val} in").

 Is this just for readability or is there some functional difference?

-- 
Cogeco ergo sum



msg11858/pgp0.pgp
Description: PGP signature


FreeBSD-Stable + apache13 + mod_frontpage

2002-12-12 Thread Doug Reynolds
On Mon, 9 Dec 2002 23:32:27 -0500, David Banning wrote:

>> >> /usr/libexec/ld-elf.so.1: /usr/lib/libm.so.2: Undefined symbol
>> >
>> >Does /usr/lib/libm.so.2 exist?
>> 
>> seems to:

for anyone running Frontpage 5.0 (and probably 4.0), and planning to
upgrade to 4.7-STABLE after 11-10-02 (i believe), you have to add
COMPAT3X=true to your make.conf, because frontpage doesn't support the
new lib types.

---
doug reynolds | the maverick | [EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



IPv6 - From commands to rc.conf

2002-12-12 Thread Janine C . Buorditez
Hi.

My tunnel broker explains to me my IPv6 setup only through commands and not
concrete settings in /etc/rc.conf. Can anyone help me out judging from this?:

@@

ifconfig $TUNLIF create tunnel $MYIPv4 $XSIPv4 up
route add -inet6 default -interface $TUNLIF
ifconfig lo0 inet6 $MYIPv6 prefixlen 128

@@

Thanks!

Regards,
Janine

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



RE: are virtual mail account users possible with sendmail on freebsd

2002-12-12 Thread John Straiton
Sendmail isn't what gives someone POP3 access. Something like Qpopper
does.

However, most of the sendmail+(something) combinations you're going to
find are going to require you to build "full blown" accounts for each
user. While they do not have to have shell access, they will have a
/home directory and an entry in your /etc/passwd.

If you're trying to avoid that, you'll have to use a different POP3
server and I'd recommend a different MTA than sendmail. What you're
looking to do (email accounts without user accounts) is sometimes called
a "black-box" setup.

We use a combination of Postfix to replace sendmail and Cyrus to do
POP3/IMAP. You can also do this with Courier-IMAP. Both are in the
/usr/ports/mail tree. Exim is another popular replacement for sendmail
and works well with either Cyrus or Courier-IMAP.

With a simple shell script and pw, you could add all those accounts to
the machine if necessary, but if you use one of these other methods
you'd probably wind up wanting to use a LDAP or Database back end to
store all that information.
 
Hope this gets you started.

John Straiton
[EMAIL PROTECTED]
Clickcom, Inc
704-365-9970x101 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED]] On Behalf Of 
> Keith Spencer
> Sent: Wednesday, December 11, 2002 10:59 PM
> To: fbsd
> Subject: are virtual mail account users possible with 
> sendmail on freebsd
> 
> 
> Hi all,
> I am wondering how I can add mail acocunts without
> actually creating full-blown user accounts for my lan
> users.
> I have sendmail on fbsd 4.7 (new build machine and I
> dont want to create shell accnts for all my users on
> this new machine)
> Whatever help you might give me perhaps I can use
> webmin to add the new users... I have 600 users to
> add.
> Whoa...thats a lot of work..HELP???!!
> Thanks so much in adavnce
> Keith
> 
http://greetings.yahoo.com.au - Yahoo! Greetings
- Send your seasons greetings online this year!

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



RE: /usr/libexec/elf/ld: cannot find -lmysqlclient while compiling maildrop

2002-12-12 Thread Stephen Hoover
Simas,

Thanks for the reply. I ran the command you listed below and it did not
return any result. I looked at the directory and it is not group
writeable.


I must continue my research!

Thanks again,
Stephen Hoover
Dallas, Texas



> -Original Message-
> From: Simas Cepaitis [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, December 12, 2002 12:55 AM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: Re: /usr/libexec/elf/ld: cannot find -lmysqlclient
> while compiling maildrop
>
>
> Hello,
>
> * Stephen Hoover ([EMAIL PROTECTED]) wrote:
>
> > I have MySQL 3.23.49 compiled from ports. The libs are in
> > /usr/local/lib/mysql.
> > Any help appreciated, I realize this is not a maildrop
> list, just hoping
> > someone else had some across this.
>
>   What are permissions on /usr/local/lib/mysql?  Long time ago I had
>   this problem, because this dir was group writable, and ldconfig
>   refused group writable dirs.  Try to run
>
>   # ldconfig -m /usr/local/lib/mysql
>
>   and see what it does.
>
>
>   Simas Cepaitis
>   [EMAIL PROTECTED]
>


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



SOLVED - RE: /usr/libexec/elf/ld: cannot find -lmysqlclient while compiling maildrop

2002-12-12 Thread Stephen Hoover
Thought I would post this information to the list in case anyone else
had a similar problem.

Following a suggestion I found on a web page under a google search, I
created the following symlink:

/usr/lib/libmysqlclient.so -> /usr/local/lib/mysql/libmysqlclient.so.10

I am not sure where in the source code I need to edit to give it the
correct path for FreeBSD, but this DID solve the problem.


Thanks!
Stephen Hoover
Dallas, Texas


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Shell variables

2002-12-12 Thread Roman Neuhauser
please keep the line length below 75 characters. thank you.

# [EMAIL PROTECTED] / 2002-12-12 07:59:22 -0500:
>  I am having trouble understanding what is the difference between
>  "$variable" and "${variable}".

if the variable name is really "variable", then none.
 
>  I have read sh(1) and understand than ${} is a "parameter" and can
>  contain more than just a variable, but browsing through /etc/rc I see
>  lots of "${variable}" (i.e. "case ${svc_val} in").
> 
>  Is this just for readability or is there some functional difference?

 sh(1):

 The simplest form for parameter expansion is:
   ^^^
   ${parameter}

 The value, if any, of parameter is substituted.
 The parameter name or symbol can be enclosed in braces, which are
  ^^^   
 optional except for positional parameters with more than one digit
 
 or when parameter is followed by a character that could be
 interpreted as part of the name.

 so yes, it's mostly a matter of style.

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.see http://www.eyrie.org./~eagle/faqs/questions.html

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: unpacking .debs on FreeBSD?

2002-12-12 Thread Jörg Sonnenberger
On Thu, 12 Dec 2002 01:36:42 -0700
"Alex Teslik" <[EMAIL PROTECTED]> wrote:

> Hello,
> 
> After searching the ports and google, I'm stumped. How can I unpack a .deb on
> FreeBSD?

Debian packages are ar(chives) containing gzipped tarballs.
Having said this, ar x $DEB data.tar.gz extracts the data part of the archive,
ar x $DEB the whole archive.

- Joerg

> 
> Thanks,
> Alex
> 
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



test CDJUUKQBZN

2002-12-12 Thread abs678
test
 
CDJUUKQBZNSZDBBGWSXPHZHQSSYJHQCSEBCLTC

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



VNC

2002-12-12 Thread Daniel HARTMANN
Bonjour,

J'utilise vnc vers ma machine Freebsd.

Mais comment démarrer "vncserver" automatiquement au boot sans taper la
commande ??

Merci





Dany_H  ;-)


<>

Re: Installed Packages?

2002-12-12 Thread parv
in message <[EMAIL PROTECTED]>,
wrote Mark-Nathaniel Weisman thusly...
>
> Is there a command that I can check to see if a particular package was
> installed in the kernel the way it was supposed to?

on way is to check if the supposedly installed files actually
exists.  sometimes they do not.  try (assuming bourne like shell)...

  #  given a package name, see if files exists
  #  if they do not, ls will complain; only errors will be
  #  shown
  pkg_info -L  | xargs ls -l > /dev/null


> Or maybe a list of all installed packages?

this can be accomplished by pkg_info.  personally i prefer the
following (note: self promotion:)...

  perl program:
http://www103.pair.com/parv/comp/unix/bin/listpkg.perl

  pod (plain old documentation):
http://www103.pair.com/parv/comp/unix/doc/doc.bin/listpkg.perl.text

  a shell script which i no longer develop:
http://www103.pair.com/parv/comp/unix/bin/listpkg


  - parv

-- 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: unpacking .debs on FreeBSD?

2002-12-12 Thread Dan Nelson
In the last episode (Dec 12), Alex Teslik said:
> Hello,
> 
> After searching the ports and google, I'm stumped. How can I unpack a
> .deb on FreeBSD?

.deb files are just ar archive files, same format as usr/lib/libc.a. 
You can view the file list with "ar t file.deb", and extract the
contents with "ar x file.deb".

-- 
Dan Nelson
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Shell variables

2002-12-12 Thread Dan Nelson
In the last episode (Dec 12), Paul Murphy said:
>  I am having trouble understanding what is the difference between
>  "$variable" and "${variable}".
> 
>  I have read sh(1) and understand than ${} is a "parameter" and can
>  contain more than just a variable, but browsing through /etc/rc I
>  see lots of "${variable}" (i.e. "case ${svc_val} in").
> 
>  Is this just for readability or is there some functional difference?

Mainly readability, but sometimes you need the {}'s to delimit the
variable name: compare

echo texttext${variablehere}texttext

vs.

echo texttext$variableheretexttext

-- 
Dan Nelson
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: SOLVED - RE: /usr/libexec/elf/ld: cannot find -lmysqlclient while compiling maildrop

2002-12-12 Thread Dan Nelson
In the last episode (Dec 12), Stephen Hoover said:
> Thought I would post this information to the list in case anyone else
> had a similar problem.
> 
> Following a suggestion I found on a web page under a google search, I
> created the following symlink:
> 
> /usr/lib/libmysqlclient.so -> /usr/local/lib/mysql/libmysqlclient.so.10

A better solution would be to add -L/usr/local/lib/mysql to your link
line.

-- 
Dan Nelson
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: VNC

2002-12-12 Thread Kliment Andreev
> Mais comment dщmarrer "vncserver" automatiquement au boot sans taper la
> commande ??

Create the following file vnc.sh in /usr/local/etc/rc.d and put the
following lines

#!/bin/sh
/usr/X11R6/bin/vncserver &


It will "automatique" start vncserver when you reboot.




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Installed Packages?

2002-12-12 Thread parv
in message <[EMAIL PROTECTED]>,
wrote parv thusly...
>
> in message <[EMAIL PROTECTED]>,
> wrote Mark-Nathaniel Weisman thusly...
> >
> > Is there a command that I can check to see if a particular package was
> > installed ... the way it was supposed to?
...
>   #  given a package name, see if files exists
>   #  if they do not, ls will complain; only errors will be
>   #  shown
>   pkg_info -L  | xargs ls -l > /dev/null

more appropriate would be...

  #  - w/ -x pkg_info(1) option, a pattern (instead of complete
  #name) can be specifed
  #
  #  - the more important addition is of egrep(1) to remove unwanted
  #output of pkg_info(1); otherwise ls(1) would complain for
  #obvious reasons
  #
  pkg_info -L -x  | \
  egrep -v '^(Info.*:|Files|$)' |  xargs ls -l >/dev/null


  - parv

-- 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Shell variables

2002-12-12 Thread Paul Murphy
On Thu, 12 Dec 2002 09:43:34 -0600
Dan Nelson <[EMAIL PROTECTED]> wrote:

> In the last episode (Dec 12), Paul Murphy said:
> >  I am having trouble understanding what is the difference between
> >  "$variable" and "${variable}".
> > 
> >  I have read sh(1) and understand than ${} is a "parameter" and can
> >  contain more than just a variable, but browsing through /etc/rc I
> >  see lots of "${variable}" (i.e. "case ${svc_val} in").
> > 
> >  Is this just for readability or is there some functional difference?
> 
> Mainly readability, but sometimes you need the {}'s to delimit the
> variable name: compare
> 
> echo texttext${variablehere}texttext
> 
> vs.
> 
> echo texttext$variableheretexttext
> 

 Thanks all, I've got it now.

-- 
Cogeco ergo sum



msg11874/pgp0.pgp
Description: PGP signature


Error: short read

2002-12-12 Thread Drew Tomlinson
I have downloaded the Helix Universal Server binary from RealNetworks.
As I understand it, the binary is a self-extracting archive.  I have run
the binary and get the following error:

blacklamb# ./rs900-freebsd4-ia32.bin
Extracting files for RealNetworks installation...
Error: short read (0/86262 bytes) (File too large)

Error: short read (0/13845981 bytes) (File too large)

Warning: second stage installer not found!

Does anyone have any ideas on this?  I'm lost and documentation doesn't
give me any clues.  Thanks for any help.

Drew


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



PRoblem with kernel compilation

2002-12-12 Thread Radoslaw Bolforski
Hi!

I have a very slow machine (p133 and 16mb ram) when I compile the freebsd
kernel I have some error when kernel is linking:

linking kernel
kbd.o: In function `kbd_register':
kbd.o(.text+0x35c): undefined reference to `kbddriver_set'
kbd.o(.text+0x363): undefined reference to `kbddriver_set'
kbd.o: In function `kbd_get_switch':
kbd.o(.text+0x49d): undefined reference to `kbddriver_set'
kbd.o(.text+0x4a2): undefined reference to `kbddriver_set'
kbd.o: In function `kbd_configure':
kbd.o(.text+0x77b): undefined reference to `kbddriver_set'
kbd.o(.text+0x780): more undefined references to `kbddriver_set' follow
*** Error code 1

Stop in /usr/src/sys/compile/HOME.


Thanks from the moutain ;-)
Radoslaw Bolforski
[EMAIL PROTECTED]

#
# GENERIC -- Generic kernel configuration file for FreeBSD/i386
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
#
http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ./LINT configuration file. If you are
# in doubt as to the purpose or necessity of a line, check first in LINT.
#
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.246.2.49 2002/10/12 15:25:13 kuriyama Exp $

machine i386
cpu I386_CPU
cpu I486_CPU
cpu I586_CPU
cpu I686_CPU
ident   GENERIC
maxusers128

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

#optionsMATH_EMULATE#Support for x87 emulation
options INET#InterNETworking
#optionsINET6   #IPv6 communications protocols
options FFS #Berkeley Fast Filesystem
options FFS_ROOT#FFS usable as root device [keep this!]
options SOFTUPDATES #Enable FFS soft updates support
options UFS_DIRHASH #Improve performance on big directories
#optionsMFS #Memory Filesystem
#optionsMD_ROOT #MD is a potential root device
#optionsNFS #Network Filesystem
#optionsNFS_ROOT#NFS usable as root device, NFS required
#optionsMSDOSFS #MSDOS Filesystem
options CD9660  #ISO 9660 Filesystem
options CD9660_ROOT #CD-ROM usable as root, CD9660 required
options PROCFS  #Process filesystem
options COMPAT_43   #Compatible with BSD 4.3 [KEEP THIS!]
#optionsSCSI_DELAY=15000#Delay (in ms) before probing SCSI
options UCONSOLE#Allow users to grab the console
options USERCONFIG  #boot -c editor
options VISUAL_USERCONFIG   #visual boot -c editor
options KTRACE  #ktrace(1) support
options SYSVSHM #SYSV-style shared memory
options SYSVMSG #SYSV-style message queues
options SYSVSEM #SYSV-style semaphores
options P1003_1B#Posix P1003_1B real-time extensions
options _KPOSIX_PRIORITY_SCHEDULING
options ICMP_BANDLIM#Rate limit bad replies
options KBD_INSTALL_CDEV# install a CDEV entry in /dev
#optionsAHC_REG_PRETTY_PRINT# Print register bitfields in debug
# output.  Adds ~128k to driver.
#optionsAHD_REG_PRETTY_PRINT# Print register bitfields in debug 
# output.  Adds ~215k to driver.

# To make an SMP kernel, the next two are needed
options SMP # Symmetric MultiProcessor Kernel
options APIC_IO # Symmetric (APIC) I/O

device  isa
device  eisa
device  pci

# Floppy drives
#device fdc0at isa? port IO_FD1 irq 6 drq 2
#device fd0 at fdc0 drive 0
#device fd1 at fdc0 drive 1
#
# If you have a Toshiba Libretto with its Y-E Data PCMCIA floppy,
# don't use the above line for fdc0 but the following one:
#device fdc0

# ATA and ATAPI devices
device  ata0at isa? port IO_WD1 irq 14
device  ata1at isa? port IO_WD2 irq 15
device  ata
device  atadisk # ATA disk drives
device  atapicd # ATAPI CDROM drives
#device atapifd # ATAPI floppy drives
#device atapist # ATAPI tape drives
options 

Re: Error: short read

2002-12-12 Thread Kliment Andreev
> I have downloaded the Helix Universal Server binary from RealNetworks.
> As I understand it, the binary is a self-extracting archive.  I have run
> the binary and get the following error:
> blacklamb# ./rs900-freebsd4-ia32.bin
> Extracting files for RealNetworks installation...
> Error: short read (0/86262 bytes) (File too large)

Probably the file is corrupted. I just downloaded the file from realnetworks

%ls -l aaa.bin
-rwxrwxrwx  1 ftp  ftp  14012106 Dec 12 15:18 aaa.bin
%md5 aaa.bin
MD5 (aaa.bin) = 502e15e3454227820794e6fbb4549397


Do the md5 to the file and compare the values.



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: PRoblem with kernel compilation

2002-12-12 Thread John Bleichert
On Thu, 12 Dec 2002, Radoslaw Bolforski wrote:

> Date: Thu, 12 Dec 2002 21:08:07 +0100 (CET)
> From: Radoslaw Bolforski <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: PRoblem with kernel compilation
> 
> Hi!
> 
> I have a very slow machine (p133 and 16mb ram) when I compile the freebsd
> kernel I have some error when kernel is linking:
> 
> linking kernel
> kbd.o: In function `kbd_register':
> kbd.o(.text+0x35c): undefined reference to `kbddriver_set'
> kbd.o(.text+0x363): undefined reference to `kbddriver_set'
> kbd.o: In function `kbd_get_switch':
> kbd.o(.text+0x49d): undefined reference to `kbddriver_set'
> kbd.o(.text+0x4a2): undefined reference to `kbddriver_set'
> kbd.o: In function `kbd_configure':
> kbd.o(.text+0x77b): undefined reference to `kbddriver_set'
> kbd.o(.text+0x780): more undefined references to `kbddriver_set' follow
> *** Error code 1
> 
> Stop in /usr/src/sys/compile/HOME.
> 
> 

Looks like maybe you've forgotten to include (or more likely erroneosuly 
deleted) support for a keyboard? Can you post your kernel config here?

#  John Bleichert 
#  http://vonbek.dhs.org/latest.jpg


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: hosting more than one website on a cable connection (DHCP)... and using BIND

2002-12-12 Thread Brian
the fact that your ip will occasionally change complicates the problem,
you'll need a solution targeted at that, tzo.com is one example.

Brian


On Wed, 11 Dec 2002, Bsd Neophyte wrote:

>
> Alright, this is what I want to do...
>
> I have a cable connection that uses DHCP, giving me a lease for about 2
> minutes.  Usually the address stays the same, but at times it does change.
>
>
> I want to host two domain names to start.  I also would like to have the
> possiblity to host more.  I will have only one changing IP.
>
> I also want to have subdomains.  I want each system at home to have a
> subdomain based on either one of the two domain's I'll have established.
> So if I have blah.com as my primary domain, I want to be able to ssh to
> yadda.blah.com from any other location.  If I want to ssh to yawn.blah.com
> from any other location, it should be able to connect to that system,
> eventhough they are both sharing 1 ip address through Natting.
>
> I've been told I can use these free third party domain name servers.  I've
> also been told that you need to keep a record with at least 2 domain name
> servers when hosting a domain name.  While, I can do this, I'd like to
> host at least one DNS at home.
>
> Now, I'm completely confused if this can be done and if it can, then how
> to do it.
>
> The FreeBSD handbook seems pretty straight-forward in setting up BIND.
> However, I don't know how to distinguish more than one domain name when
> using only one IP address.  Also, is it possible for the home DNS and the
> third party DNS's to work in tandem?
>
> Does any of this make sense?
>
> __
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
>

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Multitech modems

2002-12-12 Thread Brian
althought I always use usr modems, any non winmodem should work, externals
are safer in a lot of ways.

Brian


On Thu, 12 Dec 2002, [ISO-8859-1] Tuomas Pellonperä wrote:

> Hi!
>
> I hope this list is the right medium to ask this question. If not,
> please notify me.
>
> Are Multitech Modems, both internal and external, (ZPX 56K & ZPXE
> 56K) known to work with FreeBSD without any problems? According
> to "Linux Hardware Compatibility HOW-TO" and "Modem-HOWTO", they work
> fine with GNU/Linux, which made me figure that they work with FreeBSD
> as well. Am I wrong?
>
> Thank you for your time!
>
> Tuomas Pellonperä
>
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
>

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: VNC

2002-12-12 Thread Brian
getting vnc to start at boot is tricky, since you want it to start as some
user, rather than as root.  A solution I've been thinking of is looking at
the output os ps auxw, grepping for Xvnc owned by the desired user, if its
there exit, if not run vncserver as the user in question.  Putting it in
cron with a /8 to check every 8 minutes seems a good idea.

Bri


On Thu, 12 Dec 2002, Daniel HARTMANN wrote:

> Bonjour,
>
> J'utilise vnc vers ma machine Freebsd.
>
> Mais comment démarrer "vncserver" automatiquement au boot sans taper la
> commande ??
>
> Merci
>
>
>
>
>
> Dany_H  ;-)
>
>

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Persario 5360 will not boot 4.7

2002-12-12 Thread Steve Dickson
Hello,

I have a Compaq Persario 5360 and I'm trying to install 4.7.
The problem is I can not get the system to boot off 3.5"
floppy drive. The system is old enough so booting off the
cd-rom is not possible.

I know you can boot off the floppy driver because I can boot
DOS and I'm sure the diskette that has the kern.flp bits is ok
because I've used it to boot other machines. Actually I want out
and got brand new diskettes thinking that might be the problem...

I created the floppy on a linux machine by doing a dd if=kern.flp 
of=/dev/fd0
I also try using the fdimage.exe binary on win98 and still no luck.

The system does see  diskette because the green access light goes on
but then it goes off and the screen is blank with the cursor blinking in
the upper left hand corner. Curiously enough, Alt-Cntl-Del will reboot
(or restart) the system so something is running somewhere.

The BIOS is relativity simple and I've probably tried every thing that
look interesting to try It almost seem like they (Compaq) has made
so the bios will only boot Windows. If that is the case Compaq/HP
should be shot

Has anybody seen anything like this?
Any ideas on how to debug this?

Thanks,

SteveD.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


HP Omnibook 6100

2002-12-12 Thread Mantas Smelevicius
Hi everyone,

I have installed 4.7 in to my laptop, but I have probs with sound card. Any
ideas?

Thanks

Mantas Smelevicius
http://mantas.lt
ICQ UIN 31072511



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: VNC

2002-12-12 Thread Pierrick Brossin
Daniel HARTMANN wrote:

J'utilise vnc vers ma machine Freebsd.

Mais comment démarrer "vncserver" automatiquement au boot sans taper la
commande ??


/etc/rc.local

ajoute ta ligne pour lancer vncserver dedans

A+




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: HP Omnibook 6100

2002-12-12 Thread Brian
peek at
http://docs.freebsd.org/cgi/getmsg.cgi?fetch=14954+0+archive/2002/freebsd-mobile/20020623.freebsd-mobile
found via google.

Bri


On Thu, 12 Dec 2002, Mantas Smelevicius wrote:

> Hi everyone,
>
> I have installed 4.7 in to my laptop, but I have probs with sound card. Any
> ideas?
>
> Thanks
>
> Mantas Smelevicius
> http://mantas.lt
> ICQ UIN 31072511
>
>
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
>

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Power Off and Wake On Ring

2002-12-12 Thread Gernot A. Weber
Hi,

I need to power on my computer by the internal BIOS clock. No problem, if
I power off the machine with linux. But if I use halt -p out of freebsd it
halts and powers off, but it won't reboot to the time I specified in the
BIOS. Are there any compile options for APM or should I wait for ACPI in
5.0?

Thanks,

Gernot

--
Gernot A. Weber

http://www.tux-web.de
[EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Weird NIS master problem

2002-12-12 Thread Doug Silver
I have two FBSD NIS machines, the master is running 4.6 and the slave is at 
4.7.  The slave works properly, it's the master that is acting strangely.

The master is also serving as a router with 2 nic cards, and is running ntpd.  
It processes NIS stuff, just *really* slowly.  It is not doing firewall stuff 
(yet).

For example, running 'truss id dsilver' it stalls right after running 
'gettimeofday' but eventually answers back properly.  The same behavior 
happens on any other client if I bind it to the master instead of the slave, 
i.e. you can login, it just takes a long time.

I've confirmed that both machines are running ypserv, ypbind, rpc.statd, and 
the server is also running rpc.ypxfrd.

Any suggestions?

Thanks.

-Doug

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



help with building gd-1.8.4--- build is failing!

2002-12-12 Thread Daniel Schrock


Hello,

I'm trying to build gd-1.8.4 and it is failing fairly quickly.  I'm
hoping someone could enlighten me as to why.  I am using portinstall to
install it, but get the same result if i just use make in
/usr/ports/graphics/gd.

here is the output of `portversion`, followed by output of `portinstall
-DN gd`

I apologize for the length of this question but i'd rather err on the
side of too much information.

I've already tried cvsup'ing my ports collection and tried grabbing the
distfiles from ftp.freebsd.org instead of letting it grab from boutell.com
when i look in the workdir for gd, gd.h is not there, but gd.h.orig.

Thanks in advance.

.daniel.schrock

16:05:14:root@cobalt (/dev/ttyp1): 8  /usr/ports/graphics/gd
  >> portversion
bash=
dnetc   =
expat   =
freetype2   =
gettext =
gmake   =
jpeg=
libiconv=
libtool =
mpd =
pcre=
png =
portupgrade =
ruby=
ruby-bdb1   =
ruby-shim-ruby18=

16:05:22:root@cobalt (/dev/ttyp1): 9  /usr/ports/graphics/gd
  >> portinstall -DN gd
--->  2 ports match the given pattern 'gd':
  graphics/gd
  graphics/gd2
Install 'graphics/gd'? [yes] yes
Install 'graphics/gd2'? [yes] no
--->  Installing 'gd-1.8.4_6' from a port (graphics/gd)
--->  Building '/usr/ports/graphics/gd'
===>  Cleaning for libiconv-1.8_2
===>  Cleaning for gettext-0.11.5_1
===>  Cleaning for gmake-3.80
===>  Cleaning for libtool-1.3.4_4
===>  Cleaning for jpeg-6b_1
===>  Cleaning for png-1.2.5
===>  Cleaning for freetype2-2.1.2_1
===>  Cleaning for expat-1.95.5
===>  Cleaning for gd-1.8.4_6
===>  Deleting distfiles for gd-1.8.4_6

If you want to compile with Xpm support,
hit Ctrl-C right now and use "make WITH_X11=yes"

  >> gd-1.8.4.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
  >> Attempting to fetch from http://www.boutell.com/gd/http/.
Receiving gd-1.8.4.tar.gz (257631 bytes): 100%
257631 bytes transferred in 4.1 seconds (61.47 kBps)
  >> gd_gif_in.c.bz2 doesn't seem to exist in /usr/ports/distfiles/.
  >> Attempting to fetch from http://www.boutell.com/gd/http/.
fetch: http://www.boutell.com/gd/http/gd_gif_in.c.bz2: Not Found
  >> Attempting to fetch from ftp://ftp.boutell.com/pub/boutell/gd/.
fetch: ftp://ftp.boutell.com/pub/boutell/gd/gd_gif_in.c.bz2: Connection
refused
  >> Attempting to fetch from http://virtual-estates.net/~mi/port-stuff/.
Receiving gd_gif_in.c.bz2 (3760 bytes): 100%
3760 bytes transferred in 0.1 seconds (50.50 kBps)
===>  Extracting for gd-1.8.4_6
  >> Checksum OK for gd-1.8.4.tar.gz.
  >> Checksum OK for gd_gif_in.c.bz2.
===>   gd-1.8.4_6 depends on executable: freetype-config - found
===>   gd-1.8.4_6 depends on shared library: jpeg - found
===>   gd-1.8.4_6 depends on shared library: png - found
===>   gd-1.8.4_6 depends on shared library: freetype - found
===>  Patching for gd-1.8.4_6
===>  Applying FreeBSD patches for gd-1.8.4_6
===>  Configuring for gd-1.8.4_6
===>  Building for gd-1.8.4_6
cc -O -pipe   -DHAVE_LIBPNG -DHAVE_LIBJPEG -DHAVE_LIBFREETYPE -I.
`/usr/local/bin/freetype-config --cflags` -I/usr/local/include -c gd.c
cc -O -pipe   -DHAVE_LIBPNG -DHAVE_LIBJPEG -DHAVE_LIBFREETYPE -I.
`/usr/local/bin/freetype-config --cflags` -I/usr/local/include -c gd_gd.c
cc -O -pipe   -DHAVE_LIBPNG -DHAVE_LIBJPEG -DHAVE_LIBFREETYPE -I.
`/usr/local/bin/freetype-config --cflags` -I/usr/local/include -c gd_gd2.c
gd_gd2.c:19: gd.h: No such file or directory
gd_gd2.c:35: syntax error before `*'
gd_gd2.c:36: syntax error before `im'
gd_gd2.c:42: syntax error before `in'
gd_gd2.c: In function `_gd2GetHeader':
gd_gd2.c:55: `in' undeclared (first use in this function)
gd_gd2.c:55: (Each undeclared identifier is reported only once
gd_gd2.c:55: for each function it appears in.)
gd_gd2.c:66: `GD2_ID' undeclared (first use in this function)
gd_gd2.c:72: `vers' undeclared (first use in this function)
gd_gd2.c:83: `sx' undeclared (first use in this function)
gd_gd2.c:87: `sy' undeclared (first use in this function)
gd_gd2.c:94: `cs' undeclared (first use in this function)
gd_gd2.c:99: `GD2_CHUNKSIZE_MIN' undeclared (first use in this function)
gd_gd2.c:99: `GD2_CHUNKSIZE_MAX' undeclared (first use in this function)
gd_gd2.c:105: `fmt' undeclared (first use in this function)
gd_gd2.c:110: `GD2_FMT_RAW' undeclared (first use in this function)
gd_gd2.c:110: `GD2_FMT_COMPRESSED' undeclared (first use in this function)
gd_gd2.c:117: `ncx' undeclared (first use in this function)
gd_gd2.c:123: `ncy' undeclared (first use in this function)
gd_gd2.c:141: `chunkIdx' undeclared (first use in this function)
gd_gd2.c: At top level:
gd_gd2.c:153: syntax error before `_gd2CreateFromFile'
gd_gd2.c:153: syntax error before `in'
gd_gd2.c: In function `_gd2CreateFromFile':

Occasional panics under heavy disk load - dmesg/stack traces

2002-12-12 Thread Greg Lane
G'day everyone,

I sent this a couple of days ago, but someone hijacked the thread so 
I have sent it again. I've added my most recent crash dump, this time 
it occurred during a rm -rf * in /usr/src. I'm starting to despair here,
is it hardware/software or what?

==Previous message==
Back in September I sent a message to hackers asking what people thought
of the kernel panics I had started to get from around April on a somewhat 
random basis when my machine was under heavy disk load (buildworld, 
make clean of ports etc). It doesn't panic every time I hammer the 
disk, but only sometimes. This machine has tracked stable for over two 
years now. Its a fairly vanilla box from Gateway.

I was lead towards a couple of PR's, both are still open.

> > Can anyone tell me if this hardware or a real bug? Is there anything
> > else I could supply which would help in understanding the problem?
> take a look at http://www.freebsd.org/cgi/query-pr.cgi?pr=42277 and 
> http://www.freebsd.org/cgi/query-pr.cgi?pr=42235

One of the PR's pointed towards softupdates as a potential cause. 
I turned it off on /usr and have continued to get panics. Can anyone give
me any clue as to what might be happening? Software / hardware / anything?

I enclose the (hopefully relevant) dmesg output and two kernel 
stack traces, both from the last few days. Last built world on Nov 12th.
I've had four or five crashes since then.

Cheers,
Greg

===
.
FreeBSD 4.7-STABLE #1: Tue Nov 12 14:01:18 EST 2002
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/NUCL03
.
CPU: Pentium III/Pentium III Xeon/Celeron (730.95-MHz 686-class CPU)
.
real memory  = 536739840 (524160K bytes)
avail memory = 518774784 (506616K bytes)
.
pcib1:  at device 1.0 on pci0
pci1:  on pcib1
pci1:  at 0.0 irq 11
pcib2:  at device 30.0 on pci0
pci2:  on pcib2
ahc0:  port 0xd800-0xd8ff mem 0xfeaff000-0xfeaf 
irq 11 at device 7.0 on pci2
aic7880: Ultra Wide Channel A, SCSI Id=7, 16/253 SCBs
vr0:  port 0xdc00-0xdc7f mem 0xfeafec00-0xfeafec7f 
irq 5 at device 11.0 on pci2
vr0: Ethernet address: 00:80:c8:da:0b:69
miibus0:  on vr0
amphy0:  on miibus0
amphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xd480-0xd4ff mem 0xfeafe800-0xfeafe87f 
irq 11 at device 15.0 on pci2
xl0: Ethernet address: 00:01:02:80:d0:e5
miibus1:  on xl0
xlphy0: <3c905C 10/100 internal PHY> on miibus1
xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isab0:  at device 31.0 on pci0
isa0:  on isab0
atapci0:  port 0xffa0-0xffaf at device 31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0:  at 31.2 irq 9
pci0:  (vendor=0x8086, dev=0x2413) at 31.3 irq 10
pcm0:  port 0xef00-0xef3f,0xe800-0xe8ff irq 10 at device 31.5 on 
pci0
orm0:  at iomem 0xc-0xc7fff,0xc8000-0xcc7ff,0xd-0xd07ff on isa0
fdc0:  at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
.
ad0: 14324MB  [29104/16/63] at ata0-master UDMA66
ad1: 78167MB  [158816/16/63] at ata0-slave UDMA66
ad3: 117246MB  [238216/16/63] at ata1-slave UDMA66
acd0: CD-RW  at ata1-master PIO4
Waiting 15 seconds for SCSI devices to settle
sa0 at ahc0 bus 0 target 3 lun 0
sa0:  Removable Sequential Access SCSI-2 device 
sa0: 4.032MB/s transfers (4.032MHz, offset 11)
Mounting root from ufs:/dev/ad0s1a
cd0 at ata1 bus 0 target 0 lun 0
cd0:  Removable CD-ROM SCSI-0 device 
cd0: 16.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present
WARNING: / was not properly dismounted

===
#0  dumpsys () at /usr/src/sys/kern/kern_shutdown.c:487
487 if (dumping++) {
(kgdb) where
#0  dumpsys () at /usr/src/sys/kern/kern_shutdown.c:487
#1  0xc017db63 in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:316
#2  0xc017dfa1 in panic (fmt=0xc02db420 "ffs_blkfree: freeing free frag")
at /usr/src/sys/kern/kern_shutdown.c:595
#3  0xc0227fa7 in ffs_blkfree (ip=0xc1959c00, bno=32167, size=1024)
at /usr/src/sys/ufs/ffs/ffs_alloc.c:1470
#4  0xc0229eeb in ffs_truncate (vp=0xd4b3d640, length=0, flags=0, cred=0x0, 
p=0xd4890920) at /usr/src/sys/ufs/ffs/ffs_inode.c:353
#5  0xc0233ce8 in ufs_inactive (ap=0xd4e96ea4)
at /usr/src/sys/ufs/ufs/ufs_inode.c:89
#6  0xc0238fb5 in ufs_vnoperate (ap=0xd4e96ea4)
at /usr/src/sys/ufs/ufs/ufs_vnops.c:2422
#7  0xc01ac78c in vput (vp=0xd4b3d640) at vnode_if.h:815
#8  0xc01afb19 in unlink (p=0xd4890920, uap=0xd4e96f80)
at /usr/src/sys/kern/vfs_syscalls.c:1504
#9  0xc029cf61 in syscall2 (frame={tf_fs = 135135279, tf_es = -1078001617, 
  tf_ds = -1078001617, tf_edi = 135719488, tf_esi = -1077943540, 
  tf_ebp = -1077945748, tf_isp = -722898988, tf_ebx = 1209032940, 
  tf_edx = -1, tf_ecx = 20, tf_eax = 10, tf_trapno = 0, tf_err = 2, 
  tf_eip = 1208716840, tf_cs = 31, tf_eflags = 647,

SOLVED - Re: Error: short read

2002-12-12 Thread Drew Tomlinson
- Original Message -
From: "Kliment Andreev" <[EMAIL PROTECTED]>
To: "Drew Tomlinson" <[EMAIL PROTECTED]>; "FreeBSD Questions"
<[EMAIL PROTECTED]>
Sent: Thursday, December 12, 2002 12:21 PM
Subject: Re: Error: short read


> > I have downloaded the Helix Universal Server binary from
RealNetworks.
> > As I understand it, the binary is a self-extracting archive.  I have
run
> > the binary and get the following error:
> > blacklamb# ./rs900-freebsd4-ia32.bin
> > Extracting files for RealNetworks installation...
> > Error: short read (0/86262 bytes) (File too large)
>
> Probably the file is corrupted. I just downloaded the file from
realnetworks

That was it.  Thank you!!!

Drew

> %ls -l aaa.bin
> -rwxrwxrwx  1 ftp  ftp  14012106 Dec 12 15:18 aaa.bin
> %md5 aaa.bin
> MD5 (aaa.bin) = 502e15e3454227820794e6fbb4549397
>
>
> Do the md5 to the file and compare the values.
>
>
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
>
>


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



CVS Logging

2002-12-12 Thread Wayne Pascoe
Hi all,

Does anyone know if there is a way to have CVS log all activity to a
log file. Basically, I'd like a log of all checkouts, updates, imports
and commits. I've already got it logging imports commits, but I can't
work out how to log the other stuff.

TIA,

-- 
- Wayne Pascoe 
I have a very firm grasp on reality. I can
reach out and strangle it any time!


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: CVS Logging

2002-12-12 Thread Wilkinson,Alex
Port:   cvsbook-1.21
Path:   /usr/ports/devel/cvsbook
Info:   A tutorial and reference for CVS
Maint:  [EMAIL PROTECTED]
Index:  devel
B-deps:
R-deps:


 - aW


Does anyone know if there is a way to have CVS log all activity to a
log file. Basically, I'd like a log of all checkouts, updates, imports
and commits. I've already got it logging imports commits, but I can't
work out how to log the other stuff.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: hosting more than one website on a cable connection (DHCP)... and using BIND

2002-12-12 Thread Andrew Y Ng
you can create a dynamic hostname with dyndns.org and update it with
ddclient, and create a CNAME entry for your machine and alias it to the
dyndns hostname at your DNS. (i have home.andrewng.com to point to my machine
behind a cable modem with a dynamic IP address)

you can just set the DNS to that dynamic hostname at the registrar.
you need one more DNS though, dyndns has a DNS hosting service, but I'm 
not sure if that is free...

this takes care of the having your own domains part... to resolve to
different machine, I think you can look into NAT and BIND, I have not done
that myself, but I'll probably be look into doing that soon. right now I'm
simply running sshd at a different port and have my firewall forward it to
the other machine... :)

/ayn


On  0, Bsd Neophyte <[EMAIL PROTECTED]> wrote:
> 
> Alright, this is what I want to do...
> 
> I have a cable connection that uses DHCP, giving me a lease for about 2
> minutes.  Usually the address stays the same, but at times it does change.
>  
> 
> I want to host two domain names to start.  I also would like to have the
> possiblity to host more.  I will have only one changing IP.
> 
> I also want to have subdomains.  I want each system at home to have a
> subdomain based on either one of the two domain's I'll have established. 
> So if I have blah.com as my primary domain, I want to be able to ssh to
> yadda.blah.com from any other location.  If I want to ssh to yawn.blah.com
> from any other location, it should be able to connect to that system,
> eventhough they are both sharing 1 ip address through Natting.
> 
> I've been told I can use these free third party domain name servers.  I've
> also been told that you need to keep a record with at least 2 domain name
> servers when hosting a domain name.  While, I can do this, I'd like to
> host at least one DNS at home.
> 
> Now, I'm completely confused if this can be done and if it can, then how
> to do it.
> 
> The FreeBSD handbook seems pretty straight-forward in setting up BIND. 
> However, I don't know how to distinguish more than one domain name when
> using only one IP address.  Also, is it possible for the home DNS and the
> third party DNS's to work in tandem?
> 
> Does any of this make sense?
> 
> __
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message

-- 
andrew y ng  <[EMAIL PROTECTED]>  http://andrewng.com

fingerprint :
46a1 29ff 893a 0381 dc81  1e1e bed8 e882 9bfc 594c





msg11893/pgp0.pgp
Description: PGP signature


RE: Apache + mod_ssl + mod_frontpage no longer working

2002-12-12 Thread John Straiton


John Straiton
[EMAIL PROTECTED] - 704-365-9970 
==
Please reply to [EMAIL PROTECTED] instead of directly to me so that the
first available engineer might help you


> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED]] On Behalf Of 
> Jack L. Stone
> Sent: Tuesday, December 10, 2002 11:21 PM
> To: John Straiton; [EMAIL PROTECTED]
> Subject: Re: Apache + mod_ssl + mod_frontpage no longer working
> 
> 
> At 09:16 PM 12.10.2002 -0500, John Straiton wrote:
> >Greetings!
> >
> > So I had written to -questions a long time ago with how I got
> >this combination to work:[Apache 1.3x + mod_ssl + mod_php4 +
> >mod_frontpage] using ports/www/apache13-modssl/ as the base, then 
> >patching it for mod_frontpage and then adding ports/www/mod_php4
> >
> >But for some reason, recently, my method of installation stopped 
> >working. I don't know what I did or when, but it's not 
> working anymore. 
> >By that I mean that you could no longer connect to it via frontpage 
> >client and the frontpage components (form2email fer instance) never 
> >return after being submitted...they just sit on "waiting for 
> reply..." 
> >indefinitely. So I figure that the easiest thing to do would be to 
> >repeat the process again, at least I'd wind up with the 
> latest versions 
> >of everything anyway. Didn't work.
> >
> >When I try to connect to it with a frontpage client, the client just 
> >hangs for a very very long time. In inspecting the logs, I 
> only see one 
> >thing. It gets recorded into the error_log for the site I 
> try to open 
> >in frontpage.
> >
> >[Tue Dec 10 20:43:15 2002] FrontPage SUID Error: could not 
> read valid 
> >input key
> >
> >RTR's site doesn't seem to have anything explaining this, and google 
> >searches only come back with sourcecode and regrettibly, I'm 
> not much 
> >of a serious coder so reverse engineering it ain't gonna happen.
> >
> >Here are the details:
> >
> >FreeBSD 4.7-STABLE, cvsup'ed nightly
> >
> >To set it up I do this:
> > cd /usr/ports/www/apache13-modssl/
> > make patch
> > cd work/apache_1.3.27/
> > cp /home/john/fp-patch-apache_1.3.22   (the latest one I know
> >of)
> > patch -p0 < fp-patch-apache_1.3.22
> > (reports unified or succeeded for every hunk)
> > cd ../..
> > make install
> >
> > cd ../mod_php4
> > make install
> >
> > cp /usr/local/sbin/httpd /home/john/
> >
> > cd /usr/local/frontpage/version5.0/
> > ./fp_install.sh
> > (I then answer everything as defaults, or yes, only
> >building a root web)
> > cp /home/john/httpd /usr/local/sbin/  (cause it installs
> >1.3.19)
> > apachectrl start
> >
> >Now all this USED to be the way I'd get a working binary. 
> I've followed 
> >these instructions like a half dozen times (they're actually from my 
> >personal notes).
> >
> >Here's my startup messages:
> >[Tue Dec 10 20:42:51 2002] [notice] Apache/1.3.27 (Unix) 
> mod_ssl/2.8.12 
> >OpenSSL/0.9.6g PHP/4.2.3 FrontPage/5.0.2.2510 configured -- resuming 
> >normal operations [Tue Dec 10 20:42:51 2002] [notice] suEXEC 
> mechanism 
> >enabled (wrapper:
> >/usr/local/sbin/suexec)
> >[Tue Dec 10 20:42:51 2002] [notice] Accept mutex: flock (Default: 
> >flock)
> >
> >Looks good! But what I wind up with is a working apache13-modssl + 
> >mod_php4, no frontpage...
> >
> >I then take an empty virtualhost website (as in, it's set up 
> but has no
> >files) and do this:
> >
> >/usr/local/frontpage/version5.0/bin/owsadm.exe -o install -u 
>  
> >-pw  -m  -s 
> /usr/local/etc/apache/httpd.conf -xu 
> > -ug 
> >
> >Which comes back with a friendly message about the 
> installation being 
> >successful. Too bad it doesn't work.. Again, Frontpage 2002 
> just hangs.
> >
> >Thoughts, Ideas, Some cheese to go with my whine =)   
> anything would be
> >appreciated:
> >
> >John Straiton
> >[EMAIL PROTECTED]
> >Clickcom, Inc
> >704-365-9970x101
> >
> 
> Have you tried without the "patch"?? I haven't applied 
> the patch since
> several versions ago -- maybe as far back as Apache-1.3.19. 
> Some obscure
> research turned up that info as I recall. I tried it and 
> never looked back
> -- no patches. Running several servers that way.


Hrm. So here's what I did.. I went into /usr/ports/www/apache13-fp and
put mod_frontpage.c into the files directory.. Then I opened the
Makefile and added 

MOD_FP= ${FILESDIR}/mod_frontpage.c

And then into the configure args, 
--enable-module=define \
+ --add-module=${MOD_FP} \
+ --enable-shared=frontpage \
${SUEXEC_CONF}

But when I then try a make I get this;
===> src/modules/extra
cc -c -I/usr/local/include -I../../os/unix -I../../include
-DHARD_SERVER_LIMIT=512  -DDOCUMENT_LOCATION=\"/usr/local/www/data/\"
-DDEFAULT_PATH=\"/usr/local/bin:/bin:/usr/bin\"
-DACCEPT_FILTER_NAME=\"httpready\" -funsigned-char -DMOD_SSL=208112
-DEA

Next Problem with kernel

2002-12-12 Thread Radoslaw Bolforski
Hi, thats me again :-(

When I compile and install this my kernel i want boot a new kenrel but i
get that:

Panic: pmap_bootstamp: no local apic!
mp_lock=0007; cpuid=0; lapic.id=
Uptime: 0s

I now it is kernel panic but why ?

Please help me!
Radoslaw Bolforski
[EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Next Problem with kernel

2002-12-12 Thread Kliment Andreev
> Panic: pmap_bootstamp: no local apic!
> mp_lock=0007; cpuid=0; lapic.id=
> Uptime: 0s
> 
> I now it is kernel panic but why ?

Are you using standard GENERIC and LINT file?


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



RE: Apache + mod_ssl + mod_frontpage no longer working

2002-12-12 Thread Jack L. Stone
At 07:47 PM 12.12.2002 -0500, John Straiton wrote:
>
>
>John Straiton
>[EMAIL PROTECTED] - 704-365-9970 
>==
>Please reply to [EMAIL PROTECTED] instead of directly to me so that the
>first available engineer might help you
>
>
>> -Original Message-
>> From: [EMAIL PROTECTED] 
>> [mailto:[EMAIL PROTECTED]] On Behalf Of 
>> Jack L. Stone
>> Sent: Tuesday, December 10, 2002 11:21 PM
>> To: John Straiton; [EMAIL PROTECTED]
>> Subject: Re: Apache + mod_ssl + mod_frontpage no longer working
>> 
>> 
>> At 09:16 PM 12.10.2002 -0500, John Straiton wrote:
>> >Greetings!
>> >
>> >So I had written to -questions a long time ago with how I got
>> >this combination to work:   [Apache 1.3x + mod_ssl + mod_php4 +
>> >mod_frontpage] using ports/www/apache13-modssl/ as the base, then 
>> >patching it for mod_frontpage and then adding ports/www/mod_php4
>> >
>> >But for some reason, recently, my method of installation stopped 
>> >working. I don't know what I did or when, but it's not 
>> working anymore. 
>> >By that I mean that you could no longer connect to it via frontpage 
>> >client and the frontpage components (form2email fer instance) never 
>> >return after being submitted...they just sit on "waiting for 
>> reply..." 
>> >indefinitely. So I figure that the easiest thing to do would be to 
>> >repeat the process again, at least I'd wind up with the 
>> latest versions 
>> >of everything anyway. Didn't work.
>> >
>> >When I try to connect to it with a frontpage client, the client just 
>> >hangs for a very very long time. In inspecting the logs, I 
>> only see one 
>> >thing. It gets recorded into the error_log for the site I 
>> try to open 
>> >in frontpage.
>> >
>> >[Tue Dec 10 20:43:15 2002] FrontPage SUID Error: could not 
>> read valid 
>> >input key
>> >
>> >RTR's site doesn't seem to have anything explaining this, and google 
>> >searches only come back with sourcecode and regrettibly, I'm 
>> not much 
>> >of a serious coder so reverse engineering it ain't gonna happen.
>> >
>> >Here are the details:
>> >
>> >FreeBSD 4.7-STABLE, cvsup'ed nightly
>> >
>> >To set it up I do this:
>> >cd /usr/ports/www/apache13-modssl/
>> >make patch
>> >cd work/apache_1.3.27/
>> >cp /home/john/fp-patch-apache_1.3.22   (the latest one I know
>> >of)
>> >patch -p0 < fp-patch-apache_1.3.22
>> >(reports unified or succeeded for every hunk)
>> >cd ../..
>> >make install
>> >
>> >cd ../mod_php4
>> >make install
>> >
>> >cp /usr/local/sbin/httpd /home/john/
>> >
>> >cd /usr/local/frontpage/version5.0/
>> >./fp_install.sh
>> >(I then answer everything as defaults, or yes, only
>> >building a root web)
>> >cp /home/john/httpd /usr/local/sbin/  (cause it installs
>> >1.3.19)
>> >apachectrl start
>> >
>> >Now all this USED to be the way I'd get a working binary. 
>> I've followed 
>> >these instructions like a half dozen times (they're actually from my 
>> >personal notes).
>> >
>> >Here's my startup messages:
>> >[Tue Dec 10 20:42:51 2002] [notice] Apache/1.3.27 (Unix) 
>> mod_ssl/2.8.12 
>> >OpenSSL/0.9.6g PHP/4.2.3 FrontPage/5.0.2.2510 configured -- resuming 
>> >normal operations [Tue Dec 10 20:42:51 2002] [notice] suEXEC 
>> mechanism 
>> >enabled (wrapper:
>> >/usr/local/sbin/suexec)
>> >[Tue Dec 10 20:42:51 2002] [notice] Accept mutex: flock (Default: 
>> >flock)
>> >
>> >Looks good! But what I wind up with is a working apache13-modssl + 
>> >mod_php4, no frontpage...
>> >
>> >I then take an empty virtualhost website (as in, it's set up 
>> but has no
>> >files) and do this:
>> >
>> >/usr/local/frontpage/version5.0/bin/owsadm.exe -o install -u 
>>  
>> >-pw  -m  -s 
>> /usr/local/etc/apache/httpd.conf -xu 
>> > -ug 
>> >
>> >Which comes back with a friendly message about the 
>> installation being 
>> >successful. Too bad it doesn't work.. Again, Frontpage 2002 
>> just hangs.
>> >
>> >Thoughts, Ideas, Some cheese to go with my whine =)   
>> anything would be
>> >appreciated:
>> >
>> >John Straiton
>> >[EMAIL PROTECTED]
>> >Clickcom, Inc
>> >704-365-9970x101
>> >
>> 
>> Have you tried without the "patch"?? I haven't applied 
>> the patch since
>> several versions ago -- maybe as far back as Apache-1.3.19. 
>> Some obscure
>> research turned up that info as I recall. I tried it and 
>> never looked back
>> -- no patches. Running several servers that way.
>
>
>Hrm. So here's what I did.. I went into /usr/ports/www/apache13-fp and
>put mod_frontpage.c into the files directory.. Then I opened the
>Makefile and added 
>
>MOD_FP= ${FILESDIR}/mod_frontpage.c
>
>And then into the configure args, 
>--enable-module=define \
>+ --add-module=${MOD_FP} \
>+ --enable-shared=frontpage \
>${SUEXEC_CONF}
>
>But when I then try a make I get this;
>===> src/modules/extra
>cc -c -I/usr/local/include -I../../os/unix -I../../include
>-DHARD

Dual 3c595s and a Compaq Netflex (Thunderlan) in a machine

2002-12-12 Thread Robby Desmond
Hey all,

I'm building a Snort box and want to have two ip-less nics for detecting 
and one with IP for management. Using the hardware I've got (since we're in 
a budget crunch), I've scavenged together a Compaq Deskpro 4000, which has 
a built-in 10/100 NIC, to be used for management and a couple of old spare 
3c595s we've got.

The 595s are calling for the vx kernel driver, and I was wondering why my 
generic kernel only loaded one of them, so I explicitly stated, in the 
kernel config, to load two, vx0 and vx1. Now they both appear, but they 
don't actually work.

I can ifconfig them up, but what happens is that one doesn't respond at all 
(no light on the hub), while the other immediately kills the hub by 
flooding it - the link light comes on, but so does the collision light, 
permanently, and my other workstation loses outside connection.

I'm working with 4.6.2. Anyone got suggestions? (BTW, I'm off-list so 
please include my addy in responses.)

-Robby

Robert Desmond
Systems Administrator
UCSB Extended Learning Services
805-893-4906


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: vinum question - Is this possible?

2002-12-12 Thread Matt Ruby
--- Greg 'groggy' Lehey <[EMAIL PROTECTED]> wrote:
> On Sunday,  8 December 2002 at  9:17:53 -0800, Matt
> Ruby wrote:
> > Is this possible?
> > ...
> 
> Yes.
> 
> > ...
> 
> In the case of a failed drive, Vinum knows all about
> it, just not
> where it is.  In your case Vinum doesn't know about
> the new disk; you
> have to tell it.  Do that with an incremental
> configuration file just
> describing the new objects.
> 
> I'm attaching a draft from the upcoming 4th edition
> of "The Complete
> FreeBSD".  Take a look at it and tell me if
> anything's unclear.
> 
> Greg
> --
> ...

Thanks for replying so quickly.  My existing drive
seems now to be in the process of dying, so copying
its contents has been more time consuming than I
expected (due to many IDE timeouts).  This means I'll
be getting a 3rd drive to use for the mirror, too.

Anyway, I'm assuming that with this original
configuration:
drive drive1 device /dev/ad0s1e
 volume var setupstate
  plex org concat
   sd length 256m drive drive1
 volume usr setupstate
  plex org concat
   sd length 0 drive drive1

this second configuration should work:
drive drive2 device /dev/ad2s1e
 plex name var.p1 org concat volume var
  sd length 256m drive drive2
 plex name usr.p1 org concat volume usr
  sd length 0 drive drive2

assuming equal-sized drives, and that a "start var.p1"
and "start usr.p1" should get them going.

There was a little more in that excerpt than I needed,
which made me confused initially, but I think I've
sorted it out now.

Thanks again for your help,
-M

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: vinum question - Is this possible?

2002-12-12 Thread Greg 'groggy' Lehey
[Format recovered--see http://www.lemis.com/email/email-format.html]

Long/short syndrome.

On Thursday, 12 December 2002 at 18:10:37 -0800, Matt Ruby wrote:
> --- Greg 'groggy' Lehey <[EMAIL PROTECTED]> wrote:
>> On Sunday,  8 December 2002 at  9:17:53 -0800, Matt
>> Ruby wrote:
>>> Is this possible?
>>> ...
>>
>> Yes.
>>
>>> ...
>>
>> In the case of a failed drive, Vinum knows all about it, just not
>> where it is.  In your case Vinum doesn't know about the new disk;
>> you have to tell it.  Do that with an incremental configuration
>> file just describing the new objects.
>>
>> I'm attaching a draft from the upcoming 4th edition of "The
>> Complete FreeBSD".  Take a look at it and tell me if anything's
>> unclear.
>
> Thanks for replying so quickly.  My existing drive seems now to be
> in the process of dying, so copying its contents has been more time
> consuming than I expected (due to many IDE timeouts).  This means
> I'll be getting a 3rd drive to use for the mirror, too.
>
> Anyway, I'm assuming that with this original configuration:
>
> drive drive1 device /dev/ad0s1e
>  volume var setupstate
>   plex org concat
>sd length 256m drive drive1
>  volume usr setupstate
>   plex org concat
>sd length 0 drive drive1

You don't need setupstate if you only have one plex.  It doesn't do
any harm; it just doesn't make any difference.

> this second configuration should work:
>
> drive drive2 device /dev/ad2s1e
>  plex name var.p1 org concat volume var
>   sd length 256m drive drive2
>  plex name usr.p1 org concat volume usr
>   sd length 0 drive drive2

Yes.

> assuming equal-sized drives, and that a "start var.p1" and "start
> usr.p1" should get them going.

Yes.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Ðåìîíòû êâàðòèð FRYYGEKOGG

2002-12-12 Thread sam486
Ïðåäëàãàåì êîìïëåêñíûå ðåìîíòû êâàðòèð ïî ñàìûì íèçêèì öåíàì (îò 35 ó.å.).
 
FRYYGEKOGGVEXWKKDIVHYOTTYQUQXHGKPSWMIR

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: VNC

2002-12-12 Thread Brian T. Schellenberger



On Thursday 12 December 2002 03:45 pm, Brian wrote:
| getting vnc to start at boot is tricky, since you want it to start as
| some user, rather than as root.  A solution I've been thinking of is
| looking at the output os ps auxw, grepping for Xvnc owned by the
| desired user, if its there exit, if not run vncserver as the user in
| question.  Putting it in cron with a /8 to check every 8 minutes
| seems a good idea.


My *guess* is that you would always want the server to start as the 
*same* user, if you want it to start at boot.

In that case, it's quite simple, at least in theory (meaning, I haven't 
done this).

If that is the only user who will *ever* want to own the server, then 
just make that user the owner of vnc and set the suid bit.

If you want to keep the "default" vnc server with the usual owner 
(root?), then just create a hardlink used for the startup command and 
suid *that* as above.

|
|   Bri
|
| On Thu, 12 Dec 2002, Daniel HARTMANN wrote:
| > Bonjour,
| >
| > J'utilise vnc vers ma machine Freebsd.
| >
| > Mais comment démarrer "vncserver" automatiquement au boot sans
| > taper la commande ??
| >
| > Merci
| >
| >
| >
| >
| >
| > Dany_H  ;-)
|
| To Unsubscribe: send mail to [EMAIL PROTECTED]
| with "unsubscribe freebsd-questions" in the body of the message

-- 
Brian, the man from Babble-On . . . .   [EMAIL PROTECTED] (personal)

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Screen shots?

2002-12-12 Thread Thomas Connolly
Can someone tell me how to take a screen shot using KDE3?
-- 
Thomas Connolly
President
Electrosoft Solutions, Inc.
Phone: (970) 222-7844
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Screen shots?

2002-12-12 Thread Mike Hogsett

> Can someone tell me how to take a screen shot using KDE3?

I am not sure about KDE3 specific things, but I have taken screen shots
with xv.  /usr/ports/graphics/xv

 - Mike Hogsett

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



default browser

2002-12-12 Thread Thomas Connolly
Thanks for the info on the screenshots.  Another question, how can I change 
the default browser that KDE uses from Konqueror to Mozilla?

Thanks,
-- 
Thomas Connolly
President
Electrosoft Solutions, Inc.
Phone: (970) 222-7844
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Screen shots?

2002-12-12 Thread Wilkinson,Alex
There are tonnes of programs that can do this, two such programs are:

/usr/ports/graphics/gimp
/usr/X11R6/bin/xwd

>Can someone tell me how to take a screen shot using KDE3?

 - aW

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Lap Top and FreeBSD, tahnk you

2002-12-12 Thread C L Dokic
Do we know please, which Lap Top brand is trouble free
to handle FreeBSD installation & configuration.
At the present time I have TOSHIBA 355 CDS and lot of
problems related to GUI and network.
I would appreciate any thoughts / suggestions that can
put me on a right track and direction.
Thank you,
cedomilj 


__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: NoBreak (upsilon) monitoring opensource software?

2002-12-12 Thread Mario Sergio Fujikawa Ferreira
On Thu, Dec 12, 2002 at 12:07:13AM -0600, Glenn Johnson wrote:
> On Wed, Dec 11, 2002 at 01:16:23PM -0200, Mario Sergio Fujikawa Ferreira
> wrote:
> >
> >   I've just acquired a UPS compatible with upsilon 2000 software
> > for Windows. I would like to know if anyone knows of a unix package
> > capable of speaking the upsilon2k protocol. :)
> >
> >   I would really like being able to have the NoBreak issue a
> > shutdown command if the batteries were running too low.
> > 
> > Product description:SMS Manager III 1.3KVA
> > Intelligent Managing Port RS232
> > Windows Software Upsilon 2000
> > 
> > The Upsilon 2000 software is developed by Megatec
> > http://www.megatec.com.tw/
> > 
> >   Unfortunaly, of course, they do not tell me of any compatible
> > open source solutions. hehehe They only offered me a FreeBSD 3.x old
> > software binary from 1999.
> 
> I am using that software (I think mine is actually from 1998) with a
> Fenton PowerPal UPS.  You need the 3.x compat libraries installed.  It
> is not fancy but gets the job done.  I can not say for sure that it
> would work with your UPS however.

Humm, I've just found out that latest NUT supports SMS along
MANY other UPSes. :)
Furthermore, they even have documentation on how to build
the serial cables. That's just EXCELENT software.
I'm trying it tomorrow if I can get the NUT port updated

http://www.exploits.org/nut/

Regards,

-- 
Mario S F Ferreira - DF - Brazil - "I guess this is a signature."
Computer Science Undergraduate | FreeBSD Committer | CS Developer
flames to beloved [EMAIL PROTECTED]
feature, n: a documented bug | bug, n: an undocumented feature

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: ...changed from TIME to SPACE

2002-12-12 Thread Paul Everlund
Jens Rehsack wrote:

Paul Everlund wrote:


C J Michaels wrote:


Some time in the recent past Paul Everlund scribbled:

>Hi list!
>
>What does this mean?
>
># sysctl kern.msgbuf
>[snip]
><5>/var: optimization changed from TIME to SPACE
><118>Dec 10 11:36:12 fw /kernel: /var: optimization changed from 
TIME to
>SPACE [snip]

It means that your /var filesystem is nearly full.  The kernel is now
trying to maximize the amout of free full blocks on the filesystem.

>From fs(5) manpage:
===
The element fs_optim specifies whether the file system should try to 
min-
imize the time spent allocating blocks, or if it should attempt to mini-
mize the space fragmentation on the disk.  If the value of fs_minfree
(see above) is less than 10%, then the file system defaults to 
optimizing
for space to avoid running out of full sized blocks.  If the value of
minfree is greater than or equal to 10%, fragmentation is unlikely to be
problematical, and the file system defaults to optimizing for time.
===

Some other good reads would be tunefs(8), newfs(8), and the mailing list
archives.



Thank you Chris and Jens for your replies!

A full file system on /var triggered it?

# df -k
Filesystem  1K-blocks   Used   Avail Capacity  Mounted on
/dev/ad1s1a 65470  40452   1978267%/
/dev/ad0s1e   2030062 801262 106639643%/usr
/dev/ad1s1e 35230  17770   1464255%/var
procfs  4  4   0   100%/proc

It doesn't look full to me.

Best regards,
Paul


Try 'df -ik'


# df -ik
Filesystem  1K-blocks   Used   Avail Capacity iused  ifree %iused 
Mounted on
/dev/ad1s1a 65470  40452   1978267%1517   6801   18%   /
/dev/ad0s1e   2030062 801262 106639643%  110510 144464   43%   /usr
/dev/ad1s1e 35230  17512   1490054% 825   3653   18%   /var
procfs  4  4   0   100%  494839%   /proc

The i-nodes are fine too.

Anyway, I guess it is as Bill Moran wrote, that a temporary file was
created, that made it change, and somewere in the logs a change back
should be found. Will check it later.

Thank you all for your replies! In the future, now I know what TIME
to SPACE and vice versa means!

Best regards,
Paul



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


rc.conf IPv6 configuration

2002-12-12 Thread Janine C . Buorditez

Hello!

I have a /48 delegation from Access to Six.

I can't seem to get much out of this:

# IPv6 NETWORK CONFIGURATION
#
ipv6_enable="YES"
ipv6_gateway_enable="YES"
gif_interfaces="gif0"
gifconfig_gif0="192.168.187.1 62.61.157.209"
gifconfig_lo0="inet6 3ffe:80ee:1075::1200 prefixlen 128"
rtadvd_enable="YES"
rtadvd_interfaces="ep0"
ipv6_firewall_enable="YES"
ipv6_firewall_type="open"

These settings works, however:

ifconfig gif0 create tunnel 192.168.187.1 62.61.157.209 up
route add -inet6 default -interface gif0
ifconfig lo0 inet6 3ffe:80ee:1075::1200 prefixlen 128

What is wrong in my rc.conf?

And, will it now be defaultrouter for my workstation (192.168.187.2)?

Thanks!

--janine

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Installing acroread5.rpm

2002-12-12 Thread Janine C . Buorditez
Hi.

I'm curious what to do after:

aegis# rpm -i --ignoreos --root /compat/linux --dbpath /var/lib/rpm 
acroread-5.0.6-1.i386.rpm

Since:

::: johann[aegis] [~] % /usr/compat/linux/usr/bin/acroread  [22:06]
ERROR: Cannot find installation directory.

And there is no /usr/local/Acroread5.

Anybody?

--janine

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Audio CD:s frequently unreadable

2002-12-12 Thread Janine C . Buorditez
Hi.

There are a lot of CD players that can't read my audio CD,
made with this command:

cdrecord -v dev=0,3,0 speed=4 -audio -pad *wav

Is this because of the way I burn it or the thing I burn it on?

--janine

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Installing acroread5.rpm

2002-12-12 Thread Miguel Mendez
On Thu, 12 Dec 2002 22:09:36 +0100
Janine C.Buorditez <[EMAIL PROTECTED]> wrote:

Hi,


> ::: johann[aegis] [~] % /usr/compat/linux/usr/bin/acroread
>  [22:06]
> ERROR: Cannot find installation directory.
> 
> And there is no /usr/local/Acroread5.
> 
> Anybody?

I feel a very strong sense of deja vu, btw ;-) Why not simply:

# cd /usr/ports/print/acroread5 && make install clean ?

Whenever you want to use some piece of software, it's wiser to check the
ports tree first.

Cheers,
-- 
Miguel Mendez - [EMAIL PROTECTED]
GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt
EnergyHQ :: http://www.energyhq.tk
Of course it runs NetBSD!

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Installing acroread5.rpm

2002-12-12 Thread Gerald A. Speak
On Thursday 12 December 2002 04:09 pm, Janine C.Buorditez wrote:
> Hi.
>
> I'm curious what to do after:
>
> aegis# rpm -i --ignoreos --root /compat/linux --dbpath /var/lib/rpm
> acroread-5.0.6-1.i386.rpm
>
> Since:
> ::: johann[aegis] [~] % /usr/compat/linux/usr/bin/acroread 
> ::: [22:06]
>
> ERROR: Cannot find installation directory.
>
> And there is no /usr/local/Acroread5.
>
> Anybody?

Try:
cd /usr/ports/print/acroread5 && make install clean

>
> --janine
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: ...changed from TIME to SPACE

2002-12-12 Thread Giorgos Keramidas
On 2002-12-12 20:30, Paul Everlund <[EMAIL PROTECTED]> wrote:
> Jens Rehsack wrote:
> >Paul Everlund wrote:
> >>C J Michaels wrote:
> >>>Some time in the recent past Paul Everlund scribbled:
> 
> What does this mean?
> 
> # sysctl kern.msgbuf
> [snip]
> <5>/var: optimization changed from TIME to SPACE
> <118>Dec 10 11:36:12 fw /kernel: /var: optimization changed from TIME to SPACE
> [snip]
> >>>
> >>>It means that your /var filesystem is nearly full.  The kernel is now
> >>>trying to maximize the amout of free full blocks on the filesystem.

Or that the /var filesystem has many files that are smaller than the
block size which the newfs command that created /var used.  In this
case, a lot of files are saved in what the FreeBSD filesystem calls
"fragments".  When the amount of fragments in use exceeds 80% of the
"minimum free space" of the filesystem, the filesystem switches to
space optimization to a more careful allocation policy of fragments.

> >Try 'df -ik'
>
> # df -ik
> Filesystem  1K-blocks   Used   Avail Capacity iused  ifree %iused
> Mounted on
> /dev/ad1s1a 65470  40452   1978267%1517   6801   18%   /
> /dev/ad0s1e   2030062 801262 106639643%  110510 144464   43%   /usr
> /dev/ad1s1e 35230  17512   1490054% 825   3653   18%   /var
> procfs  4  4   0   100%  494839%   /proc
>
> The i-nodes are fine too.
>
> Anyway, I guess it is as Bill Moran wrote, that a temporary file was
> created, that made it change, and somewere in the logs a change back
> should be found. Will check it later.

Or it could be this...  You can use fstat to see if some process has a
file open under /var that you know shouldn't be there.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



memory disks in 4.5-stable

2002-12-12 Thread Marius M. Rex

I want to create a number of small RAM disks on some webservers so they
can serve high traffic content directly off of RAMdisks instead of
conventional disks or NFS.

I first tested this out on my desktop machine 4-7 stable and everything
worked just fine.  I made 3 10Mb RAMdisks and mounted then just as
planned.  But once I hopped onto the production servers (4.5-Stable from
eb 26, 2002 I believe) I seemed to be limited to using only one md device.
Only md0 is reconized as valid, any device number above that fails
to be recognized as a configured device.  MAKEDEV will make the devices
just fine, but disklabel refuses to deal with them.  It fails like so:

image1# cd /dev
image1# ./MAKEDEV md1
image1# disklabel -r -w md1 auto
disklabel: /dev/md1c: Device not configured

/dev/md1c and all the associated devices seem to be present,
but disklabel refuses to recogize them.   Again, this worked fine on my
4.7 desktop, but following the same procedure on the servers at our data
center, it fails every time. I thought that perhaps adding a number after md
in the kernel would help so I did this and recompiled:

pseudo-device   md  3   # Memory disks

But that had no effect at all.

If this is a bug, I can not find reference to it.  Is it a bug that I can
patch?  Is there a work around I can preform?  I am reluctant to upgrade
the servers unless I have to, as they are in production.

Anyone have any suggestions or advice?  Please cc: responces to me, as I
am not a regular subscriber.


-
Marius M. Rex

NeXT is most Goth of all computers.  It's all black.  It's
obscure and arcane.  It's obstinate, and at times annoying.  Most of all,
it's a fetish which one can only defend by resorting to emotional arguments
because there is no rational basis for involvement with it any longer.  (Not
 only that, but many no longer work, and occasionally smoke.)


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Need some monney?

2002-12-12 Thread Need some monney?

 Hello, 
! 

  If you have been looking for information on Online Money Making
   Programs, This  is probably what you require
   to help you in your decisions.

*  $50 Signup Bonus 
*  $0.05 - $20 per each e-mail! 
*  Get Paid for your visits, sign-ups, leads, 
sales 

 *  6 referral levels  
   *  Up to $10 per referral

 *  1st level - $10
 *  2nd level - $5 
 *  3rd level - $4 
 *  4th level - $3 
 *  5rd level - $2 
 *  6th level - $1 

* 

Payment sent via PayPal/Check 

  *  Reading is fun...and profitable 


 
   Get $50 - Join Now! 


  http://www.CashRead.com/cgi-bin/page.cgi?[EMAIL PROTECTED] 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Weird NIS master problem

2002-12-12 Thread Doug Silver
(Sorry if this gets double-posted, I don't think I sent it correctly the first 
time)

I have two FBSD NIS machines, the master is running 4.6 and the slave is at
4.7.  The slave works properly, it's the master that is acting strangely.

The master is also serving as a router with 2 nic cards, and is running ntpd.
It processes NIS stuff, just *really* slowly.  It is not doing firewall stuff
(yet).

For example, running 'truss id dsilver' it stalls right after running
'gettimeofday' but eventually answers back properly.  The same behavior
happens on any other client if I bind it to the master instead of the slave,
i.e. you can login, it just takes a long time.

I've confirmed that both machines are running ypserv, ypbind, rpc.statd, and
the server is also running rpc.ypxfrd.

Any suggestions?

Thanks.

-Doug


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Screen shots?

2002-12-12 Thread John Bleichert
On Thu, 12 Dec 2002, Thomas Connolly wrote:

> Date: Thu, 12 Dec 2002 20:51:06 -0700
> From: Thomas Connolly <[EMAIL PROTECTED]>
> To: FreeBSD Questions <[EMAIL PROTECTED]>
> Subject: Screen shots?
> 
> Can someone tell me how to take a screen shot using KDE3?

If you have ImageMagick installed, alt+f2 in kde to get a run prompt and 
type:
 
 import -window root screenshot.jpg

That's how I get the one below.

#  John Bleichert 
#  http://vonbek.dhs.org/latest.jpg


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



How do I patch my change into a source file in ports?

2002-12-12 Thread BSD baby
I made a change to this file:
/usr/ports/sysutils/cdrtools/work/cdrtools-1.11/cdda2wav/cdda2wav.c
and I want my change to the source file to "stick" when building the port.

Seems if I do a "make clean install" it kills my change to the source file.

Do I need to add my diff change to a patch file somehow?

Any tutorial on how to do this?

(Sorry - first time.)

Thanks!

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: How do I patch my change into a source file in ports?

2002-12-12 Thread Franklin Pierce



- Original Message -
From: BSD baby <[EMAIL PROTECTED]>
Date: Thu, 12 Dec 2002 21:17:00 -0800
To: [EMAIL PROTECTED]
Subject: How do I patch my change into a source file in ports?

> I made a change . . .
. . .

A really dirty way to do it would be to:
make extract patch;
[patch your file here];
make install
[beam with joy/crestfallen sigh]

should actually make the patch stick for one compile \
(until you hit make clean or make distclean again)

make clean deletes all the files in ${WRKDIR}

to maek you pathc more permanent (on your system) \
you'll have to edit the Makefile and add a patch of \
your own to the proper directory.

Love,
Franklin Pierce
-- 
___
Get your free email from http://mymail.operamail.com

Powered by Outblaze

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



[no subject]

2002-12-12 Thread Nopbhol N.Dumrong
I useFreeBSD4.5  and set it to run squid. My network has about 100
clients. If
all of them run IE, access time will drop and very slow to access web
page. Can I solve this problem? Number of clients are very large? or
depend on my link speed?

detail of my server:
FreeBSD4.5  + squid service + named
PII 350 MHz
HD SCSI 4.3 GB seagate 
256 MB of ram
internal link is 100 Mb
external link to ISP is 128Kb


Thank you for your suggestion


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Lap Top and FreeBSD, tahnk you

2002-12-12 Thread Pierrick Brossin
> Do we know please, which Lap Top brand is trouble free
> to handle FreeBSD installation & configuration.
> At the present time I have TOSHIBA 355 CDS and lot of
> problems related to GUI and network.
> I would appreciate any thoughts / suggestions that can
> put me on a right track and direction.

I have a Sony P3 600 Mhz here with 192Mb RAM.
It has a 100Mbits Trendnet Ethernet PCCard which is fully reconized .. same
thing for my US.Robotics 11Mbits 2410 Wireless PCCard.
Sound is working fine, XFree as well in 1024x768 (24bits if I recall correctly).
Firewire is OK, USB has some problems (when connecting a mouse after the
computer has been booted, it won't work.. fixed the problem by buying a PS2
mouse :D)

The only things that are not working are:

 - Infrared => not supported by kernel
 - 56k modem => winmodem sux

I also have problems to play video under X because of the late XV support...
As I heard, it's coming in the next X version !

If you want more info, mail me!

Cya

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Ontrack and track boundaries

2002-12-12 Thread Matt Ronge
Hello all!

I just recently wiped out my FreeBSD system for reasons I won't get into
here and began installing a fresh copy.

Anyway, my computer requires the Ontrack Dynamic Drive Overlay because of a
BIOS limit of 33Gig. I have installed the DDO software just like I did
before but when I go to install FreeBSD, FreeBSD complains. Fdisk shows that
the drives offset starts at -63 and when I try and create a partition it
complanes about incorrect track boundaries.

Here is what I do in order to install BSD:

1. Boot up off Ontrack DDO floppy
2. Tell drive to report as 33G instead of 80G and restart
3. Format drive using Ontrack as fat32 inorder to install software
4. Boot up with FreeBSD to try and partition
5. Error!

A side note is that if I don't format the drive as fat32 first DDO doesn't
installed and BSD only sees 33G. Also my drive is an IBM Deskstar80GXP I
believe.


I know it works since I had it running before.

Thanks
--
Matt


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re:

2002-12-12 Thread Pierrick Brossin
Quoting "Nopbhol N.Dumrong" <[EMAIL PROTECTED]>:

> Can I solve this problem? Number of clients are very large? or
> depend on my link speed?
> 
> external link to ISP is 128Kb

You're kiding right?

128Kbits for 100 people ??
It's like having a small piece of bred for 100 people.. and everybody is hungry :)

Here we have a 1Mbps/1Mbps direct link to the provider and it's slow.. We are
about 60 people.

I would suggest to upgrade your external link !

Cya

-- 
Pierrick Brossin
IT Swiss - QUARK Media House
6a Puits Godet, 2000 Neuchatel, Switzerland
Tel Prof: +41-327201423 Mobile Priv: +41-794137145 
Mail Prof: [EMAIL PROTECTED] Mail Priv: [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Ontrack and track boundaries

2002-12-12 Thread Pierrick Brossin
> 2. Tell drive to report as 33G instead of 80G and restart

Why do you want the drive to report as 33Gb instead of 80Gb ?

I installed FBSD on a IBM 60 Gb HD on an old PC (so BIOS not detecting 60Gb but
8Gb if I remember correctly) and FreeBSD simply reconized the whole HD.
Have you tried to upgrade your BIOS btw ?

Cya

-- 
Pierrick Brossin
IT Swiss - QUARK Media House
6a Puits Godet, 2000 Neuchatel, Switzerland
Tel Prof: +41-327201423 Mobile Priv: +41-794137145 
Mail Prof: [EMAIL PROTECTED] Mail Priv: [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: VNC

2002-12-12 Thread Ruben de Groot
On Thu, Dec 12, 2002 at 10:07:46PM -0500, Brian T. Schellenberger typed:
> 
> 
> 
> On Thursday 12 December 2002 03:45 pm, Brian wrote:
> | getting vnc to start at boot is tricky, since you want it to start as
> | some user, rather than as root.  A solution I've been thinking of is
> | looking at the output os ps auxw, grepping for Xvnc owned by the
> | desired user, if its there exit, if not run vncserver as the user in
> | question.  Putting it in cron with a /8 to check every 8 minutes
> | seems a good idea.

You can put it in the desired user's crontab like this:

@reboot /path/to/startup-command

> 
> 
> My *guess* is that you would always want the server to start as the 
> *same* user, if you want it to start at boot.
> 
> In that case, it's quite simple, at least in theory (meaning, I haven't 
> done this).
> 
> If that is the only user who will *ever* want to own the server, then 
> just make that user the owner of vnc and set the suid bit.
> 
> If you want to keep the "default" vnc server with the usual owner 
> (root?), then just create a hardlink used for the startup command and 
> suid *that* as above.

The suid bit is stored in the inode, not in the directory-entry of a 
hardlink. If you suid the hardlink you also suid the original.
The same goes for ownership.

> 
> |
> | Bri
> |
> | On Thu, 12 Dec 2002, Daniel HARTMANN wrote:
> | > Bonjour,
> | >
> | > J'utilise vnc vers ma machine Freebsd.
> | >
> | > Mais comment d?marrer "vncserver" automatiquement au boot sans
> | > taper la commande ??
> | >
> | > Merci
> | >
> | >
> | >
> | >
> | >
> | > Dany_H  ;-)
> |
> | To Unsubscribe: send mail to [EMAIL PROTECTED]
> | with "unsubscribe freebsd-questions" in the body of the message
> 
> -- 
> Brian, the man from Babble-On . . . .   [EMAIL PROTECTED] (personal)
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



automatin the creation/destruction of email lists

2002-12-12 Thread Kirk Bailey
ok, this one is tough. I am writing 4 scripts- 2 sdevlope webforms, and are 
done, no problem. The other two respectively create or destroy email lists. Or 
at least that's the goal.

Sendmail is VERY persnickity about permissions and ownerships for the aliases 
files- at least. I have edited sendmail.cf so it compiles from a second 
aliases file, aliases.tinylist, which is in /etc/mail, and it reads the file 
fine. Note the webscript runs by apache (as nobody) cannot write to the /mail 
dir; it bombs at this point.

If I set the dir so other identities can write to it, sendmail get's VERY 
upset when I issue the newaliases command.

so either it accepts the file, but I cannot write to it, or I cannot write to 
it, but it accepts the file. sigh...

What's a fellow to do? Please advise.


--

end

Respectfully,
 Kirk D Bailey


+-"Thou Art Free." -Eris---+
| http://www.howlermonkey.net  mailto:[EMAIL PROTECTED] |
| KILL spam dead!  http://www.scambusters.org/stopspam/#Pledge |
| http://www.tinylist.org  ++   mailto:[EMAIL PROTECTED] |
+--Thinking| NORMAL |Thinking--+
   ++

-
Introducing NetZero Long Distance
1st month Free!
Sign up today at: www.netzerolongdistance.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


no internal access to webpage

2002-12-12 Thread David Loszewski
I'm having a problem where I can't access my webpage internally but can 
access it externally.  I'm running all FreeBSD 4.6.2 and 4.7 machines 
and have no internal namerserver of anytype.  do I need to create an 
internal nameserver for myself to type in my domain name and come up 
with my webpage?  I have a gateway and the gateway forwards any requests 
for port 80 to the webserver.

Dave


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


cvsup

2002-12-12 Thread lll llll





Hello!
I have just made a cvsup to all source tree. All the files received is with
",v". I cannot biuldwold because it says don't know how to make buildworld. 
I do
make buildworld from directory where is the new sources. What can I do?
Thank you!

_
STOP MORE SPAM with the new MSN 8 and get 2 months FREE* 
http://join.msn.com/?page=features/junkmail


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: no internal access to webpage

2002-12-12 Thread Simas Cepaitis
Hello,

* David Loszewski ([EMAIL PROTECTED]) wrote:
> I'm having a problem where I can't access my webpage internally but can 
> access it externally.  I'm running all FreeBSD 4.6.2 and 4.7 machines 
> and have no internal namerserver of anytype.  do I need to create an 
> internal nameserver for myself to type in my domain name and come up 
> with my webpage?  I have a gateway and the gateway forwards any requests 
> for port 80 to the webserver.

  Your problem is NAT related.  Usually, you can't access your internal
  web server from internal network via external IP.  It confuses natd. 
  I heard of some implementations, but it would be simplier to configure 
  DNS to point to internal IP, I think.

  Simas Cepaitis
  [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: no internal access to webpage

2002-12-12 Thread Stacey Roberts
Hi Dave,
   The reason you have access to your webserver from external sites is
somewhat the reason why you don't have internal access (by name) to your
webserver.

The gateway passes requests to port 80 it receives from its *external*
interface to port 80 on your webserver. From an internal host, attempts
to access the website hits your gateway, on its *internal* interface,
and is passed to the Internet via the external interface. The
translation of the returning request by the external interface back in
doesn't work with the current set up of natd.

Running a local nameserver that points to the local address of the
website would probably work.., ONLY if its shielded from the Internet
though. If not, you'd end up with your DNS pointing to a website that's
bound to a RFC 1918 (private) address - not good.

Hope this helps.

Stacey

On Fri, 2002-12-13 at 07:04, David Loszewski wrote:
> I'm having a problem where I can't access my webpage internally but can 
> access it externally.  I'm running all FreeBSD 4.6.2 and 4.7 machines 
> and have no internal namerserver of anytype.  do I need to create an 
> internal nameserver for myself to type in my domain name and come up 
> with my webpage?  I have a gateway and the gateway forwards any requests 
> for port 80 to the webserver.
> 
> Dave
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
-- 
Stacey Roberts
B.Sc (HONS) Computer Science

Web: www.vickiandstacey.com



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



PCCARD-PCI adapter question

2002-12-12 Thread Murray Taylor
I have finally found a PCI bus PCMCIA card reader that 
works !!!

(It's a   PCD-RP-220EP/n 720NNR220ZZ10   by PC Card )

and there is just one question...

Is the failure to flush the cache a problem, or am I missing a 
command sequence between the umount and the physical eject?

see << marker below in the message log after "Ejecting the card"




>From /var/log/messages

booting with pccard="YES"

Dec 13 16:16:58 widow /kernel: FreeBSD 4.6-STABLE #0: Thu Aug  1
14:30:01 EST 2002
Dec 13 16:16:58 widow /kernel:
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
Dec 13 16:16:58 widow /kernel: Timecounter "i8254"  frequency 1193182 Hz
Dec 13 16:16:58 widow /kernel: CPU: Pentium III/Pentium III Xeon/Celeron
(1000.02-MHz 686-class CPU)
Dec 13 16:16:58 widow /kernel: Origin = "GenuineIntel"  Id = 0x68a
Stepping = 10
Dec 13 16:16:58 widow /kernel:
Features=0x383fbff
Dec 13 16:16:58 widow /kernel: real memory  = 536805376 (524224K bytes)
Dec 13 16:16:58 widow /kernel: avail memory = 517361664 (505236K bytes)
...
Dec 13 16:16:58 widow /kernel: pci0:  (vendor=0x1106,
dev=0x3057) at 7.4
Dec 13 16:16:58 widow /kernel: pcic0: 
mem 0xdd0cb000-0xdd0cbfff irq 7 at device 9.0 on pci0
Dec 13 16:16:58 widow /kernel: pccard0:  on pcic0
Dec 13 16:16:58 widow /kernel: pcic1: 
mem 0xdd0cc000-0xdd0ccfff irq 5 at device 9.1 on pci0
Dec 13 16:16:58 widow /kernel: pccard1:  on pcic1


Inserting SanDisk 32M CF card in Panasonic PCMCIA carrier

Dec 13 16:17:50 widow /kernel: pccard: card inserted, slot 1
Dec 13 16:17:56 widow pccardd[51]: Card "SunDisk"("SDP") [5/3 0.6]
[(null)] matched "SunDisk" ("/.*/") [(null)] [(null)] 
Dec 13 16:18:01 widow /kernel: ata4 at port 0x240-0x247,0x24e irq 5 slot
1 on pccard1
Dec 13 16:18:01 widow /kernel: ad8: 30MB  [490/4/32]
at ata4-master BIOSPIO
Dec 13 16:18:01 widow pccardd[51]: ata4: SunDisk (/.*/) inserted.

cd /dev
sh ./MAKEDEV ad8

mount_msdos /dev/ad8s1c /mnt
( yes its a msdos CF card at present)

...   (can see the device, read/write etc)

umount /mnt


Ejecting the card

Dec 13 16:49:38 widow /kernel: ad8: removed from configuration
Dec 13 16:49:38 widow /kernel: ad8: no status, reselecting device
Dec 13 16:49:38 widow /kernel: ad8: timeout sending command=e7 s=ff e=04
Dec 13 16:49:38 widow /kernel: ad8: flushing cache on detach failed
<<
Dec 13 16:49:38 widow /kernel: ata4: detached
Dec 13 16:49:38 widow /kernel: pccard: card removed, slot 1
Dec 13 16:49:38 widow pccardd[51]: ata4: SunDisk (/.*/) removed.



root@widow(~)ttyp0 # uname -a
FreeBSD widow.bytecraft.au.com 4.6-STABLE FreeBSD 4.6-STABLE #0: Thu Aug
1 14:30:01 EST 2002
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386  



Murray Taylor
Special Projects Engineer
-
Bytecraft Systems & Entertainment
Phone: 61 3 8710 2555
Fax: 61 3 8710 2599
Direct: 61 3 9238 4275
Mobile: 61 0417 319 256
Email: [EMAIL PROTECTED]
or visit us on the web
http://www.bytecraftsystems.com
http://www.bytecraftentertainment.com



This Email has been scanned for Viruses by MailMarshal.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



[no subject]

2002-12-12 Thread Vishal Sharda
I need information regarding functions splx() and splpe(). What do these functions do 
exactly.

Regards,
Vishal.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: your mail

2002-12-12 Thread Adam Weinberger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


>> (12.12.2002 @ 2104 PST): Vishal Sharda said, in 0.2K: <<
> I need information regarding functions splx() and splpe(). What do these functions 
>do exactly.
>> end of "" from Vishal Sharda <<

RTFM.

man splx

# Adam


- --
Adam Weinberger
vectors.cx  >>  [EMAIL PROTECTED]
FreeBSD.org <<  [EMAIL PROTECTED]
Bayer Berkeley  >>  [EMAIL PROTECTED]
#vim:set ts=8: 8-char tabs prevent tooth decay.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE9+Wvyo8KM2ULHQ/0RAmx7AJwLwNoX61Btr7+zbSAZiN8d4DcHLQCfdSMs
JU6v9PwRoGVsq3qVbVlblvI=
=fdv3
-END PGP SIGNATURE-

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: your mail

2002-12-12 Thread Franklin Pierce

- Original Message -
From: Adam Weinberger <[EMAIL PROTECTED]>
Date: Thu, 12 Dec 2002 21:11:14 -0800
To: Vishal Sharda <[EMAIL PROTECTED]>
Subject: Re: your mail

> >> (12.12.2002 @ 2104 PST): Vishal Sharda said, in \
0.2K: <<
> > I need information regarding functions splx() and \
splpe(). What do these functions do exactly.
> >> end of "" from Vishal Sharda <<
> 
> RTFM.
> 
> man splx
> 
> # Adam
> 

Which brings up an interesting set of points/questions:

1> Besides an occasional lark, who reads mails without \
subjects?

B> man spix?  man man?

B.5>  I hope that by the time I have a use for those \
functions I have enough savvy to FTM . . . err.

Love,
Franklin Pierce
-- 
___
Get your free email from http://mymail.operamail.com

Powered by Outblaze

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message