/etc/ppp/ip-up

2005-03-17 Thread Marco Greene (ML)
Hi all,

I have found a few postings regarding the /etc/ppp/ip-up and ip-down scripts
and the fact that they do not work.  I am experiencing the same thing and I
have tried all of the hints that I found in those threads but with little
success.  I would really like to use these scripts.  Are there any hints?

-I have set the permissions to 555
-#!/bin/sh is the first line in the script

Are there any other things that I may have missed?

Note:  pppoe is setup as per the handbook with a few modifications as found
on one of the links given by the handbook.

Thanks,
Marco

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


RE: Stupid ASCII loader prompt

2005-03-17 Thread Marco Greene (ML)
Here is my 2 cents worth...Can we please stop filling our inboxes with
this

A logo...a mascot...who really cares.  If whoever put it there wants it
there, then let them put it there. 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ted Mittelstaedt
Sent: March 17, 2005 2:15 PM
To: Michael C. Shultz
Cc: freebsd-questions@freebsd.org
Subject: RE: Stupid ASCII loader prompt




 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Michael C.
 Shultz
 Sent: Thursday, March 17, 2005 8:30 AM
 To: Ted Mittelstaedt
 Cc: freebsd-questions@freebsd.org
 Subject: Re: Stupid ASCII loader prompt


 On Thursday 17 March 2005 08:01 am, you wrote:
   -Original Message-
   From: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED] Behalf Of Michael C.
   Shultz
   Sent: Thursday, March 17, 2005 7:42 AM
   To: RacerX
   Cc: freebsd-questions@freebsd.org
   Subject: Re: Stupid ASCII loader prompt
  
  
   adding my $0.02 to the pot
  
   I hope FreeBSD folks have more pride in their product than
   to allow a few malcontents cause a logo change.  If bestie goes
   AWOL so may I.  Using a product when its own designers won't
   stick by it seams unwise.
 
  It's important to understand that there's only 1 or 2 of the core
  members that have sticks up their ass about this issue.  The rest
  of them don't understand why it's necessary to waste time or labor
  on this issue.
 
  The question then becomes if your a core member, are you going to
  bother to spend time on a logo change or not?  If the 1 or 2 core
  members come up with a different logo, the rest of core probably
  isn't going to expend effort on changing the logo, and all the work
  to do this will rest on the shoulders of the 1 or 2 malcontents.
 
  What I think is going to end up happening if they do get a decent
  logo out of this contest, is that ultimately your going to see the
  new logo used in a few places here and there on the Internet, and
  your going to see beastie used at most other places.  It will simply
  present more confusion to non-FreeBSD users if it does anything at
  all.  Most likely it will do nothing at all, in the same way that
  GM for example uses multiple brands for the same iron.
 
  Ted

 We live in a day and age where it is politically incorrect to
 take pride
 in anything, and it shows.


No, not at all.  The right-wingers take lots of pride in successfully
being able to destroy ANWR for example.

More accurately, the United States has a political system that is
suceptable to control by minorities, and every once in a while the
right-wingers who are a minority in the country, manage to seize
control until cooler heads prevail.  We are in one of these times.

Don't forget the same thing happened with Prohibition.  You and I wern't
alive then, but the ultraconservative christians managed to take control
then also, and the result of that failed attempt was the Mafia.

I am afraid that a political system where the minority never gets a
chance of control is much worse than a political system where the
minority gets control every once in a while.  So enduring these periods
of time is I am afraid, one of the payments that we must make.

Also remember if you examine the core of the ultraconservative beliefs
that they do not have suppression of individual liberties in those
beliefs.  So, any time the ultraconservatives get control they cannot
help being hipocrites, and thus their movement carries with it the seeds
of it's own destruction.  Don't forget what took down Newt Gringrich.
All ultraconservatives are hipocrites when they attempt to apply their
philosophy, thus the movement carries an automatic self-limit.

Ted


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

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


RE: /etc/ppp/ip-up

2005-03-17 Thread Marco Greene (ML)
Thanks...that worked.  I just found ip-up/ip-down in the pppd man page, but
I guess that is not what I was really after for running something after a
userland connection comes up.

Thanks,
Marco

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Aftab Jahan
Subedar
Sent: March 18, 2005 3:00 AM
To: FreeBSD List
Subject: Re: /etc/ppp/ip-up


Hi Marco,
It works fine for me.
But my file name is ppp.linkup, according to man ppp
and I used the following way

MakHine# cat ppp.linkup
MYADDR:
 !bg sh -c sleep 75;/usr/local/bin/noip2 -U 59
MakHine#   

Aftab Jahan Subedar
- Kayoty 4 - Spyware detector for windows, check that out. 
http://www.tucows.com/preview/379868.html

Marco Greene (ML) wrote:

Hi all,

I have found a few postings regarding the /etc/ppp/ip-up and ip-down
scripts
and the fact that they do not work.  I am experiencing the same thing and I
have tried all of the hints that I found in those threads but with little
success.  I would really like to use these scripts.  Are there any hints?

-I have set the permissions to 555
-#!/bin/sh is the first line in the script

Are there any other things that I may have missed?

Note:  pppoe is setup as per the handbook with a few modifications as found
on one of the links given by the handbook.

Thanks,
Marco

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


  


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

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


PPPoE ip-up/ip-down

2005-03-16 Thread Marco Greene
Hi all,

I have found a few postings regarding the /etc/ppp/ip-up and ip-down scripts
and the fact that they do not work.  I am experiencing the same thing and I
have tried all of the hints that I found in those threads but with little
success.  I would really like to use these scripts.  Are there any hints?

-I have set the permissions to 555
-#!/bin/sh is the first line in the script

Are there any other things that I may have missed?

Note:  pppoe is setup as per the handbook with a few modifications as found
on one of the links given by the handbook.

Thanks,
Marco

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


RE: Question

2005-03-16 Thread Marco Greene (ML)
From the handbook

version-bootonly.iso - Everything you need to boot into a FreeBSD kernel and
start the installation interface. The installable files have to be pulled
over FTP or some other supported source. 

version-mini.iso - Everything you need to install FreeBSD. 

version-disc1.iso - Everything you need to install FreeBSD, and as many
additional third party packages as would fit on the disc. 

version-disc2.iso - A ``live filesystem'', which is used in conjunction with
the ``Repair'' facility in sysinstall. A copy of the FreeBSD CVS tree. As
many additional third party packages as would fit on the disc. 

I usually use CD1.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jonathan Farrugia
Sent: March 16, 2005 7:20 PM
To: freebsd-questions@FreeBSD.org
Subject: Question


Hi, My Name is Jonathan Farrugia and In Just Downloaded FreeBSD v5.3 from 
the following server:
ftp://ftp2.ru.freebsd.org/pub/FreeBSD/ISO-IMAGES-i386/5.3/;  and i 
downloaded disc1 and disc2,
and then i got confused cause the name of disc1 was fbsd_miniinst and the 
name of disc2 was fbsd_livefs. can you explain me what to insert first to 
install the FreeBSD operating system on an unpartitioned harddisk and what 
the other is for. thank you.



Best Regards,
  Jonathan Farrugia.

_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

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

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


Sendmail in a DMZ

2004-02-25 Thread Marco Greene (Home)
This is probably a stupid question...but I have a FreeBSD 4.9 server, which
does not have access to a DNS server.  However, I need to send mail from it.
I have a relay host setup in the same subnet which I have tested works with
telnet mailhost 25...and then giving it the sendmail commands

However, when I send mail from the host it does not go leave the local
/var/spool/clientmqueue directory and no traffic is attempted between this
host and the mailhost.  (Verified with tcpdump).

I have put an entry ns2 in my local host file and setup the define SMART
HOST in /etc/mail/freebsd.mc...then went on to run the following commands
from the /etc/mail directory:
-make all
-make install
-make restart

I confirmed the the /etc/mail/sendmail.cf file has the DS macro set to ns2
like I expected; however, when I send a mail message the maillog indicates
that the [EMAIL PROTECTED]


Any thoughts?

TIA
Marco


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


Slow creating lots of files...

2003-11-21 Thread Marco Greene (Home)
Doing some further research into my NetBackup slow restore performance...I
have noticed that if I create a lot of small filesit can take about 10
times as long as creating one big file of the same size.

With a sample set of 500MB...
Creating 500MB with of text files (about 30,000 of them) takes about 10
minutes
Creating 1 500 MB file takes about 1 minute.
Restoring 1 500MB file takes about 1 minute or so...a little more to allow
the robot to mount the tape/position the tape etc.
Restoring the 30,000 files with NetBackup takes about 20 minutes
Restoring the 30,000 files to an alternate location takes about 40 minutes

Now interms of backing this all up...well 2.5GB of it takes about 8 minutes.



My hardware platform is a Compaq DL360 with dual PIII/933MHz CPUs (only one
configured with the kernel to date).
Two 36GB (10K RPM) drives configured with Hardware RAID1
1 GB RAM.

(The OS is configured with a 2 GB swap space.) 

Here is the FreeBSD Slice...
# /dev/idad0s1c:
type: ESDI
disk: idad0s1
label:
flags:
bytes/sector: 512
sectors/track: 32
tracks/cylinder: 255
sectors/cylinder: 8160
cylinders: 8320
sectors/unit: 67891200
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0   # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0

8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  a:  209715204.2BSD 2048 1638489   # (Cyl.0 - 257*)
  b:  4194304  2097152  swap# (Cyl.  257*- 771*)
  c: 678912000unused0 0 # (Cyl.0 - 8319)
  e:  8388608  62914564.2BSD 2048 1638489   # (Cyl.  771*-
1799*)
  f: 49152000 146800644.2BSD 2048 1638489   # (Cyl. 1799*-
7822*)
  g:  4059136 638320644.2BSD 2048 1638490   # (Cyl. 7822*-
8319*)



mislog01 # df -h
Filesystem  Size   Used  Avail Capacity  Mounted on
/dev/idad0s1a  1008M50M   878M 5%/
/dev/idad0s1g   1.9G   4.0K   1.8G 0%/home
/dev/idad0s1e   3.9G   976M   2.7G26%/usr
/dev/idad0s1f23G   2.5G19G12%/var
procfs  4.0K   4.0K 0B   100%/proc


Have any of you seen this before?  Is there some tuning that I can do?

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


Slow restores FreeBSD with NetBackup

2003-11-20 Thread Marco Greene (Home)
Hi all,
I have a server that I am restoring and it seems to be going really
slow.  Backup performance...I was able to backup the server in under 15
minutesthe restore has been going for over an hour nowand it isn't
even halfway done.

Basically what I am doingInstalled FreeBSD on a second slice of
the disk...booted with that slice...relabelled the disk...newfs'd the
filesystems...mounted them all under /mnt .../mnt/usr.../mnt/var etcthat
is all OK and confirmed.  I am renaming all of the files from / to /mnt/ in
order to make sure I do not clobber any OS files.  Last night the restore
crapped out partway though and the box had to be rebooted this morning.  CPU
utilization of both the backup server and the restore client is minimal.

FreeBSD Server hardware = Compaq DL360 G1, Dual CPU (933Mhz), 1GB RAM.
Note..currently only one CPU is configured in the kernel.
FreeBSD - Recovery slice = 4.8
FreeBSD - Slice to be restored = 4.9
NetBackup 4.5FP5

Solaris 8 NetBackup server.

Can't really give any error messages as there were none in any of the log
files...it just seemed that backups stopped and about 30 minutes later it
started listing all of the files it could not restoreIn the activity
monitor the job showed incomplete.  

I am trying to duplicate the situation from last night now.

When I did this on a test machine (IBM PC)...it worked fine. 

Thanks,
Marco

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


Multiple CPUs...verifying

2003-10-22 Thread Marco Greene (Home)


Does FreeBSD autodetect multiple CPU's or do you specifically have to
configure the kernel and recompile?

I tried downloading the latest code using cvsup..commenting out the
following two lines...and tried to follow the make world procedure as
outline in the handbook.  However, when I try to boot with the new
kernel...it doesn't work.

Also, how do you verify whether or not both CPUs have been configured in the
kernel...and that they are in fact being used?

Other flavours of UNIX have mpstat or prtdiag...

Thanks,
Marco

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


Tape Device file differences...

2003-10-16 Thread Marco Greene (Home)
..I am a little confused about tape devices in FreeBSD.

Under the /dev directory...I have the following tape devices:
# ls *sa*
ersa0   esa0.1  nrsa0.3 rsa0.0  sa0.1
ersa0.0 esa0.2  nsa0rsa0.1  sa0.2
ersa0.1 esa0.3  nsa0.0  rsa0.2  sa0.3
ersa0.2 nrsa0   nsa0.1  rsa0.3  sa0.ctl
ersa0.3 nrsa0.0 nsa0.2  rsa0.ctl
esa0nrsa0.1 nsa0.3  sa0
esa0.0  nrsa0.2 rsa0sa0.0

I have figured out most of it by searching on the net...but any
clarification or pointers to documentation would be helpful.

This is what I have figured out so far (feel free to correct me if I am
wrong).
-e[r]sa0 = Eject
-n[r]sa0 = No Rewind
-[r]sa0 = Rewind
-The .ctl file should be used with the mt command.



This is what I still need explained:
-The difference between the /dev/*rsa0 devices and /dev/?sa0 devices?  i.e.
What is the r for?
-What is the .0, .1, .2 and .3?

Thanks,
Marco

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