Re: If the mirror sites (all four I've tried now from all over the world) have the FreeBSD 6.1 downloads contain the FreeBSD4.11 image, how is one supposed to download V6.1?

2007-09-27 Thread Bill Moran
Brett Davidson <[EMAIL PROTECTED]> wrote:
>
> I, for one, would really like to get a copy of FreeBSD 6.1.
> :-)

1) Why use 6.1 when you could use 6.2?
2) What on earth are you talking about?

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


Re: If the mirror sites (all four I've tried now from all over the world) have the FreeBSD 6.1 downloads contain the FreeBSD4.11 image, how is one supposed to download V6.1?

2007-09-27 Thread Bill Moran
Brett Davidson <[EMAIL PROTECTED]> wrote:
>
> Bill Moran wrote:
> > Brett Davidson <[EMAIL PROTECTED]> wrote:
> >   
> >> I, for one, would really like to get a copy of FreeBSD 6.1.
> >> :-)
> >
> > 1) Why use 6.1 when you could use 6.2?
> > 2) What on earth are you talking about?
> >
> >   
> Because the software I'm attempting to use is "supported" only on 
> FreeBSD 6.1.
> And what I'm talking about is when you download the FreeBSD6.1 ISO images,
> the installed system (according to uname) is 4.11.

This is almost certainly pilot error.

Did the md5 check out?

... and please keep the mailing list in the CC.

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


Re: Backup Solution

2007-09-28 Thread Bill Moran
In response to "dhaneshk k" <[EMAIL PROTECTED]>:

> Hi  everybody ,
> 
>I like to know the different backup techniques that is very cheaper (I 
> cant go for a SAN, mirror ..  even if I can purchase those,please excuse me  
> because I believe more productivity @ less resources )for my webserver, but 
> any solution logicaly the cheapest one ,by which I can restore all the data 
> that I have just before the server crash(if it occurs)
> 
> What I followed was I configured a crontab in mydesktop PC which will run  
> rsync utility through ssh  to my webserver at 23 rd hour of  a day . so I 
> can get incremntal backup of the directories and database ( that I 
> configuerd for rsync )daily .
> 
> But I want a solution through that I can restore my server without any data 
> lose (ex: if the server crashes at 23.30 hour  then that 30 minutes data I 
> lose ).
> 
> So many  experts   here in this mailing lists can suggest their techniques 
> for a full system recovery(& backup solutions) after the crash without  any 
> data lose.

rsync more often.  Seriously.  If your data is that important, put it in
a loop and run it nonstop, or with a 5-minute sleep between each run.

In general, however, the requirements you seem to be asking for don't
fall under the category of "cheap".  There are some things you just can't
do cheaply, and getting up to the minute backups is one of them.

Who are all these other people in the recipient list?

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


Re: Memory ignored

2007-10-07 Thread Bill Moran
"TAJUL AZHAR Mohd Tajul Ariffin" <[EMAIL PROTECTED]> wrote:
>
> Hi all,
> i am maybe new to BSD. I had setup my DELL server 2900 to run freeBSD
> 7.0server but i have seen a message that ignored my 4GB of my memory
> in my
> server. Can somebody tell me what is happening  and give me some idea so
> that i can maximize my memory usage. My total memory is 8GB.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/troubleshoot.html#PAE

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


Re: 1 TB data copy

2007-10-12 Thread Bill Moran
In response to "Monah Baki" <[EMAIL PROTECTED]>:

> Hi all,
> 
> We have a windows 2003 server and 1 freebsd 6.2 server. The 2003 server
> supports USB 1 while the freebsd supports usb 2.
> We went and purchased an external 1 TB usb 2 harddrive.
> Our objective is to copy 700GB worth of data from the windows to the freebsd
> server then take the external harddive to a remote client who runs windows
> 2003 and then copy the data back to the windows server.
> The throughput of copying the data from windows to the usb attached to it
> was ridiculous, more than 12 hours to copy 60GB of data.
> I tried copying a 1GB file from windows to the usb attached to the freebsd
> and it took less than 5 minutes, but ofcourse when I tried to mount the
> usb back to the windows box I could not see the 1GB file that I copied.
> How can use the freebsd as the destination copy since it has a much better
> throughput and at the same time have the windows box see the 600GB file
> that was copied once I attach the usb harddrive to it.

I expect the filesystem is the problem.  Windows doesn't understand UFS.

FAT has been the traditional solution to this, since just about every OS
understands FAT, but I don't believe FAT will support files as large
as you're working with.

I'm not completely up to speed with FreeBSD's NTFS support.  Last I looked
at it, it was experimental and there were warnings everywhere.  I assume
it's improved since then (~3 years ago) but can't say with authority.
However, I think that's your only option.  Luckily, since you're just
using the USB drive to move a file, and can keep it safe in another
location until you're sure it transferred safely, this shouldn't be too
risky.

I would format the drive with the Windows machine and make it NTFS, then
work with the FreeBSD mount options to get FreeBSD to mount it.  Have a
look at mount_ntfs.

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


Re: mailing list

2007-10-13 Thread Bill Moran
"John Tele2" <[EMAIL PROTECTED]> wrote:
>
> K you please stop sending me this spam from your account:
> [EMAIL PROTECTED]

Note below:

> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Each mail contains information on how to unsubscribe from the mailing
lists.

If you have attempted to unsubscribe and have been unsuccessful, an
email to [EMAIL PROTECTED] _detailing_ your attempts and including
an example email will likely produce results.

Unfortunately, it's impossible to assist you with the small amount of
information you've provided.  In addition, this list will not be
monitored by the people who can actually do anything about your
predicament.

Hope this helps.

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


Re: www.freebsd.org won't load in IE 7.x in vista box.

2007-10-17 Thread Bill Moran
In response to Lisandro Grullon <[EMAIL PROTECTED]>:

> This is insane, the FreebSD team needs to find a more liable solution to this 
> problem, hence some of our prospects users that will be browsing the site 
> with vista machi9nes will just go away without knowing what is going on. Is 
> the team currently working gin a solution to this problem, after all most 
> networks still routing through IPv6. Patiently waiting for an 
> answer...Lisandro Grullon

The following is taken from the script of government informational video
#3378:

Commentator: Fear not!

[Cut to scenes of Post WWII networking facilities ravaged by the war.
Half-starving network technicians are trying to repair antiquated
routers and switches.]

Commentator: The FreeBSD team is working feverishly to solve this problem.
Unfortunately, the resolution requires the replacement of billions of
dollars worth of network equipment spread across the world, much of it
owned by private companies who have little or no knowledge of the
problem or the solution.

[Cut to air-drops of new networking equipment being dropped over war-
torn cities.  Crowds of people line the streets and cheer as the
parachutes drop gently to the ground right in front of the local telco.]

Commentator: Luckily, the FreeBSD project has scores of influential
computer technicians all over the world, and they're all working to
solve the problem.  We believe that, in time, this scourge on our
network can be removed!

[Cut to shots of community groups meeting in churches with laptops.]

Commentator: What can you do to help?  Work to track down the exact
cause of your particular network problem and report it to the responsible
party.  Volunteer with your local user's group for whatever needs done!
Help to organize others and spread the news!


> > Date: Wed, 17 Oct 2007 15:07:55 +0200
> > From: [EMAIL PROTECTED]
> > To: [EMAIL PROTECTED]
> > CC: freebsd-questions@freebsd.org
> > Subject: Re: www.freebsd.org won't load in IE 7.x in vista box.
> > 
> > On 10/16/07, Lisandro Grullon <[EMAIL PROTECTED]> wrote:
> > > Dear all users,
> > > After troubleshooting from all angles this problem i have run out of 
> > > imagination/sense. I loaded a machine with Windows Vista a work and try 
> > > accessing the www.freebsd.org website. The web site didn't load, yet I 
> > > try again in 10 other machines to see if it was a machine issue. Lastly I 
> > > try loading the size in a Windows XP machine and it works ok. What seems 
> > > to be the problem in this case? I have run out of ideas and even ask a 
> > > few colleges at work and they don't seem to have a clue either. Please 
> > > advise. Lisandro grullon
> > 
> > >From the section "Compatibility problems" of
> > http://en.wikipedia.org/wiki/TCP_window_scale_option
> > 
> > "TCP Window Scaling is widely implemented in the Windows Vista
> > operating system. Because many routers do not properly implement TCP
> > Window Scaling, it can cause a users Internet connection to
> > malfunction intermittently for a few minutes, then appear to start
> > working again for no reason. If "diagnose problem" is selected in
> > Vista, an error message will be displayed "cannot communicate with
> > primary DNS server."
> > "
> > --
> > ___
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 
> _____
> Peek-a-boo FREE Tricks & Treats for You!
> http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"


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


Re: Why 7.0 is so late ?

2007-10-17 Thread Bill Moran
In response to "Gueven Bay" <[EMAIL PROTECTED]>:

> 2007/10/17, Wojciech Puchar <[EMAIL PROTECTED]>:
> > >
> > > while companies like Microsoft must publish in time to make the share 
> > > holders
> >
> > not to mention that microsoft regularly has delays like year.
> >
> > > happy, FreeBSD can afford to wait until the programmers are convinced that
> > > their work is good enough for the public.
> > >
> > > Erich
> 
> Please,
> 
> stop mentioning this company in every discussion that "seems" to
> "attack" *BSD in some way.
> 
> Discussing M. - especially their development processes or business
> tactics - does not accomplish anything for us.
> 
> First acknowledge that FBSD 7 is late. The estimate was for 5 months
> ago. And if I say to someone I want to meet him at 8 o'clock but
> arrive 78 hours later, then I am late. Period.
> 
> But as several community members already said: No one is really
> waiting for 7 so that the developers can take their time to make it as
> perfect as possible.
> 
> So, but the original question was : What is not working _now_  at this
> moment so that 7 cannot be released _now_ ?
> The original question was not (I repeat NOT): Which  international
> conspiracy is holding up the developers of FreeBSD 7 from releasing?
> Without discussing M. or the Illuminati and U.F.O.s

AHA!  I knew that the Illuminati were using UFOs to hold up this
releast! I knew it!

[Wrapping the tinfoil around my head]  Who's paranoid now? huh?  You
all laughed at me before, but now you see I was right all along!

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


Re: How To Change Email Addr?

2007-10-18 Thread Bill Moran
In response to [EMAIL PROTECTED]:

> Will rebooting the server update newaliases?

newaliases is a command you run to update the alias database.

Rebooting will not automatically run newaliases, unless someone has
written a custom startup script for you server.  I would consider
running newaliases at every startup A Bad Idea(tm).

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


Re: defend from -> :() { :&:; } ;:

2007-10-22 Thread Bill Moran
In response to Danielisz Laszlo <[EMAIL PROTECTED]>:

> Please do not try to execute this: :() { :&:; } ;: on your BSD machine.

Why not?  It's just a fork() bomb.

> I ask all who already tried it how to defend from this?

Defend from what?  Make a policy that form() bombs are not funny and
launching them is grounds for account termination.  Then terminate the
account of anyone who does it.  Or put appropriate ulimits in place to
lessen the impact.

In any event, a user can bog down a system without launching a fork()
bomb.  If you don't have policies in place to delineate acceptable and
unacceptable behaviour, you'll have problems.

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


Re: defend from -> :() { :&:; } ;:

2007-10-22 Thread Bill Moran
In response to Martin Tournoij <[EMAIL PROTECTED]>:

> On Sun 21 Oct 2007 12:10, Danielisz Laszlo wrote:
> > Please do not try to execute this: :() { :&:; } ;: on your BSD machine.
> > I ask all who already tried it how to defend from this?
> 
> Wow,, my machine just crashed :-/
> Does in this work on other OS's as well (ie. GNU/Linux)? Or just
> (Free?)BSD? I really don't feel like crashing another machine right
> now...

It's a fork bomb.  It affects every OS that has fork() or equivalent.

> Only works in sh, not in csh.

No, it works in csh, the syntax is different.

> Anyway, this seems to be security/stability issue, maybe a PR is in
> order?

No.  Research (on your point) into fork bombs and how to configure
the system to handle them properly is in order.

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


Re: Mentor for C self study wanted

2007-10-23 Thread Bill Moran
In response to cpghost <[EMAIL PROTECTED]>:

> On Tue, 23 Oct 2007 20:44:52 +0200
> Harald Schmalzbauer <[EMAIL PROTECTED]> wrote:
> 
> > The first one was for example the attached code: Why does it segfault?
> 
> Mailman ate the attachment... Can't see it here.

I may be out of line, but I think if you're using FreeBSD as your
learning platform, that it wouldn't be a problem to ask this list.

Although, you'll have to include your code inline to get past the
sanitizers.

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


Re: the right next step?

2007-10-23 Thread Bill Moran
John Nielsen <[EMAIL PROTECTED]> wrote:
>
> On Tuesday 23 October 2007, Aliya Harbouri wrote:
> > Hi everybody!
> >
> > If we've
> >
> >  i)   raised a question about a port on this list
> >  ii)  sent an email to the port maintainer
> >  iii) filed a pr
> >  iv)  waited ~ a month, then followed-up the pr
> >
> > and there's still no communication / action, what's the right next
> > step?  Is there a different list to communicate to/on for follow-up?
> 
> Does your PR include a fix?
> 
> If it does, make some noise about it on the freebsd-ports mailing list and 
> include the PR number and the fact that you've not heard back from the 
> maintainer.
> 
> If it doesn't, you might still want to bring it up on -ports, but getting it 
> fixed depends on someone volunteering to take ownership of the problem (if 
> not outright maintainership of the port).

Note also that a ports freeze is starting soon for 7.0 and 6.3 release.
During the freeze, you'll have difficulty getting any ports changes
through.

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


Re: Low-cost online disk backup solution on FreeBSD. Hardware/Software recomendations?

2007-10-24 Thread Bill Moran
In response to Victor Meirans <[EMAIL PROTECTED]>:

> Good day,
> 
> I need an advice. What hardware/software would you recommend for online 
> disk backup server solution on FreeBSD?
> 99% of clients will be Windows XP/Vista users and the main requirement 
> is low cost solution meaning that the client license should be free 
> (GPL?) or low-priced compared to Tivoli or other vendors.
> 
> I was looking at BoxBackup as a software and gonna test it pretty soon, 
> I like the encription feature. Any sucess stories with it? Pros/Cons? Or 
> other recomendations?

Investigate both Bacula and BackupPC.  Both might suit your needs,
depending on the exact details of your needs.

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


Re: Mentor for C self study wanted

2007-10-25 Thread Bill Moran
In response to Oliver Fromme <[EMAIL PROTECTED]>:

> Harald Schmalzbauer wrote:
>  > 
>  > #include 
>  > 
>  > void main()
> 
> That's not a C program.  :-)
> 
> The return value of the main function of a valid C program
> must be int.  And of course, your main function should
> end with "return 0;" or "exit(0);" (the latter requires
> "#include " at the top).
> 
> By the way, I recommend you get a copy of the C standard
> and use it for reference.  You can buy a digital copy (PDF)
> at  http://webstore.ansi.org/  (Search for "9899-1999"),
> it's $30.  Alternatively ask Google for "C99 draft" to get
> a free copy of a draft of the standard, which isn't very
> different from the final standard.
> 
> You can also buy a hardcopy of the standard (i.e. a book),
> but it was ~ $300 last time I looked.

If we're recommending books, I can't say enough good things
about the Kernighan and Richie C book:
http://www.amazon.com/C-Programming-Language-2nd/dp/0131103628/ref=pd_bbs_2/105-1904293-7155604?ie=UTF8&s=books&qid=1193326006&sr=1-2

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


Re: Help with Cron pleazzzzzzzzzzzz

2007-10-31 Thread Bill Moran
In response to VeeJay <[EMAIL PROTECTED]>:

> Hello Gurus….
> 
> 
> 
> I am running a status script written in Perl (*status.pl*) and want to have
> it *Always Running*.
> 
> 
> 
> How can I check through CRON that "status.pl" is running and if NO, then
> start the script execution again?
> 
> 
> 
> Please help and advise…

Have you considered something like daemontools?  It's designed for such
a task, as opposed to reinventing the wheel.

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


Re: Configure to use WITH_DEBUG

2007-11-05 Thread Bill Moran
In response to White Hat <[EMAIL PROTECTED]>:

> I have a system that I am setting up that will only be used to test programs. 
> I therefore want all programs built with debug code. To facilitate that task, 
> I was wondering if I could put a global flag in the '/etc/make.conf' file. 
> Assuming that would work, which of these is the better solution.
>  
> 1)WITH_DEBUG
> 2)WITH_DEBUG=1
> 3)WITH_DEBUG=true
> 4)-DWITH_DEBUG
>  
> If there is a better solution, I would appreciate hearing about it.

#2 and #3 will work.
The key is that the variable is set, not what it's set to.  As a joke,
you can do WITH_DEBUG=no in make.conf, and confuse the hell out of other
sysadmins.

Note that there may be additional port-specific debugging that would
not be turned on by the global WITH_DEBUG, but you'll have to handle
that on a port-by-port basis.

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


Re: /bin/sh Can one Easily Strip Path Name from $0?

2007-11-14 Thread Bill Moran
In response to Martin McCormick <[EMAIL PROTECTED]>:

>   I am ashamed to admit that I have been writing shell
> scripts for about 15 years but this problem has me stumped. $0
> is the shell variable which contains the script name or at least
> what name is linked to the script. The string in $0 may or may
> not contain a path, depending upon how the script was called. It
> is easy to strip off the path if it is always there
> 
> #! /bin/sh
> PROGNAME=`echo $0 |awk 'BEGIN{FS="/"}{print $NF}'`
> echo $PROGNAME
> 
> That beautifully isolates the script name but if you happen to
> call the script without prepending a path name such as when the
> script is in the execution path, you get an error because there
> are no slashes in the string so awk gets confused.
> 
>   Is there a better way to always end up with only the script name and
> nothing else no matter whether the path was prepended or not?

basename $0

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


Re: shell programming

2007-11-14 Thread Bill Moran
In response to Bill Banks <[EMAIL PROTECTED]>:

> What am I doing wrough here:
> 
> #!/bin/sh
>  $DAYN='/bin/date +%a' + "_master.sql"
>  mysqldump master > $DAYN

Those look to be single quotes and not backquotes.  (backquote is
the upper left key on most keyboards)

> 
> Wojciech Puchar wrote:
> > dayoftheweek=`date +%w`
> >
> >
> >
> > On Fri, 9 Nov 2007, Bill Banks wrote:
> >
> >> I'm  writing a backup script. I need to get the day of the week into 
> >> a variable. How can I do it?
> >>
> >> -- 
> >> ---
> >> Bill Banks 508-829-2005
> >> Wachusett Programming  Ourweb
> >> http://www.ourweb.net
> >> http://www.ourwebtemplates.com
> >>
> >>
> >> ___
> >> freebsd-questions@freebsd.org mailing list
> >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> >> To unsubscribe, send any mail to 
> >> "[EMAIL PROTECTED]"
> >>
> >>
> >
> >
> 
> -- 
> ---
> Bill Banks 508-829-2005
> Wachusett Programming  Ourweb
> http://www.ourweb.net
> http://www.ourwebtemplates.com
>   
> 
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"


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


Re: hyperthreading CPU and broken scheduling?

2007-11-19 Thread Bill Moran
In response to Dinesh Nair <[EMAIL PROTECTED]>:

> On Sun, 18 Nov 2007 12:29:32 +0200, Manolis Kiagias wrote:
> 
> > Wojciech Puchar wrote:
> > > i have machune with intel's CPU with hyperthreading.
> > >
> > > it is detected right, but only first thread is ever used.
> > >
> > > top shows at least 50% idle no matter what i run!
> > >
> > > what's wrong?
> > To enable hyperthreading, try setting the following in /etc/sysctl.conf:
> > 
> > machdep.hyperthreading_allowed=1
> > 
> > and reboot (or execute sysctl machdep.hyperthreading_allowed=1 by hand).
> 
> would an SMP kernel be required to properly use hyperthreading, or would
> just the above sysctl setting be enough ?

The SMP kernel is required as well.

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


Re: What's "unknown" about i386-unknown?

2007-11-20 Thread Bill Moran
In response to "Dan Mahoney, System Admin" <[EMAIL PROTECTED]>:

> Hey all.
> 
> I see i386-unknown as a build target all the time.
> 
> So my (possibly silly) question is: what's the unknown variable here?  And 
> why isn't it?

I seem to remember a conversation about this, and that the original
spec for that string required a "physical location" after the architecture.

I'm guessing that at the time it was very important to know which of
the few physical machines did the job.

If my memory is reliable, it's not that the information is "unknown", it's
just that nobody cares any more, therefore nobody bothers to enter the
physical location information.

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


Re: What's "unknown" about i386-unknown?

2007-11-20 Thread Bill Moran
In response to Tino Engel <[EMAIL PROTECTED]>:

> Bill Moran schrieb:
> > In response to "Dan Mahoney, System Admin" <[EMAIL PROTECTED]>:
> >
> >   
> >> Hey all.
> >>
> >> I see i386-unknown as a build target all the time.
> >>
> >> So my (possibly silly) question is: what's the unknown variable here?  And 
> >> why isn't it?
> >> 
> >
> > I seem to remember a conversation about this, and that the original
> > spec for that string required a "physical location" after the architecture.
> >
> > I'm guessing that at the time it was very important to know which of
> > the few physical machines did the job.
> >
> > If my memory is reliable, it's not that the information is "unknown", it's
> > just that nobody cares any more, therefore nobody bothers to enter the
> > physical location information.
> >
> 
> Well, I actually have i386-portbld-7,0-BETA3.
> How does that fit?

Don't know.  It's entirely possible that I'm remembering wrong.

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


Re: routing problem

2007-11-21 Thread Bill Moran
In response to "Alaor Barroso de Carvalho Neto" <[EMAIL PROTECTED]>:

> Sorry my english skills, I'm brazilian and I'm not very familiar with the
> language, but I'm gonna try to explain it clearly:
> 
> LINUX SERVER
> private network 192.168.1.1
> external network x.x.x.x
> 
> FREEBSD SERVER
> private network 192.168.1.240
> external network x.x.x.x
> 
> DNS SERVER
> private network 192.168.1.2
> 
> The LINUX machine is the network gateway, I want the FREEBSD to be the
> gateway, so I tested the freebsd machine configuring some clients manually
> to use the 192.168.1.240 as gateway, 3 machines, everything worked. So I
> thought: time to replace the linux server. So I turned off the linux machine
> and changed the ip of freebsd to 192.168.1.1, just it, and then it stop
> working, it can resolv dns for some seconds and then stop. Something I've
> noticed, when it's not the network gateway in fact, with just some machines
> using it as gateway, the return of netstat -r is ok, with the routes of the
> machines accessing it, the active conections, if I just change the ip and
> turn off the LINUX machine, the netstat -r return me no routes at all.
> Pretty strange.
> 
> My nameserver is just
> searchdomain ...
> nameserver 192.168.1.1

You've pointed the FreeBSD machine at itself for DNS.  Do you have a DNS
server running on this system?  If not, you need to point it at a valid
DNS server.

If routes are missing then something is configured wrong.  If you'd post
the contents of /etc/rc.conf, it's more likely that we could provide
more detailed assistance.

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


Questions on behaviour of fetch(3) regarding HTTPS + proxy

2007-11-21 Thread Bill Moran

It seems that if I set HTTP_PROXY, fetch(1) works just dandy, _UNLESS_
I'm trying to fetch an https document, in which case it seems to
ignore HTTP_PROXY.

I suspect that this is occurring somewhere in the fetch(3) library, as
the htmldoc port behaves the same way.

Is this intended behaviour?  If so, how can I control it?  The systems
in question have no way to connect without using the proxy, and I'd
like to convince fetch(3) to use the proxy for https as well.  My
perusal of the documentation hasn't turned up anything related to this,
so I'm grepping through the source code right now.

-- 
Bill Moran
Collaborative Fusion Inc.
http://people.collaborativefusion.com/~wmoran/

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


Re: Questions on behaviour of fetch(3) regarding HTTPS + proxy

2007-11-22 Thread Bill Moran
RW <[EMAIL PROTECTED]> wrote:
>
> On Wed, 21 Nov 2007 10:27:48 -0500
> Bill Moran <[EMAIL PROTECTED]> wrote:
> 
> >  The systems
> > in question have no way to connect without using the proxy, and I'd
> > like to convince fetch(3) to use the proxy for https as well. 
> 
> curl & wget work, if it's any help

Unfortunately, we're working with htmldoc, which seems to behave as
fetch does.  htmldoc doesn't seem to have any way to use external
libraries.

Thanks for the suggestion.

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


Re: firewall is blocking our access

2007-11-22 Thread Bill Moran
Rodrigo Moura Bittencourt <[EMAIL PROTECTED]> wrote:
>
> Dear Gentlemen,
> 
> We INPE / CPTEC an institution of meteorology government of Brazil, we 
> are having trouble accessing the servers of FreeBSD, we believe that 
> your firewall is blocking our access.

While this is possible, I find it unlikely.

What evidence do you have to show that it's a firewall blocking
communication?  Furthermore, what evidence do you have to show that it's
a firewall under the control of the FreeBSD project.

I (and I'm sure others on this list) will be happy to help, but you're
going to have to provide more details of the problem.  What, exactly,
are you trying to do, and how, exactly, is it failing.  Please provide
exact commands and responses (error messages).

Additionally, the output of "traceroute www.freebsd.org" from the
problematic server would be helpful.

I've removed various emails from the return message, as there's no reason
to spam them with troubleshooting on the questions mailing list.

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


Re: Questions on behaviour of fetch(3) regarding HTTPS + proxy

2007-11-22 Thread Bill Moran
Antony Mawer <[EMAIL PROTECTED]> wrote:
>
> On 22/11/2007 2:27 AM, Bill Moran wrote:
> > It seems that if I set HTTP_PROXY, fetch(1) works just dandy, _UNLESS_
> > I'm trying to fetch an https document, in which case it seems to
> > ignore HTTP_PROXY.
> 
>  From memory:
> 
>  export HTTPS_PROXY="http://myproxy:8080";

That doesn't do anything, as far as I can tell.

I did some digging into the code, and it seems as if this is not supported
at all by libfetch.  It also seems as if htmldoc isn't using libfetch but
simply follows the same logic, so the question becomes moot for me.

Thanks for the input.

-- 
Bill Moran
Collaborative Fusion Inc.

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


Re: RAID1 synchronisation - howto OR not necessary?

2007-11-22 Thread Bill Moran
"Jan Catrysse" <[EMAIL PROTECTED]> wrote:
>
> Dear subscribers,
> 
> I am currently running a production server:
> FreeBSD 6.2 STABLE
> Onboard Intel ICH8R Raid 1 with 2x SATA300 500GB HDD
> Using ATA for Raid1
> 
> On Windows systems it is an absolute must to do a Raid Synchronisation
> every once and a while to maintain data consistency.

Wow.  Any RAID controller with that requirement is junk.  Where did you
get the information from that you had to synchronize?  Does it say so
in the manual?  Does it actually say "every once and a while" or does it
give a specific schedule.

I suspect that you have wrong information ... but if your information is
correct, I'd get a refund on that RAID controller.

> I am some what disturbed that that kind of command / tool seems not
> available on FreeBSD.

There is not, because such a thing should not be necessary.

> Are there other methods to do the synchronisation?
> 1) Maybe atacontrol detach & atacontrol addspare & atacontrol rebuild?
> 2) Maybe data consistency is always maintained automatically by the
> driver?
> 3) Maybe I have to panic and urgently make backups?

If resyncing your raid on a regular basis is truly a requirement, I'd do
#3 at least, followed by getting my money back.

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


Problems with zzz failing on FreeBSD 7/amd64

2007-11-23 Thread Bill Moran

Been spending some time setting up my new Lenovo T61 laptop.

7.0 ... just cvsupped and build world/kernel yesterday.  Ports have
installed nicely, have xfce4, Firefox, Sylpheed, OpenOffice.org.

So far, the only snag I'm getting is suspending the laptop.  Entering
zzz returns:
acpiconf: request sleep type (3) failed: Operation no supported

I've tried manually kldloading acpi_ibm.ko (which seems to recognize
the Thinkpad) but it doesn't change the problem.

I'm open to any suggestions.  I don't need this laptop for a few weeks,
so I'm open to just about any type of debugging folks could ask me to
do.

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


Re: RAID1 synchronisation - howto OR not necessary?

2007-11-23 Thread Bill Moran
"Jan Catrysse" <[EMAIL PROTECTED]> wrote:
> 
> I didn't dig in GEOM because I wondered what happens if the primary
> disk fails when two disks are in a RAID1 config?

There is no "primary" disk in a GEOM RAID1.  If the BIOS has a concept of
"primary" disk, then it's a BIOS issue and the answer will depend on the
BIOS.

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


Does anyone know how to get the required downloads from Sun to build Java?

2007-11-23 Thread Bill Moran

It appears as if jdk 1.5 is now at version 14, but the FreeBSD ports
still requires version 13.

Luckily, Sun is run by a bunch of Nazis, and doesn't use a standard
directory tree to distribute their stuff.  After 15 minutes of searching
I can't figure out how to get the version 13 stuff off their site, and
thus I can't build OpenOffice.org for my shiny, new laptop ...

Does anyone have any advice on how to get the required files from Sun?

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


Re: routing problem

2007-11-23 Thread Bill Moran
"Alaor Barroso de Carvalho Neto" <[EMAIL PROTECTED]> wrote:
>
> 2007/11/23, Bill Moran <[EMAIL PROTECTED]>:
> >
> > "Alaor Barroso de Carvalho Neto" <[EMAIL PROTECTED]> wrote:
> > >
> > > OK guyz, I did some tests and I found the error, like you said, it's a
> > > config problem with the routes, I thought the routed daemon would care of 
> > > it
> > > for me but it seems like it don't. Please I ask you to forget the 
> > > scenario I
> > > said before, now what i have is:
> > >
> > > The dns server is now with the IP 192.168.1.1. But to turn things more 
> > > easy
> > > I installed it in the FreeBSD box that is gonna be my gateway and proxy
> > > machine, so the problem isn't about the dns anymore.
> > >
> > > I work in a school and I have now this sccenario two local networks,
> > > 192.168.1/24, an administrative network and 192.168.2/24, an academic
> > > network, plus I must have access to a network of other school with the ip
> > > 10.10/16, because they share their database serverwith us. So the FreeBSD
> > > machine have four network cards:
> > >
> > > em0 external world XXX.XXX.XXX.XXX
> > > rl0 adm 192.168.1.80
> > > rl1 acad 192.168.2.90
> > > rl3 database 10.10.0.50
> > >
> > > They are all separated networks. What I want: 192.168.2 should only access
> > > the internet, shouldn't have access to 192.168.1 or 10.10/16.
> > > 192.168.1should access the internet and
> > > 10.10/16, but shouldn't access the academic network. 10.10/16 should 
> > > access
> > > only the 192.168.1 network, but it's not a problem if they had access to
> > > internet too.
> > >
> > > How I would set up my rc.conf with my static routes?
> >
> > This is beyond the scope of routing.  You'll need to install a packet
> > filter.  The best at this time is probably pf:
> >
> > http://www.freebsd.org/cgi/man.cgi?query=pfctl&sektion=8&apropos=0&manpath=FreeBSD+6.2-RELEASE
> >
> > http://www.freebsd.org/cgi/man.cgi?query=pf.conf&apropos=0&sektion=0&manpath=FreeBSD+6.2-RELEASE&format=html
> 
> Yes, I have IPFIlTER installed, but if I would want to everybody ping to
> everybody and then block the things in the firewall, it isn't about routes?
> because neighter of my networks are pinging to any other right now. By ping
> I mean have access. I thought it would have something to do with setting
> routes. BTW, my ipfilter now just pass everything because I'm building the
> server, but I already have a config file with the blocks that I would apply.

That's a completely different scenario than the one you described in
your previous message.

Do you have gatetway_enable="YES" in /etc/rc.conf?

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


Re: firewall is blocking our access

2007-11-23 Thread Bill Moran
Rodrigo Moura Bittencourt <[EMAIL PROTECTED]> wrote:
>
> Prazado Bill Moran,

Take a bit of advice -- wildly CCing dozens of people is just going to piss
people off and cause them to start ignoring you.  You'll get much more
helpful results if you take the time to understand who you need to be
contacting, and contact only that person.

I understand that in the business world it's normal to CC everyone and all
of their managers as well, but that's because in the business world,
politics is more important than getting things done.

> The reason we believe to be problems of a firewall is to make the 
> connection through a proxy, we managed to connect to your server.

I've no idea how that symptom would lead to that conclusion.

> Another problem that could consider is to have rules in our firewall 
> bloquendo access to your pages, but checking the rules found that there 
> is no restriction on our firewall rules regarding communication with 
> your server.

I assumed you checked that first.

> Here the annexed traceroute, stressing that the earlier steps are our 
> internal equipment:
> 
> 7 ansp.ptta.ansp.br (200.136.37.1) 6,820 ms 8,215 ms 8,370 ms
>   8 143 to 108-254-130.ansp.br (143,108,254,130) 8,614 ms 8,271 ms 
> 10,004 ms
>   9 g-1 - 1-0.ar1.GRU2.gblx.net (64.209.93.237) 9,704 ms 8,685 ms 8,206 ms
> 10 te3-1-10G.ar2.DCA3.gblx.net (67.16.128.1) 128,309 ms 127,803 ms 
> 128,290 ms
> 11 yahoo - 6.ar2.DCA3.gblx.net (64,215,195,110) 140,091 ms 140,141 ms 
> 138,295 ms
> 12 so-0 - 0-0.pat2.pao.yahoo.com (216,115,101,130) 193,000 ms 192,656 ms 
> 190,878 ms
> 13 g-1-0 - 0-p141.msr1.sp1.yahoo.com (216.115.107.55) 190,711 ms 193,645 
> ms 193,119 ms
> 14 ge-1-42.bas - b1.sp1.yahoo.com (209.131.32.27) 191,713 ms ge-1-48.bas 
> - b1.sp1.yahoo.com (209.131.32.47) 190,836 ms 190,406 ms

It certainly does look like Yahoo is blocking you for some reason.
This lends credence to my earlier statement about contacting the correct
person: there's little the FreeBSD team can do about this, you'll have to
contact Yahoo directly.

> Here also attached the ping in your server:
> 
> PING www.freebsd.org (69.147.83.33) 56 (84) bytes of data.
> 
> --- Www.freebsd.org ping statistics ---
> 33 packets transmitted, 0 received, 100% packet loss, time 32015ms

Unfortunately, ping results are nearly useless in this day and age, because
so many people block ICMP at firewalls as if it's the plague.

> I am the provision of any other information nescessaria,

Are you unable to reach the mirror sites in Brazil?:
http://www.br.freebsd.org/
This could be a workaround while you sort out the issue with Yahoo.
Actually, it may be preferable on an ongoing basis.

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


Re: top posting (off-topic)

2007-11-23 Thread Bill Moran
"Brent Jones" <[EMAIL PROTECTED]> wrote:
> 
> I for one prefer top posting, as usually I have read a particular thread
> enough times that I like to cut to the chase and read the new input
> without having to scroll down, sometimes navigating an endless nesting
> of >>>  For me, reading through top posted replies saves time and
> effort.  If I happened to miss something in the conversation I can
> scroll down to find it.

There are three reasons _not_ to top-post and to post inline, trimming
your response intelligently:

1) Top-posting does not scale up to large, complex emails.  It produces
   incomprehensible responses when the conversation requires more than
   a yes or no answer.
2) Stop thinking about yourself and realize that most messages read in
   archives long after they were posted.  Top posted messages in archives
   are a lot more difficult to parse, and usually require a lot of clicking
   around to get back to earlier messages, etc.
3) RFC-1855 says so.

Most people who _honestly_ ask this question simply don't have a lot of
experience with online discussions.  Take the advice of people who have
been doing this for years and you look smart.

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


Re: RAID1 synchronisation - howto OR not necessary?

2007-11-23 Thread Bill Moran
"Jan Catrysse" <[EMAIL PROTECTED]> wrote:
>
> > From: Bill Moran [mailto:[EMAIL PROTECTED] 
> > 
> > "Jan Catrysse" <[EMAIL PROTECTED]> wrote:
> > >
> > > Dear subscribers,
> > > 
> > > I am currently running a production server:
> > > FreeBSD 6.2 STABLE
> > > Onboard Intel ICH8R Raid 1 with 2x SATA300 500GB HDD Using ATA for 
> > > Raid1
> > > 
> > > On Windows systems it is an absolute must to do a Raid 
> > Synchronisation 
> > > every once and a while to maintain data consistency.
> > 
> > Wow.  Any RAID controller with that requirement is junk.  
> > Where did you get the information from that you had to 
> > synchronize?  Does it say so in the manual?  Does it actually 
> > say "every once and a while" or does it give a specific schedule.
> > 
> > I suspect that you have wrong information ... but if your 
> > information is correct, I'd get a refund on that RAID controller.
> > 
> > > I am some what disturbed that that kind of command / tool seems not 
> > > available on FreeBSD.
> > 
> > There is not, because such a thing should not be necessary.
> > 
> > > Are there other methods to do the synchronisation?
> > > 1) Maybe atacontrol detach & atacontrol addspare & 
> > atacontrol rebuild?
> > > 2) Maybe data consistency is always maintained automatically by the 
> > > driver?
> > > 3) Maybe I have to panic and urgently make backups?
> > 
> > If resyncing your raid on a regular basis is truly a 
> > requirement, I'd do
> > #3 at least, followed by getting my money back.
> 
> Hi Bill,
> 
> Thank you for your input.
> 
> I assumed this was common knowledge, but I can be wrong?
> I've checked some other RAID controllers in the company and all of
> them have the need to be verified/synchronized once and a while.

No.

There is a _world_ of difference between "verify" and "synchronize".
Periodically verifying the health of a RAID array is good practice.
Re-synchronizing it periodically is stupid.  If you have to do that,
then you wasted money on a RAID card.

> This
> happens in the BIOS for the more expensive cards (> 600€) and with a
> utility/driver for the low budget cards...

Depends on what you're talking about.

Yes, expensive cards do both health checking and resyncing in the BIOS
without the need of operator intervention.

Low-end hot-swappable cards will automatically do the resynchronizing
if they detect a HDD change, but often don't do periodic health checking.

Low-end cards do neither.  However, you have to power the machine down to
replace a failed drive, so you're also accepting the burden of waiting for
the BIOS to resync.  It's part of the cost trade-off.

> This is what I found in a 3Ware manual:
> Verification can provide early warning of a disk drive problem or failure.
> ...verification once every 24 hours...
> Not verifying the unit periodically can lead to an unstable array unit and 
> may cause data loss.
> It is strongly recommended that you schedule a verify at least 1 time per 
> week.

Nice documentation ... Do you verify every 24 hours or once a week?

In any event, the availability of such a utility for FreeBSD depends on
the driver and the (possible) availability of third-party (or even
vendor-supplied) utilities.  For example, LSI provides the megaraid
utility.  It's designed for Linux but works on FreeBSD and allows total
control over the RAID card, including verifications.  Reading the man
page for the driver being used may turn up something.

I don't know if one exists for your specific card, but keep in mind that
the driver you're using may also work with high-end RAID systems that don't
need it, so the absence of one is possible.

I suggest you reformat/repost your question with a subject line more along
the lines of "Looking for a control utility for ICH8R RAID"  It's quite
possible that the people who know a lot about that hardware missed the
original conversation thread.

If there is no such utility, I suggest looking into something like samhain,
which will continually validate that the files on your system are
uncorrupted.  This has the added advantage of warning you if someone has
cracked your system and installed a trojan.

Also consider the benefit of spending the extra $$ on a high-end RAID
card.  There are very good reasons that people are willing to pay more
for them.  Personally, I wouldn't use a low-end RAID card ... GEOM would
be just as good if not better, IMHO.

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


Re: routing problem

2007-11-23 Thread Bill Moran
"Alaor Barroso de Carvalho Neto" <[EMAIL PROTECTED]> wrote:
>
> OK guyz, I did some tests and I found the error, like you said, it's a
> config problem with the routes, I thought the routed daemon would care of it
> for me but it seems like it don't. Please I ask you to forget the scenario I
> said before, now what i have is:
> 
> The dns server is now with the IP 192.168.1.1. But to turn things more easy
> I installed it in the FreeBSD box that is gonna be my gateway and proxy
> machine, so the problem isn't about the dns anymore.
> 
> I work in a school and I have now this sccenario two local networks,
> 192.168.1/24, an administrative network and 192.168.2/24, an academic
> network, plus I must have access to a network of other school with the ip
> 10.10/16, because they share their database serverwith us. So the FreeBSD
> machine have four network cards:
> 
> em0 external world XXX.XXX.XXX.XXX
> rl0 adm 192.168.1.80
> rl1 acad 192.168.2.90
> rl3 database 10.10.0.50
> 
> They are all separated networks. What I want: 192.168.2 should only access
> the internet, shouldn't have access to 192.168.1 or 10.10/16.
> 192.168.1should access the internet and
> 10.10/16, but shouldn't access the academic network. 10.10/16 should access
> only the 192.168.1 network, but it's not a problem if they had access to
> internet too.
> 
> How I would set up my rc.conf with my static routes?

This is beyond the scope of routing.  You'll need to install a packet
filter.  The best at this time is probably pf:
http://www.freebsd.org/cgi/man.cgi?query=pfctl&sektion=8&apropos=0&manpath=FreeBSD+6.2-RELEASE
http://www.freebsd.org/cgi/man.cgi?query=pf.conf&apropos=0&sektion=0&manpath=FreeBSD+6.2-RELEASE&format=html

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


Re: routing problem

2007-11-23 Thread Bill Moran
"Alaor Barroso de Carvalho Neto" <[EMAIL PROTECTED]> wrote:
>
> 2007/11/23, Bill Moran <[EMAIL PROTECTED]>:
> >
> > "Alaor Barroso de Carvalho Neto" <[EMAIL PROTECTED]> wrote:
> >
> > > Yes, I have IPFIlTER installed, but if I would want to everybody ping to
> > > everybody and then block the things in the firewall, it isn't about 
> > > routes?
> > > because neighter of my networks are pinging to any other right now. By 
> > > ping
> > > I mean have access.

By ping, mean ping.  I don't know what "have access" means, but I know what
"ping" means.

So what do you really mean ... what are you actually doing?  If you run
ping 192.168.1.[some working IP] from a machine on the 192.168.2.0/24
network, what is the result?

> > > I thought it would have something to do with setting
> > > routes. BTW, my ipfilter now just pass everything because I'm building the
> > > server, but I already have a config file with the blocks that I would 
> > > apply.
> >
> > That's a completely different scenario than the one you described in
> > your previous message.
> >
> > Do you have gatetway_enable="YES" in /etc/rc.conf?
> 
> Yeah, I know, I was trying to make it work with only adm and external, but
> the real scenario I have is this. Yes I have this line, my rc.conf is like
> this:
> [...]
> gateway_enable="yes"
> defaultrouter="XXX.XXX.XXX.158" (the external ip)
> ifconfig_em0="inet XXX.XXX.XXX.130 netmask 255.255.255.227"
> ifconfig_rl0="inet 192.168.1.80 netmask 255.255.255.0"
> ifconfig_rl1="inet 192.168.2.90 netmask 255.255.255.0"
> ifconfig_rl2="inet 10.10.0.50 netmask 255.255.0.0"
> [...]
> 
> I don't know if that matters, but the yes should be YES to things work? I'd
> kill myself if this is the problem.

Don't kill yourself.  At least, if you do, will me all your stuff.

The parameter is case-insensitive, I just prefer the caps.

First off, what's the output of "sysctl net.inet.ip.forwarding"?  If
it is 0, then reboot and see if it starts working.

Once you're sure that sysctl is being properly set (which is all that
gateway_enable="yes" does), if you're still having problems, disable
ipfilter altogether and see if it starts working.  If it does, then
it becomes a discussion of firewall rules.

Also, is your DNS working properly?  I don't know how many times I've
seen DNS timeouts mistaken for network problems.  99% of the programs
out there will _seem_ to have a network problem if the DNS isn't working
properly.

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


Re: Does anyone know how to get the required downloads from Sun to build Java?

2007-11-23 Thread Bill Moran
Bill Moran <[EMAIL PROTECTED]> wrote:
>
> 
> It appears as if jdk 1.5 is now at version 14, but the FreeBSD ports
> still requires version 13.
> 
> Luckily, Sun is run by a bunch of Nazis, and doesn't use a standard
> directory tree to distribute their stuff.  After 15 minutes of searching
> I can't figure out how to get the version 13 stuff off their site, and
> thus I can't build OpenOffice.org for my shiny, new laptop ...
> 
> Does anyone have any advice on how to get the required files from Sun?

Never mind.  Looks like binary packages of OpenOffice are available for
FreeBSD7/amd64.

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


Re: routing problem

2007-11-23 Thread Bill Moran
"Alaor Barroso de Carvalho Neto" <[EMAIL PROTECTED]> wrote:
>
> >
> > First off, what's the output of "sysctl net.inet.ip.forwarding"?  If
> > it is 0, then reboot and see if it starts working.
> 
> The return was: net.inet.ip.forwarding 1

OK.  That's not the problem then ... did you disable ipfilter and try
without it?

> Routed is running, named is running, the server itself can ping to any
> network, I don't know what else to test.

Do you have RIP on your network?  Based on your description, it seems
unlikely that RIP is in use on your network ... I don't know what the
default behaviour is for routed when it can't acquire routing information.
What is the output of "netstat -rn"?

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


Re: VMware FreeBSD to Physical

2007-11-24 Thread Bill Moran
"Milosh Djuric" <[EMAIL PROTECTED]> wrote:
>
> Hi,
> 
> I've got a VMWare guest running FreeBSD 6.2 which I'd like to move to a  
> physical machine. I've tried ghosting it, but when it gets to the  
> "Default: F5 Disk0" screen (sorry, I don't know the appropriate name for  
> it), it refuses to go any further.
> 
> Can anything be done to fix this? Or is there a better way of doing the  
> whole procedure?

VMWare has a tool specifically for doing this.  Don't remember what it's
called, but I expect it will give you the best results.

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


Re: Problems with zzz failing on FreeBSD 7/amd64

2007-11-24 Thread Bill Moran
[EMAIL PROTECTED] wrote:
>
> On Fri, Nov 23, 2007 at 02:32:45PM -0500, Bill Moran wrote:
> > 
> > Been spending some time setting up my new Lenovo T61 laptop.
> > 
> > 7.0 ... just cvsupped and build world/kernel yesterday.  Ports have
> > installed nicely, have xfce4, Firefox, Sylpheed, OpenOffice.org.
> > 
> > So far, the only snag I'm getting is suspending the laptop.  Entering
> > zzz returns:
> > acpiconf: request sleep type (3) failed: Operation no supported
> > 
> > I've tried manually kldloading acpi_ibm.ko (which seems to recognize
> > the Thinkpad) but it doesn't change the problem.
> > 
> > I'm open to any suggestions.  I don't need this laptop for a few weeks,
> > so I'm open to just about any type of debugging folks could ask me to
> > do.
> 
> Are you running an amd64 build?  I came across the same issue on my
> Dell laptop and found the following code in acpi_ReqSleepState:
> 
> #if !defined(__i386__)
>   /* This platform does not support acpi suspend/resume. */
>   return (ENOTSUPP);
> #endif
> 
> I guess that's where the "Operation not supported" error is coming from,
> at least on amd64.

Thanks, Bruce.

I tried removing that return from __amd64__, which dodges the ENOTSUPP,
but the laptop then locks up instead of sleeping.

I guess there's more work that needs done ...

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


Re: how to fight concurrent connection DOS attack to FreeBSD ftpd?

2007-11-24 Thread Bill Moran
Zhang Weiwu <[EMAIL PROTECTED]> wrote:
> 
> The behaviour is like this: after '#/etc/rc.d/ftpd start', the number of
> ftpd process goes to several thousands. ps told me they are all accessed
> from the same user.
> 
> I read the manual and found ftpd.conf(5) says /etc/ftpd.conf is the
> configuration file for ftpd(8). But creating /etc/ftpd.conf with "limit
> all 10" doesn't help (system behaviour the same), seems ftpd ignored the
> configuration file.

It appears as if you're starting ftpd, but that config file is for
lukemftpd.  The documentation appears to be a mess.

> I worry if ftpd.conf is REALLY the configuration of ftpd? because
> ftpd.conf is not mentioned in ftpd(8) manual page. Usually the
> configuration file of a daemon is always mentioned in the daemon manual
> page.

I expect you're correct.  lukemftpd seems to support the options you're
setting, but ftpd doesn't.  On the other side, there doesn't seem to be
an rc script for lukemftpd.

> If ftpd.conf is not the right manual page to read, can you suggest which
> configuration manual to read to fight back this attack? Thanks in advance!

Probably copy /etc/rc.d/ftpd to /etc/rc.d/lukemftpd and edit it to adjust,
then set the appropriate settings in /etc/rc.conf to run lukemftpd instead
of ftpd.  "man lukemftpd" brings up a different man page than "man ftpd"

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


Performance problems after upgrade from xorg 7.2 -> 7.3

2007-11-26 Thread Bill Moran

I upgraded my ports over the holiday, and I'm having a number
of problems with xorg.  I'll address them one at a time, in
order of most problematic ...

Right now, the worst is the lousy performance.  Using the exact
same xorg.conf that I had in 7.2, the performance of window
resizes is terrible.  I had no problems with this in 7.2.

For example, if I open a terminal window, then hit the maximize
button, it takes almost 3 seconds to maximize it.  Again xorg
7.2 didn't have this problem.  Is there some new config option
in 7.3 that I need to enable?  I'm not seeing performance
problems anywhere else that I can find (moving windows around,
for example, seems to work fine).

Could it be my wm (xfce4) ... as I upgraded it at the same time?

FreeBSD vanquish.pitbpa0.priv.collaborativefusion.com 6.2-RELEASE-p5 FreeBSD 
6.2-RELEASE-p5 #9: Tue Jun  5 17:33:30 EDT 2007 [EMAIL 
PROTECTED]:/usr/obj/usr/src/sys/VANQUISH  i386

$ dmesg | grep Radeon
drm0:  port 0xdc00-0xdcff mem 
0xe800-0xefff,0xfe5e-0xfe5e irq 16 at device 0.0 on pci4

$ pkg_info | grep xorg
xorg-7.3_1  X.Org complete distribution metaport
xorg-apps-7.3   X.org apps meta-port
xorg-cf-files-1.0.2_2 X.org cf files for use with imake builds
xorg-docs-1.4,1 X.org documentation files
xorg-drivers-7.3X.org drivers meta-port
xorg-fonts-100dpi-7.3 X.Org 100dpi bitmap fonts
xorg-fonts-7.3  X.org fonts meta-port
xorg-fonts-75dpi-7.3 X.Org 75dpi bitmap fonts
xorg-fonts-cyrillic-7.3 X.Org Cyrillic bitmap fonts
xorg-fonts-miscbitmaps-7.3 X.Org miscellaneous bitmap fonts
xorg-fonts-truetype-7.3 X.Org TrueType fonts
xorg-fonts-type1-7.3 X.Org Type1 fonts
xorg-libraries-7.3_1 X.org libraries meta-port
xorg-protos-7.3 X.org protos meta-port
xorg-server-1.4_3,1 X.Org X server and related programs

$ pkg_info | grep xfce
gtk-xfce-engine-2.4.1_1 An XFCE engine for GTK 2.0
libxfce4gui-4.4.1_1 XFce 4 widget library required by xfce4 and xfwm4
libxfce4mcs-4.4.1_1 XFce 4 settings management library used by most XFce 4 modu
libxfce4util-4.4.1  XFce 4 library with non-graphical helper functions
mousepad-0.2.12_2   Simple xfce editor
xfce-4.4.1_1The "meta-port" for the XFce 4 desktop environment
xfce4-appfinder-4.4.1_1 Find application in the system supporting Desktop entry 
for
xfce4-desktop-4.4.1_1 XFce 4 desktop background manager and root menu
xfce4-icon-theme-4.4.1_1 Icon themes for XFce 4
xfce4-mcs-manager-4.4.1_1 XFce 4 settings manager
xfce4-mcs-plugins-4.4.1_1 XFce 4 settings manager plugins
xfce4-mixer-4.4.1_1 XFce 4 volume mixer module for xfce4-panel
xfce4-panel-4.4.1_1 XFce 4 panel module
xfce4-print-4.4.1_1 XFce 4 graphical frontend for printing
xfce4-session-4.4.1_1 Session manager for the Xfce 4 desktop environment
xfce4-utils-4.4.1_1 XFce 4 essential utilities and scripts
xfce4-wm-4.4.1_2XFce 4 window manager
xfce4-wm-themes-4.4.1 XFce 4 window decoration themes for xfwm4


-- 
Bill Moran
Collaborative Fusion Inc.
http://people.collaborativefusion.com/~wmoran/

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


Re: Performance problems after upgrade from xorg 7.2 -> 7.3

2007-11-26 Thread Bill Moran
In response to Pieter de Goeje <[EMAIL PROTECTED]>:

> On Monday 26 November 2007, Bill Moran wrote:
> > I upgraded my ports over the holiday, and I'm having a number
> > of problems with xorg.  I'll address them one at a time, in
> > order of most problematic ...
> >
> > Right now, the worst is the lousy performance.  Using the exact
> > same xorg.conf that I had in 7.2, the performance of window
> > resizes is terrible.  I had no problems with this in 7.2.
> >
> > For example, if I open a terminal window, then hit the maximize
> > button, it takes almost 3 seconds to maximize it.  Again xorg
> > 7.2 didn't have this problem.  Is there some new config option
> > in 7.3 that I need to enable?  I'm not seeing performance
> > problems anywhere else that I can find (moving windows around,
> > for example, seems to work fine).
> >
> > Could it be my wm (xfce4) ... as I upgraded it at the same time?

[snip]

> Some components of xfce have trouble with the composite extension, which is 
> enabled by default in 7.3.
> Add the following section to xorg.conf to fix:
> 
> Section "Extensions"
> Option "Composite" "Disable"
> EndSection
> 
> Hope this helps,

It absolutely solved the problem.  Thanks!

-- 
Bill Moran
Collaborative Fusion Inc.
http://people.collaborativefusion.com/~wmoran/

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


Re: remove X11

2007-11-28 Thread Bill Moran
In response to Laszlo Nagy <[EMAIL PROTECTED]>:

> Jeff Maxwell wrote:
> > I have X11 installed on a server 6.1.
> >
> > Is there an easy way to remove it all?
> >
> > Do I have to remove each package individually?

I highly recommend the pkg_cutleaves port, which makes this kind of thing
many orders of magnitude easier.

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


Re: ls -l takes a forever to finish.

2007-11-29 Thread Bill Moran
In response to Wojciech Puchar <[EMAIL PROTECTED]>:

> > ls | wc
> 
> strange. i did
> 
> [EMAIL PROTECTED] ~/b]$ a=0;while [ $a -lt 1 ];do mkdir $a;a=$[a+1];done
> 
> completed <25 seconds on 1Ghz CPU
> 
> ls takes 0.1 seconds user time, ls -l takes 0.3 second user time.
> 
> unless you have 486/33 or slower system there is something wrong.

Another possible scenario is that the directory is badly fragmented.
Unless something has changed since I last researched this (which is
possible) FreeBSD doesn't manage directory fragmentation during use.
If you're constantly adding and removing files, it's possible that
the directory entry is such a mess that it takes ls a long time to
process it.

Of course, Wojciech's test won't demonstrate this, as the directory is
freshly created, even to the point that the filenames are actually in
alpha order in the directory.

One method to test this would be to tar up the directory and extract
it somewhere else on the machine (assuming you have enough space to do
so).  If the newly created directory doesn't have the problem, it's
likely that the directory entry has become a mess.  Use ls -l to
compare the sizes of the actual directories themselves as a little
exercise.

Anyway, if that turns out to be the problem, you can fix it by taring
the directory and then restoring it from the tarfile.  Not an ideal
solution, mind you.

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


Re: FW: Dell 2950 RAID issues!!!

2007-11-30 Thread Bill Moran
In response to "Tamouh H." <[EMAIL PROTECTED]>:

> 
> FYI for anyone experiencing issues with Dell RAID.

We saw the behaviour described by Dell, applied the firmware updates,
and now everything works fine.

> > 
> > It come to my attention that Dell 2950 have issues with RAID 
> > controllers while used with some hard drives under Linux. 
> > Basically RAID configured hard drives are failing at rapid speed. 
> > 
> > Details:
> > --
> > > M8033 HD,146G,SAS,3,10K,3.5,MXT,GEN
> > > * Firmware Version BP05 * Fixes and Enhancements 
> > > == This addresses Maxtor SAS HDD 
> > firmware issues, 
> > > where under certain circumstances a hard disk drive may go offline, 
> > > hard disk drives (HDD), may report offline due to a timeout 
> > condition. 
> > > If the HDD is unable to complete commands, this may result in the 
> > > controller reporting the HDD off line. This firmware update has 
> > > improved SMART Reporting, where drives can report SMART 
> > trips due to 
> > > aggressive SMART Error Rate Measurement counters during 
> > read verifies
> > ---
> > 
> > 
> > Dell has advised to upgrade the RAID controller firmware.
> > 
> 
> Tamouh
> 
> 
> _______
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"


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


Re: Ports: Outdatet dependencies on jdk-1.5 (OpenOffice 2.3.*)

2007-11-30 Thread Bill Moran
In response to Tino Engel <[EMAIL PROTECTED]>:

> Dear Freebeasties,
> 
> I am trying to install openoffice.
> The dependency jdk-1.5 tells me as follows:
> 
> Please open http://download.java.net/tiger/
>  in a web browser.  Download the
>  Update 13 Source, jdk-1_5_0_13-fcs-src-b05-jrl-25_sep_2007.jar and the
>  Source Binaries, jdk-1_5_0_13-fcs-bin-b05-jrl-25_sep_2007.jar
> 
> When browsing http://download.java.net/tiger/ I found out, they only 
> provide Update 14 though update 13 is needed.
> 
> I was unable to find the previous version by googling for it and 
> searching the java site.
> 
> Anyone knows, where to get the files, when the jdk will be updated or 
> any other solution?

You should search the archives before asking questions:
http://www.freebsd.org/cgi/getmsg.cgi?fetch=1602883+1605420+/usr/local/www/db/text/2007/freebsd-questions/20071125.freebsd-questions

The various answers are in that thread.

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


Re: BSDstats: Stand up and be counted! -- November Statistics

2007-12-04 Thread Bill Moran
In response to Pollywog <[EMAIL PROTECTED]>:

> On Tuesday 04 December 2007 05:55:17 Marc G. Fournier wrote:
> 
> >
> > For FreeBSD users, you just need to install /usr/ports/sysutils/bsdstats to
> > set things up.
> 
> Is it recommended to do this on more than one home machine running FreeBSD, 
> or 
> just one of them?

Do this on every machine that you have running FreeBSD.

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


Re: looking for online text editor

2007-12-04 Thread Bill Moran
In response to David Banning <[EMAIL PROTECTED]>:

> > > mindterm-ssh. Is there some plain text editor program
> > > out there that will allow me to simply login and edit my files in
> > > plain text - (not a gui html editor) ?
> > >
> > 
> > ...You can't just SSH into your box and use vim?
> 
> Let's say I'm in a library in some remote town. The only SSH I know 
> that is web loadable is mindterm-ssh, but that runs on java. If java is
> blocked on the local box then I'm SOL. No?

Just use puTTY.  You can download it and run it without any installation.

If you're that locked down that you can't do any of those things, I'd
suggest you get a laptop or other way to manage this remotely.  What good
is a text editor if you can't restart daemons or HUP them?  Nokia cell
phones have an SSH client available.

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


Re: Shell script in crontab cannot write files into FreeBSD's filesystem.

2007-12-05 Thread Bill Moran
In response to Supote Leelasuppakorn <[EMAIL PROTECTED]>:
>  
> Hi all,
>  
>Please anybody help me, I faced the problem with my "crontab". I
> tried to run a shell script which will fetch webpage and save it toa
> directory by using wget but after few minute I cannot see any filein
> such directory
>  
>Below are content of shell script, my crontab and also
> file's permission listing.

Format your emails so they're actually readable.

> ###
> # The output of `crontab -l`###
>
> SHELL=/bin/sh
> MAILTO=pjn
> *   *   *   *   *   . /home/pjn/parseGP/fetchPage.sh
 

What is the . doing there?  Are you watching /var/log/cron.log for
errors, as I expect you'll see some.

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


Re: BSDstats: Stand up and be counted! -- November Statistics

2007-12-05 Thread Bill Moran
In response to Tore Lund <[EMAIL PROTECTED]>:

> Marc G. Fournier wrote:
> > -BEGIN PGP SIGNED MESSAGE-
> > Hash: SHA1
> > 
> > 
> > 
> > Percentage Change in November from October:
> > 
> >Overall   - 2.5%
> > 
> > Broken down as:
> > 
> >DesktopBSD   + 31.8%  ( 737 hosts)
> >DragonFly+  9.5%  (  23 hosts)
> >FreeBSD  +  8.4%  (5008 hosts)
> >GNU/kFreeBSD -100.0%  (   0 hosts)
> >MidnightBSD  +133.3%  (  14 hosts)
> >MirBSD   - 28.6%  (   5 hosts)
> >NetBSD   +  7.2%  ( 119 hosts)
> >OpenBSD  + 11.3%  (  79 hosts)
> >PC-BSD   - 13.5%  (6551 hosts)
> 
> When I go to www.bsdstats.org, I see these figures:
> 
>   Systems
> This MonthPercentage
> FreeBSD   5,041   67.5 %

Oh no!  This is now 5044!

> PC-BSD1,997   26.7 %
> DesktopBSD241 3.2 %
> NetBSD99  1.3 %
> OpenBSD   56  0.7 %
> DragonFly 24  0.3 %
> MidnightBSD   12  0.2 %
> 
> So, what's happening here?

When you install the stats program it registers you, then the sites
statistics get updated.

> Is it too early in December for some BSD
> varieties to report yet?

I've no idea what you're imagining this program does ...

> Whatever the answer, PC-BSD has hardly lost
> more than 2/3 of its users since November, so something is fishy here.

Huh?

> In any case, it would be nice to see a DATE somewhere on these pages.

Date of what?  The stats are live.

> Thanks for your efforts, BTW.  I just ran bsdstats myself.

See.  This is your fault, if people like you keep installing it, the
numbers will keep changing!

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


Re: Maybe this is a bug, should I report it?

2007-12-05 Thread Bill Moran
In response to "Dan Mahoney, System Admin" <[EMAIL PROTECTED]>:

> But why is it that portupgrade feels the need to upgrade gpg to gpg2, when 
> gpg is still in the tree?
> 
> I'm running a portupgrade -rf gettext, and didn't previously have gpg2 
> installed.

Show us the output that demonstrates this problem.

My first guess is that it's not portupgrade that's doing it, but that
some port you're upgrading now lists gpg2 as a dependency instead of
gpg, which causes the attempted installation.

But I'm just speculating without more details.

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


Re: It's very important replying my email, please

2003-12-07 Thread Bill Moran
[Send these types of questions to [EMAIL PROTECTED]

camuflag wrote:
Dear Sir,

My name is Ziad Fazah. Indeed, after having installed Freebsd version 
5.1 on my pc, I found out that after having got at startx command, there 
was something written as an error: (EE) Unable to locate /open config file
(EE) Error from xf86HandleConfigFile log file: /var/log/XFree86
Fatal server error:
no screens found.

Thus, Iam asking you amiably: how can I solve this problem? Besides, Iam 
running on Redhat version 9.0. Please, tell me what to do in order to 
work out this matter. In anyway, I shall be awaiting your response as 
soon as possible, and thanks a lot for everything.
You have not configured X yet.  Use the xf86config program to do so
before running X.
See the documentation for more information.

--
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Advice on a DVD burner compatible with FreeBSD

2003-12-11 Thread Bill Moran
I'm helping a client set up a backup system based on FreeBSD where archive
copies will be burned to CD or DVD (depending on the space required).
He's looking at a "LG 2X" DVD burner.  I guess the price is right.

Does anyone have any experience with this particular unit working or not
working under FreeBSD 4.9?
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Looking for laptop suggestions

2003-12-22 Thread Bill Moran
We're looking to get a laptop for the business.  Of course, we need to make sure
it works with FreeBSD, but money is tight, so we're trying to find the best deal
we can that we know will work.
Does anyone have any suggestions on lower-cost laptops that they've had work well
with FreeBSD?
We were looking at the $700 lappys that Dell is selling (Inspiron 1100), but I'd
really like a confirmation that these are going to work before I spend money on one.
http://catalog.us.dell.com/CS1/cs1page2.aspx?br=7&c=us&cs=04&fm=10423&kc=6W300&l=en&s=bsd
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Looking for laptop suggestions

2003-12-23 Thread Bill Moran
Nelis Lamprecht wrote:
On Mon, 2003-12-22 at 20:54, Bill Moran wrote:

We're looking to get a laptop for the business.  Of course, we need to make sure
it works with FreeBSD, but money is tight, so we're trying to find the best deal
we can that we know will work.
Does anyone have any suggestions on lower-cost laptops that they've had work well
with FreeBSD?
We were looking at the $700 lappys that Dell is selling (Inspiron 1100), but I'd
really like a confirmation that these are going to work before I spend money on one.
http://catalog.us.dell.com/CS1/cs1page2.aspx?br=7&c=us&cs=04&fm=10423&kc=6W300&l=en&s=bsd
Take a look at this site http://gerda.univie.ac.at/freebsd-laptops/
Not sure how up-to-date it is but it's a FreeBSD Laptop Compatibility
List and the laptop you have mentioned is listed but not without it's
problems. You could probably contact the owners and ask them about any
problems they experienced and how they resolved them.
This is a great resource!  Thanks.

--
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


netgraph.ko vs. compiled in.

2004-01-01 Thread Bill Moran
I'm not sure if this is a bug, or intended behaviour.  If the behaviour is
intended, documentation improvements may be in order.
If I build a kernel with "options netgraph", in order to use mpd, netgraph.ko
is still loaded at boot (with an error) but mpd does not work.
If I build the kernel without netgraph, netgraph.ko loads, along with other
netgraph modules required for PPTP, and mpd works like a charm.
What I haven't tried yet, is compiling a kernel with all the options for all
the netgraph modules I'll need compiled in to see if that works.
This is FreeBSD 4.9.  Does anyone know if this is intended behaviour or a bug?
If it's intended behaviour, is it in the documentation and I just haven't seen
it?
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: netgraph.ko vs. compiled in.

2004-01-01 Thread Bill Moran
Matthew Seaman wrote:
On Thu, Jan 01, 2004 at 02:38:09PM -0500, Bill Moran wrote:

If I build a kernel with "options netgraph", in order to use mpd, 
netgraph.ko
is still loaded at boot (with an error) but mpd does not work.
You can't simultaneously load a .ko and have the same code compiled
into the kernel.
_I_ know that.  Tell it to whatever part of the system is trying to
load the kld.
I'm not saying that being unable to load a kld for a service that's
already compiled in is an error.  I'm saying the fact that mpd tries
to load the kld when it's already compiled in is the error.
If I build the kernel without netgraph, netgraph.ko loads, along with other
netgraph modules required for PPTP, and mpd works like a charm.
What I haven't tried yet, is compiling a kernel with all the options for all
the netgraph modules I'll need compiled in to see if that works.
It's generally best either to kldload all of the netgraph modules you
require for this purpose or to compile them all into the kernel.  One
way, or the other, but not a mixture of both.
I would go beyond "generally best" and straight into "it doesn't work".

My question is, "Is this fact documented somewhere, and I didn't see it?"
Because, if it's not, I'm going to put together a doc patch and file a PR.
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Configure 2 gateways on a freebsd box for 2 interfaces

2008-09-10 Thread Bill Moran
In response to "The Noob" <[EMAIL PROTECTED]>:

> Hello all,
> 
> I have a small question.
> I have two interface in two vlans.
> The first interface 192.168.0.1 255.255.255.0
> The second interface: 10.228.44.1 255.255.255.0
> The gateway for the first interface must be 192.168.0.254 and the second
> interface must be 10.228.44.254
> How can I configure them? In rc.conf we have just defaultrouter but we can't
> specify the interface.

I'm curious as to why you would want to do this, since that will affect
the answer.

If those interfaces lead to different networks, then you should add
static routes as appropriate.

If they are alternate routes, then you should probably run something like
RIP to automatically update the routing table.

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


Re: Why not GNU cmp?

2008-09-24 Thread Bill Moran
Unga <[EMAIL PROTECTED]> wrote:
>
> Hi all
> 
> I have noted FreeBSD uses GNU diff, GNU diff3 and GNU sdiff. Why FreeBSD uses 
> its own version of cmp? why not use GNU cmp? Is the GNU cmp not compatible 
> with FreeBSD?

The GNU version of cmp is not licensed under the BSD license.

Given enough time/manpower, all the GNU tools in FreeBSD will eventually
be replaced with BSD-licensed versions.

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


Re: Hard disk bottle neck.

2008-09-28 Thread Bill Moran
"Danny Do" <[EMAIL PROTECTED]> wrote:
>
> Hi guys,
> 
> I have this problem for years but couldn't find a way to solve it.
> 
> I have a file server handling large files from 1MByte to 1GByte. 
> 
> Server Info:
> FreeBSD 6.2 
> Apache 2.2.9
> 
> DELL PowerEdge 1850
> 2GB RAM (only 184MB is active)
> 6x300MB SCSI 10K RPM RAID5
> Gigabit Ethernet Connection
> 
> My server can output NO MORE than 60Mbps (read only). 
> 
> The bottle neck is the hard disk.

What evidence do you have that the bottleneck is disk IO?  I've seen no
evidence, only speculation.

In addition to the advice of others, you may be able to just beef up the
RAM.  2G isn't much these days.  If you've got 200M active, you've got
about 1.8G available to cache files.  If you have repeated access of the
same file, the OS can cache that file data and not even use the disk, but
it can only do that if it has enough RAM to work with.  You need to get
your facts straight, though.  According to the specs you've got above,
you've only got 1.5G of disk.  I expect you meant 300G disks.

You could also add disks in a RAID 10, which is generally faster than
RAID 5, or move to 15,000 RPM disks.  I think you might be surprised how
much adding some RAM will help, though, unless your access patterns are
very random, RAM should speed up the access of popular data significantly.

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


Re: Hard disk bottle neck.

2008-09-28 Thread Bill Moran
Wojciech Puchar <[EMAIL PROTECTED]> wrote:
>
> after you recompile the kernel with that patch, check your disk 
> performance in some directory consisting of many large files
> 
> cd that_dir
> for x in *;do (cat $x >/dev/null &);done
> 
> while running systat,:vmstat on another console

More specifically, do this before and after you make the change, to
demonstrate whether or not you actually fixed the problem.

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


Re: More RAM for buffers?

2008-10-02 Thread Bill Moran
In response to Kirk Strauser <[EMAIL PROTECTED]>:

> On Thursday 02 October 2008, Kirk Strauser wrote:
> 
> > I have an AMD system with 6GB of RAM.  From dmesg:
> >
> > usable memory = 6428237824 (6130 MB)
> > avail memory  = 6203797504 (5916 MB)
> >
> > However, most of it is just sitting there when it looks like it could be
> > used for buffers or cache:
> 
> On another AMD64 machine, also with 6GB of RAM, I have:
> 
> Mem: 482M Active, 1044M Inact, 363M Wired, 3792K Cache, 214M Buf, 4023M Free
> Swap: 8192M Total, 8192M Free
> 
> I can understand that on the other machine maybe inactive memory is more 
> beneficial than cache or buffers, but this system is just sitting there 
> with 4GB free (and the exact same amount of buffer memory as on the other, 
> which seems a little too coincidental).

inactive, cache, and buffer are all different types of "buffer".

I've never been 100% clear on the exact differences, but it basically has
to do with where the data in RAM came from.  Depending on whether it was
a VM page, or a disk page will determine what bucket it goes into when
it moves out of active.

I'm fairly sure that inactive is memory used by program code.  When the
program terminates, the memory is marked as inactive, which means the
next time the program starts the code can simply be moved back to
active and the program need not be reloaded from disk.

Buffer and cache memory are disk data held at different points within the
kernel.  I've never been 100% clear on the difference, and I believe it
depends heavily on a thorough understanding of how the kernel works.

The other rule of thumb I've heard is that the closer memory is to the
left side of top output, the less expensive it is for the kernel to move
it to active ... inactive being the most efficient and cache requiring
the most work by the kernel ... I could be wrong, though.

I know that a lot of what I'm saying isn't authoritative, so I hope I'm
not remembering any of this wrong.  I think to fully understand how it
works you'll need to read _The_Design_and_Implementation_.

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


Re: collecting pv entries -- suggest increasing PMAP_SHPGPERPROC

2008-10-27 Thread Bill Moran
In response to FreeBSD <[EMAIL PROTECTED]>:

> Simon Chang a écrit :
> >> collecting pv entries -- suggest increasing PMAP_SHPGPERPROC
> >>
> >> I've read that this is mainly caused by Apache spawning too many processes.
> >> Everyone seems to suggest to decrease the MaxClients directive in 
> >> Apache(set
> >> to 450 at the moment), but here's the problem...i need to increase it !
> >> During peaks all the processes are in use, we even have little drops
> >> sometime because there isn't enough processes to serve the requests. Our
> >> traffic is increasing slowly over time so i'm affraid that it'll become a
> >> real problem soon. Any tips on how I could deal with this situation,
> >> Apache's or FreBSD's side ?

[snip]

> I don't really understand why we are getting this error since there is 
> plenty of Inactive RAM in the system (2G inactive on a 4G server with 
> amd64). Is this a "normal" error in this case?

It's not about physical RAM, it's about kernel tables that are tracking
RAM usage per process.  When situations occur that cause these tables to
fill up, the kernel can't track RAM any more (even if it has plenty) so
it has to scan the entire table to garbage collect unused PV entries.
Depending on the exact circumstance, this usually won't hurt much, but
it does create a performance problem while the kernel is working on it.

Raising PMAP_SHPGPERPROC works most of the time.  You can also re-tune
your Apache setting to keep processes from constantly spawning and
dying.  For example, set the max spare and min spare servers settings
higher, so Apache keeps more spare servers around instead of spawning
them on demand and killing them when the demand ends.

Another option is to upgrade to 7.X, which seems to have replaced the
mechanism by which this is done to be more dynamic and not have this
problem.

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


Re: collecting pv entries -- suggest increasing PMAP_SHPGPERPROC

2008-10-27 Thread Bill Moran
In response to "Simon Chang" <[EMAIL PROTECTED]>:
> 
> By the way, does anyone know whether there is any way to tune
> PMAP_SHPGPERPROC using sysctl, or does such button/knob not exist?

No.  I've had this discussion with the developer who originally wrote
that code.  The table size is too deep inside the kernel to adjust it
at run time.  The kernel needs to know what it is when it boots, and it
can't change after.

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


Re: Disk top usage PIDs

2008-11-04 Thread Bill Moran
In response to "Eduardo Meyer" <[EMAIL PROTECTED]>:
> 
> I have some serious issue. Sometimes something happens and my disk
> usage performance find its limit quickly. I follow with gstat and
> iostat -xw1, and everything usually happens just fine, with %b around
> 20 and 0 to 1 pending i/o request. Suddely I get 30, 40 pending
> requests and %b is always on 100% (or more than this).
> 
> fstat and lsof gives me no hint, because the type of programs as well
> as the amount of 'em is just the same.
> 
> How can I find the PID which is hammering my disk? Is there an "iotop"
> or "disktop" tool or something alike?

top -m io -o total

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


Re: Disk top usage PIDs

2008-11-04 Thread Bill Moran
In response to "Eduardo Meyer" <[EMAIL PROTECTED]>:

> On Tue, Nov 4, 2008 at 12:27 PM, Eduardo Meyer <[EMAIL PROTECTED]> wrote:
> > On Tue, Nov 4, 2008 at 12:18 PM, Bill Moran <[EMAIL PROTECTED]> wrote:
> >> In response to "Eduardo Meyer" <[EMAIL PROTECTED]>:
> >>>
> >>> I have some serious issue. Sometimes something happens and my disk
> >>> usage performance find its limit quickly. I follow with gstat and
> >>> iostat -xw1, and everything usually happens just fine, with %b around
> >>> 20 and 0 to 1 pending i/o request. Suddely I get 30, 40 pending
> >>> requests and %b is always on 100% (or more than this).
> >>>
> >>> fstat and lsof gives me no hint, because the type of programs as well
> >>> as the amount of 'em is just the same.
> >>>
> >>> How can I find the PID which is hammering my disk? Is there an "iotop"
> >>> or "disktop" tool or something alike?
> >>
> >> top -m io -o total
> >
> > Great, thats exactly what I was looking for, thank you a lot Mr Moran.
> 
> I see syncer (40%) and bufaemon (10%) and after that, imapd. The first
> ones are kernel PIDs (36 and 37).
> 
> PID USERNAME   VCSW  IVCSW   READ  WRITE  FAULT  TOTAL PERCENT COMMAND
>  36 root  2  2  0 31  0 31  40.79% bufdaemon
>  37 root  2  2  0 16  0 16  21.05% syncer
> 71501 vmail 4  0  0  0  0  0   12.00% imapd
> 
> I guess it a symptom of some hardware problems, kernel itself is not
> supposed to do this many I/O, right?
> 
> Sometimes PID 39, softdepflush, is always on top 3.

Off the top of my head, it looks like you're exceeding what the hardware
can do.  What kind of disks do you have in that system?  It may be time
to get faster disks or expand to a high-performance RAID setup.

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


Re: console locked again:: load over 2.00

2008-11-05 Thread Bill Moran
In response to Gary Kline <[EMAIL PROTECTED]>:
> 
> Any ideas *why* my load is so high when my desktop wasn't touched for 9, 10 
> hours?
> I was running mostly KDE3 konsoles, and had a few other processes going, the
> apps iconisized.  The server is still running; I've killed everything I can 
> think of
> to reduce the load.  It may be that the screen won't come back if the load is 
> >
> 1.00.  I'm upgrading my kernel to see if *that* has any effect.  O/wise, I'm 
> out of
> ideas.

Doesn't sound right at all.  I've seen my load avgs go much higher than
2 on my desktop and not had much difficulty logging in.

Generally, slow logins are a symptom of IO starvation, as an inability
to get to a disk page is more of a show stopper than contention for
CPU resources.  How much of your swap is in use?  What are the pagein/
pageout statistics during this?  Are you sure the disk isn't dying?

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


Re: Unix program that sends email directly using MX record

2008-11-22 Thread Bill Moran
On Sat, 22 Nov 2008 14:16:56 -0700
"Kelly Jones" <[EMAIL PROTECTED]> wrote:

> What Unix program sends email directly, using the MX record of the
> recipient, instead of using sendmail or an installed MTA?
> 
> I realize I could tweak sendmail.cf/etc to do this, but that's not
> working in my (fairly unusual) special situation.
> 
> I also realize that sending email directly is normally "bad", but I'm
> testing something.

See if ssmtp in ports does what you need.

If that's still not direct enough, there's always telnet.  SMTP conversations
aren't really that difficult to simulate.

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


Regarding beer and optimal hacker productivity

2008-11-24 Thread Bill Moran

Somewhere, out on the WWW, there was a study (perhaps an imaginary study)
on what the optimal blood alcohol level was for software development.

Someone on this list must know what I'm talking about and have a link to
the study and/or the name of it ...

I'm putting together a business case for beer at work ;)

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


Re: Regarding beer and optimal hacker productivity

2008-11-24 Thread Bill Moran
In response to APseudoUtopia <[EMAIL PROTECTED]>:

> On Mon, Nov 24, 2008 at 2:03 PM, Bill Moran <[EMAIL PROTECTED]> wrote:
> >
> > Somewhere, out on the WWW, there was a study (perhaps an imaginary study)
> > on what the optimal blood alcohol level was for software development.
> >
> > Someone on this list must know what I'm talking about and have a link to
> > the study and/or the name of it ...
> >
> > I'm putting together a business case for beer at work ;)
> 
> http://xkcd.com/323/

Damn ... I thought it was something more realistic looking ...

Thanks for the link.

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


Re: sshit runs out of semaphores

2008-12-02 Thread Bill Moran
In response to "DA Forsyth" <[EMAIL PROTECTED]>:

> Hiya
> 
> I recently started (trying) to use sshit to filter the many brute 
> force sshd attacks.
> 
> However, it has never worked on my box.  FreeBSD 7.0 p1.
> 
> This morning it would only give a message (without exiting)
>Could not create semaphore set: No space left on device
> at /usr/local/sbin/sshit line 322
> Every time it gets stopped by CTRL-C it leaves the shared memory 
> behind, allocated.

Have a look at ipcs and ipcrm, which will save you the reboots.

> A side issue is that sshit will only filter rapid fire attacks, but I 
> am also seeing 'slow fire' attacks, where an IP is repeated every 2 
> or 3 hours, but there seem to be a network of attackers because the 
> name sequence is kept up across many incoming IP's.  Is there any 
> script for countering these attacks?
> If not I'll write one I think.

My approach:
http://www.potentialtech.com/cms/node/16

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


Re: Swap and memory optimization

2009-10-01 Thread Bill Moran
bsd  wrote:
>
> Hello,
> 
> I have a FBSD 6.4p7 box that I use as a mail server - 1Go RAM - RAID1
> Works quite well.
> 
> As I plan to put 100 more mail accounts soon on the server I was  
> wondering if the memory & swap was ok on the server considering these  
> figures:
> 
> 
> last pid: 18956;  load averages:  0.04,  0.11,   
> 0.05 
>   
>   up 
>   19+08:36:23  09:53:38
> 125 processes: 1 running, 124 sleeping
> CPU:  0.0% user,  0.0% nice,  1.5% system,  0.4% interrupt, 98.1% idle
> Mem: 499M Active, 70M Inact, 362M Wired, 41M Cache, 111M Buf, 20M Free
> Swap: 2000M Total, 160M Used, 1840M Free, 8% Inuse
> 
> 
> Though It looks good to me - the server swaps a bit (between 8 to 14%)  
> and there is not much memory left.

Looks like the server would run more smoothly with a bit more RAM.  At
least an additional 256M, I would think, but considering the price of
RAM, you might as well just up it to 2G.

-- 
Bill Moran
http://www.potentialtech.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: Swap and memory optimization

2009-10-01 Thread Bill Moran
In response to Dan Nelson :

> In the last episode (Oct 01), Bill Moran said:
> > bsd  wrote:
> > > I have a FBSD 6.4p7 box that I use as a mail server - 1Go RAM - RAID1
> > > Works quite well.
> > > 
> > > As I plan to put 100 more mail accounts soon on the server I was
> > > wondering if the memory & swap was ok on the server considering these
> > > figures:
> > > 
> > > last pid: 18956;  load averages:  0.04,  0.11,  0.05 up  19+08:36:23  
> > > 09:53:38
> > > 125 processes: 1 running, 124 sleeping
> > > CPU:  0.0% user,  0.0% nice,  1.5% system,  0.4% interrupt, 98.1% idle
> > > Mem: 499M Active, 70M Inact, 362M Wired, 41M Cache, 111M Buf, 20M Free
> > > Swap: 2000M Total, 160M Used, 1840M Free, 8% Inuse
> > > 
> > > Though It looks good to me - the server swaps a bit (between 8 to 14%)
> > > and there is not much memory left.
> > 
> > Looks like the server would run more smoothly with a bit more RAM.  At
> > least an additional 256M, I would think, but considering the price of RAM,
> > you might as well just up it to 2G.
> 
> The amount of used swap is much less important than whether you are actively
> swapping (if there are In/Out values on the Swap line in top, or if "vmstat
> 1" shows nonzero values in the pi/po columns).  160MB of used swap is fine
> if it's just unused daemons (getty, idle webserver, etc).  More memory can
> never hurt, but it doesn't seem like it's urgently needed here.

I don't know about that, Dan.  Especially considering it's a mail server
he's talking about, there's no RAM left for disk cache on that machine.

We've seen performance gains on our mail server by putting obscene
amounts of RAM into it.  After a bit of use, FreeBSD ends up having 6.5G
of inactive RAM, which I assume is cache of mailboxes.  The result is that
while watching gstat, the amount of disk reads is very low (since a lot
of data is already in RAM) and the IO is available to do fast writes when
new mail comes in.

-- 
Bill Moran
http://www.potentialtech.com
http://people.collaborativefusion.com/~wmoran/
___
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: way to check an email without sending it??

2009-10-05 Thread Bill Moran
In response to Gary Kline :
> 
>   Hey Guys,
> 
>   Is there a way I can tell that an email address, say
> 
>   j...@foo.com 
> 
>   is still valid without joe knowing that I am curious?  --And,
>   yes, this isn't a FBSD-specific question... .
> 
>   thanks for any insights,

Sure.  Telnet to the service and start a SMTP transaction, but then abort it:

$ telnet mail.potentialtech.com 25
Trying 66.167.251.6...
Connected to mail.potentialtech.com.
Escape character is '^]'.
220 mail.potentialtech.com ESMTP If you spam me I will bounce you
helo mail.potentialtech.com
250 mail.potentialtech.com
mail from: 
250 2.1.0 Ok
rcpt to: 
450 5.7.0 : Recipient address rejected: User unknown in 
local recipient table
quit
221 2.0.0 Bye
Connection closed by foreign host.

If you don't get a rejection after the "rcpt to:" line, then you know the
server will accept the mail and you can close the connection without
completing the transaction.

Note, that this is no guarantee.  Some spam catching nonsense may accept
the mail right up to end, then throw it away without delivering it.

-- 
Bill Moran
http://www.potentialtech.com
http://people.collaborativefusion.com/~wmoran/
___
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: When is it worth enabling hyperthreading?

2009-10-08 Thread Bill Moran
Pierre-Luc Drouin  wrote:
>
> Hi,
> 
> Could someone explain me in which cases it is useful to enable 
> hyperthreading on a machine running FreeBSD 8.0 and in which other cases 
> it is not a good idea? Is that possible that hyperthreading is 
> disadvantageous unless the number of active (non-sleeping) threads is 
> really high?
> 
> For example, if I have an i7 CPU with 4 physical cores and that I run 
> some multi-threaded code that has only 4 threads, it will run almost 
> always (twice) slower with hyperthreading enabled than when I disable it 
> in the BIOS. If I understand correctly, hyperthreading has the advantage 
> of being able to do CPU context switching faster than the OS, but it 
> does this context switching systematically instead of only when 
> requested, so it slows things down unless the number of running 
> (non-sleeping) threads is greater or equal to let say the number of 
> physical threads x 1.5-1.75.

I can't speak to the technical explanation, but I can give you my real-
world experience.

We asked this same question where I worked and had the time and ability
to test it.  What we found:

* With hyperthreading on, workstations were more responsive to concurrent
  tasks.  They weren't particularly faster at executing, but there were
  less incidents of a background task causing the UI to stall or stutter.
* pgbench showed anywhere from 0% - 15% increased throughput.  Kind of
  pathetic, but we never saw a workload on PostgreSQL that was hurt by
  turning hyperthreading on.

-- 
Bill Moran
http://www.potentialtech.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"


[OT] Service that provides security questions

2009-10-13 Thread Bill Moran

I know that various companies use a pretty crazy security question
system if your forget your account password and you can't use email
to reset it.  It seems to be the same system used by the credit
agencies when you ask for a credit report the first time.

It's the system where they ask you 6 or 7 questions and you have to get
most of them right.  You know, when some of the questions have no answer,
like "What year did you live at 123 Baker St" when you've never lived
there, so you have to select "no matching answer".  Those who have dealt
with one of these systems know what I'm talking about.

I have a hard time believing each of these companies sets up such a
system on their own, and I have a feeling that there's a 3rd party
that compiles the data for them.  Can anyone refer me to such a
company?

-- 
Bill Moran
http://www.potentialtech.com
http://people.collaborativefusion.com/~wmoran/
___
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: Why is sendmail is part of the system and not a package?

2009-10-26 Thread Bill Moran
In response to Yuri :

> It's in /usr/sbin/sendmail.
> 
> How many people actually use it? Very few.

Quite a lot.  In fact, anyone who properly installs FreeBSD as a server.

> Why isn't it moved to ports?

Because an MTA has traditionally been part of a POSIX system.

Besides, if it's not there, how are you going to send mail from things
like cron?

-- 
Bill Moran
http://www.potentialtech.com
http://people.collaborativefusion.com/~wmoran/
___
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: FreeBSD && remote MS ACCESS database

2009-11-10 Thread Bill Moran
In response to Dan Nelson :

> In the last episode (Nov 10), Matthias Apitz said:
> > Is there any chance to read and update a remote MS ACCSESS database from
> > FreeBSD 8-CURRENT, via ODBC?  Thanks in advance
> 
> With samba, wine, and a local install of Office, sure.  ODBC is a
> programming API, not a networking protocol, so you need direct access to the
> .mdb file.  MS Access is the only thing that can read .mdb files, so that's 
> why
> you need wine and a local Office install.

Not quite accurate.  The .mdb format is supported by a number of Microsoft
products.  In particular, MS offers an ODBC driver that read/writes the
.mdb files and makes it look like any other ODBC device.  I don't know if
there's an equivalent for FreeBSD (or anything other than Windows).

> If you really need remote access to the data, move the tables into a
> client-server database (mysql, postgres, etc) so you can get to them
> directly from Unix, and use linked tables in your .mdb file so Access itself
> will still work.

Connecting to a .mdb-based database remotely is fraught with peril.  I've
seen dozens of .mdb databases corrupted over my years because some weird
file locking glitch or network glitch caused the files to become mangled.
Add to that the fact that an .mdb database has absolutely no security (to
the degree that any user could simply delete the entire thing) and I have
to agree with Dan's assertion that you'll be much better off, long run,
to move this onto a read DB server.

-- 
Bill Moran
http://www.potentialtech.com
http://people.collaborativefusion.com/~wmoran/
___
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: Virtual box to do cross-browser testing

2009-11-16 Thread Bill Moran
John Almberg  wrote:
>
> Anyone have experience using Sun's "Virtual Box" on FreeBSD? I am 
> looking for a way to run virtual Windows machines to do cross-browser 
> testing...
> 
> Don't need sound card or anything complex... if I can get it working 
> good enough to have access to IE 6, 7, and 8 (with 3 different virtual 
> boxes, probably), that would be enough for me.
> 
> But before I jump through the hoops of setting up a new FreeBSD box and 
> setting up this virtual box software, I'd like to hear how others have 
> fared with this software.
> 
> Any experience, much appreciated.

I've been using it for several months.  Older versions were a bit fussy,
but the latest seems to be really solid.

The only problem I have with it is that high graphic usage will basically
steal the VM away from the user (i.e. if I run a video inside a vbox
machine, I can't access the mouse until the video is done running).

Been running Windows WP inside a Virtual Box on FreeBSD 7.

-- 
Bill Moran
http://www.potentialtech.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: hdd voltage

2009-11-17 Thread Bill Moran
In response to Polytropon :

> On Tue, 17 Nov 2009 09:43:04 -0800 (PST), Dánielisz László 
>  wrote:
> > I'm looking for a tool to measure the exactly power consumiton
> > (voltage and amper) of my hdd, cpu and ram on FreeBSD. 
> > Do you have any idea?
> 
> Not exactly every item, but there are tools in the ports,
> such as mbmon and xmbmon that allow you to monitor several
> voltages (as well as other parameters, such as temperature
> or fan speed, if they are transmitted to the OS).
> 
> By the way, I'm not sure the issue you described points
> to too less power; my workstation is full of hard disks
> and old SCSI stuff, and I'm fine with a 235 W PSU (no
> joke) in long-term usage and I/O stress situations.

Not all power supplies are created equal.  Unfortunately, there's
no government oversight on power supply ratings, thus a cheap 450W
power supply might go unstable if it has to supply 200W for very
long, whereas a good quality 200W power supply might be able to
put out 450W for short periods reliably.

Additionally, are you sure your service power is good?  Even the
best power supply will fail if you're not getting 120V/60H at the
outlet (or whatever voltage/freq you're supposed to get in your part
of the world).

Not a direct answer to your question, but hopefully some useful
information to consider.

-- 
Bill Moran
http://www.potentialtech.com
http://people.collaborativefusion.com/~wmoran/
___
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: Spammer data mining and www.freebsd.org

2009-11-26 Thread Bill Moran
"Ronald F. Guilmette"  wrote:
> 
> I just got a spam from some numbnuts spammer who said (in the spam), and I
> quote:
> 
> 
> >Why would anyone still pay recruitment agency fees? Wouldn't you prefer to
> >RECRUIT AS MANY PEOPLE per campaign for $499?
> >
> >Your contact details were on
> > 'http://www.ca.freebsd.org/doc/en/articles/contributors/article.html#STAFF-COMMITTERS'
> >and we thought you should know that, during Nove>mber, you can RECRUIT
> >AS MANY PEOPLE per campaign...
> 
> 
> Jeezze Louise!
> 
> In the first place, I didn't even know that my name or e-mail address were
> listed on that page, and I was really rather surprised to find that they
> were.  Why the bleep am _I_ on there?  Yea, I've hacked free software
> from time to time in my career... more than just a little... but I really
> can't recall having ever ``contributed'' to FreeBSD in any significant or
> meaningful way.  I mean I'm honored to be listed in with such illustrious
> company, but in all modesty, I don't deserve to be.
> 
> But anyway, regardless of that, I have to ask: (1) Why the bleep are so
> many e-mail addresses listed on that page in plain text, and without any
> sort of spammer harvesting protection whatsoever?  And (2) who should I
> gripe to about this sorry state of affairs?  webmaster(at)freebsd.org?
> 
> I don't expect the email addresses to be protected by captchas or anything
> that convoluted, but the webmaster certainly could have at least replaced
> `@' with `(at)' or some such thing.

You do realize that this email is being archived on any number of online
archives that the FreeBSD project has no control over, and that any of
them may list your email address unobfuscated.

While I can't speak for the project, I feel that obfuscating email
addresses is a weak and obsolete protection from harvesting.  It's trivial
to make a screen-scraper translate "at" to "@", and even if the method
of obfuscating is more clever than that, if it's consistent and a larger
number of email addresses are available after breaking it, well ... you
get the idea.

Far better to complain to the ISP where the email originated.  That's
someone who can actually do something about the problem.

-- 
Bill Moran
http://www.potentialtech.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: Phoronix Benchmarks: Waht's wrong with FreeBSD 8.0?

2009-11-30 Thread Bill Moran
In response to Ivan Voras :

> Thomas Backman wrote:
> > On Nov 30, 2009, at 9:47 AM, O. Hartmann wrote:
> > 
> >> I'm just wondering what's wrong with FreeBSD 8.0/amd64 when I read the 
> >> Benchmarks on Phoronix.org's website. Especially FreeBSD's threaded I/O 
> >> shows in contrast to all claims that have been to be improoved the 
> >> opposite.
> > Corrected link: 
> > http://www.phoronix.com/scan.php?page=article&item=freebsd8_benchmarks&num=1
> > 
> > And yeah, quite honestly: disk scheduling in FreeBSD appears to suck... The 
> > only reason I'm not switching from Linux. :(

"All operating systems were left with their default options during the
installation process..."

It's common knowledge that the default value for vfs.read_max is non-
optimal for most hardware and that significant performance improvements
can be made in most cases by raising it.

While it would be nice if FreeBSD shipped with a more performant default
setting, it would also be nice if mindless benchmark drones would quit
assuming that every system ships pre-configured to perform optimally in
their benchmarks.

-- 
Bill Moran
http://www.potentialtech.com
http://people.collaborativefusion.com/~wmoran/
___
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: Phoronix Benchmarks: Waht's wrong with FreeBSD 8.0?

2009-11-30 Thread Bill Moran
In response to Robert Huff :

> 
> Bill Moran writes:
> 
> >  It's common knowledge that the default value for vfs.read_max is
> >  non- optimal for most hardware and that significant performance
> >  improvements can be made in most cases by raising it.
> 
>   Documentation/discussion where?

http://www.google.com/search?q=freebsd+vfs.read_max

... although it doesn't seem to be "officially" documented anywhere.

-- 
Bill Moran
http://www.potentialtech.com
http://people.collaborativefusion.com/~wmoran/
___
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: Root exploit for FreeBSD

2009-12-10 Thread Bill Moran
In response to Anton Shterenlikht :

> >From my information security manager:
> 
>   FreeBSD isn't much used within the University (I understand) and has a
>   (comparatively) poor security record. Most recently, for example:
> 
>   
> http://www.h-online.com/security/news/item/Root-exploit-for-FreeBSD-873352.html

Are you trying to make your infosec guy look like an idiot?  Does he
realize that FreeBSD has a grand total of 16 security problems for all
of 2009?  Hell, Microsoft has that many in an average month.

If he can find something (other than OpenBSD) with a better record than
that, I'd love to hear about it.

-- 
Bill Moran
http://www.potentialtech.com
http://people.collaborativefusion.com/~wmoran/
___
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: alerts for stopped daemons

2009-12-26 Thread Bill Moran
"Jean-Paul Natola"  wrote:
>
> Hi all,
>  
> I was wondering how I can configure  bsd to send an email or sms  when a
> daemons stops running-
>  
> i.e.  perl5.10.0 stops for whatever reason  send alert.

net-snmp can do this.  So can Nagios and a slew of other monitoring/
reporting packages.

-- 
Bill Moran
http://www.potentialtech.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: FreeBSD versions

2010-01-04 Thread Bill Moran
In response to Mernoz Rostangi :

> Hi,
> 
> I would like to know if the FreeBSD 8.0 IA64 can be used on 32bit cpu also ?
> 
> If yes, what is the difference between IA64 and x86 versions ?

IA64 is a completely different architecture than x86.  Think gasoline vs.
diesel.  x86 and IA64 are not compatible at all.

If you were talking about amd64, that's a different story.  Most newer
CPUs are amd64.  All amd64 CPUs can also run a 32bit x86 OS.  Some x86
32bit CPUs are also amd64 compat.

-- 
Bill Moran
http://www.potentialtech.com
http://people.collaborativefusion.com/~wmoran/
___
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: Tuning for very little RAM

2010-01-06 Thread Bill Moran
In response to Da Rock :

> Its been a while- work's has been keeping me very busy for months now.
> 
> I have revived an old laptop which has very little RAM, and it is
> absolutely hammering the swap.
> 
> I'm trying to set it up as a demo for some skeptics with no money, so I
> need email, internet (with plugins), openoffice, acrobat, and wine.
> 
> Aside from all that though, for the academics of it how can I help this
> situation? The laptop has around 100MB RAM, with 16k free, and has a new
> install of FreeBSD 8.0.

The most obvious thing to do is reduce the number of running programs.
Go through /etc/ttys, for example, and disable all but one or two consoles,
and edit /etc/rc.conf to disable anything that you don't need on the
system (possible sendmail, syslog?, etc)


-- 
Bill Moran
http://www.potentialtech.com
http://people.collaborativefusion.com/~wmoran/
___
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: Accessing Computer

2010-01-08 Thread Bill Moran
In response to Carmel :

> Assume three computers.
> 
> Computer 1 runs Windows with Putty installed
> Computer 2 & 3 run FreeBSD
> 
> Computer 1 runs Putty and creates a key that is installed on computer 2.
> Computer 2 has a key that is installed on computer 3.
> 
> If someone were to use computer 1 via Putty to access computer 2, would
> they then be able to access computer 3? If so, how could I prevent it
> from happening?

You could prevent ssh connections from 2 -> 3 on port 22 via firewall.

-- 
Bill Moran
http://www.potentialtech.com
http://people.collaborativefusion.com/~wmoran/
___
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: starting a program at boot time

2008-03-11 Thread Bill Moran
In response to Jerry McAllister <[EMAIL PROTECTED]>:

> On Wed, Mar 05, 2008 at 07:24:07PM +0100, Wojciech Puchar wrote:
> 
> > >how do i  start a program  at boot time?
> > 
> > simplest to add to rc.local
> > 
> > or as a user - add
> > 
> > @reboot command
> > in crontab
> 
> Not really.   
> 
> The more proper way is to add a startup script in /usr/local/rc.d/

Just for the sanity of the OP: that directory is /usr/local/etc/rc.d

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


Re: Superuser password lost

2008-03-12 Thread Bill Moran
In response to Luigi <[EMAIL PROTECTED]>:

> Hi all,
> 
> Maybe it's a simple question but i'm a newbie lost in my new BSDworld.
> 
> I've installed PC-BSD but when I want to install a software, It ask me a 
> superuser password.
> I think I lost this password. How can I retrieve this superuser password ?

This is a PC-BSD-specific question.  There is no such thing as "the
superuser" ... it's a colloquialism frequently used by folks to make
things sound cooler (or for some other reason I don't understand)

PC-BSD has several community lists, including a support list.  Have
you tried asking there?:
http://www.pcbsd.org/content/view/22/29/

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


Re: Superuser password lost

2008-03-12 Thread Bill Moran
In response to Jerry McAllister <[EMAIL PROTECTED]>:

> On Wed, Mar 12, 2008 at 09:52:38AM -0400, Bill Moran wrote:
> 
> > In response to Luigi <[EMAIL PROTECTED]>:
> > 
> > > Hi all,
> > > 
> > > Maybe it's a simple question but i'm a newbie lost in my new BSDworld.
> > > 
> > > I've installed PC-BSD but when I want to install a software, It ask me a 
> > > superuser password.
> > > I think I lost this password. How can I retrieve this superuser password ?
> > 
> > This is a PC-BSD-specific question.  There is no such thing as "the
> > superuser" ... it's a colloquialism frequently used by folks to make
> > things sound cooler (or for some other reason I don't understand)
> 
> I don't understand this response.   Superuser is just another
> name for the root user which is any user id with a UID of 0.

No.  The term "superuser" is a made-up term for any way of gaining
root privs.  In my experience it's confusing as there are two
commonly used methods for doing this, the su command and sudo, and
they require different passwords.

Frankly, I don't know whether PC-BSD is asking for the root password
or asking for him to confirm _his_ password for use in a sudo-like
operation.  I don't know of anywhere in the FreeBSD base system
that the term "superuser" is used, so I assume he'll get a more
direct answer from the PC-BSD folks.

> I haven't used PC-BSD flavor, but in general, with BSDs you force
> them to boot - by killing power if necessary, but a clean shutdown
> is better (but that usually requires root).

The instructions you give are only correct if it's the root
password he lost.  It's likely you're right and this will get him
up and running again, but I didn't know that for sure and didn't want
to lead him down a bunch of steps only to find out that it was asking
for something different.

I was curious about the PC-BSD community and checked their web site.
Based on what I saw, the best advice to me seemed to be to direct him
to them.

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


Re: Superuser password lost

2008-03-12 Thread Bill Moran

Because I don't think it's appropriate to drag this conversation on
and on, I'm going to try to answer all the responses in a single
email.

Jerry McAllister <[EMAIL PROTECTED]> wrote:
>
> On Wed, Mar 12, 2008 at 11:27:36AM -0400, Bill Moran wrote:
> 
[snip]
> > 
> > No.  The term "superuser" is a made-up term for any way of gaining
> > root privs.  In my experience it's confusing as there are two
> > commonly used methods for doing this, the su command and sudo, and
> > they require different passwords.
> 
> I have never seen the term used that way.
> 
> I have seen su and sudo referred to as ways of a non-root id gaining 
> superuser priviledge/root priviledge but not a superuser as someone who 
> is not root, but has a method of gaining root priviledge.

Apparently I miscommunicated.  My point was that the OP's message used
the term "superuser" in an ambiguous way. (i.e. the way I mentioned).
To me, it wasn't clear what it was asking for, and thus sending the OP
to the PC-BSD community (where folks are probably familiar to the
GUI widget he's dealing with) seemed the best thing to do.

Erik Trulsson <[EMAIL PROTECTED]> wrote:
>
> On Wed, Mar 12, 2008 at 11:27:36AM -0400, Bill Moran wrote:
[snip]
> > 
> > No.  The term "superuser" is a made-up term for any way of gaining
> > root privs.
> 
> Wrong.  "superuser" is, just as the previous poster said, a synonym
> for "root", i.e. a user account with UID=0
> 
> See for example  http://en.wikipedia.org/wiki/Superuser
> or  http://catb.org/jargon/html/S/superuser.html

Who am I to argue with wikipedia?  But the second link you provide
does not agree with your explanation.  According to The Jargon File,
my wmoran account is a superuser, because it's a member of the wheel
group.

Thus, my argument that the term is ambiguous, which (based on the
links you provided) you seem to be backing up.

Alex Zbyslaw <[EMAIL PROTECTED]> wrote:
> Hate to be picky, because I'd agree with most everything else you wrote, 
> but superuser, and its synonym super-user, do appear in many base man 
> pages, for example the su page shown below.  Sometimes it's a shortcut 
> for root (or other UID 0 user), like below in su, sometimes just for 
> effective UID 0 in general, for example as in mount(8).
> 
> >  The su utility requests appropriate user credentials via PAM and 
> > switches
> >  to that user ID (the default user is the superuser).  A shell is then
> >  executed.

Mel <[EMAIL PROTECTED]> wrote:
> 
> In the kernel even!
> suser(9), suser_cred(9), vfs_suser(9)

OK, I was wrong on this point.

Alex Zbyslaw <[EMAIL PROTECTED]> wrote:
> 
> I'd contend that the su manpage *should* say root not superuser, since 
> root is hardwired as the default.  But for other cases, any user with 
> UID 0 might work just as well (e.g. toor).

I agree on this point, but not enough to bother trying to put a patch
together that (based on the conversation here) is likely to be
controversial.

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


Re: That age old question again

2008-03-16 Thread Bill Moran
Robert Chalmers <[EMAIL PROTECTED]> wrote:
>
> Not quite but close.
> On the front page of FreeBSD.org, is the download links for
> LATEST RELEASES
>   a.. Production Release 7.0
> Which I'm assuming is the latest, and commercially useable version.
> 
> Now I still find the situation of CURRENT, STABLE as they relate to RELEASE 
> slightly confusing, and no amount of description seems to clear it up.

What's so confusing?

CURRENT = pure development branch for major new features ... i.e. will
  become 8.0 eventually.
STABLE = development to the next minor release ... 7-STABLE will become
 7.1 eventually, and 6-STABLE will eventually become 6.4

> Ok, I understand CURRENT is developmental, and becomes the next major 
> version as stated below. So the next major version is the one on the 
> website? Release 7.0 - or, 7.0-RELEASE ...yes/no?

CURRENT will become 8.0 when it hits release.  Probably in a few years.

> Then 7.0-STABLE continues the work to be the bugfix/security blah blah tree.
> 
> The question I have is:  For the Production Release shown above - 
> 7.0-RELEASE, what is the cvsup tag to keep this version updated ??

You want RELENG_7_0 for bugfixes/security fixes for production systems.

You only want STABLE or CURRENT if you're testing the next version, assisting
with development, or need a feature before it's officially released.

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


Re: Urgent: filesystem "full", though space is available

2008-03-17 Thread Bill Moran
In response to "Armando Cambra" <[EMAIL PROTECTED]>:

> Or try to find the culprit with lsof (can't remember the options). You will
> see some processes using files you don't have --> kill that process and your
> space will be freed.

You can also use fstat if you don't wan to install Linux software on your
BSD system.

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


Re: Urgent: filesystem "full", though space is available

2008-03-17 Thread Bill Moran
In response to Dan Nelson <[EMAIL PROTECTED]>:

> In the last episode (Mar 17), Bill Moran said:
> > In response to "Armando Cambra" <[EMAIL PROTECTED]>:
> > 
> > > Or try to find the culprit with lsof (can't remember the options).
> > > You will see some processes using files you don't have --> kill
> > > that process and your space will be freed.
> > 
> > You can also use fstat if you don't wan to install Linux software on your
> > BSD system.
> 
> The l in lsof doesn't stand for Linux :)  lsof is bsd-licensed
> actaully.

True, but not my point.

lsof is like wget ... it's built into almost every Linux distro.  Thus
you see lots of people suggesting your install lsof and wget on BSD
systems with no mention of fstat and fetch.  Even if lsof is BSD
licensed, it's really a Linux program on account of how it's used.

fstat, in particular, is just as useful as lsof in every case I've needed
it.

I'm just being pedantic :)

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


Re: my brother is making me learn FreeBSD...

2008-03-20 Thread Bill Moran
"Donald Laniohan" <[EMAIL PROTECTED]> wrote:
>
> My task is to build a BSD server and do something with it. That is all the
> information he gave me, that, and any questions I have to make Google my
> best friend, which I have. i remember building my first whitebox, it was a
> 386 with windows 3.1. I remember when I built my 486 and stole a copy of
> windows 95. I thought I was a savage. BSD, however, has showed me how
> juvenile I have been. If I do not master BSD my brother is going to keep me
> as a desktop support for his windows clients and I want to progress past
> this. So he's giving me a 1u, and said to put BSD on it and make it do
> something, im just so stuck in my windows comfort zone I can't think of what
> I would need a unix server to that I couldn't make windows do for me. I know
> this is trivial but if somebody could offer any suggestion or resource I,
> and my career, would greatly appreciate it

While the other advice is good, I'd just set up an Apache web server if I
were you.  It's one of the simpler tasks to take on, and you'll find lots
and lots of assistance on this via Google.

Another, possibly even easier, option is to set up a shell server.  Just
install the OS, enable sshd and add some users.  You could argue that it's
a secure file transfer server (load up WinSCP on a Windows box and show off
just how 133t your are)

The handbook is going to be your best guide initially:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/

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


Re: [Fwd: Re: List replies]

2008-03-22 Thread Bill Moran
Da Rock <[EMAIL PROTECTED]> wrote:
>
> Fair enough, but is it necessary on all the lists for freebsd?
> 

http://www.unicom.com/pw/reply-to-harmful.html

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


Re: [Fwd: Re: List replies]

2008-03-23 Thread Bill Moran
Gerard <[EMAIL PROTECTED]> wrote:
>
> On Sat, 22 Mar 2008 08:30:28 -0400
> Bill Moran <[EMAIL PROTECTED]> wrote:
> 
> > Da Rock <[EMAIL PROTECTED]> wrote:
> > >
> > > Fair enough, but is it necessary on all the lists for freebsd?
> > 
> > http://www.unicom.com/pw/reply-to-harmful.html
>  
> That is one man's point of view. There are several others though.

a) What was your point in saying that?

b) Not really.  It's a list of reasons and the reasons are factual,
   not opinion.  While the overall conclusion is opinion, the article
   is factual and informative in nature.

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


  1   2   3   4   5   6   7   8   9   10   >