Re: how do I add this route without rebooting ?

2002-12-11 Thread Norbert Koch
Josh Brooks [EMAIL PROTECTED] writes:

[...]
 route_route3=10.20.30.1 198.78.1.1

 So i have added another alias, and another route.  Now, here's the
 question - in the past when I have done this, I have just rebooted the
 machine and let these settings in rc.conf do everything.  This time,
 however I cannot reboot - I need to stay up and running.  So, I add the
 new IP with:

 ifconfig fxp1 alias 10.20.30.0 netmask 255.255.255.0

 but what is the command to do what I have listed above for rc.conf for
 adding the third static route ?

route(8) comes to mind, maybe

route add 10.20.30.2 198.78.1.1

norbert.

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



Re: automating rsync

2002-12-11 Thread Matthew Seaman
On Wed, Dec 11, 2002 at 08:45:38AM +0100, Thomas von Hassel wrote:

 Is there an easy way to automate rsync. Problem is that i have to do 
 this over ssh. I cannot use host id's (probably becouse of a firewall 
 between me and the server being rsync'ed.)
 
 How can i provide rsync with the ssh password automaticly when run via 
 cron ?
 
http://www.snailbook.com/faq/no-passphrase.auto.html
 
Cheers,

Matthew

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

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



Re: ssh+slrn screengarbage

2002-12-11 Thread dick hoogendijk
On Dec 10 you wrote:
 In the last episode (Dec 10), dick hoogendijk said:
  Is there no way to get this linux-termcap/terminfo compatible?
 
 You can copy over the termcap/info entries from your FreeBSD box and
 add them to your Linux system.  I've attached termcap and terminfo
 versions of the cons25 terminal description for easy pasting.  Append
 the .tcap file to the end of /etc/termcap, and run tic cons25.tinfo
 to update the terminfo database.

*DONE*
I only needed the .tinfo file cause my Debian Woody linux system doesn't
come w/ termcap anymore (obsolete facility). tic cons25.tinfo did the
trick. I saw I've got one more cons25?? file than I already had.
My system now has a cons25-crt file too (wasn't there at first).
Thanks.

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

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



Dual Athlon MX install.

2002-12-11 Thread Yann Golanski
I'm looking for informations on installing FreeBSD on a dual Athlon MX
machine.  It's to be a research machine so will run intensive code -- NS
and other modeling tools.  I'm looking at things like:
 Which of 4.7, -STABLE, -CURRENT should I use?  
 What are the things I need to keep in mind while installing?  
 What are the pitfalls that I may fall into? 
 Any advice?

Thanks.

-- 
[EMAIL PROTECTED]  -=*=-  www.kierun.org
PGP:   009D 7287 C4A7 FD4F 1680  06E4 F751 7006 9DE2 6318
IRC:   nick kierun, server spod.uk.amiganet.org, channel #sanctus
NNGS:  nick kierun, server nngs.cosmic.org, port 9696.



msg11757/pgp0.pgp
Description: PGP signature


Re: Backspace and Delete keys under PuTTY

2002-12-11 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2002-12-11 11:04:09 +0200:
 On 2002-12-11 10:52, JacobRhoden [EMAIL PROTECTED] wrote:
  (Oh, and if you were writing an ssh client, would you default the
  settings to the standard, or to what works on all your machines
  *grin*)
 
 Neither.  I'd make it easy to configure the client differently,
 instead :-)

putty fits that bill, it just *defaults* to the linux behavior, and
I believe that's what mr. JacobRhoden meant.

the OP didn't want to have to do those two more clicks when saving
settings for a *BSD box.

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

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



Re: g++ warnings

2002-12-11 Thread Giorgos Keramidas
On 2002-12-11 00:49, Philip M. Gollucci [EMAIL PROTECTED] wrote:
 /usr/include/sys/syslimits.h:41:2: warning: #warning No
 user-serviceable parts inside.

Userlevel applications should not include this file.  There's nothing
left in that file that they should depend upon.  The applications
should use limits.h instead.

 I keep getting this damned warning.   In particular apache (apr [HEAD])
 but I seem to remember other things doing it too.

Hopefully, the commit log of the file explains this better than I
could ever do:

: revision 1.13
: date: 2002/10/27 18:03:53;  author: wollman;  state: Exp;  lines: +1 -1
: As promised, downgrade the #error into a #warning.
:-
: revision 1.12
: date: 2002/10/27 18:03:02;  author: wollman;  state: Exp;  lines: +12 -10
: Update limits and configuration parameters for 1003.1/TC1/D6.
: Implement new sysconf keys.  Change the implenentation of
: _SC_ASYNCHRONOUS_IO in preparation for the next set of changes.
:
: Move some limits which had been in sys/syslimits.h to limits.h where
: they belong.  They had only ever been in syslimits.h to provide for the
: kernel implementation of the CTL_USER MIB branch, which went away with
: newsysctl years ago.  (There is a #error in sys/syslimits.h which I
: will downgrade in the next commit.)

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



...changed from TIME to SPACE

2002-12-11 Thread Paul Everlund
Hi list!

What does this mean?

# sysctl kern.msgbuf
[snip]
5/var: optimization changed from TIME to SPACE
118Dec 10 11:36:12 fw /kernel: /var: optimization changed from TIME to SPACE
[snip]

Thank you in advance!

Best regards,
Paul


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



Old Pakages

2002-12-11 Thread Alvaro Rosales R.
Hi fellows, where can I get the package files for FreeBSD 4.4 ?

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



Re: Problems with X

2002-12-11 Thread Tyler Eaves
On Wednesday 11 December 2002 02:03, you wrote:
 After adding DefaultDepth you can remove all modes you
 don't need.

 ___
 Mail me: [EMAIL PROTECTED]
 From Applied Math  Informatics fac.
 Volzhsky Institute of Humanitaries

UNfortunately, after taking the suggested steps, I'm still at 1600x1200.


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



[no subject]

2002-12-11 Thread Deroy . B
hi, i have been reading about usb device for the past 2 weeks and i did not
find what i wanted and wondered if you could give me a tip on how or where i
could find the info.

eia 232 (db 9) to usb

because the mechanical spec is 4 wire for usb (1 ground, 1Vbus, D+ and D-)
+/- 400mv between the two state and that eia 232 uses tx and rx (pin 2 and
3)
i wounder how they manage to put the data on D+ and D- and then switch to Rx
with the same two wire...(D+ D-)

so just to make it clear... D+ D- is tx and rx at the same time so this is
where i get lost.

if you can clarify or help in any way

thank you

Bernard Deroy
[EMAIL PROTECTED]


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



Re: Old Pakages

2002-12-11 Thread Matthew Seaman
On Wed, Dec 11, 2002 at 10:59:38AM -0500, Alvaro Rosales R. wrote:
 Hi fellows, where can I get the package files for FreeBSD 4.4 ?

Unlikely that any of the ftp mirror sites are still going to have the
packages from a release 3 before the latest one, I'm afraid.

Your best bet is probably discs 3 and 4 of a 4.4 CDRom set.  Ask
around your local user groups --- someone closer to you than I am is
bound to have some you can borrow.

Cheers,

Matthew

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

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



RE: Installing orcale 8.1.7 on Freebsd 4.7 HELppppppppppppppppp

2002-12-11 Thread Didier Wiroth
problem resolved
thanks



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



[MAILER-DAEMON@magnesium.net: failure notice]

2002-12-11 Thread Gary Kline

This is one for the mail (or config) gurus.  It's one of
several things left.  Can anybody clue me in on howto
configure mySMTP authentication?

What I've done--uncommnting the ^auth line in /etc/inetd.conf
and restarting inetd--doesn't do the job.   

Anybody?

tia, guys,

gary

PS:  I use sendmail at thought.org... if that makes any difference.



- Forwarded message from [EMAIL PROTECTED] -

Date: 11 Dec 2002 17:21:16 -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: failure notice

Hi. This is the qmail-send program at magnesium.net.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

[EMAIL PROTECTED]:
216.254.0.194 does not like recipient.
Remote host said: 553 sorry, relaying denied, please configure SMTP authentication if 
coming from another ISP. See 
http://support.speakeasy.net/cgi-bin/support.cfg/php/enduser/std_adp.php?p_refno=021016-84
   (#5.7.1)
Giving up on 216.254.0.194.

--- Below this line is a copy of the message.

Return-Path: [EMAIL PROTECTED]
Received: (qmail 93064 invoked by uid 1070); 11 Dec 2002 17:21:16 -
Message-ID: [EMAIL PROTECTED]
From: [EMAIL PROTECTED]
Date: 11 Dec 2002 09:21:16 -0800
To: [EMAIL PROTECTED]
Subject: 



- End forwarded message -

-- 
Gary Kline  Seattle FBSD Users' Group (seafug)  | [EMAIL PROTECTED]
Thought Unlimited Org   | [EMAIL PROTECTED]
http://www.magnesium.net/~kline

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



Re: [MAILER-DAEMON@magnesium.net: failure notice]

2002-12-11 Thread Gary Kline
Dan Nelson ([EMAIL PROTECTED]) wrote:

 In the last episode (Dec 11), Gary Kline said:
  
  This is one for the mail (or config) gurus.  It's one of
  several things left.  Can anybody clue me in on howto configure
  mySMTP authentication?
 
 The error is on speakeasy's end.  You have the following servers listed
 as mail exchangers for thought.org:
 
  $ host -t mx thought.org
  thought.org mail is handled by 10 ns1.thought.org.
  thought.org mail is handled by 10 mail.speakeasy.net.
  thought.org mail is handled by 2 relay1.exodus.net.
 
 Make sure that Speakeasy and Exodus know they they should be backup
 MXes, or else they will bounce your messages.
 

Hm.  Well, relay1.exodus.net is probably bogus.  I asked
Speakeasy (my ISP) and never got a direct answer...
Here on Magesium.net, I do have a clear okay on using 
them as an MX site.

The thing is that when  I used mail.magnesium.net, I got
the same 553 errror.  Also, from

  http://www.dnsreport.com/tools/dnsreport.ch?domain=thought.org

I got a FAIL on the postmaster auth entry.   

I did check out speakeasy.net's web site on this; it mumbled
one like about using sendmail's SASL.  --Sorry, but this is 
seriously out f my league!!  Anybody know what 'SASL' is?
(I just tweaked my /etc/mail/sendmail.cf file.  It says::

  Warning: Option: DefaultAuthInfo requires SASL support (-DSASL)
  Warning: Option: AuthOptions requires SASL support (-DSASL)

)

gary

-- 
Gary Kline  Seattle FBSD Users' Group (seafug)  | [EMAIL PROTECTED]
Thought Unlimited Org   | [EMAIL PROTECTED]
http://www.magnesium.net/~kline

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



DFE-670TXD PCMCIA card

2002-12-11 Thread Brian Henning
hello,

i have a PCMCIA card that is not in my /etc/defaults/pccard.conf file. I
would like to add an entry so FBSD4.7 can use the card... there is an entry
in the file aready for a DFE-650. can i modify this entry to make it work
for my nic?

old:
# D-Link DFE-650 Fast Ethernet Card
card D-Link DFE-650
config  auto ed ? 0x80010
insert  /etc/pccard_ether $device start
remove  /etc/pccard_ether $device stop
new:
# D-Link DFE-670TXD Fast Ethernet Card
card D-Link DFE-670
config  auto ed ? 0x80010
insert  /etc/pccard_ether $device start
remove  /etc/pccard_ether $device stop

thanks,
brian

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



problems 'make'ing ports

2002-12-11 Thread Nick Jennings
Hi All,

 I have been having several problems build ports. I just installed 4.7,
 and used cvsupit to update to the latest ports tree (nightly) and
 track the -STABLE branch (/usr/src). 

 When I build ports I often get really lame errors like
 'Unknown character /' in some source file. What it turns out to be
 is a comment, like:

  // This is a comment.

 Changing it to:

  /* This is a comment */

 Fixes the problem.

 I get other errors too, but I am starting to question whether something
 else is wrong here. Is my make.conf too strict or something? I copied
 it from the examples, (/usr/share/examples/etc/defaults/make.conf) and
 did *very* little in customization... My CFLAGS looks like this:

 CFLAGS= -O -pipe -Wall -ansi
 
 What could be the problem here? Or is the compiler I'm using just not
 like '//' used as comments?


 I also can't successfully 'make buildworld'... And about 50% of the time
 I try to install a port that just won't build, so I have to use 'pkg_add'.

 Any tips greatly appreciated.

--
 Nick Jennings
 [EMAIL PROTECTED]


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



Re: problems 'make'ing ports

2002-12-11 Thread Kent Stewart
On Wednesday 16 October 2002 09:01 pm, Nick Jennings wrote:
 Hi All,

  I have been having several problems build ports. I just installed
 4.7, and used cvsupit to update to the latest ports tree (nightly)
 and track the -STABLE branch (/usr/src).

  When I build ports I often get really lame errors like
  'Unknown character /' in some source file. What it turns out to be
  is a comment, like:

   // This is a comment.

  Changing it to:

   /* This is a comment */

  Fixes the problem.

  I get other errors too, but I am starting to question whether
 something else is wrong here. Is my make.conf too strict or
 something? I copied it from the examples,
 (/usr/share/examples/etc/defaults/make.conf) and did *very* little
 in customization... My CFLAGS looks like this:

  CFLAGS= -O -pipe -Wall -ansi

  What could be the problem here? Or is the compiler I'm using just
 not like '//' used as comments?


A #CFLAGS= -O -pipe -Wall -ansi will work better. The default is -O 
-pipe and turning other flags on just increases the number of 
problems. I also use the default COPTFLAGS. The compiler will build 
modules containing // comments just fine.

Kent


  I also can't successfully 'make buildworld'... And about 50% of
 the time I try to install a port that just won't build, so I have
 to use 'pkg_add'.

  Any tips greatly appreciated.

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html


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



Re: ...changed from TIME to SPACE

2002-12-11 Thread Brian
one of your partitions is getting full, look at the output of df.

Bri

- Original Message -
From: Paul Everlund [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, December 11, 2002 7:32 AM
Subject: ...changed from TIME to SPACE


 Hi list!

 What does this mean?

 # sysctl kern.msgbuf
 [snip]
 5/var: optimization changed from TIME to SPACE
 118Dec 10 11:36:12 fw /kernel: /var: optimization changed from TIME to
SPACE
 [snip]

 Thank you in advance!

 Best regards,
 Paul


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



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



Re: [MAILER-DAEMON@magnesium.net: failure notice]

2002-12-11 Thread Gary Kline
Dan Nelson ([EMAIL PROTECTED]) wrote:

 In the last episode (Dec 11), Gary Kline said:
  The thing is that when  I used mail.magnesium.net, I got
  the same 553 errror.  Also, from
  
http://www.dnsreport.com/tools/dnsreport.ch?domain=thought.org
  
  I got a FAIL on the postmaster auth entry.   
 
 Same reason.  The FAIL on that page is because mail.speakeasy.net does
 not think it's a MX for thought.org.
 
  I did check out speakeasy.net's web site on this; it mumbled
  one like about using sendmail's SASL.  --Sorry, but this is 
  seriously out f my league!!  Anybody know what 'SASL' is?
  (I just tweaked my /etc/mail/sendmail.cf file.  It says::
 
 That's talking about sending outgoing mail, and is to prevent spammers
 from using speakeasy's servers without authentication.  Your problem is
 with incoming mail, and requiring anyone that wants to send you mail to
 use SASL is ridiculous.
 
 Pester Speakeasy and make sure they know you're talking about MXes for
 incoming mail.  Large ISPs usually have different machines dedicated to
 incoming vs outgoing mail.
 


I googled around and added the SASL lines to my ns1*.mc
file.  But sendmail gives me warnings.  I understand Speakeasy's
issues and policy.   Agree that for me, yes, this is 
ridiculous.  

I'm running FBSD-4.3 on my DNS server; 4.7 on tao.thought.org;
before I start bugging Seakeasy, it might be easier to figure
out where the SASL stuff is.  Ideas?

gary



-- 
Gary Kline  Seattle FBSD Users' Group (seafug)  | [EMAIL PROTECTED]
Thought Unlimited Org   | [EMAIL PROTECTED]
http://www.magnesium.net/~kline

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



Cron script problem....

2002-12-11 Thread Eric Six
Hi All,

I am having a weird problem on a freebsd 4.7. I have two perl scripts I am
running via cron, one is run as root to make a backup of a directory and the
files in it, the second is run as a user to scp files to another box. What I
am encountering is the second script is running but dying after the first
ssh remote command. Here is what second script does; it uses ssh remote
command to create a directory on the remote server with todays date, the
next command is the actual recurise scp command. Here is what the script
looks like;

~begin~
#!/usr/bin/perl -w
# tar cf filename.tar pathtotar/

chomp ($SCP=`which scp`);
chomp ($SSH=`which ssh`);

$pathtomakebackup=/bind_backups;
chomp ($today=`date`);

my ($day,$month,$date,$time,$timezone,$year) = split (' ',$today);
$archive_date=$month-$date-$year;

`$SSH backupuser\@server13.blah.com mkdir ~/bind_backups/nsX/$archive_date 
/var/log/ssh.log 21`;
`$SCP -vr $pathtomakebackup/$archive_date/
backupuser\@server13.blah.com:~/bind_backups/nsX/  /var/log/scp.log 21`;
~end~

If I run the script interactively, it works fine. From CRON it dies after
the SSH command makes the directory on the remote server. Here is how I have
it setup in cron;

05 22 * * 1,3,5 perl /adminscripts/erics/bind_backup_scp.pl


It works fine from cron on Solaris and Linux... anyone have any ideas? 

TIA
Eric

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



Re: Cron script problem....

2002-12-11 Thread Jack L. Stone
At 01:05 PM 12.11.2002 -0600, Eric Six wrote:
Hi All,

I am having a weird problem on a freebsd 4.7. I have two perl scripts I am
running via cron, one is run as root to make a backup of a directory and the
files in it, the second is run as a user to scp files to another box. What I
am encountering is the second script is running but dying after the first
ssh remote command. Here is what second script does; it uses ssh remote
command to create a directory on the remote server with todays date, the
next command is the actual recurise scp command. Here is what the script
looks like;

~begin~
#!/usr/bin/perl -w
# tar cf filename.tar pathtotar/

chomp ($SCP=`which scp`);
chomp ($SSH=`which ssh`);

$pathtomakebackup=/bind_backups;
chomp ($today=`date`);

my ($day,$month,$date,$time,$timezone,$year) = split (' ',$today);
$archive_date=$month-$date-$year;

`$SSH backupuser\@server13.blah.com mkdir ~/bind_backups/nsX/$archive_date 
/var/log/ssh.log 21`;
`$SCP -vr $pathtomakebackup/$archive_date/
backupuser\@server13.blah.com:~/bind_backups/nsX/  /var/log/scp.log 21`;
~end~

If I run the script interactively, it works fine. From CRON it dies after
the SSH command makes the directory on the remote server. Here is how I have
it setup in cron;

05 22 * * 1,3,5 perl /adminscripts/erics/bind_backup_scp.pl


It works fine from cron on Solaris and Linux... anyone have any ideas? 

TIA
Eric


Eric: I'm no script expert, but perhaps if you added the full path to perl
in the cron line. That's usually a problem

Best regards,
Jack L. Stone,
Administrator

SageOne Net
http://www.sage-one.net
[EMAIL PROTECTED]

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



Support with date command and DST issues - 4.7-RELEASE

2002-12-11 Thread Jeff Bogari
Please advise as to where to pursue resources on the date command,
specifically, help or examples regarding setting (reinstating) daylight
savings time.  Man pages have been inadequate on this sub-topic, and
extensive web search has provided only anecdotal information.

Also, in my search I have noticed quite a bit of confusion surrounding these
issues, so a reliable or authoritative source would be great.

Is there a particular mailing list or newsgroup that would help?

Thanks.

Jeff

*-*-*-*-*-*-*-*
Jeff Bogari
408-835-5923
[EMAIL PROTECTED]
*-*-*-*-*-*-*-*


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



Re: Cron script problem....

2002-12-11 Thread Norbert Koch
Jack L. Stone [EMAIL PROTECTED] writes:

Hi!

 Eric: I'm no script expert, but perhaps if you added the full path to perl
 in the cron line. That's usually a problem

Shouldn't be the case here, because then, the script wouldn't start at
all, but as Eric has pointed out it runs up to the first SSH call.

Eric, 

it might be a good idea to call ssh with the -v switch and capture the
output of the command.  Maybe it sheds some light into your problem.

Do you use the same user for interactive and cronjob operation?

norbert.


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



RE: Cron script problem....

2002-12-11 Thread Eric Six
Interactively, I am running the script as the backup account that cron uses
to run the copy script. And it runs correctly interactively. I try the ssh
-v and see if that says anything.. Is there a timeout issue that cron might
be seeing? Anyone know? hmm.. I am stumped.

Eric

-Original Message-
From: Norbert Koch [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 11, 2002 1:50 PM
To: Jack L. Stone
Cc: Eric Six; '[EMAIL PROTECTED]'
Subject: Re: Cron script problem


Jack L. Stone [EMAIL PROTECTED] writes:

Hi!

 Eric: I'm no script expert, but perhaps if you added the full path to perl
 in the cron line. That's usually a problem

Shouldn't be the case here, because then, the script wouldn't start at
all, but as Eric has pointed out it runs up to the first SSH call.

Eric, 

it might be a good idea to call ssh with the -v switch and capture the
output of the command.  Maybe it sheds some light into your problem.

Do you use the same user for interactive and cronjob operation?

norbert.

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



Re: Cron script problem....

2002-12-11 Thread Mike Galvez
On Wed, Dec 11, 2002 at 01:05:13PM -0600, Eric Six wrote:
 Hi All,
 
 I am having a weird problem on a freebsd 4.7. I have two perl scripts I am
 running via cron, one is run as root to make a backup of a directory and the
 files in it, the second is run as a user to scp files to another box. What I
 am encountering is the second script is running but dying after the first
 ssh remote command. Here is what second script does; it uses ssh remote
 command to create a directory on the remote server with todays date, the
 next command is the actual recurise scp command. Here is what the script
 looks like;
 
 ~begin~
 #!/usr/bin/perl -w
 # tar cf filename.tar pathtotar/
 
 chomp ($SCP=`which scp`);
 chomp ($SSH=`which ssh`);
 
 $pathtomakebackup=/bind_backups;
 chomp ($today=`date`);
 
 my ($day,$month,$date,$time,$timezone,$year) = split (' ',$today);
 $archive_date=$month-$date-$year;
 
 `$SSH backupuser\@server13.blah.com mkdir ~/bind_backups/nsX/$archive_date 
 /var/log/ssh.log 21`;
^^^
Does the user have permission to write to this file?

 `$SCP -vr $pathtomakebackup/$archive_date/
 backupuser\@server13.blah.com:~/bind_backups/nsX/  /var/log/scp.log 21`;
 ~end~
 
 If I run the script interactively, it works fine. From CRON it dies after
 the SSH command makes the directory on the remote server. Here is how I have
 it setup in cron;
 
 05 22 * * 1,3,5 perl /adminscripts/erics/bind_backup_scp.pl
 
 
 It works fine from cron on Solaris and Linux... anyone have any ideas? 
 
 TIA
 Eric
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message

-- 
Michael Galvez http://www.people.virginia.edu/~mrg8n
Computer Systems Sr. Engineer Office: 434-982-2975 
Financial AnalysisE-Mail: [EMAIL PROTECTED]
University of VirginiaMessenger Mail: Carruthers Hall

Toilet Toup'ee, n.:
Any shag carpet that causes the lid to become top-heavy, thus
creating endless annoyance to male users.
-- Rich Hall, Sniglets

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



Re: ...changed from TIME to SPACE

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

C J Michaels wrote:


Some time in the recent past Paul Everlund scribbled:

Hi list!

What does this mean?

# sysctl kern.msgbuf
[snip]
5/var: optimization changed from TIME to SPACE
118Dec 10 11:36:12 fw /kernel: /var: optimization changed from TIME to
SPACE [snip]

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

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

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



Thank you Chris and Jens for your replies!

A full file system on /var triggered it?

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

It doesn't look full to me.

Best regards,
Paul


Try 'df -ik'

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



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



Re: [MAILER-DAEMON@magnesium.net: failure notice]

2002-12-11 Thread Dan Nelson
In the last episode (Dec 11), Gary Kline said:
 
   This is one for the mail (or config) gurus.  It's one of
   several things left.  Can anybody clue me in on howto configure
   mySMTP authentication?

The error is on speakeasy's end.  You have the following servers listed
as mail exchangers for thought.org:

 $ host -t mx thought.org
 thought.org mail is handled by 10 ns1.thought.org.
 thought.org mail is handled by 10 mail.speakeasy.net.
 thought.org mail is handled by 2 relay1.exodus.net.

Make sure that Speakeasy and Exodus know they they should be backup
MXes, or else they will bounce your messages.

-- 
Dan Nelson
[EMAIL PROTECTED]

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



Re: [MAILER-DAEMON@magnesium.net: failure notice]

2002-12-11 Thread Dan Nelson
In the last episode (Dec 11), Gary Kline said:
   The thing is that when  I used mail.magnesium.net, I got
   the same 553 errror.  Also, from
 
 http://www.dnsreport.com/tools/dnsreport.ch?domain=thought.org
   
   I got a FAIL on the postmaster auth entry.   

Same reason.  The FAIL on that page is because mail.speakeasy.net does
not think it's a MX for thought.org.

   I did check out speakeasy.net's web site on this; it mumbled
   one like about using sendmail's SASL.  --Sorry, but this is 
   seriously out f my league!!  Anybody know what 'SASL' is?
   (I just tweaked my /etc/mail/sendmail.cf file.  It says::

That's talking about sending outgoing mail, and is to prevent spammers
from using speakeasy's servers without authentication.  Your problem is
with incoming mail, and requiring anyone that wants to send you mail to
use SASL is ridiculous.

Pester Speakeasy and make sure they know you're talking about MXes for
incoming mail.  Large ISPs usually have different machines dedicated to
incoming vs outgoing mail.

-- 
Dan Nelson
[EMAIL PROTECTED]

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



Re: Max RAM usage

2002-12-11 Thread Brian
I didnt think fbsd's smp capabilities were more than primitive, Linux or
Solaris perhaps??

Bri

- Original Message -
From: Irvine Short [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, December 11, 2002 2:16 AM
Subject: Max RAM usage


 Hi All

 We're thinking of buying a very big Intel box for scientific computing
here.

 Anyone have any opinions as to how FreeBSD would match up to an Intel
 server with over 8GB RAM and 4CPUs? The particular machine we're looking
 at will go up to 24GB RAM.

 I was under the impression that any 32 bit application could not in
 itself address more than 4GB of data.  Is this the case?

 Cheers,

 --

 Irvine Short

 Sys Admin
 SANBI, University of the Western Cape, South Africa
 http://www.sanbi.ac.za
 tel: +27-21-959 3645
 cel: +27-82-494 3828



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



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



Re: [MAILER-DAEMON@magnesium.net: failure notice]

2002-12-11 Thread Dan Nelson
In the last episode (Dec 11), Gary Kline said:
   I googled around and added the SASL lines to my ns1*.mc
   file.  But sendmail gives me warnings.  I understand Speakeasy's
   issues and policy.   Agree that for me, yes, this is 
   ridiculous.  
 
   I'm running FBSD-4.3 on my DNS server; 4.7 on tao.thought.org;
   before I start bugging Seakeasy, it might be easier to figure
   out where the SASL stuff is.  Ideas?

Don't even bother; it has no bearing on receiving incoming mail, which
is what your current problem is.

-- 
Dan Nelson
[EMAIL PROTECTED]

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



Re: DSBL Open Relay Removal

2002-12-11 Thread Marc Schneiders
On Tue, 10 Dec 2002, at 21:35 [=GMT-0600], Dan Nelson wrote:
 In the last episode (Dec 10), [EMAIL PROTECTED] said:

  DSBL will sends an email to abuse or postmaster @ the ip address of
  the server listed.  The current sendmail server rejects the attempts
  from DSBL to send an email to the account:
 
  Result: 12.158.17.27 does not like recipient.
  Remote host said: 550 5.7.1 postmaster@[12.158.17.27]... Relaying denied
  Giving up on 12.158.17.27.

 Try putting
 that IP in /etc/mail/local-host-names, but I don't know if sendmail
 will accept IPs in that file.

It does. And you need it there. Without the [], which you need, I
think, if you send mail to an IP.

-- 
[03] I thank you for your time and interest.
http://logoff.org/


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



Re: [MAILER-DAEMON@magnesium.net: failure notice]

2002-12-11 Thread Gary Kline
Dan Nelson ([EMAIL PROTECTED]) wrote:

 In the last episode (Dec 11), Gary Kline said:
  I googled around and added the SASL lines to my ns1*.mc
  file.  But sendmail gives me warnings.  I understand Speakeasy's
  issues and policy.   Agree that for me, yes, this is 
  ridiculous.  
  
  I'm running FBSD-4.3 on my DNS server; 4.7 on tao.thought.org;
  before I start bugging Seakeasy, it might be easier to figure
  out where the SASL stuff is.  Ideas?
 
 Don't even bother; it has no bearing on receiving incoming mail, which
 is what your current problem is.
 


I poked around into sendmail.org's site further;
you're right.  This is way overkill.  The version
with the sasl libs is a custom version.



-- 
Gary Kline  Seattle FBSD Users' Group (seafug)  | [EMAIL PROTECTED]
Thought Unlimited Org   | [EMAIL PROTECTED]
http://www.magnesium.net/~kline

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



Re: Cron script problem....

2002-12-11 Thread Jack L. Stone
At 08:49 PM 12.11.2002 +0100, Norbert Koch wrote:
Jack L. Stone [EMAIL PROTECTED] writes:

Hi!

 Eric: I'm no script expert, but perhaps if you added the full path to perl
 in the cron line. That's usually a problem

Shouldn't be the case here, because then, the script wouldn't start at
all, but as Eric has pointed out it runs up to the first SSH call.

Eric, 


Right, had my blinders on when I read his note

Best regards,
Jack L. Stone,
Administrator

SageOne Net
http://www.sage-one.net
[EMAIL PROTECTED]

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



RE: Cron script problem....

2002-12-11 Thread Eric Six

I've added the verbose flag to ssh. Here is snipet from the log.. The
connection is built, directory made, and connection torn down. It seems as
if ssh is sending a kill or exit after it runs??

debug1: Reading configuration data /etc/ssh/ssh_config^M
debug1: Applying options for *^M
debug1: Rhosts Authentication disabled, originating port will not be
trusted.^M
debug1: restore_uid^M

debug1: ssh-userauth2 successful: method publickey^M

debug1: Entering interactive session.^M
debug1: client_init id 0 arg 0^M
debug1: Sending command: mkdir /bind_backups/ns3/Dec-11-2002^M

debug1: client_input_channel_req: channel 0 rtype exit-status reply 0^M
debug1: channel 0: rcvd close^M
debug1: channel 0: is dead^M
debug1: channel_free: channel 0: status: The following connections are
open:^M
  #0 client-session (t4 r0 i8/0 o128/0 fd -1/-1)^M
^M
debug1: channel_free: channel 0: dettaching channel user^M

That's the last line of the log.. nothing else is run. SCP should be invoked
from there...


Eric
-Original Message-
From: Eric Six [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 11, 2002 1:53 PM
To: 'Norbert Koch'
Cc: '[EMAIL PROTECTED]'
Subject: RE: Cron script problem


Interactively, I am running the script as the backup account that cron uses
to run the copy script. And it runs correctly interactively. I try the ssh
-v and see if that says anything.. Is there a timeout issue that cron might
be seeing? Anyone know? hmm.. I am stumped.

Eric

-Original Message-
From: Norbert Koch [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 11, 2002 1:50 PM
To: Jack L. Stone
Cc: Eric Six; '[EMAIL PROTECTED]'
Subject: Re: Cron script problem


Jack L. Stone [EMAIL PROTECTED] writes:

Hi!

 Eric: I'm no script expert, but perhaps if you added the full path to perl
 in the cron line. That's usually a problem

Shouldn't be the case here, because then, the script wouldn't start at
all, but as Eric has pointed out it runs up to the first SSH call.

Eric, 

it might be a good idea to call ssh with the -v switch and capture the
output of the command.  Maybe it sheds some light into your problem.

Do you use the same user for interactive and cronjob operation?

norbert.

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

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



Re: Cron script problem....

2002-12-11 Thread Norbert Koch
Eric Six [EMAIL PROTECTED] writes:

 That's the last line of the log.. nothing else is run. SCP should be
 invoked from there...

Hmm, everything looks fine.  You don't need a return value, so you
could try and issue the command as system($SSH, @args) and examine the
return code.

But this is short of a wild goose chase :-/

norbert.

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



BIND9 port

2002-12-11 Thread Avleen Vig
Well, I know BINd8 ships with FreeBSD, but I wanted to install BIND9.
So I installed the port.

Unfortuantely it didn't tell me where it expects the namedb dir to be, it
didn't put a startup script in /usr/local/etc/rc.d like other ports do..
Is this normal?

Should I just create my own and wing it?

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



Re: BIND9 port

2002-12-11 Thread Brian
if u want 9 to be started instead of 8, youll need to mod /etc/rc.conf to
get the right values in there.

Bri


On Wed, 11 Dec 2002, Avleen Vig wrote:

 Well, I know BINd8 ships with FreeBSD, but I wanted to install BIND9.
 So I installed the port.

 Unfortuantely it didn't tell me where it expects the namedb dir to be, it
 didn't put a startup script in /usr/local/etc/rc.d like other ports do..
 Is this normal?

 Should I just create my own and wing it?

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


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



Re: BIND9 port

2002-12-11 Thread Kliment Andreev
 Unfortuantely it didn't tell me where it expects the namedb dir to be, it
 didn't put a startup script in /usr/local/etc/rc.d like other ports do..
 Is this normal?
 
 Should I just create my own and wing it?

Put the following in /etc/rc.conf

# DNS server   
named_enable=YES
named_program=/usr/sbin/named
named_flags=-u bind -g bind

There is no need for startup script.


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



Re: Support with date command and DST issues - 4.7-RELEASE

2002-12-11 Thread Cliff Sarginson
On Wed, Dec 11, 2002 at 11:30:11AM -0800, Jeff Bogari wrote:
 Please advise as to where to pursue resources on the date command,
 specifically, help or examples regarding setting (reinstating) daylight
 savings time.  Man pages have been inadequate on this sub-topic, and
 extensive web search has provided only anecdotal information.
 
 Also, in my search I have noticed quite a bit of confusion surrounding these
 issues, so a reliable or authoritative source would be great.
 
I believe this has been answered.
To re-iterate.
- Windows does not understand the implications of setting CMOS time to
GMT.
_ If you run only FreeBSD then decide if you want your system clock to
repreent the time on the clock in your house, or GMT/UTC.
- Choose the Time Zone you live in from the list.
- If you run Windows and FreeBSD on the same machine, and want the right
time on both of them, choose local time, and set the CMOS clock
appropriately.

I don't know about authoritative but all the machines in my network tell
the right time, also when DST changes occur.

You should use a Stratum 2/3 time server via ntp to keep your time upto
date if you worry about the odd second or two (CMOS clocks are
notoriously bad at keeping the time).

The situation is more complex in Linux, but since this is a FreeBSD
forum

-- 
Regards
   Cliff Sarginson 
   The Netherlands

[ This mail has been checked as virus-free ]

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



Printing to network printer?

2002-12-11 Thread Thomas Connolly
Hello all,
I am trying to print from my FreeBSD box to an HP Laser Jet 5 attached 
to a Windows 2000 Server machine.  Can someone direct me to some 
information on how to do this?  I'm a newb so very basic info would be 
best.  I have Samba installed and working on my FreeBSD machine.

Thanks,

Thomas Connolly



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


Eat pizza and lose weight?

2002-12-11 Thread hilur
Hi,

If you're like me, you've tried EVERYTHING to lose
weight.  I know how you feel - the special diets,
miracle pills, and fancy exercise equipment never helped
me lose a pound either.  It seemed like the harder I tried,
the bigger I got, until I heard about a product called
Power Diet Plus.

You're probably thinking to yourself, Oh geez, not another
miracle diet pill!  Like you, I was skeptical at first, but 
my sister swore it helped her lose 23 pounds in just two weeks, 
so I told her I'd give it a shot.  I mean, there was nothing 
to lose except a lot of weight!  Let me tell you, it was
the best decision I've ever made. Period.  Six months later,
as I'm writing this message to you, I've gone from 355 pounds
to 210 pounds, and I haven't changed my exercise routine or diet
at all.  Yes, I still eat pizza, and lots of it!

I was so happy with the results that I contacted the manufacturer
and got permission to resell it - at a BIG discount.  I want
to help other people lose weight like I did, because it
does so much for your self-esteem, not to mention your health.
I give you my personal pledge that Power Diet Plus
absolutely WILL WORK FOR YOU.  If it doesn't, you can return it
any time for a full refund.

If you are frustrated with trying other products, not having 
any success, and just not getting the results you were promised,
then I recommend the only product that worked for me - POWER DIET
PLUS.

You're probably asking yourself, Ok, so how does this stuff
actually work?

Power Diet Plus contains Lipotropic fat burners which are 
scientifically proven to increase metabolism and cause rapid 
weight loss. No hocus pocus in these pills - just RESULTS, RESULTS, 
RESULTS!! 

Here is the bottom line ...

I can help you lose 10-15 pounds per week naturally, without
exercising and without having to eat rice cakes all day.  
Just try it for one month - there's nothing to lose, and everything 
to gain.  You will lose weight fast - GUARANTEED.  That is my
pledge to you.  

To order Power Diet Plus on our secure server, just click
on the link below:

http://www.cbphost.net/webuser/qse/powerorder.htm

If our main site is unavailable, please use our mirror site
below:
http://coprohgh.diy.163.com/images/powerorder.htm

To see what some of our customers have said about this product, 
visit http://coprohgh.diy.163.com/images/testimonials.htm

To see a list of ingredients and for more information
on test studies and how it will help you lose weight, visit 
http://coprohgh.diy.163.com/images/howitworks.htm

{%rand%}
7521KmQt1-716dyjf1269RlBE4-721GvOx9472BVeX1-887ihCK549l51

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



Enlarging partition?

2002-12-11 Thread Tyler Eaves
Hi all, got another question for you.
This machine previously had a linux install on it, and before I installed
4.7-RELASE, I made a 14GB parition on the drive to act a temporary 'backup'
of stuff I wanted to save. I then installed FreeBSD where the linux install
has previously been. I then copied the data into the FreeBSD install, and
deleted the temp 14GB partition. As my disk isn't that huge (40GB) I'd
really like to have my 14GB back. 'growfs' seems to be what I want, but
that's cryptic and confusing. Working with partitions has never been my
strong point, so that's why I'm asking for help.

Some information that might be helpful:

fdisk output:
su-2.05b# fdisk ad1
*** Working on device /dev/ad1 ***
parameters extracted from in-core disklabel are:
cylinders=4865 heads=255 sectors/track=63 (16065 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=4865 heads=255 sectors/track=63 (16065 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
start 63, size 47102517 (22999 Meg), flag 80 (active)
beg: cyl 0/ head 1/ sector 1;
end: cyl 1023/ head 254/ sector 63
The data for partition 2 is:
UNUSED
The data for partition 3 is:
UNUSED
The data for partition 4 is:
UNUSED




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



Re: problems 'make'ing ports

2002-12-11 Thread Kris Kennaway
On Wed, Oct 16, 2002 at 09:01:18PM -0700, Nick Jennings wrote:

  When I build ports I often get really lame errors like
  'Unknown character /' in some source file. What it turns out to be
  is a comment, like:
 
   // This is a comment.

  CFLAGS= -O -pipe -Wall -ansi

-ansi means enforce ANSI C compliance.  '//' is not a legal ANSI C
construct.  Just remove it from CFLAGS.

Kris



msg11811/pgp0.pgp
Description: PGP signature


Re: BIND9 port

2002-12-11 Thread Matthew Seaman
On Wed, Dec 11, 2002 at 03:34:10PM -0500, Kliment Andreev wrote:
  Unfortuantely it didn't tell me where it expects the namedb dir to be, it
  didn't put a startup script in /usr/local/etc/rc.d like other ports do..
  Is this normal?
  
  Should I just create my own and wing it?
 
 Put the following in /etc/rc.conf
 
 # DNS server   
 named_enable=YES
 named_program=/usr/sbin/named
 named_flags=-u bind -g bind
 
 There is no need for startup script.

Mostly right, although bind9 doesn't like the '-g' flag, and the port
will install it into /usr/local/sbin and you'll probably want to
explicitly define where the named.conf file is:

named_enable=YES
named_program=/usr/local/sbin/named
named_flags=-u bind -c /etc/namedb/named.conf

Cheers,

Matthew

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

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



Wireless Sniffing/Auditing (Kismet)

2002-12-11 Thread Mike Hogsett

I just acquired a Libretto 70.  FreeBSD installed wonderfully onto it
Thanks Guys!.

I would like to set this box up as a wireless auditing box.  Does Kismet
work on FreeBSD?  Are there other tools that people would recommend?

Thanks

 - Mike Hogsett

 

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



Áàçû ýëåêòðîííûõ àäðåñîâ

2002-12-11 Thread Áàçû ýëåêòðîííûõ àäðåñîâ
Ïðåäëàãàþ êîìïàêò-äèñê ñ áàçàìè e-mail àäðåñîâ. Äèñê ñîäåðæèò ñëåäóþùèå áàçû :

1)ÌÎÑÊÂÀ 2002
- ïîðÿäêà 200.000 e-mail àäðåñîâ ïðåäïðèÿòèé ã.Ìîñêâû (åñòü äåëåíèå íà ðóáðèêè, 
ñ óêàçàíèåì íàçâàíèÿ îðãàíèçàöèè, ôàêòè÷åñêîãî àäðåñà, òåëåôîíà, ôàêñà, ÔÈÎ äèðåêòîðà, 
e-mail). 
Ñîáðàíû ïî ìàòåðèàëàì 18 ðàçëè÷íûõ ñïðàâî÷íèêîâ.
- ïîðÿäêà 1.000.000 ôèçè÷åñêèõ ëèö ã. Ìîñêâû (äåëåíèå ïî äîìåíàì)

2)ÐÎÑÑÈß 2002 
- ïîðÿäêà 300.000 e-mail àäðåñîâ ïðåäïðèÿòèé Ðîññèè (åñòü äåëåíèå íà ãîðîäà, ñ 
íàçâàíèÿìè, 
ñ óêàçàíèåì ñôåðû äåÿòåëüíîñòè), â òîì ÷èñëå ñïåöèàëèçèðîâàííûå ïî îòðàñëÿì òîïëèâî, 
áàíêè, çåðíî, ìåòàëë, ñòðîèòåëüñòâî.
- ïîðÿäêà 650.000 e-mail àäðåñîâ Ðîññèè (äåëåíèå íà ãîðîäà ïîðÿäêà 70 ãîðîäîâ) 
ïðèñóòñòâóþò äîìåíû òîëüêî èç çîíû *.ru, òàêèå êàê samara.ru, e-burg.ru, bryansk.ru, 
omsk.ru è ò.ä. 50% þð.ëèöà
- ïîðÿäêà 4.000.000 e-mail àäðåñîâ ôèçè÷åñêèõ ëèö Ðîññèè
- ïîðÿäêà 220.000 e-mail àäðåñîâ ïî âñåé Ðîññèè îêîëî 90% þð. ëèö, 
îòîáðàíû ïî ôîðìàëüíûì ïðèçíàêàì info@*.ru, *bank*@*.ru, *stroy*@*.ru è ò.ä., òîëüêî 
ðóíåòîâñêèå äîìåíû (*.ru).

3)ÑÍÃ 2002
- áîëåå 10.000 Áåëîðóññêèõ e-mail àäðåñîâ
- áîëåå 8.000 Êàçàõñòàíñêèõ e-mail àäðåñîâ   
- áîëåå 230.000 Óêðàèíñêèõ e-mail àäðåñîâ 
- áîëåå 17.000 ïðîìûøëåííûõ ïðåäïðèÿòèé ÑÍà (âêëþ÷àåò e-mail, íàçâàíèå, îòðàñëü)
- ïîðÿäêà 5.000.000 àäðåñîâ ïî âñåé Ðîññèè è ÑÍÃ

4)ÅÂÐÎÏÀ 2002
- ïîðÿäêà 30.000 e-mail àäðåñîâ þð.ëèö Åâðîïû
- ïîðÿäêà 7.000 e-mail àäðåñîâ Ãåðìàíèè 

5)ÂÅÑÜ ÌÈÐ 2002
-ïîðÿäêà 33.000.000 e-mail àäðåñîâ ïî âñåìó ìèðó ~60% ÑØÀ.

6)ÌÎÑÊÂÀ FAX 2002

- 67700 íîìåðîâ ôàêñîâ  þðèäè÷åñêèõ ëèö ã. Ìîñêâû, ñ ñàìûì ïîäðîáíûì ðóáðèêàòîðîì 
(1600 ïîäðóáðèê), êîìïëåêòîâàëàñü èç àäðåñíî-òåëåôîííûõ ñïðàâî÷íèêîâ çà 2002 ã., 

À òàêæå 12 ïðîãðàìì äëÿ ðàññûëêè ïî e-mail àäðåñàì + ïðîãðàììà äëÿ ðàññûëêè 
ôàêñ-ñîîáùåíèé.
Ïðîãðàììû êîìïëåêòóþòñÿ íàãëÿäíûìè ãðàôè÷åñêèìè ïîøàãîâûìè èíñòðóêöèÿìè íà ðóññêîì 
ÿçûêå.
Òàêæå íà äèñêå ïðåäñòàâëåíî ðóêîâîäñòâî äëÿ îòïðàâêè ñîîáùåíèé áîëüøîìó êîëè÷åñòâó 
ïîëó÷àòåëåé, 
ãäå îïèñàíû ïðîáëåìû, ñâÿçàííûå ñ ðàññûëêîé è ïóòè èõ ðåøåíèÿ.
+ îêîëî 40 ïðîãðàìì è óòèëèò äëÿ ñáîðà è ñîðòèðîâêè ýë. àäðåñîâ, ïðîâåðêè è 
+ñêàíèðîâàíèÿ socks è smtp ñåðâåðîâ. Áîëüøèíñòâî ïðîãðàìì èìååò îïèñàíèå íà ðóññêîì 
+ÿçûêå.

Ñòîèìîñòü âñåãî êîìïëåêòà (âñå âêëþ÷åíî) = 1000 ðóáëåé. Ïî ÷àñòÿì íå ïðîäàåòñÿ.

Çàèíòåðåñîâàëî-ïèøèòå íà àäðåñ [EMAIL PROTECTED]

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



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

2002-12-11 Thread Stephen Hoover
I was hoping someone could help me with this. I've joined the maildrop
list, but not much traffic on that list, no help so far.

I am trying to compile maildrop from sources with mysql support. When I
execute a make, I receive this error:

Compiling varlist.C
g++  -g -O2 -I./../rfc822 -I./../rfc2045 -I.. -I./.. -Wall-o
maildrop  deliver.o deliverdotlock.o  dotlockmaildrop.o filelock.o
filter.oformatmbox.o globaltimer.o lexer.o  log.o maildir.o main.o
message.o messageinfo.o pipefds.o  re.o recipe.o recipenode.o
recipeparse.o reeval.o  rematch.o  rematchmsg.o rematchstr.o search.o
token.o varlist.o libmdcommon.a ../rfc822/librfc822.a
../maildir/libmaildir.a ../numlib/libnumlib.a
liblock/liblock.a -lmysqlclient -lz
/usr/libexec/elf/ld: cannot find -lmysqlclient
*** Error code 1

Stop in /root/maildrop-1.5.0/maildrop.
*** Error code 1

Stop in /root/maildrop-1.5.0/maildrop.
*** Error code 1

Stop in /root/maildrop-1.5.0.



I have MySQL 3.23.49 compiled from ports. The libs are in
/usr/local/lib/mysql.
Any help appreciated, I realize this is not a maildrop list, just hoping
someone else had some across this.

Thanks!

Stephen Hoover
Dallas, Texas


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



Re: signal 12 error means?

2002-12-11 Thread Kris Kennaway
On Wed, Dec 11, 2002 at 12:40:52AM -0500, David Banning wrote:
 I got this error installing both netscape48-navigator and 
 netscape48-communicator. Does anyone know what the catch is?
 
 ===   linux-netscape-communicator-4.8 depends on file: 
/compat/linux/etc/redhat-release - found
 /bin/mkdir -p /usr/local/lib/netscape-linux/java/classes
 for i in 
/usr/ports/www/netscape48-communicator/work/communicator-v48.x86-unknown-linux2.2/*.nif;
 do  /usr/bin/gzip -nf -9 -dc ${i} | /usr/bin/tar -xf - -C 
/usr/local/lib/netscape-linux;  done
 install -C -o root -g wheel -m 444 
/usr/ports/www/netscape48-communicator/work/communicator-v48.x86-unknown-linux2.2/*.jar
 /usr/local/lib/netscape-linux/java/classes
 install -C  -o root -g wheel -m 555 
/usr/ports/www/netscape48-communicator/work/communicator-v48.x86-unknown-linux2.2/vreg
 /usr/local/lib/netscape-linux
 
/usr/ports/www/netscape48-communicator/work/communicator-v48.x86-unknown-linux2.2/vreg
 /usr/local/lib/netscape-linux/registry 
/usr/ports/www/netscape48-communicator/work/communicator-v48.x86-unknown-linux2.2/infile
 *** Signal 12

Do you have the linux kernel module loaded (or compiled in to your
kernel)?

Kris



msg11816/pgp0.pgp
Description: PGP signature


Re: Max RAM usage

2002-12-11 Thread Kris Kennaway
On Wed, Dec 11, 2002 at 10:39:55AM -0800, Brian wrote:
 I didnt think fbsd's smp capabilities were more than primitive, Linux or
 Solaris perhaps??

It depends on what you want to use it for.  CPU-intensive tasks will
work well on FreeBSD SMP.

Kris



msg11817/pgp0.pgp
Description: PGP signature


Re: signal 12 error means?

2002-12-11 Thread David Banning
On Wed, Dec 11, 2002 at 01:37:31PM -0800, Kris Kennaway wrote:
 On Wed, Dec 11, 2002 at 12:40:52AM -0500, David Banning wrote:
  I got this error installing both netscape48-navigator and 
  netscape48-communicator. Does anyone know what the catch is?
  
  ===   linux-netscape-communicator-4.8 depends on file: 
/compat/linux/etc/redhat-release - found
  /bin/mkdir -p /usr/local/lib/netscape-linux/java/classes
  for i in 
/usr/ports/www/netscape48-communicator/work/communicator-v48.x86-unknown-linux2.2/*.nif;
 do  /usr/bin/gzip -nf -9 -dc ${i} | /usr/bin/tar -xf - -C 
/usr/local/lib/netscape-linux;  done
  install -C -o root -g wheel -m 444 
/usr/ports/www/netscape48-communicator/work/communicator-v48.x86-unknown-linux2.2/*.jar
 /usr/local/lib/netscape-linux/java/classes
  install -C  -o root -g wheel -m 555 
/usr/ports/www/netscape48-communicator/work/communicator-v48.x86-unknown-linux2.2/vreg
 /usr/local/lib/netscape-linux
  
/usr/ports/www/netscape48-communicator/work/communicator-v48.x86-unknown-linux2.2/vreg
 /usr/local/lib/netscape-linux/registry 
/usr/ports/www/netscape48-communicator/work/communicator-v48.x86-unknown-linux2.2/infile
  *** Signal 12
 
 Do you have the linux kernel module loaded (or compiled in to your
 kernel)?

bash-2.03$ kldstat
Id Refs AddressSize Name
 17 0xc010 40ee08   kernel
 22 0xc1367000 a000 ibcs2.ko
 31 0xc1374000 3000 ibcs2_coff.ko
 42 0xc1379000 14000linux.ko
 51 0xc13a8000 3000 streams.ko
 61 0xc13ab000 15000svr4.ko
 71 0xc13d6000 2000 rtc.ko
bash-2.03$ 


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



Sysinstall packages and 'Release Name'

2002-12-11 Thread Clint Olsen
So, I've manually upgraded to 4.7-RELEASE-p1, and now I am unable to
install any packages since this isn't a default media tag on the FTP site
(or is it?).  I've set my options media to 'any' to attempt to get around
this problem.  So, what's the skinny here?

Thanks,

-Clint

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



Re: Problems with X

2002-12-11 Thread Greg 'groggy' Lehey
On Wednesday, 11 December 2002 at 11:04:22 -0500, Tyler Eaves wrote:
 On Wednesday 11 December 2002 02:03, you wrote:
 After adding DefaultDepth you can remove all modes you
 don't need.

 ___
 Mail me: [EMAIL PROTECTED]
 From Applied Math  Informatics fac.
 Volzhsky Institute of Humanitaries

 UNfortunately, after taking the suggested steps, I'm still at
 1600x1200.

Take a look at /var/log/XFree86.0.log.  If you don't find anything
obvious there, post it to the list.

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

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



Re: Problems with X

2002-12-11 Thread Tyler Eaves
On Wednesday 11 December 2002 17:58, you wrote:
 On Wednesday, 11 December 2002 at 11:04:22 -0500, Tyler Eaves wrote:
  On Wednesday 11 December 2002 02:03, you wrote:
  After adding DefaultDepth you can remove all modes you
  don't need.
 
  ___
  Mail me: [EMAIL PROTECTED]
  From Applied Math  Informatics fac.
  Volzhsky Institute of Humanitaries
 
  UNfortunately, after taking the suggested steps, I'm still at
  1600x1200.

 Take a look at /var/log/XFree86.0.log.  If you don't find anything
 obvious there, post it to the list.

 Greg

Thanks! That got me looking in the right direction. The problem was there were 
specified sync rates in XF86Config, and they were invalid, causing X to fall 
back on the it's probed list of modes, of which 1600x1200 was the first.


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



Re: port upgrade method question

2002-12-11 Thread Darren Shepard
On Wed, Dec 11, 2002 at 09:07:40AM -0500,
   John Bleichert [EMAIL PROTECTED] writes:

| I've CVSup'd my system and my ports tree (ports-all). Now I'm using 
| 
| # pkg_version -v
| 
| to see which installed ports have an upgrade available. Working with this 
| info, I go into each port I wish to upgrade and
| 
| # portupgrade -R port-name
| 
| I can't do a
| 
| # portupgrade -aR
| 
| as I can't leave Thinkpad up and running in one place long enough to build 
| all of them.
|
| I'm iteratively using the steps above to upgrade my ports tree. Is there a 
| better/different way? Am I skipping any steps? Since I'm upgrading one 
| port at a time, do I need to run portsdb? Also, I see references in the 
| archives to 

FWIW, I do something like the following:

  1. `portversion -l '' -c  /tmp/portup.sh'
  2. edit /tmp/portup.sh to taste
  3. `/bin/sh /tmp/portup.sh'

| # cd /usr/ports
| # make index
| 
| Do I need to do this? Everything seems to be working well, I'm just 
| wondering if my method is proper.
| 
| Thanks - JB

I think portsdb(1) answers your INDEX questions:

 The portsdb command is a tool to generates the ports database named
 INDEX.db from the ports index file named INDEX.  It is commonly used
 among the tool suite and automatically updated on demand when it gets
 older than the index file.  To save time, you can update it beforehand,
 like right after the index file is updated.  In addition, considering
 that the INDEX file often gets outdated because it is updated only once 
 a week or so in the official ports tree, it is recommended that you run
 ``portsdb -Uu'' after every CVSup of the ports tree in order to keep 
 them always up-to-date and in sync with the ports tree.

-- 
yours in haste, |   http://darren.shepard.org/pubkey.txt
Darren Shepard  | 96D1FB7946171A06BA508FD8E16D6F5F31F0A7D2

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



[no subject]

2002-12-11 Thread Lorin Lund
which [EMAIL PROTECTED]
which [EMAIL PROTECTED]
which [EMAIL PROTECTED]
which [EMAIL PROTECTED]



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



Multiple Gateways/Load Balancing?

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

Thanks!

Octavian

-
This mail sent through IMP: http://horde.org/imp/

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



Re: portupgrade missing origin: how to fix??

2002-12-11 Thread Darren Shepard
On Tue, Dec 10, 2002 at 11:32:05AM -0800,
   paul beard [EMAIL PROTECTED] writes:

| I have some perl modules I installed with cpan and portupgrade 
| always kicks back these errors: I'm not clear on how to fix the 
| missing origin stuff. Anyone got the clue-by-four for me?
| 
| !  (bsdpan-Net-Telnet-3.03) (missing origin)
| !  (bsdpan-libwww-perl-5.65)(missing origin)
| !  (bsdpan-HTML-Parser-3.26)(missing origin)
| !  (bsdpan-Archive-Tar-0.22)(missing origin)
| !  (bsdpan-XML-Parser-2.31) (missing origin)
| !  (bsdpan-Term-ReadLine-Perl-1.0203)   (missing origin)
| !  (bsdpan-URI-1.22)(missing origin)
| !  (bsdpan-Compress-Zlib-1.19)  (missing origin)
| !  (bsdpan-HTML-Tagset-3.03)(missing origin)
| !  (bsdpan-CPAN-WAIT-0.27)  (missing origin)
| !  (bsdpan-CPAN-1.63)   (missing origin)
| 
| -- 
| Paul Beard: seeking UNIX/internet engineering work
| in Seattle area. Details available below:
|   http://paulbeard.no-ip.org/paulbeard.html

Correct me if I'm wrong, but these packages have ``missing
origins'' because they were installed through cpan, rather 
then through ports, thusly pkgdb is confused as to where
they came from.  You could probably suppress these warnings
by running `pkgdb -F' and manually selecting the origin for 
each orphaned port, e.g. give bsdpan-Net-Telnet an origin of 
/usr/ports/net/p5-Net-Telnet/ .  However its not clear that
this is the correct thing to do -- doing so may only get you 
into future trouble.  Also, consider that this only works for 
those cpan modules which have a place in the ports system
(many do not).  Personally I would ignore (and do) such 
warnings as they aren't critical. 

-- 
yours in haste, |   http://darren.shepard.org/pubkey.txt
Darren Shepard  | 96D1FB7946171A06BA508FD8E16D6F5F31F0A7D2

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



windows vs linux/unix ftp question

2002-12-11 Thread default
hello,

i have freebsd setup as a server with the normal ftpd running on it. i have
been using it for quite a while but someone has just brought to my attention
that one cannot list directories when ftping from a linux box. i duplicated
this problem using both gftp and ncftp, but have no problem using ftp from
my windows machine.

i do have a firewall setup, but i have had it set to allow ftp for a long
time, and recently tried disabling the firewall for a test, and found that I
still could not list the directories from the linux machine with the
firewall down.

i have read some discussion about pasv/active ftp problems, but i have also
heard that freebsd ftpd allows both ...

i've done alot of web searches now and i'm feeling stumped. anyone have any
ideas?

thanks alot

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



Soundblaster Live troubles

2002-12-11 Thread Tyler Eaves
I'm having problems with my SB Live card.

The problem is I can't seem to have more than one program play sound at once. 
So if I'm say, playing some oggs in XMMS, then an alert sound plays, bad 
stuff happens.

So far bad stuff has inclueded:

1. Loud static
2. Loss of sound until reboot
3. Kernel panics


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



Re: Soundblaster Live troubles

2002-12-11 Thread John Bleichert
On Wed, 11 Dec 2002, Tyler Eaves wrote:
 Subject: Soundblaster Live troubles
 
 I'm having problems with my SB Live card.
 
 The problem is I can't seem to have more than one program play sound at once. 
 So if I'm say, playing some oggs in XMMS, then an alert sound plays, bad 
 stuff happens.
 
 So far bad stuff has inclueded:
 
 1. Loud static
 2. Loss of sound until reboot
 3. Kernel panics
 

For what it's worth, I can 'play' multiple streams on my sblive! with 
ease, but I can't play *and* record at the same time, which is 
unfortunate. No kernel panics or bad behavior, it just doesnt work. 
However I can play lots of audio streams at the same time. Exactly which 
model sblive! is yours?

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


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



PCMCIA device timeouts

2002-12-11 Thread Mike Hogsett

Greetings,

I installed FreeBSD (4.7) on a laptop today.  I did a network install
using a LinkSys PCMPC100 (shows up as ed1).  Install was flawless.
Rebooted the machine, performed some additional port installs (over the
network) and did a cvsup to RELENG_4_7.  Everything was fine.  I shutdown
the machine and brought it home.

Now I am getting messages such as :

/kernel: ed1: device timeout

I also get a similar messages if I stick in my Cisco Aironet 350 PCMCIA
wireless card.

It is not able to arp for its gateway.  tcpdump shows no traffic at all.
(except originating from this host if I try a ping).

The LinkSys card shows link, but its activity light is on solid.  I have
tried both PCMCIA slots.

Any suggestions greatly appreciated.

 - Mike

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



(still) Having trouble compiling OO

2002-12-11 Thread Scott I. Remick
Ok, STILL trying to get OpenOffice to compile on this one machine (4.7-REL,
cvsup'ed ports). Following another suggestion, I removed gcc 3.1, pruned all
my /usr/ports/*/*/work files, cvsup'ed ports, and tried again.  Now I'm
getting a new sort of error/msg that I've never seen before and I'm not sure
how to proceed. Due to the fact that the compile takes SOOO long to get to
this point, I'm leaving it there until I can get some insight. Here's the
tail end:

COPY: ../unxfbsd.pro/inc/internal/ftdriver.h -
/usr/ports/editors/openoffice/work/oo_1.0.1_src/solver/641/unxfbsd.pro/inc/freetype/internal/ftdriver.h
COPY: ../unxfbsd.pro/inc/internal/ftobjs.h -
/usr/ports/editors/openoffice/work/oo_1.0.1_src/solver/641/unxfbsd.pro/inc/freetype/internal/ftobjs.h
COPY: ../unxfbsd.pro/lib/libfreetype.so.7 -
/usr/ports/editors/openoffice/work/oo_1.0.1_src/solver/641/unxfbsd.pro/lib/libfreetype.so.7
COPY: ../unxfbsd.pro/lib/libfreetype.a -
/usr/ports/editors/openoffice/work/oo_1.0.1_src/solver/641/unxfbsd.pro/lib/libfreetype.a
Statistics:
Files copied: 49
Files unchanged/not matching: 5

=
Building project stlport
=
/usr/ports/editors/openoffice/work/oo_1.0.1_src/stlport
-
cd ./unxfbsd.pro/misc/build  cat ../../../STLport-4.5.patch | patch  -p2
 touch so_patched
Hmm...  Looks like a new-style context diff to me...
The text leading up to this was:
--
|*** misc/STLport-4.5/src/fstream.cpp   Tue Sep  4 19:10:12 2001
|--- misc/build/STLport-4.5/src/fstream.cpp Fri Jan 11 17:22:40 2002
--
Patching file STLport-4.5/src/fstream.cpp using Plan A...
Reversed (or previously applied) patch detected!  Assume -R? [y] 




=
Scott I. Remick   --==--   ICQ: 450152 
Save the internet - Use Mozilla: http://home.adelphia.net/~sremick/mozilla/
Voici mon secret. Il est tres simple: on ne voit bien qu'avec le coeur. L'essentiel 
est invisible pour les yeux.
No trees were harmed in the composition of this message, although some
electrons were mildly inconvenienced.

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



Re: port upgrade method question

2002-12-11 Thread John Bleichert
On Wed, 11 Dec 2002, Darren Shepard wrote:
 Subject: Re: port upgrade method question
 On Wed, Dec 11, 2002 at 09:07:40AM -0500,
John Bleichert [EMAIL PROTECTED] writes:
 
 | I've CVSup'd my system and my ports tree (ports-all). Now I'm using 
 | 
 | # pkg_version -v
 | 
 | to see which installed ports have an upgrade available. Working with this 
 | info, I go into each port I wish to upgrade and
 | 
 | # portupgrade -R port-name
 | 
 | I can't do a
 | 
 | # portupgrade -aR
 | 
 | as I can't leave Thinkpad up and running in one place long enough to build 
 | all of them.
 |
 | I'm iteratively using the steps above to upgrade my ports tree. Is there a 
 | better/different way? Am I skipping any steps? Since I'm upgrading one 
 | port at a time, do I need to run portsdb? Also, I see references in the 
 | archives to 
 
 FWIW, I do something like the following:
 
   1. `portversion -l '' -c  /tmp/portup.sh'
   2. edit /tmp/portup.sh to taste
   3. `/bin/sh /tmp/portup.sh'

Thanks for the pointer. I was fiddling with this tactic on my workstation 
at home which has a great deal more ports installed than my laptop.

 
 | # cd /usr/ports
 | # make index
 | 
 | Do I need to do this? Everything seems to be working well, I'm just 
 | wondering if my method is proper.
 | 
 | Thanks - JB
 
 I think portsdb(1) answers your INDEX questions:
 
snip

Yes, it does. Thanks. I'm slowly putting all the pieces of staying current 
with a large ports tree together. For now, I'm dealing with past mistakes 
and their results, such as this:

root:~  pkg_info | grep qt
qt-3.0.5_3  A C++ X GUI toolkit
qt-3.0.5_5  A C++ X GUI toolkit
root:~  pkg_info -R qt-3.0.5_3
Information for qt-3.0.5_3:

Required by:
kdebase-3.0.5
kdelibs-3.0.5_1


root:~  pkg_info -R qt-3.0.5_5
Information for qt-3.0.5_5:

Required by:
arts-1.0.4,1
kdebase-3.0.5
kdegames-3.0.4
kdegraphics-3.0.4
kdelibs-3.0.5_1
kdemultimedia-3.0.4
kdeutils-3.0.4_1
koffice-1.2,1
kstars-0.9

Odd that kdebase and kdelibs require qt-3.0.5_3 *and* qt-3.0.5_5. I wonder 
if this is a result of me climbing the learning curve, or an anomaly in 
the kde dependencies? Does this discussion belong on freebsd-ports? 
Doesn't seem like it.

Thanks for the pointers!

JB

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


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



Re: PCMCIA device timeouts

2002-12-11 Thread Mike Hogsett

 
 Greetings,
 
 I installed FreeBSD (4.7) on a laptop today.  I did a network install
 using a LinkSys PCMPC100 (shows up as ed1).  Install was flawless.
 Rebooted the machine, performed some additional port installs (over the
 network) and did a cvsup to RELENG_4_7.  Everything was fine.  I shutdown
 the machine and brought it home.
 
 Now I am getting messages such as :
 
 /kernel: ed1: device timeout
 
 I also get a similar messages if I stick in my Cisco Aironet 350 PCMCIA
 wireless card.
 
 It is not able to arp for its gateway.  tcpdump shows no traffic at all.

Although packets are leaving the interface.  If I run tcpdump on my main
box, and run a ping from the laptop I see both the echo request and reply
from the main box, but the laptop does not see them.

 (except originating from this host if I try a ping).
 
 The LinkSys card shows link, but its activity light is on solid.  I have
 tried both PCMCIA slots.
 
 Any suggestions greatly appreciated.
 
  - Mike
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message








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



are virtual mail account users possible with sendmail on freebsd

2002-12-11 Thread Keith Spencer
Hi all,
I am wondering how I can add mail acocunts without
actually creating full-blown user accounts for my lan
users.
I have sendmail on fbsd 4.7 (new build machine and I
dont want to create shell accnts for all my users on
this new machine)
Whatever help you might give me perhaps I can use
webmin to add the new users... I have 600 users to
add.
Whoa...thats a lot of work..HELP???!!
Thanks so much in adavnce
Keith

http://greetings.yahoo.com.au - Yahoo! Greetings
- Send your seasons greetings online this year!

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



Re: port upgrade method question

2002-12-11 Thread Kent Stewart
On Wednesday 11 December 2002 07:22 pm, John Bleichert wrote:
 On Wed, 11 Dec 2002, Darren Shepard wrote:
  Subject: Re: port upgrade method question
  On Wed, Dec 11, 2002 at 09:07:40AM -0500,
 
 John Bleichert [EMAIL PROTECTED] writes:
  | I've CVSup'd my system and my ports tree (ports-all). Now I'm
  | using
  |
  | # pkg_version -v
  |
  | to see which installed ports have an upgrade available. Working
  | with this info, I go into each port I wish to upgrade and
  |
  | # portupgrade -R port-name
  |
  | I can't do a
  |
  | # portupgrade -aR
  |
  | as I can't leave Thinkpad up and running in one place long
  | enough to build all of them.
  |
  | I'm iteratively using the steps above to upgrade my ports tree.
  | Is there a better/different way? Am I skipping any steps? Since
  | I'm upgrading one port at a time, do I need to run portsdb?
  | Also, I see references in the archives to
 
  FWIW, I do something like the following:
 
1. `portversion -l '' -c  /tmp/portup.sh'
2. edit /tmp/portup.sh to taste
3. `/bin/sh /tmp/portup.sh'

 Thanks for the pointer. I was fiddling with this tactic on my
 workstation at home which has a great deal more ports installed
 than my laptop.

  | # cd /usr/ports
  | # make index
  |
  | Do I need to do this? Everything seems to be working well, I'm
  | just wondering if my method is proper.
  |
  | Thanks - JB
 
  I think portsdb(1) answers your INDEX questions:

 snip

 Yes, it does. Thanks. I'm slowly putting all the pieces of staying
 current with a large ports tree together. For now, I'm dealing with
 past mistakes and their results, such as this:

 root:~  pkg_info | grep qt
 qt-3.0.5_3  A C++ X GUI toolkit
 qt-3.0.5_5  A C++ X GUI toolkit
 root:~  pkg_info -R qt-3.0.5_3
 Information for qt-3.0.5_3:

 Required by:
 kdebase-3.0.5
 kdelibs-3.0.5_1


 root:~  pkg_info -R qt-3.0.5_5
 Information for qt-3.0.5_5:

 Required by:
 arts-1.0.4,1
 kdebase-3.0.5
 kdegames-3.0.4
 kdegraphics-3.0.4
 kdelibs-3.0.5_1
 kdemultimedia-3.0.4
 kdeutils-3.0.4_1
 koffice-1.2,1
 kstars-0.9

 Odd that kdebase and kdelibs require qt-3.0.5_3 *and* qt-3.0.5_5. I
 wonder if this is a result of me climbing the learning curve, or an
 anomaly in the kde dependencies? Does this discussion belong on
 freebsd-ports? Doesn't seem like it.

There isn't anything broken with that port, so it doesn't belong on 
-ports. It is a user port installation question and belongs on 
-questions. 

You have somehow installed both of them. You need to have portupgrade 
installed and then run pkgdb -F and let it delete the old 
dependancy and keep the files. Portupgrade requires a current INDEX. 
If you have cvsuped ports-all and didn't upgrade your INDEXs, you 
will need to 

cd /usr/ports
make index
portsdb -u 

or 

portsdb -uU

Right now -U produces a large number of messages and creates an 
INDEX that is 8 ports smaller than the INDEX generated by make 
index.

Kent

Kent

 Thanks for the pointers!

 JB

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


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

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html


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



Re: Support with date command and DST issues - 4.7-RELEASE

2002-12-11 Thread Jonathan Chen
On Wed, Dec 11, 2002 at 11:30:11AM -0800, Jeff Bogari wrote:
 Please advise as to where to pursue resources on the date command,
 specifically, help or examples regarding setting (reinstating) daylight
 savings time.  Man pages have been inadequate on this sub-topic, and
 extensive web search has provided only anecdotal information.

All you have to do is to choose the right city via tzsetup(8). The system
handles daylight-savings transitions all by itself.
-- 
Jonathan Chen [EMAIL PROTECTED]
--
  Build a man a fire, and he'll be warm for a day.
Set a man on fire, and he'll be warm for the rest of his life.

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



**Your XMAS CASH Approval 0334GeBA0-925I-13

2002-12-11 Thread aamericanlimousinesls018
html

head
titleNew Page 1/title
meta name=GENERATOR content=Microsoft FrontPage 3.0
/head

body

p align=centerfont color=#FFbigstrongbigbiguSPECIAL CHRISTMAS 
OFFER/u/big/big/strong/big/font/p

p align=centernbsp;/p

p align=centerbigstrongubigbigfont color=#FF*You 
/font/big/bigfont
color=#008040Are/fontfont color=#FFnbsp; /fontfont 
color=#0080FFApproved*/font/u/strong/big/p

p align=centernbsp;/p

p align=centerbigbigbigstrongGet your:/strongem 
/em/big/big/bigfont
color=#0080FFstronguE-Znbsp; 'Low Interest Rate Auto 
Loan/u/strong/font/p

p align=centerfont color=#0080FFstronguN-O-W/u/strong/font/p

p align=centerfont color=#00stronguA-N-D/u/strong/font/p

p align=centernbsp;/p

p align=centerufont color=#0080FFbigbig*Get Your FREE Family Vacation 
for up
to 4 travelers To Exotix Destinations Like Hawaii, Orlando. The 
Bahamamas/big/big/font/u/p

p align=centerP-L-U-S GET UP-TO/p

p align=centerufont color=#0080FFbigbig$7,OOO Christmas Cash Back amp;
EVERYONE QUALIFIES*/big/big/font/u/p

p align=centerA-N-D DON't MISS YOUR/p

p align=centerfont color=#0080FFbigbigstrongbig*FREE:/big/strong 
/big$5000.00VISA
CARD EVERYONE QUALIFIES*/big/font/p

p align=centernbsp;/p

p align=centerbigbigfont color=#0080FFMERRY CHRISTMAS AND A HAPPY NEW 
YEAR/font/big/big/p

p align=leftnbsp;/p

p align=leftnbsp;/p

p align=centera 
href=http://www.cbphost.net/~idc/approved.htm;strongbigfont
color=#FFbigGo Here for your loan Amounts, Vacation Package and FREE 
VISA/big/font/big/strong/a/p

p align=centernbsp;/p

p align=centernbsp;/p

p align=centernbsp;/p

p align=centernbsp;/p

p align=centernbsp;/p

p align=centernbsp;/p

p align=centernbsp;/p

p align=centernbsp;/p

p align=centernbsp;/p

p align=centernbsp;/p

p align=centernbsp;/p

p align=centernbsp;/p

p align=centera href=http://www.cbphost.net/~idc/remove.php;font 
color=#FFbigstrongFor
removal go here /strong/big/font/a/p

p align=centernbsp;/p

p align=centernbsp;/p

p align=centernbsp;/p

p align=centernbsp;/p

p align=centernbsp;/p

p align=centernbsp;/p

p align=centernbsp;/p

p align=centernbsp;/p

p align=centernbsp;/p

p align=centernbsp;/p

p align=centernbsp;/p

p align=centernbsp;/p

p align=centernbsp;/p

p align=centernbsp;/p

p align=centernbsp;/p

p align=center**Registration, shipping, handling and secure delivery of vouchers 
is
$9.95 per traveler./p

p align=centerlimit 2 travelers per voucher. Limit of 2 vouchers per Household/p

p align=center*Subject to lender guidelines see dealer for details*/p

p align=center*quot;Christmas cashbackquot; subject to lender guidelines, amount
varies, see dealer for details*/p

p align=center*free visa card up to $5000.00nbsp; subject to lender guidelines,
amount varies,/p

p align=centercontact card issuerer for detail/p

p align=centernbsp;/p

p align=centernbsp;/p

p align=centernbsp;/p

p align=centernbsp;/p

form method=POST action=--WEBBOT-SELF--
  !--webbot bot=SaveResults startspan U-File=_private/form_results.txt
  S-Format=TEXT/CSV S-Label-Fields=TRUE --!--webbot bot=SaveResults endspan 
--div
  align=center/div
/form
/body
/html

3002GLem9-508vSDZ9912LcQX7-094CNRp1478wKtx4-562jaZC145l51¡Iì¹»®Þ±éݙ¨¥¶‰šŽŠÝ¢j­çH:+ƒ­†éì¹»®Þ~·žnÇj¹ë-Š‰ìŠ{ayºʇí…鞲Ơ


Printing to HP Deskjet 820

2002-12-11 Thread Tyler Eaves
I'm trying to print to a Deskjet 820 (On /dev/lpt0, pdq, using pnm2ppa)

pdq gives the following error:

Unknown error globbing for job id.
Undefined error: 0

I know from searching the archives that serveral others have had trouble with 
this printer, so I'm seeking mainly their help, if they ever actually got it 
working.


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



Re: NoBreak (upsilon) monitoring opensource software?

2002-12-11 Thread Glenn Johnson
On Wed, Dec 11, 2002 at 01:16:23PM -0200, Mario Sergio Fujikawa Ferreira
wrote:

 Hi,

   I've just acquired a UPS compatible with upsilon 2000 software
 for Windows. I would like to know if anyone knows of a unix package
 capable of speaking the upsilon2k protocol. :)

   I would really like being able to have the NoBreak issue a
 shutdown command if the batteries were running too low.
 
   Product description:SMS Manager III 1.3KVA
   Intelligent Managing Port RS232
   Windows Software Upsilon 2000
 
   The Upsilon 2000 software is developed by Megatec
 http://www.megatec.com.tw/
 
   Unfortunaly, of course, they do not tell me of any compatible
 open source solutions. hehehe They only offered me a FreeBSD 3.x old
 software binary from 1999.

I am using that software (I think mine is actually from 1998) with a
Fenton PowerPal UPS.  You need the 3.x compat libraries installed.  It
is not fancy but gets the job done.  I can not say for sure that it
would work with your UPS however.

-- 
Glenn Johnson
[EMAIL PROTECTED]

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



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

2002-12-11 Thread Simas Cepaitis
Hello,

* Stephen Hoover ([EMAIL PROTECTED]) wrote:

 I have MySQL 3.23.49 compiled from ports. The libs are in
 /usr/local/lib/mysql.
 Any help appreciated, I realize this is not a maildrop list, just hoping
 someone else had some across this.

  What are permissions on /usr/local/lib/mysql?  Long time ago I had
  this problem, because this dir was group writable, and ldconfig
  refused group writable dirs.  Try to run
  
  # ldconfig -m /usr/local/lib/mysql

  and see what it does.


  Simas Cepaitis
  [EMAIL PROTECTED]

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



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

2002-12-11 Thread Bsd Neophyte

Alright, this is what I want to do...

I have a cable connection that uses DHCP, giving me a lease for about 2
minutes.  Usually the address stays the same, but at times it does change.
 

I want to host two domain names to start.  I also would like to have the
possiblity to host more.  I will have only one changing IP.

I also want to have subdomains.  I want each system at home to have a
subdomain based on either one of the two domain's I'll have established. 
So if I have blah.com as my primary domain, I want to be able to ssh to
yadda.blah.com from any other location.  If I want to ssh to yawn.blah.com
from any other location, it should be able to connect to that system,
eventhough they are both sharing 1 ip address through Natting.

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

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

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

Does any of this make sense?

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

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