serial connection

2012-12-15 Thread Jonathan P

hello everyone, i need to establish a connection between 2 freebsd systems, but 
i have to this over a serial line, any advices? thank you all so much!  
  
___
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: cksum entire dir??

2012-09-13 Thread Jonathan McKeown
On Wednesday 12 September 2012 22:29:45 Gary Kline wrote:

   how, with mtree, could I tell  whether dir1 == dir2 or not?

From the manpage:

``The mtree utility compares the file hierarchy rooted in the
current directory against a specification read from the standard
input.  Messages are written to the standard output for any files
whose characteristics do not match the specifications, or which
are missing from either the file hierarchy or the specification.''

So you run mtree twice, once against dir1 with the -c option to output the 
specification for the directory tree to stdout (which you can capture to a 
file, or pipe straight into the second invocation) and once against dir2 with 
the output of the first one as input (either in a pipeline, or by using -f 
with the filename of the captured output).

Jonathan
___
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: cksum entire dir??

2012-09-12 Thread Jonathan McKeown
On Wednesday 12 September 2012 08:31:45 Matthew Seaman wrote:
 On 12/09/2012 00:14, Polytropon wrote:
  % cksum directory
[snip]

 That will give you a checksum on the directory inode -- file names and
 associated metadata only, not file content.
[snip]
 Generally I find the best test for differences between old and new
 copies of a filesystem is 'rsync -avx -n ...'

Wouldn't suitable applications of mtree(8) also do what's wanted?

Jonathan
___
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: Warning - FreeBSD (*BSD) entanglement in Linux ecosystem

2012-08-22 Thread Jonathan McKeown
On Wednesday 22 August 2012 15:41:05 David Jackson wrote:
 So this is clearly not about portability, FreeBSD is free to implement
 these software interfaces to assure that software is portable to FreeBSD.

Really? You make software portable by writing it to one environment and then 
changing every other environment to suit the software?

I'm not sure software portability means what you think it means.

Jonathan
___
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: Flaming mailing lists (was Re: Why Clang)

2012-06-22 Thread Jonathan McKeown
On Friday 22 June 2012 07:04:35 Bernt Hansson wrote:


 I want to whish all a very mery Midsummer's Eve and Midsummer's Day

 http://en.wikipedia.org/wiki/Midsummer#Sweden

I appreciate the sentiment but it's midwinter here ;)

Jonathan
___
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


Flaming mailing lists (was Re: Why Clang)

2012-06-20 Thread Jonathan McKeown
On Wednesday 20 June 2012 12:59:51 Stephen Cook wrote:
 On 6/19/2012 4:06 PM, Anonymous Remailer (austria) wrote:

[snip childish invective]

 I'm a relative newcomer. Are the FreeBSD mailing lists always this
 flame-y? I realize that this particular post might be trolling / satire

No, they aren't. And I notice that whoever is primarily responsible for it 
isn't even prepared to sign his own name to his tirades - he (or she) is 
using anonymous remailers. (Irritatingly this makes him difficult to 
killfile - it turns out there's at least one recent legitimate post that's 
been sent through a similar remailer so I can't just toss them all away).

Jonathan
___
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: log error..

2012-04-01 Thread Jonathan Vomacka

On 4/1/2012 3:21 AM, Robert Bonomi wrote:

 From owner-freebsd-questi...@freebsd.org  Sun Apr  1 01:46:26 2012
Date: Sun, 1 Apr 2012 13:01:31 +0700 (WIT)
From: jangkawij...@students.itb.ac.id
To: questionsquesti...@freebsd.org
Cc:
Subject: log error..



[ snip numerous syslog messages indicating incorrect zone file syntax ]


can somene help me ??

can some help me to selve this thanks


Since you seen incapable of reading and following the directions for
creating properly formatted BIND zone files, even after having been
directed to those resoures after your prior post, the best advice is
for you to either:
   1) Hire a knowledgable professional to set it up for you.
-or-
   2) Contract with a knowledgable operator to host your zones on *their*
  servers.
___
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


LOL. Well said.
Read docs and then ask for help, otherwise dont read docs and hire 
someone who knows what they are doing versus someone who doesnt care to 
learn.

___
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


Question regarding SPF records

2012-02-18 Thread Jonathan Vomacka
I am inquiring about how to setup a proper SPF record. I know there are 
SPF wizards/generators available but each seem to have a different 
opinion of what should be included and what should not be included.


Let me give you a scenario of my setup, and hopefully someone can help 
me out.


My domain is: test.com
My mailserver hostname is: mail.host.com which also has a MATCHING PTR 
record
mail.host.com (for example) resolves to 50.1.1.1 and 50.1.1.1 resolves 
to mail.host.com


This is a STANDALONE mail server which will receive and send email 
without any VIP's or load balancing. There is however one additional 
host that will send out mail from the domain but it wont be receiving 
mail, it will only be used as an SMTP (outbound only) server attached to 
a website automailer which is on a seperate webserver... It only 
generates error reports and sends them out... so technically it isn't a 
full mail server but it will be sending (outbound only) mail on behalf 
of the domain.


The additional host is: mail2.test.com which resolves to 50.2.2.2 and 
there is a Matching PTR.


These are the ONLY mail servers and IP addresses that will be sending 
out mail from the test.com domain. Some websites say I should use -all 
and others say -all will cause some MTA's to reject and ~all is better 
to use even if those are the only two hosts sending out mail.


Would you be able to assist with a solid SPF record?
___
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: Question regarding SPF records

2012-02-18 Thread Jonathan Vomacka



On 2/18/2012 12:18 PM, Waitman Gobble wrote:


On Feb 18, 2012 8:53 AM, Jonathan Vomacka juvi...@gmail.com
mailto:juvi...@gmail.com wrote:
 
  I am inquiring about how to setup a proper SPF record. I know there
are SPF wizards/generators available but each seem to have a different
opinion of what should be included and what should not be included.
 
  Let me give you a scenario of my setup, and hopefully someone can
help me out.
 
  My domain is: test.com http://test.com
  My mailserver hostname is: mail.host.com http://mail.host.com which
also has a MATCHING PTR record
  mail.host.com http://mail.host.com (for example) resolves to
50.1.1.1 and 50.1.1.1 resolves to mail.host.com http://mail.host.com
 
  This is a STANDALONE mail server which will receive and send email
without any VIP's or load balancing. There is however one additional
host that will send out mail from the domain but it wont be receiving
mail, it will only be used as an SMTP (outbound only) server attached to
a website automailer which is on a seperate webserver... It only
generates error reports and sends them out... so technically it isn't a
full mail server but it will be sending (outbound only) mail on behalf
of the domain.
 
  The additional host is: mail2.test.com http://mail2.test.com which
resolves to 50.2.2.2 and there is a Matching PTR.
 
  These are the ONLY mail servers and IP addresses that will be sending
out mail from the test.com http://test.com domain. Some websites say I
should use -all and others say -all will cause some MTA's to reject and
~all is better to use even if those are the only two hosts sending out mail.
 
  Would you be able to assist with a solid SPF record?
  ___
  freebsd-questions@freebsd.org mailto: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
mailto:freebsd-questions-unsubscr...@freebsd.org

I usually choose soft fail because a user might decide to use a mobile
device for email.

Waitman Gobble
San Jose California USA



Waitman,

Fair enough statement.

I also generated the following SPF using a wizard. Let me know if this 
looks correct:


teamwarfare.com. IN TXT v=spf1 a mx a:mail.teamwarfare.com 
a:mail2.teamwarfare.com ip4:66.90.73.80 ip4:216.250.250.148 ~all


I wouldn't need an include: or ptr statement in this right? I would 
told include: was to include OTHER domains that are allowed to send 
e-mail, but then again I see some people writing the domain again as an 
include. Also is PTR good to use or not?

___
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 space

2012-02-17 Thread Jonathan Vomacka
On Feb 17, 2012 6:55 PM, Jim Pazarena fqu...@paz.bz wrote:

 is there a command which can show the size of the hard drive swap?

 A df seems to avoid the swap area.

 This would be on a live production server.
 Thanks.
 ___
 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

Top or vmstat
___
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: Looking for SEO / Website Design Work

2012-02-13 Thread Jonathan Vomacka
On Feb 13, 2012 10:48 AM, Shrikansh seoshrika...@gmail.com wrote:

 Hi,


 I am a SEO Specialist from India looking for a job in the field of
Internet marketing .

 I have 4 years experience with SEO, Website Design and development. I
would like to work remotely from my present location in India and help your
organization with SEO and website design .I am specialized in Organic SEO.
 My other skills include HTML, CSS, Photoshop, Dream weaver, flash, Joomla
and Word Press and PPC.

 My monthly wage expectation is 800 USD Per month for fulltime work ie for
160Hrs or 400 USD for part time work. I can help you in handling seo
projects for all your clients.
 Looking forward to discussing this job opportunity further and how I can
contribute to the success of your esteemed organization.

 Thank you for your time and consideration.


 Sincerely,
 Shrikansh
 e-mail - - seoshrika...@gmail.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

This is not the mailing list for advertisements
___
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: fixating USB Storage

2012-02-04 Thread Jonathan Vomacka
On Feb 4, 2012 4:54 AM, Mike Clarke jmc-freeb...@milibyte.co.uk wrote:

 On Saturday 04 February 2012, Conrad J. Sabatier wrote:

  I don't know if anyone else has already mentioned it to you in
  response to this question, but I just very recently switched over to
  using volume labels to mount my partitions instead of device names.
   I was having an ongoing issue where this external USB drive's device
  number assignment would change from one boot to the next, toggling
  back and forth between da0 and da4 (strange!).

 Sounds similar to my experience. Normally my internal 4 slot memory card
 reader is assigned devices da[0-3] and when the USB memory stick is
 inserted it comes up as da4. If the USB stick is present on booting
 then it appears as da0 and the card reader is da[1-4]. So it looks like
 occupied slots are given priority when numbers are assigned at boot
 time.

 --
 Mike Clarke
 ___
 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

Do you know if it is different with zfs system?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD 9

2012-01-19 Thread Jonathan Vomacka
On Jan 18, 2012 9:37 PM, Allan McKinnon mckin...@live.com wrote:


 I finally got to install FreeBSD 9 onto my computer and noticed that the
installer is now different.  It seems to me that it forces you into doing
extra steps that I was comfortable doing on my own.  I really enjoyed the
old installer because then I had complete control over how I tweaked my
computer during and after the install.  I am surprised that there is no gui
present while installing FreeBSD because it feels more like Ubuntu or a
windows install (somewhat).  Please, please, please take this nightmare
away and bring the beloved installer that was before FreeBSD 9.
 Thank you for listening.
 Allan
___
 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

I am going to have to agree. The new installer is terrible
___
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: booting

2011-12-17 Thread Jonathan Vomacka
On Dec 17, 2011 9:04 AM, Maxime-Etienne de Gier maxime.etie...@gmx.com
wrote:

 I am really interested in Freebsd or PC-BSD but unfortunately every time
 when I download an ISO of either of them and try to boot up (from the
 DVD-ROM) my machine will not boot up (Laptop PackardBell).
 Any insight?  Thanks and much regard.


 Maxime.


 --
 Maxime-Etienne de Gier maxime.etie...@gmx.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

Any errors? What is the experience when you try to boot? We can not map a
problem to an entire manufacturer since the only mentioned was that it was
a Packard bell.

I know this might sound like a stupid question, but did you verify the
md5sum of the download before you burned the iso?.  please give us detailed
information so we can help you out.
___
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: Free BSD Website Question

2011-11-23 Thread Jonathan Vomacka
Absolutely not
On Nov 23, 2011 4:54 PM, Frank fr...@webhosting.net wrote:

 Hey FreeBSD,

 I saw that you had a list of web hosting providers on your website and
 wondered if you would consider adding WebHosting.net to your list.
 http://www.freebsd.org/commercial/isp.html

 We have been around since 1998 and focus on more advanced hosting needs
 like cloud hosting, exchange hosting, and dedicated servers. We have
 recently launched a new version of our site and are also doing a bit of a
 push to have more people try our service.

 If you would consider adding us to your list we would be incredibly
 grateful and please let me know if you’d like any more information about
 WebHosting.net.

 -Frank Anderson
 *webhosting.net*
 reliable. scalable. secure.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org

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


Re: Turning system accounting data into money

2011-10-11 Thread Jonathan Vomacka
Ever heard of bold_or_underline?

On Oct 11, 2011 10:06 AM, Polytropon free...@edvax.de wrote:

 This is _not_ a spam message trying to sell something
 stupid to the list. I'm just searching for a solution
 to turn consumed computing resources into a number and
 a currency symbol. :-)

 Reason: A growing amount of (my) customers seems to
 like this concept: They speed a low fee for access to
 systems and applications, and they want to pay according
 to what they did with that system. The access fee covers
 access and some basic services (backup  quota), and for
 anything more advanced they want to be charged per
 units used, or per consumed resources. This can be dialog
 time (SSH), disk I/O, disk occupied, pages printed (can happen)
 or pages required to print on exceptional specific forms
 (can happen once or twice a year and is charged with an
 additional fee for fold, staple  mutilate).

 Sounds stupid? I have _real_ customers intendedly
 requesting that payment model (instead of just pay
 amount n Euro a month and do whatever you like).

 Accidentally, I remembered history.

 So I thought: This funcitonality has been present on
 UNIX systems for many decades. But _how_ to use it? I
 know there's the command set for accounting, for example
 the ac command. But what does its output total 7264.15
 mean? There also are acct (process accounting), sa
 (for system accounting) and pac (for printer accounting,
 just dooesn't seem to work with CUPS).

 I'd also like to use the /etc/csh.logout resp. ~/.logout
 mechanism. When a user logs in, he will be presented the
 program he uses (or a menu, in case he uses different ones).
 This can also be a regular remote desktop session. When
 he logs out, a message should be displayed that informs
 him how much will be charged for the session. At the end
 of the month, he should get an invoice with the proper
 accumulated amount.

 For example, if a user wishes to issue a make a backup
 _now_, because I intendedly want _this_ current state
 backed up _now_, this will be seen as additional I/O
 load and disk occupation (because it's handled aside of
 the regular backup runs that should be part of the
 basic package charged with the conneciton fee).
 Or as I said, he issues printing for stuff he cannot
 print at home, so he will be charged for 500 pages.
 And in case he transfers 10 GB data in, and 10 GB data
 out, he will be charged for that traffic, as well as
 for the I/O.

 The sessions in questions will be SSH sessions (text mode)
 as well as SSH/X sessions (remote desktops).

 Maybe someone already uses something similar he wants
 to share? Suggestions and inspirations are welcome.




 --
 Polytropon
 Magdeburg, Germany
 Happy FreeBSD user since 4.0
 Andra moi ennepe, Mousa, ...
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: cat sort(1) sort floating point numbers?

2011-10-03 Thread Jonathan McKeown
On Monday 03 October 2011 14:05:42 Anton Shterenlikht wrote:
 I tried sorting a file with a column of floating
 point numbers (below) with sort(1) -n. However,
 the numbers seem to have been sorted by the first
 digit only.

sort -g

Due to the GNU project's obsession with info (http://xkcd.com/912/), you 
can't readily find this out from the manpage - but the info documentation 
available on the web for coreutils describes the difference between -g 
and -n:

[when using -n] Neither a leading ‘+’ nor exponential notation is recognized. 
To compare such strings numerically, use the --general-numeric-sort (-g) 
option.

Jonathan
___
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 8.2 Partition Sizing question

2011-09-15 Thread Jonathan Vomacka

Thanks bud.

On 9/15/2011 5:19 AM, f92...@hushmail.com wrote:

There is nothing wrong with having / and /usr on separate

partitions; in fact, there are some mild advantages to fine-grained
partitioning for folks who pay attention to their filesystem space
usage.

To elaborate on this:

Assuming you have separate /var, /tmp, /usr and /home partitions,
the only files that should be on / are:

1. Part of base system not in /usr
2. Kernels (/boot/kernel)
3. root home directory (/root)

Therefore the size of / does not grow with time on most systems. It
also tends to be independent of what the system is used for, unlike
the size of /usr for example.

On my systems / is between 1.5 gb to 2 gb depending on overall disk
size. /usr is up to 10 gb on desktop systems.

A benefit of having / on its own partition is that it becomes much
harder to run / out of disk space by accident. Checking out source
trees (/usr/ports, /usr/src), building world (/usr/obj), building
ports (/usr/ports), running software that uses
/usr/local/programname/logs for storing its log files, etc. all
have potential to write to /usr if you don't have appropriate
configuration/symlinks/partitions set up to redirect them to the
right places. If your /usr is separate from / then running out of
disk space on /usr is usually harmless.

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

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


Re: Recommended SWAP space for large amounts of ram (8GB)

2011-09-15 Thread Jonathan Vomacka

Thanks Matthew / Michael for your responses on this.

On 9/14/2011 2:51 PM, Matthew Seaman wrote:

On 14/09/2011 18:27, Michael Sierchio wrote:

On Wed, Sep 14, 2011 at 6:55 AM, Matthew Seaman
m.sea...@infracaninophile.co.uk  wrote:


... In these days of plentiful RAM, the new rule of thumb is if you're
swapping, then you're doing it wrong.



I think your response follows the excellent pedagogical principle: a
little inaccuracy saves a lot of explanation.  But... disk is still
(by far) the cheapest commodity, and the opportunistic paging
algorithm manages VM very well.  VM is not by any means obsolete, and
seeing paging behavior is not a sign of a misconfigured system.


Well, yes.  I was certainly glossing over a lot of complexity -- but I
would maintain that I am fundamentally correct.

Having some pages swapped out is absolutely not a problem.  True.  In
fact, it's a positive benefit: swapping out memory pages that are
exceedingly rarely referenced makes more room in RAM for more actively
used pages.

On the other hand, having pages continually swapping in and out
definitely is a problem in terms of performance, given that disk IO
takes of the order of milliseconds, while reference to main RAM is of
the order of microseconds or less.  Orders of magnitude faster.

Now, while disk may well be the much the cheapest storage medium
available, that's only part of the expense.  In fact, up-front capital
expenditure on the kit (perhaps several thousand pounds/euros/dollars)
is outweighed by the operational expense (power, cooling, hardware
support etc.) over the life of the equipment, so spending a bit more
(capex) on components that run at lower power (opex) makes a lot of
sense.  Even more, if the server is being used for eg. e-Commerce, then
the volume of the transactions and the data processed by the server
makes all the difference to your margin: the more you can do with the
same hardware - viz, the more efficiently and faster you can make the
hardware run - then the more profit you make.  Buying more RAM is
peanuts on that scale.

Cheers,

Matthew


___
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 8.2 Partition Sizing question

2011-09-15 Thread Jonathan Vomacka

Thanks again Matthew

On 9/14/2011 2:55 PM, Matthew Seaman wrote:

On 14/09/2011 19:31, Chuck Swiger wrote:

On Sep 14, 2011, at 11:27 AM, Jonathan Vomacka wrote:

In regards to partitioning, I have a question regarding a rumor
that has been told to me by various different linux experts, and
I wanted to confirm if this also takes place with FreeBSD Unix.
In the past, I have always had the root filesystem (/) and the
/usr filesystem all on seperate partitions. I was told that
having /usr on a seperate partition is an old way of doing
things and actually causes issues when /usr is mounted separately
from root (/). Does this play true in FreeBSD or is that thought
process nonsense? I was told to create a larger root filesystem
and NOT create usr seperately as /usr will mount off the root
filesystem anyway. Will there be any issues by having /usr on a
separate partition then root? I will like to know any opinions on
this, as well as suggestions based on how other FreeBSD guru's
have their server setups.



There is nothing wrong with having / and /usr on separate partitions;
in fact, there are some mild advantages to fine-grained partitioning
for folks who pay attention to their filesystem space usage.
However, there is nothing wrong with a single root partition (well,
and swap partition), either.


Use ZFS and you can put / and /usr on different filesystems (zfses),
without any need to worry about not having made any of those filesystems
big enough.  (Since all the free space is held in common for all of the
zfses on the same zpool.) The best of both worlds.

Cheers,

Matthew


___
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


Recommended SWAP space for large amounts of ram (8GB)

2011-09-14 Thread Jonathan Vomacka

Good morning all,

Each operating system seems to have different documentation regarding 
what a decent swap size is for systems with large amounts of RAM. My 
system only has 8GB of RAM. Some people have gone with the general idea 
that 2X the amount of RAM is sufficient but for systems with large 
amounts of memory 1X the amount of RAM is fine. I was also told that 
anything over 2GB of SWAP space will cause performance issues on the 
system and that it is not recommended.


Either from the FreeBSD docs, or based on personal experiences, what is 
the recommended swap space for a 8GB system? Your opinions are greatly 
appreciated


Kind Regards,
Jonathan
___
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: Recommended SWAP space for large amounts of ram (8GB)

2011-09-14 Thread Jonathan Vomacka
Excellent response. Thank you so much.

On Sep 14, 2011 9:56 AM, Matthew Seaman m.sea...@infracaninophile.co.uk
wrote:

 On 14/09/2011 13:34, Jonathan Vomacka wrote:
  Each operating system seems to have different documentation regarding
  what a decent swap size is for systems with large amounts of RAM. My
  system only has 8GB of RAM. Some people have gone with the general idea
  that 2X the amount of RAM is sufficient but for systems with large
  amounts of memory 1X the amount of RAM is fine. I was also told that
  anything over 2GB of SWAP space will cause performance issues on the
  system and that it is not recommended.
 
  Either from the FreeBSD docs, or based on personal experiences, what is
  the recommended swap space for a 8GB system? Your opinions are greatly
  appreciated

 The old rule of thumb of swap = 2 x RAM dates back to the days when
 128MB RAM was a big deal.  Nowadays, you're likely to have that much in
 your phone, and systems with 128GB RAM are not unknown.

 In these days of plentiful RAM, the new rule of thumb is if you're
 swapping, then you're doing it wrong.  You don't need anything like as
 much swap nowadays, at least, not as compensation for lack of RAM.  You
 may need swap to back eg. tmpfs filesystems.  You don't need swap
 nowadays for system dumps -- any partition with ephemeral data (or no
 data at all) can be used for dumping, and given that minidump capability
 exists now, you don't even need to supply the 1 x RAM + delta required
 for a full dump.

 That swap  2GB resulted in performance problems was certainly true
 once, but I doubt very much that it is still the case in HEAD or the
 upcoming 9.0-RELEASE, nor probably in {7,8}-STABLE.  IIRC the problem
 was due to avoiding integer overflow in some calculations deep inside
 the VM system, which is usually not a hugely difficult problem to fix.

 My recommendation: for systems with 1GB RAM or more, and that don't make
 heavy use of memory filesystems and the like, then 2GB swap is ample,
 and you can probably get away with as little as 1GB at need.

Cheers,

Matthew

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

___
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: 'Using the Packages System' international

2011-08-16 Thread Jonathan McKeown
On Tuesday 16 August 2011 12:13:24 Amanda Lynn wrote:
 Hi!
[snip]
 Regards,
 Amanda Lynn
 +(360) 488-0303

Google the phone number. This has cropped up here before iirc - I'm not sure 
exactly what the scam is, but scam it is.

Jonathan
___
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: Established method to enable suid scripts?

2011-05-13 Thread Jonathan McKeown
On Thursday 12 May 2011 17:26:49 Chris Telting wrote:
 On 05/12/2011 07:57, Jonathan McKeown wrote:
 
  I'll say that again. It is inherently insecure to run an interpreted
  program set-uid, because the filename is opened twice and there's no
  guarantee that someone hasn't changed the contents of the file addressed
  by that name between the first and second open.
 
  It's one thing to tell people they need to be careful with suid because
  it has security implications. Deliberately introducing a well-known
  security hole into the system would in my view be dangerous and wrong.

 That race condition bug was fixed in ancient times. Before Freebsd or
 Linux ever existed I believe. It's a meme that just won't die.  People
 accepted mediocrity in old commercial versions of Unix.  I personally am
 unsatisfied by kludges.

That seems somewhat unlikely given, as someone else pointed out upthread, that 
Perl still comes with a compile-time option SETUID_SCRIPTS_ARE_SECURE_NOW, 
suggesting that they often aren't. Yes, there are ways to avoid this race 
condition - the usual one is to pass a handle on the open file to the 
interpreter, rather than closing it and reopening it.

This fix is not present in every Unix or Unix-like OS. In particular (although 
I'm happy to be corrected if I'm wrong) it's not present in FreeBSD, to the 
best of my knowledge. Whether there's a reason for that other than lack of 
developer time I don't know.

Jonathan
___
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: Established method to enable suid scripts?

2011-05-12 Thread Jonathan McKeown
On Thursday 12 May 2011 16:13:50 Chris Telting wrote:
 On 05/11/2011 07:14, Jerry McAllister wrote:
  On Tue, May 10, 2011 at 05:54:04PM -0700, Chris Telting wrote:
  I've googled for over an hour.
 
  I'm not looking to get into a discussion on security or previous bugs
  that are currently fixed.  Suid in and of itself is a security issue.
  But if you are using suid it it should work; I don't want to use a
  kludge and I don't want to use sudo.  I'm hoping it's a setting that is
  just disabled by default.
 
  My understanding is that in general the system does not allow SUID
  on scripts.   The way I have gotten around that (a long time ago)
  was to create a small binary that exec's the script and making
  the binary SUID.

 Well it's all hacks and in my not so humble option like chasing your
 tail.  The assumption is that if someone creates an executable
 (assumption is programming is C) they are more credible not to make
 mistakes.  That's a fallacy and just plain nuts.  And I'm an interpreted
 language snob saying that.  Suid is either allowable or not and should
 be a sysctl and apply equally to binaries and scripts.  Yet another
 thing to add to my project list.  Anyone know of an established patch
 for fix this freebsd issue or am I yet again going to have to create my
 own?

Have you appreciated the issue with suid on scripts? It's nothing at all to do 
with whether someone writing a compiled language is a better programmer than 
someone writing an interpreted language.

When the OS launches a binary, the file containing the program is opened once.

When the OS launches an interpreted program, the file is opened once to find 
out which interpreter to run, and then the interpreter is told to re-open the 
same filename - whose contents might meanwhile have changed.

I'll say that again. It is inherently insecure to run an interpreted program 
set-uid, because the filename is opened twice and there's no guarantee that 
someone hasn't changed the contents of the file addressed by that name 
between the first and second open.

It's one thing to tell people they need to be careful with suid because it has 
security implications. Deliberately introducing a well-known security hole 
into the system would in my view be dangerous and wrong.

Jonathan
___
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: Established method to enable suid scripts?

2011-05-11 Thread Jonathan McKeown
On Wednesday 11 May 2011 04:19:29 Devin Teske wrote:

 The reason that the suid bit doesn't work on scripts (shell, perl, or
 otherwise) is because these are essentially text files that are interpreted
 by their associated interpreter. It is the interpreter itself that must be
 suid.

I'm pretty sure that's not the case, although I'm open to correction.

The reason the system ignores the suid bit on a script is because of what 
would happen when it's executed:

1) the script is read from a file called filename and the system notices 
that it needs to be interpreted by another program.

2) that program is launched and told to re-open the file named filename and 
execute its contents with suid privilege.

The problem is a race condition: there's no guarantee that the filename opened 
by the interpreter in step 2 is the same file the user executed in step 1.

There are two common ways round this: ignore the suid bit; or arrange within 
the OS to pass a handle to the original file rather than a filename so that 
the script can't be changed out from under the interpreter.

Jonathan
___
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: problem with shell script

2011-01-12 Thread Jonathan McKeown
On Wednesday 12 January 2011 17:58:33 David Scheidt wrote:

 ps ax | grep [s]lapd | wc -l

 The [] creates a one-character class that doesn't match the regex.  Easier
 to type and grep should be a bit faster. 

And you can save another process by using

ps ax | grep -c '[s]lapd'

Although as others have pointed out, you can also use pgrep.

Jonathan
___
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: Just wanted to install vim - had to spend entire day building X11

2011-01-10 Thread Jonathan McKeown
On Monday 10 January 2011 15:02:35 Ed Smith wrote:
 This seems bizarre.  Logically, it would seem better to do a split like
 vim (bare vim - what you would expect) and xvim (vim with X11) similar
 to how emacs does emacs/xemacs.

Er, no. xemacs is a fork of emacs. emacs has X-related dependencies unless you 
make it WITHOUT_X11.

Jonathan
___
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: a perl question

2011-01-04 Thread Jonathan McKeown
On Tuesday 04 January 2011 12:32:00 S Mathias wrote:
 cat asdf.txt
 bla-bla
 bla-bla
 bla[XYZ]
 importantthing
 another important thing
 [/XYZ]
 bla-bla
 bla-bla
 [XYZ]
 yet another thing
 hello!
 [/XYZ]
 bla-bla
 etc.
 $ SOMEPERLMAGIC asdf.txt  output.txt
 $ cat output.txt
 importantthing
 another important thing
 yet another thing
 hello!

This could mean almost anything (witness another response which excludes lines 
containing blah or XYZ, which gives the desired output on your test input).

Are you actually trying to extract all the lines inside [XYZ]...[/XYZ] tags?

are the tags guaranteed not to occur on the lines you need to extract, as they 
appear here?

Because (all on one line)

perl -ne 'print if ($check = m{\[XYZ\]} .. m{\[/XYZ\]})  1 and 
$check !~ /E0$/' asdf.txt output.txt

produces the same output as you have above for the test input. (The .. range 
operator in scalar context is true as soon as the left-hand expression is 
true, and false as soon as the right-hand expression is true. It returns 1 
each time it becomes true, incrementing integers as it stays true, and 
appends E0 to the last number as it becomes false, which lets you exclude 
both endpoints).

Jonathan

___
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: Does WINE work on FreeBSD amd64 ?

2010-12-26 Thread Jonathan Chen
On Mon, Dec 27, 2010 at 02:02:58AM -0500, Xn Nooby wrote:
 The wiki page seems to say that wine is a 32-bit port, and 32-bit
 ports do not work well on amd64.  This would imply that 32-bit Windows
 programs would not run on 32-bit wine on a FreeBSD 8.1 amd64 system.
 Is this a correct interpretation?
 
 Does anyone know if there are any plans to get 32 or 64 bit windows
 programs running under wine on FreeBSD amd64?
 
 http://wiki.freebsd.org/Wine

Well, if you look further down the page, you can see how to get a 32-bit
wine on an amd64 system. I followed the instructions, and I can get it
to play Starcraft and EVE-Online. You just got to make sure that the
32-bit executable is on your path.
-- 
Jonathan Chen j...@chen.org.nz
--
 Vini, vidi, velcro...
 I came, I saw, I stuck around
___
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: fetching mail (but not fetchmail)

2010-12-24 Thread Jonathan Chen
On Thu, Dec 23, 2010 at 10:27:32PM -0500, Chris Brennan wrote:
 Bit of an odd question. But I will try. Is it possible to set up some
 mechanism (in freebsd or maybe gentoo (doesn't matter to me)) to pop/imap
 into my mail location and download everything as storage and then I imap to
 my local machine to read my mail. I realize I can pop/imap directly into my
 mail, the goal of this exorcise is to store my mail on one of my local
 servers and not my windows machine which can change at a moment's notice. (I
 just don't like the idea of permanent/long-term storage in Windows :/ )

I've got a fetchmail + procmail combination, where fetchmail retrieves
it from a remote POP3 server and procmail is the local MDA which
converts it to Maildir format (which can be read by my local
IMAP server).

My ~/.fetchmailrc looks like this:
poll pop3.vodafone.co.nz protocol pop3
username myusername
password mypassword
mda /usr/local/bin/procmail
sslproto 

And ~/.procmailrc looks like:
#
#
# Trailing / for Maildir
MAILDIR=$HOME/Maildir/
DEFAULT=$HOME/Maildir/
...

Hope that helps.
-- 
Jonathan Chen j...@chen.org.nz
--
Don't worry about avoiding temptation,
as you grow older, it starts avoiding you.
___
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: Shopping cart other than OSCommerce?

2010-12-08 Thread Jonathan McKeown
On Thursday 09 December 2010 01:07:38 Kevin Kinsey wrote:
 Chuck Swiger wrote:
  You don't magically get immunity from SQL injection by using
  JDBC or EOF or whatever, but using bound variables in queries rather
  than feeding user input into raw SQL, or invoking stored procedures
  or user-defined functions instead will mitigate one of the more
 
   common security problems.

 And these practices are Good Practice in any language, including
 PHP.  I think a big part of PHP's problem was [... documentation]

I don't think it was just documentation. Perl, for example, comes with a 
standard way to access databases, DBI, which has good practices like binding 
variables in queries, escaping of input and output and so on, baked in.

PHP comes with builtin functions for accessing MySQL databases, which do 
nothing at all to help the programmer make sensible decisions and follow best 
practice.

There are database abstraction modules for PHP as far as I know, but if 
someone decides not to use them, is it still as hard as it was to do things 
safely using the builtin mysql_* functions?

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


Re: PCI Parallel Port I/O card

2010-11-28 Thread Jonathan Chen
On Thu, Nov 25, 2010 at 9:05 PM, Jonathan Chen j...@chen.org.nz wrote:
 Hi,

 I've got a system which has a PCI I/O card with a parallel port
 on it. I'd like my 8-STABLE/amd64 machine to recognise this card.

 The relevant bits of pciconf -lcv is:

    no...@pci0:4:6:0:   class=0x070103 card=0x2000a000 chip=0x98659710 
 rev=0x00 hdr=0x00
        vendor     = 'MosChip Semiconductors (Was: Netmos Technology)'
        class      = simple comms
        subclass   = parallel port
        cap 01[48] = powerspec 2  supports D0 D3  current D0

 However, a verbose boot reveals:
    ppc0: cannot reserve I/O port range
    ppc0: Parallel port failed to probe at irq 7 on isa0

For the archives:

It appears there isn't any to configure the card to be recognised
out-of-box. I had to add an entry in sys/dev/ppc_pci.c with the
matching chip number, and recompile the kernel. Currently, it is
recognised as:

ppc1: MosChip NM9865 1284 Printer port port
0xdc00-0xdc07,0xd880-0xd887 mem
0xfe8ff000-0xfe8f,0xfe8fe000-0xfe8fefff irq 21 at device 6.0 on
pci4

If I had multi-I/O ports on the card, I would have had to modify
sys/dev/puc/puc_data.c instead.

Cheers.
-- 
Jonathan Chen j...@chen.org.nz
___
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


PCI Parallel Port I/O card

2010-11-25 Thread Jonathan Chen
Hi,

I've got a system which has a PCI I/O card with a parallel port
on it. I'd like my 8-STABLE/amd64 machine to recognise this card.

The relevant bits of pciconf -lcv is:

no...@pci0:4:6:0:   class=0x070103 card=0x2000a000 chip=0x98659710 rev=0x00 
hdr=0x00
vendor = 'MosChip Semiconductors (Was: Netmos Technology)'
class  = simple comms
subclass   = parallel port
cap 01[48] = powerspec 2  supports D0 D3  current D0

However, a verbose boot reveals:
ppc0: cannot reserve I/O port range
ppc0: Parallel port failed to probe at irq 7 on isa0

which is due to /boot/device.hints of:
hint.ppc.0.at=isa
hint.ppc.0.irq=7

How can I configure my system to recognise the parallel port on the
PCI bus?

Cheers.
-- 
Jonathan Chen j...@chen.org.nz
--
  Opportunities are seldom labeled
___
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: new user questions. (Before I back myself into a corner!)

2010-11-24 Thread Jonathan Chen
On Tue, Nov 23, 2010 at 08:41:17PM -0600, Kevin Kinsey wrote:
[...]
 Have a FTP server, so I can automate some of the web page graphics 
 updates, from other systems that generate the data, and can FTP files 
 across the LAN, also of course for general web page maintenance needs.
 
 The base system ftpd is run from inetd, a super server which can serve
 several small protocols.  Have a look at /etc/inetd.conf.  The first real 
 line:
 
 #ftp stream  tcp nowait  root/usr/libexec/ftpd   ftpd -l
 
Uncomment that (remove the 'hash'), and save it (you'll have to be root
 again, of course).

An easier solutions would be to enable the ftp server in standalone
mode via /etc/rc.conf:

ftpd_enable=YES

-- 
Jonathan Chen j...@chen.org.nz
--
The reason why worry kills more people than work is that more people
 worry than work. - Robert Frost
___
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: Where to send coredump?

2010-11-19 Thread Jonathan Chen
2010/11/20 Коньков Евгений kes-...@yandex.ru:
 Hi, Freebsd-questions.

 I ran FreeBSD 9-Current.
 System sometimes page faults.
 Does FBSD comunity need core dumps? If so where I can put dumps for
 you?

-CURRENT is 'bleeding-edge'; and if you're using it you should be
subscribing to freebsd-curr...@freebsd.org. Your kernel-fu should be
of a sufficient level before contemplating this branch. In general,
stack traces are more useful than raw-core dumps; but patches are more
than welcome.

Cheers.
-- 
Jonathan Chen j...@chen.org.nz
___
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: strange behaviour on FreeBSD 7.1

2010-11-18 Thread Jonathan Chen
2010/11/18 Коньков Евгений kes-...@yandex.ru:
 Hi.

 Sometimes system goes to this situation: 0% idle and no processes take CPU 
 time

 #top -SIHP
 last pid: 62813;  load averages:  4.17,  3.64,  2.16   up 28+06:44:02  
 20:41:41
 155 processes: 7 running, 129 sleeping, 19 waiting
 CPU: 99.3% user,  0.0% nice,  0.7% system,  0.0% interrupt,  0.0% idle
 Mem: 177M Active, 27M Inact, 124M Wired, 13M Cache, 60M Buf, 148M Free
 Swap: 2048M Total, 51M Used, 1997M Free, 2% Inuse

  PID USERNAME   PRI NICE   SIZE    RES STATE    TIME   WCPU COMMAND

 #top
 last pid: 62852;  load averages:  4.10,  3.67,  2.22   up 28+06:44:36  
 20:42:15
 172 processes: 4 running, 168 sleeping
 CPU: 99.6% user,  0.0% nice,  0.4% system,  0.0% interrupt,  0.0% idle
 Mem: 203M Active, 27M Inact, 125M Wired, 13M Cache, 60M Buf, 121M Free
 Swap: 2048M Total, 51M Used, 1997M Free, 2% Inuse

  PID USERNAME    THR PRI NICE   SIZE    RES STATE    TIME   WCPU COMMAND
 62817 root         36  -8    0 29696K 23276K piperd   0:00  7.62% perl5.8.8

If you look at the last pid between the 2 top-output snippets, you
can see that approx 40 processes came and went in-between. This
indiciates that you probably have some script running that's spawning
a large number of short-lived processes.
-- 
Jonathan Chen j...@chen.org.nz
___
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: BUG: wrong log messages

2010-11-18 Thread Jonathan Chen
2010/11/19 Коньков Евгений kes-...@yandex.ru

 Hi, Freebsd-questions.

 Nov 18 20:27:54 meta-up kernel:
 Nov 18 20:29:11 meta-up kernel: 110ip11f0w: ipfw: 102 102D enyD enTyCP  
 T1C9P 192.168.2.173:4425 192.168.168.155:445 out via re0
 Nov 18 20:32:30 meta-up kernel: 110 iefw: 102 Deny UDP 192.168.2.90:54625 
 192.168.1.33:59306 out via re0
 Nov 18 20:33:55 meta-up kernel: 1u0 ipa re0
 Nov 18 20:42:07 meta-up kernel:
 Nov 18 20:47:34 meta-up kernel: 111010iippffww::  110022  DDeennyy  
 UUDDPP  118982..9136.86.23..41931::1500030698  11929.21.61868..
 21..91073::1417464787  oouutt  vviiaa  rree00


This particular bug of overlapping output from multiple-core machines
has been around for years. I don't think it's going to get fixed
anytime soon.
--
Jonathan Chen j...@chen.org.nz
___
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: Glue records (was Re: ATTN GARY KLINE)

2010-11-08 Thread Jonathan McKeown
On Friday 05 November 2010 22:51:01 Robert Bonomi wrote:
  From owner-freebsd-questi...@freebsd.org  Fri Nov  5 02:26:31 2010
  From: Jonathan McKeown j.mcke...@ru.ac.za
  To: freebsd-questions@freebsd.org
  Date: Fri, 5 Nov 2010 10:27:38 +0200
  Subject: Glue records (was Re: ATTN GARY KLINE)
 
  When a nameserver delegates a zone, it's not responsible for any of that
  zone's records any more, with two exceptions. It provides NS records to
  indicate which nameservers /are/ responsible, and it retains
  responsibility for the A records of nameservers inside the zone - and
  only those nameservers. (That's glue.)
 
  There's no way a .com nameserver should be providing A records for hosts
  in the .au zone.

 sure there is.

Domain:  foo.com  (an aussie company)
   nameservers   ns1.alicesprings.au, ns2.umelbourneatperth.au

I think we're agreeing violently ;) The nameservers for the .com zone, when 
asked about foo.com, should reply with the hostnames of the two nameservers. 
It shouldn't reply with their IP addresses; the only nameservers that can do 
that are the ones serving the .au zone or the alicesprings.au and 
umelbourneatperth.au zones.

 They're still wrong to bw whinging about a lack o glue records.
 glue is needed _only_ when the nameserver is _in_ the domain it is the
 authoritative servr for.

 So, in the above frivolous example, foo.com does *NOT* need any glue
 records, but if ns1.alicesprings.au is an authoritative server for
 alicesprings.au, then *it* needs a glue record for that domain.

Well, the glue record will be ``above the cut'': if .au delegates 
alicesprings.au, it's the .au nameserver that provides the A record for 
ns1.alicesprings.au; but, yes.
___
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


Glue records (was Re: ATTN GARY KLINE)

2010-11-05 Thread Jonathan McKeown
On Friday 05 November 2010 09:28:27 Ian Smith wrote:
 But you don't always have any control of what parent nameservers do;
 eg we do DNS for a .com but both NS are in .au so DNS reports always
 whinge about lack of glue

They should be whingeing about lack of clue (their own) unless I'm horribly 
wrong about how DNS works.

When a nameserver delegates a zone, it's not responsible for any of that 
zone's records any more, with two exceptions. It provides NS records to 
indicate which nameservers /are/ responsible, and it retains responsibility 
for the A records of nameservers inside the zone - and only those 
nameservers. (That's glue.)

There's no way a .com nameserver should be providing A records for hosts in 
the .au zone.

 nonetheless it works, though only after a hunt down through the .au
 servers, until cached.

Yes, this is exactly what /should/ happen. Only the .au servers (or servers 
they delegate to) are authoritative for hosts in the .au zone.

Jonathan
___
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: Which OS for notebook

2010-10-05 Thread Jonathan McKeown
On Tuesday 05 October 2010 13:31:08 Carmel wrote:

 I have been tooling around with FreeBSD for a year or so now and I find
 it incredible that there is virtually no support for modern hardware;
 i.e., drivers for 'N' protocol devices. That one factor alone, and there
 are others, precludes me from seriously thinking about installing
 FreeBSD on a new laptop. The one PC that I have FreeBSD installed on is
 connected via Ethernet cable to my LAN. Once that PC is replaced by
 year's end with a more powerful, and wireless enabled unit, I am afraid
 my experiment with FreeBSD will come to a close. At present it
 certainly will not support the wireless card installed, and I am not
 even sure if it will support all of the other hardware either.

 I realize that at this point someone will inevitably chime in and play
 the blame the manufacturers whine. If that were factually correct,
 then no one else would be able to supply drivers and support for
 hardware that FreeBSD has left orphaned.

 The bottom line is that FreeBSD, if it is to continue to be considered
 a viable alternative operating system, must stay current in today's
 market. Many posts that I have viewed on other forums seem to feel that
 FreeBSD is sadly, whether do to bad choices such as those related to GPL
 licenses, or failure to properly gage today's market trends, is slipping
 into an abyss.

So. What's the connection between freebsd.u...@seibercom.net, 
carmel...@hotmail.com and ges...@yahoo.com, who all post through 
scorpio.seibercom.net, and who all have remarkably similar views on why 
FreeBSD is a pile of rubbish?

And in terms of keeping my killfile reasonably effective, is there any easy 
way to filter out /all/ the sockpuppets at once? Or do I just need to keep 
adding them one at a time?

Jonathan
___
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: Which OS for notebook

2010-10-05 Thread Jonathan McKeown
On Tuesday 05 October 2010 15:47:36 Pierre-Luc Drouin wrote:
 On Tue, Oct 5, 2010 at 9:31 AM, Jonathan McKeown j.mcke...@ru.ac.za wrote:
  On Tuesday 05 October 2010 13:31:08 Carmel wrote:
   I have been tooling around with FreeBSD for a year or so now and I find
   it incredible that there is virtually no support for modern hardware;
   i.e., drivers for 'N' protocol devices.
[snip]
   I realize that at this point someone will inevitably chime in and play
   the blame the manufacturers whine. If that were factually correct,
   then no one else would be able to supply drivers and support for
   hardware that FreeBSD has left orphaned.
 
  So. What's the connection between freebsd.u...@seibercom.net,
  carmel...@hotmail.com and ges...@yahoo.com, who all post through
  scorpio.seibercom.net, and who all have remarkably similar views on why
  FreeBSD is a pile of rubbish?
 
  And in terms of keeping my killfile reasonably effective, is there any
  easy way to filter out /all/ the sockpuppets at once? Or do I just need
  to keep adding them one at a time?
 
 Well, according to me FreeBSD works very well on desktops (except for
 CUDA), but I agree that its usage is extremely limited for laptops and
 netbooks. If I can't use ACPI or wireless on my laptop/netbook, I don't
 really see the point... Over the past 6 years I have tried many times to
 use FreeBSD on my laptops/netbooks but these problems always made me fall
 back to Linux... I still use FreeBSD as the only OS on my desktop computers
 though...

I'm not disputing that there are things not supported on/by FreeBSD that it 
would be nice to see working. I'm just getting bored with hearing very 
similar whinges, posted from multiple email addresses but apparently all from 
the same person: look at

http://lists.freebsd.org/pipermail/freebsd-questions/2009-December/209946.html

and then

http://lists.freebsd.org/pipermail/freebsd-questions/2009-December/209966.html

Both messages are sent from carmel_ny at hotmail.com. They have the identical 
ascii-art flag in the sigblock. One is signed Carmel (carmel at hotmail.com), 
the other Jerry (gesbbb at yahoo.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: this is probably a little touchy to ask...

2010-09-15 Thread Jonathan McKeown
On Wednesday 15 September 2010 13:02:41 Jerry wrote:

 It took years, literally, before FreeBSD matured enough to get 64-bit
 drivers for nVidia working correctly on its platform. The failure to
 get the latest version(s) of Java working correctly on FreeBSD and
 thereby, at least in my case, make the latest version of Firefox fully
 usable, rests with the FreeBSD developers.

 I have not been able to ascertain exactly why Java cannot be made
 functional on a modern FreeBSD system. Other than receiving some
 useless suggestion about donating money to the Java foundation, or
 whatever it is called, nobody has responded with an answer.

 The bottom line is that Java appears to be functioning on other flavors
 of *.nix, but not FreeBSD. It would seem pretty obvious where the
 problem lies.

Yes. It lies with Sun and Oracle, and the licensing terms that prevent the 
FreeBSD project from distributing modified Java packages. More generally, the 
problem lies with companies who won't support FreeBSD but also prevent the 
project from supporting their product itself.

There are strong commercial interests in Linux - IBM, Red Hat, Oracle, to name 
three - which makes it worth spending some money supporting a product on 
Linux. (That goes for other products too: nvidia graphics card drivers, 
flash, wireless networking device drivers...) Even so there are products that 
have patchy support in Linux too.

FreeBSD isn't as attractive a commercial target, since it has no financially 
powerful backers (that I'm aware of), a small market share, and not much 
public awareness. Some companies are prepared to sink resources into 
supporting it anyway, and others are prepared to release the information 
needed for the FreeBSD project to support their products for them. There are 
other companies, as I said, that won't do either.

I don't think it's fair to blame the FreeBSD developers for that; nor indeed 
to expect the FreeBSD developers to be responsible for making Sun/Oracle's 
Java and the Mozilla Foundation's Firefox work.

Jonathan
___
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: Could not chdir to home directory

2010-08-26 Thread Jonathan Chen
On Thu, Aug 26, 2010 at 11:11:40PM +0530, Nita Pavitran wrote:
 Hi,
 
 I get the following error message and I seem to be in the root directory
 instead of the home directory:
 
 Could not chdir to home directory /homes/nitap: Permission denied
  uname -a
 FreeBSD bigpink.juniper.net 4.10-RELEASE-p2 FreeBSD 4.10-RELEASE-p2 #0:
 Mon Oct 25 16:23:23 PDT 2004
 r...@bigpink.juniper.net:/usr/src/sys/compile/bigpink  i386
 
  
 Please let me know how I can get to my home directory.

Check the output of:
ls -ld /
ls -ld /homes
ls -ld /homes/nitap

-- 
Jonathan Chen j...@chen.org.nz
--
  You can get farther with a kind word and a gun
  than you can with a kind word alone - Al Capone
___
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: Grepping a list of words

2010-08-13 Thread Jonathan McKeown
On Friday 13 August 2010 15:47:38 Jack L. Stone wrote:

 The only thing it didn't do for me was the next step. My final objective
 was to really determine the words in the word.file that were not in the
 main.file. I figured finding matches would be easy and then could then
 run a sort|uniq comparison to determine the new words not yet in the
 main.file.

 Since I will have a need to run this check frequently, any suggestions for
 a better approach are welcome.

sort -u and comm(1)?

comm will compare two sorted files and produce up to three lists: of words 
only in file one, of words only in file 2 and of words common to both files. 
You can suppress any or all of the output lists.

Jonathan
___
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: How to connect a jail to the web ?

2010-08-11 Thread Jonathan McKeown
On Wednesday 11 August 2010 03:07:32 Rocky Borg wrote:
 You should probably preface this by saying you're the author of Qjail
 and have been actively promoting it in a few places including the fbsd
 forums.

That's interesting, given that you're replying to Fbsd8 
fb...@a1poweruser.com. The announcement of qjail came from Aiza 
aiz...@comclark.com.

No reason why someone shouldn't use two email accounts, I guess; but I must 
admit I'd naively assumed fbsd8 was independently endorsing aiza's utility.
___
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: virtualbox

2010-08-07 Thread Jonathan Chen
On Fri, Aug 06, 2010 at 06:19:51PM +0200, Samuel Martín Moro wrote:
 Very powerfull, indeed
 too bad vrdp doesn't work on OSE...

It works great with the VNC server replacement. I've got this running
on 8-STABLE/amd64.
-- 
Jonathan Chen j...@chen.org.nz
---
One, with God, is always a majority, but many a martyr has been burned
   at the stake while the votes were being counted.  -- Thomas B. Reed
___
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 and Broadband network connection

2010-07-22 Thread Jonathan Chen
On Thu, Jul 22, 2010 at 10:36:27AM -0700, subbu 4u wrote:
 Hi,
   My name is Subburaj from India, I bought a broadband internet connection 
 and 
 tried to connect with Freebsd system, I edited the /etc/ppp/ppp.conf with my 
 username, password and i.p address that my ISP gave me but its not going 
 through.  I tried to troubleshoot with freebsd handbook and also with forums 
 but 
 its not working but my internet connection is working with windows 7 systems. 
  
 The freeBSD were able to detect my ethernet card as vr0 and also my external 
 modem is working with freebsd but there is no connection when I ping.  Kindly 
 help.

If you have an external modem, this will mean that your probably nat'ing
from your modem. ie: your modem establishes the connection with your
ISP.

If this is the case, all you have to do is establish your vr0 network
with your modem, and set it as the default route.

If this is not the case, you will need to provide the list with more
details as to the internal network structure; ie IP addresses, etc.
-- 
Jonathan Chen j...@chen.org.nz
---
I love deadlines. I like the whooshing sound they make as they fly by
- Douglas Adams
___
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: Is it safe to modify a port's makefile

2010-07-05 Thread Jonathan Chen
On Mon, Jul 05, 2010 at 07:43:24PM -0700, Caleb Stein wrote:
 I asked this question a while ago, and I received a few confusing  
 answers.  Here is my question again:  The Wine port will only build on  
 i386.  I have amd64.  I want to install Wine.  Is it safe to modify  
 Makefile to allow it to build on amd64?
 Please, just answer yes or no.

Yes you can try, but it won't work. You'll hit a point where it will
complain about an illegal assembler instruction.

What will work is detailed at:
  http://wiki.freebsd.org/Wine#head-6963d527c173e57b1567e881305b544d33435b6d
-- 
Jonathan Chen j...@chen.org.nz
---
I love deadlines. I like the whooshing sound they make as they fly by
- Douglas Adams
___
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: Is it safe to modify a port's makefile

2010-07-05 Thread Jonathan Chen
On Mon, Jul 05, 2010 at 07:54:45PM -0700, Caleb Stein wrote:
 Thank you, just the kind of answer I was looking for.  Now is the  
 opportunity for a more detailed answer.  After reading that page, it  
 seemed like those instructions would either install i386 over amd64, or  
 make your amd64 think it's i386.  Now, I may be wrong, but I sure don't  
 want my amd64 turning into or thinking it's an i386.

The instructions are for building wine/i386 on a amd64 environment.
You will end up with i386 binaries, but the base will be under
/compat/i386. Provided your kernel has COMPAT_FREEBSD32, it will be
able to run wine/i386 in /compat/i386/usr/local/bin.

All your amd64 binaries will still be there from / downwards.

Cheers.
-- 
Jonathan Chen j...@chen.org.nz
--
 Nyuck, nyuck, nyuck - Curly
___
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: i386 wine on amd64 - DRI a lost cause?

2010-07-03 Thread Jonathan Chen
On Fri, Jul 02, 2010 at 09:04:43AM +0200, David Naylor wrote:
 On Friday 02 July 2010 01:35:05 xorquew...@googlemail.com wrote:
  On 2010-07-01 22:16:26, David Naylor wrote:
   Have you tried the packages from http://people.freebsd.org/~ivoras/wine/
   
   They worked for me with nvidia and intel.
  
  Thanks, but as I mentioned in the hackers@ thread (and possibly this one),
  it's actually DRI that's the problem. I can't even run 32-bit glxinfo
  reliably in the chroot. libGL often receives EFAULT when doing various
  ioctls on /dev/dri/card0 and sometimes crashes outright.
 
 That is interesting as I am able to play Warcraft 3 on an intel laptop.  I 
 don't think it is using software rendering.  Wine runs without crashing and 
 does require libGL to launch the game.
 
 I have also played Command and Conquer 3 on nvidia (but the proprietry nvidia 
 driver does not use dri).  

I'm got (unjailed) wine/i386 on amd64, and it plays DirectX 9 games
with no problems; eg EVE-Online. I'm using the nvidia-drivers, which
have to be installed on the 32-bit base, as well as the 64-bit driver
on the /usr/local
-- 
Jonathan Chen  |  To do is to be  -- Nietzsche
j...@chen.org.nz |  To be is to do  -- Sartre 
   |  Scooby do be do -- Scooby
___
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: what is /usr/sbin/nmbd

2010-06-19 Thread Jonathan Chen
On Sat, Jun 19, 2010 at 07:33:16AM -0700, Caleb Stein wrote:
 I constantly get messages telling me that it couldn't be executed.

nmbd is part of the samba suite. However, in FreeBSD it lives in
/usr/local/sbin. The fact that something is trying to execute it says
that you've got some Linux shell script running without your
knowledge. Check to see if you machine has got any funny scripts in
/tmp or /var/tmp, indicating some incursion.
-- 
Jonathan Chen j...@chen.org.nz
--
 Beer. Now there's a temporary solution.
   - Homer Simpson
___
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: Detecting fake library versions

2010-06-17 Thread Jonathan McKeown
On Thursday 17 June 2010 09:39:37 Matthew Seaman wrote:

 But what about hard links? I hear you ask.  Simple:

   find /usr/lib /lib -name '*.so.*' -links +2

+1 surely? + modifier in find(1) means ``more than'', not ``at least''.

Jonathan
___
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: Simulate CRON

2010-06-14 Thread Jonathan McKeown
On Monday 14 June 2010 13:39:15 Carmel wrote:
 On Mon, 14 Jun 2010 16:41:19 +0530

 Amitabh Kant amitabhk...@gmail.com articulated:
  On Mon, Jun 14, 2010 at 3:42 PM, Carmel carmel...@hotmail.com wrote:
   I saw a posting here months ago regarding a way to simulate running
   a script under CRON. I wrote it down and now cannot find it.
   Googling has not proved very useful either. I just cannot remember
   the program name.
  
   I hope I am explaining this sanely enough.
 
  Are you looking for a cron syntax check? If yes, then this site
  should be of some help:
 
  http://www.hxpi.com/cron_sandbox.php

 No, sorry. There was a command or program, I forgot which, that would
 allow a user to run a program under another environment, similar to the
 environment that a script under CRON would be running under.

env(1)?

From the manpage:

The env utility executes another utility after modifying the environment as 
specified on the command line.

Jonathan
___
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: Midphase Hosting

2010-06-11 Thread Jonathan McKeown
On Thursday 10 June 2010 18:30:52 Matthew Seaman wrote:
 On 10/06/2010 17:12:50, Jerry wrote:
  On Thu, 10 Jun 2010 15:12:48 +0200
 
  Jonathan McKeown j.mcke...@ru.ac.za articulated:
 
  Isn't that called VERP (variable envelope return path)? I agree - the
  load it would impose isn't worth it. I'm just shocked that midphase
  care so little about their reputation or the impression this is
  giving, on one of the more widely-archived mailing lists, of their
  competence and diligence.
 
  I have employed VERP with mailing lists that I controlled. I never
  noticed any adverse effects. I know of several technical lists
  like Dovecot that employ it. Obviously, they find it useful.

 VERP itself is reasonably lightweight, as it modifies the envelope
 sender address -- something that can be applied during processing by the
 MTA as part of sending the message.

 As far as mail delivery goes, that's a very different story -- it
 goes from one message with tens of thousands of recipients, to tens
 of thousands of messages each with one recipient.

Exactly - you can't batch up all the messages for users at the same domain 
because they now have different envelope senders. The impact of that on your 
mail delivery system (and the receiver's SMTP receiving system) depends on 
whether you have lots of individual subscribers, or several large groups.

Having said that, I looked up VERP last night to check that I was right about 
the extra load, and came across a reference to VERP being the idea of DJB, 
and being acceptable to qmail users because there's no penalty load - qmail 
never batches up messages for the same domain, always sending each one 
individually. Is that true? It seems an odd design decision to me.

Jonathan
___
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 does ps |grep sometimes not return itself?

2010-06-10 Thread Jonathan McKeown
On Thursday 10 June 2010 03:30:14 Pieter de Goeje wrote:
 On Wednesday 09 June 2010 09:34:40 Matthew Seaman wrote:
  On 09/06/2010 08:15:23, Eitan Adler wrote:
   Why do I sometimes see the grep in ps's output and sometimes not see
   it?
 
  When you run that pipeline the OS doesn't start both programs exactly
  simultaneously. [...]  It's a race condition.

 I would like to add that you can avoid the issue entirely by using this
 command:
 % ps aux -p `pgrep sh`
[output snipped due to bad wrapping]

Or the old trick:

ps | grep '[s]h'

Jonathan
___
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


Midphase Hosting

2010-06-10 Thread Jonathan McKeown
So, it would appear that Midphase hosting are still incapable of working out 
why their ticketing system is sending replies with forged From: address to 
posters to the freebsd-questions mailing list. (Their support queue is at 
mpcustomer.com).

I'm assuming the list admins already have examples to work with, but here is a 
set of headers from the reply I got to my last list post, in case it's any 
help.

Return-Path: freebsd-questions@freebsd.org
Received: from mx.ru.ac.za (mx.ru.ac.za [2001:4200:1010:0:250:56ff:fe8d:2ebb])
 by imap.ru.ac.za (Cyrus v###) with LMTPA;
 Thu, 10 Jun 2010 10:05:39 +0200
X-Sieve: CMU Sieve
Envelope-to: j.mcke...@ru.ac.za
Delivery-date: Thu, 10 Jun 2010 10:05:39 +0200
Received: from secure.mpcustomer.com ([208.43.146.75]:46852)
by mx.ru.ac.za with esmtp (Exim 4.69 (FreeBSD))
(envelope-from freebsd-questions@freebsd.org)
id 1OMcld-000Eww-H3
for j.mcke...@ru.ac.za; Thu, 10 Jun 2010 10:05:39 +0200
Received: by secure.mpcustomer.com (Postfix, from userid 99)
id 4841C1532997; Thu, 10 Jun 2010 02:46:31 -0500 (CDT)
To: Jonathan McKeown j.mcke...@ru.ac.za
Subject: [#24548754] Re: why does ps |grep sometimes not return itself?
Date: Thu, 10 Jun 2010 02:46:31 -0500
From: freebsd-questions@freebsd.org
Reply-To: supp...@mpcustomer.com
Message-ID: e436b556aafa1c4bd0f2c367a0097...@secure.mpcustomer.com
X-Priority: 3
X-Mailer: PHPMailer (phpmailer.sourceforge.net) [version 2.0.4]
X-Uberinst: uber_phase-support
X-Mailer: Ubersmith
MIME-Version: 1.0
Content-Type: text/plain;
  charset=utf-8
Content-Transfer-Encoding: quoted-printable
___
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: Midphase Hosting

2010-06-10 Thread Jonathan McKeown
On Thursday 10 June 2010 14:06:46 Rob Farmer wrote:
 On Thu, Jun 10, 2010 at 4:24 AM, Matthias Fechner ide...@fechner.net 
wrote:
  Hi,
 
  Am 10.06.10 11:47, schrieb Jonathan McKeown:
  Subject: [#24548754] Re: why does ps |grep sometimes not return itself?
  Date: Thu, 10 Jun 2010 02:46:31 -0500
  From: freebsd-questions@freebsd.org
  Reply-To: supp...@mpcustomer.com
  Message-ID:e436b556aafa1c4bd0f2c367a0097...@secure.mpcustomer.com
 
  I suggest to block on the freebsd server the complete domain
  mpcustomer.com that should solve the problem.

 I haven't received any of the messages, but I think they are being
 sent directly to list posters (not via the list) so FreeBSD can't
 really do much about it. If mpcustomer.com refuses to deal with it you
 can always try complaining to their upstream provider, taking the line
 that since the messages are unsolicited and there is no way to
 unsubscribe the practice is probably illegal.

Well, yes, the message is being sent direct to list posters, but 
supp...@mpcustomer.com (or some address that's relaying to it) is presumably 
subscribed to the list (which I'm guessing was done maliciously), otherwise 
they wouldn't be receiving these messages.

I know it creates work for the admins, but couldn't their address be 
unsubscribed and banned, given that they have been creating a nuisance for at 
least the last several weeks now?

Jonathan
___
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: Midphase Hosting

2010-06-10 Thread Jonathan McKeown
On Thursday 10 June 2010 14:51:42 Rob Farmer wrote:
 On Thu, Jun 10, 2010 at 5:32 AM, Jonathan McKeown j.mcke...@ru.ac.za 
wrote:
[rant about midphase hosting and mpcustomer.com]

 They posted in a previous thread about this, saying they couldn't
 unsubscribe under their address, ie. somebody is relaying mail to
 them. They were told they need to provide headers so postmaster can
 determine what address is subscribed. They never replied (at least on
 list). I'm not an expert about such things but I think without their
 cooperation there's no real way to tell who the relay is.

So this is a hosting company that has had (assuming everyone else is having 
the same experience as I am, namely one ticket per posting) almost 500 junk 
tickets added to their support queue in the last ten days (476 messages on 
the freebsd-questions archive for June when I checked a moment ago), and 
either can't think of a way to address the issue, or doesn't actually care 
enough to do anything about it, all the while presumably having real support 
requests swamped in the noise?

I'd be jumping up and down looking for a solution by now (in fact I would have 
been weeks ago - can anyone remember how long this has been happening?).

Jonathan
(I should probably stress that I am not speaking on behalf of my employer and 
my opinions are entirely my own).
___
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: Midphase Hosting

2010-06-10 Thread Jonathan McKeown
On Thursday 10 June 2010 15:04:53 Matthew Seaman wrote:

 The only other mechanism might be to tag each list e-mail with a unique
 value for each recipient in such a way that it is preserved in the
 message that mpcustomer.com's help system sends out.  That has severe
 problems of scale and load on the FreeBSD mail servers, but it might be
 possible.  There is a similar technique (whose name I have temporarily
 forgotten) that some mailing lists use where they tag the envelope
 sender address with the recipient name in order to identify addresses
 that are bouncing back the list e-mail.

Isn't that called VERP (variable envelope return path)? I agree - the load it 
would impose isn't worth it. I'm just shocked that midphase care so little 
about their reputation or the impression this is giving, on one of the more 
widely-archived mailing lists, of their competence and diligence.

I'll shut up now.

Jonathan
___
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: Fwd: [#24525016] External USB drive causes system to hang completely

2010-05-31 Thread Jonathan McKeown
On Sunday 30 May 2010 22:29:14 Alejandro Imass wrote:
 Hi all,

 I sent a question regarding a problem with USB and I get this in reply.
 Can someone explain?

 Thanks,
 Alejandro Imass

Yes. There's a hosting company called MidPhase whose support queue (at 
mpcustomer.com) has been added (probably maliciously by some kiddie that 
thinks it's clever) to the mailing list.

They appear either not to know how to stop their ticketing system responding 
to list emails, or not to care. Either way, it's not a great advertisement 
for them, as this has been going on for several weeks now with no 
improvement.

Jonathan
___
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: ipfw natd rules not loading on startup

2010-05-14 Thread Jonathan Chen
On Sat, May 15, 2010 at 02:33:10AM +0200, umage wrote:
 I performed a kernel+world update of my freebsd router, RELENG_8 branch,
 apparently from the version 6 months ago to current. I use ipfw and a
 shell script that gets loaded at startup. I noticed after rebooting that
 ipfw did not load two rules, both of type divert natd. However, if I
 run the script manually, or call it from the end of /etc/rc, it will add
 these rules as well. Currently I am using a workaround.

Best to ask -STABLE. There's been some breakage of ipfw since end of
April. I'm unsure as to whether they've all be resolved yet.

Cheers.
-- 
Jonathan Chen  |  To do is to be  -- Nietzsche
j...@chen.org.nz |  To be is to do  -- Sartre 
   |  Scooby do be do -- Scooby
___
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: Eclipse causes segmentation fault in Java

2010-05-13 Thread Jonathan Chen
On Thu, May 13, 2010 at 11:10:42PM +0200, Ondrej Majerech wrote:
 Hey,
 
 I have a fresh FBSD 8-Stable/AMD64 installation and I want to run 
 Eclipse. This is what I get:
 
 [starlight] ~  eclipse
 realpath: : No such file or directory
 #
 # An unexpected error has been detected by Java Runtime Environment:
 #
 #  SIGSEGV (0xb) at pc=0x000825d6d985, pid=11170, tid=0xa0ae40
 #
 # Java VM: Java HotSpot(TM) 64-Bit Server VM 
 (1.6.0_03-p4-root_13_may_2010_21_53-b00 mixed mode)
 # Problematic frame:
 # C  [libglib-2.0.so.0+0x18985]  g_base64_encode_step+0xe5
 #
 # An error report file with more information is saved as hs_err_pid11170.log
 #
 # Please submit bug reports to freebsd-j...@freebsd.org
 #

At a guess, you recently upgraded to GNOME 2.30; and since it's been
crashing. I just started seeing this myself since I updated yesterday.

Cheers.
-- 
Jonathan Chen j...@chen.org.nz
--
 Vini, vidi, velcro...
 I came, I saw, I stuck around
___
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: DNS not working since May 6 2010

2010-05-07 Thread Jonathan Chen
On Fri, May 07, 2010 at 09:02:13AM +0100, Matthew Seaman wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On 06/05/2010 21:40:02, Jonathan Chen wrote:
 
  I've got a small DNS server on my home network, and ever since May 6,
  2010 (co-incidentally DNSSEC root sign day), lookups on freebsd.org have
  started failing. eg:
 
 Uh, the DURZ was installed on j.root; the last one of the root servers
 to get it.  Besides, .org was DNSSEC signed way back in June 2009. That
 is not causing your problem here.
 

Hmm, I ran across an DNSSEC article in The Register, which lead me to:

   http://labs.ripe.net/content/testing-your-resolver-dns-reply-size-issues

Working thru' it, I tweaked my named.conf's edns-udp-size option and
it started working again. So it looks like it was related to the final
set of root servers being enabled.

Cheers.
-- 
Jonathan Chen j...@chen.org.nz
--
 When all else fails, RTFM
___
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


DNS not working since May 6 2010

2010-05-06 Thread Jonathan Chen

Hi,

I've got a small DNS server on my home network, and ever since May 6, 2010 
(co-incidentally DNSSEC root sign day), lookups on freebsd.org have started 
failing. eg:


  ~,8:36am dig www.freebsd.org a

  ;  DiG 9.6.1-P3  www.freebsd.org a
  ;; global options: +cmd
  ;; connection timed out; no servers could be reached

Lookups on other domains still appear to work, Google, OpenBSD, NetBSD, 
etc. Is anyone else seeing this? How do I fix it?


Cheers.
--
Jonathan Chen jonathan.c...@solnetsolutions.co.nz


Attention:
This email may contain information intended for the sole use of
the original recipient. Please respect this when sharing or
disclosing this email's contents with any third party. If you
believe you have received this email in error, please delete it
and notify the sender or postmas...@solnetsolutions.co.nz as
soon as possible. The content of this email does not necessarily
reflect the views of Solnet Solutions Ltd.

___
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: Gaming

2010-04-29 Thread Jonathan Chen
On Thu, Apr 29, 2010 at 11:20:28PM +0400, Mikle Krutov wrote:

[...]
 I've played on my nvidia workstation (8400gs) Actually, the only 
 tricky thing about games - installing wine on amd64, everything other 
  works just as good as it does in linux.

I agree. There's a wiki entry detailing the process:

http://wiki.freebsd.org/Wine#head-6963d527c173e57b1567e881305b544d33435b6d

There are a few problems with the network interfaces on the 32-64 bit
bridge; which will intefere with some network related games (eg: EVE
Online), but on the whole the experience is very positive.

Cheers.
-- 
Jonathan Chen j...@chen.org.nz
--
If everything's under control, you're going too slow
  - Mario Andretti
___
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: diablo-jdk not installing correctly

2010-04-25 Thread Jonathan Chen
On Sun, Apr 25, 2010 at 07:34:19PM -0400, herbey zepeda wrote:

[...]
 I am concerned because according to the literature diablo is supposed to
 be the maintained jdk for FreeBSD. And I realize that I am having to
 download version 7.1 when we are already on version 8.0 of FreeBSD to make
 java work
 
 My question is: is Java in FreeBSD an experimental/academic package? Should
 I rather go with the linux compatibility way?

There has been no movement with the diablo-jdk for ages; java/openjdk6
is better maintained and would be a better choice.

Cheers.
-- 
Jonathan Chen j...@chen.org.nz

We laugh in the face of danger, we drop icecubes down the vest of fear
 - Edmond Blackadder III
___
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: usage of /usr/bin

2010-04-07 Thread Jonathan McKeown
On Wednesday 07 April 2010 11:13:13 Fbsd1 wrote:
 Polytropon wrote:
  On Wed, 07 Apr 2010 15:24:51 +0800, Fbsd1 fb...@a1poweruser.com wrote:
  Why are there RELEASE base files in /usr/bin. I thought /usr was to only
  contain binaries installed from ports or packages.
 
  No. The /usr/local subtree (LOCAL) is for local additions (ports
  and packages), while things outside this structure usually belong
  to the system itself; I'm excluding mounted filesystem and other
  things here for a moment.
[snip]

 But that is not true. The postfix port populates /usr/bin.

I haven't installed postfix, but is this possibly related to the recently 
(2010-03-22) added option to install postfix into the base?

In which case the commit six days later claims to correct a problem with the 
default (non-base) install.

Jonathan
___
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: Postfix in base system

2010-04-07 Thread Jonathan McKeown
On Wednesday 07 April 2010 13:34:07 Jerry wrote:
 I noticed that someone in another thread mentioned:

 quote
 (2010-03-22) added option to install Postfix into the base
 /quote

 I have not been able to locate that item. Could someone list the URL
 for that notice or tell me where to look for it? :-?

 Thanks %-\

I found it in the cvsweb interface to the ports tree:

http://www.freebsd.org/cgi/cvsweb.cgi/ports/mail/postfix/Makefile

Which lists rev1.155 with the commit message:

Add an option to install into the base, and related support

HTH

Jonathan
___
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, postfix and push email

2010-03-30 Thread Jonathan McKeown
On Tuesday 30 March 2010 09:31:00 Matthew Seaman wrote:
 On 30/03/2010 03:01:27, Tim Judd wrote:
  I've never heard of either, but when I configure my IMAP server and
  put any mail client to it, as soon as a mail is delivered, the mail
  client is notified.

 That's the IDLE extension to IMAPv4 -- it's not a push protocol as
 such: the client still has to log into the server rather than vice
 versa, but once the client has read all the available e-mail, it can
 put itself into an idle state, and the server will wake it up as soon
 as any new e-mail comes in.

Yes. In fact, one of the nice things about IMAPrev4 as a protocol is that the 
server is allowed (in fact, required by rfc3501) to notify the client if the 
mailbox size increases while executing any command, by sending an EXISTS 
response which the client is required to handle. IDLE is just a command that 
takes a long time to execute (specifically, until the client ends it or the 
server's time limit is reached) so that the server has to send EXISTS 
responses whenever mail comes in.

Jonathan
___
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: ntpdate problem

2010-03-13 Thread Jonathan Chen
On Sat, Mar 13, 2010 at 01:19:54PM -0600, Programmer In Training wrote:
 On 03/13/10 13:08, RW wrote:
 snip
ntpd_sync_on_start=YES
 snip
  you can run ntpdate at boot with
  
 ntpdate_enable=YES
  
  the rc script gets the servers from ntp.conf
 
 Can you have both in rc.conf without abusing the ntp server(s) or should
 it just be one or the other? I'd like my clock to be as accurate as
 possible when I start up the system.

Yes. I have both enabled on my multi-boot laptop to account to huge
jumps in time when coming back from Windows.
-- 
Jonathan Chen j...@chen.org.nz
--
char *p=char *p=%c%s%c;main(){printf(p,34,p,34);};main(){printf(p,34,p,34);}
___
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: Booting MFS from Secondary Partition

2010-03-07 Thread Jonathan McKeown
On Saturday 06 March 2010 15:02:20 Martin McCormick wrote:
 Fbsd1 writes:
  just dd the image to what ever drive you want

   That is the goal. The challenge is to launch a script
 that detects when the boot device has been unmounted as dd will
 not work on an active file system.

Martin

it may or may not work, but there's a sysctl for the geom subsystem which 
might do what you want.

sysctl kern.geom.debugflags=16

This used to be used (for all i know still can be) to allow writing metadata 
for (eg) building a gmirror on a mounted disk - it's often referred to as the 
``allow-footshooting'' flag.

That might allow you to dd your image onto the mounted disk - i'd either try 
it with a handy spare system or wait for someone more expert than i to 
comment, though.

Jonathan
___
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: How to get hints of software installed by Ports ?

2010-03-05 Thread Jonathan McKeown
On Friday 05 March 2010 16:20:36 Aaron Lewis wrote:
 Hi,

   I installed some software from ports today , and it outputs some
 useful information when finished.
   e.g where its config file is

   Due to some mistakes , i lost these important information , how do i
 see it again ? Is there any tricks to show out it directly ? I don't want
 to install it again ..

 Any ideas will appreciate  ;-)

pkg_info -D
___
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: Perl 5.8 - 5.10 On Current Production System

2010-03-04 Thread Jonathan McKeown
On Thursday 04 March 2010 19:13:36 Matthew Seaman wrote:

 You got bitten by an ill-considered change introduced after the UPDATING
 instructions were written.  To work around it, you need to set
 DISABLE_CONFLICTS when rebuilding the port, eg like this:

# portupgrade -m DISABLE_CONFLICTS=yes -o lang/perl5.10 -f perl-5.8\.*

 Please feel free to complain volubly about this: it's hand-holding for
 newbies which annoys and incoveniences the vastly larger number of
 non-newbies (ie. anyone who has been using the ports for more than a few
 weeks.)

Has this absolutely ludicrous change not been reverted with extreme prejudice 
yet? And is there a PR where we can add interesting suggestions as to what 
miseries should be inflicted on the person responsible for it?
___
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: libswt on amd64 freebsd 8.0

2010-02-17 Thread Jonathan Chen
On Wed, Feb 17, 2010 at 11:07:51AM -0800, Dino Vliet wrote:
 Hi folks,
 My current machine is a amd64 system running freebsd 8.0. For a java 
 application I need libswt and wanted to know if there is a native version for 
 freebsd amd64. Also I need to know which port install this library, so what I 
 should install to get it.

x11-toolkits/swt

-- 
Jonathan Chen j...@chen.org.nz
--
The reason why worry kills more people than work is that more people
 worry than work. - Robert Frost
___
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: which java on 8-release

2010-02-04 Thread Jonathan Chen
On Thu, Feb 04, 2010 at 05:25:57PM -0700, Steve Franks wrote:
 Hi,
 
 Tried to get any permutation of XYZ-jre or XYZ-jdk installed on 8-rc1
 and gave up.  I see still no diablo for 8.  What is the best way
 forward (and how am I so dense that no one else has even asked this
 question, I must be on the wrong track, no?

You need to install compat7 and diablo-6. This will enable you to
build your 'seed' openjdk6 port; which you can package and transfer to
other hosts. You can remove compat7 and diablo-6 once openjdk6 has
been installed; as openjdk6 can be used to rebuild itself during
upgrades.

Cheers.
-- 
Jonathan Chen j...@chen.org.nz
--
Don't worry about avoiding temptation,
as you grow older, it starts avoiding you.
___
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: Please help me

2010-01-20 Thread Jonathan Chen
On Wed, Jan 20, 2010 at 01:10:48PM +0630, komyo gyi wrote:
 hi,
 
   yesterday i have modify squid.conf file.i have use vi editior.but i
  cannot delete in text message. following error ^? appear.How to do it?.
  please help me.

Looks like you're hitting the Delete key. That's not a valid vi
command. You need to be in command mode and hit the 'x' key.
-- 
Jonathan Chen j...@chen.org.nz
--
The human mind ordinarily operates at only ten percent of its capacity
 -- the rest is overhead for the operating system.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Dislike the way port conflicts are handled now

2010-01-18 Thread Jonathan McKeown
On Sunday 17 January 2010 10:24:43 Matthew Seaman wrote:
 Ion-Mihai Tetcu wrote:
  I'd be very happy if I could:
  - fetch the distfiles, even if I have a conflicting port installed
  - be able to use portmaster -o to switch from one port to an other one
that conflicts with it.
  - be able to at least compile a port (eg. for testing) without having
to de-install the current one.
 
  I'm all in favor of restoring the old behavior with a switch available
  to turn on the new one.

 +1

 Although a big fat warning message at fetch or build phase when operating
 on a port with conflicts wouldn't go amiss.

I'd agree with this too.

The idea of the change seems to be to protect people from wasting time 
downloading and building something which they can't install without resolving 
a conflict.

How exactly was that wasted time? Surely you don't download and build a port 
you're not going to install?

What the change actually does is penalise people who want to download and 
build regardless of conflicts, to reduce the time between uninstalling the 
conflicting port and being able to install the replacement.

This seems to me to be a very badly thought-out change which should be 
reverted.

Jonathan
___
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: Dislike the way port conflicts are handled now

2010-01-18 Thread Jonathan McKeown
On Monday 18 January 2010 17:48:37 b. f. wrote:
 Argh!  Stop! I wish that people who felt the need to add to this
 thread would read the prior posts beforehand, and consider their
 comments before posting.

I don't know why you assume people didn't. I read the whole thread. I saw 
people who had individual special requirements, but I didn't see anything 
that suggested I was wrong in assuming the most common use case, by far, to 
be downloading and building a port in order to install it.

Assuming that *is* indeed the commonest use case, this change makes life a 
little more difficult for almost everyone in order to save possibly as much 
as tens of minutes of wasted time for a few people.

Worse than that, the new behaviour either increases downtime (by requiring 
that the conflicting port be removed before even starting to download the 
replacement) or requires, as you pointed out, setting a risky option which if 
accidentally misused, could break the whole system.

I still think it's an ill-considered change for the worse to make the new 
behaviour the default.

Jonathan
___
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 sshd, ssh connections

2009-12-29 Thread Jonathan Chen
On Tue, Dec 29, 2009 at 07:04:24PM +0100, n dhert wrote:
 On a newly installed FreeBSD7.2, when booting it takes a long time to get
 past Starting sshd..
 I'm using the PC only in a private network. The IP of the PC is 192.168.75.8
 # ssh r...@192.168.75.8
 or  # ssh r...@127.0.0.1
 take both 15 seconds to display
 Password: ...
 At setup, I did specify a hostname, a domainname, a default_router
 (192.168.75.14) and
 DNS server 192.168.254.100 (in the future to be replace by non-private IPs),
 
 but since I am testing only in a private network and only with IP adresses
 (no hostnames)
 these are not used.
 So what is causing that delay at Start of sshd and use of ssh?

Reverse DNS lookup. Make sure you have PTR entries for all IPs in use.
-- 
Jonathan Chen j...@chen.org.nz
--
Irrationality is the square root of all evil
  - Douglas Hofstadter
___
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 sshd, ssh connections

2009-12-29 Thread Jonathan Chen
On Tue, Dec 29, 2009 at 08:19:03PM +0100, n dhert wrote:
 There is an entry in /etc/hosts for the hostname and hostnam.domainname for
 its IP
 So far this is the only IP used (besides 127.0.0.1). /etc/resolv.conf
 containts the domainname
 and a nameserver line (nameserver 192.168.254.100)
 What else would be needed?

I suspect your problem is that 192.168.75.8 doesn't resolve to a hostname.
You could possibly put that into /etc/hosts, or put a PTR entry for it in
your DNS.
-- 
Jonathan Chen j...@chen.org.nz
--
  If you're right 90% of the time, why quibble about the remaining 3%?
 
   On Tue, Dec 29, 2009 at 07:04:24PM +0100, n dhert wrote:
   On a newly installed FreeBSD7.2, when booting it takes a long time to get
   past Starting sshd..
   I'm using the PC only in a private network. The IP of the PC is
  192.168.75.8
   # ssh r...@192.168.75.8
   or  # ssh r...@127.0.0.1
   take both 15 seconds to display
   Password: ...
___
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: 8.0: OpenSSL stat()'s NLS 500+ times causing extreme system load

2009-12-16 Thread Jonathan McKeown
On Tuesday 15 December 2009 23:24:16 Linda Messerschmidt wrote:
 On Tue, Dec 15, 2009 at 12:53 PM, Dan Nelson dnel...@allantgroup.com 
wrote:
  It's defined in src/lib/libc/Makefile, so you should be able to remove
  that line, rebuild libc and reinstall, and see whether your performance
  issue goes away.

 I tried that and as you predicted, all the bogus stat calls went away.

 Unfortunately the performance issue did not. :(  Back to the drawing
 board for me!

 Upon further inspection, it seems as though for each check, Nagios
 spawns a process that spawns a process that spawns a process that runs
 the check.  I did ktrace -i -t w -p (nagiospid) on Nagios for 30
 seconds and the ktrace output contained records from 2365 different
 processes spawned in that 30 seconds.  During that time, I would
 expect about 800 checks to have run, so it does seem like it's right
 at 3 processes per check.

 I just don't think the system can keep up with all that fork()ing
 without going all out; it's just a limit of the Nagios plugin
 architecture.

You've probably already spotted this, but this behaviour is documented in 
largeinstallationtweaks.html:

``Normally Nagios will fork() twice when it executes host and service checks. 
This is done to (1) ensure a high level of resistance against plugins that go 
awry and segfault and (2) make the OS deal with cleaning up the grandchild 
process once it exits. The extra fork() is not really necessary, so it is 
skipped when you enable this option. As a result, Nagios will itself clean up 
child processes that exit (instead of leaving that job to the OS). This 
feature should result in significant load savings on your Nagios 
installation.''

It can also be enabled separately in nagios's main config file - 
child_processes_fork_twice is the option to look for.

Jonathan
___
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: black hole test

2009-12-16 Thread Jonathan McKeown
On Wednesday 16 December 2009 22:05:06 Peter Wemm wrote:
 Daignostic message to trace mailing list processing, please ignore.

You have heard of freebsd-test@ , haven't you?
___
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: upgraded to 8, no mouse is broken

2009-12-11 Thread Jonathan McKeown
On Friday 11 December 2009 08:17:06 Polytropon wrote:
 On Thu, 10 Dec 2009 21:38:04 -0700 (MST), Warren Block wbl...@wonkity.com 
wrote:
  Please
  see the Handbook section on X11 configuration instead:
 
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html

 Just a side question: 5.4.2 Note 2 § 5 states:

   You will have to reboot your machine to force
   hald to read this file.

 which refers to /usr/local/etc/hal/fdi/policy/x11-input.fdi
 that re-enables Ctrl+Alt+Backspace to kill X.

 Is it really, really needed to reboot the machine? Can't
 HAL just be restarted? I always thought reboot to make
 a minor setting work was the domain of Windows...

At the risk of me-tooing, I also wondered about this.

It seems insane to have to restart the OS and hardware to reread a config 
file.
___
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: error when updating ports in 8.0

2009-12-10 Thread Jonathan Chen
On Thu, Dec 10, 2009 at 06:44:16PM -0500, Tsu-Fan Cheng wrote:
 Hi,
Just update to release 8.0 a few days ago, then when update ports by
 csup, error occurs:
 
 Fatal error 'kse_create() failed
 ' at line 469 in file /usr/src/lib/libpthread/thread/thr_kern.c (errno = 0)
 

At a guess, your userland and kernel are out of sync.
-- 
Jonathan Chen j...@chen.org.nz
--
  The things we know best are the things we haven't been taught.
 - Marquis de Vauvenargues
___
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: Downloading and Burning Free BSD

2009-12-10 Thread Jonathan Chen
On Thu, Dec 10, 2009 at 09:46:38PM -0800, Roger Agraviador wrote:
 I clicked the ISO link and I was brought to a directory, this to be exact (
 ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/7.2/)
 
 Once I have downloaded all Iso Images do I burn the 'boot only.iso' file on
 one DVD or CD only? or do I burn that along with 'disc1.iso', and how do I
 go about burning the rest of the files in that directory once I have
 downloaded them?

You should burn the disc1.iso at a minimum. The boot-only.iso is for
testing. The other iso images contain packages that you may want to
install.
-- 
Jonathan Chen j...@chen.org.nz
--
I don't want to achive immortality through my works..
 I want to achieve it through not dying - Woody Allen
___
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: Firefox 3.5 and Epiphany crashing since the GNOME 2.28 update

2009-12-01 Thread Jonathan Chen
On Tue, Dec 01, 2009 at 01:44:00AM -0500, Curly Brace wrote:
 Hi all, I'm on 8.0/amd64, and my GNOME 2.28 update went off with no
 problems, but now Firefox 3.5 and Epiphany 2.28 crash when visiting
 certain pages, such as the Welcome to firefox first-start page.
 Firefox leaves Segmentation fault (core dump) in the console when it
 crashes, and Epiphany is silent. I've removed the Totem 2.28 plugins
 (thinking them to be the cause), removed Moonlight, removed Java,
 removed nspluginwrapper Flash10, and finally
 removed /usr/local/lib/browser_plugins altogether.
 
 This seems very similar to the Firefox 3.5 HTML5 video crash FreeBSD 7
 users experience until they kldload sem, but I'm on 8.0 and sem is
 loaded by default.

Did you remember to rebuild all your ports?
-- 
Jonathan Chen j...@chen.org.nz
--
The reason why worry kills more people than work is that more people
 worry than work. - Robert Frost
___
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: ntpdate on FreeBSD 8.0

2009-11-30 Thread Jonathan Chen
On Mon, Nov 30, 2009 at 06:13:24AM -0600, ajtiM wrote:
 On Sunday 29 November 2009 21:38:04 Warren Block wrote:
  On Sun, 29 Nov 2009, ajtiM wrote:
   I have new installed FreeBSD 8.0 and in rc.conf I have:
  
   ntpdate_enable=YES
   ntpdate_hosts=ntp1.cs.wisc.edu
  
   When I boot computer I get a message there are no this host but when I
   run /usr/sbin/ntpdate ntp1.cs.wisc.edu it works.
  
   I had the same in rc.conf on FreeBSD 7.2 and it works all the time. All
   settings on FreeBSD8.0 are the same as I had on 7.2.
  
  Might you have a Realtek network card?
  
  -Warren Block * Rapid City, South Dakota USA
  
 
 Yes, I have realtek card too but it is not active. DHCP is on sk0 and as I 
 wrote I never had problems with that. Maybe is different now?

Try using:
ifconfig_sk0=SYNCDHCP 

which makes sure sk0 comes back with an address from DHCP before
proceeding.
-- 
Jonathan Chen j...@chen.org.nz
--
Only the meek get pinched. The bold survive.
  - Ferris Bueller
___
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: ifconfig - GUI interface available?

2009-11-26 Thread Jonathan Chen
On Thu, Nov 26, 2009 at 04:09:26PM +0100, herbert langhans wrote:
 Hi Daemons,
 I use my laptop in different wifi networks. To choose the ssid, passwords and 
 such necessities I have to use the all-knowing and confusing 'ifconfig'.
 
 Question: Is there a GUI replacement for ifconfig? Where I can scan, choose 
 the ssid and do other basic things? I havent found anything in the ports 
 collection..
 

There's no GUI for ifconfig that I know of, but there *is* a GUI for
managing wi-fi networks in the ports:

http://www.freshports.org/net-mgmt/wifimgr/

See if it helps.
-- 
Jonathan Chen j...@chen.org.nz
--
The reason why worry kills more people than work is that more people
 worry than work. - Robert Frost
___
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: [] confession...

2009-11-23 Thread Jonathan McKeown
On Tuesday 24 November 2009 09:15:43 Gary Kline wrote:
   it's time to come clean an admit that i have never taken
   advantage of the option that lets you press [???], then press
   other keys in order so the result is like pressing multiple
   keys at once.

   i have never made a big deal over having but one useful hand
   simply because in my line as a hacker, one hand was enough.
   programming at 95mph was never the goal.  everybody on this
   list has learned that forethought and planning beat typing
   speed!  ---still, when my shoulder began to dislocate in 1999,
   typing thr number-shift keys [like '*', '', '^', and the rest
   became harder [*].  i'm ready to set up the multi-key stuff that's
   built in to at least KDE.

   appreciate a  pointer to a url or tutorial on this...  and/or
   to know what this feature is even called.  it's time to get
   practical.  i am stubborn, just not particular stupid.  maybe
   slow :_)

If you're using KDE3.5, look for Regional and Accessibility|accessibility 
under the Control Centre.

There are two options, and I think the one you need is called sticky-keys, 
which makes the modifier keys (shift, alt, ctrl) ``stay pressed'' until you 
press another key. In other words, you can type the old three-fingered salute 
by pressing and releasing ctrl, pressing and releasing alt, and then pressing 
and releasing del.

There's also an option called ``lock sticky keys''. If you choose this, the 
sequence of separate press-releases:

shift a b

results in Ab (the shift only applies to the next key pressed)

whereas the sequence

shift shift a b c shift d

results in ABCd (double-shift locks shift key on until it's pressed again).

(The other options, slow keys and bounce keys, apply if muscle control is 
impaired and cause a key to have to be held for a set time before it 
registers, and released for a certain time before registering a second 
key-press).

Jonathan
___
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: upgrading firefox

2009-11-21 Thread Jonathan Chen
On Sun, Nov 22, 2009 at 04:13:01AM +, Steven Seipel wrote:
 I have freebsd 7.2 with gnome. It has firefox 2.0.0.20. What will I need to 
 do to upgrade to firefox 3.anything? I have tried pkg_add -r with  all the 
 versions listed on the ports page but it is always unable to fetch them. 
 When I just typed pkg_add -r firefox it told me I already have version 
 2.0.0.20 installed. So what do I do to get a more recent version?

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading-portsnap.html

-- 
Jonathan Chen j...@chen.org.nz
--
 Power corrupts, Absolute Power is pretty neat
___
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: ELF library not found error

2009-11-18 Thread Jonathan Chen
On Wed, Nov 18, 2009 at 11:49:47AM -0600, Peter Steele wrote:
 Presumably (and I am speculating), the 8.0 packages are not yet finalized 
 and therefore inconsistent.  Perhaps you will have better luck after the 
 official 8.0 Release?
 
 I was thinking the same thing--too much version mismatching going on. I'm 
 going to take your suggestion though and compile all of the ports we want to 
 use, and then convert them back into packages. I tried that with one port 
 that was failing and this solved the problem. 
 

When you do a major upgrade (ie: 6 to 7, or 7 to 8), one of the final
steps recommended is to recompile all ports. The compatX packages are
a stop gap until your transition is complete, and can/should be
removed once all your ports have been updated.

If you choose not to recompile/refectch all your ports, you are faced
with the possibility of library and port dependancy breakages as each
installed port updates to newer and possibly incompatible versions.

Cheers.
-- 
Jonathan Chen j...@chen.org.nz
--
A little learning is a dangerous thing but a lot of ignorance is
 just as bad.  - Bob Edwards
___
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 Jonathan Chen
On Mon, Nov 16, 2009 at 11:02:59AM -0500, 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...

I've been using it to do some .NET programming, and it's been pretty
good. No major problem, aside from the lack of CPU cycles the odd time
or so.
-- 
Jonathan Chen j...@chen.org.nz
--
The human mind ordinarily operates at only ten percent of its capacity
 -- the rest is overhead for the operating system.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ask for help on a strange question

2009-11-03 Thread Jonathan Chen
On Tue, Nov 03, 2009 at 11:08:25PM +0800, Jove James wrote:
 Hi friend,
 
 I've set up a FreeBSD virtual machine with VmWare Player. After configuring
 networ I installed xampp-linux-1.7.2.tar.gz on it. But quite weird that I
 got command not found error:
 
 jove# pwd
 /opt/lampp
 jove# ls
 RELEASENOTESerror   lampp   logssbin
 backup  etc lib modules share
 bin htdocs  libexec phpmyadmin  tmp
 cgi-bin icons   licensesphpsqliteadmin  var
 jove# ./lampp start
 ./lampp: Command not found.

Assuming that lampp is a script with the exec bit set, you may want
to check that the first line references a script-interpreter that
exists, eg #!/usr/bin/perl.

Cheers.
-- 
Jonathan Chen j...@chen.org.nz
---
One, with God, is always a majority, but many a martyr has been burned
   at the stake while the votes were being counted.  -- Thomas B. Reed
___
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: korean english on same box?

2009-11-01 Thread Jonathan Chen
On Sun, Nov 01, 2009 at 07:56:24PM -0700, Steve Franks wrote:
 My Korean mother-in-law is visiting USA for the first time.  I don't
 know the first thing about what it will take to make it so she can
 email home, so I'm hoping someone on the list is familiar with this?

I had a similar situation with Japanese in-laws. Fortunately, I'm
using GNOME, which has localisation for Japanese. I had to tweak their
~/.dmrc and add/alter:

Language=ja_JP.UTF-8

Once they got past the English gdm login, they were presented with a
Japanese lanaguage desktop.

The ports which I had to install were:

www/firefox35
www/firefox35-i18n
mail/thunderbird
mail/thunderbird-i18n
japanese/scim-anthy

I'm guessing that you'll have to do something similar for Korean,
adding to ~/.dmrc:

Language=ko-KR.UTF-8

and installing korean/scim-hangul; as well as firefox and thunderbird
and their internationalisation support.

Cheers.
-- 
Jonathan Chen j...@chen.org.nz
--
If everything's under control, you're going too slow
  - Mario Andretti
___
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: Merging Related Information from 2 Tables

2009-10-30 Thread Jonathan McKeown
On Thursday 29 October 2009 20:44:12 Martin McCormick wrote:
 Giorgos Keramidas writes:
  You should use a Perl or Python script, and a hash...
 
  If you show us a few sample lines from the input file and how you want
  the output to look, it shouldn't be too hard to quickly hack one of those
  together.

The alternative is to use join(1).

   A records look like:

 hydrogen.cis.osu. 43200   IN  A   192.168.2.123

 Text or TXT records look similar [...]

 hydrogen.cis.osu. 5   IN  TXT cordell-north,009,192.168.2.123

This will work well since the default join field is the first field in the 
line.

Jonathan
___
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-30 Thread Jonathan McKeown
On Thursday 29 October 2009 21:58:54 Lars Eighner wrote:
 On Thu, 29 Oct 2009, Ruben de Groot wrote:
  sendmail is NOT a legacy application. It's actively being developed
  ON FreeBSD. Actually, the maintainer(s) are doing a great job

 Bullshit.

 Why does sendmail call up the internet during boot?  If it needs to know
 who it is, why can't it look in hosts?  Since it cannot be trusted to send
 mail, what does it need to know from the internet?  It has been horribly
 broken for the 15 years or so that I have run FBSD, and this m4 stuff is a
 pile of crap.  There is no documentation whatsoever.  Unless you buy a book
 from O'Reilly and line the pockets of the maintainer(s).  Why can't it be
 a option to configure the system without it?  Not any money in that, is
 there?

This is exactly the sort of ill-informed religious rant that always comes up 
when sendmail is discussed, and makes me wonder why some people are so 
vehemently anti-sendmail that they feel the need to say things which are only 
marginally true if that.

My laptop boots quite happily without an Internet connection, so it's simply 
not true to say that sendmail always calls the Internet during boot.

Have a look at /usr/share/sendmail/cf/README, and 
at /usr/src/contrib/sendmail/doc/op (where you can make the sendmail 
operations guide in a variety of formats including pdf) and you'll realise 
that your claim that there's no documentation is also flat-out false. I've 
got the Bat book (in fact I've got *looks at bookshelf* the 2nd and 3rd 
editions). I almost never look at them any more because I can find what I 
need in the documentation provided with sendmail.

No-one is asking you to use sendmail, or even to like it, but please don't lie 
about it; and if you don't want sendmail in the base system, do as several 
people have suggested, pull your finger out and do the work to fix it.

Jonathan
(Just in case, I should probably point out explicitly that, as usual, I don't 
speak for my employer: this is an entirely personal opinion).
___
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-27 Thread Jonathan McKeown
On Monday 26 October 2009 21:29:27 Yuri wrote:
 It's in /usr/sbin/sendmail.

 How many people actually use it? Very few.
 Why isn't it moved to ports?

What is this anti-sendmail obsession people have?

Almost everyone I've ever spoken to about why they dislike sendmail trots out 
a bunch of cliches based on sendmail 8.8. People, we're up to sendmail 8.14 
now. Get over it!

Just as a matter of interest, if you want to rip sendmail out of the base 
system, which MTA would you like to replace it with? Or are you suggesting 
the system ship with no way to handle mail?

Jonathan
___
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: NTP Client synchronization with a Windows 2003/2008

2009-10-15 Thread Jonathan McKeown
On Wednesday 14 October 2009 18:04:41 Jacques Henry wrote:

  Alternatively, from the commandline try
 
  ntpd -g -q -c /etc/ntp.conf
 
  The -g flag allows ntpd to set the clock once regardless of the offset
  and the -q causes it to quit after setting the time.

 I tried this command without success...  I can see the NTP packets (client
 and server) but the clock is never set

Are you running with an elevated securelevel?
___
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: NTP Client synchronization with a Windows 2003/2008

2009-10-14 Thread Jonathan McKeown
On Tuesday 13 October 2009 18:44:57 Jon Radel wrote:
 Jacques Henry wrote:
  I commented the commands involved and nothing changed... (with only 10
  minutes of time difference)

 The 19 minutes between when I sent my suggestions and you responded is
 hardly enough time to see if ntpd was slewing the time.  Slewing 587
 seconds takes days.

  I even tried to force the sync:
 
  U450XA0A0800650nstop ntp
  U450XA0A0800650ntpd -x -n -q -c /var/ntp.conf
  U450XA0A0800650nstart ntp

 Are you sure that -x in there, telling ntpd to not step unless the
 offset is over 600 sec, doesn't override what you're trying to do with
 the -q?  How about you try simple:

 ntpdate the_windows_server

 and see what that does?  After that look in /var/log/messages.

   In fact I am still quite convinced that the MS implementation isn't
  totally compliant with the client...

 Could be, but ntpq was showing that your ntpd was accepting time data
 from the Windows server at least on some level.

Alternatively, from the commandline try

ntpd -g -q -c /etc/ntp.conf

The -g flag allows ntpd to set the clock once regardless of the offset and 
the -q causes it to quit after setting the time.

In /etc/rc.conf, all you should need is

ntpd_enable=YES
ntpd_sync_on_start=YES

The second option adds -g to the ntpd flags, allowing it to set the clock at 
startup and continue running.

Jonathan
___
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


  1   2   3   4   5   6   7   8   9   10   >