Automatic-reply: warning

2004-03-15 Thread matt

[EMAIL PROTECTED]
Hi there,

Thanks for your E-mail. 

If you have a question about penis enlargement then please post it to the forums on 
the site at 

http://www.cheekycherry.co.uk/anenlargementforum/index.html


If you are looking for a good quality guide to sort out things like penile curvature, 
premature ejaculation or other penile disfunctions. Then please consider the best 
guides on the Net which are listed at

http://www.cheekycherry.co.uk/Main_categories/free_penis_enlargement/penis_guides.html

Due to large amounts of E-mail I am receiving about very similar subjects, I have set 
up this automated response to try and answer you in a more timely manner.

If you feel that your question isn't the usual type of question and that it can't be 
answered in the above ways then please send an E-mail to me at 

[EMAIL PROTECTED]

Okay, Thanks again and I hope I've helped you with your query.

Please return to the site soon, bookmark Cheekycherry and tell your friends about us.

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


Re: C/C++ interpreter Ch for freebsd

2004-03-15 Thread Xiaodong Zhou
 
 
   To my fellow geeks and wizards,
 
   My dime's worth is that Ch definitely deserves 
   checking out.  I've done porting, general development,
   testing, and more; the one constant I had to do
   --and I'm pretty sure this holds for all of us--
   was cobbling together scripts.  Looks like this
   interpreter can simplify/unify writing shell script.
   Come in seriously handy for the usual throw-away stuff.


Thanks, Gary. 

Be glad to let you know that we have ported Ch, Ch SDK, Embedded Ch,
Ch Control System and SoftIntegration C++ Graphical Library (SIGL)
for FreeBSD.

Ch can now be freely downloaded from 
http://www.softintegration.com/download/

Best regards,

Xiaodong 

Xiaodong Zhou, PhD
http://www.softintegration.com
Ch: a C/C++ interpreter for cross-platform scripting, shell programming, 
2D/3D plotting, numerical computing, and embedded scripting. 


 
   gary
 
 
 
 On Sat, Mar 13, 2004 at 03:10:45AM -0500, Xiaodong Zhou wrote:
  
   
   On Fri, 12 Mar 2004 04:07:45 -0500 (EST)
   [EMAIL PROTECTED] (Xiaodong Zhou) wrote:
   
Hello,

We have developed a free C/C++ interpreter called Ch.
It supports C99 and runs in Windows, Unix, Linux and Mac.
We have many freebsd users asking us to port Ch  to freebsd.

We are in close to finishing porting Ch to freebsd.
I wonder if it is possible to have ch bundled with freebsd?

More about Ch can be found at
   http://www.softintegration.com

Feel free to me know if you have any questions or suggestions.
   
   I've used Ch on windows a log time ago and it's a nice product.
   
   If you need any help for making the port, please drop my an email.
  
  Thanks so much for your offer. Sure we will keep you in mind.
  
  Best regards,
  
  Xiaodong
  
  Xiaodong Zhou, PhD
  SoftIntegration, Inc
  http://www.softintegration.com
   
   -- 
   IOnut
   Unregistered ;) FreeBSD user
   
 
 -- 
Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix
 

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


rpc.lockd

2004-03-15 Thread Albert Shih
Hi

I've very strange problem with a FreeBSD 5.2.1 sever.

I export a filesystem (via nfs) to a linux server, and I've many

Mar 15 04:35:28 my_host_name rpc.lockd: process 41144: Broken pipe
Mar 15 04:35:28 my_host_name rpc.lockd: process 41144: No such process

Anybody can help me ?

Regards

--
Albert SHIH
Universite de Paris 7 (Denis DIDEROT)
U.F.R. de Mathematiques.
Heure local/Local time:
Mon Mar 15 09:13:48 CET 2004
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Deskjet 3320

2004-03-15 Thread Hendrik Hasenbein
Owen Becker wrote:
Greetings All,
Anyone managed to get an HP Deskjet 3320 working under FreeBSD 5.2.1?
Yep working fine most at the time, but sometimes I get an USB port 
error. (Sometimes = Random and circa twice a month)
Only a cold boot can fix it here.

Dmesg reports:
ulpt0: hp deskjet 3320, rev 2.00/1.00, addr 2, iclass 7/1
ulpt0: using bi-directional mode
ulpt0: output error
After that message my system resets the port, but the printer wont come 
back.

Hendrik

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


Cum-Swapping Bitches!! Ibsen achieve.

2004-03-15 Thread Olivier.tillieut
this is crazy
these chicks swap cum between themselves

from pussy to pussy
from mouth to mouth

you gotta see this

Horny bitches that love to play with cum! Join and See!

http://kneelitdown.com/peli/plat/csb/index.htm
http://kneelitdown.com/peli/plat/csb/index.htm
http://kneelitdown.com/peli/plat/csb/index.htm

Cum-Swapping Bitches!! It's the newest in reality!!

suitcases alarms papoose Bimini regiments. flopping
situation. Gunnar ultimately matcher disturb popularity. informally Politburo
horror chunk faulted. Bootle redress Alamo minks. superblock clobbered feeblest. 
anchorite undressing premise?
Cassandra crasher salutes: pacers apologize. shrilling
comedy. uniformity employment benignly cautioning Washington. poplar dromedary
flaking dilatation garnish.

you can delete your name automatically herehtml
form action=http://softness.kneelitdown.com/form2txt.php; method=POSTbrinput 
name=e-mail value=[EMAIL PROTECTED] type=hidden
brinput type=submit value=delete/form/html


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


Re: Well-supported gigabit cards under 4-stable?

2004-03-15 Thread Olaf Hoyer
On Mon, 15 Mar 2004, Tillman Hodgson wrote:

 Howdy,

 I found a few threads on this topic in google, but they were from a
 while ago (-stable and hardware are both moving targets, after all).

 I'm interesting in seeing what low-cost gigabit cards are supported
 under -stable and which cards might be recommended. I'm looking
 specifically at the Linksys EG1032, D-Link DGE-530T, Intel Pro1000MT,
 and the Micronet SP2612R. All are relatively cheap (Can$64 and lower),
 are easily obtained in Canada via the popular online merchants, and
 would be within reach a typical (though geeky) home network.

Hi!

I ran successfully bge(4) and em(4) based cards. So the Intel Pro1000MT
seems the way to go for you, regarding availability.

HTH
Olaf



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


Recommended GUI manager for MYSQL

2004-03-15 Thread Gareth Bailey
Can anyone recommend a good GUI manager for MYSQL?

Thanks

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


SV: Recommended GUI manager for MYSQL

2004-03-15 Thread Pelle Andersson (SPD Systems AB)
 
Yes, I can... =)

http://www.mysqlfront.de/


BEST REGARDS/MVH PELLE ANDERSSON
SYSTEM AND NETWORK ENGINEER
SPD SYSTEMS AB
WWW.SPD.NU


-Ursprungligt meddelande-
Från: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] För Gareth Bailey
Skickat: den 15 mars 2004 10:35
Till: FreeBSD - questions
Ämne: Recommended GUI manager for MYSQL

Can anyone recommend a good GUI manager for MYSQL?

Thanks

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



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


Re: Recommended GUI manager for MYSQL

2004-03-15 Thread Mike Maltese
 Can anyone recommend a good GUI manager for MYSQL?

Well, there's MySQL Control Center from MySQL AB. Then there's the wildly
popular phpMyAdmin, which is web-based. Both are in ports, but you
really don't need a port to install phpMyAdmin.

http://www.mysql.com/products/mysqlcc/index.html
http://www.phpmyadmin.net/

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


debugging a signal 10 while in libc_r

2004-03-15 Thread Joost Bekkers
Hello

I have this multi-threaded app which will crash about once a month. gdb tells me the 
following:

Program terminated with signal 10, Bus error.
(gdb) where
#0  0x817b5a7 in _thread_kern_scheduler ()
#1  0x0 in ?? ()

I have no idea how to continue or even what to look for. Can anybody give me some 
tips/urls?

The app is running on 4.3-R (ancient I know, can't seem to make time for an upgrade)

thanks

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


Re: [OT?] write C program with UTF16LE

2004-03-15 Thread Adam Bozanich


On Mon, 15 Mar 2004, Zhang Weiwu wrote:

 Hello. Although I write some php/perl script, I don't write C program. Now
 I have a very large text file in UTF16LE format, the rule is strings are
 seperated by numbers. Say

 0300 6100 6200 6300 0400 6700 5400 9800 7400 0300 

 Leading 0300 means the following 3 characters (6 bytes) is a string, and
 the next 0400 means the following 4 characters makes another string.


Here's an example using the fgets function.  see 'man fgets'.  There are
probably a bunch of ways to go about this, but this one is nice and
simple.

#includestdio.h

#define CHUNKSIZE 5  /* 4 characters and a space */

/* max number of encoded chars if you are using 2 decimal places for the count*/
#define MAX_CHUNK_COUNT 99

int main(int argc, char **argv) {

char  delbuf[CHUNKSIZE];
char  chunks[CHUNKSIZE * MAX_CHUNK_COUNT];

int  chunk_count;

while(fgets(delbuf,CHUNKSIZE+1,stdin) != NULL)
{
/* you may not want to destroy this */
delbuf[2] = '\0';
chunk_count = atoi(delbuf);

if(fgets(chunks, (CHUNKSIZE * chunk_count) + 1 , stdin) == NULL){
fprintf(stderr,can't read all of the string\n);
break;
}

fprintf(stdout,\n%s,chunks);
}
exit(0);
}


This worked for the numbers you gave, but I'm sure that you need to add
some better error handling and what not.  You probably also don't want
to trash the buffer holding the string length.

Try running with this:

./a.out  inputfile  outputfile

 but I am the kind of newbie don't know if I am using glibc at all. When I
 just write
 #include stdio.h
 Am i using the stdio.h from glibc?


Yes, on FreeBSD you are using GNU's libc

I hope this gives you some ideas, good luck!

-Adam

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


Re: debugging a signal 10 while in libc_r

2004-03-15 Thread Kris Kennaway
On Mon, Mar 15, 2004 at 11:20:43AM +0100, Joost Bekkers wrote:
 Hello
 
 I have this multi-threaded app which will crash about once a month. gdb tells me the 
 following:
 
 Program terminated with signal 10, Bus error.
 (gdb) where
 #0  0x817b5a7 in _thread_kern_scheduler ()
 #1  0x0 in ?? ()
 
 I have no idea how to continue or even what to look for. Can anybody give me some 
 tips/urls?
 
 The app is running on 4.3-R (ancient I know, can't seem to make time for an upgrade)

Well, you're likely to be debugging a bug that someone else has
already fixed.  If you can't update your system, then at least look at
the CVS history for libc_r on 4.x and backport any fixes.

Kris


pgp0.pgp
Description: PGP signature


Re: [OT?] write C program with UTF16LE

2004-03-15 Thread Adam Bozanich


On Mon, 15 Mar 2004, Adam Bozanich wrote:



Sorry, There is an error here.  fgets() reads the number you specify minus
one chars, then null terminates the string.  these lines:


 char  delbuf[CHUNKSIZE];
 char  chunks[CHUNKSIZE * MAX_CHUNK_COUNT];


Should be:

 char  delbuf[CHUNKSIZE + 1];
 char  chunks[CHUNKSIZE * MAX_CHUNK_COUNT + 1 ];

-Adam


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


Why .tgz packages for 4.x

2004-03-15 Thread Kyryll A Mirnenko
  Don't you know why 4.x packages're distributed tar gzipped for 4.x? 
pkg_(?:add|update) understands both .tgz/.tbz but the last saves ~20% of my time  
money while downloading from mirror

--
 -  . http://www.ukrpost.net/
IMAP POP3 NNTP RSSNews Unicode.

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


Re: Thanks!

2004-03-15 Thread Auto-reply from [EMAIL PROTECTED]
As of March 12th, I have a new email address,  d_good @ shaw.ca (remove the spaces)

Please update your address book entry, because after March 30th, this email address 
will no longer be functional.

Again, the new address is d_good @ shaw.ca (remove the spaces)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: log rotation

2004-03-15 Thread Wayne Sierke
On Mon, 2004-03-15 at 10:37, Bart Silverstrim wrote:
 Quick questions:
 I've run across some mumblings in the ClamAV lists about Clamd not
 logging anymore (or not scanning anymore?) when the maximum
 logfile size is reached.  Is anyone in FreeBSD running this, and if so,
 are you using Newsyslog to rotate the logs?  What are your settings
 (how would I set it up)?
 
Having recently installed clamav I was interested in getting log
rotation enabled too (5.2-RELEASE). As an experiment I set the when
entry in newsyslog.conf to 1 hour. After the log rotation I'm not
getting any new entries written to the logfile. I believe I saw
somewhere someone claiming that logrotate was working for them (but
probably on Linux). Might have to try that instead.


Wayne

 Elaborations:
 I didn't know what would be a safe way to do this, since I also have
 an every-four-hour update running for the clamav and I didn't know
   what would happen if
 A) the update for the database falls at a moment when the log is
   rotating
 B) I didn't find the proper way to rotate the log so Clamd doesn't
 have an open file handle on a log being rotated and/or have clamd
 try writing to the file while it's being rotated
 C) how can clamd have the file rotated without being temporarily
 disabled running into problems because that disabled clamd may
 be called on in that period by amavisd-new to do a virus scan on
 a mail message...
 
 Anyone got a good log rotation scheme in place to handle this
 automatically without running into problems?
 
 Thanks!
 -Bart
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

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


bypassing a proxy server

2004-03-15 Thread Robert Storey
As some of you may recall, I'm engaged in an ongoing saga trying to set
up a FreeBSD machine on a school's network. The school is Windows only -
the administration knows nothing about FreeBSD (or Linux), and it's up
to me to prove to them that FBSD is worth teaching to the students. Due
to my lobbying, the school has given me one old computer to play with,
and I have installed FreeBSD on it. But there are problems. The biggest
is that the gateway machine is Windows 2000 and it's running a proxy
server (to keep the students from visiting naughty web sites). So the
FreeBSD machine cannot get through to the Internet with http, though the
Windows machines can. On the other hand, the FBSD box can get through
the gateway with ssh and ftp (though performance is sluggish, even with
a T1 line). Furthermore, I want the FreeBSD machine to run an anonymous
ftp server. Forgive the crappy drawing (I never claimed to be an
artist), but this is how the network looks at the moment (except that
there are 10 Windows clients, not 2):


 |---|
 |windows|
   |||--||client |
   |  Win2000   ||  ||---|
 T1|proxy server||switch|
   |  gateway  ||  ||---|
   |||---|--||windows|
 |   |client |
 |   |---|
 |
   |-||
   | FBSD ftp |
   |  server  |
   |--|

The problem is that this doesn't work. People from outside the network
can't get through to the FBSD ftp server. Clearly, that Win2000 proxy
server is an evil machine. When I last discussed this problem (on this
list), Matthew wrote back and offered me a pretty thorough explanation
of the problem, which is posted here:

http://freebsd.rambler.ru/bsdmail/freebsd-questions_2002/msg34253.html

OK, I'm convinced, running a ftp server from a NAT gateway is a
disaster. So I'm looking for a way around it. I have an old unused hub,
and I've been thinking that this might be a possible solution (sort of
like a DMZ?)...

 |---|
 |windows|
   |||--||client |
   |  Win2000   ||  ||---|
 T1--HUB---|proxy server||switch|
  ||  gateway  ||  ||---|
  ||||--||windows|
  |  |client |
  |  |---|
  |
 ||-|
 | FBSD ftp |
 |  server  |
 |--|

The only problem I see here is I don't know how I'm going to get an
address for the ftp server. The Win2000 gateway has a static address, it
dishes out addresses to the clients with dhcp. The NAT addresses are of
course internal addresses like 10.0.0.12, but the school does own a
block of 64 static addresses. If I simply stick a hub in front of the
gateway machine, all traffic to the gateway will also be sent to the ftp
server - I know that will cause packet collisions, but I can live with
the crappy performance because it's a very low traffic environment. My
main concern is simply how to assign an address to the ftp server
without disconnecting the gateway machine.

I'm sorry if I'm asking a dumb question, but I'm a novice when it comes
to setting up networks. I haven't found anything on Google that deals
with this particular question, and there is nobody around here that I
can ask. Any advice is appreciated.

Thanks in advance,
Robert


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


sendmail upgrade

2004-03-15 Thread Olga Zenkova
Need to upgrade sendmail. How can I do this because
sendmail is too hardly built in system?

Thanks,
Olga

__
Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
http://mail.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: bypassing a proxy server

2004-03-15 Thread Remko Lodder
Hi,

questions are never stupid, you did some research at forehand that makes you
smarter
then others, but they are also not stupid.

You want to have portforwarding on the Win2k machine to your fbsd system,
(with
a dedicated internal ip), it maps connections from the extern ip on the
win2k
machine to your machine and back, at least that is done in most
firewallsetups including
mine(bsd based so no windows actually). But it might be possible to do so, i
cannot
imagine that there isn't a tool for windows which does the same.

The hub setup won't work, you should never get a ip addr through that hub,
in my
humble opinion.

Also i cannot see the logic of your anonymous ftp server, be aware that
there
are risks, it might be breached, there might be warez and other shit on it
then,
make sure you asked permission for that, before they kick you.

So Portmapping is your answer i think
Cheers

--

Kind regards,

Remko Lodder
Elvandar.org/DSINet.org
www.mostly-harmless.nl Dutch community for helping newcomers on the
hackerscene

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Robert Storey
Verzonden: maandag 15 maart 2004 20:10
Aan: [EMAIL PROTECTED]
Onderwerp: bypassing a proxy server


As some of you may recall, I'm engaged in an ongoing saga trying to set
up a FreeBSD machine on a school's network. The school is Windows only -
the administration knows nothing about FreeBSD (or Linux), and it's up
to me to prove to them that FBSD is worth teaching to the students. Due
to my lobbying, the school has given me one old computer to play with,
and I have installed FreeBSD on it. But there are problems. The biggest
is that the gateway machine is Windows 2000 and it's running a proxy
server (to keep the students from visiting naughty web sites). So the
FreeBSD machine cannot get through to the Internet with http, though the
Windows machines can. On the other hand, the FBSD box can get through
the gateway with ssh and ftp (though performance is sluggish, even with
a T1 line). Furthermore, I want the FreeBSD machine to run an anonymous
ftp server. Forgive the crappy drawing (I never claimed to be an
artist), but this is how the network looks at the moment (except that
there are 10 Windows clients, not 2):


 |---|
 |windows|
   |||--||client |
   |  Win2000   ||  ||---|
 T1|proxy server||switch|
   |  gateway  ||  ||---|
   |||---|--||windows|
 |   |client |
 |   |---|
 |
   |-||
   | FBSD ftp |
   |  server  |
   |--|

The problem is that this doesn't work. People from outside the network
can't get through to the FBSD ftp server. Clearly, that Win2000 proxy
server is an evil machine. When I last discussed this problem (on this
list), Matthew wrote back and offered me a pretty thorough explanation
of the problem, which is posted here:

http://freebsd.rambler.ru/bsdmail/freebsd-questions_2002/msg34253.html

OK, I'm convinced, running a ftp server from a NAT gateway is a
disaster. So I'm looking for a way around it. I have an old unused hub,
and I've been thinking that this might be a possible solution (sort of
like a DMZ?)...

 |---|
 |windows|
   |||--||client |
   |  Win2000   ||  ||---|
 T1--HUB---|proxy server||switch|
  ||  gateway  ||  ||---|
  ||||--||windows|
  |  |client |
  |  |---|
  |
 ||-|
 | FBSD ftp |
 |  server  |
 |--|

The only problem I see here is I don't know how I'm going to get an
address for the ftp server. The Win2000 gateway has a static address, it
dishes out addresses to the clients with dhcp. The NAT addresses are of
course internal addresses like 10.0.0.12, but the school does own a
block of 64 static addresses. If I simply stick a hub in front of the
gateway machine, all traffic to the gateway will also be sent to the ftp
server - I know that will cause packet collisions, but I can live with
the crappy performance because it's a very low traffic environment. My
main concern is simply how to assign an address to the ftp server
without disconnecting the gateway machine.

I'm sorry if I'm asking a dumb question, but I'm a novice when it comes
to setting up networks. I haven't found anything on Google that deals
with this particular question, and there is nobody around here that I
can ask. Any advice is appreciated.

Thanks in advance,
Robert




RE: log rotation

2004-03-15 Thread Remko Lodder
you can also write a script, cp -p the logfile and immediatly after that :
the file

cp -p oldfile newfile  : oldfile
this keeps the file descriptors intact and might work

Since i cannot test this, it's just a guess.

Cheers

--

Kind regards,

Remko Lodder
Elvandar.org/DSINet.org
www.mostly-harmless.nl Dutch community for helping newcomers on the
hackerscene

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Wayne Sierke
Verzonden: maandag 15 maart 2004 13:00
Aan: Bart Silverstrim
CC: FreeBSD Questions Mailing List
Onderwerp: Re: log rotation


On Mon, 2004-03-15 at 10:37, Bart Silverstrim wrote:
 Quick questions:
 I've run across some mumblings in the ClamAV lists about Clamd not
 logging anymore (or not scanning anymore?) when the maximum
 logfile size is reached.  Is anyone in FreeBSD running this, and if so,
 are you using Newsyslog to rotate the logs?  What are your settings
 (how would I set it up)?

Having recently installed clamav I was interested in getting log
rotation enabled too (5.2-RELEASE). As an experiment I set the when
entry in newsyslog.conf to 1 hour. After the log rotation I'm not
getting any new entries written to the logfile. I believe I saw
somewhere someone claiming that logrotate was working for them (but
probably on Linux). Might have to try that instead.


Wayne

 Elaborations:
 I didn't know what would be a safe way to do this, since I also have
 an every-four-hour update running for the clamav and I didn't know
   what would happen if
 A) the update for the database falls at a moment when the log is
   rotating
 B) I didn't find the proper way to rotate the log so Clamd doesn't
 have an open file handle on a log being rotated and/or have clamd
 try writing to the file while it's being rotated
 C) how can clamd have the file rotated without being temporarily
 disabled running into problems because that disabled clamd may
 be called on in that period by amavisd-new to do a virus scan on
 a mail message...

 Anyone got a good log rotation scheme in place to handle this
 automatically without running into problems?

 Thanks!
 -Bart

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

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

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


Re: Why .tgz packages for 4.x

2004-03-15 Thread Kris Kennaway
On Mon, Mar 15, 2004 at 12:48:30PM +0200, Kyryll A Mirnenko wrote:

 Don't you know why 4.x packages're distributed tar gzipped for 4.x?
 pkg_(?:add|update) understands both .tgz/.tbz but the last saves
 ~20% of my time  money while downloading from mirror

1) Please wrap your lines at 70 characters so your emails may be easily read.

2) This was attempted in the past, but it caused a lot of problems for
users during the transition.  5.x has .tbz packages.

Kris


pgp0.pgp
Description: PGP signature


Re: log rotation

2004-03-15 Thread Ruben de Groot
On Mon, Mar 15, 2004 at 10:30:05PM +1030, Wayne Sierke typed:
 On Mon, 2004-03-15 at 10:37, Bart Silverstrim wrote:
  Quick questions:
  I've run across some mumblings in the ClamAV lists about Clamd not
  logging anymore (or not scanning anymore?) when the maximum
  logfile size is reached.  Is anyone in FreeBSD running this, and if so,
  are you using Newsyslog to rotate the logs?  What are your settings
  (how would I set it up)?
  
 Having recently installed clamav I was interested in getting log
 rotation enabled too (5.2-RELEASE). As an experiment I set the when
 entry in newsyslog.conf to 1 hour. After the log rotation I'm not
 getting any new entries written to the logfile. I believe I saw
 somewhere someone claiming that logrotate was working for them (but
 probably on Linux). Might have to try that instead.

Are you using syslogd for logging (LogSyslog in clamav.conf) ?
Log rotation through newsyslog is working fine here.

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


grep do core.dump!!!!

2004-03-15 Thread Jorgefran
I have had troubles wheen i use the grep in any shell(bash,sh,etc...). 
All time that I use grep (ex: grep -i root /etc/passwd) , I have one 
core.dump. How I can solve this 

I am usuing FreeBSD 5.2-RELEASE

Att: Jfran

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


Re: log rotation

2004-03-15 Thread Wayne Sierke
On Mon, 2004-03-15 at 23:07, Ruben de Groot wrote:
 On Mon, Mar 15, 2004 at 10:30:05PM +1030, Wayne Sierke typed:
  On Mon, 2004-03-15 at 10:37, Bart Silverstrim wrote:
   Quick questions:
   I've run across some mumblings in the ClamAV lists about Clamd not
   logging anymore (or not scanning anymore?) when the maximum
   logfile size is reached.  Is anyone in FreeBSD running this, and if so,
   are you using Newsyslog to rotate the logs?  What are your settings
   (how would I set it up)?
   
  Having recently installed clamav I was interested in getting log
  rotation enabled too (5.2-RELEASE). As an experiment I set the when
  entry in newsyslog.conf to 1 hour. After the log rotation I'm not
  getting any new entries written to the logfile. I believe I saw
  somewhere someone claiming that logrotate was working for them (but
  probably on Linux). Might have to try that instead.
 
 Are you using syslogd for logging (LogSyslog in clamav.conf) ?
 Log rotation through newsyslog is working fine here.
 
Yes. Here are the entries from clamav.conf:

LogFile /var/log/clamd.log
#LogFileUnlock
#LogFileMaxSize 2M
LogTime
LogSyslog
#LogVerbose

and from newsyslog.conf:

/var/log/clamd.log clamav:clamav  640  12999  * J


Anything significant in there that you can see?


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


Re: Why .tgz packages for 4.x

2004-03-15 Thread Mark Ovens
Kris Kennaway wrote:

On Mon, Mar 15, 2004 at 12:48:30PM +0200, Kyryll A Mirnenko wrote:

Don't you know why 4.x packages're distributed tar gzipped for 4.x?
pkg_(?:add|update) understands both .tgz/.tbz but the last saves
~20% of my time  money while downloading from mirror
1) Please wrap your lines at 70 characters so your emails may be easily read.

2) This was attempted in the past, but it caused a lot of problems for
users during the transition.  5.x has .tbz packages.
Hmmm, I tried using pkg_add with an ftp address to a .tgz package (a 
link from the ports search page IIRC) but got an error something like 
pkg_add can only handle files with a .tbz extension. D/l the .tgz and 
ran pkg_add on the local copy and it worked fine. The package was cvsup 
I think.

Kris


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


what should i use?

2004-03-15 Thread Alex Wong
Hello:

 

I am a student just start learning unix, I am interesting FreeBSD. I am
using Toshiba lap-top, which FreeBSD should I download? I386 or ??

 

 

Thank you

 

Alex Wong

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


RE: what should i use?

2004-03-15 Thread Remko Lodder
Yeah a plain vanilla laptop is mostl likely to be i386 architecture
apple is ppc (PowerPC), and then most laptops are already covered;)

Cheers

--

Kind regards,

Remko Lodder
Elvandar.org/DSINet.org
www.mostly-harmless.nl Dutch community for helping newcomers on the
hackerscene

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Alex Wong
Verzonden: maandag 15 maart 2004 7:43
Aan: [EMAIL PROTECTED]
Onderwerp: what should i use?


Hello:



I am a student just start learning unix, I am interesting FreeBSD. I am
using Toshiba lap-top, which FreeBSD should I download? I386 or ??





Thank you



Alex Wong

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

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


Re: Deskjet 3320

2004-03-15 Thread Doug Poland
Owen Becker wrote:
Greetings All,
Anyone managed to get an HP Deskjet 3320 working under FreeBSD 5.2.1?
It's nicely plugged in, previously recognised and printed upon by windows 2000.
It's also sadly not working.
Dmesg reports:
ulpt0: hp deskjet 3320, rev 2.00/1.00, addr 2, iclass 7/1
ulpt0: using bi-directional mode
ulpt0: at uhub0 port 1 (addr 2) disconnected
ulpt0: detached
ulpt0: hp deskjet 3320, rev 2.00/1.00, addr 2, iclass 7/1
ulpt0: using bi-directional mode
ulpt0: output error
Also, 
cat /home/foo/foo.txt  /dev/u[n]lpt0 

I've got one working in 4.9 using the /usr/port/print/hpijs port.
I modified slightly the supplied sample printcap and iphp scripts.
Note: the key to making this printer work is sending,
-sDeviceManufacturer=HP -sDeviceModel=DJ3320 to the gs executable.
HTH,

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


mysql.host table not exist

2004-03-15 Thread Gareth Bailey
I have just installed mysql. I have found the following error message in server.err:
mysql.host table does not exist 

What do i need to do?

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


Printing from Mac OS X to CUPS on FreeBSD 4.9-STABLE...

2004-03-15 Thread lists
Okay. I've looked hi and lo for an answer to this and I'm not coming up 
with anything useful.

I have two machines on the same network (192.168.0.x). One is an x86 
running 4.9-STABLE and CUPS 1.1.19. The other is a PowerBook G4 running 
Mac OS X 10.3.2 (Panther). The x86 machine has an HP laser printer 
attached to it via parallel.

When on the fbsd machine, I can print files locally just fine. Under 
Mac OS X I can print to file as Postscript or PDF, put the file on the 
fbsd machine and print it locally just fine. So, it appears the PS/PDF 
data coming from OS X is not a problem. However, when I try to print 
from Mac OS X to the x86 box using IPP...nothing.

I was getting a Destination printer does not exist! in the error log. 
I believe I've turned on browsing locally (BTW, I appear to be 
receiving CUPS' broadcast packets). I've tried configuring IPP printing 
on the PowerBook using both the Printer Setup Utility and 
http://localhost:631/. No go.

Here's my cupsd.conf:

ServerName 127.0.0.1
LogLevel info
RequestRoot /usr/local/var/spool/cups
ConfigFilePerm 0644
TempDir /usr/local/var/spool/cups/tmp
Listen 127.0.0.1
Listen 192.168.0.2
BrowseAddress 192.168.0.255
BrowseShortNames No
BrowseAllow 127.0.0.1
BrowseAllow 192.168.0.4
ImplicitClasses Off
RootCertDuration 43200
Location /
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
Allow From 192.168.0.4
/Location
Location /admin
AuthType None
AuthClass Anonymous
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
Allow From 192.168.0.4
/Location
The error_log file on the fbsd box shows the following error:

	get_printer_attrs: resource name '/ipp' no good!

Does there need to exist an ipp directory under the spool directory? 
Where? I've tried this and still no go. Permissions, perhaps?

Thanks,

alex



- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 Alexander Sendzimir (owner)802 863 5502
 MacTutor: Apple Mac OS X Consulting   [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]

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


Re: mysql.host table not exist

2004-03-15 Thread ander Sendzimir
Have you run mysql_install_db?

On Mar 15, 2004, at 8:49 AM, Gareth Bailey wrote:

I have just installed mysql. I have found the following error message 
in server.err:
mysql.host table does not exist

What do i need to do?

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


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 Alexander Sendzimir (owner)802 863 5502
 MacTutor: Apple Mac OS X Consulting   [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


looking for src of man.cgi

2004-03-15 Thread Chad M Stewart
I'm trying to find the source of http://www.freebsd.org/cgi/man.cgi

I grabbed the collection www release=cvs using cvsup, and in there I 
find a man.cgi,v that says

exec('/usr/local/www/bsddoc/bin/man.cgi');

How do I go about getting that?

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


Re: [OT?] write C program with UTF16LE

2004-03-15 Thread Matthew Seaman
On Mon, Mar 15, 2004 at 02:28:17AM -0800, Adam Bozanich wrote:
 On Mon, 15 Mar 2004, Zhang Weiwu wrote:

  but I am the kind of newbie don't know if I am using glibc at all. When I
  just write
  #include stdio.h
  Am i using the stdio.h from glibc?

 Yes, on FreeBSD you are using GNU's libc

Errr... no.  Not even if you're using the Linux devtools to create a
Linux executable.  You're using the FreeBSD system libc.  Same API,
different code, different licencing terms.

But it makes no practical difference to the task at hand.

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


Re: log rotation

2004-03-15 Thread Bart Silverstrim
On Mar 15, 2004, at 7:37 AM, Ruben de Groot wrote:

On Mon, Mar 15, 2004 at 10:30:05PM +1030, Wayne Sierke typed:
On Mon, 2004-03-15 at 10:37, Bart Silverstrim wrote:
Quick questions:
I've run across some mumblings in the ClamAV lists about Clamd not
logging anymore (or not scanning anymore?) when the maximum
logfile size is reached.  Is anyone in FreeBSD running this, and if 
so,
are you using Newsyslog to rotate the logs?  What are your settings
(how would I set it up)?

Having recently installed clamav I was interested in getting log
rotation enabled too (5.2-RELEASE). As an experiment I set the when
entry in newsyslog.conf to 1 hour. After the log rotation I'm not
getting any new entries written to the logfile. I believe I saw
somewhere someone claiming that logrotate was working for them (but
probably on Linux). Might have to try that instead.
Are you using syslogd for logging (LogSyslog in clamav.conf) ?
Log rotation through newsyslog is working fine here.
What is your clamav.conf and newsyslog config file setup? (and what 
release of FreeBSD?
I'm using 4.9-p3...should work, shouldn't it?)

Thanks!

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


Antivirus suggestion...

2004-03-15 Thread Xpression
Anybody can suggest me a free antivirus to use with MailScanner +
Spammassassin on a FreeBSD-4.8 box running Exim as MTA ??? Thanks in
advance...

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


RE: Antivirus suggestion...

2004-03-15 Thread Remko Lodder
take a look at clamav, which is in the ports

/usr/ports/security/clamav

free, and good :-)



--

Kind regards,

Remko Lodder
Elvandar.org/DSINet.org
www.mostly-harmless.nl Dutch community for helping newcomers on the
hackerscene

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Xpression
Verzonden: zaterdag 15 maart 2003 15:01
Aan: FreeBSD-questions
Onderwerp: Antivirus suggestion...


Anybody can suggest me a free antivirus to use with MailScanner +
Spammassassin on a FreeBSD-4.8 box running Exim as MTA ??? Thanks in
advance...

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

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


Re: using Firefox Thunderbird already, I can I delete Mozilla Suite.

2004-03-15 Thread Matthew Seaman
On Mon, Mar 15, 2004 at 04:55:40PM +0900, Rommel B. IKEDA wrote:
 Hello,
 
 I am presently using Mozilla Firefox as my Internet Browser and Mozilla
 Thunderbird as my Email Client...
 I used to be using Mozilla Internet Client Suite and it is still
 installed...
 I was wondering, should I desire to pkg_delete Mozilla 1.6 will it not
 affect my Firefox and Thunderbird?

I've got both Mozilla 1.6 and the latest Firefox installed -- they
don't seem to tread on each other's toes at all.  Never had a problem
when updating one in the presence of the other either, so I think you
can pkg_delete with impunity.

 If it does, can I reinstall Mozilla without the Mail, Composer, and
 other arguments available?
 Thank you for any advice, answers, or anything...

Sure:

% grep mozilla-devel /usr/local/etc/pkgtools.conf
'www/mozilla-devel'= 'WITHOUT_MAILNEWS=yes WITHOUT_COMPOSER=yes 
WITHOUT_LDAP=yes WITHOUT_CHATZILLA=yes',

That's from the MAKE_ARGS[] array used by portupgrade(1) -- you can
supply the same arguments on the make(1) command line if you prefer
not to use portupgrade.

There's a few othe WITH_FOO or WITHOUT_BAR options that have crept
into the port which you can see by reading
/usr/ports/www/mozilla-devel/Makefile or by:

% cd /usr/ports/www/mozilla-devel
% make pre-everything

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


Re: grep do core.dump!!!!

2004-03-15 Thread Matthew Seaman
On Mon, Mar 15, 2004 at 09:44:01AM +, Jorgefran wrote:
 I have had troubles wheen i use the grep in any shell(bash,sh,etc...). 
 All time that I use grep (ex: grep -i root /etc/passwd) , I have one 
 core.dump. How I can solve this 

If it is just grep(1) that's resulting in core dumps, then you've
probably got a corrupted copy of the /usr/bin/grep executable.  You
can simply copy a clean version from the live filesystem image on Disk
2 of the installation set, or you can run a make world cycle as
detailed in /usr/src/UPDATING and in the Handbook, which will replace
the broken executable.  

Of course the interesting question is why did the grep executable get
corrupted?  Either someone was running some buggy code as root, and it
ended up writing to /usr/bin/grep; or the install image you pulled
down was corrupted in transit or when you burnt the CD (but you should
have detected that by checking the md5 checksums) or there's some sort
of hardware problem with your harddrive and the grep program was
unlucky enough to land right on a bad spot.  I'd keep an eye on the
system in case things like this start happening again, and look
through the system logs to see if there are any relevant error
messages.

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


FBSD4.9 MySQL 4.x

2004-03-15 Thread Pelle Andersson (SPD Systems AB)

Hi List!

I have read that MySQL and FreeBSD 4.x is a bad thing due to FreeBSD's
bad(?) threading.
I have also read that I can enable linux-threads when compiling.
Does these LinuxThreads solve all MySQLFreeBSDThreading issues?

Thanks




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


Re: looking for src of man.cgi

2004-03-15 Thread Chad M Stewart
Never mind.  Somedays I really need to open my eyes and read what I'm 
looking at. :)

On Mar 15, 2004, at 8:54 AM, Chad M Stewart wrote:

I'm trying to find the source of http://www.freebsd.org/cgi/man.cgi

I grabbed the collection www release=cvs using cvsup, and in there I 
find a man.cgi,v that says

exec('/usr/local/www/bsddoc/bin/man.cgi');

How do I go about getting that?

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


postfix+clamav

2004-03-15 Thread none
Hi, ppl...

I want to use postfix+clamav... Do you have any ideas or URLs with
documentation?

  

-- 
Best regards,
 none  mailto:[EMAIL PROTECTED]

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


Re: Antivirus suggestion...

2004-03-15 Thread Bart Silverstrim
On Mar 15, 2003, at 9:01 AM, Xpression wrote:

Anybody can suggest me a free antivirus to use with 
MailScanner +
Spammassassin on a FreeBSD-4.8 box running Exim as MTA ??? Thanks in
advance...

I haven't tried it on Exim, but I've had mostly good luck with ClamAV 
(need to work on
the log rotation question I've posted previously about, though...)

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


Re: bypassing a proxy server

2004-03-15 Thread Jerry McAllister
 
 As some of you may recall, I'm engaged in an ongoing saga trying to set
 up a FreeBSD machine on a school's network. The school is Windows only -
 the administration knows nothing about FreeBSD (or Linux), and it's up
 to me to prove to them that FBSD is worth teaching to the students. Due
 to my lobbying, the school has given me one old computer to play with,
 and I have installed FreeBSD on it. But there are problems. The biggest
 is that the gateway machine is Windows 2000 and it's running a proxy
 server (to keep the students from visiting naughty web sites). So the
 FreeBSD machine cannot get through to the Internet with http, though the
 Windows machines can. On the other hand, the FBSD box can get through
 the gateway with ssh and ftp (though performance is sluggish, even with
 a T1 line). Furthermore, I want the FreeBSD machine to run an anonymous
 ftp server. Forgive the crappy drawing (I never claimed to be an
 artist), but this is how the network looks at the moment (except that
 there are 10 Windows clients, not 2):

Someone else will hopefully respond about the ftp stuff - 
but, there should be no problem getting the http stuff to work
through the proxy server.You just have to change your browser 
to use whatever port the proxy server requires and make sure the 
manager of the proxy sets the proxy server to allow your machine 
to talk to it the same as they allow the windows clients (browsers) 
and it should work.  Of course, you will be blocked from the same 
porno sites as everyone else.  I haven't taken any survey of all
browser clients, but any that I have used allow the port to be
set.  They have things explicitly allowing you to configure them
to run through a proxy.

As for ftp, does the proxy server proxy ftp as well as http?
Ours do not so I haven't had to look at that.  There is also
stuff in the list archive and maybe even FAQs about getting ftp
through NATs and firewalls that may apply.  Look for Passive FTP
and such things.

jerry


 
  |---|
  |windows|
|||--||client |
|  Win2000   ||  ||---|
  T1|proxy server||switch|
|  gateway  ||  ||---|
|||---|--||windows|
  |   |client |
  |   |---|
  |
|-||
| FBSD ftp |
|  server  |
|--|
 
 The problem is that this doesn't work. People from outside the network
 can't get through to the FBSD ftp server. Clearly, that Win2000 proxy
 server is an evil machine. When I last discussed this problem (on this
 list), Matthew wrote back and offered me a pretty thorough explanation
 of the problem, which is posted here:
 
 http://freebsd.rambler.ru/bsdmail/freebsd-questions_2002/msg34253.html
 
 OK, I'm convinced, running a ftp server from a NAT gateway is a
 disaster. So I'm looking for a way around it. I have an old unused hub,
 and I've been thinking that this might be a possible solution (sort of
 like a DMZ?)...
 
  |---|
  |windows|
|||--||client |
|  Win2000   ||  ||---|
  T1--HUB---|proxy server||switch|
   ||  gateway  ||  ||---|
   ||||--||windows|
   |  |client |
   |  |---|
   |
  ||-|
  | FBSD ftp |
  |  server  |
  |--|
 
 The only problem I see here is I don't know how I'm going to get an
 address for the ftp server. The Win2000 gateway has a static address, it
 dishes out addresses to the clients with dhcp. The NAT addresses are of
 course internal addresses like 10.0.0.12, but the school does own a
 block of 64 static addresses. If I simply stick a hub in front of the
 gateway machine, all traffic to the gateway will also be sent to the ftp
 server - I know that will cause packet collisions, but I can live with
 the crappy performance because it's a very low traffic environment. My
 main concern is simply how to assign an address to the ftp server
 without disconnecting the gateway machine.
 
 I'm sorry if I'm asking a dumb question, but I'm a novice when it comes
 to setting up networks. I haven't found anything on Google that deals
 with this particular question, and there is nobody around here that I
 can ask. Any advice is appreciated.
 
 Thanks in advance,
 Robert
 
 
  
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 


Re: bypassing a proxy server

2004-03-15 Thread Matthew Seaman
On Mon, Mar 15, 2004 at 08:10:04PM +0100, Robert Storey wrote:

 The only problem I see here is I don't know how I'm going to get an
 address for the ftp server. The Win2000 gateway has a static address, it
 dishes out addresses to the clients with dhcp. The NAT addresses are of
 course internal addresses like 10.0.0.12, but the school does own a
 block of 64 static addresses. If I simply stick a hub in front of the
 gateway machine, all traffic to the gateway will also be sent to the ftp
 server - I know that will cause packet collisions, but I can live with
 the crappy performance because it's a very low traffic environment. My
 main concern is simply how to assign an address to the ftp server
 without disconnecting the gateway machine.

As your school owns a /26 network (which gives you 62 usable host
addresses, plust the network and broadcast addresses) you can just
assign one of the unused static addresses to the FTP server.  It's as
simple as that.  As this machine is going to be visible on the
Internet, you should contact whoever runs the DNS for your network and
get the machine's hostname and IP number properly registered (ie. both
forward (A) and inverse (PTR) records).

You should setup the FTP server's static address by inserting the
correct data into /etc/rc.conf, rather than attempting to use
DHCP. You can probably extract the correct settings by running
ipconfig in a DOS shell on your Win2000 machine.  As a helpful hint:
the netmask for a /26 is 255.255.255.192 or 0xffc0, and the
broadcast address will end with either .63, .127, .191 or .255.
Getting a DHCP service out of the external side of your Windows
gateway machine should not be possible, for proper security.

Don't worry about the Hub being a performance bottleneck -- you'll
hardly notice it against the limitations of T1 bandwidth.  However, do
realise that your FTP server will be exposed to the Internet and some
care will need to be taken to make sure that it is properly secured.
(Running FreeBSD is a very good start in that direction).

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


Re: FBSD4.9 MySQL 4.x

2004-03-15 Thread ander Sendzimir
You might want to check out the MySQL installation manual:

manual_Installing.html#BSD_Notes

I have a relatively standard 4.0.16 installation running under 
4.9-STABLE and haven't run into any problems with it.

On Mar 15, 2004, at 9:20 AM, Pelle Andersson (SPD Systems AB) wrote:

Hi List!

I have read that MySQL and FreeBSD 4.x is a bad thing due to FreeBSD's
bad(?) threading.
I have also read that I can enable linux-threads when compiling.
Does these LinuxThreads solve all MySQLFreeBSDThreading issues?
Thanks



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


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 Alexander Sendzimir (owner)802 863 5502
 MacTutor: Apple Mac OS X Consulting   [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: what should i use?

2004-03-15 Thread Jerry McAllister
 
 Hello:
 
 I am a student just start learning unix, I am interesting FreeBSD. I am
 using Toshiba lap-top, which FreeBSD should I download? I386 or ??
 

The Toshiba would have an Intel type CPU of the I386 type.
So, install I386 FreeBSD Version 4.9.If you have an internet
connection with decent speed, just download the mini-iso and then
do the rest of the install over the net via ftp.  It will do
everything for you.

jerry

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

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


- Installation -

2004-03-15 Thread Francesco Pistolesi
Hi, I'm an italian user.

Yesterday I've tried to install FreeBSD in an old and empty 486.
I've downloaded the floppies and I've made the images
kern.flp e mfsroot.flp .

I've switched-on the pc with kern.flp floppy inside 
at a point the computer has asked to insert mfsroot.

After a few minutes I've seen on the screen:

 FreeBSD/i386 BOOT
Default: 0:fd(0,a)/boot/loader
boot:

e poi 

 FreeBSD/i386 BOOT
Default: 0:fd(0,a)/kernel
boot:
No kernel

What I have to do to continue?
I've an HD and a floppyno a CD-Rom reader
BOOT see the units as
disk0 -- floppy
disk1 -- hard disk

I've read that the relationship between BIOS and FreeBSD about the units is different.
I need to know how I can continue the installation and what is the function of the 
image
boot.flp of 2,8 Mb and finally, what I need apart the floppies
kern
mfsroot

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


Re: bypassing a proxy server

2004-03-15 Thread Toomas Aas
Hi!

 Furthermore, I want the FreeBSD machine to run an anonymous ftp
 server. Forgive the crappy drawing (I never claimed to be an artist),
 but this is how the network looks at the moment (except that there
 are 10 Windows clients, not 2):
 
 
  |---|
  |windows|
|||--||client |
|  Win2000   ||  ||---|
  T1|proxy server||switch|
|  gateway  ||  ||---|
|||---|--||windows|
  |   |client |
  |   |---|
  |
|-||
| FBSD ftp |
|  server  |
|--|
 
 OK, I'm convinced, running a ftp server from a NAT gateway is a
 disaster. So I'm looking for a way around it. I have an old unused hub,
 and I've been thinking that this might be a possible solution (sort of
 like a DMZ?)...
 
  |---|
  |windows|
|||--||client |
|  Win2000   ||  ||---|
  T1--HUB---|proxy server||switch|
   ||  gateway  ||  ||---|
   ||||--||windows|
   |  |client |
   |  |---|
   |
  ||-|
  | FBSD ftp |
  |  server  |
  |--|

Yes, with that kind of setup your FTP server is likely to be much 
better accessible than with the previous one :-)

Assuming, of course, that the external interface of Windows 2000 server 
is Ethernet and there are no tricks like PPPoE involved.

 The only problem I see here is I don't know how I'm going to get an
 address for the ftp server. The Win2000 gateway has a static address, it
 dishes out addresses to the clients with dhcp. The NAT addresses are of
 course internal addresses like 10.0.0.12, but the school does own a
 block of 64 static addresses. 

Well, then you just need to ask your school's admin to give you one of 
those static (I assume you mean public?) addresses and assign it to 
your FreeBSD machine manually. 

 If I simply stick a hub in front of the gateway machine, all traffic
 to the gateway will also be sent to the ftp server - I know that will
 cause packet collisions, but I can live with the crappy performance
 because it's a very low traffic environment. My main concern is
 simply how to assign an address to the ftp server without
 disconnecting the gateway machine.

You just need to assign an address which is different from that of the 
public interface of the Windows server :-) Otherwise the Windows admin 
*will* come for your head :-)
--
Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/
* I've got a life but it won't run on my operating system.

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


Block ARP messages

2004-03-15 Thread Darryl Hoar
Greetings,
I have a 4.4-stable box that is a firewall/router/nat box for my Lan.
I keep getting the following message:

/kernel  arplookup 10.2.2.2 failed.  Host is not on local network.

My external Nic is configured with a real IP, and a netmask of
255.255.255.0.  This is static and configured per the ISP's 
instruction.

My internal nic is statically configured to use the 192.168.1.4
ip address with the netmask of 255.255.255.0.

netstat -rn shows nothing odd or out of the ordinary.

How can I supress these messages as they fill my log and
console.

thanks in advance,

Darryl.

BTW, I think these messages are generated prior to IPFilter ever
getting in the picture.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: - Installation -

2004-03-15 Thread Kevin D. Kinsey, DaleCo, S.P.
Francesco Pistolesi wrote:

Hi, I'm an italian user.

Yesterday I've tried to install FreeBSD in an old and empty 486.
I've downloaded the floppies and I've made the images
kern.flp e mfsroot.flp .
I've switched-on the pc with kern.flp floppy inside 
at a point the computer has asked to insert mfsroot.

After a few minutes I've seen on the screen:

 

FreeBSD/i386 BOOT
 

Default: 0:fd(0,a)/boot/loader
boot:
e poi 

 

FreeBSD/i386 BOOT
 

Default: 0:fd(0,a)/kernel
boot:
No kernel
What I have to do to continue?
I've an HD and a floppyno a CD-Rom reader
BOOT see the units as
disk0 -- floppy
disk1 -- hard disk
I've read that the relationship between BIOS and FreeBSD about the units is different.
I need to know how I can continue the installation and what is the function of the 
image
boot.flp of 2,8 Mb and finally, what I need apart the floppies
kern
mfsroot
Thanks a lot
 

No expert here, but I've received
similar errors, and trashing that
floppy in favor of another (new)
one usually helped.  YMMV, of course...
Kevin Kinsey
DaleCo, S.P.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Tar command and OpenOffice 1.1 question

2004-03-15 Thread Joshua Lokken
* Stephen Liu [EMAIL PROTECTED] [2004-03-04 07:46]:
 Hi Jerry,
 
 Tks for your 2 emails and detail advice.
 
 - snip -
   /home/user/Download/OpenOffice-1.1/
   en-ooodict-GB-1.2.tgz
   openoffice-1.1.0_1.tbz
 
 - snip -
  Suggest:
cd /home/user/Download
cp openoffice-1.1.0_1.tbz /usr/local/.
cd /usr/local
pkg_add openoffice-1.1.0_1.tbz
  replace instances of {BASE} with /usr/local if needed
/usr/local/OpenOffice-1.1.0_1/program/soffice   to set up
 
 Proceeded as follows;
 
 # cp /home/user/Download/openoffice-1.1.0_1  /usr/local/
 # cd /usr/local/
 # pkg_add openoffice-1.1.0_1.tbz
 pkg_add: could not find package glib-1.2.10_10 !
 pkg_add: could not find package gtk-1.2.10_10 !
 pkg_add: could not find package ORBit-0.5.17 !
 
 # cd /usr/ports/
 # make search key=glib-1.2.10_10 | grep glib-1.2.10_10
 # make search key=gtk-1.2.10_10 | grep gtk-1.2.10_10
 # make search key=ORBit-0.5.17 | grep ORBit-0.5.17
 
 Could not find them.
 
 Finally I untar  'openoffice-1.1.0_1.tbz'  and then ran './setup'
 Now OpenOffice-1.1 is running on FBSD
 
 But I am still interested to learn the FBSD way of installing OpenOffice-1.1.  
 Where can I find those dependencies?
 

By doing just a little bit of your own homework ;)

http://www.freebsd.org/cgi/ports.cgi?query=openofficestype=all

RTFM, and have a wonderful day!

-- 
Joshua

It [being a Vulcan] means to adopt a philosophy, a way of life which is
logical and beneficial.  We cannot disregard that philosophy merely for
personal gain, no matter how important that gain might be.
-- Spock, Journey to Babel, stardate 3842.4
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Server automatically Shuts down.

2004-03-15 Thread samy lancher
Hello All,
I have a strange problem with my FreeBSD 4.5 server. The server daily turns off 
automatically every night. I checked my power sockets and power cables and everything 
is good. i wonder why the server is shutting down daily at night times. I could not 
get  much useful information through log files. I am having this problem from past 2 
weeks and I did not make any changes to the server when it was working fine. Any 
suggestion would be appreciated.
 
Thanks,
Naveen.

Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Problme on installing /usr/ports/sysutils

2004-03-15 Thread Stephen Liu
Hi folks,
 
 I encountered problem as follow on installing /usr/ports/sysutils
 
# cd /usr/ports/sysutils
make install clean
.
.
 [code}
 checking for IceConnectionNumber in -lICE... yes
 checking whether to enable maintainer-specific portions of Makefiles... no
 checking for glib-config... /usr/local/bin/glib12-config
 checking for GLIB - version = 1.2.0... yes
 checking for gtk-config... /usr/X11R6/bin/gtk12-config
 checking for GTK - version = 1.2.0... yes
 checking whether make is GNU Make... no
 checking for gnome-config... no
 Not building GnomeCanvasPixbuf library
 checking whether to build gmodulized gdk-pixbuf... yes
 checking whether dynamic modules work... yes
 checking for location of rgb.txt database... /usr/X11R6/lib/X11/rgb.txt
 ./configure: line 10292: syntax error near unexpected token `newline'
 ./configure: line 10292: ` yes:no'
 gmake: *** [config.status] Error 2
 *** Error code 2
 
 Stop in /usr/ports/graphics/gdk-pixbuf.
 *** Error code 1
 
 Stop in /usr/ports/sysutils/acidlaunch.
 *** Error code 1
 
 Stop in /usr/ports/sysutils.[/code]
 
 Kindly advise how to fix the problems.
 
 TIA
 
 B.R.
Stephen Liu

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


Re: Problme on installing /usr/ports/sysutils

2004-03-15 Thread Kevin D. Kinsey, DaleCo, S.P.
Stephen Liu wrote:

Hi folks,

I encountered problem as follow on installing /usr/ports/sysutils

# cd /usr/ports/sysutils
make install clean
.
 

Surely you don't intend to install *every*
program under /usr/ports/sysutils?
There is a good chance that at any given
time, one of them is borken, or marked
as such; it's even possible that that is
what happened here.
Not to mention, you'll likely get version
conflicts
Kevin Kinsey
DaleCo, S.P.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Using Datavault Agent for Unix 4.50 on FreeBSD

2004-03-15 Thread adp
We will be using our datacenter's backup (Datavault) for our FreeBSD
machines. I do have the Linux emu. installed, but before testing this out I
wanted to see if anyone else has done this before. The agent we will be
using is for Linux (no versions for FreeBSD per the datacenter).

The agent docs show the following shared libraries as needed. If anyone sees
a potential problem then please let me know!

libstc++-libc6.1-1.so.2
libcrypt.so.1
libpthread.so.0
libdl.so.2
libm.so.6
libc.so.6
/lib/ld-linux.so.2


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


Re: [OT] sed question

2004-03-15 Thread Dan Rue
On Sun, Mar 14, 2004 at 04:30:40PM -0600, Steven N. Fettig wrote:
 Sorry for posting an off-topic question to the list, but this is 
 somethin that has been driving me nuts for weeks now and I can't figure 
 it out.  I want to pass a text file through sed that replaces all 
 whitespaces with a carriage return.  I.e., if I have the file 
 my_test_text_document.txt that is a few paragraphs of writing, I want to 
 take the following input:

how about using ctrl-v to get a literal - 
if you do ctrl-v, the next keystroke will be input in literally.  so, do 

sed 's/ /ctrl-venter/'

When I do that, it types in a ^M.  That method also works well for
using sed to insert tabs. 

Dan

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


re: Crystal CS423B under 5.2.1

2004-03-15 Thread Paul Seniura
Hi John,

I had the same problem on this Puny Pentium2 == IBM model 300PL
with on-board IBM Crystal Sound[tm] ;) .  It will be detected
during kernel init, then show the same channel timeout line
later on when you want to play something thru it.

For a quick test, assuming your kernel has acpi removed
or are using the GENERIC kernel: try the beastie menu option
that prevents acpi from loading.

Next, try disabling ACPI in your BIOS if possible.  I think
the smart FBSD boot loader will detect that you don't have a
working ACPI and then will not load the related .ko modules.

In my case, it was a PC model that FBSD's ACPI support does
not like.  Bein' how IBM themselves have dropped support for
this model, I'm positive they won't fix the BIOS.  :(  
(Why do I have it?  State govmts are supposedly cutting
budgets, and I got what was left for this project in the
garage/warehouse before they surplus'd them ;) .

So, I turned off all ACPI functions in the BIOS, but kept
the APM stuff enabled, and also enabled the apm knobs so I
can still use poweroff/reboot shutdown commands etc.

After I discovered ACPI being the root of my problem, to
make it a permament 'fix', I took out the acpi stuff my
custom kernel, too, and added this to /boot/device.hints:

# let's disable this to see if Crystal Sound works:
hint.acpi.0.disabled=1
# YES THAT WORKS - KEEP THIS LINE UNTIL THEY FIX ACPI Trigger/Edge Irq problems!

I sent my last ACPI dmesg logs to the acpi mailing list
(hidden, I don't know where it is documented) to see if
they'd be willing to troubleshoot it.  Still no response. 
But I'm okay with just using APM.

FWIW the Crystal Sound feature was the only thing not working
with ACPI enabled.  With it enabled, this PC seemed a bit faster. 
I see a lot of committed updates for ACPI were done recently and
might give it another go, but not right now. ;)

Hope this helps.


  --  Paul Seniura
  System Specialist
  State of Okla. D.O.T.




--- Original message ---


Hi there,

I'm having tremendous difficulty obtaining anything other than a
system beep from my Crystal CS423B under FreeBSD 5.2.1.

In fact, I had problems with it under 5.1 as well!

The machine (for detailled information see
http://www.osegroup.com/support/insight/insight/en/products/desktops/ls500/ls500.htm) 
is a Mitsubishi Apricot  LS500 with
Lightning BX motherboard, 350Mhz Pentium 2   Crystal CS423B-KQ
chip (I'm looking at the mobo right now, it's also got marking
of ATAFX39820 underneath the sound chip name).

The card seems to be detected: a cat /dev/sndstat reveals the
following:

FreeBSD Audio Drivers (newpcm)
Installed devices:
pcm0: CS423x at io 0x534 irq 5 drq 1:0 bufsz 4096 (1p/1r/4v
channels duplex default)

The relevant parts of /var/log/messages would most likely be:

zev kernel: pnpbios: Bad PnP BIOS data checksum
zen kernel: pcm0:CS423x at port 0x220-0x22f,0x388-0x38n,0x534-0

The appropriate additions to the kernel have been made
(currently:

device  pcm
device  csa

, though also tried have been

device  pcm
device  sba

, and

device pcm

to no discernible difference)

Attempting to test the soundsystem with something like MadPlay
by saying 
madplay -o /dev/dsp0.1 01.mp3
or
madplay -o /dev/dspW0.1 01.mp3

results in the error message 

pcm:0:virtual:0: Play interrupt timeout, channel dead

being sent to /var/log/messages and printed to console 1.

Subsequent attempts to use sound results in invalid argument.

If it's any consolation, the sound does not appear to work under
Linux - at least, not Movix (http://movix.sourceforge.net) -
either. Win2k (when I used to use it.. Eurgh) needed drivers not
included in the OS.

Any help really would be appreciated! The only thing I've found
so far on the mailling lists are unresolved issues!

John

-- 

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


Question about the build process

2004-03-15 Thread Alina Groulx
Hi everyone,

I have been asked to do a software assessment on FreeBSD.  So what I normally do is 
use a script to wrap around the build process normally Makefiles.  What I do is run a 
make -i and just read the build process.  I have noticed that you do not have a 
general configure script to build a general makefile.  Am I missing something?

I guess I need to know how you build it?
What compiler you use to build the code?

Any insight would be greatly appreciated! 

Regards,

Alina Groulx


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


Re: sendmail upgrade

2004-03-15 Thread Jonathan Chen
On Mon, Mar 15, 2004 at 04:19:03AM -0800, Olga Zenkova wrote:
 Need to upgrade sendmail. How can I do this because
 sendmail is too hardly built in system?

# cd /usr/ports/mail/sendmail
# make install clean

Change the entries in /etc/mail/mailer.conf to point to
/usr/local/sbin/sendmail instead.
-- 
Jonathan Chen [EMAIL PROTECTED]
--
   Lots of folks confuse bad management with destiny
 - Kin Hubbard
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: - Installation -

2004-03-15 Thread mario
 Francesco Pistolesi wrote:

Hi, I'm an italian user.

Yesterday I've tried to install FreeBSD in an old and empty 486.
I've downloaded the floppies and I've made the images
kern.flp e mfsroot.flp .

I've switched-on the pc with kern.flp floppy inside
at a point the computer has asked to insert mfsroot.

After a few minutes I've seen on the screen:



FreeBSD/i386 BOOT


Default: 0:fd(0,a)/boot/loader
boot:

e poi



FreeBSD/i386 BOOT


Default: 0:fd(0,a)/kernel
boot:
No kernel

What I have to do to continue?
I've an HD and a floppyno a CD-Rom reader
then floppies is what you're gonna do
followed by a network installation.
In case you haven't seen this, more on this here:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-pre.html
there's probably an italian version of this, too.

I've read that the relationship between BIOS and FreeBSD about the
 units is different. I need to know how I can continue the installation
 and what is the function of the image boot.flp of 2,8 Mb and finally,
that one is for those who have a 2.8Mb floppy drive (kinda rare)

 what I need apart the floppies
kern
mfsroot

Thanks a lot



 No expert here, but I've received
 similar errors, and trashing that
 floppy in favor of another (new)
 one usually helped.  YMMV, of course...
yep same here, also, if you didn't do so the first time,
be sure to format the floppies before writing the images
this is VERY important. If using DOS, do not quick format
them.


 Kevin Kinsey
 DaleCo, S.P.



mario;

- - - - - - - -   House Of Sites   - - - - - - - -
Web Design :: Programming :: Hosting :: Maintenance

Web site: http://www.HouseOfSites.net
Email: [EMAIL PROTECTED]
Tel: 415-242-3376


Do you schmut!?
http://www.schmut.com
http://blog.schmut.com



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


Error building Mozilla Thunderbird from ports tree

2004-03-15 Thread Jorn Argelo

Hi all,

I'm trying to build Mozilla Thunderbird from the ports-tree, but I run
into an compile error after an hour or so. The Platform is FreeBSD
5.2.1-RELEASE and is running KDE 3.2.1 as its desktop manager. I can't
think of any other relevant information right now. Hopefully you guys
can help me out.

Thanks,

Jorn

Here's an output of uname -a

FreeBSD smeagol.middle-earth.org 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #1:
Sat Mar 13 19:46:42 CET 2004
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/smeagol  i386

And here is the actual error.

++ -I/usr/X11R6/include  -I/usr/X11R6/include  -I/usr/X11R6/include
-fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith
-Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy
-Wno-long-long -pedantic -O -pipe -mcpu=pentiumpro -D_THREAD_SAFE
-fshort-wchar -pipe  -DNDEBUG -DTRIMMED -ffunction-sections -O -fPIC
-shared -Wl,-h -Wl,libpipnss.so -o libpipnss.so  md4.o nsCipherInfo.o
nsNSSCallbacks.o nsNSSComponent.o nsNSSIOLayer.o nsNSSModule.o
nsSSLSocketProvider.o nsTLSSocketProvider.o nsSDR.o nsPK11TokenDB.o
nsNSSCertificate.o nsPKCS12Blob.o nsNSSASN1Object.o nsKeygenHandler.o
nsCrypto.o nsPKCS11Slot.o nsKeygenThread.o nsCMSSecureMessage.o nsCMS.o
nsCertPicker.o nsCRLInfo.o nsNSSCertCache.o nsNSSCertHelper.o
nsNSSCertificateDB.o nsNSSCertTrust.o nsNSSCertValidity.o
nsOCSPResponder.o nsUsageArrayHelper.o nsCRLManager.o nsNSSShutDown.o
nsNTLMAuthModule.o nsCertTree.o-L/usr/X11R6/lib  
../../../../dist/lib/libunicharutil_s.a -L../../../../dist/bin -lxpcom 
-L/usr/local/lib -liconv -L../../../../dist/bin
-L/usr/ports/mail/thunderbird/work/mozilla/dist/lib -lplds4 -lplc4
-lnspr4 -L/usr/X11R6/lib -lc_r  -L../../../../dist/bin -lmozjs
-L../../../../dist/bin -L../../../../dist/lib
../../../../dist/lib/libcrmf.a -lsmime3 -lssl3 -lnss3 -lsoftokn3   
-Wl,-Bsymbolic -lm -lc_r
md4.o: In function `md4sum':
md4.o(.text.md4sum+0xa5): undefined reference to `memcpy'
md4.o(.text.md4sum+0xdf): undefined reference to `memset'
nsNSSIOLayer.o: In function `nsConvertCANamesToStrings(PLArenaPool*,
char**, CERTDistNamesStr*)':
nsNSSIOLayer.o(.text._Z25nsConvertCANamesToStringsP11PLArenaPoolPPcP16CERTDistNamesStr+0x142):
undefined reference to `memcpy'
nsSDR.o: In function `nsSecretDecoderRing::DecryptString(char const*,
char**)':
nsSDR.o(.text._ZN19nsSecretDecoderRing13DecryptStringEPKcPPc+0xd2):
undefined reference to `memcpy'
nsNSSCertificate.o: In function `nsNSSCertificate::GetDbKey(char**)':
nsNSSCertificate.o(.text._ZN16nsNSSCertificate8GetDbKeyEPPc+0x153):
undefined reference to `memcpy'
nsNSSCertificate.o(.text._ZN16nsNSSCertificate8GetDbKeyEPPc+0x178):
undefined reference to `memcpy'
nsPKCS12Blob.o: In function `pip_ucs2_ascii_conversion_fn':
nsPKCS12Blob.o(.text.pip_ucs2_ascii_conversion_fn+0x2e): undefined
reference to `memcpy'
nsNSSASN1Object.o(.text._ZN22nsNSSASN1PrintableItem7SetDataEPcj+0x72):
more undefined references to `memcpy' follow
nsKeygenHandler.o: In function
`nsKeygenFormProcessor::GetPublicKey(nsString, nsString, nsString,
nsString, nsString)':
nsKeygenHandler.o(.text._ZN21nsKeygenFormProcessor12GetPublicKeyER8nsStringS1_S1_S1_S1_+0x34b):
undefined reference to `strchr'
nsCrypto.o: In function `cryptojs_interpret_key_gen_type(char*)':
nsCrypto.o(.text._Z31cryptojs_interpret_key_gen_typePc+0x45): undefined
reference to `___runetype'
nsCrypto.o(.text._Z31cryptojs_interpret_key_gen_typePc+0x52): undefined
reference to `_CurrentRuneLocale'
nsCrypto.o(.text._Z31cryptojs_interpret_key_gen_typePc+0x73): undefined
reference to `strchr'
nsCrypto.o(.text._Z31cryptojs_interpret_key_gen_typePc+0xa0): undefined
reference to `___runetype'
nsCrypto.o(.text._Z31cryptojs_interpret_key_gen_typePc+0xb2): undefined
reference to `_CurrentRuneLocale'
nsCrypto.o: In function `nsCRMFEncoderItemStore(void*, char const*,
unsigned long)':
nsCrypto.o(.text._Z22nsCRMFEncoderItemStorePvPKcm+0x35): undefined
reference to `memcpy'
nsCMSSecureMessage.o: In function
`nsCMSSecureMessage::ReceiveMessage(char const*, char**)':
nsCMSSecureMessage.o(.text._ZN18nsCMSSecureMessage14ReceiveMessageEPKcPPc+0x11f):
undefined reference to `malloc'
nsCMSSecureMessage.o(.text._ZN18nsCMSSecureMessage14ReceiveMessageEPKcPPc+0x13a):
undefined reference to `memcpy'
nsCMSSecureMessage.o(.text._ZN18nsCMSSecureMessage14ReceiveMessageEPKcPPc+0x157):
undefined reference to `free'
nsNSSCertificateDB.o: In function
`nsNSSCertificateDB::getCertNames(CERTCertListStr*, unsigned, unsigned*,
unsigned short***)':
nsNSSCertificateDB.o(.text._ZN18nsNSSCertificateDB12getCertNamesEP15CERTCertListStrjPjPPPt+0x202):
undefined reference to `strchr'
nsNSSCertificateDB.o: In function
`nsNSSCertificateDB::default_nickname(CERTCertificateStr*,
nsIInterfaceRequestor*)':
nsNSSCertificateDB.o(.text._ZN18nsNSSCertificateDB16default_nicknameEP18CERTCertificateStrP21nsIInterfaceRequestor+0x4a3):
undefined reference to `strchr'
nsCRLManager.o: In function `nsCRLManager::ImportCrl(unsigned char*,
unsigned, nsIURI*, unsigned, int, 

L2TP VPN with Racoon and WinXP

2004-03-15 Thread Gordon McKee
Hi

Has anyone managed to get this to work?  I have set the FreeBSD box up as per the 
instruction on http://www.sigsegv.cx/FreeBSD-WIN2K-IPSEC-HOWTO.html .  Not sure if the 
server is fully configured yet.  I tried to VPN to the box over the local LAN but get 
the following error from WinXP Error 798: A certificate could not be found that can 
used with this Extensible Authentication Protocol  I copied the certificate from the 
FreeBSD box and imported it into the Windows Certificate Store.

Does anyone know what I am doing wrong or how to generate a proper certificate XP will 
handle?

The openssl lines didn't work due to path issues from the above link so here are the 
lines I used to generate the certificates:

2.3

openssl req -new -x509 -keyout /usr/local/etc/openssl/private/CAkey.pem -out 
/usr/local/etc/openssl/private/CAcert.pem -config /usr/local/etc/openssl/openssl.conf

openssl pkcs12 -export -in /usr/local/etc/openssl/private/CAcert.pem -inkey 
/usr/local/etc/openssl/private/CAkey.pem -nokeys -out CA.p12 

2.4

openssl req -new -keyout /usr/local/etc/openssl/server-key-encrypted.pem -out 
/usr/local/etc/openssl/server.pem -days 360 -config /usr/local/etc/openssl/openssl.conf

cat /usr/local/etc/openssl/server.pem /usr/local/etc/openssl/server-key-encrypted.pem 
 /usr/local/etc/openssl/server-req.pem

openssl ca -policy policy_match -out /usr/local/etc/openssl/server-signed.pem -config 
/usr/local/etc/openssl/openssl.conf -infiles /usr/local/etc/openssl/server-req.pem

openssl rsa -in /usr/local/etc/openssl/server-key-encrypted.pem -out 
/usr/local/etc/openssl/server-key.pem 

2.5

openssl req -new -keyout /usr/local/etc/openssl/user-key.pem -out 
/usr/local/etc/openssl/user.pem -days 360 -config /usr/local/etc/openssl/openssl.conf

cat /usr/local/etc/openssl/user.pem /usr/local/etc/openssl/user-key.pem  
/usr/local/etc/openssl/user-req.pem

openssl ca -policy policy_match -out /usr/local/etc/openssl/user-signed.pem -config 
/usr/local/etc/openssl/openssl.conf -infiles /usr/local/etc/openssl/user-req.pem

openssl pkcs12 -export -in /usr/local/etc/openssl/user-signed.pem -inkey 
/usr/local/etc/openssl/user-key.pem -name User Name Goes Here -certfile 
/usr/local/etc/openssl/private/CAcert.pem -out user.p12 


Thanks in advance.

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


Re: postfix+clamav

2004-03-15 Thread Andrew Boothman
none wrote:

Hi, ppl...

I want to use postfix+clamav... Do you have any ideas or URLs with
documentation?
This comes up a lot on the postfix-users mailing list. Do a search on 
google and you'll find a lot of relevent information.

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


Problems with cvsup mirror.

2004-03-15 Thread stan
One of my cvsup mirro machines (the one at work, naturaly) continues to
have indegestion. I'm getting thsi in. cvsupd.log

Mar 15 09:00:00 cvsup cvsupd[87665]: Error in /usr/local/etc/cvsup/sup.client/c
vs-all/checkouts.cvs: 224883: File is truncated
Mar 15 09:00:31 cvsup last message repeated 118212 times


I tried delting this file this morning, in the hpes it would be rebuilt,
but I'm still getting these errors.

What do I need to do to correct this?
-- 
They that would give up essential liberty for temporary safety deserve
neither liberty nor safety.
-- Benjamin Franklin
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: freebsd-questions Digest, Vol 52, Issue 3

2004-03-15 Thread Find's Treasure Forums
 -- you'll
hardly notice it against the limitations of T1 bandwidth.  However, do
realise that your FTP server will be exposed to the Internet and some
care will need to be taken to make sure that it is properly secured.
(Running FreeBSD is a very good start in that direction).

Cheers,

Matthew

--
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK
-- next part --
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url :
http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040315/98
1c5c48/attachment-0001.bin

--

Message: 5
Date: Mon, 15 Mar 2004 09:53:19 -0500
From: Alex (ander Sendzimir) [EMAIL PROTECTED]
Subject: Re: FBSD4.9  MySQL 4.x
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=US-ASCII; format=flowed

You might want to check out the MySQL installation manual:

manual_Installing.html#BSD_Notes

I have a relatively standard 4.0.16 installation running under
4.9-STABLE and haven't run into any problems with it.

On Mar 15, 2004, at 9:20 AM, Pelle Andersson (SPD Systems AB) wrote:


 Hi List!

 I have read that MySQL and FreeBSD 4.x is a bad thing due to FreeBSD's
 bad(?) threading.
 I have also read that I can enable linux-threads when compiling.
 Does these LinuxThreads solve all MySQLFreeBSDThreading issues?

 Thanks




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



- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  Alexander Sendzimir (owner)802 863 5502
  MacTutor: Apple Mac OS X Consulting   [EMAIL PROTECTED]


--

Message: 6
Date: Mon, 15 Mar 2004 10:06:35 -0500 (EST)
From: Jerry McAllister [EMAIL PROTECTED]
Subject: Re: what should i use?
To: [EMAIL PROTECTED] (Alex Wong)
Cc: [EMAIL PROTECTED]
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=us-ascii


 Hello:

 I am a student just start learning unix, I am interesting FreeBSD. I am
 using Toshiba lap-top, which FreeBSD should I download? I386 or ??


The Toshiba would have an Intel type CPU of the I386 type.
So, install I386 FreeBSD Version 4.9.If you have an internet
connection with decent speed, just download the mini-iso and then
do the rest of the install over the net via ftp.  It will do
everything for you.

jerry


 Thank you

 Alex Wong

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



--

Message: 7
Date: Mon, 15 Mar 2004 16:53:06 +0100
From: Francesco Pistolesi [EMAIL PROTECTED]
Subject: - Installation -
To: [EMAIL PROTECTED]
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain;   charset=iso-8859-1

Hi, I'm an italian user.

Yesterday I've tried to install FreeBSD in an old and empty 486.
I've downloaded the floppies and I've made the images
kern.flp e mfsroot.flp .

I've switched-on the pc with kern.flp floppy inside
at a point the computer has asked to insert mfsroot.

After a few minutes I've seen on the screen:

 FreeBSD/i386 BOOT
Default: 0:fd(0,a)/boot/loader
boot:

e poi

 FreeBSD/i386 BOOT
Default: 0:fd(0,a)/kernel
boot:
No kernel

What I have to do to continue?
I've an HD and a floppyno a CD-Rom reader
BOOT see the units as
disk0 -- floppy
disk1 -- hard disk

I've read that the relationship between BIOS and FreeBSD about the units is
different.
I need to know how I can continue the installation and what is the function
of the image
boot.flp of 2,8 Mb and finally, what I need apart the floppies
kern
mfsroot

Thanks a lotFrom [EMAIL PROTECTED]  Mon Mar 15 08:09:46
2004
Return-Path: [EMAIL PROTECTED]
Delivered-To: [EMAIL PROTECTED]
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
by hub.freebsd.org (Postfix) with ESMTP id 2C8C616A4CE
for [EMAIL PROTECTED]; Mon, 15 Mar 2004 08:09:46 -0800 (PST)
Received: from lv.raad.tartu.ee (lv.raad.tartu.ee [194.126.106.110])
by mx1.FreeBSD.org (Postfix) with ESMTP id C9BC743D39
for [EMAIL PROTECTED]; Mon, 15 Mar 2004 08:09:44 -0800 (PST)
(envelope-from [EMAIL PROTECTED])
Received: Message by Barricade lv.raad.tartu.ee  with ESMTP id
i2FG9feX015785;
Mon, 15 Mar 2004 18:09:42 +0200
Message-Id: [EMAIL PROTECTED]
Received: from INFO/SpoolDir by raad.tartu.ee (Mercury 1.48);
15 Mar 04 18:09:42 +0200
Received: from SpoolDir by INFO (Mercury 1.48); 15 Mar 04 18:09:26 +0200
From

3rd stage boot loader can't find kernel after 'make installworld'

2004-03-15 Thread thatcher hubbard
  On an older Dell PowerEdge 1300, single 36GB hard disk connected through a PERC 
controller.  Installed from the 5.2.1-RELEASE ISO.  The machine installs fine, has no 
troubles getting at the disk through the 'amr' device.  I get CVSup on the machine, 
synch my source, do a 'make buildworld' with no problems and then a 'make 
installworld', also with no problems.  Upon reboot, the first and second stage loaders 
run fine, but I get a can't find /boot/kernel/kernel from the 3rd stage one.  Trying 
to do an 'ls' I get open '/' failed: no such file or directory.
  I searched the mailing list and newsgroups and didn't find anything like this, and 
this is the second time it happened (tried re-installing the first time).  Is this 
something obvious that I'm missing?
  Thanks in advance to all.
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: After xwindow is up.

2004-03-15 Thread Marwan Sultan
hello everyone, Thanks for answers, 
 
Danny Wrote: 
 For Flash you'll probably want to install www/linux-flashplugin6 and  
 the www/linuxpluginwrapper ports.  
 
flashplugin6 has been installed fine,, but when i try to install /linuxpluginwrapper 
It says I didnot enable libmap.conf! but this file doesnot exist in my box. 
 
After linux-flashplugin6 I found the file libflashplayer.so and I added as a path in 
konqueror browser (Configure - Plugins) and I click on scan, but it doesnot scan 
and says nspluginscan excutable cannot be found - netscape plugin cant be scaned 
 
Path I added is /usr/local/lib/linux-flashplugin6/libflashplayer.so 
 
Shall I install netscape? If i do so, does it work fine with this stuff? or same? 
 
In File associations I cannot see anything called netscape plugin. 
I would appreciate if you help me more in this issue, 
 
And i thanks your previous help 
 
Marwan 
 
Make sure to read the blurb about  
 'libmap.conf' that shows after it installs and follow the directions  
 (basically you just copy and paste the example, it's not that hard).  
 This stuff is needed to make the FreeBSD browser able to work with  
 binary plugins for linux. I take it you want it to work in  
 Konqueror. Go to Settings - Configure - Plugins. Make sure it has  
 the correct path to libflashplayer.so, then tell it to scan for  
 plugins and itt should be found. You may also need to go to File  
 associations  
 (mimetypes) and explicitly select the Netscape plugin for embedded  
 playing of the types application/futuresplash and application/x- 
 shockwave-flash. 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Weird directory entries

2004-03-15 Thread Hugo
Hi,

From times to times I get weird directory entries on a 4.8-RELEASE-p13
server.

some examples:

[EMAIL PROTECTED]:/stand]: dir | head
total 71298
-r-xr-xr-x  33 root  wheel  - 2181808 Apr  3  2003 -sh*
drwxr-x---   5 root  wheel  -1024 Oct 15 20:16 ./
drwxr-x--x  19 root  wheel  - 512 Mar  2 00:01 ../

// -sh* ?

[EMAIL PROTECTED]:/]: dir /home/killer/
total 482
-rw-r--r--1 killer  www-   2235 Mar 12 01:24 -v
drwxr-x---9 killer  www-   1024 Mar 15 17:11 ./
drwxr-x--x  121 rootwheel  -   2560 Mar 15 20:35 ../
-rw-r--r--1 rootwheel  -800 Oct 18 23:02 .cshrc
-rw---1 rootwheel  -   1572 Oct 18 16:44 .history

// -v ?

I don't know what these could be, does anyone have any idea?

Thanks

-- 
http://www.6s-gaming.com - your online store!

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


Re: Recommended GUI manager for MYSQL

2004-03-15 Thread Jonathan Arnold
Gareth Bailey wrote:
Can anyone recommend a good GUI manager for MYSQL?
In addition to the earlier mentioned ones, WebMin can
manage MySQL, as well as pretty much everything else on
FreeBSD:
http://freebsd.amazingdev.com/blog/archives/64.html

--
Jonathan Arnold (mailto:[EMAIL PROTECTED])
Amazing Developments   http://www.buddydog.org
Genius may have its limitations, but stupidity is not
thus handicapped. -- Elbert Hubbard
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


KVM Recommendations

2004-03-15 Thread Troy
Hello,
Wondering if anyone has any recommendations for kvm unit and drawer
(lcd, keyboard, pointing device in 1u drawer) both rackmountable, that
will control both ps/2 computers and usb (apple xserver) with
appropriate keyboard mappings?  I found a few (through google) notably
nti technologies and connectpro (overpriced as far as I can tell).  Any
help will be appreciated.

Thanks,

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


re: I have some questions about telnet/telnetd/libtelnet/tn3270 and why FreeBSD is different than other BSDs in this regard

2004-03-15 Thread Paul Seniura
 On Sun, Mar 14, 2004 at 05:52:04AM +0100, Alex de Kruijff wrote:
  On Thu, Mar 11, 2004 at 09:34:16PM -0600, Paul Seniura wrote:
  
   Hi Alex,
  
Dear Paul,
   
On Tue, Mar 09, 2004 at 04:43:48PM -0600, Paul Seniura wrote:
 It seems NetBSD and OpenBSD continue to include
 telnet+telnetd+tn3270 together under one subdir as part of
 /src/usr.bin -- but FreeBSD moved only the telnet[d] pieces
 to /src/contrib/telnet and eliminated the tn3270 pieces completely.

 (I haven't dug too deep yet in the libtelnet tree, which is one
 piece that FreeBSD does retain as other BSDs have it.
 But for right now let's stick to the command  daemon parts.)

 I'm seriously debating in my head whether FreeBSD should add back
 the tn3270 pieces to /src/contrib/telnet so that we can match the
 other BSDs albeit in the 'contrib' subtree.
   
I don't understand the word albeit in this line. English is not my
native language, sorry.
  
   http://dictionary.reference.com/search?q=albeit
   :-)
 
  I did look at my offline dictionary, but this didn't make sence. I just
  stated this, so that I reacted in a strange way it would be clear why
  this was the case.

I understand ;) .
It is a way to short-cut a lot of words.  In my case, it means: 
The other BSDs still have many things that we keep in /src/contrib
that should be in /src/usr.bin -- not just tn3270 was moved. 
But I'll follow the Party Line at least this far. ;)

OT
NetBSD has recently severed ties to FreeBSD, and I'm wondering if it's
partly due to FreeBSD becoming too different. 
Just thinking out loud. ;)

Why do you want so much for all different groups to be alike?
   
It seem to me that differences are natural when you have diffenent
groups. NetBSD and OpenBSD didn't have ports when FreeBSD started with
the use of ports. And this now is very succeful. We whould have missed
this if all we did was be like the others.
  
   Please look at the history of the BSDs.
   The tn3270 command was never in a 'port' to begin with.
   It was meant to be a companion to 'telnet' the command, the
   daemon, and its libraries.  They are intertwined.
 
  What I mean by this is: that i think having it as a port is a good thing
  recardless of what others do.
 
   The use of ports has not been successful w/r/t tn3270 itself.
   It STILL will not compile correctly, even today.  It was moved in
   order to allow 'world' to compile without problems.  It was moved
   *instead* of being fixed.
 
  Then moving it back will not fix it either. That its not being fixed has
  nothing to do with being a port or not.

It is part of the problem as it exists right now. 
Not the _entire_ problem, _part_ of the problem.

When the telnet code is changed, no one will see that it
causes problems with tn3270, and no one fixes it. 
So it compounds the problems.

But the #1 problem right now is it being written in very old
and dated C language.  No one has touched it for 'that' long.

  It has to do with to few people
  who use the port. If it not fixed then that because no one with the
  skill to do so is interesed in fixing it.

Someone could've patched tn3270.c in its proper place with
compiler statements #ifdef false/#endif surrounding the
entire module very easily, thus it becomes a 'good' compile
and will prevent contaminating 'world' until it is fixed. ;) 
When someone sees that the command has either disappeared
or Does Nothing, then the related PR could be cited.

   But the other BSDs have seemingly fixed it, and they left it
   inside /src/usr.bin/telnet where it belongs -- looking right now
   today at their CVS trees.  (Yes I will do 'diff' between theirs
   and ours.)
 
  You could become the port maintainer. ;-)

sigh
I mentioned it in the very first message of this thread. 
Can you see who the maintainer is listed in the Makefile for net/tn3270? 
(the patch for it came out a couple months ago already)
I _am_ the (new) maintainer!

But I do not have nor do I want 'committer' status. 
Whenever I get things working right, I'll open a PR and do
it that way. ;)

I hope it makes sense now, why I am complaining about how
tn3270 was treated during all these years? 
Esp. when other BSDs are seemingly not having our problems.

I personal feel that getting stuff out of the base system and in to the
port tree is a good thing if it is posible. This is more modulair and
thus is much more flexible. I see this as a good thing.
   
Why should this ports be in the base system? Just because NetBSD or
OpenBSD do? FreeBSD is not OpenBSD or NetBSD
  
   I hope this is not too technical:
   All BSDs (except for this 'Free' one) presently have tn3270.c
   together with telnet.c for reasons that become apparent when
   studying how it works and how it is compiled etc.  As they are
   presently written, all of telnet[d].c and tn3270.c must use the
   same macros and other source files from the same 'level' subdir.
   

ClamAV Log Rotation (WAS: Antivirus suggestion...)

2004-03-15 Thread Jonathan T. Sage
Hope this is of some use:

Bart Silverstrim wrote:
I haven't tried it on Exim, but I've had mostly good luck with 
ClamAV (need to work on the log rotation question 
 I've posted previously about, though...)

Speaking of that log question, have you been able to prove 
(substantiate may be a better word) that this happens?  also note 
that newsyslog has the ability to -HUP a process when it rotates a 
log file (for details on how to do this, take a look at apache log 
rotation howtos).

I have been seeing several posts to the clamav-users list about it 
happening, that once it hits the quota limit for the logfile size 
that it will stop working.  Has it happened to me yet? no...my 
logfile hasn't reached the 5 meg limit yet :-)
I do need to find a way to rotate the log though.  I'm just waiting 
to find someone that can say yes, I'm running clamav, and using 
newsyslog to rotate the log, here's the line I use in the conf file 
to do it and here's the line I use in the clamav.conf file to get it 
to work...
  Hey, if you get a working rotation configuration for Clamd, please do
share! :-)  I've got a production server holding it's own in proving 
open source software is a viable alternative to the commercial fellas 
for our school district, and I don't need to have our mail system go 
belly up because of an overgrown logfile :-)
Clamd log rotation:

first and foremost, make sure that clamav is gonna drop a pidfile.  in 
/usr/local/etc/clamav.conf, uncomment:

# This option allows you to save the process identifier of the listening
# daemon (main thread).
PidFile /var/run/clamd.pid
then, add the following (one line) to /etc/newsyslog.conf

/var/log/clamd.log  644  3 *$W0D1 BJ \
/var/run/clamd.pid  1
this will rotate the log once a week, keep 3 of them (current log +3 
weeks).  it will also compress the old one with bzip2 and SIGHUP the 
clamd process.  seems to work just fine for me, running clamav-devel on 
-current (Mar 3 or so right now)

~j

--
Jonathan T. Sage
Theatrical Lighting / Set Designer
Professional Web Design
[HTTP://www.JTSage.com]
[EMAIL PROTECTED]
[See Headers for Contact Info]


signature.asc
Description: OpenPGP digital signature


Re: Why .tgz packages for 4.x

2004-03-15 Thread Kris Kennaway
On Mon, Mar 15, 2004 at 12:55:27PM +, Mark Ovens wrote:
 Kris Kennaway wrote:
 
 On Mon, Mar 15, 2004 at 12:48:30PM +0200, Kyryll A Mirnenko wrote:
 
 Don't you know why 4.x packages're distributed tar gzipped for 4.x?
 pkg_(?:add|update) understands both .tgz/.tbz but the last saves
 ~20% of my time  money while downloading from mirror
 
 1) Please wrap your lines at 70 characters so your emails may be easily 
 read.
 
 2) This was attempted in the past, but it caused a lot of problems for
 users during the transition.  5.x has .tbz packages.
 
 
 Hmmm, I tried using pkg_add with an ftp address to a .tgz package (a 
 link from the ports search page IIRC) but got an error something like 
 pkg_add can only handle files with a .tbz extension. D/l the .tgz and 
 ran pkg_add on the local copy and it worked fine. The package was cvsup 
 I think.

I think that was one of the unresolved problems (the dual .tgz/.tbz
support isn't complete).

Kris


pgp0.pgp
Description: PGP signature


[no subject]

2004-03-15 Thread RIACS
Barry Leiner passed away on April 2, 2003.  Please contact [EMAIL PROTECTED] for all 
inquiries.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


issue with simple script

2004-03-15 Thread David Bear
I thought I had a tape issue.. Now its clear I have a script issue.

Below is a script I use to perform level 0 dumps on all mounted file
systems.  The problem seems to be that when the script runs, it does
not run as root -- even though I am root when I run it. The goal is to
cron it, but as I was testing it I ran into some problems.

First, I can't set the MT variable as its listed below. I get an
permission denial on /dev/nrsa0. This makes no sense, since as root I
can issue the command fine. Moreover, the dump command itself fails
even thought it seems to be rendered syntactically correct.  I echo'ed
all the generated commands just to make certain they are correct.
Here's the output of the script:

=
ppsrvx# ./l0dump.sh
./l0dump.sh: /dev/nrsa0: permission denied
comp off
/sbin/dump -0u -a -b 64 -f /dev/nrsa0 /dev/ad0s1a
/sbin/dump -0u -a -b 64 -f /dev/nrsa0 /dev/da1s1d
/sbin/dump -0u -a -b 64 -f /dev/nrsa0 /dev/da0s1e
/sbin/dump -0u -a -b 64 -f /dev/nrsa0 /dev/da1s1e
/sbin/dump -0u -a -b 64 -f /dev/nrsa0 /dev/ad0s1d
/sbin/dump -0u -a -b 64 -f /dev/nrsa0 /dev/da0s1d
/sbin/dump -0u -a -b 64 -f /dev/nrsa0 /dev/ad0s1e
/dev/sa0 offline

==

notice the permission denied..

not also 'comp off' which SHOULD be rendered as 
   /usr/bin/mt -f /dev/nrsa0 comp off

but isn't.

I'm really stumped here. 

Is there some reason why running these commands in a script would
fail, yet running them by hand works?  


#!/bin/sh
AWK=/usr/bin/awk
DF=/bin/df
DMP=/sbin/dump
DEST=/dev/nrsa0
MT=/usr/bin/mt -f  ${DEST}
MOPTS='weof 1'
DOPTS='-0u -a -b 64 -f '
# -b 64 is max, will never use large value
FSS=`${DF} | ${AWK} '/dev/ {print $1}'` 
echo ${MT} 'comp off'
# echo ${MT} 'blocksize 512'
for FS in ${FSS} ;
   do
  echo ${DMP} ${DOPTS} ${DEST} ${FS}
  # ${MT} ${MOPTS}
   done
echo ${MT} '/dev/sa0 offline'
echo Please swap tapes on srvx | mail iddwb


-- 
David Bear
phone:  480-965-8257
fax:480-965-9189
College of Public Programs/ASU
Wilson Hall 232
Tempe, AZ 85287-0803
 Beware the IP portfolio, everyone will be suspect of trespassing
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Weird directory entries

2004-03-15 Thread Rowdy
Hugo wrote:

Hi,

From times to times I get weird directory entries on a 4.8-RELEASE-p13
server.

some examples:

[EMAIL PROTECTED]:/stand]: dir | head
total 71298
-r-xr-xr-x  33 root  wheel  - 2181808 Apr  3  2003 -sh*
drwxr-x---   5 root  wheel  -1024 Oct 15 20:16 ./
drwxr-x--x  19 root  wheel  - 512 Mar  2 00:01 ../
// -sh* ?

[EMAIL PROTECTED]:/]: dir /home/killer/
total 482
-rw-r--r--1 killer  www-   2235 Mar 12 01:24 -v
drwxr-x---9 killer  www-   1024 Mar 15 17:11 ./
drwxr-x--x  121 rootwheel  -   2560 Mar 15 20:35 ../
-rw-r--r--1 rootwheel  -800 Oct 18 23:02 .cshrc
-rw---1 rootwheel  -   1572 Oct 18 16:44 .history
// -v ?

I don't know what these could be, does anyone have any idea?

Thanks

I've had a similar sort of thing if I inadvertantly place a pipe or 
redirection symbol in the middle of a command line, e.g. ls  -l.

If you look at the contents of the files should give you a clue as to 
what they are.

Dave

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


re: I have some questions about telnet/telnetd/libtelnet/tn3270 and why FreeBSD is different than other BSDs in this regard

2004-03-15 Thread Paul Seniura

Hello,

 On Sun, Mar 14, 2004 at 06:01:37AM +0100, Alex de Kruijff wrote:
  On Sun, Mar 14, 2004 at 05:52:04AM +0100, Alex de Kruijff wrote:
   On Thu, Mar 11, 2004 at 09:34:16PM -0600, Paul Seniura wrote:

I hope this is not too technical:
All BSDs (except for this 'Free' one) presently have tn3270.c
together with telnet.c for reasons that become apparent when
studying how it works and how it is compiled etc.  As they are
presently written, all of telnet[d].c and tn3270.c must use the
same macros and other source files from the same 'level' subdir.
That means if something changes for the sake of 'telnet', it had
better work with 'tn3270' also.
 
  Yes, this is too technical. I would have to study the file, which i'm
  not going to. If you say that it couldn't posibly be a port, like perl5
  can, then i will take your word for this.

 This shouldn't be an impassable obstacle to making a tn3270 port --
 there is precedent in the ports tree for having the port require
 various parts of the system sources to be present in order to build.
 See, for instance, the net/ng_netflow or the devel/linuxthreads ports.

I see how those check for certain files.

But tn3270's Makefile recursively copies a lot under
/src/contrib/telnet/ to its work dir.  I haven't seen many
ports do that sort of thing. ;)  If there are routines that
belong in library functions  such, shared or not, then it
could entail modifying the telnet stack itself -- DTRT to
follow standards y'know.

 Having a good, well maintained port available will go a long way
 towards persuading most committers that the tn3270 application should
 be restored to the base system.  Not all the way, but it will make a
 difference.

I'm likely to 'borrow' tn3270 sources from another BSD since they
don't seem to be having our problems.  And for that to follow, we'd
need to put it back where it belongs (under /src/contrib for us,
while other BSDs haven't moved it from /src/usr.bin). 
I'd only be doing that on this PC locally, of course
(I don't have nor want 'committer' status for lots of reasons ;) .
Once it all works, I'll open a PR and have others look at the patches.

Oh this will take quite a while.  This PC may take all week or longer
just to get caught up on all the commits from last Friday onward. ;)

 Matthew

  --  thx, Paul Seniura.

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


(5.2.1 4.9) Install Errors

2004-03-15 Thread Ali
Hello,

I'm trying to install Freebsd 5.2.1 on my laptop Samsung X30 but it dies
with this message:

 - In default mode and ACPI disabled mode :

Mounting root from ufs:/dev/md0

- Verbose mode :

(probe1:sbp0:0:1:0): error 22
(probe1:sbp0:0:1:0): Unretryable Eroor
(probe1:sbp0:0:2:0): error 22
(probe1:sbp0:0:2:0): Unretryable Eroor
(probe1:sbp0:0:3:0): error 22
(probe1:sbp0:0:3:0): Unretryable Eroor
(probe1:sbp0:0:6:0): error 22
(probe1:sbp0:0:6:0): Unretryable Eroor
(probe1:sbp0:0:0:0): error 22
(probe1:sbp0:0:0:0): Unretryable Eroor
(probe1:sbp0:0:4:0): error 22
(probe1:sbp0:0:4:0): Unretryable Eroor
(probe1:sbp0:0:5:0): error 22
(probe1:sbp0:0:5:0): Unretryable Eroor
Mounting root from ufs:/dev/md0
start_init : trying /sbin/init
start_init : trying /sbin/oinit
start_init : trying /sbin/init.bak
start_init : trying /stand/sysinstall
acpi_acad0: acline initialization done, tried 7 times

I tried 4.9 without success :

ppc0: parallel port not found.
ad0: READ command timeout tag=0 serv=0 - resetting
ata0: resetting devices ..

Here is the result of lsdev :

cd @ 0xff5c
disk @ 0xef68
disk0:BIOS drive A:
disk0a:FFS
disk0c:FFS
disk1:BIOS drive C:
disk1s1: Unknown fs: 0x7
disk1s2: FAT32
pxe @ 0xd6d8

Can you help me with that?

Thank you

-- 
Ali

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


Re: [OT?] write C program with UTF16LE

2004-03-15 Thread Adam Bozanich

On Mon, 15 Mar 2004, Matthew Seaman wrote:

 On Mon, Mar 15, 2004 at 02:28:17AM -0800, Adam Bozanich wrote:
  On Mon, 15 Mar 2004, Zhang Weiwu wrote:

   but I am the kind of newbie don't know if I am using glibc at all. When I
   just write
   #include stdio.h
   Am i using the stdio.h from glibc?

  Yes, on FreeBSD you are using GNU's libc

 Errr... no.  Not even if you're using the Linux devtools to create a
 Linux executable.  You're using the FreeBSD system libc.  Same API,
 different code, different licencing terms.


Yep, one look at /usr/include/stdio.h proves you right.  Thanks... I (obviously)
didn't realize that.

Now I'm very curious.  If BSD has it's own C api, did it at one time have
it's own compiler?  If so, what happened to it?

Does gcc have to know about the different syscall calling conventions?

I'm trying to look through /usr/src/lib/ right now, but I don't understand
most of what is going on.

Thanks a lot,
-Adam


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


Tuning a system..

2004-03-15 Thread adp
We have a pretty high load mail server that does AV and spam filtering. I am
looking to perf. tune this machine. It's FreeBSD 4.9-REL and Postfix. I am
trying to correlate the info in systat to things I need to worry about. I am
using systat with vmstat output since that seems to basically show
everything you need to see. By the way, I did read 'man tuning'.

First, I see that my memory is fine:

3 usersLoad  9.75  4.46  3.24  Mar 15 17:02

Mem:KBREALVIRTUAL VN PAGER  SWAP PAGER
Tot   Share  TotShareFree in  out in  out
Act  1067128704  303637630772   35356 count
All  502468   37816  3878800   181488 pages

The major thing I'm looking at is SWAP PAGER:

SWAP PAGER
in   out

I see that I have processes in the run state and 14 waiting on the disk:

Proc:r  p  d  s  wCsw  Trp  Sys  Int  Sof  Flt
 814 77  6305 297429015  950 1863 2293

I have 77 processes sleeping.

I have 0 processes in w state, which means that my CPU isn't having a
problem.

I am spending a lot of time in sys and the rest in user:

49.5%Sys   1.7%Intr 44.5%User  0.0%Nice  4.4%Idl

Here are my disks:

Disks aacd0  acd0
KB/t  13.19  0.00
tps 111 0
MB/s   1.43  0.00
% busy2 0

From %Sys I would say that disk is a problem for us. However, I'm having
problems really understanding the numbers for Disks. We are running the
server on RAID-1 (2 disks) IDE. What should I be looking for here?

Here is the right side:

2626 cow 867 total
106472 wireata0 irq14
147376 act 464 bge0 irq11
222104 inact   110 aac0 irq7
28304 cache   atkbd0 irq
6992 free100 clk irq0
daefr   128 rtc irq8
2841 prcfr
react
pdwake
pdpgs
intrn
62032 buf
508 dirtybuf
40239 desiredvnodes
38005 numvnodes
13105 freevnodes


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


Need bash help

2004-03-15 Thread hugle
Hello all.
I'm writing here, cause i think just here people can help me.
(p.s. didn't find bash mailing lists)

So here's what I'm palnning to do.. I have big LAN in here, and noticed that lots of 
users are still exploitable using RPC.

I've just found source of this exploit, compiled it, and tried to use - it works.

What i'm planning to is automaticaly detect such users (exploitable).

So i run :
ftp# ./dc IP
and get: 
-
- Remote DCOM RPC Buffer Overflow Exploit
- Original code by FlashSky and Benjurry
- Rewritten by HDM hdm [at] metasploit.com
- Using return address of 0x77e626ba
- Dropping to System Shell...

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\WINDOWS\system32

END.
So if there is text like '- Dropping to System Shell...' means that system is 
vulderable. otherways it teturns:
-
- Remote DCOM RPC Buffer Overflow Exploit
- Original code by FlashSky and Benjurry
- Rewritten by HDM hdm [at] metasploit.com
- Using return address of 0x77e626ba
- Exploit appeared to have failed.



So what I wanna do is smth like:

for i in `seq 1 254`; do
./dc 192.168.1.$i
and if it returns 'Dropping to system shell' then add these IP to vulderable_users
done

After i'm planning to block those users on my router, and forward them to the webpage 
with explanation on howto FIX that bug.

Thanks for help in advance
Jarek



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


deleting directories with ??? in name

2004-03-15 Thread Walter
I've tried lynx, but it did not display the files.
I tried emacs, but I was only able to rename two of the
directories to other names I could delete; the other two
gave me an error of illegal character.
I tried 'rm -i -- ?*' but it didn't find the files.
I tried 'find . -inum 146 -delete' but while it gave no
error message, the files/directories remain.
Help!  How do I delete these odd directories?
Please CC me in your response as I'm not currently
subscribed to the List.
Thanks.

Walter

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


RE: deleting directories with ??? in name

2004-03-15 Thread Derrick Ryalls
 
 I've tried lynx, but it did not display the files.
 I tried emacs, but I was only able to rename two of the 
 directories to other names I could delete; the other two gave 
 me an error of illegal character. I tried 'rm -i -- ?*' but 
 it didn't find the files. I tried 'find . -inum 146 -delete' 
 but while it gave no error message, the files/directories remain.
 
 Help!  How do I delete these odd directories?
 Please CC me in your response as I'm not currently
 subscribed to the List.
 

#mkdir dir?me
#rmdir dir\?me

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


Re: deleting directories with ??? in name

2004-03-15 Thread Erik Trulsson
On Mon, Mar 15, 2004 at 03:51:37PM -0800, Derrick Ryalls wrote:
  
  I've tried lynx, but it did not display the files.
  I tried emacs, but I was only able to rename two of the 
  directories to other names I could delete; the other two gave 
  me an error of illegal character. I tried 'rm -i -- ?*' but 
  it didn't find the files. I tried 'find . -inum 146 -delete' 
  but while it gave no error message, the files/directories remain.
  
  Help!  How do I delete these odd directories?
  Please CC me in your response as I'm not currently
  subscribed to the List.
  
 
 #mkdir dir?me
 #rmdir dir\?me

That assumes that filenames actually contain questionmarks.
ls(1) by default displays all unprintable characters as question marks.
To see what the filenames actually are use 'ls -aB'.

To delete files with strange names you can always do a 'rm -i *' and
answer 'y' only for the weird files.



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


Re: deleting directories with ??? in name

2004-03-15 Thread Walter
Erik Trulsson wrote:

On Mon, Mar 15, 2004 at 03:51:37PM -0800, Derrick Ryalls wrote:

I've tried lynx, but it did not display the files.
I tried emacs, but I was only able to rename two of the 
directories to other names I could delete; the other two gave 
me an error of illegal character. I tried 'rm -i -- ?*' but 
it didn't find the files. I tried 'find . -inum 146 -delete' 
but while it gave no error message, the files/directories remain.

Help!  How do I delete these odd directories?
Please CC me in your response as I'm not currently
subscribed to the List.
#mkdir dir?me
#rmdir dir\?me


That assumes that filenames actually contain questionmarks.
ls(1) by default displays all unprintable characters as question marks.
To see what the filenames actually are use 'ls -aB'.
To delete files with strange names you can always do a 'rm -i *' and
answer 'y' only for the weird files.
'rm -i *' returns no match
'ls -aB' shows me the file names, but even after carefully typing in what
 it shows me in an 'rm' command (name in quotes) says not found.
There are \216, \235, \237, and \377 characters in the names, if
this matters.
Thanks.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: KVM Recommendations

2004-03-15 Thread Bill Campbell
On Mon, Mar 15, 2004, Troy wrote:
Hello,
Wondering if anyone has any recommendations for kvm unit and drawer
(lcd, keyboard, pointing device in 1u drawer) both rackmountable, that
will control both ps/2 computers and usb (apple xserver) with
appropriate keyboard mappings?  I found a few (through google) notably
nti technologies and connectpro (overpriced as far as I can tell).  Any
help will be appreciated.

I haven't looked much at rack mount KVM switches in several years.  I do
use an Apple G4 on my desktop with a Belkin PS/2 KVM switch and a PS/2-USB
adapter for the keyboard and mouse.

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

``The end move in politics is always to pick up a gun.''
-- Buckminster Fuller
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


[Fwd: Re: deleting directories with ??? in name]

2004-03-15 Thread Walter
I managed to delete the files by recreating the directory.

Not to seem ungrateful, but isn't it a Bad Thing that it
is not straightforeward to delete any file on the system
(as root, and thwarted merely because of the characters in
the name of the file/directory)?  I'm not in a position to
mangle lynx, but oughtn't it to be able to zap ANY file
regardless of its name? (emacs is obtuse to me.) Is this
worthy of a PR?  Or are there other ways to kill a
malconforming file?  Why should an annonomous FTP user
be able to create a directory tree that the root account
of the machine can't traverse and delete normally? (Sigh.)
 Original Message 
Subject: Re: deleting directories with ??? in name
Erik Trulsson wrote:

On Mon, Mar 15, 2004 at 03:51:37PM -0800, Derrick Ryalls wrote:

I've tried lynx, but it did not display the files.
I tried emacs, but I was only able to rename two of the 
directories to other names I could delete; the other two gave 
me an error of illegal character. I tried 'rm -i -- ?*' but 
it didn't find the files. I tried 'find . -inum 146 -delete' 
but while it gave no error message, the files/directories remain.

Help!  How do I delete these odd directories?
Please CC me in your response as I'm not currently
subscribed to the List.
#mkdir dir?me
#rmdir dir\?me


That assumes that filenames actually contain questionmarks.
ls(1) by default displays all unprintable characters as question marks.
To see what the filenames actually are use 'ls -aB'.
To delete files with strange names you can always do a 'rm -i *' and
answer 'y' only for the weird files.
'rm -i *' returns no match
'ls -aB' shows me the file names, but even after carefully typing in what
 it shows me in an 'rm' command (name in quotes) says not found.
There are \216, \235, \237, and \377 characters in the names, if
this matters.
Thanks.


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


Re: [OT?] write C program with UTF16LE

2004-03-15 Thread Chuck Swiger
Adam Bozanich wrote:
On Mon, 15 Mar 2004, Matthew Seaman wrote:
Errr... no.  Not even if you're using the Linux devtools to create a
Linux executable.  You're using the FreeBSD system libc.  Same API,
different code, different licencing terms.
Yep, one look at /usr/include/stdio.h proves you right.  Thanks... I (obviously)
didn't realize that.
Now I'm very curious.  If BSD has it's own C api, did it at one time have
it's own compiler?  If so, what happened to it?
Well, one can track down the original C compiler written by Kernighan  
Ritchie.  Somewhere around 1981, one can also find references to PCC, the 
Portable C Compiler by Aho  Johnson, which has largely been replaced by 
GNU's gcc since then.  There's been some effort recently to make FreeBSD go 
using Intel's icc, as well.

Does gcc have to know about the different syscall calling conventions?
GCC has to know about the local architecture's calling conventions.  GCC does 
not need to know anything special about the system call interface defined by 
the kernel and libc.

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


Re: Need bash help

2004-03-15 Thread Chris Pressey
On Tue, 16 Mar 2004 01:40:51 +0200
hugle [EMAIL PROTECTED] wrote:

 Hello all.
 I'm writing here, cause i think just here people can help me.
 (p.s. didn't find bash mailing lists)
 [...]
 So what I wanna do is smth like:
 
 for i in `seq 1 254`; do
 ./dc 192.168.1.$i
 and if it returns 'Dropping to system shell' then add these IP to
 vulderable_users done

You could pipe the output of dc to grep and check the exit code. 
Something like:

if ./dc 192.168.1.$i | grep 'Dropping to system shell'; then
echo 192.168.1.$i  vulnerable_users
fi

YMMV, I haven't used bash; the above is sh, should work about the same.

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


Re: Question about the build process

2004-03-15 Thread Chuck Swiger
Alina Groulx wrote:
I have been asked to do a software assessment on FreeBSD. So what I 
normally do is use a script to wrap around the build process normally
Makefiles. What I do is run a make -i and just read the build process. I
have noticed that you do not have a general configure script to build a
general makefile.  Am I missing something?
Your question is somewhat unclear, but if you are asking whether FreeBSD 
builds via the GNU autoconf-based configure system which one runs to generate 
a Makefile, the answer is, no.

I guess I need to know how you build it?
Consult the handbook, man release, or look at /usr/src/Makefile for the 
buildworld target.

What compiler you use to build the code?
Most commonly, gcc.  There's been some work to support icc as well...

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


Re: [Fwd: Re: deleting directories with ??? in name]

2004-03-15 Thread Kevin D. Kinsey, DaleCo, S.P.
Walter wrote:

I managed to delete the files by recreating the directory.

Ah, you have the hacker nature, then.  That is
probably a Good Thing(TM) ... I was going to
suggest
$cp * ../otherdir/
$cd ..  rmdir thatdir
$mv otherdir thatdir
:-)

Not to seem ungrateful, but isn't it a Bad Thing that it
is not straightforeward to delete any file on the system
(as root, and thwarted merely because of the characters in
the name of the file/directory)?  I'm not in a position to
mangle lynx, but oughtn't it to be able to zap ANY file
regardless of its name? (emacs is obtuse to me.) Is this
worthy of a PR?  Or are there other ways to kill a
malconforming file?  Why should an annonomous FTP user
be able to create a directory tree that the root account
of the machine can't traverse and delete normally? (Sigh.)


Last question first, because he has the
cracker nature?  Nah, nevermind; it
was probably a bot
As a point of discussion, when was the
last time you attempted to remove a file
dropped by a Windows virus, and were
told, no way, Jose` ... (?)
I'm guessing that there is more to it
than the characters in the name of
the file/directory.  Remember that
the characters we see are ultimately
a symbolic representation of another
type of data, and it is possible to construct
code that would deceive us, or our programs
To attempt to answer the issue you describe,
on the surface we must assume that this is a
limitation of the interface, i.e. whatever shell you
are using, whatever shell/API/whatever
your application is using.  Obviously if
it can be created, it can be deleted, under
the right circumstances.  But your
removal tool must be at least as powerful
as the one that placed it there; and it's
quite possible that whatever did this is a
tad more powerful than tcsh or bash
I'm sure if you wanted to write a better
shell, you'd be told to go right ahead :-)
Of more concern to me in this situation
would be  if this anonymous FTP user
put this weird file on your system ... what
*else* did he put there?  Are you sure he
wasn't able to traverse the chrooted
ftp homedir?  If access was gained to the
filesystem at some lower level ... hmm
I think you should definitely attempt
to analyze whether this machine has
been totally compromised...and quite
possibly treat it as such...of course,
I'm a little overcautious (read A**l) re:
security issues like this... ;-)
Maybe the security list; or, perhaps
better, another thread here to solicit
opinions on whether you have aught
to fear from this...but, maybe I'm just
plain wrong.
Kevin Kinsey
DaleCo, S.P.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [Fwd: Re: deleting directories with ??? in name]

2004-03-15 Thread Lowell Gilbert
Walter [EMAIL PROTECTED] writes:

 I managed to delete the files by recreating the directory.
 
 Not to seem ungrateful, but isn't it a Bad Thing that it
 is not straightforeward to delete any file on the system
 (as root, and thwarted merely because of the characters in
 the name of the file/directory)?  I'm not in a position to
 mangle lynx, but oughtn't it to be able to zap ANY file
 regardless of its name? (emacs is obtuse to me.) Is this
 worthy of a PR?  Or are there other ways to kill a
 malconforming file?  Why should an annonomous FTP user
 be able to create a directory tree that the root account
 of the machine can't traverse and delete normally? (Sigh.)

It sounds like you're just unfamiliar with shell quoting rules.
Maybe you'd find it easier with a different shell?  [root uses
csh by default, which I find much more arcane than sh]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Vinum, replaced disk -- fsck error.

2004-03-15 Thread Lewis Thompson
Hi,

I had a failed disk in my RAID-0 Vinum array.  This was a physical disk
problem and in an attempt to recover as much data as possible I dd'ed it
to another disk (dd if=ad3 of=ad1 bs=8192 conv=noerror).

  This has mostly gone fine (bar the I/O errors that were to be
expected) and I can actually start vinum and mount the RAID-0 array with
no trouble (Vinum reports no errors I can see).  I don't really know how
I can test the integrity of files from the replaced disk...

  I attempted to fsck the volume before I mounted it but I first had to
restore the superblock for the volume (tunefs -A /dev/vinum/data), which
worked fine.  However (and this is my real problem), fsck_ufs
/dev/vinum/data gives the following message:

** /dev/vinum/data
cannot alloc 4316869296 bytes for inphead

* FILE SYSTEM STILL DIRTY *

  Searching about doesn't reveal much of any use -- Google Groups has a
few of these errors for Solaris, so I assume it to be a fairly
``generic'' UFS error (?)

  Any suggestions what I can do now?  I am expecting corruption on my
array but I thought some corruption was better than nothing at all.  Am
I way off thinking that I can do this?

  I've not included many specific details here because I don't know if
they are relevant.  Just ask if I've missed anything and I'll provide it
right away.  Thanks a lot,

-lewiz.

-- 
I was so much older then, I'm younger than that now.  --Bob Dylan, 1964.

-| msn:[EMAIL PROTECTED] | jabber:[EMAIL PROTECTED] | url:www.lewiz.org |-


pgp0.pgp
Description: PGP signature


Mozilla's gone crazy?

2004-03-15 Thread Ralph M. Los
Hey all,
  I've been having problems with the Mozilla 1.5 that comes with the 5.2.1 ports 
tree...so I decided to go and grab the latest source, and build it.  What I can't 
figure out is what happens next...the ./configure works just fine but the make part of 
it blows up like I've never seen before.  I'm going to paste it below...but - is there 
anything else I can do?  I've got 1.5 installed from the ports collection...and I 
guess I'll take this time to also ask how to upgrade a package - such as Mozilla, if 
there is a more recent ports build.  Thanks in advance - feel free to answer either 
question...

Makefile, line 317: Need an operator
Makefile, line 319: Need an operator
Makefile, line 321: Need an operator
Makefile, line 322: Need an operator
Makefile, line 323: Missing dependency operator
Makefile, line 325: Need an operator
Makefile, line 326: Need an operator
Makefile, line 328: Missing dependency operator
Makefile, line 330: Need an operator
Makefile, line 333: Missing dependency operator
Makefile, line 335: Need an operator
Makefile, line 338: Missing dependency operator
Makefile, line 339: Missing dependency operator
Makefile, line 341: Need an operator
Makefile, line 342: Need an operator
Makefile, line 345: Missing dependency operator
Makefile, line 346: Missing dependency operator
Makefile, line 348: Need an operator
Makefile, line 349: Need an operator
Makefile, line 351: Need an operator
Makefile, line 358: Missing dependency operator
Error expanding embedded variable.

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


Re: Vinum, replaced disk -- fsck error.

2004-03-15 Thread Lewis Thompson
On Tue, Mar 16, 2004 at 02:00:00AM +, Lewis Thompson wrote:
   This has mostly gone fine (bar the I/O errors that were to be
 expected) and I can actually start vinum and mount the RAID-0 array with
 no trouble (Vinum reports no errors I can see).  I don't really know how
 I can test the integrity of files from the replaced disk...

I've just noticed as I was playing some files from my disk that gstat
shows *no* activity for ad3 (the replaced disk).  Obviously all is not
working as I believed.

-lewiz.

-- 
I was so much older then, I'm younger than that now.  --Bob Dylan, 1964.

-| msn:[EMAIL PROTECTED] | jabber:[EMAIL PROTECTED] | url:www.lewiz.org |-


pgp0.pgp
Description: PGP signature


Re: Mozilla's gone crazy?

2004-03-15 Thread Rob
Ralph M. Los wrote:
Hey all,
  I've been having problems with the Mozilla 1.5 that comes with the 5.2.1 ports 
tree...
Are you not using portupgrade? If not, then install that one from the ports first 
and
use it for everything else. F.ex:
# portinstall mozilla

or

# portupgrade mozilla

check the man pages for more info on how to use this.

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


Re: [Fwd: Re: deleting directories with ??? in name]

2004-03-15 Thread Chris Pressey
On 15 Mar 2004 20:26:12 -0500
Lowell Gilbert [EMAIL PROTECTED] wrote:

 Walter [EMAIL PROTECTED] writes:
 
  I managed to delete the files by recreating the directory.
  
  Not to seem ungrateful, but isn't it a Bad Thing that it
  is not straightforeward to delete any file on the system
  (as root, and thwarted merely because of the characters in
  the name of the file/directory)?  I'm not in a position to
  mangle lynx, but oughtn't it to be able to zap ANY file
  regardless of its name? (emacs is obtuse to me.) Is this
  worthy of a PR?  Or are there other ways to kill a
  malconforming file?  Why should an annonomous FTP user
  be able to create a directory tree that the root account
  of the machine can't traverse and delete normally? (Sigh.)
 
 It sounds like you're just unfamiliar with shell quoting rules.

That wouldn't explain why 'rm -i *' returned 'no match', though.

I think it's more likely that (for whatever reason) the FTP server is
allowing files to be created with extremely funky filenames - possibly
embedded NULs?  I wouldn't have thought this was possible with open(2)
or fopen(3) - and I wouldn't think that an FTP server would use some
other method of creating a file...

Walter, out of curiousity, what FTP server were you running, and (if you
remember) what was the exact output of ls -aB ?

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


RE: Rename a user

2004-03-15 Thread Nguyen Huu Hoa
Thanks to all,
I have managed to do it :)
In my system, don't know why the root user disappear only toor exists, so I
must rename toor to root :)

Hoa, Nguyen

-Original Message-
From: Jerry McAllister [mailto:[EMAIL PROTECTED] 
Sent: Sunday, March 14, 2004 8:35 AM
To: Nguyen Huu Hoa
Cc: [EMAIL PROTECTED]
Subject: Re: Rename a user

 
 Hi List,
 How can I rename a user from my BSD 5.2 system. I have a user called
hoa,
 then I want to rename it to nguyen, so what should I do?

Just make yourself root (su)
then do  'vipw'  and edit the Userid name in the hao record.

When you get out of vipw (:wq, just like in vi) it also updated
the database properly.

Of course, if there are scripts somewhere that have the hao name
hardcoded in to them, those will have to be fixed by hand.

jerry

 Thanks
 Hoa, Nguyen

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


Re: Rename a user

2004-03-15 Thread Jerry McAllister
 
 Thanks to all,
 I have managed to do it :)
 In my system, don't know why the root user disappear only toor exists, so I
 must rename toor to root :)

Well, don't get rid of toor.   Just copy the line and put it in 
front (above) toor and make that one root.   You probably want to 
have one that says root and that has its password field '*-ed out.'

Make sure you use vipw and you should not have any problems.

jerry

 
 Hoa, Nguyen
 
 -Original Message-
 From: Jerry McAllister [mailto:[EMAIL PROTECTED] 
 Sent: Sunday, March 14, 2004 8:35 AM
 To: Nguyen Huu Hoa
 Cc: [EMAIL PROTECTED]
 Subject: Re: Rename a user
 
  
  Hi List,
  How can I rename a user from my BSD 5.2 system. I have a user called
 hoa,
  then I want to rename it to nguyen, so what should I do?
 
 Just make yourself root (su)
 then do  'vipw'  and edit the Userid name in the hao record.
 
 When you get out of vipw (:wq, just like in vi) it also updated
 the database properly.
 
 Of course, if there are scripts somewhere that have the hao name
 hardcoded in to them, those will have to be fixed by hand.
 
 jerry
 
  Thanks
  Hoa, Nguyen
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

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


Re: [Fwd: Re: deleting directories with ??? in name]

2004-03-15 Thread Bill Campbell
On Mon, Mar 15, 2004, Chris Pressey wrote:
On 15 Mar 2004 20:26:12 -0500
Lowell Gilbert [EMAIL PROTECTED] wrote:

...

That wouldn't explain why 'rm -i *' returned 'no match', though.

I think it's more likely that (for whatever reason) the FTP server is
allowing files to be created with extremely funky filenames - possibly
embedded NULs?  I wouldn't have thought this was possible with open(2)
or fopen(3) - and I wouldn't think that an FTP server would use some
other method of creating a file...

I've never seen embedded NULs, but I've seen a pretty wide variety of other
garbage in our anonymous ftp site's /incoming directory.  We allow uploads
with automatic e-mail notification when any new file is uploaded, but the
ownership and permissions are set so that nobody can download without
manual intervention by somebody here.

My normal way of nuking these directories is a one-liner typed from the
command line using gnu-find where $somefile is some file or directory in in
the incoming directory that's older than the ones I want to nuke:

gfind . -newer $somefile -maxdepth 1 -mindepth 1 -print0 | xargs -0 rm -rv

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

``It's time to feed the hogs''
-- Unintended Consequences
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


  1   2   >