Re: much to my surprise....

2011-09-23 Thread Matthew Seaman
On 23/09/2011 01:08, Frank Shute wrote:
> I had to use them because my static IP all of a sudden became dynamic
> (crappy ISP). Now it seems to have gone back to static again.

There are much better ISPs in the UK -- usually the smaller ones give
you much better service.  You can get a /28 fixed block as part of a
standard package if you shop around.

> I certainly wouldn't consider running my own DNS server (having done
> it). It's more trouble than it's worth and is just one more
> vulnerability/thing to go wrong. You can just use hosts for a small
> network.

Not my experience.  Running my own DNS is simple and trouble free, plus
it gives me much more scope to play with things like DNSSEC.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: load average with multi-core CPU's

2011-09-23 Thread Damien Fleuriot
On 9/22/11 10:59 PM, Rodrigo Gonzalez wrote:
> On 09/22/2011 04:29 PM, Mark Felder wrote:
>> On Thu, 22 Sep 2011 10:22:43 -0500, Henry M  wrote:
>>
>>> Hi all,
>>>
>>> Can someone explain, or point me to correct documentation on what the
>>> load
>>> average on top/uptime is actually displaying?
>>
>> Load average is "average number of processes in the run queue" for the
>> 1, 5, and 15 minute intervals. If you have a quad core CPU a 4.00 load
>> average means you've been keeping the CPU busy at 100%.
> Not exactly as I understand itIO (disk, network or whatever) affects
> it too...
> It is the number of task waiting in queue to be runbut IO is
> important...if 2 processes are waiting for IO and it is completely
> saturated they will be kept in queue so load will get higher
> I think there are other things that affect load average but are over my
> current knowledge...
> 
> Regards
> 
> Rodrigo Gonzalez

Actually, I could be wrong but that is the number of tasks both in the
waiting *AND* the running queue.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: load average with multi-core CPU's

2011-09-23 Thread Damien Fleuriot
On 9/22/11 10:34 PM, Henry M wrote:
> Thanks- That's what I thought it was.  I'm trying to settle an argument at
> work : )
> 

http://xkcd.com/386/

Enjoy ;)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


SV: much to my surprise....

2011-09-23 Thread Hasse Hansson


-Oprindelig meddelelse-
Fra: owner-freebsd-questi...@freebsd.org
[mailto:owner-freebsd-questi...@freebsd.org] På vegne af Robert Bonomi
Sendt: den 22 september 2011 22:15
Til: freebsd-questions@freebsd.org; kl...@thought.org
Emne: Re: much to my surprise

> From owner-freebsd-questi...@freebsd.org  Thu Sep 22 14:30:49 2011
> Date: Thu, 22 Sep 2011 12:30:54 -0700
> From: Gary Kline 
> To: FreeBSD Mailing List 
> Cc: 
> Subject: much to my surprise
>
>
> guys,
>
> well, after a forced, unexpected, and emergency 5 days away, i got
> back to my desk and could not ping.  while mail seemed to be working, 
> and my *local* ping worked---I could ping around from my freebsd server
> to my other computers--i spent 3+ hours trying to ping various
> sites.  Zero.  i tried everything i could think of.  NOTHING worked.  
> i tried the -d -f -f to named and on and on and on.  nothing.
>
> *Finally*, i  saw that my telco router was displaying "INT" in red
> LED's.  i didn't know they displayed in any other color but the
> default green, but after power-cycling, voila! back to green.  
> and now, yes, i can ping freebsd.org.  and i'm pretty sure other
> network things will work too.  
>
> from any/all sysadmin types or others::
> i would like tricks, tips, insights--whatever--about named and
> whatever else.  i thought i had collected many.  nope.i've got
> bind 9.8 installed and it was working fine until my recent
> 'vacation.'  Other than checking one's routers (hub/switch), and other 
> hardware (including server, computers, cables, etc) does anybody have a
> checklist of what to do to diagnose this?  are there any other
> utilities i can try besides ping and named -d 3 -f -g?   other
> network utilities with a debug flag?  i'm running 7.3 on a dell 530.
>
> tia for any insights,

You should _really_ consider hiring a professional to maintain your 
systems.

Diagnosing _this_ problem should have taken no more than about 30
*seconds*. 

If you can't get somewhere 'by name', you try to get there 'by address'.

If 'by address' works and 'by name' doesn't, *that* is the indication of
a DNS problem.

If you can't get there 'by address', it is *NOT* a DNS problem, and you 
start looking for a 'connectivity' problem.

The *BASIC* tools for that start with 'traceroute'.  Which would have
*immediately* (well, within abut ten seconds :) indicated exactly _where_ 
the problem was.

Those  who don't understand these kind dof things are "too dangerous"
to be trusted with the superuser password.

Bluntly, not only do you not know the things you need to know to manage
a (even 'personal') network, you "DON'T KNOW _what_ you don't know", and 
until you *do* learn the basics, you'll save youself a *LOT* of hair-
tearing if you hire someone to solve the problems for you.

And miss all the fun by learning by doing :-)

/hasse
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: load average with multi-core CPU's

2011-09-23 Thread Robert Bonomi
> From owner-freebsd-questi...@freebsd.org  Fri Sep 23 03:15:37 2011
> Date: Fri, 23 Sep 2011 10:12:51 +0200
> From: Damien Fleuriot 
> To: freebsd-questions@freebsd.org
> Subject: Re: load average with multi-core CPU's
>
> On 9/22/11 10:59 PM, Rodrigo Gonzalez wrote:
> > On 09/22/2011 04:29 PM, Mark Felder wrote:
> >> On Thu, 22 Sep 2011 10:22:43 -0500, Henry M  wrote:
> >>
> >>> Hi all,
> >>>
> >>> Can someone explain, or point me to correct documentation on what the
> >>> load
> >>> average on top/uptime is actually displaying?
> >>
> >> Load average is "average number of processes in the run queue" for the
> >> 1, 5, and 15 minute intervals. If you have a quad core CPU a 4.00 load
> >> average means you've been keeping the CPU busy at 100%.
> > Not exactly as I understand itIO (disk, network or whatever) affects
> > it too...
> > It is the number of task waiting in queue to be runbut IO is
> > important...if 2 processes are waiting for IO and it is completely
> > saturated they will be kept in queue so load will get higher
> > I think there are other things that affect load average but are over my
> > current knowledge...
> > 
> > Regards
> > 
> > Rodrigo Gonzalez
>
> Actually, I could be wrong but that is the number of tasks both in the
> waiting *AND* the running queue.

It is the average of the number of 'runnable' processes -- those that are 
actually running (which is -- obviously! -- limited to the number of logical
cpu's present) and those that are -- in _all_ other respects -- 'ready' to 
be run.  This list of processes -- 'running' and 'runnable -- is known as 
the 'run queue'.  The cpu 'scheduler' allocated cpu time slots between the
processes in the 'run queueu', _only_.  Anything -not- in the 'run queue'
is not eligible for a slice of cpu time -- because it "can't" use cpu time,
if it were to be offered, because it is 'waiting' on something else.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


SV: much to my surprise....

2011-09-23 Thread Hasse Hansson


-Oprindelig meddelelse-
Fra: owner-freebsd-questi...@freebsd.org
[mailto:owner-freebsd-questi...@freebsd.org] På vegne af Gary Kline
Sendt: den 23 september 2011 03:31
Til: Ryan Coleman
Cc: freebsd-questions@freebsd.org; Robert Bonomi
Emne: Re: much to my surprise

On Thu, Sep 22, 2011 at 04:28:50PM -0500, Ryan Coleman wrote:
> Date: Thu, 22 Sep 2011 16:28:50 -0500
> From: Ryan Coleman 
> Subject: Re: much to my surprise
> To: Robert Bonomi 
> Cc: freebsd-questions@freebsd.org, kl...@thought.org
> X-Mailer: Apple Mail (2.1244.3)
> 
> 
> On Sep 22, 2011, at 3:14 PM, Robert Bonomi wrote:
> 
> >> From owner-freebsd-questi...@freebsd.org  Thu Sep 22 14:30:49 2011
> >> Date: Thu, 22 Sep 2011 12:30:54 -0700
> >> From: Gary Kline 
> >> To: FreeBSD Mailing List 
> >> Cc: 
> >> Subject: much to my surprise
> >> 
> >> 
> >> guys,
> >> 
> >> well, after a forced, unexpected, and emergency 5 days away, i got
> >> back to my desk and could not ping.  while mail seemed to be working, 
> >> and my *local* ping worked---I could ping around from my freebsd server
> >> to my other computers--i spent 3+ hours trying to ping various
> >> sites.  Zero.  i tried everything i could think of.  NOTHING worked.  
> >> i tried the -d -f -f to named and on and on and on.  nothing.
> >> 
> >> *Finally*, i  saw that my telco router was displaying "INT" in red
> >> LED's.  i didn't know they displayed in any other color but the
> >> default green, but after power-cycling, voila! back to green.  
> >> and now, yes, i can ping freebsd.org.  and i'm pretty sure other
> >> network things will work too.  
> >> 
> >> from any/all sysadmin types or others::
> >> i would like tricks, tips, insights--whatever--about named and
> >> whatever else.  i thought i had collected many.  nope.i've got
> >> bind 9.8 installed and it was working fine until my recent
> >> 'vacation.'  Other than checking one's routers (hub/switch), and other 
> >> hardware (including server, computers, cables, etc) does anybody have a
> >> checklist of what to do to diagnose this?  are there any other
> >> utilities i can try besides ping and named -d 3 -f -g?   other
> >> network utilities with a debug flag?  i'm running 7.3 on a dell 530.
> >> 
> >> tia for any insights,
> > 
> > You should _really_ consider hiring a professional to maintain your 
> > systems.
> > 
> > Diagnosing _this_ problem should have taken no more than about 30
> > *seconds*. 
> > 
> > If you can't get somewhere 'by name', you try to get there 'by address'.
> > 
> > If 'by address' works and 'by name' doesn't, *that* is the indication of
> > a DNS problem.
> > 
> > If you can't get there 'by address', it is *NOT* a DNS problem, and you 
> > start looking for a 'connectivity' problem.

points all well taken, robert, thanks.  i was ready to fire
off a few shots of my colt bisley 454, then took two deep
breaths and soldiered on.  [note that at least one other
fellow has suggested that i just hire somebody to maintain
my connectivity.]  but i've been doing this for a while, and
until i was away for five days, everything had been going
fine for over a month.  oh:: one power-out.  the UPS saved
the server, but everything else needed to be reinitialized.

> > 
> > The *BASIC* tools for that start with 'traceroute'.  Which would have
> > *immediately* (well, within abut ten seconds :) indicated exactly
_where_ 
> > the problem was.


would traceroute have told me to check the "modem"/router?  


> > 
> > Those  who don't understand these kind dof things are "too dangerous"
> > to be trusted with the superuser password.
> > 
> > Bluntly, not only do you not know the things you need to know to manage
> > a (even 'personal') network, you "DON'T KNOW _what_ you don't know", and

> > until you *do* learn the basics, you'll save youself a *LOT* of hair-
> > tearing if you hire someone to solve the problems for you.
> 
> I whole-heartedly agree with Robert's points.
> 
> I host in my apartment... but I have more than a decade's experience
maintaining networks and systems and, while the occasional issue stumps me,
I'm pretty good at getting to the root of issues in minutes vs hours.


would you believe: i'm slow at typing, ?
> 
> Yes, I was once a... for lack of a better term... moron on these things
and I relied heavily on the tech who pushed me (gently) towards ?BSD from
RHL and I am gracious every day for that nudge.
> 
i've used REAL UNIX [[$1100] for  SVR4; and before than VAT,
a 286 version of SVR2; then chose FreeBSD  with 2.0.5.  
things started out as a dialup BBS and evolved since july '86
system administration is something i do reluctantly.
adding system calls to the tera kernel plus other kernel
work on the the hardware version of a 128-stream CPU seemed
 infinitely easier than this


> Experience is the best way to pick up the "quick list"

Re: 9.0 bsdinstall usage

2011-09-23 Thread Nathan Whitehorn

On 09/23/11 04:09, Fbsd8 wrote:

I have installed 9.0 bata2 from cd and the net. In both cases after the
completion of the install and rebooting, the bsdinstall scripts still
remain on the new installed system. If I interpret the code logic
correctly, bsdinstall can ONLY be used for an original install. It's not
intended by design to be used any other time, unlike sysinstall. I think
the "auto" script should have code added to remove all traces of the
bsdinstall environment at the conclusion of the install. This way
bsdinstall fulfills the original design goals and guarantees no one can
exec it by accident and kill there running system.


It's quite useful after install time for installing new systems (e.g. 
jails). It also uses approximately zero disk space.

-Nathan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Overwrite bsd tar

2011-09-23 Thread Esimorp E
Dear all,

I tried installing GridFTP on Freebsd, had errors which a user group said is 
due to bsd tar and I downloaded and installed Gnu tar which is required but the 
command 'tar --version' still show bsd tar as the default. Tried using package 
and encountered error as shown below.

[prom@pcbsd-2112] ~> tar --version
bsdtar 2.7.0 - libarchive 2.7.0
[prom@pcbsd-2112] ~> su
Password:
[prom@pcbsd-2112] /home/prom# pkg_add -r tar
Error: Unable to get 
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.1-release/Latest/tar.tbz:
 File unavailable (e.g., file not found, no access)
pkg_add: unable to fetch 
'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.1-release/Latest/tar.tbz'
 by URL

I would be grateful if anyone could help me out on how to overwrite bsd tar 
with Gnu tar.


Best Regards,
Morp.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: much to my surprise.... [ now trending #OT ]

2011-09-23 Thread Dave
From:   "Matt Emmerton" 

> 
> 
> > but i've been doing this for a while, and
> > until i was away for five days, everything had been going
> > fine for over a month.  oh:: one power-out.  the UPS saved
> > the server, but everything else needed to be reinitialized.
> 
> A lesson that I learned many years ago - if you can afford a "big" UPS
> for your servers, you can afford a "little" one for your telco/network
> equipment.
> 

I'm using some PoE kit to power the router remotely down it's LAN cable, 
that in turn run's from the protected supply from the UPS.  Said UPS also 
powers the main network switch, as well as my own LAN server (f'BSD 
based, to stay vaguely on toppic!) Plus two other PC's and a NAS device.

It'll hold that lot up, for over 20 minutes when the lights go out (the 
longest unscheduled outage so far.)  It's also configured to NOT come 
back, if it runs down and cuts out.  I'll do that manually if needed.  
(Not so far.)  I never did get the BSD port of APCUPSD to work correctly.

All works well.  Also, easy to do a router "Hard" restart, without going 
to the router itself.   And if it does all die, it fails safe.

Regards.

Dave B.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Overwrite bsd tar

2011-09-23 Thread Bernt Hansson

2011-09-23 13:25, Esimorp E skrev:


I would be grateful if anyone could help me out on how to overwrite bsd tar 
with Gnu tar.


Thats not a good idea. If you want to use gnu tar then gtar is the 
command for you. Or copy tar to tar.bsd and make a symlink tar > gtar.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Overwrite bsd tar

2011-09-23 Thread Damien Fleuriot
On 9/23/11 2:04 PM, Bernt Hansson wrote:
> 2011-09-23 13:25, Esimorp E skrev:
>>
>> I would be grateful if anyone could help me out on how to overwrite
>> bsd tar with Gnu tar.
> 
> Thats not a good idea. If you want to use gnu tar then gtar is the
> command for you. Or copy tar to tar.bsd and make a symlink tar > gtar.


Even worse, what's going to happen when some BSD specific software tries
to pass BSD specific options to gnutar ?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Overwrite bsd tar

2011-09-23 Thread Damien Fleuriot


On 9/23/11 1:25 PM, Esimorp E wrote:
> Dear all,
> 
> I tried installing GridFTP on Freebsd, had errors which a user group said is 
> due to bsd tar and I downloaded and installed Gnu tar which is required but 
> the command 'tar --version' still show bsd tar as the default. Tried using 
> package and encountered error as shown below.
> 
> [prom@pcbsd-2112] ~> tar --version
> bsdtar 2.7.0 - libarchive 2.7.0
> [prom@pcbsd-2112] ~> su
> Password:
> [prom@pcbsd-2112] /home/prom# pkg_add -r tar
> Error: Unable to get 
> ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.1-release/Latest/tar.tbz:
>  File unavailable (e.g., file not found, no access)
> pkg_add: unable to fetch 
> 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.1-release/Latest/tar.tbz'
>  by URL
> 
> I would be grateful if anyone could help me out on how to overwrite bsd tar 
> with Gnu tar.
> 

Keep in mind that when you install a package or port, it installs to
/usr/local/bin or /usr/local/sbin , not /usr/bin or /bin


# ls -la /usr/bin/tar
lrwxr-xr-x  1 root  wheel  6 Feb 21  2011 /usr/bin/tar -> bsdtar
-r-xr-xr-x  1 root  wheel  62848 Feb 21  2011 /usr/bin/bsdtar


# ls -la /usr/local/bin/gtar
-r-xr-xr-x  1 root  wheel  373664 Sep 23 14:10 /usr/local/bin/gtar
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


sendmail : savemail panic : cannot save rejected email anywhere

2011-09-23 Thread Anton Shterenlikht
I have 6 servers. As far as I can
see I've identical sendmail configuration
on all of them. However, one server
gives me these errors:

Sep 23 13:53:12 mech-aslap239 sm-msp-queue[33721]: starting daemon (8.14.5): 
queueing@00:30:00
Sep 23 13:53:12 mech-aslap239 sm-mta[33723]: starting daemon (8.14.5): 
SMTP+queueing@00:30:00
Sep 23 13:56:38 mech-aslap239 sendmail[33772]: p8NCuc1q033772: from=root, 
size=41, class=0, nrcpts=1, 
msgid=<201109231256.p8ncuc1q033...@mech-aslap239.men.bris.ac.uk>, 
relay=root@localhost
Sep 23 13:56:38 mech-aslap239 sm-mta[33773]: p8NCucYT033773: 
from=, size=400, class=0, nrcpts=1, 
msgid=<201109231256.p8ncuc1q033...@mech-aslap239.men.bris.ac.uk>, proto=ESMTP, 
daemon=Daemon0, relay=localhost [127.0.0.1]
Sep 23 13:56:38 mech-aslap239 sendmail[33772]: p8NCuc1q033772: 
to=me...@bris.ac.uk, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, 
mailer=relay, pri=30041, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent 
(p8NCucYT033773 Message accepted for delivery)
Sep 23 13:56:38 mech-aslap239 sm-mta[33775]: STARTTLS=client, 
relay=smtp-auth.bris.ac.uk., version=TLSv1/SSLv3, verify=FAIL, 
cipher=AES256-SHA, bits=256/256
Sep 23 13:56:38 mech-aslap239 sm-mta[33775]: p8NCucYT033773: 
to=, ctladdr= (0/0), 
delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30400, 
relay=smtp-auth.bris.ac.uk. [137.222.10.92], dsn=5.1.1, stat=User unknown
Sep 23 13:56:38 mech-aslap239 sm-mta[33775]: p8NCucYT033773: p8NCucYT033775: 
DSN: User unknown
Sep 23 13:56:38 mech-aslap239 sm-mta[33775]: p8NCucYT033775: 
to=me...@bris.ac.uk, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31424, 
relay=smtp-auth.bris.ac.uk. [137.222.10.92], dsn=5.1.1, stat=User unknown
Sep 23 13:56:38 mech-aslap239 sm-mta[33775]: p8NCucYT033775: p8NCucYU033775: 
return to sender: User unknown
Sep 23 13:56:38 mech-aslap239 sm-mta[33775]: p8NCucYU033775: 
to=me...@bris.ac.uk, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=32448, 
relay=smtp-auth.bris.ac.uk. [137.222.10.92], dsn=5.1.1, stat=User unknown
Sep 23 13:56:38 mech-aslap239 sm-mta[33775]: p8NCucYT033775: Losing 
./qfp8NCucYT033775: savemail panic
Sep 23 13:56:38 mech-aslap239 sm-mta[33775]: p8NCucYT033775: SYSERR(root): 
savemail: cannot save rejected email anywhere


so that I cannot send any mail from it.

I've read this:
http://www.brandonhutchinson.com/savemail_panic_in_Sendmail.html

but it doesn't seem to apply. I get:

mech-aslap239# sendmail -bv postmaster
me...@bris.ac.uk... deliverable: mailer relay, host smtp-auth.bris.ac.uk, user 
me...@bris.ac.uk
mech-aslap239# sendmail -bv MAILER-DAEMON
me...@bris.ac.uk... deliverable: mailer relay, host smtp-auth.bris.ac.uk, user 
me...@bris.ac.uk
mech-aslap239# 


yet the mail is not being delivered:


mech-aslap239# mailq -qL
/var/spool/mqueue (4 requests)
-Q-ID- --Size-- -Q-Time- Sender/Recipient---
p8NCucYT033775?2139 Fri Sep 23 13:56 MAILER-DAEMON
 me...@bris.ac.uk
p8NCeJwI018745?2140 Fri Sep 23 13:40 MAILER-DAEMON
 me...@bris.ac.uk
p8NC7JxU017395?2279 Fri Sep 23 13:07 MAILER-DAEMON
 me...@bris.ac.uk
o9KFDfaV001093?2224 Wed Oct 20 16:13 MAILER-DAEMON
 me...@bris.ac.uk
Total requests: 4
mech-aslap239#


What else could be wrong?

Many thanks
Anton

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: 9.0 bsdinstall usage

2011-09-23 Thread Fbsd8

Nathan Whitehorn wrote:

On 09/23/11 04:09, Fbsd8 wrote:

I have installed 9.0 bata2 from cd and the net. In both cases after the
completion of the install and rebooting, the bsdinstall scripts still
remain on the new installed system. If I interpret the code logic
correctly, bsdinstall can ONLY be used for an original install. It's not
intended by design to be used any other time, unlike sysinstall. I think
the "auto" script should have code added to remove all traces of the
bsdinstall environment at the conclusion of the install. This way
bsdinstall fulfills the original design goals and guarantees no one can
exec it by accident and kill there running system.


It's quite useful after install time for installing new systems (e.g. 
jails). It also uses approximately zero disk space.

-Nathan


bsdinstall/auto logic falls down through the partition hard drive logic 
with no way to bypass it. It will look for free space on the H.D. you 
booted from and issue message about no free space, ask you if you want 
to try another drive and then use the booted drive as target to redo the 
partitioning again thus scratching your running system. In the normal 
sense there is no way bsdinstall can be used to create jails. A jail 
does not occupies a whole H.D nor do you boot a jail as a standalone 
host. The qjail port is there for the purpose of creating and 
administration of jails.


Its not a question of how much space bsdinstall occupies on the H.D. 
after the original install. Its that some poor soul may try to use it 
and trash there newly installed running system by accident. And if there 
were multiple os's on that H.D. there all gone in a heart beat. We have 
to protect the poor user from them selfs doing stupid things.


As I understand it bsdinstall is a replacement for sysinstall. 
Sysinstall tried to be everything to everybody and turned into a can of 
worms. There is nothing wrong about limiting bsdinstall to a roll of 
"original installs" only. KISS


These 2 statements should be added at the end of bsdinstall/auto to 
complete the clean up of the install process.


rm /usr/sbin/bsdinstall
rm -rf /usr/libexec/bsdinstall

Another benefit of doing this is it will no longer be necessary to 
create man pages for bsdinstall.





___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: 9.0 bsdinstall usage

2011-09-23 Thread Fbsd8

Daniel O'Connor wrote:

On 23/09/2011, at 11:39, Fbsd8 wrote:
I have installed 9.0 bata2 from cd and the net. 
>>In both cases after the completion of the install and rebooting, the 
bsdinstall
>>scripts still remain on the new installed system. If I interpret the 
code logic correctly,
>>bsdinstall can ONLY be used for an original install. It's not 
intended by design to be
>>used any other time, unlike sysinstall. I think the "auto" script 
should have code added
>>to remove all traces of the bsdinstall environment at the conclusion 
of the install.
>>This way bsdinstall fulfills the original design goals and guarantees 
no one can exec

>>it by accident and kill there running system.



The binary is installed by default, but there it isn't run at startup.

If it is being run then I would expect you are booting off your install media 
again by accident.

--
Daniel O'Connor 



You did not read my post correctly. I dont say bsdinstall is run every 
time I boot. I said "the bsdinstall scripts still remain on the new 
installed system."  The point I was making is it should not remain.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: 9.0 bsdinstall usage

2011-09-23 Thread Fbsd8

Adrian Chadd wrote:

On 23 September 2011 10:09, Fbsd8  wrote:

I have installed 9.0 bata2 from cd and the net. In both cases after the
completion of the install and rebooting, the bsdinstall scripts still remain
on the new installed system. If I interpret the code logic correctly,
bsdinstall can ONLY be used for an original install. It's not intended by
design to be used any other time, unlike sysinstall. I think the "auto"
script should have code added to remove all traces of the bsdinstall
environment at the conclusion of the install. This way bsdinstall fulfills
the original design goals and guarantees no one can exec it by accident and
kill there running system.


Have you thought about filing PRs for your installer suggestions, just
so they don't get lost?

I've just filed a bsdinstaller PR for a wifi config bug; I'm likely
going to file a few more PRs based on my interaction with the
installer.

Thanks,


Adrian



Yes I have been submitting PR's.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: 9.0 bsdinstall usage

2011-09-23 Thread Daniel O'Connor

On 23/09/2011, at 23:03, Fbsd8 wrote:
>> The binary is installed by default, but there it isn't run at startup.
>> If it is being run then I would expect you are booting off your install 
>> media again by accident.
>> --
>> Daniel O'Connor 
> 
> You did not read my post correctly. I dont say bsdinstall is run every time I 
> boot. I said "the bsdinstall scripts still remain on the new installed 
> system."  The point I was making is it should not remain.

I think that is pretty debatable, you could certainly use them to install onto 
a new disk - say you had a machine you couldn't boot the install media off so 
you put the disk in your PC.

Also, it should be very difficult to destroy your installed setup while you're 
actually booted into it because GEOM will prevent partition changes to mounted 
disks.

--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C






___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Overwrite bsd tar

2011-09-23 Thread Bernt Hansson

2011-09-23 14:07, Damien Fleuriot skrev:

On 9/23/11 2:04 PM, Bernt Hansson wrote:

2011-09-23 13:25, Esimorp E skrev:


I would be grateful if anyone could help me out on how to overwrite
bsd tar with Gnu tar.


Thats not a good idea. If you want to use gnu tar then gtar is the
command for you. Or copy tar to tar.bsd and make a symlink tar>  gtar.



Even worse, what's going to happen when some BSD specific software tries
to pass BSD specific options to gnutar ?


A lot of unexpected things, that's the reason I wrote it wasn't a good idea.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Support for "Brother" products

2011-09-23 Thread Alejandro Imass
On Thu, Sep 22, 2011 at 7:19 PM, Carmel  wrote:
> I just got a reply back from a representative from Brother

[...]

> Therefore, if anyone is interested in contacting him, this is the
> e-mail address: 
>

Someone had brought up issues about Brother devices, I believe it was Jerry.



> --
> Carmel ✌
> carmel...@hotmail.com
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: 9.0 bsdinstall usage

2011-09-23 Thread Daniel Staal

On Fri, September 23, 2011 9:23 am, Fbsd8 wrote:
> These 2 statements should be added at the end of bsdinstall/auto to
> complete the clean up of the install process.
>
> rm /usr/sbin/bsdinstall
> rm -rf /usr/libexec/bsdinstall
>
> Another benefit of doing this is it will no longer be necessary to
> create man pages for bsdinstall.

On the other hand, that makes it harder for someone to look at the program
to see what it does, in order to build or rebuild their own installer, or
to customize the actions of this one.

I don't see a cost to keeping the program around.  There are probably some
slight use cases for it, and there are some slight costs to removing it. 
It doesn't have to be everything to everybody: It can be itself, nothing
more and nothing less.

I guess I just don't see the problem with keeping it.

Daniel T. Staal

---
This email copyright the author.  Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes.  This copyright will
expire 5 years after the author's death, or in 30 years,
whichever is longer, unless such a period is in excess of
local copyright law.
---

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: 9.0 bsdinstall usage

2011-09-23 Thread David Romano

On 09/23/2011 09:01, Daniel Staal wrote:

On the other hand, that makes it harder for someone to look at the program
to see what it does, in order to build or rebuild their own installer, or
to customize the actions of this one.

I don't see a cost to keeping the program around.  There are probably some
slight use cases for it, and there are some slight costs to removing it.
It doesn't have to be everything to everybody: It can be itself, nothing
more and nothing less.

I guess I just don't see the problem with keeping it.
I agree. If we're concerned about someone running the program again by 
accident then the following can be placed at the end of bsdinstall/auto:

chmod -x /usr/sbin/bsdinstall

The man page then can specify that the executable bit is off by default, 
why it is off by default, and possibly specify the command to turn it on 
again.


- David

--
David Romano .:. un...@cpan.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Overwrite bsd tar

2011-09-23 Thread Esimorp E
Hi Bernt,

Thank you for your reply. I had similar concern as well but I really needed the 
globus toolkit and wouldn't mind if its the only that works on the system.

--- On Fri, 9/23/11, Bernt Hansson  wrote:

From: Bernt Hansson 
Subject: Re: Overwrite bsd tar
To: "Damien Fleuriot" 
Cc: freebsd-questions@freebsd.org
Date: Friday, September 23, 2011, 1:58 PM

2011-09-23 14:07, Damien Fleuriot skrev:
> On 9/23/11 2:04 PM, Bernt Hansson wrote:
>> 2011-09-23 13:25, Esimorp E skrev:
>>>
>>> I would be grateful if anyone could help me out on how to overwrite
>>> bsd tar with Gnu tar.
>>
>> Thats not a good idea. If you want to use gnu tar then gtar is the
>> command for you. Or copy tar to tar.bsd and make a symlink tar>  gtar.
>
>
> Even worse, what's going to happen when some BSD specific software tries
> to pass BSD specific options to gnutar ?

A lot of unexpected things, that's the reason I wrote it wasn't a good idea.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Overwrite bsd tar

2011-09-23 Thread Adam Vande More
On Fri, Sep 23, 2011 at 12:12 PM, Esimorp E  wrote:

> Hi Bernt,
>
> Thank you for your reply. I had similar concern as well but I really needed
> the globus toolkit and wouldn't mind if its the only that works on the
> system.
>
>
Please don't top post.  See the mailing list expectations.

As for your problem, perhaps you should learn the ports system to see how
other packages with this dependency are dealt with instead of trying to do a
a very poor hack that will result in further problems.

-- 
Adam Vande More
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Overwrite bsd tar

2011-09-23 Thread Esimorp E
Hi, Damien,

Thank you for your timely response. I tried your instruction but encountered an 
error which I think is due the initial errors I had as a result gtar that 
couldn't install as either source or package.

[prom@pcbsd-2112] ~> su
Password:
[prom@pcbsd-2112] /home/prom# ls -la /usr/bin/tar
lrwxr-xr-x  1 root  wheel  6 Jul 18  2010 /usr/bin/tar -> bsdtar
[prom@pcbsd-2112] /home/prom# ls -la /usr/local/bin/gtar
ls: /usr/local/bin/gtar: No such file or directory
[prom@pcbsd-2112] /home/prom# 

Please, what would the best way to resolve this problem?


--- On Fri, 9/23/11, Damien Fleuriot  wrote:

From: Damien Fleuriot 
Subject: Re: Overwrite bsd tar
To: freebsd-questions@freebsd.org
Date: Friday, September 23, 2011, 12:11 PM



On 9/23/11 1:25 PM, Esimorp E wrote:
> Dear all,
> 
> I tried installing GridFTP on Freebsd, had errors which a user group said is 
> due to bsd tar and I downloaded and installed Gnu tar which is required but 
> the command 'tar --version' still show bsd tar as the default. Tried using 
> package and encountered error as shown below.
> 
> [prom@pcbsd-2112] ~> tar --version
> bsdtar 2.7.0 - libarchive 2.7.0
> [prom@pcbsd-2112] ~> su
> Password:
> [prom@pcbsd-2112] /home/prom# pkg_add -r tar
> Error: Unable to get 
> ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.1-release/Latest/tar.tbz:
>  File unavailable (e.g., file not found, no access)
> pkg_add: unable to fetch 
> 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.1-release/Latest/tar.tbz'
>  by URL
> 
> I would be grateful if anyone could help me out on how to overwrite bsd tar 
> with Gnu tar.
> 

Keep in mind that when you install a package or port, it installs to
/usr/local/bin or /usr/local/sbin , not /usr/bin or /bin


# ls -la /usr/bin/tar
lrwxr-xr-x  1 root  wheel  6 Feb 21  2011 /usr/bin/tar -> bsdtar
-r-xr-xr-x  1 root  wheel  62848 Feb 21  2011 /usr/bin/bsdtar


# ls -la /usr/local/bin/gtar
-r-xr-xr-x  1 root  wheel  373664 Sep 23 14:10 /usr/local/bin/gtar
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Overwrite bsd tar

2011-09-23 Thread Dan Nelson
In the last episode (Sep 23), Esimorp E said:
> Hi Bernt,
> 
> Thank you for your reply. I had similar concern as well but I really
> needed the globus toolkit and wouldn't mind if its the only that works on
> the system.

You never actaully said what the problem was.  If it's a bug in bsdtar, I'm
sure it could get fixed quickly given a sample tarfile.

-- 
Dan Nelson
dnel...@allantgroup.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: 9.0 bata2 & keymap

2011-09-23 Thread Gavin Atkinson
On Sat, 2011-09-17 at 12:24 -0400, Fbsd8 wrote:

> Changing the cancel button in the kbdmap command to skip, does not 
> address the problem, which is the lack of knowledge of the standard 
> bsdinstall user. I've been using Freebsd since 4.0 and never used the 
> kbdmap command or for that matter even knew it existed.

Interesting.  Sysinstall has asked for country information and then
asked you to choose a keymap (using kbdmap) if you selected a
non-default country as the first two questions (i.e. before you get the
sysinstall menu) since 6.1.  Would that be a good solution still?

Some of the other points brought up later about wanting to switch
between two different keymaps seem sensible too, though I don't
initially see how that would be possible.

Gavin

-- 
Gavin Atkinson
FreeBSD committer and bugmeister
GPG: A093262B (313A A79F 697D 3A5C 216A  EDF5 935D EF44 A093 262B)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: much to my surprise.... [ now trending #OT ]

2011-09-23 Thread Gary Kline
On Thu, Sep 22, 2011 at 10:48:09PM -0400, Matt Emmerton wrote:
> Date: Thu, 22 Sep 2011 22:48:09 -0400
> From: Matt Emmerton 
> Subject: RE: much to my surprise [ now trending #OT ]
> To: freebsd-questions@freebsd.org
> X-Mailer: Microsoft Office Outlook 12.0
> 
> >> >> *Finally*, i  saw that my telco router was displaying "INT" in red
> >> >> LED's.  i didn't know they displayed in any other color but the
> >> >> default green, but after power-cycling, voila! back to green.  
> >> >> and now, yes, i can ping freebsd.org.  and i'm pretty sure other
> >> >> network things will work too.  
> 
> The Mark I eyeball is an amazing tool.

well, cant be sure, but my router is q1000.  [?]

> 
> I recently had a HDSL link provided by my telco go down.  I happened to be 2
> hours away from the facility at the time.  Tech support said the problem was
> the router because they couldn't get to it, and they just wouldn't believe
> me that it was up.  (I could ping it from the "inside" via the secondary
> network connection.)  So after I drove to the facility, I noticed that the
> HDSL modem (which is line-powered from some box on the street) had no
> lights.  Ahah!  28 hours later (sigh) they found a blown circuit breaker
> somewhere.


AH!  one thin i have has problems with over the years is
cars hitting power poles somewhere and that knocks me off. 
After last time i put everything thru  my highend surge
protecter.  EVERYTHING was live.  i had never [not once in
ten years] had the "Internet" flow go south.  mine has been
green.  i saw that all LED's were lit and never thought to 
see if the lights were all-green or not!  live and learn.  

so, along with "check routers/switches; maybe power cycle"
i have use named debug, use traceroute.
> 
> 
> 
> > but i've been doing this for a while, and
> > until i was away for five days, everything had been going
> > fine for over a month.  oh:: one power-out.  the UPS saved
> > the server, but everything else needed to be reinitialized.
> 
> A lesson that I learned many years ago - if you can afford a "big" UPS for
> your servers, you can afford a "little" one for your telco/network
> equipment.

such as? brand, model?  would it work to just plug my surge
protecto into my larger UPS?   ---yes, that wouldn't save me
from as glitch in this telco router.  but since the APC UPC
has its own surge filter, i'm thinking, why not/?

gary


> 
> --
> Matt Emmerton
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
   Journey Toward the Dawn, E-Book: http://www.thought.org
  The 8.51a release of Jottings: http://jottings.thought.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: 9.0 bata2 & keymap

2011-09-23 Thread David Brodbeck
I don't think not asking the question is the right answer.  Asking
about the keyboard layout during installation is the right thing to
do; working with the wrong one is difficult and not everyone has a
standard US keyboard.

I think the problem is that the keymap names are kind of obscure,
making it hard for users who aren't already familiar with FreeBSD
internals to know which one to pick.  Many Linux installers ask for a
keymap during installation, but they give fairly clear names for the
keymaps like "US English 105-key", making it easy to pick one that's
likely to work.

When I installed FreeBSD-9.0-BETA it took me two tries to find a
layout that works because it's far from clear what will yield "normal"
behavior.  I tried the "United States of America Traditional UNIX
Workstation" one first (traditional!  It must be standard, right?) and
found I had no working Ctrl key.  Eventually I landed on "United
States of America ISO-8859-1", which worked, but I'm not sure it's
reasonable to expect a new user to know what "ISO-8859-1" is and
whether they have it.

Surely we can name these layouts a bit more clearly?  I think that
would solve most of the problem.  I would offer a patch but I'm the
wrong person to do it, since they make no sense to me. ;)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: much to my surprise....

2011-09-23 Thread David Brodbeck
On Fri, Sep 23, 2011 at 12:14 AM, Matthew Seaman
 wrote:
> Not my experience.  Running my own DNS is simple and trouble free, plus
> it gives me much more scope to play with things like DNSSEC.

I've done it before, but I don't anymore.  Partly because it's very
hard to provide proper levels of DNS redundancy if you're running your
own DNS server.  Not that the big players always get it right; I've
seen ones that had four authoritative servers that were all on the
same subnet. ;)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: much to my surprise.... [ now trending #OT ]

2011-09-23 Thread Gary Kline
On Fri, Sep 23, 2011 at 12:27:57PM +0100, Dave wrote:
> Date: Fri, 23 Sep 2011 12:27:57 +0100
> From: Dave 
> Subject: Re: much to my surprise [ now trending #OT ]
> To: freebsd-questions@freebsd.org
> X-mailer: Pegasus Mail for Windows (4.61)
> 
> From: "Matt Emmerton" 
> 
> > 
> > 
> > > but i've been doing this for a while, and
> > > until i was away for five days, everything had been going
> > > fine for over a month.  oh:: one power-out.  the UPS saved
> > > the server, but everything else needed to be reinitialized.
> > 
> > A lesson that I learned many years ago - if you can afford a "big" UPS
> > for your servers, you can afford a "little" one for your telco/network
> > equipment.
> > 
> 
> I'm using some PoE kit to power the router remotely down it's LAN cable, 
> that in turn run's from the protected supply from the UPS.  Said UPS also 
> powers the main network switch, as well as my own LAN server (f'BSD 
> based, to stay vaguely on toppic!) Plus two other PC's and a NAS device.
> 
> It'll hold that lot up, for over 20 minutes when the lights go out (the 
> longest unscheduled outage so far.)  It's also configured to NOT come 
> back, if it runs down and cuts out.  I'll do that manually if needed.  
> (Not so far.)  I never did get the BSD port of APCUPSD to work correctly.
> 
> All works well.  Also, easy to do a router "Hard" restart, without going 
> to the router itself.   And if it does all die, it fails safe.
> 
> Regards.
> 
> Dave B.



see, if i had help at =your= level of expertise, i'd be
fine.  4 days in the icu is still ,messing me up a bit, but 
i grok most of what you're saying to matt.  

Oh, and for those who suggested i hire somebody instead of
relying on volunteers:: while there is a seattle linux
group, gslug, i know 0.0 people who have a clue about BSD.  
i've asked around--the senior techs at the telco have no
clue when i [or someone who can speak] mentioned 'unix'.
i've tried to find some students at the u/washington.  zip.  
linux, a few people mumble, 'yes, ive heard of that.' but
unix, or berkeley unix , or sun unix.  {gawk: Orifice unix, 
rather} Zero.  


BTW, ive not had time nor savvy to get the APC UPS Port
installed.  besides, right now, there in only one 2009 dell
2-cpu on the battery.  it has saved state twice.  but i
=still= had to get down and crawl around with flashlight in
teeth and power off stuff.  -no, no 'poor gary'; that's just
the bare facts.

-g

> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
   Journey Toward the Dawn, E-Book: http://www.thought.org
  The 8.51a release of Jottings: http://jottings.thought.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Pci express ZFS card?

2011-09-23 Thread Joseph Lenox

On 09/21/2011 09:16 AM, Eduardo Morras wrote:


Hi, i have this used pci express industrial card (PCIe 2.0 x4) with 1GB:

http://www.ieiworld.com/product_groups/industrial/content.aspx?gid=1101&cid=08141333914287007902&id=0A263601401161285688 



I want to install a NanoBSD with ZFS and 3 Sata disks. Unfortunately i 
know nothing about this topic. Does anynone know if this type of cards 
can be connected to a server? Can i access the zfs raidz on it 
througth the pci express interface?


The card documentation says nothing about its use on normal pc as 
expansion card, only on pci express backplanes.


TIA
I would posit that it is only for use as on a PCI Express backplane; I 
don't even see how it would fit in a standard PCI Express slot (seeing 
as the backplane connector is physically longer than the PCI Express 
connector). Moreover, the card itself looks like a system-on-a-board (a 
complete computer system on a single mainboard).


--Joseph Lenox
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: SV: much to my surprise....

2011-09-23 Thread 'Gary Kline'
On Fri, Sep 23, 2011 at 11:42:53AM +0200, Hasse Hansson wrote:
> 
> Hello.
> "Outsourcing" primary DNS services saves a lot of hassle.
> I've been using http://freedns.afraid.org/ for a couple of years with great
> satisfaction.
> Please check'em out before decide.
> 

i've used afraid.org as a secondary for about a year.  
i've be happy to just let somebody who deals with the DNS
side of things handle mine as well.  that wont keep my
"modem" from flipping state, but it would be several less
migraines.

tack,

gary


> 
> 

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
   Journey Toward the Dawn, E-Book: http://www.thought.org
  The 8.51a release of Jottings: http://jottings.thought.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


where is ng_eapol project?

2011-09-23 Thread Коньков Евгений
Hi.

Does any know is anywhere ng_eapol project or any clone of it?

-- 
С уважением,
 Коньков  mailto:kes-...@yandex.ru

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: much to my surprise....

2011-09-23 Thread Matthew Seaman
On 23/09/2011 19:19, David Brodbeck wrote:
> On Fri, Sep 23, 2011 at 12:14 AM, Matthew Seaman
>  wrote:
>> > Not my experience.  Running my own DNS is simple and trouble free, plus
>> > it gives me much more scope to play with things like DNSSEC.

> I've done it before, but I don't anymore.  Partly because it's very
> hard to provide proper levels of DNS redundancy if you're running your
> own DNS server.  Not that the big players always get it right; I've
> seen ones that had four authoritative servers that were all on the
> same subnet. ;)

Yeah.  My ISP will 2ary my zones onto their much larger and diversely
situated servers at no extra cost.  That's pretty handy.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: Pci express ZFS card?

2011-09-23 Thread Outback Dingo
On Fri, Sep 23, 2011 at 2:10 PM, Joseph Lenox  wrote:
> On 09/21/2011 09:16 AM, Eduardo Morras wrote:
>>
>> Hi, i have this used pci express industrial card (PCIe 2.0 x4) with 1GB:
>>
>>
>> http://www.ieiworld.com/product_groups/industrial/content.aspx?gid=1101&cid=08141333914287007902&id=0A263601401161285688
>>
>> I want to install a NanoBSD with ZFS and 3 Sata disks. Unfortunately i
>> know nothing about this topic. Does anynone know if this type of cards can
>> be connected to a server? Can i access the zfs raidz on it througth the pci
>> express interface?
>>
>> The card documentation says nothing about its use on normal pc as
>> expansion card, only on pci express backplanes.
>>
>> TIA
>
> I would posit that it is only for use as on a PCI Express backplane; I don't
> even see how it would fit in a standard PCI Express slot (seeing as the
> backplane connector is physically longer than the PCI Express connector).
> Moreover, the card itself looks like a system-on-a-board (a complete
> computer system on a single mainboard).
>

This is definatley a backplane SBC designed system, and will not work
in a standard motherboard, seems to me what he really wants is like an
OCZ revo drive, or Fusion IO card


> --Joseph Lenox
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


rsync over nfs or rsync protocol

2011-09-23 Thread Jason C. Wells
I am looking into finally setting up a backup solution that's a little 
more sophisticated than a bunch of DVD-RWs.  I have two servers.  I'd 
like to make each a backup server for the other.  I'm considering using 
rsync.


Is rsync a good choice for a backup tool?
Should I use the rsyncd or should I use NFS?  I'm using 100 mbps ethernet.
What's the better solution I haven't considered?

Thanks,
Jason
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


RE: rsync over nfs or rsync protocol

2011-09-23 Thread Gary Gatten
I'm sure you'll get a TON of responses on this.  Maybe some script that 
combines tar, g[b]zip, and rsync?  I wouldn't use NFS just for this, but if 
it's already there it may have a place.

-Original Message-
From: owner-freebsd-questi...@freebsd.org 
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Jason C. Wells
Sent: Friday, September 23, 2011 4:04 PM
To: freebsd general questions
Subject: rsync over nfs or rsync protocol

I am looking into finally setting up a backup solution that's a little 
more sophisticated than a bunch of DVD-RWs.  I have two servers.  I'd 
like to make each a backup server for the other.  I'm considering using 
rsync.

Is rsync a good choice for a backup tool?
Should I use the rsyncd or should I use NFS?  I'm using 100 mbps ethernet.
What's the better solution I haven't considered?

Thanks,
Jason
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"








"This email is intended to be reviewed by only the intended recipient
 and may contain information that is privileged and/or confidential.
 If you are not the intended recipient, you are hereby notified that
 any review, use, dissemination, disclosure or copying of this email
 and its attachments, if any, is strictly prohibited.  If you have
 received this email in error, please immediately notify the sender by
 return email and delete this email from your system."


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: rsync over nfs or rsync protocol

2011-09-23 Thread Jerry McAllister
On Fri, Sep 23, 2011 at 02:04:03PM -0700, Jason C. Wells wrote:

> I am looking into finally setting up a backup solution that's a little 
> more sophisticated than a bunch of DVD-RWs.  I have two servers.  I'd 
> like to make each a backup server for the other.  I'm considering using 
> rsync.

> Is rsync a good choice for a backup tool?

rsync can be used effectively.  The optimum solution really depends on 
how much total disk and how much changes between each run.

> Should I use the rsyncd or should I use NFS?  I'm using 100 mbps ethernet.
> What's the better solution I haven't considered?

Why would you interject NFS in the middle of it?

jerry

> 
> Thanks,
> Jason
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: rsync over nfs or rsync protocol

2011-09-23 Thread David Brodbeck
On Fri, Sep 23, 2011 at 2:04 PM, Jason C. Wells  wrote:
> I am looking into finally setting up a backup solution that's a little more
> sophisticated than a bunch of DVD-RWs.  I have two servers.  I'd like to
> make each a backup server for the other.  I'm considering using rsync.
>
> Is rsync a good choice for a backup tool?

rsync is good for mirroring one file tree to another.

If you want a complete backup system centering around rsync, check out BackupPC.

NFS will let you mount one server's files from another, but you'll
still need to use something to copy the files over; either rsync or
something else.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: rsync over nfs or rsync protocol

2011-09-23 Thread Chuck Swiger
On Sep 23, 2011, at 2:04 PM, Jason C. Wells wrote:
> Is rsync a good choice for a backup tool?

It's OK.  A versioned backup system (dump/restore, Legato Networker, Amanda, 
Retrospect, etc) is more efficient at using backup storage.

> Should I use the rsyncd or should I use NFS?  I'm using 100 mbps ethernet.

If it's local and you already have NFS in place, that would be fine.  If you're 
backing up over a WAN, rsyncd is probably a better call.

> What's the better solution I haven't considered?

Lots.  The handbook has a chapter on backups which is worth reading, also

Regards,
-- 
-Chuck

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: rsync over nfs or rsync protocol

2011-09-23 Thread Bill Campbell
On Fri, Sep 23, 2011, Jason C. Wells wrote:
> I am looking into finally setting up a backup solution that's a little  
> more sophisticated than a bunch of DVD-RWs.  I have two servers.  I'd  
> like to make each a backup server for the other.  I'm considering using  
> rsync.
>
> Is rsync a good choice for a backup tool?
> Should I use the rsyncd or should I use NFS?  I'm using 100 mbps ethernet.
> What's the better solution I haven't considered?

We use rsync extensively for backups on local LANs as well as
off-site via the 'Net.

My experience using NFS for this was not good, but it's been many
years since I last tried this so I don't remember the details.

Bill
-- 
INTERNET:   b...@celestial.com  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
Voice:  (206) 236-1676  Mercer Island, WA 98040-0820
Fax:(206) 232-9186  Skype: jwccsllc (206) 855-5792

Windows is a computer virus with a user interface!!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Trying to build Nessus 4 from ports

2011-09-23 Thread Michael D. Norwick

Good Day

Trying to build /usr/ports/security/nessus on FreeBSD 9-beta2 with ports 
updated via - portsnap fetch update - completed 09/22/2011.  The result 
from #>make;


===>  Applying FreeBSD patches for nessus-libraries-2.2.9_1
===>   nessus-libraries-2.2.9_1 depends on executable: bison - found
===>   nessus-libraries-2.2.9_1 depends on package: libtool>=2.4 - found
===>  Configuring for nessus-libraries-2.2.9_1

*   W a r n i n g  *
*  *
* Nessus needs Berkeley Packet Filter (bpf).   *
* To use nessus, your kernel must be rebuilt with bpf, *
* and make bpf devices on /dev directory.  *
*  *
* Be sure to build as many bpf devices as you need.*
* For more info on this read files/README.BPF  *

*** Error code 1

Stop in /usr/ports/security/nessus-libraries.
*** Error code 1

Stop in /usr/ports/security/nessus-libnasl.
*** Error code 1

Stop in /usr/ports/security/nessus.

From an earlier post on freebsd-questions I added;

# Historically X depended on this, but version 4.3.0 doesn't seem to anymore
#linkttyv0vga

# Commonly used by many ports
#linkacd0cdrom

# Allow a user in the wheel group to query the smb0 device
#permsmb00660

# Allow members of group operator to cat things to the speaker
#ownspeakerroot:operator
#permspeaker0660

own bpf0root:bpf
permbpf00640
own bpf1root:bpf
permbpf10640
own bpf2root:bpf
permbpf20640
ownbpf3root:bpf
permbpf30640
ownbpf4root:bpf
permbpf40640

to /etc/devfs.conf.  But I still get;

crw-r-  1 root  bpf 0,  11 Sep 22 21:14 bpf
lrwxr-xr-x  1 root  wheel3 Sep 22 21:14 bpf0 -> bpf
crw-rw-rw-  1 root  wheel   0,  49 Sep 22 21:14 bpsm0

in /dev after rebooting.  Do I require a statement in rc.conf or 
loader.conf to activate more bpf devices?  Am I editing the right file 
the wrong way?  The proper handbook chapter escapes me right now.


Previous to trying to build nessus from ports I built a new kernel with 
- device  bpf enabled.


Thank You,
Michael


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: rsync over nfs or rsync protocol

2011-09-23 Thread David Brodbeck
On Fri, Sep 23, 2011 at 2:15 PM, Chuck Swiger  wrote:
> Lots.  The handbook has a chapter on backups which is worth reading, also

True.  Personally, I like dump/restore for disaster-recovery backups
on FreeBSD.  However, if you frequently need individual file recovery
(e.g., Joe User deletes an important file and wants it back) or if you
need to back up systems running something other than FreeBSD, BackupPC
is hard to beat for disk-to-disk backup.  If you're going to tape you
might want something like Amanda, instead.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Overwrite bsd tar

2011-09-23 Thread Lowell Gilbert
Esimorp E  writes:

> [prom@pcbsd-2112] /home/prom# ls -la /usr/bin/tar
> lrwxr-xr-x  1 root  wheel  6 Jul 18  2010 /usr/bin/tar -> bsdtar
> [prom@pcbsd-2112] /home/prom# ls -la /usr/local/bin/gtar
> ls: /usr/local/bin/gtar: No such file or directory
> [prom@pcbsd-2112] /home/prom# 
>
> Please, what would the best way to resolve this problem?

If you want gnu tar, which based on the earlier messages in this thread
I think you do, you should install it.

E.g.:
cd /usr/ports/archivers/gtar 
(su if necessary)
make install
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Overwrite bsd tar

2011-09-23 Thread Adam Vande More
On Fri, Sep 23, 2011 at 4:18 PM, Lowell Gilbert wrote:

> If you want gnu tar, which based on the earlier messages in this thread
> I think you do, you should install it.
>
> E.g.:
> cd /usr/ports/archivers/gtar
> (su if necessary)
> make install
>

Being aware of the "XY Problem" and http://www.lemis.com/questions.html is
always something a newbie should understand.

-- 
Adam Vande More
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"